リビジョン | 0ee8d7ef03ec84d534b1e12c47f827cc33250ba5 (tree) |
---|---|
日時 | 2022-08-01 18:40:22 |
作者 | Yoshinori Sato <ysato@user...> |
コミッター | Yoshinori Sato |
update RX support.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
@@ -29,6 +29,7 @@ config CPU_RX62N | ||
29 | 29 | select DM_SERIAL |
30 | 30 | select TIMER |
31 | 31 | select SCIF_CONSOLE |
32 | + select BINMAN | |
32 | 33 | |
33 | 34 | config SYS_CPU |
34 | 35 | default "rx600" if CPU_RX62N |
@@ -51,17 +51,11 @@ SECTIONS | ||
51 | 51 | *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) |
52 | 52 | . = ALIGN(4); |
53 | 53 | } > irom |
54 | - .u_boot_list : { | |
55 | - KEEP(*(SORT(.u_boot_list*))); | |
54 | + __u_boot_list : { | |
55 | + KEEP(*(SORT(__u_boot_list*))); | |
56 | 56 | } > irom |
57 | 57 | PROVIDE (_etext = .); |
58 | 58 | |
59 | - . = 0xffffff80; | |
60 | - .vector : | |
61 | - { | |
62 | - *(.vector); | |
63 | - } > vector | |
64 | - | |
65 | 59 | PROVIDE (__ram_vec = 0x00000000); |
66 | 60 | |
67 | 61 | .data : AT(_etext) |
@@ -78,10 +72,16 @@ SECTIONS | ||
78 | 72 | *(.bss) |
79 | 73 | . = ALIGN(4); |
80 | 74 | } > sdram |
75 | + . = 0xffffff80; | |
76 | + .vector : | |
77 | + { | |
78 | + *(.vector); | |
79 | + } > vector | |
80 | + | |
81 | 81 | PROVIDE (__bss_end = .); |
82 | 82 | PROVIDE (__init_end = .); |
83 | 83 | |
84 | 84 | PROVIDE (__stack = 0x00018000); |
85 | 85 | |
86 | - PROVIDE (_end = .); | |
86 | + PROVIDE (_end = _etext + SIZEOF(.data)); | |
87 | 87 | } |
@@ -1,4 +1,8 @@ | ||
1 | 1 | CONFIG_RX=y |
2 | -CONFIG_ENV_SIZE=0x1f000 | |
2 | +CONFIG_SYS_MALLOC_F_LEN=0x400 | |
3 | +CONFIG_DEFAULT_DEVICE_TREE="qemu-rx" | |
4 | +CONFIG_SYS_LOAD_ADDR=0x01000000 | |
3 | 5 | CONFIG_TARGET_QEMU=y |
6 | +# CONFIG_NET is not set | |
4 | 7 | CONFIG_DM_ETH=y |
8 | +CONFIG_REGEX=y |
@@ -6,7 +6,4 @@ | ||
6 | 6 | #ifndef __CONFIG_H |
7 | 7 | #define __CONFIG_H |
8 | 8 | |
9 | -/* memory */ | |
10 | -#define CONFIG_SYS_LOAD_ADDR 0x1000000 | |
11 | - | |
12 | 9 | #endif |