Travis Geiselbrecht
cba9e47987
[license] replace the longer full MIT license with a shorter one
...
Used scripts/replacelic. Everything seems to build fine.
2019-07-05 17:22:23 -07:00
Travis Geiselbrecht
d8fa82cb91
[formatting] run everything through codestyle
...
Almost nothing changes here except moving braces to the same line as the
function declaration. Everything else is largely whitespace changes and
a few dangling files with tab indents.
See scripts/codestyle
2019-06-19 21:02:24 -07:00
Travis Geiselbrecht
1b7a28efb8
[include][lk] fixup lk/ include path move
2019-06-19 19:46:11 -07:00
Martin Foo
b66bd3e420
Add STM32F429I-DISCO1 support(default serial:USART1).
2019-06-19 18:18:52 -07:00
Travis Geiselbrecht
4148863969
[platform][qemu-virt] rename to qemu-virt-arm
...
Makes space for a new platform using the virt machine in qemu on another
architecture.
2019-03-30 19:46:30 -07:00
Travis Geiselbrecht
63be190d8b
[target][sifive-e] Get LK working on a Sifive Hifive1 board
...
-added support for bringing up the clocks and setting up the gpio bits
before starting the uart.
-add a proper target init routine
-add scripts to flash board via openocd
-fixed bug in riscv interrupt save state where it wasn't saving mstatus
on irq entry.
-comment out cycle enabling, not implemented on this core
2019-02-18 22:13:22 -08:00
Travis Geiselbrecht
a0a6b10e0b
[arch][riscv32] rename the qemu target sifive-e
...
The initial port is really a Sifive E platform. Call it what it is and
make space for bringing up the Sifive U and virt qemu target.
2019-02-17 20:29:50 -08:00
Travis Geiselbrecht
4c29a608e9
[platform][pc] fix up bios32 PCI support, get pci IDE working again
...
-Spiff up the device driver starting logic to allow for statically
started devices, instead of always automatic.
2018-12-31 16:47:32 -08:00
Travis Geiselbrecht
1fbb67228d
[platform][pc] get working on legacy 386 PC
...
-Add support for x86 legacy mode, designed for 386+ instead of pentium+
-Fixup uart driver to support com2
-Stub out PCI driver properly
-Fixup IDE driver to detect legacy disks
2018-12-30 21:08:58 -08:00
Travis Geiselbrecht
8cf28bbdcf
[arch][riscv] Initial port to a riscv32 sifive target
...
Currently targets qemu's sifive_e machine, which is a split flash/ram
machine, much like the Sifive HiFive1. Untested as of yet on a real
HiFive1.
Basic support including interrupts and architectural timers in place.
2018-12-16 16:44:23 -08:00
Macpaul Lin
bf27ebd7bb
[target][mt6735] add mt6735 support
...
Add common target based on platform mt6735.
Signed-off-by: Macpaul Lin <macpaul@gmail.com >
2018-05-22 00:05:46 -07:00
Eric Holland
31b8d1d217
[nrf] Support for NRF52840 DK
2018-05-02 14:50:41 -07:00
Payam
6e05388579
[vim2] Initial support for Khadas VIM2 boards
2018-03-16 15:05:10 -07:00
Erik Gilling
cc60328989
[cdcserial] Refactor driver to support multiple channels.
2018-01-22 23:33:35 -08:00
Erik Gilling
0c97b7f6a1
[nucleo-f072rb] Enable i2c and add i2c_rb command.
2017-10-27 14:51:15 -07:00
Erik Gilling
e84ad6e5c1
[nucleo-f072rb] Add usb support.
2017-10-20 17:11:47 -07:00
Erik Gilling
82b3c2e0d1
[stm32f0xx] Properly initialize clocks in platform_early_init().
...
This got broken when moving to the new STM32F0xx_HAL_Driver.
2017-10-20 17:10:55 -07:00
Travis Geiselbrecht
f2c90720f3
[merge] Merge remote-tracking branch 'pr/rpi3'
2016-08-25 17:36:50 -07:00
klemens
d0b90c2d68
[spelling] spelling-fixes. (not external/)
2016-08-25 17:30:34 -07:00
Gurjant Kalsi
100133dc38
[BCM28xx] Roll BCM2836 and BCM2837 into a single platform. Have both RPi2 and RPi3 use the new BCM28XX platform.
2016-08-23 12:28:28 -07:00
Eric Holland
1164bc17bc
[rpi3]64bit platform support
2016-08-23 12:28:13 -07:00
Gurjant Kalsi
acbee6a974
[dartuino][ndebug] Fix Dartuino Build, NDebug no longer present in tree.
...
Removed references to NDebug from the Dartuino Build since it is no longer maintained in the LK tree.
2016-07-15 14:58:49 -07:00
Minglun Tsai
919a925eca
[platform][mediatek] support mediatek platform: mt6797 ( #137 )
...
Basic mt6797 platform S/W for lk.
2016-06-21 09:53:03 -07:00
Eric Holland
6388cde233
[nrf52] Platform and sample target support for Nordic NRF52 (cortex-M4)
2016-06-16 16:31:53 -07:00
Gurjant Kalsi
a2d9629dad
[dartuino][spifs] Add a better error message when QSPI is not formatted on dartuino
2016-05-10 22:15:17 -07:00
cstout
0f0b4959ad
Stub display_present
...
R=gkalsi@google.com
Review URL: https://codereview.chromium.org/1951403002 .
2016-05-05 12:54:06 -07:00
Gurjant Kalsi
8d466f9441
[mtldr] Add udev rules, use new vid/pid, separate bootloader usb from main system usb.
2016-04-25 13:00:46 -07:00
Gurjant Kalsi
05c646a39a
[ndebug] Setup NDebug endpoints and create a bidirectional serial pipe over USB.
2016-04-18 12:07:34 -07:00
Gurjant Kalsi
5a98fbd3b9
[dartuino] Move LCD defines to target level makefile
2016-04-05 13:31:41 -07:00
Gurjant Kalsi
d508cb4911
[dartuino] Add sensorbus back to dartuino deps
2016-04-05 13:01:13 -07:00
Gurjant Kalsi
44e74f0486
[dartuino][bootloader] Merge bootloader branch into master.
2016-03-28 12:05:20 -07:00
Gurjant Kalsi
7dd294a62d
[dartuino][bootloader] Changes as per code review.
2016-03-28 12:04:08 -07:00
cstout
ebeca70bb5
[display] Fix corruption in color lcd update, again.
...
The previous attempt didn't completely resolve the issue.
Adjusting the baud rate prescaler seems solid.
Tested with svg_test on mono and color memory lcds.
R=travisg@gmail.com
Review URL: https://codereview.chromium.org/1822123004 .
2016-03-24 09:07:18 -07:00
cstout
c1255f7f47
[display] Refactor to avoid implicit framebuffer allocation.
...
Preparation to allow other images to be presented to the display.
Separate definitions of display and image formats.
display_get_info no longer provides a framebuffer.
display_get_framebuffer allocates a framebuffer for convenience.
Review URL: https://codereview.chromium.org/1777783003 .
2016-03-10 09:49:22 -08:00
Gurjant Kalsi
0597b570e0
[dartuino][bootloader] Get the bootloader into the first 64k
2016-03-09 15:40:02 -08:00
Gurjant Kalsi
a8be9611cc
[dartuino][bootloader] Get Bootloader USB working.
2016-03-09 15:23:25 -08:00
Gurjant Kalsi
9ab4f51913
[dartuino][bootloader] Create a project for the bootloader.
2016-03-09 15:20:05 -08:00
cstout
e290cb1b8b
[display] Fix corruption in color lcd update.
...
Suspect a timing issue related to the trailer bits.
Preparing the trailers together with the data seems to resolve
the corruption.
R=gkalsi@google.com
Review URL: https://codereview.chromium.org/1777653003 .
2016-03-09 11:10:57 -08:00
cstout
87fb7721f5
[display] Add DISPLAY_FORMAT_RGB_x111
...
R=gkalsi@google.com , travisg@gmail.com
Review URL: https://codereview.chromium.org/1755273004 .
2016-03-04 10:44:17 -08:00
Brian Swetland
a7fdfbb0dc
[target][cc13xx-em] cc13xx evaluation module target
2016-03-03 14:08:05 -08:00
Erik Gilling
bd71cd8e8c
[stm32f0xx] Remove remaining references to STM32F0xx_StdPeriph_Driver.
2016-03-02 22:35:49 -08:00
Travis Geiselbrecht
ee672a5471
[arch][x86] flatten x86-64 and x86 into a single tree of code
...
Major refactor of x86 code into a single arch.
Also bump both 32 and 64 bit to running the kernel at a 'high' address.
2016-02-29 12:42:45 -08:00
cstout
0737848cde
[target][dartuinoP0] Allow for varying framebuffer format and stride.
...
Remove dependency on gfx.
Add support for mono display LS013B7DH03.
R=gkalsi@google.com , travisg@gmail.com
Review URL: https://codereview.chromium.org/1741463002 .
2016-02-25 13:38:00 -08:00
Travis Geiselbrecht
e604f4b103
[target][lm3s6965evb] add support for stellaris based lm3s6965evb board
...
This seems to be somewhat properly emulated in qemu.
qemu-system-arm -machine lm3s6965evb -cpu cortex-m3
2016-02-20 20:08:15 -08:00
Eric Holland
ff2f252ff7
[nordic][init] Remove rogue test code from pca10000 target init
2016-02-19 22:44:00 -08:00
Travis Geiselbrecht
ae28c92fad
[lib][ffs] delete this old file system code
2016-02-17 19:14:38 -08:00
Travis Geiselbrecht
d569c090ea
[vim] remove vim expandtab comments on most of the files
2016-02-14 12:32:07 -08:00
Travis Geiselbrecht
2eb32a4369
[style] mass reformat all the non external code to 4 space indents
...
Ran everything through scripts/codestyle.space, which uses astyle
to generally follow K&R style.
Biggest non whitespace change is pulling brackets down on function
declarations, which I'm pretty ambivalent about, but astyle insists
on taking a stance
2016-02-14 12:24:01 -08:00
Travis Geiselbrecht
fe92f4ad74
[platform][omap3] remove this old platform
2016-02-14 11:46:19 -08:00
Travis Geiselbrecht
4382d844e4
[platform][am335x] remove this old unused platform/target
...
Was a port to the beaglebone, hasn't been used in a long time.
2016-02-14 11:43:49 -08:00