Last active
March 3, 2019 14:54
-
-
Save z4yx/411e1ea90c871c8d6ab553eafcd827d9 to your computer and use it in GitHub Desktop.
u-boot on NaiveMIPS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
initcall: 8000da50 | |
initcall: 80033c4c | |
initcall: 8001b610 | |
initcall: 8000de70 | |
initcall: 8000daa8 | |
initcall: 80000808 | |
initcall: 8000deb4 | |
initcall: 8000de58 | |
malloc_simple: size=18, ptr=18, limit=600: 807fe950 | |
malloc_simple: size=54, ptr=6c, limit=600: 807fe968 | |
malloc_simple: size=4, ptr=70, limit=600: 807fe9bc | |
uclass_find_device_by_seq: 0 -1 | |
uclass_find_device_by_seq: 0 0 | |
- -1 -1 'root_driver' | |
- not found | |
initcall: 8000dab0 | |
initcall: 8003739c | |
initcall: 80010940 | |
initcall: 8000de04 | |
initcall: 80027e74 | |
malloc_simple: size=18, ptr=88, limit=600: 807fe9c0 | |
bind node serial@10400000 | |
- attempt to match compatible string 'naivemips-uart' | |
- found match at 'naivemips-uart' | |
malloc_simple: size=54, ptr=dc, limit=600: 807fe9d8 | |
Looking for 'serial' at 512, name serial@10400000 | |
- console, /serial@10400000 | |
Not found | |
Bound device serial@10400000 to root_driver | |
malloc_simple: size=4, ptr=e0, limit=600: 807fea2c | |
malloc_simple: size=4, ptr=e4, limit=600: 807fea30 | |
uclass_find_device_by_seq: 0 -1 | |
uclass_find_device_by_seq: 0 0 | |
- -1 -1 'serial@10400000' | |
- not found | |
fdtdec_get_addr_size_fixed: reg: addr=1fd003f8, size=8 | |
initcall: 800352fc | |
U-Boot 2017.07-00024-g181216d-dirty (Jan 03 2018 - 15:13:06 +0800) | |
initcall: 8000dc58 | |
U-Boot code: 80000000 -> 8004D7D0 BSS: -> 8009F138 | |
initcall: 8000ddcc | |
DRAM: initcall: 80000f90 | |
initcall: 8000df74 | |
Monitor len: 0009F138 | |
Ram size: 00800000 | |
Ram top: 80800000 | |
initcall: 8000da74 | |
initcall: 8000debc | |
initcall: 8000dec4 | |
initcall: 8000dbec | |
Reserving 636k for U-Boot at: 80760000 | |
initcall: 8000db94 | |
Reserving 272k for malloc() at: 8071c000 | |
initcall: 8000dd48 | |
Reserving 60 Bytes for Board Info at: 8071bfc4 | |
initcall: 8000decc | |
initcall: 8000db3c | |
Reserving 164 Bytes for Global Data at: 8071bf20 | |
initcall: 8000ded4 | |
initcall: 8000dedc | |
initcall: 8000dea4 | |
initcall: 8000e030 | |
Reserving 1280 Bytes for exception vector at: 8071b000 | |
initcall: 8000deac | |
initcall: 8000defc | |
8 MiB | |
initcall: 8000da8c | |
initcall: 8000db00 | |
New Stack Pointer is: 8071b000 | |
initcall: 8000dee4 | |
initcall: 8000deec | |
initcall: 8000dc9c | |
Relocation Offset is: 00760000 | |
Relocating to 80760000, new gd at 8071bf20, sp at 8071b000 | |
initcall: 8000dab8 | |
initcall: 8076e434 | |
initcall: 8076e0ac | |
initcall: 8000e0c0 (relocated to 8076e0c0) | |
initcall: 8000e42c (relocated to 8076e42c) | |
initcall: 8000e3c4 (relocated to 8076e3c4) | |
Pre-reloc malloc() used 0xe4 bytes (0 KB) | |
using memory 0x8071c000-0x80760000 for malloc() | |
initcall: 8000e390 (relocated to 8076e390) | |
initcall: 8000e0fc (relocated to 8076e0fc) | |
initcall: 8000e0a4 (relocated to 8076e0a4) | |
initcall: 8000e368 (relocated to 8076e368) | |
uclass_find_device_by_seq: 0 -1 | |
uclass_find_device_by_seq: 0 0 | |
- -1 -1 'root_driver' | |
- not found | |
bind node cpus | |
Device 'cpus' has no compatible string | |
bind node ext | |
- attempt to match compatible string 'fixed-clock' | |
- found match at 'fixed_rate_clock' | |
Bound device ext to root_driver | |
bind node memory | |
Device 'memory' has no compatible string | |
bind node interrupt-controller@0 | |
- attempt to match compatible string 'mti,cpu-interrupt-controller' | |
No match for node 'interrupt-controller@0' | |
bind node aliases | |
Device 'aliases' has no compatible string | |
bind node serial@10400000 | |
- attempt to match compatible string 'naivemips-uart' | |
- found match at 'naivemips-uart' | |
Looking for 'serial' at 512, name serial@10400000 | |
- console, /serial@10400000 | |
Not found | |
Bound device serial@10400000 to root_driver | |
bind node flash@1e000000 | |
- attempt to match compatible string 'cfi-flash' | |
- found match at 'cfi_flash' | |
Bound device flash@1e000000 to root_driver | |
initcall: 8001d554 (relocated to 8077d554) | |
initcall: 8000e334 (relocated to 8076e334) | |
uclass_find_device_by_seq: 0 -1 | |
uclass_find_device_by_seq: 0 0 | |
- -1 -1 'serial@10400000' | |
- not found | |
fdtdec_get_addr_size_fixed: reg: addr=1fd003f8, size=8 | |
initcall: 8000e138 (relocated to 8076e138) | |
Now running in RAM - U-Boot at: 80760000 | |
initcall: 8000e300 (relocated to 8076e300) | |
initcall: 8000e104 (relocated to 8076e104) | |
initcall: 8000e444 (relocated to 8076e444) | |
Flash: uclass_find_device_by_seq: 0 -1 | |
uclass_find_device_by_seq: 0 0 | |
- -1 -1 'flash@1e000000' | |
- not found | |
OF: ** translation for device flash@1e000000 ** | |
OF: bus is default (na=1, ns=1) on | |
OF: translating address: 0000001e | |
OF: reached root node | |
flash detect cfi | |
fwc addr be000000 cmd f0 f0 8bit x 8 bit | |
fwc addr be000000 cmd ff ff 8bit x 8 bit | |
fwc addr be000055 cmd 98 98 8bit x 8 bit | |
is= cmd 51(Q) addr be000010 is= 89 51 | |
fwc addr be000555 cmd 98 98 8bit x 8 bit | |
is= cmd 51(Q) addr be000010 is= 89 51 | |
fwc addr be000000 cmd f0 f0f0 16bit x 8 bit | |
fwc addr be000000 cmd ff ffff 16bit x 8 bit | |
fwc addr be0000aa cmd 98 9898 16bit x 8 bit | |
is= cmd 51(Q) addr be000020 is= 0051 5151 | |
fwc addr be000aaa cmd 98 9898 16bit x 8 bit | |
is= cmd 51(Q) addr be000020 is= 0051 5151 | |
fwc addr be000000 cmd f0 00f0 16bit x 16 bit | |
fwc addr be000000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be0000aa cmd 98 0098 16bit x 16 bit | |
is= cmd 51(Q) addr be000020 is= 0051 0051 | |
is= cmd 52(R) addr be000022 is= 0052 0052 | |
is= cmd 59(Y) addr be000024 is= 0059 0059 | |
device interface is 2 | |
found port 2 chip 2 port 16 bits chip 16 bits | |
00 : 51 52 59 01 00 31 00 00 00 00 00 27 36 00 00 06 QRY..1.....'6... | |
10 : 07 0a 00 02 03 02 00 17 02 00 05 00 01 3f 00 00 .............?.. | |
20 : 02 50 52 49 31 31 ce 00 00 00 01 01 00 af 71 80 .PRI11........q. | |
fwc addr be000000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be000000 cmd 90 0090 16bit x 16 bit | |
fwc addr be000000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be0000aa cmd 98 0098 16bit x 16 bit | |
manufacturer is 1 | |
manufacturer id is 0x89 | |
device id is 0x17 | |
device id2 is 0x0 | |
cfi version is 0x3131 | |
size_ratio 1 port 16 bits chip 16 bits | |
found 1 erase regions | |
erase region 0: 0x0200003f | |
erase_region_count = 64 erase_region_size = 131072 | |
fwc addr be000000 cmd 90 0090 16bit x 16 bit | |
fwc addr be000000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be020000 cmd 90 0090 16bit x 16 bit | |
fwc addr be020000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be040000 cmd 90 0090 16bit x 16 bit | |
fwc addr be040000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be060000 cmd 90 0090 16bit x 16 bit | |
fwc addr be060000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be080000 cmd 90 0090 16bit x 16 bit | |
fwc addr be080000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be0a0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be0a0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be0c0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be0c0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be0e0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be0e0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be100000 cmd 90 0090 16bit x 16 bit | |
fwc addr be100000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be120000 cmd 90 0090 16bit x 16 bit | |
fwc addr be120000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be140000 cmd 90 0090 16bit x 16 bit | |
fwc addr be140000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be160000 cmd 90 0090 16bit x 16 bit | |
fwc addr be160000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be180000 cmd 90 0090 16bit x 16 bit | |
fwc addr be180000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be1a0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be1a0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be1c0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be1c0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be1e0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be1e0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be200000 cmd 90 0090 16bit x 16 bit | |
fwc addr be200000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be220000 cmd 90 0090 16bit x 16 bit | |
fwc addr be220000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be240000 cmd 90 0090 16bit x 16 bit | |
fwc addr be240000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be260000 cmd 90 0090 16bit x 16 bit | |
fwc addr be260000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be280000 cmd 90 0090 16bit x 16 bit | |
fwc addr be280000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be2a0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be2a0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be2c0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be2c0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be2e0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be2e0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be300000 cmd 90 0090 16bit x 16 bit | |
fwc addr be300000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be320000 cmd 90 0090 16bit x 16 bit | |
fwc addr be320000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be340000 cmd 90 0090 16bit x 16 bit | |
fwc addr be340000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be360000 cmd 90 0090 16bit x 16 bit | |
fwc addr be360000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be380000 cmd 90 0090 16bit x 16 bit | |
fwc addr be380000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be3a0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be3a0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be3c0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be3c0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be3e0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be3e0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be400000 cmd 90 0090 16bit x 16 bit | |
fwc addr be400000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be420000 cmd 90 0090 16bit x 16 bit | |
fwc addr be420000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be440000 cmd 90 0090 16bit x 16 bit | |
fwc addr be440000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be460000 cmd 90 0090 16bit x 16 bit | |
fwc addr be460000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be480000 cmd 90 0090 16bit x 16 bit | |
fwc addr be480000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be4a0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be4a0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be4c0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be4c0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be4e0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be4e0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be500000 cmd 90 0090 16bit x 16 bit | |
fwc addr be500000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be520000 cmd 90 0090 16bit x 16 bit | |
fwc addr be520000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be540000 cmd 90 0090 16bit x 16 bit | |
fwc addr be540000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be560000 cmd 90 0090 16bit x 16 bit | |
fwc addr be560000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be580000 cmd 90 0090 16bit x 16 bit | |
fwc addr be580000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be5a0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be5a0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be5c0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be5c0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be5e0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be5e0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be600000 cmd 90 0090 16bit x 16 bit | |
fwc addr be600000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be620000 cmd 90 0090 16bit x 16 bit | |
fwc addr be620000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be640000 cmd 90 0090 16bit x 16 bit | |
fwc addr be640000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be660000 cmd 90 0090 16bit x 16 bit | |
fwc addr be660000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be680000 cmd 90 0090 16bit x 16 bit | |
fwc addr be680000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be6a0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be6a0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be6c0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be6c0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be6e0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be6e0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be700000 cmd 90 0090 16bit x 16 bit | |
fwc addr be700000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be720000 cmd 90 0090 16bit x 16 bit | |
fwc addr be720000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be740000 cmd 90 0090 16bit x 16 bit | |
fwc addr be740000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be760000 cmd 90 0090 16bit x 16 bit | |
fwc addr be760000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be780000 cmd 90 0090 16bit x 16 bit | |
fwc addr be780000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be7a0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be7a0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be7c0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be7c0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be7e0000 cmd 90 0090 16bit x 16 bit | |
fwc addr be7e0000 cmd ff 00ff 16bit x 16 bit | |
fwc addr be000000 cmd ff 00ff 16bit x 16 bit | |
flash_protect ON: from 0xBE7E0000 to 0xBE7FFFFF | |
protect on 63 | |
8 MiB | |
initcall: 8000e254 (relocated to 8076e254) | |
fdtdec_get_config_int: load-environment | |
*** Warning - bad CRC, using default environment | |
Destroy Hash Table: 807abaa0 table = 00000000 | |
Create Hash Table: N=92 | |
INSERT: table 807abaa0, filled 1/97 rv 8071c78c ==> name="bootdelay" value="5" | |
INSERT: table 807abaa0, filled 2/97 rv 8071c55c ==> name="baudrate" value="115200" | |
INSERT: table 807abaa0, filled 3/97 rv 8071c9e4 ==> name="autoload" value="no" | |
INSERT: table 807abaa0, filled 4/97 rv 8071c9bc ==> name="s_linux" value="setenv bootfile mips-linux.ub;setenv loadaddr 0x800FFFC0" | |
INSERT: table 807abaa0, filled 5/97 rv 8071c9f8 ==> name="s_ucore" value="setenv bootfile ucore.ub;setenv loadaddr 0x80000000" | |
INSERT: table 807abaa0, filled 6/97 rv 8071cb88 ==> name="serverip" value="192.168.1.30" | |
INSERT: table 807abaa0, filled 7/97 rv 8071c520 ==> name="ipaddr" value="192.168.1.60" | |
INSERT: table 807abaa0, filled 8/97 rv 8071c82c ==> name="netmask" value="255.255.255.0" | |
INSERT: free(data = 8071c350) | |
INSERT: done | |
Initial value for argc=3 | |
Final value for argc=3 | |
initcall: 8000e510 (relocated to 8076e510) | |
initcall: 8001d580 (relocated to 8077d580) | |
initcall: 8000e220 (relocated to 8076e220) | |
initcall: 80019788 (relocated to 80779788) | |
In: serial@10400000 | |
Out: serial@10400000 | |
Err: serial@10400000 | |
Initial value for argc=3 | |
Final value for argc=3 | |
Initial value for argc=3 | |
Final value for argc=3 | |
Initial value for argc=3 | |
Final value for argc=3 | |
initcall: 80000788 (relocated to 80760788) | |
initcall: 8000e1e0 (relocated to 8076e1e0) | |
initcall: 8000e174 (relocated to 8076e174) | |
Net: Initial value for argc=3 | |
Final value for argc=3 | |
dm9000 | |
Warning: dm9000 (eth0) using random MAC address - 26:6b:25:89:51:a5 | |
Reset Ethernet PHY | |
Trying dm9000 | |
dm9000 i/o: 0xbc020100, id: 0x90000a46 | |
DM9000: running in 16 bit mode | |
MAC: 26:6b:25:89:51:a5 | |
could not establish link | |
initcall: 8000e10c (relocated to 8076e10c) | |
fdtdec_get_config_int: bootdelay | |
### main_loop entered: bootdelay=5 | |
fdtdec_get_config_int: kernel-offset | |
fdtdec_get_config_int: rootdisk-offset | |
fdtdec_get_config_string: bootcmd | |
fdtdec_get_config_int: bootsecure | |
### main_loop: bootcmd="<UNDEFINED>" | |
MIPSfpga # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment