Commit Graph

7266 Commits

Author SHA1 Message Date
Gregory Nutt
c208b25f89 Add some checks: if getpid() or get_errno_ptr() are called very early in the initialization sequence, they would fail 2014-04-10 10:20:44 -06:00
Gregory Nutt
2fcc57edb0 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
6be62a7ef3 configs/*/defconfig: Increase the number of pre-allocated watchdogs in configurations that use networking or USB 2014-04-09 10:57:56 -06:00
Gregory Nutt
6578d646da Back out part of 610e2aa0c224e2936fe8009ef4a2351ce607067a: Need to be able to select USB console devices when there is no /dev/console enabled. Noted by Librae 2014-04-08 11:04:25 -06:00
Gregory Nutt
c306884d84 Add logic for TM4C125GXL clocking based on prototype from from Daniel Carvalho with modifications. I think the LM4F120 may have broken before as well(?). In any event, the LM4F120 also works well with this chanage 2014-04-07 15:32:13 -06:00
Gregory Nutt
7a275966d6 lm3s6965: Add path to the CodeSourcery toolchain 2014-04-07 15:28:42 -06:00
Gregory Nutt
27811d28f9 Cosmetic changes to comments and README 2014-04-07 15:28:04 -06:00
Gregory Nutt
ac3865fd89 Updated README files and comments 2014-04-07 07:43:28 -06:00
Gregory Nutt
177cb595d5 SAMA5 UDPHS: Fix error where bit was not cleared to acknowledge receipt of data and to setup for the next incoming data 2014-04-06 13:13:31 -06:00
Gregory Nutt
4d25119e62 Fix various typos in comments. From Alan Carvalho de Assis 2014-04-06 09:02:02 -06:00
Gregory Nutt
6c5535cc38 SAMA5 clocking: USB clock setup needs to be done no matter the state of BMS and not matter how we are booting 2014-04-05 11:53:20 -06:00
Gregory Nutt
abca33bd6b Cosmetic update to comments 2014-04-05 11:35:05 -06:00
Gregory Nutt
b9ae1f3d45 updated README 2014-04-04 17:13:55 -06:00
Gregory Nutt
120589434f Kconfig: Remove warnings. ARCH_RAMFUNCS depends on ARCH_HAVE_RAMFUNCS, so it is not possible to select ARCH_RAMFUNCS wihtout ARCH_HAVE_RAMFUNCS 2014-04-04 16:26:24 -06:00
Gregory Nutt
781f2804ee SAMA5: Don't use MMU PMD bufferable bit to try to control write-through vs write-back. It does not work that way 2014-04-04 16:05:20 -06:00
Gregory Nutt
bd274dba7f SAMA5: Fix some issues with SDRAM at 528MHz CPU clock 2014-04-04 11:37:39 -06:00
Gregory Nutt
0b7ec97370 SAMA5 boards: Operation at 528Mhz has been verified 2014-04-04 10:36:53 -06:00
Gregory Nutt
d9e0116075 SAMA5 boards: Refresh all configuration files 2014-04-04 09:38:39 -06:00
Gregory Nutt
69c69c45c6 SAMA5: Update from David Sidrane to last RAM function change: Apparently inline functions need to placed into the same RAM section, or they do not get inlined. From David Sidrane 2014-04-04 08:59:39 -06:00
Gregory Nutt
5eeb9f97fc Fix a build error when only USB device tracing is enabled (from David Sidrane). Also an update to the USB tracing document 2014-04-04 08:56:10 -06:00
Gregory Nutt
eb5a2d670c SAMA5 boards: Add set up for 528MHz CPU clock 2014-04-03 17:12:17 -06:00
Gregory Nutt
91c9e60e14 SAMA5D3 Xplained: Delay loop calibrated 2014-04-03 16:38:36 -06:00
Gregory Nutt
2efc4d6396 SAMA5: On some hardware, reconfiguring the PLL while executing out of NOR FLASH causes crashes. This was fixed by David Sidrane by implementing RAM functions. The killer code is copied and executed from ISRAM and the crash is avoided. 2014-04-03 16:08:18 -06:00
Gregory Nutt
b884ab50f4 SAMA5: Fix SAMA5 so that interpretation of BMS bit is correct. From David Sidrane 2014-04-03 15:47:34 -06:00
Gregory Nutt
8d1781437d ARMv7-A: Typo fix from David Sidrane 2014-04-03 15:43:13 -06:00
Gregory Nutt
89a8bd848c Updated NOR boot logic from David Sidrane 2014-04-03 15:40:51 -06:00
Gregory Nutt
52f114a10e SAMA5 NOR boot: Use a static memory variable to determine if/when we boot to NOR FLASH 2014-04-03 15:34:41 -06:00
Gregory Nutt
5fef770362 SAMA5: Cosmetic updates to comments and README files 2014-04-03 15:30:00 -06:00
Gregory Nutt
048230fb94 SAMA5: When booting from SDRAM, don't copy vectors to ISRAM. Instread just set the VBAR register to add address of the vectors in SDRAM 2014-04-03 14:09:11 -06:00
Gregory Nutt
c9fc03d52f If LOWVECTORS is selected, then we need to clear the VBAR register. A bootloader may have left the VBAR in an bad state 2014-04-03 13:09:30 -06:00
Gregory Nutt
11c7386dab SAMA5: Make sure the MMU and caches are disabled on power up; flush the vector region D-Cache after copying interrupt vectors; make sure that D-Cache, I-Cache, and TLBs are invalidated after modifying the AXI MATRIX remapping 2014-04-02 16:27:00 -06:00
Gregory Nutt
16c4ea72ec SAMA5: When running from SRAM, vectors must lie in ISRAM 2014-04-02 12:54:15 -06:00
Gregory Nutt
ed294643bd sscanf: Use stroul() vs strol() for %u format. From kfrolov 2014-04-02 09:15:40 -06:00
Gregory Nutt
6201df6463 Updated comments and README 2014-04-02 09:03:29 -06:00
Gregory Nutt
0d66ba9c00 SAMA5 DBGU: Add logic to suppress DBGU reconfiguration when started from a bootloader 2014-04-02 09:03:27 -06:00
Gregory Nutt
0b8d635d96 Fix typo introduced to the serial driver when the DBGU driver was added 2014-04-02 09:02:15 -06:00
Gregory Nutt
b3daf84b12 Top level make will now generate a U-Boot uImage file 2014-04-01 11:56:58 -06:00
Gregory Nutt
cbdc9155ab SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
Gregory Nutt
3d8cbb415c Cosmetic update to comments and README files 2014-03-31 17:25:39 -06:00
Gregory Nutt
a29187bd34 SAMA5: Add DBGU register definition header file 2014-03-31 17:25:16 -06:00
Gregory Nutt
a44a4444e2 Cosmetic updates to comments and README files 2014-03-31 15:10:15 -06:00
Gregory Nutt
5dd8a2cfe4 Remove double mapping of SDRAM when running from SDRAM 2014-03-31 15:08:04 -06:00
Gregory Nutt
70815e5673 sched/Kconfig: Add another layer of menuing to simply this level 2014-03-31 11:32:22 -06:00
Gregory Nutt
4f59bc5878 Add CONFIG_CLOCK_MONTONIC 2014-03-31 10:01:03 -06:00
Gregory Nutt
68025784b0 Fix ftell() bug: It was not accounting for data buffered in memory. From Macs N 2014-03-31 09:47:28 -06:00
Gregory Nutt
cd135fe3a8 Complete fragmentary support for ferror(). From Macs N 2014-03-31 09:39:10 -06:00
Gregory Nutt
8772a4e104 Add support for CLOCK_MONOTONIC. From Macs N 2014-03-31 09:25:50 -06:00
Gregory Nutt
6bb8cc02df sscanf(): Was returning the wrong number of conversions in many cases; Also, needs to return EOF if there were no conversions 2014-03-30 14:24:38 -06:00
Gregory Nutt
85b0a1a544 Costmetic fixes to README and some comments 2014-03-30 11:34:18 -06:00
Gregory Nutt
e6bd002d68 Use get_errno() instead of errno because I may do something different if used inside the OS 2014-03-30 11:33:47 -06:00