Welcome! Log In Create A New Profile

Advanced

Debian on Iomega EZ Media & Backup Center

Posted by Berryshake 
Debian on Iomega EZ Media & Backup Center
April 27, 2014 11:19AM
I was wondering about the other Kirkwood device I Have. It is Iomega’s Ez Media & Backup Center.
I made several unsuccessful attemps to install newer kernel on it...

Here is the console boot output:

Connecting to COM4...
Connected.


         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE 

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz 

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST2000DM001-9YN164                       Firm: CC4B     Ser#:       
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0 

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST2000DM001-9YN164                       Firm: CC4B     Ser#:             Z1E2Z7TH
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)


IDE read: device 0 block # 2048, count 6144 ... 6144 blocks read: OK

IDE read: device 0 block # 8192, count 6144 ... 6144 blocks read: OK
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2013-03-12  22:02:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2831076 Bytes =  2.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00900000 ...
   Image Name:   
   Created:      2013-04-08  17:28:49 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2831418 Bytes =  2.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Linux version 2.6.31.8 (soho@bsoho138.iomegacorp.com) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) Tue Mar 12 18:02:23 EDT 2013 v0.0.9 Tue Mar 12 18:02:23 EDT 2013
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=/dev/ram0 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) :::DB88FXX81:eth0:none
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 114104KB available (5248K code, 326K data, 140K init, 0K highmem)
Hierarchical RCU implementation.
........

and default uboot env:
root@IomegaEZ-2:/# fw_printenv
baudrate=115200
loads_echo=0
rootpath=/srv/ubuntu
netmask=255.255.255.0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
ethact=egiga0
console=console=ttyS0,115200
bootargs_root=root=/dev/ram0
bootargs_mtd=mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)
kernelimage=zImage
initrdimage=mfginitrd
ipaddr=192.168.1.2
mfgmodel=ix1
preroot_ver=0.0.2
bootcmd2=ide dev 1;ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; bootm 0x40000 0x900000;
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no
uboot_ver=0.0.8
fw_ver=3.3.2.29823
serial_number=5563Z01001G30100903J0C1
ethaddr=00:D0:B8:14:0A:D3
serialNo=USAD02000B
modelname=31997701
serialno=0,01Psj7Guhv+GFz9BTdNDEWuZkLCW14v/AGydN4ThnD4c+YvLbnNeoNYr0y5N6KVXP2,USAD02000B,
runintime=10800
ftpserver=192.168.43.4
testfile=100M
mfgtest_state=system_tested_ok
pre_path=IX1/1.0.4/download_runin.sh
pre_path_conf=IX1/1.0.4/download_runin.conf
pre_serverip=192.168.32.4
pre_user=ixxrunin
pre_passwd=123
pre_dirzi=IX1/1.0.4
serverip=192.168.32.4
bootcmd=ide reset; ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2

After some uboot env modification,

usb_scan=setenv usb_device 0:1; setenv usb_root sdb1
make_usb_bootargs=setenv bootargs $(console) $(bootargs_mtd) $(bootargs_end) root=/dev/$(usb_root) rootdelay=10 rootfstype=ext2
bootcmd_usb=usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/zImage; bootm 0x40000
bootcmd1=ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2
bootcmd=ide reset; run bootcmd_usb; usb stop; run bootcmd1


I can boot into Debian wheezy clean in USB stick! but not into newer kernel..... It boot with manufacturer provided kernel(zimage form) only. Kernel wouldn't boot and give message like "Bad Magic Number". well i tried to find proper arcnumber but my lack of knowledge, met with failure.
Any help info would be appreciated.

--------
moderator edit: changed title of the thread to "Debian on Iomega EZ Media & Backup Center" to make it easier to find.



Edited 1 time(s). Last edit at 07/07/2017 04:49AM by bodhi.
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
April 27, 2014 02:34PM
Berryshake,

Is your machine this one http://www.amazon.com/Iomega-Media-Backup-Center-35541/dp/B007A2JNGS ?

From the boot log, it shows this is Soc: 88F6282 A1 CPU. It is not in the mainline, and I don't have a patch for it. It also does not show up in the arcNumber list yet. So if you can find a patch for this, then we go from there. Perhaps you can find the open source from Marvell website.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
April 28, 2014 01:12PM
That product page says: "Dual core CPU at 1.3GHz with 128MB DDR3"

That's not a Kirkwood.
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
April 28, 2014 03:26PM
Marvell Armada, maybe. If those specs are right. ;-)
But the bootlogs indeed seem to indicate Kirkwood. Hmm...
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
April 28, 2014 04:08PM
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
April 28, 2014 06:42PM
root@IOMEGA:~# cat /proc/cpuinfo
Processor	: Feroceon 88FR131 rev 1 (v5l)
BogoMIPS	: 1192.75
Features	: swp half thumb fastmult edsp 
CPU implementer	: 0x56
CPU architecture: 5TE
CPU variant	: 0x2
CPU part	: 0x131
CPU revision	: 1

Hardware	: Feroceon-KW
Revision	: 0000
Serial		: 0000000000000000

I think the spec is wrong. This machine equipped with single-core processor. Maybe the CPU is the same as the ZyXel's NSA325 on it.



Edited 2 time(s). Last edit at 04/28/2014 06:55PM by Berryshake.
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
April 28, 2014 07:03PM
I think it is more like the Topkick than the NSA325. Since you have serial console, you could try the Topkick arcNumber to see if it boots.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
April 28, 2014 07:42PM
Yes I have sereial console.
As a Uboot noob I have a question. Current;y, this device only boots with zImage kernel. Its original Uboot environment said 'kernelimage=zimage' , so I had changed Uboot parameter like as below, to boot from USB stick...

bootcmd_usb=usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/zimage; bootm 0x40000

It only boot with zImage format Kernel, of course. So I converted Bodhi's uImage kernel to zImage whenever I tried.

How to boot from uImage Linux kernel?

.



Edited 2 time(s). Last edit at 04/28/2014 07:43PM by Berryshake.
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
April 28, 2014 09:18PM
That's not necessarily true. You can boot with uImage and uInitrd if booting Debian kernel. So I would change the bootcmd_usb to either:

boot only with uImage
setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; bootm 0x40000
or to boot with uInitrd
setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000

As long as you don't save it with saveenv, it will be reverted back to orginial value upon reboot.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
April 28, 2014 09:59PM
// Bodhi

Thank you for the great advice. I really appreciate it. I'll try to modify U-boot's environment variables.



Edited 1 time(s). Last edit at 04/28/2014 09:59PM by Berryshake.
hi

I have iomega ez and I used Kernel linux-4.10.9-kirkwood-tld-1 package with lenovo ix2-ng.dts

I used instruction on 4b to build uImage but no uInitrd because there is no initramfs-4.10.9-kirkwood-tld-1.

so I boot with uImage only by

setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; bootm 0x40000


