Welcome! Log In Create A New Profile

Advanced

Iomega ix4-200d U-boot needed

Posted by Reto 
Re: Who can compile an u-boot bin for me?
January 20, 2016 06:07AM
Reto,

One more thing I've forgot. flash size in fw_env.config

cat /etc/fw_env.config
# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
/dev/mtd0 0xc0000 0x20000 0x4000

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Who can compile an u-boot bin for me?
January 20, 2016 06:09AM
And no need to do

root@debian:/tools# fw_setenv arcNumber 2097
root@debian:/tools# fw_setenv machid


Flash commands were OK. We need to verify envs, so post them here with fw_printenv.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/20/2016 06:11AM by bodhi.
Re: Who can compile an u-boot bin for me?
January 20, 2016 06:11AM
There is a difference...

root@debian:/tools# cat /etc/fw_env.config
# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000

I posted the fw_printenv in my last post...



Edited 1 time(s). Last edit at 01/20/2016 06:12AM by Reto.
Re: Who can compile an u-boot bin for me?
January 20, 2016 06:14AM
/dev/mtd0 0xc0000 0x20000 0x4000

Use this definition. And repost fw_printenv.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Who can compile an u-boot bin for me?
January 20, 2016 06:20AM
I changed it and then I get:

root@debian:/tools# fw_printenv
Too few good blocks within range

Back to 0x20000 and fw_printenv generates a correct output again... But not with 0x4000
Re: Who can compile an u-boot bin for me?
January 20, 2016 06:26AM
Reto Wrote:
-------------------------------------------------------
> I changed it and then I get:
>
>
> root@debian:/tools# fw_printenv
> Too few good blocks within range
>
>
> Back to 0x20000 and fw_printenv generates a
> correct output again... But not with 0x4000

Argh!

Even with 0x20000. What you've posted was not the correct output either. I need to see if the kernel DTS was the problem.

I think you need to upgrade to 4.2 and use the real ix4-200d DTB file (we are using the sheevaplug's).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Who can compile an u-boot bin for me?
January 20, 2016 06:28AM
BTW you could reboot now (without kwboot) to see if it will boot with u-boot in NAND. That will confirm the flash size is correct or not.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Who can compile an u-boot bin for me?
January 20, 2016 06:37AM
No luck, it is not doing anyting after reboot... So back to Debian and upgrade there? How do I upgrade the kernel?
Re: Who can compile an u-boot bin for me?
January 20, 2016 09:08AM
Reto Wrote:
-------------------------------------------------------
> No luck, it is not doing anyting after reboot...
> So back to Debian and upgrade there? How do I
> upgrade the kernel?

http://forum.doozan.com/read.php?2,12096

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Who can compile an u-boot bin for me?
January 22, 2016 08:40AM
Hi Bodhi,

ok, I tried to update the kernel now. What I did:
root@debian:/boot# tar -xjf linux-4.2.0-kirkwood-tld-1-bodhi.tar.bz2

root@debian:/boot# dpkg -i linux-image-4.2.0-kirkwood-tld-1_1.0_armel.deb 
Selecting previously unselected package linux-image-4.2.0-kirkwood-tld-1.
(Reading database ... 11637 files and directories currently installed.)
Unpacking linux-image-4.2.0-kirkwood-tld-1 (from linux-image-4.2.0-kirkwood-tld-1_1.0_armel.deb) ...
Examining /etc/kernel/preinst.d/
Done.
Setting up linux-image-4.2.0-kirkwood-tld-1 (1.0) ...

 Hmm. There is a symbolic link /lib/modules/4.2.0-kirkwood-tld-1/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.2.0-kirkwood-tld-1/build


 Hmm. The package shipped with a symbolic link /lib/modules/4.2.0-kirkwood-tld-1/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.2.0-kirkwood-tld-1/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.2.0-kirkwood-tld-1 /boot/vmlinuz-4.2.0-kirkwood-tld-1
update-initramfs: Generating /boot/initrd.img-4.2.0-kirkwood-tld-1
run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 4.2.0-kirkwood-tld-1 /boot/vmlinuz-4.2.0-kirkwood-tld-1

root@debian:/boot# cp -a zImage-4.2.0-kirkwood-tld-1 zImage.fdt
root@debian:/boot# cat kirkwood-iomega_ix4_200d.dtb >> zImage.fdt

root@debian:/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.2.0-kirkwood-tld-1 -d zImage.fdt uImage
Image Name:   Linux-4.2.0-kirkwood-tld-1
Created:      Fri Jan 22 06:28:54 2016
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    3156382 Bytes = 3082.40 kB = 3.01 MB
Load Address: 00008000
Entry Point:  00008000

root@debian:/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-4.2.0-kirkwood-tld-1 -d initrd.img-4.2.0-kirkwood-tld-1 uInitrd
Image Name:   initramfs-4.2.0-kirkwood-tld-1
Created:      Fri Jan 22 06:30:27 2016
Image Type:   ARM Linux RAMDisk Image (gzip compressed)
Data Size:    6325785 Bytes = 6177.52 kB = 6.03 MB
Load Address: 00000000
Entry Point:  00000000

root@debian:/boot# sync

However, no matter whether I set rootfstype to ext3 or ext4 I am always stuck with the (initramfs) prompt... Can you see what is wrong?
I have a backup of the Debian disk, so just let me know if I should do something differently during the update.

U-Boot 2015.10-tld-1 (Nov 17 2015 - 23:01:16 -0800)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND:  32 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Error: egiga0 address not set.

PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
Sheevaplug> setenv rootfstype ext3
Sheevaplug> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
** File not found /rescueme **
** Unrecognized filesystem type **
orion_nand: partitioning exceeds flash size
Error initializing mtdparts!
1 bytes read in 113 ms (0 Bytes/s)
Found bootable drive on usb 0:1
3156446 bytes read in 204 ms (14.8 MiB/s)
6325849 bytes read in 355 ms (17 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.2.0-kirkwood-tld-1
   Created:      2016-01-22  14:28:54 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3156382 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.2.0-kirkwood-tld-1
   Created:      2016-01-22  14:30:27 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6325785 Bytes = 6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.2.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Aug 31 23:12:00 PDT 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Iomega ix4-2OOd
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    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: 504308K/524288K available (6019K kernel code, 571K rwdata, 1988K rodata, 284K init, 312K bss, 19980K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07da1b4   (8009 kB)
[    0.000000]       .init : 0xc07db000 - 0xc0822000   ( 284 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b0e24   ( 572 kB)
[    0.000000]        .bss : 0xc08b0e24 - 0xc08ff1a4   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000442] Console: colour dummy device 80x30
[    0.000474] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090238] Security Framework initialized
[    0.090325] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090346] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091133] Initializing cgroup subsys blkio
[    0.091166] Initializing cgroup subsys devices
[    0.091190] Initializing cgroup subsys freezer
[    0.091224] Initializing cgroup subsys net_cls
[    0.091317] CPU: Testing write buffer coherency: ok
[    0.091745] Setting up static identity map for 0x8200 - 0x8258
[    0.092030] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095750] devtmpfs: initialized
[    0.100176] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100673] prandom: seed boundary self test passed
[    0.104432] prandom: 100 self tests passed
[    0.104456] pinctrl core: initialized pinctrl subsystem
[    0.105877] NET: Registered protocol family 16
[    0.106354] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130104] cpuidle: using governor ladder
[    0.160102] cpuidle: using governor menu
[    0.160539] Feroceon L2: Enabling L2
[    0.160587] Feroceon L2: Cache support initialised.
[    0.160966] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.161073] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.165704] No ATAGs?
[    0.201581] vgaarb: loaded
[    0.201970] usbcore: registered new interface driver usbfs
[    0.202053] usbcore: registered new interface driver hub
[    0.202120] usbcore: registered new device driver usb
[    0.203246] clocksource: Switched to clocksource orion_clocksource
[    0.260166] NET: Registered protocol family 2
[    0.260845] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.260907] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.260959] TCP: Hash tables configured (established 4096 bind 4096)
[    0.261034] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.261058] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.261267] NET: Registered protocol family 1
[    0.261671] RPC: Registered named UNIX socket transport module.
[    0.261685] RPC: Registered udp transport module.
[    0.261692] RPC: Registered tcp transport module.
[    0.261700] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261976] Unpacking initramfs...
[    0.821228] Freeing initrd memory: 6180K (c1100000 - c1709000)
[    0.821370] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.822455] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.822489] Initialise system trusted keyring
[    0.822614] audit: initializing netlink subsys (disabled)
[    0.822665] audit: type=2000 audit(0.810:1): initialized
[    0.823356] zpool: loaded
[    0.823373] zbud: loaded
[    0.823694] VFS: Disk quotas dquot_6.6.0
[    0.823760] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.824365] NFS: Registering the id_resolver key type
[    0.824406] Key type id_resolver registered
[    0.824415] Key type id_legacy registered
[    0.824444] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.824459] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.824690] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.825232] Key type big_key registered
[    0.848117] Key type asymmetric registered
[    0.848143] Asymmetric key parser 'x509' registered
[    0.848238] bounce: pool size: 64 pages
[    0.848317] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.848335] io scheduler noop registered
[    0.848349] io scheduler deadline registered
[    0.848408] io scheduler cfq registered (default)
[    0.849749] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.850426] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.850844] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.851679] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.851699] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.851714] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.851728] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.852100] PCI: bus0: Fast back to back transfers disabled
[    0.852127] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.852912] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    0.852959] PCI: bus1: Fast back to back transfers disabled
[    0.853134] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.853151] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.853172] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0000000-0xe00003ff]
[    0.853191] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    0.853210] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    0.853228] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    0.853521] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    0.853544] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    0.853562] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.853576] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.853592] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.853921] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.893943] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    0.933916] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    0.934124] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.973931] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.013934] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.014407] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.015866] console [ttyS0] disabled
[    1.015928] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.771767] console [ttyS0] enabled
[    1.776524] nand: device found, Manufacturer ID: 0xec, Chip ID: 0x75
[    1.782908] nand: Samsung NAND 32MiB 3,3V 8-bit
[    1.787495] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[    1.794860] Scanning device for bad blocks
[    2.024004] mtd: orion_nand: partitioning exceeds flash size, truncating
[    2.030737] mtd: orion_nand: skipping zero sized partition
[    2.036270] 3 cmdlinepart partitions found on MTD device orion_nand
[    2.042561] Creating 3 MTD partitions on "orion_nand":
[    2.047826] 0x000000000000-0x000000100000 : "u-boot"
[    2.053941] 0x000000100000-0x000000500000 : "uImage"
[    2.059991] 0x000000500000-0x000002000000 : "rootfs"
[    2.067420] libphy: Fixed MDIO Bus: probed
[    2.071860] libphy: orion_mdio_bus: probed
[    2.088030] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.173844] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:00:00:00:00:00
[    4.254009] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:00:00:00:00:00
[    4.263066] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.269685] ehci-pci: EHCI PCI platform driver
[    4.274248] ehci-orion: EHCI orion driver
[    4.278453] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.284025] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.291879] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    4.313282] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.319569] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.326422] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.333694] usb usb1: Product: EHCI Host Controller
[    4.338593] usb usb1: Manufacturer: Linux 4.2.0-kirkwood-tld-1 ehci_hcd
[    4.345255] usb usb1: SerialNumber: f1050000.ehci
[    4.350748] hub 1-0:1.0: USB hub found
[    4.354603] hub 1-0:1.0: 1 port detected
[    4.359461] mousedev: PS/2 mouse device common for all mice
[    4.365802] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    4.372884] i2c /dev entries driver
[    4.377295] hidraw: raw HID events driver (C) Jiri Kosina
[    4.383104] drop_monitor: Initializing network drop monitor service
[    4.389704] NET: Registered protocol family 17
[    4.394329] Key type dns_resolver registered
[    4.399471] Loading compiled-in X.509 certificates
[    4.404348] registered taskstats version 1
[    4.408526] zswap: loading zswap
[    4.411774] zswap: using zbud pool
[    4.415218] zswap: using lzo compressor
[    4.430519] Key type encrypted registered
[    4.435311] rtc-mv f1010300.rtc: setting system clock to 2016-01-22 14:34:14 UTC (1453473254)
[    4.446257] Freeing unused kernel memory: 284K (c07db000 - c0822000)
Loading, please wait...
[    4.524251] udevd[85]: starting version 175
[    4.673366] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    4.824568] SCSI subsystem initialized
[    4.835278] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    4.842041] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.861610] usb 1-1: Product: USB2.0 Hub
[    4.871027] hub 1-1:1.0: USB hub found
[    4.879920] hub 1-1:1.0: 4 ports detected
[    4.915896] sata_mv f1080000.sata: slots 32 ports 2
[    4.926864] pci 0000:00:01.0: enabling device (0140 -> 0143)
[    4.932645] ahci 0000:01:00.0: Disabling your PATA port. Use the boot option 'ahci.marvell_enable=0' to avoid this.
[    4.980237] scsi host0: sata_mv
[    4.998133] scsi host1: sata_mv
[    5.001659] ata1: SATA max UDMA/133 irq 32
[    5.023397] ahci 0000:01:00.0: controller can't do NCQ, turning off CAP_NCQ
[    5.030403] ahci 0000:01:00.0: controller can't do PMP, turning off CAP_PMP
[    5.042225] ata2: SATA max UDMA/133 irq 32
[    5.088100] ahci 0000:01:00.0: masking port_map 0x7 -> 0x3
[    5.099219] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    5.106106] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x3 impl IDE mode
[    5.114272] ahci 0000:01:00.0: flags: 64bit stag led slum part 
[    5.124847] scsi host2: ahci
[    5.128740] scsi host3: ahci
[    5.132594] scsi host4: ahci
[    5.136265] ata3: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000100 irq 83
[    5.143759] ata4: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000180 irq 83
[    5.151191] ata5: DUMMY
[    5.173303] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    5.284514] usb 1-1.2: New USB device found, idVendor=125f, idProduct=de7a
[    5.291444] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.298831] usb 1-1.2: Product: ADATA USB Flash Drive
[    5.303940] usb 1-1.2: Manufacturer: ADATA
[    5.308057] usb 1-1.2: SerialNumber: 14B1311102300064
[    5.339677] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    5.346455] scsi host5: usb-storage 1-1.2:1.0
[    5.352645] usbcore: registered new interface driver usb-storage
[    5.362032] usbcore: registered new interface driver uas
[    5.403306] ata1: SATA link down (SStatus 0 SControl F300)
[    5.503290] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.510068] ata3.00: ATA-9: WDC WD20EFRX-68AX9N0, 80.00A80, max UDMA/133
[    5.516832] ata3.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    5.524182] ata3.00: configured for UDMA/133
[    5.773285] ata2: SATA link down (SStatus 0 SControl F300)
[    5.793697] scsi 2:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68A 0A80 PQ: 0 ANSI: 5
[    6.153297] ata4: SATA link down (SStatus 0 SControl 300)
[    6.230847] sd 2:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    6.239786] sd 2:0:0:0: [sda] 4096-byte physical blocks
[    6.245428] sd 2:0:0:0: [sda] Write Protect is off
[    6.250374] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.320162]  sda: sda1
[    6.324436] sd 2:0:0:0: [sda] Attached SCSI disk
[    6.341055] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    6.347497] scsi 5:0:0:0: Direct-Access     ADATA    USB Flash Drive  1.00 PQ: 0 ANSI: 6
[    6.365590] sd 5:0:0:0: Attached scsi generic sg1 type 0
[    6.371692] sd 5:0:0:0: [sdb] 123480064 512-byte logical blocks: (63.2 GB/58.8 GiB)
[    6.385323] sd 5:0:0:0: [sdb] Write Protect is off
[    6.398663] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[    6.419442]  sdb: sdb1
[    6.425192] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[   37.133326] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   37.140423] ata3.00: failed command: IDENTIFY DEVICE
[   37.145457] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 13 pio 512 in
[   37.145457]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   37.160151] ata3.00: status: { DRDY }
[   37.163878] ata3: hard resetting link
[   37.513292] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   37.521373] ata3.00: configured for UDMA/133
[   37.533346] ata3: EH complete
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... [   48.318421] random: nonblocking pool is initialized
done.
Begin: Running /scripts/local-premount ... done.
mount: mounting /dev/sda1 on /root failed: Invalid argument
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
modprobe: module i8042 not found in modules.dep
[   60.915662] uhci_hcd: USB Universal Host Controller Interface driver
[   60.930311] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   60.945786] usbcore: registered new interface driver usbhid
[   60.951394] usbhid: USB HID core driver


BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) 
Re: Who can compile an u-boot bin for me?
January 22, 2016 10:43AM
Reto,

You're are very close to boot Debian! but rootfs mounting has problem.

These requirements about booting with multiple disks must be taken cared of manually (since you have not flashed the default envs image):

Quote

http://forum.doozan.com/read.php?3,12381

B. Flashing default u-boot envs image

This default envs image supports booting with multiple disk drives (and hubs) attached. The disk drives could be any type (usb, sata, sd card). The scanning logic and default envs were set to automatically boot the box with the following required configuration:

For whatever reason, if you can't set up your configuration to satisfy the following 4 requirements, then don't flash this defaut envs image. It might not boot properly. In this case, section D below can be used to tailor the envs to your specific configuration.

r1. There must be only one partition among all partitions from all drives that contains the kernel files. The 2 kernel files are /boot/uImage and /boot/uInitrd.
r2. The partition that contains the 2 kernel files must be partition 1 in a disk drive
r3. The partition that contains the rootfs must be labeled rootfs
r4. The rootfs partition is recommended to be type Ext3 (this is not a hard requirement, ext4 should boot OK, but Ext3 will ensure no problem).

So the bottom line is if you have only one rootfs in a single Ext3 partition, which is labeled as rootfs, then you're all set.

So :

1. Make sure the USB rootfs partiton is labeled rootfs.

2. Power up, boot with kwboot, interrupt serial console, and

setenv usb_root 'LABEL=rootfs'
setenv rootfstype
printenv
boot

If it still can't mount the rootfs, then the printenv above will tell us why.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Who can compile an u-boot bin for me?
January 26, 2016 02:04AM
No luck :-( My USB device is labeled rootfs and formated with ext3...

Sheevaplug> setenv usb_root 'LABEL=rootfs'
Sheevaplug> setenv rootfstype ext3
Sheevaplug> printenv
arcNumber=2097
baudrate=115200
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
bootdelay=3
console=ttyS0,115200
ethact=egiga0
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rootfstype=ext3
stderr=serial
stdin=serial
stdout=serial
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=run usb_scan
usb_root=LABEL=rootfs
usb_rootdelay=10
usb_rootfstype=ext2
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

Environment size: 2335/131068 bytes
Re: Who can compile an u-boot bin for me?
January 26, 2016 03:30AM
I've mispelled the name!

Try:
setenv usb_rootfstype ext3

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Who can compile an u-boot bin for me?
January 26, 2016 03:49AM
Still not...

Sheevaplug> printenv
arcNumber=2097
baudrate=115200
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
bootdelay=3
console=ttyS0,115200
ethact=egiga0
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
stderr=serial
stdin=serial
stdout=serial
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=run usb_scan
usb_root=LABEL=rootfs
usb_rootdelay=10
usb_rootfstype=ext3
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

Environment size: 2317/131068 bytes
Sheevaplug> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
** File not found /rescueme **
** Unrecognized filesystem type **
orion_nand: partitioning exceeds flash size
Error initializing mtdparts!
1 bytes read in 113 ms (0 Bytes/s)
Found bootable drive on usb 0:1
3156446 bytes read in 204 ms (14.8 MiB/s)
6325849 bytes read in 355 ms (17 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.2.0-kirkwood-tld-1
   Created:      2016-01-22  14:28:54 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3156382 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.2.0-kirkwood-tld-1
   Created:      2016-01-22  14:30:27 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6325785 Bytes = 6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.2.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Aug 31 23:12:00 PDT 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Iomega ix4-2OOd
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    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: 504308K/524288K available (6019K kernel code, 571K rwdata, 1988K rodata, 284K init, 312K bss, 19980K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07da1b4   (8009 kB)
[    0.000000]       .init : 0xc07db000 - 0xc0822000   ( 284 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b0e24   ( 572 kB)
[    0.000000]        .bss : 0xc08b0e24 - 0xc08ff1a4   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000442] Console: colour dummy device 80x30
[    0.000474] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090238] Security Framework initialized
[    0.090325] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090346] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091132] Initializing cgroup subsys blkio
[    0.091165] Initializing cgroup subsys devices
[    0.091189] Initializing cgroup subsys freezer
[    0.091223] Initializing cgroup subsys net_cls
[    0.091316] CPU: Testing write buffer coherency: ok
[    0.091744] Setting up static identity map for 0x8200 - 0x8258
[    0.092029] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095749] devtmpfs: initialized
[    0.100176] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100669] prandom: seed boundary self test passed
[    0.104428] prandom: 100 self tests passed
[    0.104451] pinctrl core: initialized pinctrl subsystem
[    0.105874] NET: Registered protocol family 16
[    0.106351] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130104] cpuidle: using governor ladder
[    0.160102] cpuidle: using governor menu
[    0.160540] Feroceon L2: Enabling L2
[    0.160588] Feroceon L2: Cache support initialised.
[    0.160968] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.161075] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.165709] No ATAGs?
[    0.201586] vgaarb: loaded
[    0.201976] usbcore: registered new interface driver usbfs
[    0.202059] usbcore: registered new interface driver hub
[    0.202126] usbcore: registered new device driver usb
[    0.203252] clocksource: Switched to clocksource orion_clocksource
[    0.260150] NET: Registered protocol family 2
[    0.260828] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.260890] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.260943] TCP: Hash tables configured (established 4096 bind 4096)
[    0.261016] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.261040] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.261250] NET: Registered protocol family 1
[    0.261653] RPC: Registered named UNIX socket transport module.
[    0.261666] RPC: Registered udp transport module.
[    0.261674] RPC: Registered tcp transport module.
[    0.261682] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261957] Unpacking initramfs...
[    0.821291] Freeing initrd memory: 6180K (c1100000 - c1709000)
[    0.821434] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.822524] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.822558] Initialise system trusted keyring
[    0.822677] audit: initializing netlink subsys (disabled)
[    0.822730] audit: type=2000 audit(0.810:1): initialized
[    0.823425] zpool: loaded
[    0.823442] zbud: loaded
[    0.823763] VFS: Disk quotas dquot_6.6.0
[    0.823828] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.824436] NFS: Registering the id_resolver key type
[    0.824477] Key type id_resolver registered
[    0.824486] Key type id_legacy registered
[    0.824514] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.824531] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.824763] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.825305] Key type big_key registered
[    0.848185] Key type asymmetric registered
[    0.848210] Asymmetric key parser 'x509' registered
[    0.848305] bounce: pool size: 64 pages
[    0.848384] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.848401] io scheduler noop registered
[    0.848415] io scheduler deadline registered
[    0.848474] io scheduler cfq registered (default)
[    0.849816] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.850491] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.850908] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.851740] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.851761] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.851775] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.851788] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.852162] PCI: bus0: Fast back to back transfers disabled
[    0.852189] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.852972] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    0.853020] PCI: bus1: Fast back to back transfers disabled
[    0.853195] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.853213] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.853232] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0000000-0xe00003ff]
[    0.853528] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    0.853551] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    0.853570] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    0.853588] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    0.853606] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    0.853623] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.853637] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.853653] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.853982] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.893952] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    0.933924] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    0.934134] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.973937] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.013931] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.014408] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.015860] console [ttyS0] disabled
[    1.015923] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.771759] console [ttyS0] enabled
[    1.776517] nand: device found, Manufacturer ID: 0xec, Chip ID: 0x75
[    1.782900] nand: Samsung NAND 32MiB 3,3V 8-bit
[    1.787488] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[    1.794853] Scanning device for bad blocks
[    2.024012] mtd: orion_nand: partitioning exceeds flash size, truncating
[    2.030747] mtd: orion_nand: skipping zero sized partition
[    2.036280] 3 cmdlinepart partitions found on MTD device orion_nand
[    2.042571] Creating 3 MTD partitions on "orion_nand":
[    2.047837] 0x000000000000-0x000000100000 : "u-boot"
[    2.053951] 0x000000100000-0x000000500000 : "uImage"
[    2.060003] 0x000000500000-0x000002000000 : "rootfs"
[    2.067428] libphy: Fixed MDIO Bus: probed
[    2.071870] libphy: orion_mdio_bus: probed
[    2.088070] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.173875] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:00:00:00:00:00
[    4.254002] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:00:00:00:00:00
[    4.263057] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.269676] ehci-pci: EHCI PCI platform driver
[    4.274240] ehci-orion: EHCI orion driver
[    4.278446] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.284017] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.291870] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    4.313288] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.319569] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.326422] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.333695] usb usb1: Product: EHCI Host Controller
[    4.338594] usb usb1: Manufacturer: Linux 4.2.0-kirkwood-tld-1 ehci_hcd
[    4.345258] usb usb1: SerialNumber: f1050000.ehci
[    4.350755] hub 1-0:1.0: USB hub found
[    4.354609] hub 1-0:1.0: 1 port detected
[    4.359466] mousedev: PS/2 mouse device common for all mice
[    4.365811] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    4.372893] i2c /dev entries driver
[    4.377310] hidraw: raw HID events driver (C) Jiri Kosina
[    4.383115] drop_monitor: Initializing network drop monitor service
[    4.389713] NET: Registered protocol family 17
[    4.394340] Key type dns_resolver registered
[    4.399476] Loading compiled-in X.509 certificates
[    4.404347] registered taskstats version 1
[    4.408526] zswap: loading zswap
[    4.411775] zswap: using zbud pool
[    4.415220] zswap: using lzo compressor
[    4.430524] Key type encrypted registered
[    4.435315] rtc-mv f1010300.rtc: setting system clock to 2016-01-26 09:47:29 UTC (1453801649)
[    4.446272] Freeing unused kernel memory: 284K (c07db000 - c0822000)
Loading, please wait...
[    4.524221] udevd[85]: starting version 175
[    4.673370] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    4.799372] SCSI subsystem initialized
[    4.835274] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    4.842042] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.862059] usb 1-1: Product: USB2.0 Hub
[    4.871153] hub 1-1:1.0: USB hub found
[    4.879780] hub 1-1:1.0: 4 ports detected
[    4.902346] sata_mv f1080000.sata: slots 32 ports 2
[    4.910932] pci 0000:00:01.0: enabling device (0140 -> 0143)
[    4.952051] ahci 0000:01:00.0: Disabling your PATA port. Use the boot option 'ahci.marvell_enable=0' to avoid this.
[    4.962702] scsi host0: sata_mv
[    4.985710] scsi host1: sata_mv
[    4.989242] ata1: SATA max UDMA/133 irq 32
[    5.012186] ahci 0000:01:00.0: controller can't do NCQ, turning off CAP_NCQ
[    5.019285] ata2: SATA max UDMA/133 irq 32
[    5.049229] ahci 0000:01:00.0: controller can't do PMP, turning off CAP_PMP
[    5.078055] ahci 0000:01:00.0: masking port_map 0x7 -> 0x3
[    5.095508] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    5.102244] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x3 impl IDE mode
[    5.110458] ahci 0000:01:00.0: flags: 64bit stag led slum part 
[    5.121058] scsi host2: ahci
[    5.124968] scsi host3: ahci
[    5.128818] scsi host4: ahci
[    5.132476] ata3: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000100 irq 83
[    5.139970] ata4: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000180 irq 83
[    5.147425] ata5: DUMMY
[    5.173297] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    5.284507] usb 1-1.2: New USB device found, idVendor=125f, idProduct=de7a
[    5.291436] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.298822] usb 1-1.2: Product: ADATA USB Flash Drive
[    5.303932] usb 1-1.2: Manufacturer: ADATA
[    5.308048] usb 1-1.2: SerialNumber: 14B1311102300064
[    5.339727] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    5.346521] scsi host5: usb-storage 1-1.2:1.0
[    5.352726] usbcore: registered new interface driver usb-storage
[    5.362123] usbcore: registered new interface driver uas
[    5.383326] ata1: SATA link down (SStatus 0 SControl F300)
[    5.493306] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.500085] ata3.00: ATA-9: WDC WD20EFRX-68AX9N0, 80.00A80, max UDMA/133
[    5.506848] ata3.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    5.514194] ata3.00: configured for UDMA/133
[    5.753291] ata2: SATA link down (SStatus 0 SControl F300)
[    5.773704] scsi 2:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68A 0A80 PQ: 0 ANSI: 5
[    6.133299] ata4: SATA link down (SStatus 0 SControl 300)
[    6.214509] sd 2:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    6.222300] sd 2:0:0:0: [sda] 4096-byte physical blocks
[    6.228983] sd 2:0:0:0: [sda] Write Protect is off
[    6.234003] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.306526]  sda: sda1
[    6.310730] sd 2:0:0:0: [sda] Attached SCSI disk
[    6.327422] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    6.344367] scsi 5:0:0:0: Direct-Access     ADATA    USB Flash Drive  1.00 PQ: 0 ANSI: 6
[    6.359821] sd 5:0:0:0: [sdb] 123480064 512-byte logical blocks: (63.2 GB/58.8 GiB)
[    6.369216] sd 5:0:0:0: Attached scsi generic sg1 type 0
[    6.383836] sd 5:0:0:0: [sdb] Write Protect is off
[    6.389178] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[    6.411283]  sdb: sdb1
[    6.422600] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[   37.133333] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   37.140431] ata3.00: failed command: IDENTIFY DEVICE
[   37.145466] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 13 pio 512 in
[   37.145466]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   37.160152] ata3.00: status: { DRDY }
[   37.163878] ata3: hard resetting link
[   37.513301] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   37.520668] ata3.00: configured for UDMA/133
[   37.532693] ata3: EH complete
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... [   48.305374] random: nonblocking pool is initialized
done.
Begin: Running /scripts/local-premount ... done.
mount: mounting /dev/sda1 on /root failed: Invalid argument
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
modprobe: module i8042 not found in modules.dep
[   60.905800] uhci_hcd: USB Universal Host Controller Interface driver
[   60.920416] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   60.935864] usbcore: registered new interface driver usbhid
[   60.941472] usbhid: USB HID core driver


BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs)



Edited 1 time(s). Last edit at 01/26/2016 03:49AM by Reto.
Re: Who can compile an u-boot bin for me?
January 26, 2016 05:32AM
The reason was your root device still does not have the correct label parameter. You are using the internal default envs set which is quite old. I think I remember this problem now (we've been using a newer set of envs for a quite a while).

In addition to what you done so far, you need to set this also before boot
setenv usb_init 'run usb_scan; setenv usb_root LABEL=rootfs'
printenv
boot

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/26/2016 05:36AM by bodhi.
Re: Who can compile an u-boot bin for me?
January 26, 2016 05:54AM
Finally! I am on 4.2.0... Should we now get more info on the NAND flash? If yes, how?
Re: Who can compile an u-boot bin for me?
January 26, 2016 06:19AM
Reto Wrote:
-------------------------------------------------------
> Finally! I am on 4.2.0

Cool :)

First, the mtdparts must be defined correctly so I would look for the original definition from someone who can boot the box with the stock u-boot. And also find the stock OS dmesg output.

I will rebuild a new u-boot for this box using the sheevaplug as a starting point.


UPDATE:

In the mean time, when you boot with kwboot, this must be set before booting:

setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),-(rootfs)'

So please try again with this and post the serial bootlog here.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 2 time(s). Last edit at 01/26/2016 06:23AM by bodhi.
Re: Who can compile an u-boot bin for me?
January 26, 2016 07:12AM
Here is the log. What should I ask for? The dmesg output and the mtdparts output in u-boot?

