694 Commits

Author SHA1 Message Date
Gregory Nutt
79fa2a7b09 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
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
5527e0df9f 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
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
53438bcb1e Refresh NTOSD configurations. Fix some minor bit rot build issues 2014-09-11 07:44:16 -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
663b145789 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
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
6a897a6d71 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
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
a3e85c0b87 Update changelog 2014-09-09 13:54:56 -06:00
Gregory Nutt
a9e0e7b41d Update changelog 2014-09-09 13:54:56 -06:00
Gregory Nutt
f397eeaec4 SAMA5D4-EK kernel config can now boot from a ROMFS file system 2014-09-09 13:51:13 -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
0e01bce287 Update README file 2014-09-08 16:00:57 -06:00
Gregory Nutt
42299e4394 Update README file 2014-09-08 16:00:57 -06:00
Gregory Nutt
8c7600687f Rename SAMA5D4-EK kernel configuration to knsh for consistency with naming for other platforms 2014-09-08 11:05:05 -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
a6a5dff2c9 Cosmetic changes to comments/spacing 2014-09-08 08:57:25 -06:00
Gregory Nutt
31a908ea3a Cosmetic changes to comments/spacing 2014-09-08 08:57:25 -06:00
Gregory Nutt
f74e69083c Need to call elf_initialize() on bring-up before attempting to load ELF modules 2014-09-07 13:47:02 -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
3629b710ae SAMA5D4-EK kernel configurations needs support for task termination clean-up 2014-09-06 14:40:39 -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
a4d7737e2d Several fixes for errors introduced by last check-ins 2014-09-06 11:17:05 -06:00
Gregory Nutt
8dffb83c84 Several fixes for errors introduced by last check-ins 2014-09-06 11:17:05 -06:00
Gregory Nutt
a0fa9f87cf SAMA5D4-EK kernel configuration now builds NSH instead of examples/elf 2014-09-06 07:04:14 -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
d70ac31fd4 Need to add CRT0 to every Makefile in apps/examples/tests 2014-09-05 16:05:29 -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
ea8878cfe0 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
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
089cc029ec Add capability to perform initial board initialization on a separate worker thread. 2014-09-03 18:36:43 -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
c8da2db7be SAMA5D4-EK: Add logic to mount an SD card as a boot device 2014-09-03 08:34:28 -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
9a8c90d35c SAMA5D4-EK: Restructure initialization slightly to better support kernel mode 2014-09-03 07:29:49 -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
3dd8c08714 Remove final traces of the 8015 from the NuttX source tree 2014-09-01 13:21:15 -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
9f86485f98 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
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
f15246ec6c Remove CONFIG_MM_MULTIHEAP. Non-multiheap operation is no longer supported 2014-08-31 10:54:55 -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
8c3cf9e63f 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
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
efaeace0cf Cosmetic 2014-08-30 09:26:21 -06:00
Gregory Nutt
50b6e30c40 Cosmetic 2014-08-30 09:26:21 -06:00
Gregory Nutt
0effe35910 Enable SYSCALL interface with address environments in the SAMA5D4-EK ELF configuration 2014-08-30 08:48:18 -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