here is my serial output, what should I do next?

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.9-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sun Apr 9 23:40:29 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: Lenovo IX2-ng
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) :::DB88FXX81:eth0:none root=/dev/sdb1 rootdelay=10 rootfstype=ext2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 120012K/131072K available (6489K kernel code, 654K rwdata, 1800K rodata, 320K init, 325K bss, 11060K 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 : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc065e808   (6491 kB)
[    0.000000]       .init : 0xc0856000 - 0xc08a6000   ( 320 kB)
[    0.000000]       .data : 0xc08a6000 - 0xc094984c   ( 655 kB)
[    0.000000]        .bss : 0xc094984c - 0xc099af20   ( 326 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.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000530] Console: colour dummy device 80x30
[    0.000562] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090105] pid_max: default: 32768 minimum: 301
[    0.090325] Security Framework initialized
[    0.090456] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090474] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091455] CPU: Testing write buffer coherency: ok
[    0.092339] Setting up static identity map for 0x8200 - 0x8258
[    0.092590] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.095811] devtmpfs: initialized
[    0.100808] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100833] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.101096] prandom: seed boundary self test passed
[    0.104847] prandom: 100 self tests passed
[    0.104857] pinctrl core: initialized pinctrl subsystem
[    0.106080] NET: Registered protocol family 16
[    0.106558] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130102] cpuidle: using governor ladder
[    0.160097] cpuidle: using governor menu
[    0.160564] Feroceon L2: Enabling L2
[    0.160603] Feroceon L2: Cache support initialised.
[    0.160966] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.166476] No ATAGs?
[    0.201504] vgaarb: loaded
[    0.201808] SCSI subsystem initialized
[    0.202256] usbcore: registered new interface driver usbfs
[    0.202343] usbcore: registered new interface driver hub
[    0.202425] usbcore: registered new device driver usb
[    0.203434] clocksource: Switched to clocksource orion_clocksource
[    0.249936] VFS: Disk quotas dquot_6.6.0
[    0.250032] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.259948] NET: Registered protocol family 2
[    0.260791] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260817] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260840] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260903] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260928] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.261112] NET: Registered protocol family 1
[    0.261559] RPC: Registered named UNIX socket transport module.
[    0.261569] RPC: Registered udp transport module.
[    0.261576] RPC: Registered tcp transport module.
[    0.261582] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.262020] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.262821] audit: initializing netlink subsys (disabled)
[    0.263234] Initialise system trusted keyrings
[    0.263504] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.263597] zbud: loaded
[    0.264577] NFS: Registering the id_resolver key type
[    0.264604] Key type id_resolver registered
[    0.264612] Key type id_legacy registered
[    0.264629] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.264637] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.264870] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.265233] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.265453] orangefs_init: module version upstream loaded
[    2.553440] random: fast init done
[    4.348639] Key type asymmetric registered
[    4.348654] Asymmetric key parser 'x509' registered
[    4.348727] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    4.348738] io scheduler noop registered
[    4.348746] io scheduler deadline registered
[    4.348776] io scheduler cfq registered (default)
[    4.349990] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.351772] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.414211] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    4.414434] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.474195] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    4.474644] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.475854] console [ttyS0] disabled
[    4.475917] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 27, base_baud = 12500000) is a 16550A
[    5.043664] console [ttyS0] enabled
[    5.048099] sata_mv f1080000.sata: slots 32 ports 2
[    5.055646] scsi host0: sata_mv
[    5.059212] scsi host1: sata_mv
[    5.062625] ata1: SATA max UDMA/133 irq 34
[    5.066792] ata2: SATA max UDMA/133 irq 34
[    5.072416] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    5.077312] 3 ofpart partitions found on MTD device spi0.0
[    5.082818] Creating 3 MTD partitions on "spi0.0":
[    5.087658] 0x000000000000-0x00000007e000 : "u-boot"
[    5.092646] mtd: partition "u-boot" doesn't end on an erase block -- force read-only
[    5.101771] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    5.107252] mtd: partition "u-boot env2" doesn't start on an erase block boundary -- force read-only
[    5.117556] 0x00000007f000-0x000000080000 : "u-boot env"
[    5.122897] mtd: partition "u-boot env" doesn't start on an erase block boundary -- force read-only
[    5.134111] libphy: Fixed MDIO Bus: probed
[    5.139005] libphy: orion_mdio_bus: probed
[    5.143972] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.244489] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:14:0b:8a
[    5.253342] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.259947] ehci-pci: EHCI PCI platform driver
[    5.264486] ehci-orion: EHCI orion driver
[    5.268697] orion-ehci f1050000.ehci: EHCI Host Controller
[    5.274257] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    5.282124] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    5.313466] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    5.319728] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.326587] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.333877] usb usb1: Product: EHCI Host Controller
[    5.338779] usb usb1: Manufacturer: Linux 4.10.9-kirkwood-tld-1 ehci_hcd
[    5.345543] usb usb1: SerialNumber: f1050000.ehci
[    5.350981] hub 1-0:1.0: USB hub found
[    5.354832] hub 1-0:1.0: 1 port detected
[    5.359642] mousedev: PS/2 mouse device common for all mice
[    5.365880] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    5.372946] i2c /dev entries driver
[    5.378702] hidraw: raw HID events driver (C) Jiri Kosina
[    5.384516] drop_monitor: Initializing network drop monitor service
[    5.391057] NET: Registered protocol family 17
[    5.395739] Key type dns_resolver registered
[    5.400861] registered taskstats version 1
[    5.405011] Loading compiled-in X.509 certificates
[    5.409870] zswap: loaded using pool lzo/zbud
[    5.416605] Key type big_key registered
[    5.422410] Key type encrypted registered
[    5.427797] rtc-mv f1010300.rtc: setting system clock to 2017-05-22 22:42:43 UTC (1495492963)
[    5.436799] Waiting 10 sec before mounting root device...
[    5.563482] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    5.574296] ata1.00: ATA-6: ST340014AS, 8.12, max UDMA/133
[    5.579809] ata1.00: 78125000 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    5.593193] ata1.00: configured for UDMA/133
[    5.608042] scsi 0:0:0:0: Direct-Access     ATA      ST340014AS       8.12 PQ: 0 ANSI: 5
[    5.713462] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    5.908131] usb 1-1: New USB device found, idVendor=05e3, idProduct=0723
[    5.914910] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2
[    5.922112] usb 1-1: Product: USB Storage
[    5.926160] usb 1-1: Manufacturer: Generic
[    5.930381] usb 1-1: SerialNumber: 000000009451
[    6.006414] ata2: SATA link down (SStatus 0 SControl F300)
[   15.843784] VFS: Cannot open root device "sdb1" or unknown-block(0,0): error -19
[   15.851216] Please append a correct "root=" boot option; here are the available partitions:
[   15.859670] 1f00             504 mtdblock0
[   15.859675]  (driver?)
[   15.866280] 1f01               4 mtdblock1
[   15.866284]  (driver?)
[   15.872854] 1f02               4 mtdblock2
[   15.872857]  (driver?)
[   15.879474] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   15.887774] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.9-kirkwood-tld-1 #1
[   15.894850] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   15.901166] [<c0016ab8>] (unwind_backtrace) from [<c0012b78>] (show_stack+0x10/0x14)
[   15.908954] [<c0012b78>] (show_stack) from [<c00d5064>] (panic+0xb0/0x250)
[   15.915870] [<c00d5064>] (panic) from [<c085726c>] (mount_block_root+0x204/0x27c)
[   15.923391] [<c085726c>] (mount_block_root) from [<c08573d0>] (mount_root+0xec/0x118)
[   15.931256] [<c08573d0>] (mount_root) from [<c0857520>] (prepare_namespace+0x124/0x184)
[   15.939296] [<c0857520>] (prepare_namespace) from [<c0856e88>] (kernel_init_freeable+0x210/0x260)
[   15.948213] [<c0856e88>] (kernel_init_freeable) from [<c06593ec>] (kernel_init+0x8/0xf4)
[   15.956346] [<c06593ec>] (kernel_init) from [<c000f0f0>] (ret_from_fork+0x14/0x24)
[   15.963959] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[  138.043480] random: crng init done

---
mod edit: added code tags



Edited 2 time(s). Last edit at 05/23/2017 03:46AM by bodhi.
and here is stock kernel bootlog.

|  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.........................................................................................................................................................................................................................................................................................

2927176 bytes read
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2013-08-22  12:19:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2927112 Bytes =  2.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Linux version 2.6.31.8 (root@EZ) (gcc version 4.4.5 (Debian 4.4.5-8) ) Thu Aug 22 17:40:31 KST 2013 v0.0.9 Thu Aug 22 17:40:31 KST 2013
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) :::DB88FXX81:eth0:none root=/dev/sdb1 rootdelay=10 rootfstype=ext2
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 116764KB available (5348K code, 328K data, 144K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
   arm4regs  :  1019.600 MB/sec
   8regs     :   822.800 MB/sec
   32regs    :   840.400 MB/sec
xor: using function: arm4regs (1019.600 MB/sec)
NET: Registered protocol family 16
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size   1MB
PEX1_MEM ....base e8000000, size 128MB
PEX1_IO ....base f2100000, size   1MB
INTER_REGS ....base f1000000, size   1MB
NFLASH_CS ....base fa000000, size   2MB
SPI_CS ....base f4000000, size  16MB
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB

  Marvell Development Board (LSP Version KW_LSP_5.1.3_patch25)-- DB-88F6282A-BP  Soc: 88F6282 A1 LE

 Detected Tclk 200000000 and SysClk 400000000
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c403e740
PEX0 interface detected no Link.
PEX1 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
raid6: int32x1    107 MB/s
raid6: int32x2    121 MB/s
raid6: int32x4    110 MB/s
raid6: int32x8    109 MB/s
raid6: using algorithm int32x2 (121 MB/s)
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
rtc mv_rtc: rtc core: registered kw-rtc as rtc0
RTC registered
XOR registered 4 channels
XOR 2nd invalidate WA enabled
cesadev_init(c000edd0)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
MV Buttons Driver Load
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 228
alg: No test for cipher_null (cipher_null-generic)
alg: No test for ecb(cipher_null) (ecb-cipher_null)
alg: No test for digest_null (digest_null-generic)
alg: No test for compress_null (compress_null-generic)
alg: No test for stdrng (krng)
alg: No test for hmac(digest_null) (hmac(digest_null-generic))
async_tx: api initialized (sync-only)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012100 (irq = 34) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
Integrated Sata device found
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
scsi 0:0:0:0: Direct-Access     Seagate  ST340014AS       8.12 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 78125000 512-byte logical blocks: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] Write Protect is off
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o 2 Giga ports supported
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o TCP segmentation offload (TSO) supported
  o Large Receive offload (LRO) supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Proc tool API enabled
  o Rx descripors: q0=256
  o Tx descripors: q0=532
  o Loading network interface(s):
     o register under mv88fx_eth platform
     o eth0, ifindex = 2, GbE port = 0