Sheevaplug> setenv usb_root 'LABEL=rootfs'
Sheevaplug> setenv usb_rootfstype ext3
Sheevaplug> setenv usb_init 'run usb_scan; setenv usb_root LABEL=rootfs'
Sheevaplug> setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),-(rootfs)'
Sheevaplug> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
** File not found /rescueme **
** Unrecognized filesystem type **
incorrect device type in data
Partition data not found!
1 bytes read in 113 ms (0 Bytes/s)
Found bootable drive on usb 0:1
3156446 bytes read in 204 ms (14.8 MiB/s)
6325849 bytes read in 355 ms (17 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.2.0-kirkwood-tld-1
   Created:      2016-01-22  14:28:54 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3156382 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.2.0-kirkwood-tld-1
   Created:      2016-01-22  14:30:27 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6325785 Bytes = 6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.2.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Aug 31 23:12:00 PDT 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Iomega ix4-2OOd
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:1M(u-boot),4M(uImage),-(rootfs)
[    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: 504308K/524288K available (6019K kernel code, 571K rwdata, 1988K rodata, 284K init, 312K bss, 19980K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07da1b4   (8009 kB)
[    0.000000]       .init : 0xc07db000 - 0xc0822000   ( 284 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b0e24   ( 572 kB)
[    0.000000]        .bss : 0xc08b0e24 - 0xc08ff1a4   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000438] Console: colour dummy device 80x30
[    0.000471] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090239] Security Framework initialized
[    0.090325] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090344] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091129] Initializing cgroup subsys blkio
[    0.091161] Initializing cgroup subsys devices
[    0.091185] Initializing cgroup subsys freezer
[    0.091219] Initializing cgroup subsys net_cls
[    0.091312] CPU: Testing write buffer coherency: ok
[    0.091740] Setting up static identity map for 0x8200 - 0x8258
[    0.092025] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095742] devtmpfs: initialized
[    0.100176] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100671] prandom: seed boundary self test passed
[    0.104430] prandom: 100 self tests passed
[    0.104452] pinctrl core: initialized pinctrl subsystem
[    0.105875] NET: Registered protocol family 16
[    0.106353] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130101] cpuidle: using governor ladder
[    0.160100] cpuidle: using governor menu
[    0.160537] Feroceon L2: Enabling L2
[    0.160584] Feroceon L2: Cache support initialised.
[    0.160963] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.161070] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.165694] No ATAGs?
[    0.201585] vgaarb: loaded
[    0.201971] usbcore: registered new interface driver usbfs
[    0.202054] usbcore: registered new interface driver hub
[    0.202122] usbcore: registered new device driver usb
[    0.203243] clocksource: Switched to clocksource orion_clocksource
[    0.260140] NET: Registered protocol family 2
[    0.260821] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.260884] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.260936] TCP: Hash tables configured (established 4096 bind 4096)
[    0.261010] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.261034] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.261244] NET: Registered protocol family 1
[    0.261648] RPC: Registered named UNIX socket transport module.
[    0.261662] RPC: Registered udp transport module.
[    0.261669] RPC: Registered tcp transport module.
[    0.261677] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261952] Unpacking initramfs...
[    0.821197] Freeing initrd memory: 6180K (c1100000 - c1709000)
[    0.821341] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.822429] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.822463] Initialise system trusted keyring
[    0.822582] audit: initializing netlink subsys (disabled)
[    0.822633] audit: type=2000 audit(0.810:1): initialized
[    0.823323] zpool: loaded
[    0.823340] zbud: loaded
[    0.823663] VFS: Disk quotas dquot_6.6.0
[    0.823729] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.824336] NFS: Registering the id_resolver key type
[    0.824375] Key type id_resolver registered
[    0.824385] Key type id_legacy registered
[    0.824413] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.824429] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.824660] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.825200] Key type big_key registered
[    0.848083] Key type asymmetric registered
[    0.848109] Asymmetric key parser 'x509' registered
[    0.848203] bounce: pool size: 64 pages
[    0.848281] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.848299] io scheduler noop registered
[    0.848312] io scheduler deadline registered
[    0.848373] io scheduler cfq registered (default)
[    0.849712] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.850387] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.850805] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.851636] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.851657] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.851671] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.851685] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.852059] PCI: bus0: Fast back to back transfers disabled
[    0.852086] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.852870] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    0.852918] PCI: bus1: Fast back to back transfers disabled
[    0.853094] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.853110] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.853130] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0000000-0xe00003ff]
[    0.853150] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    0.853168] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    0.853187] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    0.853204] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    0.853222] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    0.853506] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.853526] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.853542] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.853872] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.893936] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    0.933915] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    0.934123] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.973927] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.013923] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.014398] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.015849] console [ttyS0] disabled
[    1.015911] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.771152] console [ttyS0] enabled
[    1.775911] nand: device found, Manufacturer ID: 0xec, Chip ID: 0x75
[    1.782293] nand: Samsung NAND 32MiB 3,3V 8-bit
[    1.786882] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[    1.794246] Scanning device for bad blocks
[    2.023413] 3 cmdlinepart partitions found on MTD device orion_nand
[    2.029705] Creating 3 MTD partitions on "orion_nand":
[    2.034897] 0x000000000000-0x000000100000 : "u-boot"
[    2.040972] 0x000000100000-0x000000500000 : "uImage"
[    2.047131] 0x000000500000-0x000002000000 : "rootfs"
[    2.054559] libphy: Fixed MDIO Bus: probed
[    2.058992] libphy: orion_mdio_bus: probed
[    2.075095] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.153854] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:00:00:00:00:00
[    4.234009] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:00:00:00:00:00
[    4.243067] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.249686] ehci-pci: EHCI PCI platform driver
[    4.254248] ehci-orion: EHCI orion driver
[    4.258457] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.264026] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.271881] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    4.293278] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.299560] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.306414] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.313686] usb usb1: Product: EHCI Host Controller
[    4.318586] usb usb1: Manufacturer: Linux 4.2.0-kirkwood-tld-1 ehci_hcd
[    4.325248] usb usb1: SerialNumber: f1050000.ehci
[    4.330744] hub 1-0:1.0: USB hub found
[    4.334602] hub 1-0:1.0: 1 port detected
[    4.339461] mousedev: PS/2 mouse device common for all mice
[    4.345801] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    4.352887] i2c /dev entries driver
[    4.357301] hidraw: raw HID events driver (C) Jiri Kosina
[    4.363107] drop_monitor: Initializing network drop monitor service
[    4.369705] NET: Registered protocol family 17
[    4.374333] Key type dns_resolver registered
[    4.379469] Loading compiled-in X.509 certificates
[    4.384348] registered taskstats version 1
[    4.388526] zswap: loading zswap
[    4.391775] zswap: using zbud pool
[    4.395218] zswap: using lzo compressor
[    4.410481] Key type encrypted registered
[    4.415281] rtc-mv f1010300.rtc: setting system clock to 2016-01-26 13:00:47 UTC (1453813247)
[    4.426236] Freeing unused kernel memory: 284K (c07db000 - c0822000)
Loading, please wait...
[    4.504197] udevd[85]: starting version 175
[    4.653368] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    4.771814] SCSI subsystem initialized
[    4.815308] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    4.822076] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.843371] usb 1-1: Product: USB2.0 Hub
[    4.851531] hub 1-1:1.0: USB hub found
[    4.860924] hub 1-1:1.0: 4 ports detected
[    4.890701] sata_mv f1080000.sata: slots 32 ports 2
[    4.899377] pci 0000:00:01.0: enabling device (0140 -> 0143)
[    4.939518] scsi host0: sata_mv
[    4.944340] ahci 0000:01:00.0: Disabling your PATA port. Use the boot option 'ahci.marvell_enable=0' to avoid this.
[    4.965196] scsi host1: sata_mv
[    4.968734] ata1: SATA max UDMA/133 irq 32
[    4.972879] ata2: SATA max UDMA/133 irq 32
[    5.003373] ahci 0000:01:00.0: controller can't do NCQ, turning off CAP_NCQ
[    5.010379] ahci 0000:01:00.0: controller can't do PMP, turning off CAP_PMP
[    5.063997] ahci 0000:01:00.0: masking port_map 0x7 -> 0x3
[    5.076657] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    5.083548] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x3 impl IDE mode
[    5.091652] ahci 0000:01:00.0: flags: 64bit stag led slum part 
[    5.102198] scsi host2: ahci
[    5.106116] scsi host3: ahci
[    5.109976] scsi host4: ahci
[    5.113661] ata3: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000100 irq 83
[    5.121113] ata4: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000180 irq 83
[    5.128564] ata5: DUMMY
[    5.153289] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    5.264513] usb 1-1.2: New USB device found, idVendor=125f, idProduct=de7a
[    5.271436] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.278840] usb 1-1.2: Product: ADATA USB Flash Drive
[    5.283934] usb 1-1.2: Manufacturer: ADATA
[    5.288049] usb 1-1.2: SerialNumber: 14B1311102300064
[    5.319615] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    5.326381] scsi host5: usb-storage 1-1.2:1.0
[    5.332578] usbcore: registered new interface driver usb-storage
[    5.341997] usbcore: registered new interface driver uas
[    5.373312] ata1: SATA link down (SStatus 0 SControl F300)
[    5.473291] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.480064] ata3.00: ATA-9: WDC WD20EFRX-68AX9N0, 80.00A80, max UDMA/133
[    5.486829] ata3.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    5.494185] ata3.00: configured for UDMA/133
[    5.743281] ata2: SATA link down (SStatus 0 SControl F300)
[    5.763695] scsi 2:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68A 0A80 PQ: 0 ANSI: 5
[    6.123290] ata4: SATA link down (SStatus 0 SControl 300)
[    6.200491] sd 2:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    6.209419] sd 2:0:0:0: [sda] 4096-byte physical blocks
[    6.215066] sd 2:0:0:0: [sda] Write Protect is off
[    6.220014] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.292526]  sda: sda1
[    6.296763] sd 2:0:0:0: [sda] Attached SCSI disk
[    6.313437] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    6.324375] scsi 5:0:0:0: Direct-Access     ADATA    USB Flash Drive  1.00 PQ: 0 ANSI: 6
[    6.340075] sd 5:0:0:0: [sdb] 123480064 512-byte logical blocks: (63.2 GB/58.8 GiB)
[    6.349403] sd 5:0:0:0: Attached scsi generic sg1 type 0
[    6.363096] sd 5:0:0:0: [sdb] Write Protect is off
[    6.373821] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[    6.395692]  sdb: sdb1
[    6.405183] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[   37.133323] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   37.140417] ata3.00: failed command: IDENTIFY DEVICE
[   37.145474] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 13 pio 512 in
[   37.145474]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   37.160166] ata3.00: status: { DRDY }
[   37.163868] ata3: hard resetting link
[   37.513286] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   37.520665] ata3.00: configured for UDMA/133
[   37.532456] ata3: EH complete
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[   47.777544] EXT3-fs (sdb1): mounted filesystem with ordered data mode
[   47.784109] kjournald starting.  Commit interval 5 seconds
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[   48.260637] random: nonblocking pool is initialized
[....] Starting the hotplug events dispatcher: udevd[   48.932340] udevd[306]: starting version 175
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   49.700783] orion_wdt: Initial timeout 21 sec
[   80.093340] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   80.100434] ata3.00: failed command: IDENTIFY DEVICE
[   80.105469] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 13 pio 512 in
[   80.105469]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   80.120162] ata3.00: status: { DRDY }
[   80.123864] ata3: hard resetting link
[   80.473299] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   80.481395] ata3.00: configured for UDMA/133
[   80.493348] ata3: EH complete
done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.20.1
rootfs: clean, 15785/3859072 files, 454923/15435004 blocks
done.
[   81.608602] EXT3-fs (sdb1): using internal journal
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /lib/init/rw.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[....] Configuring network interfaces...[   86.247991] NET: Registered protocol family 10
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

