请大神指点我编译的openwrt怎么启动不了?
中兴的w815n 用串口进到uboot 然后用bootelf启动到serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 10937500) is a 16550A过几秒就重启了,不知道是什么原因,请大神指点一下,谢谢!这是日志,上传的是 openwrt-ar71xx-tiny-vmlinux.elf 这个文件
U-Boot 1.1.4 (Feb2 2012 - 11:35:45)
AP93 (ar7242 - Virian) U-boot
DRAM:
sri
#### TAP VALUE 1 = 2, 2 = 2
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 271k for U-Boot at: 83fbc000
Reserving 192k for malloc() at: 83f8c000
Reserving 44 Bytes for Board Info at: 83f8bfd4
Reserving 36 Bytes for Global Data at: 83f8bfb0
Reserving 128k for boot params() at: 83f6bfb0
Stack Pointer at: 83f6bf98
Now running in RAM - U-Boot at: 83fbc000
id read 0x100000ff
flash size 16777216, sector count = 256
Flash: 16 MB
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
No valid address in Flash. Using fixed address
W815N_BOOTGPIO_OE = 3ccfd
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
Port 0, Neg Success
eth0 up
eth0
*** Press 1 means entering boot mode***
Press 2 means entering testing mode***
Press 3 means entering norm mode***
Hit key to stop autoboot:0
Entering boot mode ...
ar7240> tftp
Trying eth0
enet0 port0 up
dup 1 speed 100
*** Warning: no boot file name; using '2C37A8C0.img'
Using eth0 device
TFTP from server 192.168.55.34; our IP address is 192.168.55.44
Filename '2C37A8C0.img'.
Load address: 0x81000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#######################################################
done
Bytes transferred = 4604352 (4641c0 hex)
ar7240> bootelf
Loading .text @ 0x80060000 (3439728 bytes)
Loading __ex_table @ 0x803a7c70 (6960 bytes)
Loading .rodata @ 0x803aa000 (675008 bytes)
Loading .pci_fixup @ 0x8044ecc0 (1424 bytes)
Loading __ksymtab @ 0x8044f250 (23696 bytes)
Loading __ksymtab_gpl @ 0x80454ee0 (14056 bytes)
Loading __ksymtab_strings @ 0x804585c8 (85793 bytes)
Loading __param @ 0x8046d4ec (880 bytes)
Clearing __modver @ 0x8046d85c (1956 bytes)
Loading .data @ 0x8046e000 (143488 bytes)
Loading .data..page_aligned @ 0x80492000 (8192 bytes)
Loading .init.text @ 0x80494000 (140768 bytes)
Loading .init.data @ 0x804b65e0 (49948 bytes)
Loading .mips.machines.init @ 0x804c28fc (1216 bytes)
Clearing .bss @ 0x804d0000 (218064 bytes)
## Starting application at 0x803a1f80 ...
[ 0.000000] Linux version 4.9.123 (ww@ubuntu) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7946-2c01425d2d) ) #0 Sun Aug 26 16:24:02 2018
[ 0.000000] bootconsole enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7242 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000]memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0:
[ 0.000000] Initmem setup node 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.Total pages: 16256
[ 0.000000] Kernel command line: rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 59768K/65536K available (3358K kernel code, 154K rwdata, 784K rodata, 240K init, 212K bss, 5768K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:350.000MHz, DDR:350.000MHz, AHB:175.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 10921488265 ns
[ 0.000014] sched_clock: 32 bits at 175MHz, resolution 5ns, wraps every 12271335421ns
[ 0.007885] Calibrating delay loop... 232.24 BogoMIPS (lpj=1161216)
[ 0.090517] pid_max: default: 32768 minimum: 301
[ 0.095282] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101862] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.113223] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.123045] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.130045] NET: Registered protocol family 16
[ 0.136744] MIPS: machine is Generic AR71XX/AR724X/AR913X based board
[ 0.169584] clocksource: Switched to clocksource MIPS
[ 0.176378] NET: Registered protocol family 2
[ 0.182031] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.188979] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.195378] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.201882] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.207706] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.214375] NET: Registered protocol family 1
[ 0.225702] Crashlog allocated RAM at address 0x3f00000
[ 0.232904] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.251015] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.256807] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.281261] io scheduler noop registered
[ 0.285169] io scheduler deadline registered (default)
[ 0.290781] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.297753] console disabled
[ 0.321381] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 10937500) is a 16550A
U-Boot 1.1.4 (Feb2 2012 - 11:35:45)
AP93 (ar7242 - Virian) U-boot
DRAM:
sri
#### TAP VALUE 1 = 2, 2 = 2
64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 271k for U-Boot at: 83fbc000
Reserving 192k for malloc() at: 83f8c000
Reserving 44 Bytes for Board Info at: 83f8bfd4
Reserving 36 Bytes for Global Data at: 83f8bfb0
Reserving 128k for boot params() at: 83f6bfb0
Stack Pointer at: 83f6bf98
Now running in RAM - U-Boot at: 83fbc000
id read 0x100000ff
flash size 16777216, sector count = 256
Flash: 16 MB
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
No valid address in Flash. Using fixed address
W815N_BOOTGPIO_OE = 3ccfd
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
Port 0, Neg Success
eth0 up
eth0
*** Press 1 means entering boot mode***
Press 2 means entering testing mode***
Press 3 means entering norm mode***
Hit key to stop autoboot:0
Entering boot mode ...
ar7240>
页:
[1]