Warning: Giga 1 is Powered Off

tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
SPI Serial flash detected @ 0xf4000000, 1024KB (256sec x 4KB)
3 cmdlinepart partitions found on MTD device spi_flash
Creating 3 MTD partitions on "spi_flash":
0x000000000000-0x00000007e000 : "u-boot"
0x00000007f000-0x000000080000 : "env"
0x00000007e000-0x00000007f000 : "env2"
 sda:Using Hamming 1-bit ECC for NAND device
No NAND device found!!!
 sda1
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
sd 0:0:0:0: [sda] Attached SCSI disk
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
iBoard_model 1
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 5
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc mv_rtc: setting system clock to 2017-05-22 23:17:17 UTC (1495495037)
Waiting 10sec before mounting root device...
usb 1-1: new high speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
scsi 2:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9451 PQ: 0 ANSI: 0
sd 2:0:0:0: Attached scsi generic sg1 type 0
sd 2:0:0:0: [sdb] 7959552 512-byte logical blocks: (4.07 GB/3.79 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI removable disk
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 8:17.
Freeing init memory: 144K
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
.udev/ already exists on the static /dev! ... (warning).
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Cleaning up ifupdown....
Setting up networking....
Generating udev events for MD arrays...done.
Starting early crypto disks...done.
Setting up LVM Volume Groups  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
  No volume groups found
.
Starting remaining crypto disks...done.
Loading kernel modules...done.
Activating lvm and md swap...Adding 524280k swap on /swapfile.  Priority:-1 extents:176 across:652160k
done.
Checking file systems...fsck from util-linux-ng 2.17.2
WARNING: bad format on line 32 of /etc/fstab
done.
Mounting local filesystems...mount: special device /dev/sda1 does not exist
failed.
Activating swapfile swap...done.
Cleaning up temporary files....
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

eth0: link down
eth0: started
Listening on LPF/eth0/00:d0:b8:14:0b:8a
Sending on   LPF/eth0/00:d0:b8:14:0b:8a
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
eth0: link up, full duplex, speed 1 Gbps
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.2.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.2.1
Reloading /etc/samba/smb.conf: smbd onlyNo process in pidfile '/var/run/samba/smbd.pid' found running; none killed.
.
bound to 192.168.2.101 -- renewal in 38568 seconds.
done.
Starting portmap daemon....
Cleaning up temporary files....
Setting kernel variables ...done.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
udevd[1016]: bind failed: Address already in use

udevd[1016]: error binding control socket, seems udevd is already running

Starting the hd-idle daemon: hd-idle.
Starting the hotplug events dispatcher: udevderror binding control socket, seems udevd is already running
 failed!
Starting portmap daemon...Already running..
Generating udev events for MD arrays...done.
Starting enhanced syslogd: rsyslogd.
Starting system message bus: dbus.
Starting periodic command scheduler: cron.
Starting web server: lighttpd.
Starting Samba daemons: nmbd smbd.
Starting NTP server: ntpdStarting FTP server: vsftpd.
Starting bittorrent daemon: transmission-daemon.
Starting OpenBSD Secure Shell server: sshd.
.
Generating udev events for MD arrays...done.
EXT4-fs (sda1): barriers enabled
kjournald2 starting: pid 1250, dev sda1:8, commit interval 5 seconds
EXT4-fs (sda1): internal journal on sda1:8
EXT4-fs (sda1): delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs (sda1): mounted filesystem with writeback data mode
startpar: service(s) returned failure: udev ... failed!

Debian GNU/Linux 6.0 EZ ttyS0

EZ login:



Edited 1 time(s). Last edit at 05/23/2017 03:29AM by bodhi.
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 23, 2017 03:31AM
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 23, 2017 03:53AM
iomega ez,

> I have iomega ez and I used Kernel linux-4.10.9-ki
> rkwood-tld-1 package with lenovo ix2-ng.dts
>
> I used instruction on 4b to build uImage but no uI
> nitrd because there is no initramfs-4.10.9-kirkwoo
> d-tld-1.
>


What you should do is the create a new rootfs on USB:
http://forum.doozan.com/read.php?2,12096

Scroll down to section:

Quote

Updated 20 Feb 2016:

This Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 is to keep in sync with kernel Linux-4.4.0-kirkwood-tld-1.

Basic minimal Debian Kirkwood rootfs for most Kirwood plugs:


The Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 has everything you need. After booting into this 4.4 kernel successfully, you can then proceed to install linux-4.10.9-kirkwood-tld-1 package.

You can use the lenovo ix2-ng.dts. But you need to boot with uInitrd.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>>
Marvell>> setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.........................................................................................................................................................................................................................................................................................................................................

3427395 bytes read
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00040000 ...
   Image Name:   Linux-4.10.9-kirkwood-tld-1
   Created:      2017-05-22  22:34:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3427331 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-4.10.9-kirkwood-tld-1
   Created:      2017-05-23  10:54:25 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.9-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sun Apr 9 23:40:29 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: Lenovo IX2-ng
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) :::DB88FXX81:eth0:none root=/dev/sdb1 rootdelay=10 rootfstype=ext2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 113000K/131072K available (6489K kernel code, 654K rwdata, 1800K rodata, 320K init, 325K bss, 18072K 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 : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc065e808   (6491 kB)
[    0.000000]       .init : 0xc0856000 - 0xc08a6000   ( 320 kB)
[    0.000000]       .data : 0xc08a6000 - 0xc094984c   ( 655 kB)
[    0.000000]        .bss : 0xc094984c - 0xc099af20   ( 326 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.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000528] Console: colour dummy device 80x30
[    0.000561] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090105] pid_max: default: 32768 minimum: 301
[    0.090325] Security Framework initialized
[    0.090456] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090473] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091460] CPU: Testing write buffer coherency: ok
[    0.092337] Setting up static identity map for 0x8200 - 0x8258
[    0.092588] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.095802] devtmpfs: initialized
[    0.100808] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100832] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.101098] prandom: seed boundary self test passed
[    0.104848] prandom: 100 self tests passed
[    0.104858] pinctrl core: initialized pinctrl subsystem
[    0.106074] NET: Registered protocol family 16
[    0.106551] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130099] cpuidle: using governor ladder
[    0.160097] cpuidle: using governor menu
[    0.160565] Feroceon L2: Enabling L2
[    0.160604] Feroceon L2: Cache support initialised.
[    0.160966] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.166480] No ATAGs?
[    0.201512] vgaarb: loaded
[    0.201813] SCSI subsystem initialized
[    0.202273] usbcore: registered new interface driver usbfs
[    0.202344] usbcore: registered new interface driver hub
[    0.202426] usbcore: registered new device driver usb
[    0.203428] clocksource: Switched to clocksource orion_clocksource
[    0.249922] VFS: Disk quotas dquot_6.6.0
[    0.250017] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.259943] NET: Registered protocol family 2
[    0.260780] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260807] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260829] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260890] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260916] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.261099] NET: Registered protocol family 1
[    0.261543] RPC: Registered named UNIX socket transport module.
[    0.261554] RPC: Registered udp transport module.
[    0.261561] RPC: Registered tcp transport module.
[    0.261567] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261835] Unpacking initramfs...
[    0.888725] Freeing initrd memory: 7012K
[    0.888913] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.889795] audit: initializing netlink subsys (disabled)
[    0.890228] Initialise system trusted keyrings
[    0.890424] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.890513] zbud: loaded
[    0.891481] NFS: Registering the id_resolver key type
[    0.891505] Key type id_resolver registered
[    0.891513] Key type id_legacy registered
[    0.891530] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.891539] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.891776] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.892141] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.892362] orangefs_init: module version upstream loaded
[    2.553435] random: fast init done
[    4.983099] Key type asymmetric registered
[    4.983114] Asymmetric key parser 'x509' registered
[    4.983188] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    4.983199] io scheduler noop registered
[    4.983207] io scheduler deadline registered
[    4.983238] io scheduler cfq registered (default)
[    4.984525] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.986337] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.044206] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    5.044431] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.104176] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    5.104626] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.105839] console [ttyS0] disabled
[    5.105903] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 27, base_baud = 12500000) is a 16550A
[    5.680985] console [ttyS0] enabled
[    5.685440] sata_mv f1080000.sata: slots 32 ports 2
[    5.692965] scsi host0: sata_mv
[    5.696583] scsi host1: sata_mv
[    5.699992] ata1: SATA max UDMA/133 irq 34
[    5.704149] ata2: SATA max UDMA/133 irq 34
[    5.709778] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    5.714676] 3 ofpart partitions found on MTD device spi0.0
[    5.720184] Creating 3 MTD partitions on "spi0.0":
[    5.725023] 0x000000000000-0x00000007e000 : "u-boot"
[    5.730011] mtd: partition "u-boot" doesn't end on an erase block -- force read-only
[    5.739106] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    5.744581] mtd: partition "u-boot env2" doesn't start on an erase block boundary -- force read-only
[    5.754885] 0x00000007f000-0x000000080000 : "u-boot env"
[    5.760218] mtd: partition "u-boot env" doesn't start on an erase block boundary -- force read-only
[    5.771321] libphy: Fixed MDIO Bus: probed
[    5.776275] libphy: orion_mdio_bus: probed
[    5.784556] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.884467] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:14:0b:8a
[    5.893314] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.899937] ehci-pci: EHCI PCI platform driver
[    5.904480] ehci-orion: EHCI orion driver
[    5.908694] orion-ehci f1050000.ehci: EHCI Host Controller
[    5.914255] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    5.922136] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    5.953451] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    5.959716] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.966576] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.973867] usb usb1: Product: EHCI Host Controller
[    5.978769] usb usb1: Manufacturer: Linux 4.10.9-kirkwood-tld-1 ehci_hcd
[    5.985533] usb usb1: SerialNumber: f1050000.ehci
[    5.990971] hub 1-0:1.0: USB hub found
[    5.994820] hub 1-0:1.0: 1 port detected
[    5.999630] mousedev: PS/2 mouse device common for all mice
[    6.005868] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    6.012937] i2c /dev entries driver
[    6.018705] hidraw: raw HID events driver (C) Jiri Kosina
[    6.024519] drop_monitor: Initializing network drop monitor service
[    6.031063] NET: Registered protocol family 17
[    6.035754] Key type dns_resolver registered
[    6.040884] registered taskstats version 1
[    6.045027] Loading compiled-in X.509 certificates
[    6.049883] zswap: loaded using pool lzo/zbud
[    6.063056] Key type big_key registered
[    6.075428] Key type encrypted registered
[    6.080802] rtc-mv f1010300.rtc: setting system clock to 2017-05-23 10:56:43 UTC (1495537003)
[    6.203474] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    6.214283] ata1.00: ATA-6: ST340014AS, 8.12, max UDMA/133
[    6.219799] ata1.00: 78125000 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.233185] ata1.00: configured for UDMA/133
[    6.248029] scsi 0:0:0:0: Direct-Access     ATA      ST340014AS       8.12 PQ: 0 ANSI: 5
[    6.353459] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.548141] usb 1-1: New USB device found, idVendor=05e3, idProduct=0723
[    6.554919] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2
[    6.562120] usb 1-1: Product: USB Storage
[    6.566166] usb 1-1: Manufacturer: Generic
[    6.570390] usb 1-1: SerialNumber: 000000009451
[    6.646427] ata2: SATA link down (SStatus 0 SControl F300)
[    6.663164] Freeing unused kernel memory: 320K
[    6.667651] This architecture does not have kernel memory protection.
Loading, please wait...
[    6.744293] systemd-udevd[103]: starting version 215
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
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.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sdb1 does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

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