RTNETLINK answers: Cannot assign requested address
Listening on LPF/eth0/00:00:00:00:00:00
Sending on   LPF/eth0/00:00:00:00:00:00
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
send_packet: Network is down
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1966 (syslogd)
. ok 
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting rpcbind daemon...[....] Already running..
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting OpenBSD Secure Shell server: sshd.
1969 (klogd)
. ok 
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemonTimeout reached while wating for return value
Could not receive return value from daemon process.
 (warning).

Debian GNU/Linux 7 debian ttyS0

debian login:
Re: Who can compile an u-boot bin for me?
January 26, 2016 09:11AM
Reto,

Try this command in Debian and post output here. I expect the erase size shown 16KB.

mtdinfo -a

I think I need to change the DTS to get this working.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/26/2016 09:14AM by bodhi.
Re: Who can compile an u-boot bin for me?
January 26, 2016 09:38AM
Command not found...
Re: Who can compile an u-boot bin for me?
January 26, 2016 10:08AM
Install the utility package to make it available.
apt-get install mtd-utils

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Who can compile an u-boot bin for me?
January 28, 2016 01:02AM
Next problem, I am not able to get a working internet connexion on the box. :-(

Does this tell us something or are these fake values?
[    1.775911] nand: device found, Manufacturer ID: 0xec, Chip ID: 0x75
[    1.782293] nand: Samsung NAND 32MiB 3,3V 8-bit
[    1.786882] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
Re: Who can compile an u-boot bin for me?
January 28, 2016 02:45AM
Reto,

> Next problem, I am not able to get a working
> internet connexion on the box. :-(
>

Of course! I forgot that problem. You don't have a valid MAC address:

[    4.234009] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:00:00:00:00:00

So look for your MAC address on the box sticker, and do another setenv in serial console (before "boot" like other setenv that you are doing)

setenv ethaddr xx:xx:xx:xx:xx
boot


> Does this tell us something or are these fake
> values?
>
> [    1.775911] nand: device found, Manufacturer
> ID: 0xec, Chip ID: 0x75
> [    1.782293] nand: Samsung NAND 32MiB 3,3V
> 8-bit
> [    1.786882] nand: 32 MiB, SLC, erase size: 16
> KiB, page size: 512, OOB size: 16
>

I believe these are legit. I wanted to confirm by the mtdinfo command. So if you install mtd-utils then you can run mtdinfo to get the information about the flash memory

Once you get the info, we can give it another try. This time we'll use a different DTB I just compiled for the box. Hope it will perform better.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/28/2016 03:07AM by bodhi.
Re: Who can compile an u-boot bin for me?
January 28, 2016 07:43AM
I tried this before because I thought the MAC address could be the problem. But also with the MAC address set I get:

RTNETLINK answers: Cannot assign requested address
Listening on LPF/eth0/00:00:00:00:00:00
Sending on   LPF/eth0/00:00:00:00:00:00
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down

But I found pre-compiled binaries:

root@debian:/mdt/sbin# ./mtdinfo -a
Count of MTD devices:           3
Present MTD devices:            mtd0, mtd1, mtd2
Sysfs interface supported:      yes

mtd0
Name:                           u-boot
Type:                           nand
Eraseblock size:                16384 bytes, 16.0 KiB
Amount of eraseblocks:          64 (1048576 bytes, 1024.0 KiB)
Minimum input/output unit size: 512 bytes
Sub-page size:                  256 bytes
OOB size:                       16 bytes
Character device major/minor:   90:0
Bad blocks are allowed:         true
Device is writable:             true

mtd1
Name:                           uImage
Type:                           nand
Eraseblock size:                16384 bytes, 16.0 KiB
Amount of eraseblocks:          256 (4194304 bytes, 4.0 MiB)
Minimum input/output unit size: 512 bytes
Sub-page size:                  256 bytes
OOB size:                       16 bytes
Character device major/minor:   90:2
Bad blocks are allowed:         true
Device is writable:             true

mtd2
Name:                           rootfs
Type:                           nand
Eraseblock size:                16384 bytes, 16.0 KiB
Amount of eraseblocks:          1728 (28311552 bytes, 27.0 MiB)
Minimum input/output unit size: 512 bytes
Sub-page size:                  256 bytes
OOB size:                       16 bytes
Character device major/minor:   90:4
Bad blocks are allowed:         true
Device is writable:             true

Are these now real values?



Edited 2 time(s). Last edit at 01/28/2016 08:00AM by Reto.
Iomega ix4-200d U-boot needed
January 28, 2016 01:44PM
Reto,

First, suggestion: please change the first post title to "Iomega ix4-200d U-boot needed". This is to cause attention to others who might have the information and chime in.

1. The MAC addr is still all zero's so that was the real error.

2. I believe we are seeing a real erase size. But it would be better to confirm it by seeing in stock OS. I did not see it in damacc serial boot log, so I'm puzzle.

I'm gonna post a summary steps and also upload a new DTB for you (sometimes today).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Iomega ix4-200d U-boot needed
January 29, 2016 02:06AM
I checked the environment and it showed the correct MAC addr, so I don't know why it did not apply it...

I googled Manufacturer ID: 0xec, Chip ID: 0x75 and found Samsung K9F5608D0C
http://www.alldatasheet.com/datasheet-pdf/pdf/83845/SAMSUNG/K9F5608D0C.html?

Does this help or confirm?



Edited 1 time(s). Last edit at 01/29/2016 02:07AM by Reto.
Re: Iomega ix4-200d U-boot needed
January 29, 2016 06:02AM
Reto,

Here is the summary steps.

1. Boot up the box with kwboot like you have done. Interrup serial console and do all setenvs that you have done before.

2. In Debian, copy the attached new DTB file (kirkwood-iomega_ix4_200d.dtb ) to the /boot/dts folder (save the current DTB to a different name first just in case)

If you have the this DTB embedded inside uImage for kernel 4.2, then build the uImage again with the new DTB.

3. Reboot with kwboot again.

4. Log in and at Debian prompt, print out the relevant info before flashing

dmesg
cat /etc/fw_env.config 
cat /proc/mtd
mtdinfo
fw_printenv

Verify that you see these important settings for mtd

[    2.023413] 3 cmdlinepart partitions found on MTD device orion_nand
[    2.029705] Creating 3 MTD partitions on "orion_nand":
[    2.034897] 0x000000000000-0x000000100000 : "u-boot"
[    2.040972] 0x000000100000-0x000000500000 : "uImage"
[    2.047131] 0x000000500000-0x000002000000 : "rootfs"

4. And flash

flash_erase /dev/mtd0 0 32
nandwrite /dev/mtd0 uboot.2015-tld-1.sheevaplug.mtd0.kwb

flash_erase /dev/mtd0 0xc0000 8
nandwrite -s 786432 /dev/mtd0 uboot.2014.07-tld-3.environment.img

5. Print out the envs

fw_printenv

6. Reboot (keep the current sesion kwboot running as is, it will be just a serial console, no need to do shutdown the box)

sync
shutdown -r now

Please post everything you done in the above steps from the first output of step 1 to the last output of step 6. Whether there were errors or not, we want to see the whole picture.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 2 time(s). Last edit at 01/29/2016 06:45AM by bodhi.
Attachments:
open | download - kirkwood-iomega_ix4_200d.dtb (9.3 KB)
Re: Who can compile an u-boot bin for me?
January 29, 2016 08:10AM
Before I flash, does this look ok so far?

root@debian:/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.2.0-kirkwood-tld-1 -d vmlinuz-4.2.0-kirkwood-tld-1 uImage
Image Name:   Linux-4.2.0-kirkwood-tld-1
Created:      Fri Jan 29 05:56:49 2016
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    3147136 Bytes = 3073.38 kB = 3.00 MB
Load Address: 00008000
Entry Point:  00008000
root@debian:/boot# cp -a zImage-4.2.0-kirkwood-tld-1 zImage.fdt
root@debian:/boot# cat kirkwood-iomega_ix4_200d.dtb >> zImage.fdt
root@debian:/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.2.0-kirkwood-tld-1 -d zImage.fdt uImage
Image Name:   Linux-4.2.0-kirkwood-tld-1
Created:      Fri Jan 29 05:58:29 2016
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    3156656 Bytes = 3082.67 kB = 3.01 MB
Load Address: 00008000
Entry Point:  00008000

reboot...

root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.2.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Aug 31 23:12:00 PDT 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Iomega ix4-200d
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c089f6fc, node_mem_map dfbf9000
[    0.000000]   DMA zone: 1024 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 131072 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:1M(u-boot),4M(uImage),-(rootfs)
[    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: 504304K/524288K available (6019K kernel code, 571K rwdata, 1988K rodata, 284K init, 312K bss, 19984K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07da1b4   (8009 kB)
[    0.000000]       .init : 0xc07db000 - 0xc0822000   ( 284 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b0e24   ( 572 kB)
[    0.000000]        .bss : 0xc08b0e24 - 0xc08ff1a4   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000436] Console: colour dummy device 80x30
[    0.000469] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090237] Security Framework initialized
[    0.090323] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090344] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091131] Initializing cgroup subsys blkio
[    0.091163] Initializing cgroup subsys devices
[    0.091187] Initializing cgroup subsys freezer
[    0.091221] Initializing cgroup subsys net_cls
[    0.091313] CPU: Testing write buffer coherency: ok
[    0.091743] Setting up static identity map for 0x8200 - 0x8258
[    0.092028] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095735] devtmpfs: initialized
[    0.100271] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100751] prandom: seed boundary self test passed
[    0.104511] prandom: 100 self tests passed
[    0.104534] pinctrl core: initialized pinctrl subsystem
[    0.105958] NET: Registered protocol family 16
[    0.106435] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130105] cpuidle: using governor ladder
[    0.160103] cpuidle: using governor menu
[    0.160542] Feroceon L2: Enabling L2
[    0.160590] Feroceon L2: Cache support initialised.
[    0.160987] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.161094] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.166119] No ATAGs?
[    0.201593] vgaarb: loaded
[    0.201975] usbcore: registered new interface driver usbfs
[    0.202058] usbcore: registered new interface driver hub
[    0.202125] usbcore: registered new device driver usb
[    0.203258] clocksource: Switched to clocksource orion_clocksource
[    0.260205] NET: Registered protocol family 2
[    0.260860] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.260922] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.260974] TCP: Hash tables configured (established 4096 bind 4096)
[    0.261043] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.261068] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.261276] NET: Registered protocol family 1
[    0.261680] RPC: Registered named UNIX socket transport module.
[    0.261694] RPC: Registered udp transport module.
[    0.261701] RPC: Registered tcp transport module.
[    0.261709] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261734] PCI: CLS 0 bytes, default 32
[    0.261984] Unpacking initramfs...
[    0.821295] Freeing initrd memory: 6180K (c1100000 - c1709000)
[    0.821438] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.822530] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.822565] Initialise system trusted keyring
[    0.822684] audit: initializing netlink subsys (disabled)
[    0.822734] audit: type=2000 audit(0.810:1): initialized
[    0.823436] zpool: loaded
[    0.823454] zbud: loaded
[    0.823778] VFS: Disk quotas dquot_6.6.0
[    0.823839] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.824438] NFS: Registering the id_resolver key type
[    0.824485] Key type id_resolver registered
[    0.824494] Key type id_legacy registered
[    0.824522] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.824538] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.824770] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.825310] Key type big_key registered
[    0.848261] Key type asymmetric registered
[    0.848286] Asymmetric key parser 'x509' registered
[    0.848381] bounce: pool size: 64 pages
[    0.848459] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.848477] io scheduler noop registered
[    0.848490] io scheduler deadline registered
[    0.848550] io scheduler cfq registered (default)
[    0.849897] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.850569] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated
[    0.850992] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated
[    0.851840] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.851860] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.851876] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.851890] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.851902] pci_bus 0000:00: scanning bus
[    0.851932] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    0.851980] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x40
[    0.852247] pci_bus 0000:00: fixups for bus
[    0.852263] PCI: bus0: Fast back to back transfers disabled
[    0.852279] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    0.852291] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.852308] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    0.852466] pci_bus 0000:01: scanning bus
[    0.852509] pci 0000:01:00.0: [11ab:6121] type 00 class 0x01018f
[    0.852558] pci 0000:01:00.0: reg 0x10: [io  0x8000-0x8007]
[    0.852582] pci 0000:01:00.0: reg 0x14: [io  0x8040-0x8043]
[    0.852605] pci 0000:01:00.0: reg 0x18: [io  0x8200-0x8207]
[    0.852627] pci 0000:01:00.0: reg 0x1c: [io  0x8800-0x8803]
[    0.852650] pci 0000:01:00.0: reg 0x20: [io  0x900000-0x90000f]
[    0.852673] pci 0000:01:00.0: reg 0x24: [mem 0x00800000-0x008003ff]
[    0.852714] pci 0000:01:00.0: calling pci_fixup_ide_bases+0x0/0x40
[    0.852760] pci 0000:01:00.0: supports D1
[    0.852773] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[    0.852789] pci 0000:01:00.0: PME# disabled
[    0.853077] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    0.853109] pci_bus 0000:01: fixups for bus
[    0.853125] PCI: bus1: Fast back to back transfers disabled
[    0.853137] pci_bus 0000:01: bus scan returning with max=01
[    0.853151] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.853167] pci_bus 0000:00: bus scan returning with max=01
[    0.853183] pci 0000:00:01.0: fixup irq: got 0
[    0.853194] pci 0000:00:01.0: assigning IRQ 00
[    0.853247] pci 0000:01:00.0: fixup irq: got 84
[    0.853534] pci 0000:01:00.0: assigning IRQ 84
[    0.853578] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.853595] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.853615] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0000000-0xe00003ff]
[    0.853635] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    0.853653] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    0.853670] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    0.853688] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    0.853707] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    0.853723] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.853736] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.853751] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.854082] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.893952] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    0.933925] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    0.934142] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.973937] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.013935] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.014414] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.015884] console [ttyS0] disabled
[    1.015946] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.771167] console [ttyS0] enabled
[    1.775955] nand: device found, Manufacturer ID: 0xec, Chip ID: 0x75
[    1.782344] nand: Samsung NAND 32MiB 3,3V 8-bit
[    1.786931] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[    1.794302] Scanning device for bad blocks
[    2.147171] 3 cmdlinepart partitions found on MTD device orion_nand
[    2.153485] Creating 3 MTD partitions on "orion_nand":
[    2.158655] 0x000000000000-0x000000100000 : "u-boot"
[    2.164736] 0x000000100000-0x000000500000 : "uImage"
[    2.170788] 0x000000500000-0x000002000000 : "rootfs"
[    2.178230] libphy: Fixed MDIO Bus: probed
[    2.182672] libphy: orion_mdio_bus: probed
[    2.198861] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.283873] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:00:00:00:00:00
[    4.363996] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:00:00:00:00:00
[    4.373065] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.379682] ehci-pci: EHCI PCI platform driver
[    4.384243] ehci-orion: EHCI orion driver
[    4.388454] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.394021] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.401869] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    4.423292] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.429567] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.436418] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.443690] usb usb1: Product: EHCI Host Controller
[    4.448590] usb usb1: Manufacturer: Linux 4.2.0-kirkwood-tld-1 ehci_hcd
[    4.455252] usb usb1: SerialNumber: f1050000.ehci
[    4.460747] hub 1-0:1.0: USB hub found
[    4.464606] hub 1-0:1.0: 1 port detected
[    4.469464] mousedev: PS/2 mouse device common for all mice
[    4.475801] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    4.482880] i2c /dev entries driver
[    4.487957] hidraw: raw HID events driver (C) Jiri Kosina
[    4.493803] drop_monitor: Initializing network drop monitor service
[    4.500342] NET: Registered protocol family 17
[    4.504965] Key type dns_resolver registered
[    4.510083] Loading compiled-in X.509 certificates
[    4.514969] registered taskstats version 1
[    4.519151] zswap: loading zswap
[    4.522402] zswap: using zbud pool
[    4.525852] zswap: using lzo compressor
[    4.541135] Key type encrypted registered
[    4.545951] rtc-mv f1010300.rtc: setting system clock to 2016-01-29 14:03:04 UTC (1454076184)
[    4.555804] PM: Hibernation image not present or could not be loaded.
[    4.556890] Freeing unused kernel memory: 284K (c07db000 - c0822000)
[    4.634197] udevd[85]: starting version 175
[    4.783383] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    4.945269] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    4.952036] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.971802] SCSI subsystem initialized
[    4.975672] usb 1-1: Product: USB2.0 Hub
[    4.980775] hub 1-1:1.0: USB hub found
[    4.989400] hub 1-1:1.0: 4 ports detected
[    5.046934] libata version 3.00 loaded.
[    5.050568] ahci 0000:01:00.0: version 3.0
[    5.050601] pci 0000:00:01.0: enabling device (0140 -> 0143)
[    5.058531] sata_mv f1080000.sata: version 1.28
[    5.058820] sata_mv f1080000.sata: slots 32 ports 2
[    5.090070] pci 0000:00:01.0: enabling bus mastering
[    5.090148] ahci 0000:01:00.0: Disabling your PATA port. Use the boot option 'ahci.marvell_enable=0' to avoid this.
[    5.113029] scsi host0: sata_mv
[    5.131870] scsi host1: sata_mv
[    5.141347] ata1: SATA max UDMA/133 irq 33
[    5.148365] ahci 0000:01:00.0: controller can't do NCQ, turning off CAP_NCQ
[    5.168722] ata2: SATA max UDMA/133 irq 33
[    5.185118] ahci 0000:01:00.0: controller can't do PMP, turning off CAP_PMP
[    5.192121] ahci 0000:01:00.0: masking port_map 0x7 -> 0x3
[    5.221509] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    5.228371] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x3 impl IDE mode
[    5.236507] ahci 0000:01:00.0: flags: 64bit stag led slum part 
[    5.247014] scsi host2: ahci
[    5.250840] scsi host3: ahci
[    5.254694] scsi host4: ahci
[    5.258309] ata3: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000100 irq 84
[    5.265798] ata4: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000180 irq 84
[    5.273229] ata5: DUMMY
[    5.275735] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    5.394506] usb 1-1.2: New USB device found, idVendor=125f, idProduct=de7a
[    5.401432] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.408812] usb 1-1.2: Product: ADATA USB Flash Drive
[    5.413919] usb 1-1.2: Manufacturer: ADATA
[    5.418036] usb 1-1.2: SerialNumber: 14B1311102300064
[    5.449618] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    5.456413] scsi host5: usb-storage 1-1.2:1.0
[    5.462617] usbcore: registered new interface driver usb-storage
[    5.472008] usbcore: registered new interface driver uas
[    5.513312] ata1: SATA link down (SStatus 0 SControl F300)
[    5.623306] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.630797] ata3.00: ATA-9: WDC WD20EFRX-68AX9N0, 80.00A80, max UDMA/133
[    5.637562] ata3.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    5.645813] ata3.00: configured for UDMA/133
[    5.883296] ata2: SATA link down (SStatus 0 SControl F300)
[    5.903707] scsi 2:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68A 0A80 PQ: 0 ANSI: 5
[    6.263305] ata4: SATA link down (SStatus 0 SControl 300)
[    6.346479] sd 2:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    6.355437] sd 2:0:0:0: [sda] 4096-byte physical blocks
[    6.360996] sd 2:0:0:0: [sda] Write Protect is off
[    6.365934] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    6.366070] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.439602]  sda: sda1
[    6.443890] sd 2:0:0:0: [sda] Attached SCSI disk
[    6.454362] scsi 5:0:0:0: Direct-Access     ADATA    USB Flash Drive  1.00 PQ: 0 ANSI: 6
[    6.470942] sd 5:0:0:0: [sdb] 123480064 512-byte logical blocks: (63.2 GB/58.8 GiB)
[    6.481763] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    6.487806] sd 5:0:0:0: [sdb] Write Protect is off
[    6.492633] sd 5:0:0:0: [sdb] Mode Sense: 23 00 00 00
[    6.499842] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[    6.511987] sd 5:0:0:0: Attached scsi generic sg1 type 0
[    6.525683]  sdb: sdb1
[    6.535183] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[   37.133338] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   37.140434] ata3.00: failed command: IDENTIFY DEVICE
[   37.145470] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 13 pio 512 in
[   37.145470]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   37.160163] ata3.00: status: { DRDY }
[   37.163866] ata3: hard resetting link
[   37.513303] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   37.520687] ata3.00: configured for UDMA/133
[   37.532495] ata3: EH complete
[   47.764238] EXT3-fs (sdb1): recovery required on readonly filesystem
[   47.770650] EXT3-fs (sdb1): write access will be enabled during recovery
[   47.840252] kjournald starting.  Commit interval 5 seconds
[   47.848306] EXT3-fs (sdb1): recovery complete
[   47.852685] EXT3-fs (sdb1): mounted filesystem with ordered data mode
[   48.230145] random: nonblocking pool is initialized
[   49.004239] udevd[307]: starting version 175
[   49.793382] orion_wdt: Initial timeout 21 sec
[   49.897584] adt7475 0-002e: ADT7473 device, revision 0
[   49.948003] adt7475 0-002e: Optional features: fan4 pwm2
[   80.093358] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   80.100457] ata3.00: failed command: IDENTIFY DEVICE
[   80.105491] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 13 pio 512 in
[   80.105491]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   80.120177] ata3.00: status: { DRDY }
[   80.123884] ata3: hard resetting link
[   80.473315] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   80.480732] ata3.00: configured for UDMA/133
[   80.493371] ata3: EH complete
[   81.640963] EXT3-fs (sdb1): using internal journal
[   86.314202] NET: Registered protocol family 10

root@debian:~# cat /etc/fw_env.config
# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000

root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00004000 "u-boot"
mtd1: 00400000 00004000 "uImage"
mtd2: 01b00000 00004000 "rootfs"

root@debian:/mdt/sbin# ./mtdinfo
Count of MTD devices:           3
Present MTD devices:            mtd0, mtd1, mtd2
Sysfs interface supported:      yes

root@debian:/mdt/sbin# fw_printenv
ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
arcNumber=2097
Re: Who can compile an u-boot bin for me?
January 29, 2016 08:57AM
The kernel is running OK with the new DTB.

The env sector size in fw_env.config should be:

root@debian:~# cat /etc/fw_env.config
# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
/dev/mtd0 0xc0000 0x20000 0x4000

And the fw_printenv output above is not relevant. Because a different set of envs should be there after flashing the default envs image.

So go ahead and reboot with kwboot starting at step 3.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Who can compile an u-boot bin for me?
January 29, 2016 09:02AM
So should I first modify the fw_env.config to reflect the above values?
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: