Commit Graph

250 Commits

Author SHA1 Message Date
Gregory Nutt
87031fd3a4 Update TODO list and README 2014-09-13 06:10:23 -06:00
Gregory Nutt
1f3db86106 Fix one more dependency upon having a symbol table 2014-09-12 13:03:10 -06:00
Gregory Nutt
4660e0e7f8 Enable NSH file applications in thise configureation 2014-09-12 12:46:06 -06:00
Gregory Nutt
f8170550e1 ARMv7-A: Modify up_fullcontextrestore() for CONFIG_BUILD_KERNEL. It changed CPSR while in kernel. That will crash is the new CPSR is user mode while executing in kernel space. Fixed by adding a SYS_context_restore system call. There is an alternative, simpler modification to up_fullcontextrestore() that could have been done: It might have been possible to use the SPSR instead of the CPRSR and then do an exception return from up_fullcontextrestore(). That would be more efficient, but I never tried it. 2014-09-12 08:04:27 -06:00
Gregory Nutt
0fc55d042f Misc fixes to repair some of the breakage to the SAMA5D4-EK elf configuration caused by changes for the knsh configuration 2014-09-11 10:31:12 -06:00
Gregory Nutt
a0c22020be Refresh NTOSD configurations. Fix some minor bit rot build issues 2014-09-11 07:44:16 -06:00
Gregory Nutt
9a5640b542 SAMA5D4-EK: These configurations now use the fixed DRAM mapping for manipulating the page memory pool. 2014-09-10 08:44:09 -06:00
Gregory Nutt
de7fbf92a0 Add logic that will permit us to build user libraries with different CFLAGS than kernel code. This is needed because we need the -fno-common option when building ELF code to prevent SHN_COMMON relocations 2014-09-09 15:45:37 -06:00
Gregory Nutt
a9e0e7b41d Update changelog 2014-09-09 13:54:56 -06:00
Gregory Nutt
d7a3a2c432 SAMA5D4-EK kernel config can now boot from a ROMFS file system 2014-09-09 13:51:13 -06:00
Gregory Nutt
42299e4394 Update README file 2014-09-08 16:00:57 -06:00
Gregory Nutt
507a4268db Rename SAMA5D4-EK kernel configuration to knsh for consistency with naming for other platforms 2014-09-08 11:05:05 -06:00
Gregory Nutt
31a908ea3a Cosmetic changes to comments/spacing 2014-09-08 08:57:25 -06:00
Gregory Nutt
91140ef594 Need to call elf_initialize() on bring-up before attempting to load ELF modules 2014-09-07 13:47:02 -06:00
Gregory Nutt
f52b92a51f SAMA5D4-EK kernel configurations needs support for task termination clean-up 2014-09-06 14:40:39 -06:00
Gregory Nutt
8dffb83c84 Several fixes for errors introduced by last check-ins 2014-09-06 11:17:05 -06:00
Gregory Nutt
2332d8a736 SAMA5D4-EK kernel configuration now builds NSH instead of examples/elf 2014-09-06 07:04:14 -06:00
Gregory Nutt
14ed6d0a37 Need to add CRT0 to every Makefile in apps/examples/tests 2014-09-05 16:05:29 -06:00
Gregory Nutt
ae9ffe21b4 Copy more logic from nuttx/tools/Config.mk into the Make.defs file. Plus trivial related changes 2014-09-05 11:25:34 -06:00
Gregory Nutt
e958040269 Add capability to perform initial board initialization on a separate worker thread. 2014-09-03 18:36:43 -06:00
Gregory Nutt
ee96ed963c SAMA5D4-EK: Add logic to mount an SD card as a boot device 2014-09-03 08:34:28 -06:00
Gregory Nutt
a488b10ac4 SAMA5D4-EK: Restructure initialization slightly to better support kernel mode 2014-09-03 07:29:49 -06:00
Gregory Nutt
23147c40a5 Remove final traces of the 8015 from the NuttX source tree 2014-09-01 13:21:15 -06:00
Gregory Nutt
e46f8e090b SAMA5D4-EK: Add a configuration for testing the kernel build configuration (still a work in progress) 2014-08-31 11:08:49 -06:00
Gregory Nutt
3c1a70c9dc Remove CONFIG_MM_MULTIHEAP. Non-multiheap operation is no longer supported 2014-08-31 10:54:55 -06:00
Gregory Nutt
351d20717d Separate flat, protected, and kernel mode library selected into separate files. The conditional logic as exceed my able to comprehend and maintain the selections. 2014-08-30 10:43:58 -06:00
Gregory Nutt
50b6e30c40 Cosmetic 2014-08-30 09:26:21 -06:00
Gregory Nutt
40375c9cd6 Enable SYSCALL interface with address environments in the SAMA5D4-EK ELF configuration 2014-08-30 08:48:18 -06:00
Gregory Nutt
38b1f11e57 Refresh all configurations that have MMUs 2014-08-30 07:51:13 -06:00
Gregory Nutt
faf16f229c Some initial clean-up in verifying the CONFIG_BUILD_PROTECTED configuration change 2014-08-29 15:07:35 -06:00
Gregory Nutt
660e939d0c Update README file 2014-08-28 11:08:26 -06:00
Gregory Nutt
00f5e8f70e Bugfixes.. still integrating SAMA5 ELF with address environment 2014-08-25 15:27:58 -06:00
Gregory Nutt
17cc5caa98 SAMA5 ELF configuration with address environments finally builds without errors 2014-08-25 13:59:02 -06:00
Gregory Nutt
1725946447 Misc changed to get the SAMA5 ELF configuration with address environments working 2014-08-25 13:28:13 -06:00
Gregory Nutt
8c535f00dd Update configs/sama5d4-ek/elf/defconfig 2014-08-25 11:24:54 -06:00
Gregory Nutt
7aea220ebf After cached related fix, the ELF example is now functional 2014-08-24 14:12:45 -06:00
Gregory Nutt
a8034f495f Add a SAMA5 ELF configuration that is buing used to test the address environment changes 2014-08-24 12:59:13 -06:00
Gregory Nutt
df4525de25 Add linker scripts needed to build ELF modules 2014-08-24 12:57:42 -06:00
Gregory Nutt
021c3be415 Add ELF CFLAGS and LDFLAGS in some Make.defs files 2014-08-24 12:56:28 -06:00
Gregory Nutt
1624e2fbcf Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how it is selected -- the architecure must first declare support 2014-08-24 06:42:11 -06:00
Gregory Nutt
a8d7772ad6 Update README files, Kconfig help comments, and make the network monitor not EXPERIMENTAL 2014-08-18 07:24:47 -06:00
Gregory Nutt
004788d7c0 Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires 2014-08-17 16:51:56 -06:00
Gregory Nutt
7cc93b708a SAMA5 PHY: Add more debug instrumentation; Fix logic that would be used to disable PHY interrupts 2014-08-17 14:07:53 -06:00
Gregory Nutt
1db9858e9d KSZ80x1 PHY interrupts are active low and should trigger on the falling edge 2014-08-17 13:15:59 -06:00
Gregory Nutt
057af36c1d More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic 2014-08-16 15:04:09 -06:00
Gregory Nutt
7c11a84c98 Refresh configuration 2014-08-16 12:54:58 -06:00
Gregory Nutt
ec47914cf8 Convert existing board specific PHY interrupt interfaces to use newly defined standard interface 2014-08-16 08:35:31 -06:00
Gregory Nutt
d79c311508 SAMA5 setenv.sh: Add another CodeSourcery install path 2014-08-16 08:33:20 -06:00
Gregory Nutt
eef608b942 Update README files 2014-08-12 10:01:12 -06:00
Gregory Nutt
1787b3e600 SAMA5: Enable the 32.768 crystal if SCHED_TICKLESS is selected 2014-08-11 14:29:43 -06:00
Gregory Nutt
c6273d083d Updated README files 2014-08-10 20:02:45 -06:00
Gregory Nutt
c7a51f4ef1 Cosmetic changed, updated README files, improved comments 2014-08-10 13:11:31 -06:00
Gregory Nutt
b39b227e2a Update README files 2014-08-10 11:34:20 -06:00
Gregory Nutt
0aa7209765 Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK. This gives more options for system timers in general, but more importantly, let's us realize higher resolution for the case of CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new interger overvflow problems 2014-08-07 13:42:47 -06:00
Gregory Nutt
caba61999a Remove CONFIG_DISABLE_CLOCK 2014-08-07 12:35:24 -06:00
Gregory Nutt
5e045c26c2 Updated README 2014-08-06 12:30:35 -06:00
Gregory Nutt
0e134b5233 Update some defconfig files; enable network initialization thread 2014-08-06 12:22:51 -06:00
Gregory Nutt
b33beb3e20 NSH Networking: Also add an option to let platform-specific logic select the MAC address. 2014-08-06 10:12:10 -06:00
Gregory Nutt
23024b2d6a SAMA5: Some usage documents for media players 2014-08-04 19:23:20 -06:00
Gregory Nutt
cc5c1b6539 WM8904: Update READMEs and defconfigs to last tested configuration 2014-08-04 15:36:16 -06:00
Gregory Nutt
e30d31367a WM8904 interface enable method now returns the previous interrupt state. Correct ordering of some WM8904: Need to provide MCLK before initializing the WM8904, not after 2014-08-04 14:56:20 -06:00
Gregory Nutt
eebdae30b2 Correct the WM8904 interrupt configuration, active high level. Fix that and don't pull-up 2014-08-04 14:54:20 -06:00
Gregory Nutt
1f213064e0 SAMA5 WM8904: Add option to use MAINCK as WM8904 MCLK 2014-08-03 11:01:02 -06:00
Gregory Nutt
159bcc255d SAMA5 PCK: Add Main clock as an option for the PCK clock source 2014-08-03 10:17:50 -06:00
Gregory Nutt
1f2428c087 WM8904: Ad the MCLK frequency to the interface definition. The WM8904 driver needs to know this frequency in order to configure the FLL to generate the correct bitrate 2014-08-01 18:37:56 -06:00
Gregory Nutt
83dab03576 SAMA5 WM8904: Fix errors in programmable clock output configuration 2014-08-01 15:18:58 -06:00
Gregory Nutt
805a02965c SAMA5 SSC: Start Delay is now configurable 2014-08-01 14:10:37 -06:00
Gregory Nutt
50bd2ba46c SAMA5 SSC: Frame Synch Delay is now configurable 2014-08-01 12:25:31 -06:00
Gregory Nutt
c657139b30 SAMA5D3X-EK: Add support for the WM8904 audio CODEC 2014-07-31 11:14:57 -06:00
Gregory Nutt
0ad5d9f85d Add short document for running the NxWM demo 2014-07-31 08:18:07 -06:00
Gregory Nutt
2bdb126d2c SAMA5D4-EK NxWM: The USB keyboard is now the default input device 2014-07-30 17:37:02 -06:00
Gregory Nutt
f91c608d4c dd support for a USB keyboard as the NxConsole and text widget input. Not fully functional as of this initial check-in. Basic functionality is there, but there are conditions were the keyboard gets lost. 2014-07-30 17:01:51 -06:00
Gregory Nutt
376a7bcc12 Costmetic: Update TODO list, README files, refreshed configuration, updated comments 2014-07-30 14:26:50 -06:00
Gregory Nutt
276cc44878 SAMA5 HSMCI: e-enable TX DMA and verify that DMA writes to the SD card are functional. They are so now TX DMA is re-enabled in the driver. This might affect the SAMA5D3 platforms where the TX DMA problem was found. The SAMA4D3 and 4 use the same HSMCI driver. Much has change since then and it is not surprising that DMA is now functional. However, the has not be re-verified on the SAMA5D3 which has a different DMA controller. 2014-07-30 11:20:06 -06:00
Gregory Nutt
9c80dfb31c Updated README file, cosmetic changes to comments and debug output 2014-07-30 10:19:09 -06:00
Gregory Nutt
941df0945a Update TODO listi and README 2014-07-29 20:02:34 -06:00
Gregory Nutt
a826adb679 The SAMA5D4-EK NSH and NxWM configurations now have the auto-mounter configured to automatically mount the FAT file system on HSMCI0 at /mnt/sdcard 2014-07-29 16:36:15 -06:00
Gregory Nutt
3d49eadc80 Cosmetic updates to comments and README files and some naming 2014-07-29 16:35:47 -06:00
Gregory Nutt
d547e59767 Minor warning/latent bug clean-up of auto-mounter logic 2014-07-29 16:35:17 -06:00
Gregory Nutt
7b1b915226 SAMA5D4: Add auto-mounter support for HSMCI0 2014-07-29 15:34:31 -06:00
Gregory Nutt
35d8e3bfcb Update ChangeLog 2014-07-29 12:52:21 -06:00
Gregory Nutt
551b106e2b SAMA5: Poll USB keyboard at a higher rate for better response 2014-07-29 08:57:35 -06:00
Gregory Nutt
53930d5531 SAMA5D-EK: Correct system timer frequency. Input clock is MCK/2, not MCK 2014-07-29 07:12:36 -06:00
Gregory Nutt
1b6eec572d Cosmetic changes to comments 2014-07-29 07:11:16 -06:00
Gregory Nutt
a428bb753f SAMA5D4-EK: Disable PMIC workaround... it does not work 2014-07-28 17:48:55 -06:00
Gregory Nutt
8c2b458d75 Fixes to last SAMA5 PMIC checkin 2014-07-28 17:09:37 -06:00
Gregory Nutt
950a6979ec SAMA5D4-EK: Add logic to disable the faulty PMIC. This must be done with JP23 open. It is perfomed only from the DRAMBOOT loader 2014-07-28 16:34:19 -06:00
Gregory Nutt
d09ee81320 Change naming from cp_XYZ_cache() to arch_XYP_cache() so that all cache operations will pick up L2 support if it is enabled 2014-07-26 18:47:33 -06:00
Gregory Nutt
16eef02eec Updated README 2014-07-25 10:03:01 -06:00
Gregory Nutt
2b07f11c69 AMA5D4-EK NxWM: Configuration refreshed 2014-07-24 15:06:19 -06:00
Gregory Nutt
82aa010083 NxWM: Beginning integration of NxPlayer into Nxwm::MediaPlayer. Gets handle, sets device, and releases handle. Lots more to be done 2014-07-23 18:19:00 -06:00
Gregory Nutt
4e96cacc80 SAMA5D4-EK NSH: Enable the command line media player in the NSH configuration as well (still does not work, however). 2014-07-23 15:33:54 -06:00
Gregory Nutt
8621769516 SAMA5D4 NxWM: Configuration now has the audio subsystem and the NxPlayer enabled 2014-07-23 15:20:54 -06:00
Gregory Nutt
ca7d7c34ce Audio: Add a NULL audio device that can be used to simply unit-level testing of audio decoders 2014-07-23 10:12:32 -06:00
Gregory Nutt
c79f86c72c SAMA5D3/4: All configurations. I suspect a MMC/SD multi-block DMA transfer issue. So for name, this feature is disabled in all configurations 2014-07-23 07:58:10 -06:00
Gregory Nutt
d7a9633dcd Rename pcm_decode.h to pcm.h since it will hold more than just decoding definitions. Fix some porting errors like idbg should auddbg, etc. Add wav file header and a few low-level wav utilities. 2014-07-22 15:54:56 -06:00
Gregory Nutt
a4dcd690bb Add new framework for the PCM decoder. It is now a 'front end' for lower-level drivers like the WM8904 that performs the PCM decoding from end 2014-07-22 11:54:13 -06:00
Gregory Nutt
9c30888fd6 Update README 2014-07-22 09:25:38 -06:00
Gregory Nutt
3d384de76f Updated README 2014-07-21 18:38:41 -06:00
Gregory Nutt
5b659a0987 SAMA5D4-EK: HSMCI0 must use XDMAC0 (or made unsecure) 2014-07-21 17:54:37 -06:00