here is another bootlog, I already have debian wheezy on usb so I just updated kernel.

I am not sure I am on right track.
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 23, 2017 05:40AM
iomega ez,

> I already have debian whe
> ezy on usb so I just updated kernel.

Sure, you are right on doing this. Installing the new kernel on top your existing rootfs.

The next step is to ensure the USB rootfs will be mounted correctly (since there are SATA drives in the box).

1. Mount your USB rootfs on another Linux box and label it rootfs. Asuming it is mounted as sdb1

tune2fs -L rootfs /dev/sdb1
sync

2. plug the USB in the Iomega, power up, interrupt serial console, and

setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; setenv root=LABEL=rootfs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'

and then boot

boot

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
/root $ fw_printenv
baudrate=115200
loads_echo=0
rootpath=/srv/ubuntu
netmask=255.255.255.0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
ethact=egiga0
console=console=ttyS0,115200
bootargs_root=root=/dev/ram0
bootargs_mtd=mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2)
kernelimage=zImage
initrdimage=mfginitrd
ipaddr=192.168.1.2
mfgmodel=ix1
preroot_ver=0.0.2
bootcmd2=ide dev 1;ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; bootm 0x40000 0x900000;
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no
uboot_ver=0.0.8
fw_ver=3.3.2.29823
serial_number=5563Z01001G30100784J0C1
ethaddr=00:D0:B8:14:0B:8A
serialNo=USAD020062
modelname=31997701
serialno=0,01xqV5lWlCJ4voSqhRSkfcpHpi7vDAgRqVwyNe4nzWGO1eGJjRJi8ltftT1y38RqWc,USAD020062,
runintime=10800
ftpserver=192.168.43.4
testfile=100M
mfgtest_state=system_tested_ok
pre_path=IX1/1.0.4/download_runin.sh
pre_path_conf=IX1/1.0.4/download_runin.conf
pre_serverip=192.168.32.4
pre_user=ixxrunin
pre_passwd=123
pre_dirzi=IX1/1.0.4
serverip=192.168.32.4
usb_scan=setenv usb_device 0:1; setenv usb_root sdb1
make_usb_bootargs=setenv bootargs $(console) $(bootargs_mtd) $(bootargs_end) root=/dev/$(usb_root) rootdelay=10 rootfstype=ext2
bootcmd_usb=usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/zImage; bootm 0x40000
bootcmd1=ide read 0x40000 0x800 0x1800; ide read 0x900000 0x2000 0x1800; setenv bootargs $(console) $(bootargs_root) $(bootargs_mtd) $(bootargs_end); bootm 0x40000 0x900000;run bootcmd2
bootcmd=ide reset; run bootcmd_usb; usb stop; run bootcmd1
/root $

here is current env. I still got the same bootlog

        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>>
Marvell>> setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; setenv root=LABEL=rootfs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'
Marvell>>
Marvell>>
Marvell>> setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; setenv root=LABEL=rootfs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.........................................................................................................................................................................................................................................................................................................................................

