[LEDE-DEV] WRT1900ACS - Kernel 4.4.12 boot failure
Dheeran Senthilvel
dheeranmech at gmail.com
Tue Jun 7 07:48:04 PDT 2016
=======> Step 1 : resetenv & reset <=======
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **
U-Boot 2013.01 (Mar 27 2015 - 16:50:46) Marvell version: 2014_T3.0p6
Boot version : v1.0.13
Board: RD-NAS-88F6820-DDR3
SoC: MV88F6820 Rev A0
running 2 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU @ 1600 [MHz]
L2 @ 800 [MHz]
TClock @ 200 [MHz]
DDR @ 800 [MHz]
DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM: 512 MiB
Map: Code: 0x1fea9000:0x1ff7632c
BSS: 0x1ffef6b4
Stack: 0x1f9a8f20
Heap: 0x1f9a9000:0x1fea9000
raise: Signal # 8 caught
U-ENV offset == 0x200000
raise: Signal # 8 caught
U-ENV offset == 0x200000
U-Boot Environment: 0x00200000:0x00220000 (NAND)
NAND: 128 MiB
MMC: mv_sdh: 0
DEVINFO offset == 0x900000
U-ENV offset == 0x200000
U-ENV offset == 0x200000
*** Warning - bad CRC, using default environment
S-ENV offset == 0x240000
#### auto_recovery ####
[u_env] get auto_recovery == yes
[u_env] get auto_recovery == yes
[u_env] get boot_part == 1
[u_env] get boot_part_ready == 3
auto_recovery enabled:1, boot_part:1, boot_part_ready:3
S-ENV offset == 0x240000
[boot_count_read] block:0x240000, size:128KB, records:64
[boot_count_read_record] boot_count:1, next_record:34
[boot_count_write] erase:0, auto_recovery->block_offset:0x240000 offset=0x251000
Updating boot_count ...
[boot_count_write] offset:0x251000 , length:2048
done
PCI-e 0 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 2.0
PCI-e 1 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 1.1
USB2.0 0: Host Mode
USB3.0 1: Host Mode
USB3.0 0: Host Mode
Board configuration detected:
mvEthE6171SwitchBasicInit init
Net:
| port | Interface | PHY address |
|--------|-----------|--------------|
| egiga0 | RGMII | 0x01 |
| egiga1 | SGMII | 0x00 |
egiga0 [PRIME], egiga1
auto_recovery_check changes bootcmd: run nandboot
Hit any key to stop autoboot: 0
Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
altFwSize=0x2800000
altKernAddr=0x3200000
altKernSize=0x0600000
altnandboot=setenv bootargs console=ttyS0,115200 root=/dev/mtdblock7 ro rootdelay=1 rootfstype=jffs2 earlyprintk $mtdparts;nand read $defaultLoadAddr $altKernAd
dr $altKernSize; bootm $defaultLoadAddr
auto_recovery=yes
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
boot_part=1
boot_part_ready=3
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_para
ms clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run nandboot
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=
$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$boo
targs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000;
bootdelay=3
cacheShare=no
console=console=ttyS0,115200
defaultLoadAddr=0x2000000
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:7a:d1:e5
eth1mtu=1500
eth2addr=00:50:43:7a:45:d5
eth2mtu=1500
eth3addr=00:50:43:e1:45:8a
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:45:e1:f5
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
firmwareName=cobra.img
flash_alt_image=tftpboot $defaultLoadAddr $firmwareName && nand erase $altKernAddr $altFwSize && nand write $defaultLoadAddr $altKernAddr $filesize
flash_pri_image=tftpboot $defaultLoadAddr $firmwareName && nand erase $priKernAddr $priFwSize && nand write $defaultLoadAddr $priKernAddr $filesize
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.1.1
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16 at 60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m at 9m(devinfo),40m at 10m(kernel),34m at 16m(rootfs),40m at 50m(alt_kernel),34m at 56m(alt_rootfs),80m@
10m(ubifs),- at 90m(syscfg)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:e5:45:7a
nandEcc=nfcConfig=4bitecc
nandboot=setenv bootargs console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk $mtdparts;nand read $defaultLoadAddr $priKernAddr
$priKernSize; bootm $defaultLoadAddr
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=RC
priFwSize=0x2800000
priKernAddr=0x0a00000
priKernSize=0x0600000
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.1.254
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
update_both_images=tftpboot $defaultLoadAddr $firmwareName && nand erase $priKernAddr $priFwSize && nand erase $altKernAddr $altFwSize && nand write $defaultLoa
dAddr $priKernAddr $filesize && nand write $defaultLoadAddr $altKernAddr $filesize
usb0Mode=host
usbActive=0
usbType=2
vxworks_en=no
yuk_ethaddr=00:00:00:EE:41:71
Environment size: 4211/131068 bytes
Marvell>> saveenv
Saving Environment to NAND...
U-ENV offset == 0x200000
Erasing Nand...
Writing to Nand... U-ENV offset == 0x200000
U-ENV offset == 0x200000
done
Marvell>> reset
=======> Step 2: Allow it to boot <=======
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **
U-Boot 2013.01 (Mar 27 2015 - 16:50:46) Marvell version: 2014_T3.0p6
Boot version : v1.0.13
Board: RD-NAS-88F6820-DDR3
SoC: MV88F6820 Rev A0
running 2 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU @ 1600 [MHz]
L2 @ 800 [MHz]
TClock @ 200 [MHz]
DDR @ 800 [MHz]
DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM: 512 MiB
Map: Code: 0x1fea9000:0x1ff7632c
BSS: 0x1ffef6b4
Stack: 0x1f9a8f20
Heap: 0x1f9a9000:0x1fea9000
raise: Signal # 8 caught
U-ENV offset == 0x200000
raise: Signal # 8 caught
U-ENV offset == 0x200000
U-Boot Environment: 0x00200000:0x00220000 (NAND)
NAND: 128 MiB
MMC: mv_sdh: 0
DEVINFO offset == 0x900000
U-ENV offset == 0x200000
U-ENV offset == 0x200000
S-ENV offset == 0x240000
#### auto_recovery ####
[u_env] get auto_recovery == yes
[u_env] get auto_recovery == yes
[u_env] get boot_part == 1
[u_env] get boot_part_ready == 3
auto_recovery enabled:1, boot_part:1, boot_part_ready:3
S-ENV offset == 0x240000
[boot_count_read] block:0x240000, size:128KB, records:64
[boot_count_read_record] boot_count:2, next_record:35
[boot_count_write] erase:0, auto_recovery->block_offset:0x240000 offset=0x251800
Updating boot_count ...
[boot_count_write] offset:0x251800 , length:2048
done
PCI-e 0 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 2.0
PCI-e 1 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 1.1
USB2.0 0: Host Mode
USB3.0 1: Host Mode
USB3.0 0: Host Mode
Board configuration detected:
mvEthE6171SwitchBasicInit init
Net:
| port | Interface | PHY address |
|--------|-----------|--------------|
| egiga0 | RGMII | 0x01 |
| egiga1 | SGMII | 0x00 |
egiga0 [PRIME], egiga1
auto_recovery_check changes bootcmd: run nandboot
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0xa00000, size 0x600000
6291456 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
Image Name: ARM LEDE Linux-4.4.12
Created: 2016-06-05 13:42:27 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2084373 Bytes = 2 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.12 (dhees at XPS) (gcc version 5.3.0 (LEDE GCC 5.3.0 r504) ) #1 SMP Sun Jun 5 15:29:33 UTC 2016
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Linksys WRT1900ACS
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 12 pages/cpu @dfbcf000 s17984 r8192 d22976 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,256
K(u_env),256K(s_env),1m at 9m(devinfo),40m at 10m(kernel),34m at 16m(rootfs),40m at 50m(alt_kernel),34m at 56m(alt_rootfs),80m at 10m(ubifs),- at 90m(syscfg)
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 513220K/524288K available (4079K kernel code, 171K rwdata, 1528K rodata, 260K init, 295K bss, 11068K reserved, 0K cma-reserved, 0K highme
m)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05821d8 (5609 kB)
[ 0.000000] .init : 0xc0583000 - 0xc05c4000 ( 260 kB)
[ 0.000000] .data : 0xc05c4000 - 0xc05eedf4 ( 172 kB)
[ 0.000000] .bss : 0xc05eedf4 - 0xc0638a6c ( 296 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 D prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[ 0.000000] Switching to timer-based delay loop, resolution 40ns
[ 0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[ 0.000009] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[ 0.000111] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[ 0.000118] pid_max: default: 32768 minimum: 301
[ 0.000154] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000158] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000339] CPU: Testing write buffer coherency: ok
[ 0.000437] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.000460] Setting up static identity map for 0x8280 - 0x82d8
[ 0.000537] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[ 0.000613] mvebu-pmsu: Initializing Power Management Service Unit
[ 0.001001] Booting CPU 1
[ 0.001160] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.001187] Brought up 2 CPUs
[ 0.001193] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[ 0.001196] CPU: All CPU(s) started in SVC mode.
[ 0.002859] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.002933] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.002971] pinctrl core: initialized pinctrl subsystem
[ 0.003279] NET: Registered protocol family 16
[ 0.003768] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.029940] cpuidle: using governor ladder
[ 0.032349] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[ 0.032357] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[ 0.060500] reg-fixed-voltage xhci0-vbus: could not find pctldev for node /soc/internal-regs/pinctrl at 18000/xhci0-vbus-pins, deferring probe
[ 0.060659] SCSI subsystem initialized
[ 0.060847] usbcore: registered new interface driver usbfs
[ 0.060874] usbcore: registered new interface driver hub
[ 0.060896] usbcore: registered new device driver usb
[ 0.061433] clocksource: Switched to clocksource armada_370_xp_clocksource
[ 0.061845] NET: Registered protocol family 2
[ 0.062054] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.062079] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.062111] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.062132] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.062144] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.062208] NET: Registered protocol family 1
[ 0.062592] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.064985] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.064995] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.065642] io scheduler noop registered
[ 0.065648] io scheduler deadline registered (default)
[ 0.066020] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[ 0.066319] irq: Cannot allocate irq_descs @ IRQ44, assuming pre-allocated
[ 0.066453] irq: Cannot allocate irq_descs @ IRQ76, assuming pre-allocated
[ 0.066739] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[ 0.066746] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 0.066751] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 0.066755] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.066939] PCI: bus0: Fast back to back transfers disabled
[ 0.066945] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.066952] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.067166] PCI: bus1: Fast back to back transfers disabled
[ 0.067417] PCI: bus2: Fast back to back transfers disabled
[ 0.067471] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe01fffff]
[ 0.067477] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0200000-0xe03fffff]
[ 0.067484] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit pref]
[ 0.067494] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0100000-0xe01fffff 64bit pref]
[ 0.067502] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.067508] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe01fffff]
[ 0.067515] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[ 0.067525] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0300000-0xe03fffff 64bit pref]
[ 0.067534] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 0.067539] pci 0000:00:02.0: bridge window [mem 0xe0200000-0xe03fffff]
[ 0.067633] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.101849] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 0.101931] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.141835] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 0.141975] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.142241] console [ttyS0] disabled
[ 0.162310] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 12500000) is a 16550A
[ 0.871471] console [ttyS0] enabled
[ 0.875295] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 0.884393] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 0.893792] scsi host0: ahci-mvebu
[ 0.897354] scsi host1: ahci-mvebu
[ 0.900854] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[ 0.908814] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[ 0.917152] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[ 0.924970] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 0.931349] nand: AMD/Spansion S34ML01G2
[ 0.935295] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.942903] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[ 0.950081] Bad block table found at page 65472, version 0x01
[ 0.956193] Bad block table found at page 65408, version 0x01
[ 0.962229] 10 ofpart partitions found on MTD device pxa3xx_nand-0
[ 0.968434] Creating 10 MTD partitions on "pxa3xx_nand-0":
[ 0.973950] 0x000000000000-0x000000200000 : "u-boot"
[ 0.979230] 0x000000200000-0x000000240000 : "u_env"
[ 0.984395] 0x000000240000-0x000000280000 : "s_env"
[ 0.989547] 0x000000900000-0x000000a00000 : "devinfo"
[ 0.994884] 0x000000a00000-0x000003200000 : "kernel1"
[ 1.000239] 0x000001000000-0x000003200000 : "ubi"
[ 1.005267] 0x000003200000-0x000005a00000 : "kernel2"
[ 1.010608] 0x000003800000-0x000005a00000 : "rootfs2"
[ 1.015951] 0x000005a00000-0x000008000000 : "syscfg"
[ 1.021212] 0x000000280000-0x000000900000 : "unused_area"
[ 1.027338] libphy: Fixed MDIO Bus: probed
[ 1.031559] libphy: orion_mdio_bus: probed
[ 1.035807] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[ 1.044714] mvneta f1034000.ethernet eth0: Using random mac address ea:69:35:9f:06:8e
[ 1.053741] mvneta f1070000.ethernet eth1: Using hardware mac address 00:50:43:45:e1:e5
[ 1.061846] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.068401] ehci-pci: EHCI PCI platform driver
[ 1.072906] ehci-platform: EHCI generic platform driver
[ 1.078238] ehci-orion: EHCI orion driver
[ 1.082337] orion-ehci f1058000.usb: EHCI Host Controller
[ 1.087770] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[ 1.095433] orion-ehci f1058000.usb: irq 36, io mem 0xf1058000
[ 1.111419] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[ 1.117592] hub 1-0:1.0: USB hub found
[ 1.121368] hub 1-0:1.0: 1 port detected
[ 1.125667] usbcore: registered new interface driver usb-storage
[ 1.131849] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[ 1.139492] i2c /dev entries driver
[ 1.154479] orion_wdt: Initial timeout 171 sec
[ 1.162292] marvell-cesa f1090000.crypto: CESA device successfully registered
[ 1.169945] NET: Registered protocol family 10
[ 1.174852] NET: Registered protocol family 17
[ 1.179330] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.192002] 8021q: 802.1Q VLAN Support v1.8
[ 1.196265] Registering SWP/SWPB emulation handler
[ 1.201849] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 1.207194] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[ 1.214818] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[ 1.223412] xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000
[ 1.229467] hub 2-0:1.0: USB hub found
[ 1.233265] hub 2-0:1.0: 1 port detected
[ 1.237289] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 1.242636] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[ 1.250178] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.258502] hub 3-0:1.0: USB hub found
[ 1.261426] ata2: SATA link down (SStatus 0 SControl 300)
[ 1.261446] ata1: SATA link down (SStatus 0 SControl 300)
[ 1.273131] hub 3-0:1.0: 1 port detected
[ 1.277403] UBI: auto-attach mtd5
[ 1.280558] ubi0: attaching mtd5
[ 1.376234] ubi0: scanning is finished
[ 1.384320] ubi0: attached mtd5 (name "ubi", size 34 MiB)
[ 1.389740] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.396653] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.403474] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.410463] ubi0: good PEBs: 272, bad PEBs: 0, corrupted PEBs: 0
[ 1.416497] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 1.423751] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 86527830
[ 1.432750] ubi0: available PEBs: 0, total reserved PEBs: 272, PEBs reserved for bad PEB handling: 20
[ 1.442023] ubi0: background thread "ubi_bgt0d" started, PID 552
[ 1.448425] block ubiblock0_0: created from ubi0:0(rootfs)
[ 1.453943] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 1.461117] mvsw61xx 10.mvsw61xx: Found MV88E6176 at f1072004.mdio-mi:10
[ 1.467854] mvsw61xx 10.mvsw61xx: Using direct addressing
[ 1.473323] armada38x-rtc f10a3800.rtc: setting system clock to 2067-10-27 11:56:41 UTC (3086942201)
[ 1.483267] Waiting 1 sec before mounting root device...
[ 2.492601] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 2.499898] Freeing unused kernel memory: 260K (c0583000 - c05c4000)
[ 2.712613] init: Console is alive
[ 2.716094] init: - watchdog -
[ 3.000983] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 6.306832] mount_root: loading kmods from internal overlay
[ 6.347886] random: nonblocking pool is initialized
[ 6.397182] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 634
[ 6.425546] UBIFS (ubi0:1): recovery needed
[ 6.476463] UBIFS (ubi0:1): recovery completed
[ 6.480957] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 6.488828] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 6.498787] UBIFS (ubi0:1): FS size: 25903104 bytes (24 MiB, 204 LEBs), journal size 1269760 bytes (1 MiB, 10 LEBs)
[ 6.509267] UBIFS (ubi0:1): reserved for root: 1223467 bytes (1194 KiB)
[ 6.515911] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 2C714E96-005A-4368-A08F-AA0D97858BED, small LPT model
[ 6.527851] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 6.537383] block: extroot: not configured
[ 6.571468] UBIFS (ubi0:1): un-mount UBI device 0
[ 6.576197] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[ 6.584113] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 637
[ 6.641608] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 6.649472] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 6.659438] UBIFS (ubi0:1): FS size: 25903104 bytes (24 MiB, 204 LEBs), journal size 1269760 bytes (1 MiB, 10 LEBs)
[ 6.669921] UBIFS (ubi0:1): reserved for root: 1223467 bytes (1194 KiB)
[ 6.676568] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 2C714E96-005A-4368-A08F-AA0D97858BED, small LPT model
[ 6.746332] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 6.755551] block: extroot: not configured
[ 6.782122] mount_root: switching to jffs2 overlay
[ 6.820125] ubi1: attaching mtd8
[ 6.923892] ubi1: scanning is finished
[ 6.931980] ubi1: attached mtd8 (name "syscfg", size 38 MiB)
[ 6.937663] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 6.944574] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 6.951389] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 6.958382] ubi1: good PEBs: 296, bad PEBs: 8, corrupted PEBs: 0
[ 6.964415] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 6.971669] ubi1: max/mean erase counter: 208/138, WL threshold: 4096, image sequence number: 1220797378
[ 6.981187] ubi1: available PEBs: 0, total reserved PEBs: 296, PEBs reserved for bad PEB handling: 12
[ 6.990454] ubi1: background thread "ubi_bgt1d" started, PID 647
UBI device number 1, total 296 LEBs (37584896 bytes, 35.8 MiB), [ 7.001004] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 651
available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
[ 7.030913] UBIFS (ubi1:0): recovery needed
[ 7.123953] UBIFS (ubi1:0): recovery completed
[ 7.128444] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[ 7.135880] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 7.145840] UBIFS (ubi1:0): FS size: 34283520 bytes (32 MiB, 270 LEBs), journal size 1777664 bytes (1 MiB, 14 LEBs)
[ 7.156322] UBIFS (ubi1:0): reserved for root: 1619295 bytes (1581 KiB)
[ 7.162967] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID 966E9803-824D-461B-8D6E-52CC0641547D, small LPT model
[ 7.178650] procd: - early -
[ 7.181727] procd: - watchdog -
[ 7.776824] procd: - ubus -
[ 7.831667] procd: - init -
Please press Enter to activate this console.
[ 7.915896] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[ 7.923841] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 7.931461] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[ 7.939067] Backport generated by backports.git backports-20160216-0-ge3c56e4
[ 7.953984] <<Marvell 802.11ac Wireless Network Driver version 10.3.0.17-20160520-1>>
[ 7.961729] pci 0000:00:01.0: enabling device (0140 -> 0142)
[ 9.026415] ieee80211 phy0: firmware version: 0x7020902
[ 9.056680] ieee80211 phy0: 2G disabled, 5G enabled
[ 9.061597] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[ 9.067042] pci 0000:00:02.0: enabling device (0140 -> 0142)
[ 10.076415] ieee80211 phy1: firmware version: 0x7020902
[ 10.104510] ieee80211 phy1: 2G enabled, 5G disabled
[ 10.109414] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[ 10.133960] u32 classifier
[ 10.136680] input device check on
[ 10.140354] Actions configured
[ 10.144169] Mirror/redirect action on
[ 10.154055] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.162296] nf_conntrack version 0.5.0 (8023 buckets, 32092 max)
[ 10.269056] xt_time: kernel timezone is -0000
[ 10.275989] PPP generic driver version 2.4.2
[ 10.280659] NET: Registered protocol family 24
[ 12.285964] device eth1 entered promiscuous mode
[ 12.292011] br-lan: port 1(eth1) entered forwarding state
[ 12.297450] br-lan: port 1(eth1) entered forwarding state
[ 12.310594] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 13.271438] br-lan: port 1(eth1) entered disabled state
[ 14.000628] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 14.260618] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 14.266699] device wlan1 entered promiscuous mode
[ 14.271462] br-lan: port 2(wlan1) entered forwarding state
[ 14.276982] br-lan: port 2(wlan1) entered forwarding state
[ 14.281435] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[ 14.290414] br-lan: port 2(wlan1) entered disabled state
[ 14.296037] br-lan: port 1(eth1) entered forwarding state
[ 14.301443] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 14.309338] br-lan: port 1(eth1) entered forwarding state
[ 14.314816] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 14.321635] device wlan0 entered promiscuous mode
[ 16.301426] br-lan: port 1(eth1) entered forwarding state
[ 28.291435] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 28.297882] br-lan: port 3(wlan0) entered forwarding state
[ 28.303418] br-lan: port 3(wlan0) entered forwarding state
[ 29.665446] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 29.671898] br-lan: port 2(wlan1) entered forwarding state
[ 29.677421] br-lan: port 2(wlan1) entered forwarding state
[ 30.301413] br-lan: port 3(wlan0) entered forwarding state
[ 31.671414] br-lan: port 2(wlan1) entered forwarding state
BusyBox v1.24.2 () built-in shell (ash)
_________
/ /\ _ ___ ___ ___
/ LE / \ | | | __| \| __|
/ DE / \ | |__| _|| |) | _|
/________/ LE \ |____|___|___/|___| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (HEAD, r504)
\________\/ -----------------------------------------------------------
root at WRT1900ACS:/# fw_printenv
CASset=max
MALLOC_len=5
MPmode=SMP
altFwSize=0x2800000
altKernAddr=0x3200000
altKernSize=0x0600000
altnandboot=setenv bootargs console=ttyS0,115200 root=/dev/mtdblock7 ro rootdelay=1 rootfstype=jffs2 earlyprintk $mtdparts;nand read $defaultLoadAddr $altKernAd
dr $altKernSize; bootm $defaultLoadAddr
auto_recovery=yes
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
boot_part=1
boot_part_ready=3
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_para
ms clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run nandboot
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=
$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$boo
targs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000;
bootdelay=3
cacheShare=no
console=console=ttyS0,115200
defaultLoadAddr=0x2000000
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:7a:d1:e5
eth1mtu=1500
eth2addr=00:50:43:7a:45:d5
eth2mtu=1500
eth3addr=00:50:43:e1:45:8a
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:45:e1:f5
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
firmwareName=cobra.img
flash_alt_image=tftpboot $defaultLoadAddr $firmwareName && nand erase $altKernAddr $altFwSize && nand write $defaultLoadAddr $altKernAddr $filesize
flash_pri_image=tftpboot $defaultLoadAddr $firmwareName && nand erase $priKernAddr $priFwSize && nand write $defaultLoadAddr $priKernAddr $filesize
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.1.1
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16 at 60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m at 9m(devinfo),40m at 10m(kernel),34m at 16m(rootfs),40m at 50m(alt_kernel),34m at 56m(alt_rootfs),80m@
10m(ubifs),- at 90m(syscfg)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:e5:45:7a
nandEcc=nfcConfig=4bitecc
nandboot=setenv bootargs console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk $mtdparts;nand read $defaultLoadAddr $priKernAddr
$priKernSize; bootm $defaultLoadAddr
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=RC
priFwSize=0x2800000
priKernAddr=0x0a00000
priKernSize=0x0600000
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.1.254
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
update_both_images=tftpboot $defaultLoadAddr $firmwareName && nand erase $priKernAddr $priFwSize && nand erase $altKernAddr $altFwSize && nand write $defaultLoa
dAddr $priKernAddr $filesize && nand write $defaultLoadAddr $altKernAddr $filesize
usb0Mode=host
usbActive=0
usbType=2
vxworks_en=no
yuk_ethaddr=00:00:00:EE:41:71
root at WRT1900ACS:/# strings /dev/mtd1
CASset=max
MALLOC_len=5
MPmode=SMP
altFwSize=0x2800000
altKernAddr=0x3200000
altKernSize=0x0600000
altnandboot=setenv bootargs console=ttyS0,115200 root=/dev/mtdblock7 ro rootdelay=1 rootfstype=jffs2 earlyprintk $mtdparts;nand read $defaultLoadAddr $altKernAd
dr $altKernSize; bootm $defaultLoadAddr
auto_recovery=yes
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
boot_part=1
boot_part_ready=3
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_para
ms clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run nandboot
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=
$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$boo
targs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000;
bootdelay=3
cacheShare=no
console=console=ttyS0,115200
defaultLoadAddr=0x2000000
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:7a:d1:e5
eth1mtu=1500
eth2addr=00:50:43:7a:45:d5
eth2mtu=1500
eth3addr=00:50:43:e1:45:8a
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:45:e1:f5
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
firmwareName=cobra.img
flash_alt_image=tftpboot $defaultLoadAddr $firmwareName && nand erase $altKernAddr $altFwSize && nand write $defaultLoadAddr $altKernAddr $filesize
flash_pri_image=tftpboot $defaultLoadAddr $firmwareName && nand erase $priKernAddr $priFwSize && nand write $defaultLoadAddr $priKernAddr $filesize
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.1.1
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16 at 60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m at 9m(devinfo),40m at 10m(kernel),34m at 16m(rootfs),40m at 50m(alt_kernel),34m at 56m(alt_rootfs),80m@
10m(ubifs),- at 90m(syscfg)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:e5:45:7a
nandEcc=nfcConfig=4bitecc
nandboot=setenv bootargs console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk $mtdparts;nand read $defaultLoadAddr $priKernAddr
$priKernSize; bootm $defaultLoadAddr
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=RC
priFwSize=0x2800000
priKernAddr=0x0a00000
priKernSize=0x0600000
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.1.254
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
update_both_images=tftpboot $defaultLoadAddr $firmwareName && nand erase $priKernAddr $priFwSize && nand erase $altKernAddr $altFwSize && nand write $defaultLoa
dAddr $priKernAddr $filesize && nand write $defaultLoadAddr $altKernAddr $filesize
usb0Mode=host
usbActive=0
usbType=2
vxworks_en=no
yuk_ethaddr=00:00:00:EE:41:71
=======> Step 3: Reboot <======
After the above procedures, I don’t have the error anymore. Wonder what really caused the problem in first place. Also when we reboot from Failsafe the recovery is automatically triggered - is this normal. One more doubt would be, should 'env reset' be in this order.
resetenv ——> reset ——> printing ——> saveenv ——> reset
I am building from the current git, will flash that and see if after the flash - the error occurs or not.
Thank you, very much… I have been trying to solve this for about 3 weeks. Now I can keep lede and won’t have to flash stock when I leave for work.
Regards
Dheeran senthilvel
> On 07-Jun-2016, at 7:40 PM, Claudio Leite <leitec at gmail.com> wrote:
>
> Thanks for the clear output.
>
> * Dheeran Senthilvel (dheeranmech at gmail.com) wrote:
> [snip]
>> =======> Step 3: Intrupt boot into failsafe <=======
>>
>> Press the [f] key and hit [enter] to enter failsafe mode
>> Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
>> f
>> - failsafe -
>> [ 4.986830] random: dropbearkey urandom read with 121 bits of entropy available
> [snip]
>> root@(none):/# strings /dev/mtd1
>> [ 44.008437] random: nonblocking pool is initialized
>
> OK, this is definitely not right. It should be a long list of variables.
>
>> =======> Step 4: Reboot <=======
>
>> *** Warning - bad CRC, using default environment
>
> again not right. this should have been cleared up the first time booting
> after resetenv erased the old settings:
>
>>
>> S-ENV offset == 0x240000
>>
>>
>> #### auto_recovery ####
>> [u_env] get auto_recovery == yes
>> [u_env] get auto_recovery == yes
>> [u_env] get boot_part == 1
>> [u_env] get boot_part_ready == 3
>> auto_recovery enabled:1, boot_part:1, boot_part_ready:3
>
> This bit looks OK, though.
>
> I'm a little confused because I thought after resetenv and a reset the
> bootloader would actually write the default values to flash. This may
> not have happened here, since mtd1 is empty. I think it's fairly safe
> to say reads from NAND are OK, since otherwise you would get lots of
> errors when booting the system.
>
> So, one more test, again trying to clear and reset the u-boot
> environment:
>
> (these are all u-boot commands)
>
> resetenv; reset
>
> <interrupt boot>
> printenv
>
> if the default values are there, then do
>
> saveenv
> reset
>
> and interrupt the boot again and run 'printenv'. Are they there?
>
> -Claudio
More information about the Lede-dev
mailing list