Commit Graph

1893 Commits

Author SHA1 Message Date
Eric Holland
32e774e5fb [aarch64] Fix stack pointer misalignment
sp can become misaligned from 16 byte boundry because context frame
is not a multiple of 16 bytes.
2016-09-01 18:59:18 -04: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
173046ecca [squash] Use x4 as early scratch register in case args are passed in x0-x3 (changes as per code review). 2016-08-25 15:51:34 -07:00
Gurjant Kalsi
2072cfe8f1 [arm64] Backport changes from magenta 2016-08-25 15:50:52 -07:00
Gurjant Kalsi
5c6554165e [squash] Fix typo in IPI code 2016-08-23 15:58:32 -07:00
Gurjant Kalsi
c6e2c28c86 [bcm28xx][arm64] Fix some type warnings. 2016-08-23 15:15:43 -07:00
Gurjant Kalsi
b6018454c0 [bcm28xx] Fix arm/arm64 exception iframe warning 2016-08-23 15:09:07 -07:00
Gurjant Kalsi
c5b427333a [bcm28xx][arm64][ipi] Fix IPI on non-GIC based BCM28xx 2016-08-23 12:56:40 -07:00
Gurjant Kalsi
bc5f276c02 [bcm2835][bcm2837] Removed BCM2835 and BCM2837 platforms in favor of BCM28xx unified platform. 2016-08-23 12:35:14 -07:00
Eric Holland
5e5e2ac50c [rpi3][bcm28xx][smp] fixes to bring up all cores 2016-08-23 12:28:42 -07:00
Gurjant Kalsi
69d35fa55b [rpi3][bcm28xx][timer] Fix BCM2837 timer runing too fast.
RPi3/BCM2837 timer was previously running too fast due to an improper multiplier
in arm_generic_timer_init(...). Fixed by setting the multiplier to 0 and
allowing the ARM generic timer code to determine the frequency and compute the
appropriate multiplier.
2016-08-23 12:28:36 -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
Gurjant Kalsi
edb7020781 [miniuart][uart][rpi3][bcm28xx] Miniuart Driver for Raspberry Pi 3 / BCM28XX 2016-08-23 12:28:20 -07:00
Eric Holland
1164bc17bc [rpi3]64bit platform support 2016-08-23 12:28:13 -07:00
Eric Holland
d90cb4e7c6 [gfx] Add mandelbrot test to gfx routines (#149) 2016-08-12 10:28:12 -07:00
Eric Holland
c3c48e6bb1 [arm64][mmu] fix asid shift in tlbi 2016-08-02 22:07:29 -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
Gurjant Kalsi
87b40fda48 [usb][usbtest] Fix compile error in USB test app (missing parameter).
Endpoint type was added to USBC (interrupt, bulk, isoc, etc) but usbtest app was not updated to reflect this.
2016-07-15 14:04:50 -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
Travis Geiselbrecht
10bb61326b Merge pull request #146 from littlekernel/pr/nrf52
Pr/nrf52
2016-06-21 09:39:19 -07:00
Travis Geiselbrecht
6e4e6f40e8 [travis-ci] add nucleo-f072rb project to the test builds 2016-06-21 09:36:05 -07:00
Erik Corry
4a553a7941 [pull][cmpctmalloc] Fix cmpctmalloc for large allocations (#147) 2016-06-21 09:35:40 -07:00
Travis Geiselbrecht
d52054c87e Merge pull request #143 from konkers/pr/stm32f0-usb
stm32f0xx usb driver
2016-06-21 09:33:24 -07:00
Eric Holland
6388cde233 [nrf52] Platform and sample target support for Nordic NRF52 (cortex-M4) 2016-06-16 16:31:53 -07:00
Eric Holland
1491809fd0 [nrf52] First commit for platform support 2016-06-16 10:41:04 -07:00
Erik Gilling
26f1d1edb7 [stm32f0xx] Fix SPI CPHA defines. 2016-06-12 19:31:35 -07:00
Erik Gilling
4fdf2bffcc [stm32f0xx] Fix gpio_get(). 2016-06-12 19:31:35 -07:00
Christopher Anderson
1656c7320d Merge pull request #144 from littlekernel/pr/nrf51-external
[nordic] move vendor code to external
2016-06-09 13:00:54 -07:00
Eric Holland
d1c4965dc7 [nordic] move vendor code to external 2016-06-07 10:11:54 -07:00
Erik Gilling
9371ea5335 [stm32f0xx] Add stm HAL based usb driver. 2016-06-06 20:56:02 -07:00
Erik Gilling
b88985bb2c [stm32f0xx] Add STM32F0xx_HAL_Driver. 2016-06-06 20:55:43 -07:00
Erik Gilling
6c82940c32 [stm32f0xx] Import new CMSIS from STM32Cube_FW_F0_V1.5.0. 2016-06-06 20:55:43 -07:00
Gurjant Kalsi
5324238022 [ndebug] Move NDebug from main LK tree to Coral tree. 2016-06-06 10:21:04 -07:00
Erik Gilling
c01adc6e0d [kernel] Add debug tracking of stack memory usage.
On thread creation, initializes the stack to a known value.  When
thread state is dumped, this value is uses to intuit max stack
usage.
2016-06-03 12:25:01 -07:00
Gurjant Kalsi
bb4c6402b0 [console][io] Add an optional global input queue.
In this model, getc reads from a global input buffer and the uart posts data to this buffer.

This commit also enables the global input queue for STM32F7 and QEMU-Virt.

Tested on STM32F7/Dartuino and QEMU-ARM A15 with both CONSOLE_HAS_INPUT_BUFFER=1 and CONSOLE_HAS_INPUT_BUFFER=0
2016-06-02 16:01:56 -07:00
Gurjant Kalsi
a6ab56cd5f [usbc][stm32f7] Implement usbc_flush_ep for stm32f7 2016-06-02 15:30:38 -07:00
Gurjant Kalsi
e24567f546 [usbc][stellaris] Implement usbc_flush_ep for stellaris 2016-06-02 15:09:48 -07:00
Gurjant Kalsi
3e47da8572 [usbc] Add a usbc_flush_ep call to flush a given USB endpoint 2016-06-02 15:08:56 -07:00
Gurjant Kalsi
5007eb75e8 [arch][arm][arm-m] Implement arch_in_int_handler for ARM-M V7 CPUs 2016-06-01 17:43:27 -07:00
Søren Gjesse
6faa2957e1 [spifs] Fix warning with GCC 5.3.1
With GCC 5.3.1 (5-2016-q2-update from https://launchpad.net/gcc-arm-embedded)
additional warnings about unused variables cause compilation to fail.
2016-05-31 12:19:57 -07:00
Gurjant Kalsi
4cd364ce33 [stm32f7][eth] Eth requires sys/types.h for status_t 2016-05-17 16:57:17 -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
Gurjant Kalsi
c19fcc5bb3 [spifs] Implement the ioctl to test whether or not the device is memory mapped. 2016-05-10 18:23:11 -07:00
Gurjant Kalsi
a63938a8c8 [fs] Add an ioctl to test if a file is memory mapped. 2016-05-10 18:22:44 -07:00
Gurjant Kalsi
eaa41e1cb2 [qspi][stm32f7] Implement IOCtl to test whether device is in linear mode. 2016-05-10 18:22:08 -07:00
Gurjant Kalsi
62c4f983ef [bio] IOCtl to test whether the device is in linear mode. 2016-05-10 18:21:29 -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
Travis Geiselbrecht
63c62f56a8 [readme] fix url 2016-05-01 23:36:17 -07:00
Travis Geiselbrecht
6f0c2866fd [readme] add link to build status on travis-ci 2016-05-01 23:35:08 -07:00