- fixed Makefile

- rebuilt bootloader

git-svn-id: http://moon:8086/svn/mips@9 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2015-05-15 04:58:53 +00:00
parent c5e9bbdbe2
commit 97c6861cff
10 changed files with 5851 additions and 6156 deletions
+147 -147
View File
@@ -1,135 +1,142 @@
Archive member included because of file (symbol)
/usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
/home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
bootloader_with_flash.o (memset)
Discarded input sections
.reginfo 0x0000000000000000 0x0 init.o
.reginfo 0x0000000000000000 0x0 kernel.o
.reginfo 0x0000000000000000 0x0 libsys.o
.reginfo 0x0000000000000000 0x0 cfiflash.o
.reginfo 0x0000000000000000 0x0 bootloader_with_flash.o
.reginfo 0x0000000000000000 0x0 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.reginfo 0x0000000000000000 0x18 init.o
.reginfo 0x0000000000000000 0x18 kernel.o
.reginfo 0x0000000000000000 0x18 libsys.o
.reginfo 0x0000000000000000 0x18 cfiflash.o
.reginfo 0x0000000000000000 0x18 bootloader_with_flash.o
.reginfo 0x0000000000000000 0x18 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
Memory Configuration
Speichereinrichtung
Name Origin Length Attributes
rom 0x000000009fc00000 0x0000000000002000
ram 0x0000000080000000 0x0000000004000000
flash_u 0x00000000a4000000 0x0000000000800000
flash_c 0x0000000088000000 0x0000000000800000
io 0x00000000ac000000 0x0000000000800000
Name Ursprung Länge Eigenschaften
rom 0x00000000bfc00000 0x0000000000002000
ram 0x0000000040000000 0x0000000004000000
flash 0x00000000a4000000 0x0000000000800000
io 0x00000000a0000000 0x0000000000800000
*default* 0x0000000000000000 0xffffffffffffffff
Linker script and memory map
0x0000000083ffeff0 stack_ptr = 0x83ffeff0
0x000000007fffeff0 stack_ptr = 0x7fffeff0
0x000000000000000d baudrate = 0xd
0x00000000ac000000 sys_led_port = 0xac000000
0x00000000ac010000 sys_uart_data = 0xac010000
0x00000000ac010004 sys_uart_stat = 0xac010004
0x00000000ac010008 sys_uart_baud = 0xac010008
0x000000000ac00008 sys_timer_usec = 0xac00008
0x00000000ac00000c sys_timer_sec = 0xac00000c
0x00000000a0000000 sys_led_port = 0xa0000000
0x00000000a0010000 sys_uart_data = 0xa0010000
0x00000000a0010004 sys_uart_stat = 0xa0010004
0x00000000a0010008 sys_uart_baud = 0xa0010008
0x000000000a000008 sys_timer_usec = 0xa000008
0x00000000a000000c sys_timer_sec = 0xa000000c
.init 0x000000009fc00000 0x70
0x000000009fc00000 start = ALIGN (0x4)
0x000000009fc00000 entry = ALIGN (0x4)
0x000000009fc00000 _entry = ALIGN (0x4)
0x000000009fc00000 __entry = ALIGN (0x4)
.init 0x00000000bfc00000 0x70
0x00000000bfc00000 start = ALIGN (0x4)
0x00000000bfc00000 entry = ALIGN (0x4)
0x00000000bfc00000 _entry = ALIGN (0x4)
0x00000000bfc00000 __entry = ALIGN (0x4)
*(.stext)
.init 0x000000009fc00000 0x5c startup.o
.init 0x000000009fc0005c 0x14 init.o
0x000000009fc0005c _init
.init 0x00000000bfc00000 0x5c startup.o
.init 0x00000000bfc0005c 0x14 init.o
0x00000000bfc0005c _init
.ktext 0x000000009fc00180 0x48
.ktext 0x00000000bfc00180 0x48
*(.ktext)
.ktext 0x000000009fc00180 0x48 kernel.o
.ktext 0x00000000bfc00180 0x48 kernel.o
.text 0x000000009fc001c8 0x14d8
.text 0x00000000bfc001c8 0xe88
*(.text)
.text 0x000000009fc001c8 0x0 startup.o
.text 0x000000009fc001c8 0x0 init.o
.text 0x000000009fc001c8 0x0 kernel.o
.text 0x000000009fc001c8 0x3f0 libsys.o
0x000000009fc00264 _putchar
0x000000009fc003ec memdump
0x000000009fc003a0 print_word
0x000000009fc001c8 CP0_SR_read
0x000000009fc001ec CP0_CR_write
0x000000009fc002c0 sputs
0x000000009fc00204 readchar
0x000000009fc00234 writechar
0x000000009fc00330 print_byte
0x000000009fc001e0 CP0_CR_read
0x000000009fc001f8 CP0_PRID_read
0x000000009fc005a8 PrintBuffer8
0x000000009fc001d4 CP0_SR_write
.text 0x000000009fc005b8 0x808 cfiflash.o
0x000000009fc00614 cfi_find
0x000000009fc008d8 cfi_block_unlock
0x000000009fc005e0 cfi_init
0x000000009fc00728 cfi_block_is_locked
0x000000009fc00c10 flash_erase
0x000000009fc00d90 flash_get_offset_blockaligned
0x000000009fc00cf0 flash_verify
0x000000009fc00d60 flash_get_offset_by_blocknum
0x000000009fc00798 cfi_block_erase
0x000000009fc00d38 flash_get_blocknum_by_offset
0x000000009fc00bac flash_find
0x000000009fc00978 cfi_program_single
0x000000009fc005b8 cfi_get_status
0x000000009fc00cd0 flash_program
0x000000009fc00838 cfi_block_lock
0x000000009fc009f8 cfi_program_multi
.text 0x000000009fc00dc0 0x7f0 bootloader_with_flash.o
0x000000009fc00dc0 h2i
0x000000009fc01098 Exec_RE_at
0x000000009fc0106c Jump_to
0x000000009fc010c4 srec_getline
0x000000009fc0107c Exec_at
0x000000009fc00e10 decode_srec
0x000000009fc01150 main
.text 0x000000009fc015b0 0xf0 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
0x000000009fc015b0 memset
.text 0x00000000bfc001c8 0x0 startup.o
.text 0x00000000bfc001c8 0x0 init.o
.text 0x00000000bfc001c8 0x0 kernel.o
.text 0x00000000bfc001c8 0x344 libsys.o
0x00000000bfc001c8 CP0_SR_read
0x00000000bfc001d4 CP0_SR_write
0x00000000bfc001e0 CP0_CR_read
0x00000000bfc001ec CP0_CR_write
0x00000000bfc001f8 CP0_PRID_read
0x00000000bfc00204 readchar
0x00000000bfc00230 writechar
0x00000000bfc0025c _putchar
0x00000000bfc00294 sputs
0x00000000bfc002e0 print_byte
0x00000000bfc00340 print_word
0x00000000bfc00380 memdump
0x00000000bfc004f8 PrintBuffer8
.text 0x00000000bfc0050c 0x7ac cfiflash.o
0x00000000bfc0050c cfi_get_status
0x00000000bfc00534 cfi_init
0x00000000bfc00560 cfi_find
0x00000000bfc0065c cfi_block_is_locked
0x00000000bfc006d0 cfi_block_erase
0x00000000bfc00770 cfi_block_lock
0x00000000bfc00810 cfi_block_unlock
0x00000000bfc008b0 cfi_program_single
0x00000000bfc00930 cfi_program_multi
0x00000000bfc00aec flash_find
0x00000000bfc00b14 flash_erase
0x00000000bfc00bc0 flash_program
0x00000000bfc00be4 flash_verify
0x00000000bfc00c30 flash_get_blocknum_by_offset
0x00000000bfc00c58 flash_get_offset_by_blocknum
0x00000000bfc00c88 flash_get_offset_blockaligned
.text 0x00000000bfc00cb8 0x2c8 bootloader_with_flash.o
0x00000000bfc00cb8 h2i
0x00000000bfc00d10 decode_srec
0x00000000bfc00e94 srec_getline
0x00000000bfc00f28 Jump_to
0x00000000bfc00f38 Exec_at
0x00000000bfc00f54 Exec_RE_at
.text 0x00000000bfc00f80 0xd0 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
0x00000000bfc00f80 memset
.rodata 0x000000009fc016a0 0x15c
.text.startup 0x00000000bfc01050 0x42c
.text.startup 0x00000000bfc01050 0x42c bootloader_with_flash.o
0x00000000bfc01050 main
.rodata 0x00000000bfc0147c 0x15c
*(.rodata*)
.rodata.str1.4
0x000000009fc016a0 0x8 libsys.o
0x00000000bfc0147c 0x8 libsys.o
0x10 (size before relaxing)
.rodata.str1.4
0x000000009fc016a8 0x154 bootloader_with_flash.o
0x00000000bfc01484 0x154 bootloader_with_flash.o
0x15c (size before relaxing)
.data 0x0000000080000000 0x0
0x0000000080000000 _ram_start = ALIGN (0x4)
.data 0x0000000040000000 0x0
0x0000000040000000 _ram_start = ALIGN (0x4)
*(.*data)
.data 0x0000000080000000 0x0 startup.o
.data 0x0000000080000000 0x0 init.o
.data 0x0000000080000000 0x0 kernel.o
.data 0x0000000080000000 0x0 libsys.o
.data 0x0000000080000000 0x0 cfiflash.o
.data 0x0000000080000000 0x0 bootloader_with_flash.o
.data 0x0000000080000000 0x0 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.data 0x0000000040000000 0x0 startup.o
.data 0x0000000040000000 0x0 init.o
.data 0x0000000040000000 0x0 kernel.o
.data 0x0000000040000000 0x0 libsys.o
.data 0x0000000040000000 0x0 cfiflash.o
.data 0x0000000040000000 0x0 bootloader_with_flash.o
.data 0x0000000040000000 0x0 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
*(.*bss)
.bss 0x0000000080000000 0x0 startup.o
.bss 0x0000000080000000 0x0 init.o
.bss 0x0000000080000000 0x0 kernel.o
.bss 0x0000000080000000 0x0 libsys.o
.bss 0x0000000080000000 0x0 cfiflash.o
.bss 0x0000000080000000 0x0 bootloader_with_flash.o
.bss 0x0000000080000000 0x0 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.bss 0x0000000040000000 0x0 startup.o
.bss 0x0000000040000000 0x0 init.o
.bss 0x0000000040000000 0x0 kernel.o
.bss 0x0000000040000000 0x0 libsys.o
.bss 0x0000000040000000 0x0 cfiflash.o
.bss 0x0000000040000000 0x0 bootloader_with_flash.o
.bss 0x0000000040000000 0x0 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
*(.*common)
.flash 0x00000000a4000000 0x0
0x00000000a4000000 _flash_start = ALIGN (0x4)
LOAD startup.o
LOAD init.o
LOAD kernel.o
LOAD libsys.o
LOAD cfiflash.o
LOAD bootloader_with_flash.o
LOAD /usr/local/mipsel-elf/lib/eb/libc.a
LOAD /usr/local/lib/gcc/mipsel-elf/4.3.3/eb/libgcc.a
LOAD /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a
LOAD /home/jens/work/repos/mips/toolchain/install/lib/gcc/mipsel-elf/4.8.3/eb/libgcc.a
OUTPUT(bootloader_flash.elf elf32-bigmips)
.reginfo 0x0000000000000000 0x18
@@ -142,19 +149,20 @@ OUTPUT(bootloader_flash.elf elf32-bigmips)
.pdr 0x0000000000000000 0x1a0 libsys.o
.pdr 0x00000000000001a0 0x200 cfiflash.o
.pdr 0x00000000000003a0 0xe0 bootloader_with_flash.o
.pdr 0x0000000000000480 0x20 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.pdr 0x0000000000000480 0x20 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.mdebug.abi32 0x0000000000000000 0x0
.mdebug.abi32 0x0000000000000000 0x0 libsys.o
.mdebug.abi32 0x0000000000000000 0x0 cfiflash.o
.mdebug.abi32 0x0000000000000000 0x0 bootloader_with_flash.o
.mdebug.abi32 0x0000000000000000 0x0 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.mdebug.abi32 0x0000000000000000 0x0 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.comment 0x0000000000000000 0x48
.comment 0x0000000000000000 0x12 libsys.o
.comment 0x0000000000000012 0x12 cfiflash.o
.comment 0x0000000000000024 0x12 bootloader_with_flash.o
.comment 0x0000000000000036 0x12 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.comment 0x0000000000000000 0x11
.comment 0x0000000000000000 0x11 libsys.o
0x12 (size before relaxing)
.comment 0x0000000000000000 0x12 cfiflash.o
.comment 0x0000000000000000 0x12 bootloader_with_flash.o
.comment 0x0000000000000000 0x12 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.gnu.attributes
0x0000000000000000 0x10
@@ -165,57 +173,49 @@ OUTPUT(bootloader_flash.elf elf32-bigmips)
.gnu.attributes
0x0000000000000020 0x10 bootloader_with_flash.o
.gnu.attributes
0x0000000000000030 0x10 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
0x0000000000000030 0x10 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_abbrev 0x0000000000000000 0x566
.debug_abbrev 0x0000000000000000 0x244 cfiflash.o
.debug_abbrev 0x0000000000000244 0x257 bootloader_with_flash.o
.debug_abbrev 0x000000000000049b 0xcb /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_info 0x0000000000000000 0x1416
.debug_info 0x0000000000000000 0x895 cfiflash.o
.debug_info 0x0000000000000895 0xa44 bootloader_with_flash.o
.debug_info 0x00000000000012d9 0x13d /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_info 0x0000000000000000 0xff2
.debug_info 0x0000000000000000 0x870 cfiflash.o
.debug_info 0x0000000000000870 0x643 bootloader_with_flash.o
.debug_info 0x0000000000000eb3 0x13f /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_abbrev 0x0000000000000000 0x4bc
.debug_abbrev 0x0000000000000000 0x1f6 cfiflash.o
.debug_abbrev 0x00000000000001f6 0x215 bootloader_with_flash.o
.debug_abbrev 0x000000000000040b 0xb1 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_line 0x0000000000000000 0x3d2
.debug_line 0x0000000000000000 0x164 cfiflash.o
.debug_line 0x0000000000000164 0x19b bootloader_with_flash.o
.debug_line 0x00000000000002ff 0xd3 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_loc 0x0000000000000000 0x122d
.debug_loc 0x0000000000000000 0xa81 cfiflash.o
.debug_loc 0x0000000000000a81 0x5a8 bootloader_with_flash.o
.debug_loc 0x0000000000001029 0x204 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_frame 0x0000000000000000 0x210
.debug_frame 0x0000000000000000 0x144 cfiflash.o
.debug_frame 0x0000000000000144 0xac bootloader_with_flash.o
.debug_frame 0x00000000000001f0 0x20 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_loc 0x0000000000000000 0xa8c
.debug_loc 0x0000000000000000 0x548 cfiflash.o
.debug_loc 0x0000000000000548 0x443 bootloader_with_flash.o
.debug_loc 0x000000000000098b 0x101 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_pubnames
0x0000000000000000 0x1ee
.debug_pubnames
0x0000000000000000 0x166 cfiflash.o
.debug_pubnames
0x0000000000000166 0x6b bootloader_with_flash.o
.debug_pubnames
0x00000000000001d1 0x1d /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_aranges 0x0000000000000000 0x60
.debug_aranges 0x0000000000000000 0x68
.debug_aranges
0x0000000000000000 0x20 cfiflash.o
.debug_aranges
0x0000000000000020 0x20 bootloader_with_flash.o
0x0000000000000020 0x28 bootloader_with_flash.o
.debug_aranges
0x0000000000000040 0x20 /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
0x0000000000000048 0x20 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_str 0x0000000000000000 0x4df
.debug_str 0x0000000000000000 0x29a cfiflash.o
0x304 (size before relaxing)
.debug_str 0x000000000000029a 0x186 bootloader_with_flash.o
0x282 (size before relaxing)
.debug_str 0x0000000000000420 0xbf /usr/local/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
0x157 (size before relaxing)
.debug_line 0x0000000000000000 0x4fb
.debug_line 0x0000000000000000 0x1e0 cfiflash.o
.debug_line 0x00000000000001e0 0x1db bootloader_with_flash.o
.debug_line 0x00000000000003bb 0x140 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_str 0x0000000000000000 0x576
.debug_str 0x0000000000000000 0x2cb cfiflash.o
0x33a (size before relaxing)
.debug_str 0x00000000000002cb 0x1a7 bootloader_with_flash.o
0x346 (size before relaxing)
.debug_str 0x0000000000000472 0x104 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
0x19d (size before relaxing)
.debug_frame 0x0000000000000000 0x28c
.debug_frame 0x0000000000000000 0x188 cfiflash.o
.debug_frame 0x0000000000000188 0xe4 bootloader_with_flash.o
.debug_frame 0x000000000000026c 0x20 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)
.debug_ranges 0x0000000000000000 0x30
.debug_ranges 0x0000000000000000 0x30 bootloader_with_flash.o
.debug_ranges 0x0000000000000000 0x18 bootloader_with_flash.o
.debug_ranges 0x0000000000000018 0x18 /home/jens/work/repos/mips/toolchain/install/mipsel-elf/lib/eb/libc.a(lib_a-memset.o)