3427395 bytes read
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00040000 ...
   Image Name:   Linux-4.10.9-kirkwood-tld-1
   Created:      2017-05-22  22:34:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3427331 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-4.10.9-kirkwood-tld-1
   Created:      2017-05-23  10:54:25 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.9-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sun Apr 9 23:40:29 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: Lenovo IX2-ng
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) :::DB88FXX81:eth0:none root=/dev/sdb1 rootdelay=10 rootfstype=ext2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 113000K/131072K available (6489K kernel code, 654K rwdata, 1800K rodata, 320K init, 325K bss, 18072K 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 : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc065e808   (6491 kB)
[    0.000000]       .init : 0xc0856000 - 0xc08a6000   ( 320 kB)
[    0.000000]       .data : 0xc08a6000 - 0xc094984c   ( 655 kB)
[    0.000000]        .bss : 0xc094984c - 0xc099af20   ( 326 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.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000528] Console: colour dummy device 80x30
[    0.000561] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090105] pid_max: default: 32768 minimum: 301
[    0.090325] Security Framework initialized
[    0.090455] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090472] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091459] CPU: Testing write buffer coherency: ok
[    0.092337] Setting up static identity map for 0x8200 - 0x8258
[    0.092587] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.095805] devtmpfs: initialized
[    0.100816] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100839] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.101100] prandom: seed boundary self test passed
[    0.104850] prandom: 100 self tests passed
[    0.104860] pinctrl core: initialized pinctrl subsystem
[    0.106079] NET: Registered protocol family 16
[    0.106557] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130098] cpuidle: using governor ladder
[    0.160096] cpuidle: using governor menu
[    0.160563] Feroceon L2: Enabling L2
[    0.160603] Feroceon L2: Cache support initialised.
[    0.160965] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.166479] No ATAGs?
[    0.201513] vgaarb: loaded
[    0.201815] SCSI subsystem initialized
[    0.202276] usbcore: registered new interface driver usbfs
[    0.202347] usbcore: registered new interface driver hub
[    0.202430] usbcore: registered new device driver usb
[    0.203433] clocksource: Switched to clocksource orion_clocksource
[    0.249950] VFS: Disk quotas dquot_6.6.0
[    0.250043] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.259945] NET: Registered protocol family 2
[    0.260784] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260811] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260833] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260895] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260919] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.261100] NET: Registered protocol family 1
[    0.261551] RPC: Registered named UNIX socket transport module.
[    0.261561] RPC: Registered udp transport module.
[    0.261568] RPC: Registered tcp transport module.
[    0.261575] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261843] Unpacking initramfs...
[    0.888887] Freeing initrd memory: 7012K
[    0.889075] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.889956] audit: initializing netlink subsys (disabled)
[    0.890386] Initialise system trusted keyrings
[    0.890579] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.890666] zbud: loaded
[    0.891637] NFS: Registering the id_resolver key type
[    0.891661] Key type id_resolver registered
[    0.891669] Key type id_legacy registered
[    0.891686] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.891695] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.891930] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.892296] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.892514] orangefs_init: module version upstream loaded
[    2.553440] random: fast init done
[    4.983072] Key type asymmetric registered
[    4.983087] Asymmetric key parser 'x509' registered
[    4.983163] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    4.983174] io scheduler noop registered
[    4.983181] io scheduler deadline registered
[    4.983212] io scheduler cfq registered (default)
[    4.984512] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.986315] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.044195] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    5.044424] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.104183] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    5.104632] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.105846] console [ttyS0] disabled
[    5.105910] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 27, base_baud = 12500000) is a 16550A
[    5.680997] console [ttyS0] enabled
[    5.685449] sata_mv f1080000.sata: slots 32 ports 2
[    5.692972] scsi host0: sata_mv
[    5.696583] scsi host1: sata_mv
[    5.699994] ata1: SATA max UDMA/133 irq 34
[    5.704151] ata2: SATA max UDMA/133 irq 34
[    5.709779] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    5.714679] 3 ofpart partitions found on MTD device spi0.0
[    5.720186] Creating 3 MTD partitions on "spi0.0":
[    5.725027] 0x000000000000-0x00000007e000 : "u-boot"
[    5.730014] mtd: partition "u-boot" doesn't end on an erase block -- force read-only
[    5.739107] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    5.744584] mtd: partition "u-boot env2" doesn't start on an erase block boundary -- force read-only
[    5.754892] 0x00000007f000-0x000000080000 : "u-boot env"
[    5.760230] mtd: partition "u-boot env" doesn't start on an erase block boundary -- force read-only
[    5.771325] libphy: Fixed MDIO Bus: probed
[    5.776277] libphy: orion_mdio_bus: probed
[    5.784559] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.884494] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:14:0b:8a
[    5.893343] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.899965] ehci-pci: EHCI PCI platform driver
[    5.904508] ehci-orion: EHCI orion driver
[    5.908724] orion-ehci f1050000.ehci: EHCI Host Controller
[    5.914287] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    5.922207] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    5.953456] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    5.959720] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.966581] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.973872] usb usb1: Product: EHCI Host Controller
[    5.978773] usb usb1: Manufacturer: Linux 4.10.9-kirkwood-tld-1 ehci_hcd
[    5.985537] usb usb1: SerialNumber: f1050000.ehci
[    5.990979] hub 1-0:1.0: USB hub found
[    5.994825] hub 1-0:1.0: 1 port detected
[    5.999632] mousedev: PS/2 mouse device common for all mice
[    6.005867] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    6.012941] i2c /dev entries driver
[    6.018706] hidraw: raw HID events driver (C) Jiri Kosina
[    6.024522] drop_monitor: Initializing network drop monitor service
[    6.031065] NET: Registered protocol family 17
[    6.035749] Key type dns_resolver registered
[    6.040875] registered taskstats version 1
[    6.045021] Loading compiled-in X.509 certificates
[    6.049877] zswap: loaded using pool lzo/zbud
[    6.063015] Key type big_key registered
[    6.075394] Key type encrypted registered
[    6.080752] rtc-mv f1010300.rtc: setting system clock to 2017-05-23 12:54:34 UTC (1495544074)
[    6.203479] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    6.214298] ata1.00: ATA-6: ST340014AS, 8.12, max UDMA/133
[    6.219812] ata1.00: 78125000 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.233198] ata1.00: configured for UDMA/133
[    6.248048] scsi 0:0:0:0: Direct-Access     ATA      ST340014AS       8.12 PQ: 0 ANSI: 5
[    6.353463] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.548212] usb 1-1: New USB device found, idVendor=05e3, idProduct=0723
[    6.554990] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2
[    6.562193] usb 1-1: Product: USB Storage
[    6.566240] usb 1-1: Manufacturer: Generic
[    6.570462] usb 1-1: SerialNumber: 000000009451
[    6.646496] ata2: SATA link down (SStatus 0 SControl F300)
[    6.663227] Freeing unused kernel memory: 320K
[    6.667717] This architecture does not have kernel memory protection.
Loading, please wait...
[    6.744339] systemd-udevd[103]: starting version 215
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
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.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sdb1 does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) [  199.997886] ata1: exception Emask 0x10 SAct 0x0 SErr 0x180000 action 0x6 frozen
[  200.005258] ata1: edma_err_cause=00000020

Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 23, 2017 09:14AM
Let's try this:

setenv make_usb_bootargs 'setenv bootargs $(console) $(bootargs_mtd) $(bootargs_end) root=LABEL=rootfs rootdelay=10 rootfstype=ext2'
setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'
boot

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 05/23/2017 10:50AM by bodhi.
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>>
Marvell>> setenv make_usb_bootargs 'setenv bootargs $(console) $(bootargs_mtd) $(bootargs_end) root=LABEL=rootfs rootdelay=10 rootfstype=ext2' setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found

now it stops here.
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 23, 2017 08:17PM
iomega ez,


That did not make sense to me :)

Try:
setenv make_usb_bootargs 'setenv bootargs $(console) root=LABEL=rootfs  rootdelay=10 $(bootargs_mtd) $(bootargs_end)'

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> setenv make_usb_bootargs 'setenv bootargs $(console) root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) $(bootargs_end)'
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.........................................................................................................................................................................................................................................................................................

2927176 bytes read
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2013-08-22  12:19:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2927112 Bytes =  2.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Linux version 2.6.31.8 (root@EZ) (gcc version 4.4.5 (Debian 4.4.5-8) ) Thu Aug 22 17:40:31 KST 2013 v0.0.9 Thu Aug 22 17:40:31 KST 2013
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) :::DB88FXX81:eth0:none
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 116764KB available (5348K code, 328K data, 144K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
   arm4regs  :  1019.200 MB/sec
   8regs     :   822.800 MB/sec
   32regs    :   840.400 MB/sec
xor: using function: arm4regs (1019.200 MB/sec)
NET: Registered protocol family 16
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size   1MB
PEX1_MEM ....base e8000000, size 128MB
PEX1_IO ....base f2100000, size   1MB
INTER_REGS ....base f1000000, size   1MB
NFLASH_CS ....base fa000000, size   2MB
SPI_CS ....base f4000000, size  16MB
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB

  Marvell Development Board (LSP Version KW_LSP_5.1.3_patch25)-- DB-88F6282A-BP  Soc: 88F6282 A1 LE

 Detected Tclk 200000000 and SysClk 400000000
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c403e740
PEX0 interface detected no Link.
PEX1 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
raid6: int32x1    107 MB/s
raid6: int32x2    121 MB/s
raid6: int32x4    110 MB/s
raid6: int32x8    109 MB/s
raid6: using algorithm int32x2 (121 MB/s)
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
rtc mv_rtc: rtc core: registered kw-rtc as rtc0
RTC registered
XOR registered 4 channels
XOR 2nd invalidate WA enabled
cesadev_init(c000edd0)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
MV Buttons Driver Load
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 228
alg: No test for cipher_null (cipher_null-generic)
alg: No test for ecb(cipher_null) (ecb-cipher_null)
alg: No test for digest_null (digest_null-generic)
alg: No test for compress_null (compress_null-generic)
alg: No test for stdrng (krng)
alg: No test for hmac(digest_null) (hmac(digest_null-generic))
async_tx: api initialized (sync-only)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012100 (irq = 34) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
Integrated Sata device found
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
scsi 0:0:0:0: Direct-Access     Seagate  ST340014AS       8.12 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 78125000 512-byte logical blocks: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] Write Protect is off
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o 2 Giga ports supported
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o TCP segmentation offload (TSO) supported
  o Large Receive offload (LRO) supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Proc tool API enabled
  o Rx descripors: q0=256
  o Tx descripors: q0=532
  o Loading network interface(s):
     o register under mv88fx_eth platform
     o eth0, ifindex = 2, GbE port = 0

Warning: Giga 1 is Powered Off

tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
SPI Serial flash detected @ 0xf4000000, 1024KB (256sec x 4KB)
3 cmdlinepart partitions found on MTD device spi_flash
Creating 3 MTD partitions on "spi_flash":
0x000000000000-0x00000007e000 : "u-boot"
0x00000007f000-0x000000080000 : "env"
0x00000007e000-0x00000007f000 : "env2"
 sda:Using Hamming 1-bit ECC for NAND device
No NAND device found!!!
 sda1
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
sd 0:0:0:0: [sda] Attached SCSI disk
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
iBoard_model 1
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 5
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc mv_rtc: setting system clock to 2017-05-24 22:29:17 UTC (1495664957)
Waiting 10sec before mounting root device...
usb 1-1: new high speed USB device using ehci_marvell and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
scsi 2:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9451 PQ: 0 ANSI: 0
sd 2:0:0:0: Attached scsi generic sg1 type 0
sd 2:0:0:0: [sdb] 7959552 512-byte logical blocks: (4.07 GB/3.79 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI removable disk
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "LABEL=rootfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
0800        39062500 sda driver: sd
  0801        39061476 sda1
1f00             504 mtdblock0 (driver?)
1f01               4 mtdblock1 (driver?)
1f02               4 mtdblock2 (driver?)
0810         3979776 sdb driver: sd
  0811         3871368 sdb1
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[<c01683a0>] (dump_backtrace+0x0/0x114) from [<c003a058>] (dump_stack+0x18/0x1c)
 r7:c01042b5 r6:00008000 r5:c4709000 r4:c05964d8
[<c003a040>] (dump_stack+0x0/0x1c) from [<c003a0a8>] (panic+0x4c/0x10c)
[<c003a05c>] (panic+0x0/0x10c) from [<c0008f6c>] (mount_block_root+0x1d8/0x218)
 r3:00000000 r2:00000000 r1:c401ff60 r0:c010435c
[<c0008d94>] (mount_block_root+0x0/0x218) from [<c0009070>] (mount_root+0xc4/0xfc)
[<c0008fac>] (mount_root+0x0/0xfc) from [<c0009218>] (prepare_namespace+0x170/0x1c8)
 r5:c0027818 r4:c0595a40
[<c00090a8>] (prepare_namespace+0x0/0x1c8) from [<c000848c>] (kernel_init+0xdc/0x110)
 r5:c0025ec4 r4:c0595800
[<c00083b0>] (kernel_init+0x0/0x110) from [<c0196b7c>] (do_exit+0x0/0x5c0)
 r5:00000000 r4:00000000


Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 24, 2017 11:35PM
iomega ez,

Sorry I was too cryptic.

Let's try this to see if the root device will be mounted correctly (I added double quotes inside the bootargs).

setenv make_usb_bootargs 'setenv bootargs "$(console) root=LABEL=rootfs  rootdelay=10 $(bootargs_mtd) $(bootargs_end)"'
setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'
run bootcmd_usb

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> setenv make_usb_bootargs 'setenv bootargs "$(console) root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) $(bootargs_end)"' setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000' run bootcmd_usb
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
stopped here again...
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 25, 2017 12:24AM
Another try:

setenv make_usb_bootargs 'setenv bootargs "$(console) root=LABEL=rootfs  rootdelay=10 $(bootargs_mtd) earlyprintk=serial'
setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'
run bootcmd_usb

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> setenv make_usb_bootargs 'setenv bootargs "$(console) root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial' setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000' run bootcmd_usb
** Too many args (max. 32) **
Marvell>> setenv make_usb_bootargs 'setenv bootargs "$(console) root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial'
Marvell>> setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000' run bootcmd_usb
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
bootargs="console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) earlyprintk=serial
....
.........................................................................................................................................................................................................................................................................................................................................

3427395 bytes read
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00040000 ...
   Image Name:   Linux-4.10.9-kirkwood-tld-1
   Created:      2017-05-22  22:34:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3427331 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-4.10.9-kirkwood-tld-1
   Created:      2017-05-23  10:54:25 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.9-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sun Apr 9 23:40:29 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: Lenovo IX2-ng
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) earlyprintk=serial
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 113000K/131072K available (6489K kernel code, 654K rwdata, 1800K rodata, 320K init, 325K bss, 18072K 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 : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc065e808   (6491 kB)
[    0.000000]       .init : 0xc0856000 - 0xc08a6000   ( 320 kB)
[    0.000000]       .data : 0xc08a6000 - 0xc094984c   ( 655 kB)
[    0.000000]        .bss : 0xc094984c - 0xc099af20   ( 326 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.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000530] Console: colour dummy device 80x30
[    0.000561] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090107] pid_max: default: 32768 minimum: 301
[    0.090328] Security Framework initialized
[    0.090460] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090477] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091537] CPU: Testing write buffer coherency: ok
[    0.092424] Setting up static identity map for 0x8200 - 0x8258
[    0.092676] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.095801] devtmpfs: initialized
[    0.100547] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100572] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.100834] prandom: seed boundary self test passed
[    0.104585] prandom: 100 self tests passed
[    0.104597] pinctrl core: initialized pinctrl subsystem
[    0.105790] NET: Registered protocol family 16
[    0.106140] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130098] cpuidle: using governor ladder
[    0.160096] cpuidle: using governor menu
[    0.160439] Feroceon L2: Enabling L2
[    0.160478] Feroceon L2: Cache support initialised.
[    0.160841] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.166361] No ATAGs?
[    0.201498] vgaarb: loaded
[    0.201801] SCSI subsystem initialized
[    0.202262] usbcore: registered new interface driver usbfs
[    0.202334] usbcore: registered new interface driver hub
[    0.202411] usbcore: registered new device driver usb
[    0.203307] clocksource: Switched to clocksource orion_clocksource
[    0.249754] VFS: Disk quotas dquot_6.6.0
[    0.249839] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.259761] NET: Registered protocol family 2
[    0.260599] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260625] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260648] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260710] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260735] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.260904] NET: Registered protocol family 1
[    0.261365] RPC: Registered named UNIX socket transport module.
[    0.261376] RPC: Registered udp transport module.
[    0.261383] RPC: Registered tcp transport module.
[    0.261389] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261668] Unpacking initramfs...
[    0.893563] Freeing initrd memory: 7012K
[    0.893636] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.894500] audit: initializing netlink subsys (disabled)
[    0.894929] Initialise system trusted keyrings
[    0.895118] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.895207] zbud: loaded
[    0.896174] NFS: Registering the id_resolver key type
[    0.896202] Key type id_resolver registered
[    0.896210] Key type id_legacy registered
[    0.896226] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.896235] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.896469] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.896834] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.897053] orangefs_init: module version upstream loaded
[    2.553312] random: fast init done
[    4.987872] Key type asymmetric registered
[    4.987886] Asymmetric key parser 'x509' registered
[    4.987960] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    4.987971] io scheduler noop registered
[    4.987979] io scheduler deadline registered
[    4.988010] io scheduler cfq registered (default)
[    4.989238] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.991033] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.054056] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    5.054279] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.114061] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    5.114518] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.115721] console [ttyS0] disabled
[    5.115782] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 27, base_baud = 12500000) is a 16550A
[    5.689464] console [ttyS0] enabled
[    5.693925] sata_mv f1080000.sata: slots 32 ports 2
[    5.701442] scsi host0: sata_mv
[    5.705062] scsi host1: sata_mv
[    5.708465] ata1: SATA max UDMA/133 irq 34
[    5.712584] ata2: SATA max UDMA/133 irq 34
[    5.718252] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    5.723087] 3 ofpart partitions found on MTD device spi0.0
[    5.728641] Creating 3 MTD partitions on "spi0.0":
[    5.733473] 0x000000000000-0x00000007e000 : "u-boot"
[    5.738456] mtd: partition "u-boot" doesn't end on an erase block -- force read-only
[    5.747534] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    5.752956] mtd: partition "u-boot env2" doesn't start on an erase block boundary -- force read-only
[    5.763291] 0x00000007f000-0x000000080000 : "u-boot env"
[    5.768671] mtd: partition "u-boot env" doesn't start on an erase block boundary -- force read-only
[    5.779770] libphy: Fixed MDIO Bus: probed
[    5.784733] libphy: orion_mdio_bus: probed
[    5.792950] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.894356] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:14:0b:8a
[    5.903206] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.909810] ehci-pci: EHCI PCI platform driver
[    5.914351] ehci-orion: EHCI orion driver
[    5.918546] orion-ehci f1050000.ehci: EHCI Host Controller
[    5.924112] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    5.931954] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    5.963339] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    5.969613] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.976478] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.983768] usb usb1: Product: EHCI Host Controller
[    5.988669] usb usb1: Manufacturer: Linux 4.10.9-kirkwood-tld-1 ehci_hcd
[    5.995433] usb usb1: SerialNumber: f1050000.ehci
[    6.000845] hub 1-0:1.0: USB hub found
[    6.004696] hub 1-0:1.0: 1 port detected
[    6.009501] mousedev: PS/2 mouse device common for all mice
[    6.015734] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    6.022802] i2c /dev entries driver
[    6.028558] hidraw: raw HID events driver (C) Jiri Kosina
[    6.034384] drop_monitor: Initializing network drop monitor service
[    6.040927] NET: Registered protocol family 17
[    6.045621] Key type dns_resolver registered
[    6.050630] registered taskstats version 1
[    6.054778] Loading compiled-in X.509 certificates
[    6.059636] zswap: loaded using pool lzo/zbud
[    6.072761] Key type big_key registered
[    6.085397] Key type encrypted registered
[    6.090740] rtc-mv f1010300.rtc: setting system clock to 2017-05-25 06:27:53 UTC (1495693673)
[    6.213352] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    6.224167] ata1.00: ATA-6: ST340014AS, 8.12, max UDMA/133
[    6.229682] ata1.00: 78125000 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.240988] ata1.00: configured for UDMA/133
[    6.255843] scsi 0:0:0:0: Direct-Access     ATA      ST340014AS       8.12 PQ: 0 ANSI: 5
[    6.363333] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.558086] usb 1-1: New USB device found, idVendor=05e3, idProduct=0723
[    6.564862] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2
[    6.572063] usb 1-1: Product: USB Storage
[    6.576111] usb 1-1: Manufacturer: Generic
[    6.580333] usb 1-1: SerialNumber: 000000009451
[    6.656367] ata2: SATA link down (SStatus 0 SControl F300)
[    6.673097] Freeing unused kernel memory: 320K
[    6.677584] This architecture does not have kernel memory protection.
Loading, please wait...
[    6.754217] systemd-udevd[103]: starting version 215
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
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.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/rootfs does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) 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: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 25, 2017 02:16AM
Try:

