Commit Graph

8405 Commits

Author SHA1 Message Date
Gregory Nutt
3a44227caa Fix confusion about what is a page of data and what is a page of L2 page table; restructure functions to reduce duplicated logic 2014-08-26 10:41:43 -06:00
Gregory Nutt
d52599fe8e Change when address environment is instantiated; there are/were locations where access is made to the allocation address environment when it is not yet in place 2014-08-26 07:57:30 -06:00
Gregory Nutt
dbeba82e85 Add lots of debug output 2014-08-26 07:54:43 -06:00
Gregory Nutt
66a5328a68 Cortex-A address environment: Fix some section mapping and address increments 2014-08-26 06:33:26 -06:00
Gregory Nutt
e87804cc8c ARMv7-A: Use of write back might be unpredictable 2014-08-25 16:34:22 -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
b4268bfe9c Update ChangeLog 2014-08-25 11:23:19 -06:00
Gregory Nutt
e1799b0423 Cortex-A/SAMA5 address environment support is code complete (untested) 2014-08-25 11:18:32 -06:00
Gregory Nutt
e0a48b60b6 Change naming of ELF interfaces from arch_ to up_ for consistency 2014-08-25 06:47:14 -06:00
Gregory Nutt
a832f97e90 Resolve ChangeLog conflicts 2014-08-25 06:26:48 -06:00
Gregory Nutt
2c0bc7f261 Update ChangeLog 2014-08-25 06:12:32 -06:00
Gregory Nutt
7e9f569ac6 Add build support for ELF modules. Useless at the moment because there is no x86 relocation logic 2014-08-25 06:09:09 -06:00
Gregory Nutt
285e1cd7be Update some sim/ defconfig files. This now automatically switches them to x86_64 builds 2014-08-25 06:08:17 -06:00
Gregory Nutt
ff6b6af425 Update ChangeLog 2014-08-24 14:14:32 -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
1708a133f5 Fix some compilation errors in ELF logic that were introduced in a recent commit 2014-08-24 12:57:02 -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
ed2d8e438e Fix some SAMA5 configuration dependency problems that are only visible when networking is disabled 2014-08-24 12:55:51 -06:00
Gregory Nutt
10b621ac10 Modify ADDRENV Kconfigs. Z180 does not need all of the virtual address settings that the ARM does 2014-08-24 12:54:37 -06:00
Gregory Nutt
bccacc4fa0 Update ChangeLog 2014-08-24 11:55:58 -06:00
Gregory Nutt
241a7e17bd addrenv interface changes: up_addrenv_create() may need to create .text and .bss/.data separately because of differing access privileges (read/execute vs read/write). And, as a consequence, up_addrenv_vaddr() needs to be split into up_addrenv_vtext(0 and up_addrenv_vdata(). 2014-08-24 11:54:14 -06:00
Gregory Nutt
c1e40b1d12 Update ChangeLog 2014-08-24 09:59:54 -06:00
Gregory Nutt
2cb9d5c7b0 Add addrenv.h; First cut at Cortex-A address environment structures; Add configuration options to setup address enviornment 2014-08-24 09:57:53 -06:00
Gregory Nutt
aa48638d57 Update ChangeLog 2014-08-24 06:44:22 -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
29a40668eb Update ChangeLog 2014-08-23 19:00:54 -06:00
Gregory Nutt
03830250e7 ARMv7-A: Add skeleton environment and build support for process address environments 2014-08-23 18:59:24 -06:00
Gregory Nutt
3eee39dff5 Upate ChangeLog 2014-08-23 16:38:25 -06:00
Gregory Nutt
b028fb31e9 include/nuttx/pgalloc.h and mm/mm_pgalloc.c: Add a simple page allocator based on the existing NuttX granule allocator. I am not certain if the granule allocator is sufficiently deterministic for long range use, but it gets get a page allocator in place for testing very quickly. 2014-08-23 16:37:16 -06:00
Gregory Nutt
ce225dfc93 Update ChangeLog 2014-08-23 12:45:25 -06:00
Gregory Nutt
7cd8db9425 gran_reserve(): Add a new function to reserve unallocatable regions in the granule heap 2014-08-23 12:43:21 -06:00
Gregory Nutt
3bd810b316 Add option to select 64-bit build platform 2014-08-22 18:21:32 -06:00
Gregory Nutt
081f88b4b9 STM32 serial: MAke uart_devs[] const. From Freddie Chopin 2014-08-22 16:20:52 -06:00
Gregory Nutt
4af3e1cfa1 Recent STM32 UART change: Wasn't that logic backward? Shouldn't that have been disable the USART if (1) we don't have than many USARTs OR (2) we don't have that particular USART -- not AND. 2014-08-22 16:16:23 -06:00
Gregory Nutt
e79d6e3c8b A few fixes for compilation errors due to recent address environment fixes 2014-08-22 15:55:00 -06:00
Gregory Nutt
f7899c655a Update some STM32F4Discovery configurations 2014-08-22 15:24:26 -06:00
Gregory Nutt
d863ddb60f Update some STM32F4Discovery configurations 2014-08-22 15:19:25 -06:00
Gregory Nutt
4d029ee13b uintptr_t should be 64-bits under Cygwin64 2014-08-22 15:18:55 -06:00
Gregory Nutt
dc13669131 Update ChangeLog and README.txt 2014-08-22 14:56:32 -06:00
Gregory Nutt
4e699b00de Need to release the addess environment when the task group is released 2014-08-22 14:49:05 -06:00
Gregory Nutt
935e76df9f Changes to try to get P112 to compile with laster SDCC (it still does not) 2014-08-22 14:48:29 -06:00
Gregory Nutt
1d586e6136 An address environment is the property of a task group, not of a thread 2014-08-22 12:32:34 -06:00
Gregory Nutt
150fcfb5b8 STM32 F401: Only 3 USARTS, but need to set STM32_NUSARTS to six because they are not numbered sequentially 2014-08-22 09:02:58 -06:00
Gregory Nutt
21ed39159e Update ChangeLog 2014-08-22 08:54:26 -06:00
Gregory Nutt
fd484c4de9 Add support for statically allocated watchdog timer structures 2014-08-22 08:46:34 -06:00