Commit Graph

7248 Commits

Author SHA1 Message Date
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
Gregory Nutt
fa5988bf7b Add instructions for running NuttX from NAND or TFTP 2014-03-30 10:25:44 -06:00
Gregory Nutt
8e919137b2 cosmetic updates to comments 2014-03-30 10:25:01 -06:00
Gregory Nutt
4410deb8b6 SAMA5 Boards: When running from SDRAM, a 32KB offset is needed by the bootloader 2014-03-30 10:24:31 -06:00
Gregory Nutt
d14940a375 Fix some backward conditional compilation 2014-03-30 08:29:21 -06:00
Gregory Nutt
ec60f6cd9d SAMA5: Remove HSCMI-related functions that did not belong in sam_pmc.c and give them their own file 2014-03-30 08:00:59 -06:00
Gregory Nutt
060b84240b Add macro UNUSED to eliminate warnings about variables that are set to unused values 2014-03-30 07:58:58 -06:00
Gregory Nutt
392031ff7c SAMA5D3x-EK: Change name of all board-specific configuration variables so that there are no collisions with names of similar variables for other boards 2014-03-30 07:26:38 -06:00
Gregory Nutt
4d6b1ed2c8 Fix a rounding problem in HSMCI divider calculation 2014-03-29 18:13:00 -06:00
Gregory Nutt
aac2a6759d SAMA5D23 boards: When running out of SDRAM, need to query the PMC to determine operating frequency 2014-03-29 17:51:06 -06:00
Gregory Nutt
1b6ae2ccbb SAMA5: Add functions to calculate PLLACK, PCK, and MCK frequencies given the main clock frequency 2014-03-29 15:54:10 -06:00
Gregory Nutt
8bc70e38ab SAMA5D3 Xplained: Has no NOR flash. Remove all NOR support from board configuration 2014-03-29 15:05:09 -06:00
Gregory Nutt
09fb2a1893 Add basic board support framework for the Atmel SAMA5D3 Xplained board (not finished) 2014-03-28 15:20:26 -06:00
Gregory Nutt
d204310623 configs/sama5d3x-ek: Fix some typos 2014-03-28 15:18:49 -06:00
Gregory Nutt
a0b330bd92 strncpy would fail if n==0 2014-03-28 15:17:43 -06:00
Gregory Nutt
f12e37cae4 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
1e7a14ed2e SAMA5D3x-EK: Fix lots of typos in board name 2014-03-28 09:11:19 -06:00
Gregory Nutt
085d7dfe34 Add support for the SAMA5D36 2014-03-28 08:33:01 -06:00
Gregory Nutt
a53493eacc SAM4E: Clarify LCD data width 2014-03-28 08:29:04 -06:00