setenv make_usb_bootargs 'setenv bootargs $(console) root=LABEL=rootfs  rootdelay=10 $(bootargs_mtd) earlyprintk=serial'
setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'
run bootcmd_usb

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> setenv make_usb_bootargs 'setenv bootargs $(console) root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial' setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000' run bootcmd_usb
** Too many args (max. 32) **
Marvell>> setenv make_usb_bootargs 'setenv bootargs $(console) root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial'
Marvell>> setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000' run bootcmd_usb
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) earlyprintk=serial
....
.........................................................................................................................................................................................................................................................................................................................................

3427395 bytes read
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00040000 ...
   Image Name:   Linux-4.10.9-kirkwood-tld-1
   Created:      2017-05-22  22:34:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3427331 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-4.10.9-kirkwood-tld-1
   Created:      2017-05-23  10:54:25 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    5.495502] console [ttyS0] enabled
[    5.502597] bootconsole [earlycon0] disabled
[    5.512181] sata_mv f1080000.sata: slots 32 ports 2
[    5.519725] scsi host0: sata_mv
[    5.523301] scsi host1: sata_mv
[    5.526755] ata1: SATA max UDMA/133 irq 34
[    5.530867] ata2: SATA max UDMA/133 irq 34
[    5.536532] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    5.541379] 3 ofpart partitions found on MTD device spi0.0
[    5.546927] Creating 3 MTD partitions on "spi0.0":
[    5.551747] 0x000000000000-0x00000007e000 : "u-boot"
[    5.556749] mtd: partition "u-boot" doesn't end on an erase block -- force read-only
[    5.565824] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    5.571298] mtd: partition "u-boot env2" doesn't start on an erase block boundary -- force read-only
[    5.581594] 0x00000007f000-0x000000080000 : "u-boot env"
[    5.586972] mtd: partition "u-boot env" doesn't start on an erase block boundary -- force read-only
[    5.598054] libphy: Fixed MDIO Bus: probed
[    5.602950] libphy: orion_mdio_bus: probed
[    5.611210] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.717339] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:14:0b:8a
[    5.726192] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.732818] ehci-pci: EHCI PCI platform driver
[    5.737357] ehci-orion: EHCI orion driver
[    5.741568] orion-ehci f1050000.ehci: EHCI Host Controller
[    5.747160] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    5.755092] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    5.786290] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    5.792557] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.799417] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.806707] usb usb1: Product: EHCI Host Controller
[    5.811610] usb usb1: Manufacturer: Linux 4.10.9-kirkwood-tld-1 ehci_hcd
[    5.818373] usb usb1: SerialNumber: f1050000.ehci
[    5.823809] hub 1-0:1.0: USB hub found
[    5.827655] hub 1-0:1.0: 1 port detected
[    5.832458] mousedev: PS/2 mouse device common for all mice
[    5.838689] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    5.845758] i2c /dev entries driver
[    5.851517] hidraw: raw HID events driver (C) Jiri Kosina
[    5.857380] drop_monitor: Initializing network drop monitor service
[    5.863892] NET: Registered protocol family 17
[    5.868585] Key type dns_resolver registered
[    5.873598] registered taskstats version 1
[    5.877746] Loading compiled-in X.509 certificates
[    5.882611] zswap: loaded using pool lzo/zbud
[    5.895730] Key type big_key registered
[    5.908054] Key type encrypted registered
[    5.913413] rtc-mv f1010300.rtc: setting system clock to 2017-05-25 08:34:52 UTC (1495701292)
[    6.026314] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    6.037131] ata1.00: ATA-6: ST340014AS, 8.12, max UDMA/133
[    6.042645] ata1.00: 78125000 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.054161] ata1.00: configured for UDMA/133
[    6.069016] scsi 0:0:0:0: Direct-Access     ATA      ST340014AS       8.12 PQ: 0 ANSI: 5
[    6.186301] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.380973] usb 1-1: New USB device found, idVendor=05e3, idProduct=0723
[    6.387751] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2
[    6.394952] usb 1-1: Product: USB Storage
[    6.398998] usb 1-1: Manufacturer: Generic
[    6.403221] usb 1-1: SerialNumber: 000000009451
[    6.469119] ata2: SATA link down (SStatus 0 SControl F300)
[    6.485855] Freeing unused kernel memory: 320K
[    6.490342] This architecture does not have kernel memory protection.
Loading, please wait...
[    6.567152] systemd-udevd[103]: starting version 215
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
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.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/rootfs does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

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

stop here.
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 25, 2017 02:51AM
Try:

setenv make_usb_bootargs 'setenv bootargs "$(console) root=LABEL=rootfs  rootdelay=10 $(bootargs_mtd) earlyprintk=serial"'
setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'
run bootcmd_usb

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** ix1-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Oct 28 2011 - 15:17:21) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1200Mhz L2 running @ 600Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 6 tRP = 6 tRAS = 15 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)


CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>>  setenv make_usb_bootargs 'setenv bootargs "$(console) root=LABEL=rootfs rootdelay=10 $(bootargs_mtd) earlyprintk=serial"'
Marvell>> setenv bootcmd_usb 'usb reset; run usb_scan; run make_usb_bootargs; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000' run bootcmd_usb
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: ST340014AS                               Firm: 8.12     Ser#:             5MQ3ESZM
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 38146.9 MB = 37.2 GB (78125000 x 512)

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
bootargs="console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) earlyprintk=serial"
....
.........................................................................................................................................................................................................................................................................................................................................

3427395 bytes read
....
.........................................................................................................................................................................................................................................................................................................................................................................................................................
..............................................................................................................................................................................................................................................................................................

7179935 bytes read
## Booting image at 00040000 ...
   Image Name:   Linux-4.10.9-kirkwood-tld-1
   Created:      2017-05-22  22:34:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3427331 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-4.10.9-kirkwood-tld-1
   Created:      2017-05-23  10:54:25 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes =  6.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.9-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sun Apr 9 23:40:29 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: Lenovo IX2-ng
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x7e000@0(u-boot),0x1000@0x7f000(env),0x1000@0x7e000(env2) earlyprintk=serial"
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 113000K/131072K available (6489K kernel code, 654K rwdata, 1800K rodata, 320K init, 325K bss, 18072K 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 : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc065e808   (6491 kB)
[    0.000000]       .init : 0xc0856000 - 0xc08a6000   ( 320 kB)
[    0.000000]       .data : 0xc08a6000 - 0xc094984c   ( 655 kB)
[    0.000000]        .bss : 0xc094984c - 0xc099af20   ( 326 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.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000531] Console: colour dummy device 80x30
[    0.000562] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090327] Security Framework initialized
[    0.090457] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090475] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091544] CPU: Testing write buffer coherency: ok
[    0.092425] Setting up static identity map for 0x8200 - 0x8258
[    0.092678] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.095791] devtmpfs: initialized
[    0.100551] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100576] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.100836] prandom: seed boundary self test passed
[    0.104586] prandom: 100 self tests passed
[    0.104596] pinctrl core: initialized pinctrl subsystem
[    0.105784] NET: Registered protocol family 16
[    0.106134] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130098] cpuidle: using governor ladder
[    0.160096] cpuidle: using governor menu
[    0.160439] Feroceon L2: Enabling L2
[    0.160479] Feroceon L2: Cache support initialised.
[    0.160841] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.166360] No ATAGs?
[    0.201493] vgaarb: loaded
[    0.201796] SCSI subsystem initialized
[    0.202256] usbcore: registered new interface driver usbfs
[    0.202327] usbcore: registered new interface driver hub
[    0.202403] usbcore: registered new device driver usb
[    0.203298] clocksource: Switched to clocksource orion_clocksource
[    0.249758] VFS: Disk quotas dquot_6.6.0
[    0.249844] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.259755] NET: Registered protocol family 2
[    0.260594] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260621] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.260644] TCP: Hash tables configured (established 1024 bind 1024)
[    0.260706] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260730] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.260902] NET: Registered protocol family 1
[    0.261362] RPC: Registered named UNIX socket transport module.
[    0.261373] RPC: Registered udp transport module.
[    0.261379] RPC: Registered tcp transport module.
[    0.261386] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261663] Unpacking initramfs...
[    0.893525] Freeing initrd memory: 7012K
[    0.893597] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.894464] audit: initializing netlink subsys (disabled)
[    0.894894] Initialise system trusted keyrings
[    0.895089] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.895181] zbud: loaded
[    0.896146] NFS: Registering the id_resolver key type
[    0.896170] Key type id_resolver registered
[    0.896177] Key type id_legacy registered
[    0.896194] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.896203] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.896438] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.896802] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.897023] orangefs_init: module version upstream loaded
[    2.553306] random: fast init done
[    4.987831] Key type asymmetric registered
[    4.987846] Asymmetric key parser 'x509' registered
[    4.987922] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    4.987933] io scheduler noop registered
[    4.987940] io scheduler deadline registered
[    4.987971] io scheduler cfq registered (default)
[    4.989201] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.990992] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.054051] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    5.054278] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.114066] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    5.114519] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.115727] console [ttyS0] disabled
[    5.115788] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 27, base_baud = 12500000) is a 16550A
[    5.689572] console [ttyS0] enabled
[    5.694029] sata_mv f1080000.sata: slots 32 ports 2
[    5.701551] scsi host0: sata_mv
[    5.705169] scsi host1: sata_mv
[    5.708580] ata1: SATA max UDMA/133 irq 34
[    5.712699] ata2: SATA max UDMA/133 irq 34
[    5.718363] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    5.723203] 3 ofpart partitions found on MTD device spi0.0
[    5.728757] Creating 3 MTD partitions on "spi0.0":
[    5.733589] 0x000000000000-0x00000007e000 : "u-boot"
[    5.738570] mtd: partition "u-boot" doesn't end on an erase block -- force read-only
[    5.747653] 0x00000007e000-0x00000007f000 : "u-boot env2"
[    5.753081] mtd: partition "u-boot env2" doesn't start on an erase block boundary -- force read-only
[    5.763454] 0x00000007f000-0x000000080000 : "u-boot env"
[    5.768794] mtd: partition "u-boot env" doesn't start on an erase block boundary -- force read-only
[    5.779907] libphy: Fixed MDIO Bus: probed
[    5.784868] libphy: orion_mdio_bus: probed
[    5.793115] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.894370] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:b8:14:0b:8a
[    5.903218] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.909830] ehci-pci: EHCI PCI platform driver
[    5.914370] ehci-orion: EHCI orion driver
[    5.918566] orion-ehci f1050000.ehci: EHCI Host Controller
[    5.924132] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    5.932068] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    5.963320] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    5.969596] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.976463] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.983751] usb usb1: Product: EHCI Host Controller
[    5.988654] usb usb1: Manufacturer: Linux 4.10.9-kirkwood-tld-1 ehci_hcd
[    5.995418] usb usb1: SerialNumber: f1050000.ehci
[    6.000831] hub 1-0:1.0: USB hub found
[    6.004683] hub 1-0:1.0: 1 port detected
[    6.009484] mousedev: PS/2 mouse device common for all mice
[    6.015720] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    6.022785] i2c /dev entries driver
[    6.028545] hidraw: raw HID events driver (C) Jiri Kosina
[    6.034367] drop_monitor: Initializing network drop monitor service
[    6.040913] NET: Registered protocol family 17
[    6.045597] Key type dns_resolver registered
[    6.050610] registered taskstats version 1
[    6.054755] Loading compiled-in X.509 certificates
[    6.059619] zswap: loaded using pool lzo/zbud
[    6.072755] Key type big_key registered
[    6.085198] Key type encrypted registered
[    6.090535] rtc-mv f1010300.rtc: setting system clock to 2017-05-25 08:58:01 UTC (1495702681)
[    6.213345] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    6.224162] ata1.00: ATA-6: ST340014AS, 8.12, max UDMA/133
[    6.229674] ata1.00: 78125000 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    6.243064] ata1.00: configured for UDMA/133
[    6.257921] scsi 0:0:0:0: Direct-Access     ATA      ST340014AS       8.12 PQ: 0 ANSI: 5
[    6.363327] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.558075] usb 1-1: New USB device found, idVendor=05e3, idProduct=0723
[    6.564854] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2
[    6.572056] usb 1-1: Product: USB Storage
[    6.576105] usb 1-1: Manufacturer: Generic
[    6.580326] usb 1-1: SerialNumber: 000000009451
[    6.656361] ata2: SATA link down (SStatus 0 SControl F300)
[    6.673093] Freeing unused kernel memory: 320K
[    6.677579] This architecture does not have kernel memory protection.
Loading, please wait...
[    6.754180] systemd-udevd[103]: starting version 215
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
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.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/rootfs does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.10.9-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

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

stop here.
Re: Can install Bodhi's kernel on still 'unsupported' kirkwood device?
May 25, 2017 03:18AM
I see. So this stock boot really does not understand double quotes.

Let's try to run it in baby steps

setenv bootargs '$(console) root=LABEL=rootfs  rootdelay=10 $(bootargs_mtd) earlyprintk=serial'
setenv bootcmd_usb 'usb reset; run usb_scan; printenv bootargs; ext2load usb $(usb_device) 0x40000 /boot/uImage; ext2load usb $(usb_device) 0x1100000 /boot/uInitrd; bootm 0x40000 0x1100000'
run bootcmd_usb

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Author:

Your Email:


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: