Welcome! Log In Create A New Profile

Advanced

Switch Seagate dockstar from ARCH to debian

Posted by craigcoffman 
Switch Seagate dockstar from ARCH to debian
February 12, 2016 05:07PM
Hey all, wondering if someone can point me in the right direction here:

I've got an old seagate dockstar I converted to run ARCH linux years ago. I boot from various USB devices hooked to the 1st USB port (the one that was supposed to be for th dock on top).

It boots the most recent version of ARCH downloaded from archlinuxarm.org, no issues, right out of the box.

BUT, I'd really rather run debian. I have a bunch of Pogo-plug mobiles all running debian & all my other 'real' boxes run debian, so I just don't want to have the 'lone' dockstar being the only one running ARCH. Anyway, it won't boot a debian image.

I have two images I've tried:

debian-wheezy-dockstar-130512.tar.xz

and

Debian-3.14.0-kirkwood-tld-1-rootfs-bodhi.tar

uboot finds the image just fine, the kernel boots, but then we get to

"Waiting for root device /dev/sda1" & it hangs.

I'm guessing that it's either a uboot enviroment parameter, OR that I simply need to update/change the uboot install (it does say "Arch Linux" when uboot starts.
But, not being a u-boot guru, I'm not sure which. I don' want to muck up this old piece of hardware, I'd rather put it back to work.

Anyone? Bueller?
Re: Switch Seagate dockstar from ARCH to debian
February 12, 2016 05:16PM
Ahh.. just stumbled across the pointer on migrating from Arch to Debian which points me to this thread: http://forum.doozan.com/read.php?3,23727

So I need to update uboot basically, correct. An I assume all my questions are answered here if I just start reading & digging?
Re: Switch Seagate dockstar from ARCH to debian
February 12, 2016 05:21PM
craigcoffman,

> "Waiting for root device /dev/sda1" & it hangs.
>
> I'm guessing that it's either a uboot enviroment
> parameter, OR that I simply need to update/change
> the uboot install (it does say "Arch Linux" when
> uboot starts.

Sounds like you have serial console? If so, boot up, interrupt serial console and get the envs listing:
printenv

and then continue booting
boot


Please post the entire serial console log here. I will take a look.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Switch Seagate dockstar from ARCH to debian
February 12, 2016 05:34PM
Yep, have a serial console cable... here's my printenv

DockStar> printenv
baudrate=115200
bootcmd=usb start; setenv letter 9;for type in usb; do for disk in 0 1 2 3; do if ${type} part ${dis
k};then setexpr letter $letter + 1;run l;
bootdelay=3
bootm=echo Booting from ${disk} ...; run setargs; bootm ${loadaddr};
bootz=echo Booting from ${disk} ...; run setargs; bootz ${loadaddr} - ${fdt_addr};
console=ttyS0
ethact=egiga0
ethaddr=00:10:75:1A:A4:B0
fdt_addr=0x800000
fdt_file=/boot/dtbs/kirkwood-dockstar.dtb
importbootenv=echo Importing environment (uEnv.txt)...; env import -t $loadaddr $filesize
letter=9
load=echo Attempting to boot from ${type} ${disk}:1...;if run loadbootenv; then run importbootenv;fi
;echo Checking if uenvcmd is set ...;if ;
loadaddr=0x810000
loadbootenv=load ${type} ${disk}:1 ${loadaddr} /boot/uEnv.txt
loadfdt=load ${type} ${disk}:1 ${fdt_addr} ${fdt_file}
loaduimage=load ${type} ${disk}:1 ${loadaddr} ${uimage}
loadzimage=load ${type} ${disk}:1 ${loadaddr} ${zimage}
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
setargs=setenv bootargs console=${console},${baudrate} ${optargs} root=/dev/sd${letter}1 rw rootwait
${mtdparts}
uimage=/boot/uImage
zimage=/boot/zImage


Was just reading over the various threads, sounds like if I flash it to the lastest uboot referenced in the previously mentioned link, I should be good?

What is the download URL for all the various stuff?
Re: Switch Seagate dockstar from ARCH to debian
February 12, 2016 05:36PM
Oh, & to follow up on your other question.. yeah, if I enter 'boot' at the Dockstar> prompt.. same behavoir. Finds the uboot image, then hangs as stated.
Re: Switch Seagate dockstar from ARCH to debian
February 12, 2016 05:53PM
craigcoffman Wrote:
-------------------------------------------------------
> Ahh.. just stumbled across the pointer on
> migrating from Arch to Debian which points me to
> this thread:
> http://forum.doozan.com/read.php?3,23727
>
> So I need to update uboot basically, correct.

No. You don't need to if you don't want to. The linked thread above showed how you can still use Arch u-boot, and boot Debian. Of course you can also update u-boot with my latest version: http://forum.doozan.com/read.php?3,12381

> I assume all my questions are answered here if I
> just start reading & digging?

Yes. Latest u-boot is the above link. And you already have the Debian rootfs 3.14.

If you have question along the way, the first thing you should post is the entire serial console log (from u-boot banner to the point where problem occured). It is a preferred way to troubleshoot problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 02/12/2016 05:57PM by bodhi.
Re: Switch Seagate dockstar from ARCH to debian
February 13, 2016 09:18AM
bohdi:

Sorry had a friend drop by & didn't get back to this until this morning.

Boot logs.

Bootlog#1 Virgin image from Debian-3.14.0-kirkwood-tld-1-rootfs-bodhi.tar

No changes at all to fs. label is "rootfs"

U-Boot 2014.04.R2-1 (May 15 2014 - 14:35:47) Arch Linux ARM
Seagate FreeAgent DockStar

SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... Device NOT ready
Request Sense returned 02 3A 00
Device NOT ready
Request Sense returned 02 3A 00
Device NOT ready
Request Sense returned 02 3A 00
4 Storage Device(s) found

Partition Map for USB device 0 -- Partition Type: DOS

Part Start Sector Num Sectors UUID Type
1 2048 29327360 000b2a62-01 83 Boot
2 29331454 1959938 000b2a62-02 05 Extd
5 29331456 1959936 000b2a62-05 82
Attempting to boot from usb 0:1...
** File not found /boot/uEnv.txt **
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2461416 bytes read in 351 ms (6.7 MiB/s)
Booting from 0 ...
## Booting kernel from Legacy Image at 00810000 ...
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Tue Apr 1 22:54:58 PDT4
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Seagate FreeAgent DockStar
[ 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=/dev/sda1 rw rootwait mtdparts=orion_nand:1M(u-boot),-(rootfs)
[ 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: 122460K/131072K available (4779K kernel code, 352K rwdata, 1644K rodata, 213K init, 424K bss, 8612K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc064df14 (6424 kB)
[ 0.000000] .init : 0xc064e000 - 0xc0683444 ( 214 kB)
[ 0.000000] .data : 0xc0684000 - 0xc06dc3c4 ( 353 kB)
[ 0.000000] .bss : 0xc06dc3c4 - 0xc074665c ( 425 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 10.703100] Console: colour dummy device 80x30
[ 10.703131] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 10.792873] pid_max: default: 32768 minimum: 301
[ 10.792981] Security Framework initialized
[ 10.793045] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 10.793065] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 10.793653] Initializing cgroup subsys devices
[ 10.793677] Initializing cgroup subsys freezer
[ 10.793690] Initializing cgroup subsys net_cls
[ 10.793701] Initializing cgroup subsys blkio
[ 10.793777] CPU: Testing write buffer coherency: ok
[ 10.794168] Setting up static identity map for 0x485fa0 - 0x485fdc
[ 10.796283] devtmpfs: initialized
[ 10.798887] prandom: seed boundary self test passed
[ 10.802985] prandom: 100 self tests passed
[ 10.803002] pinctrl core: initialized pinctrl subsystem
[ 10.803383] regulator-dummy: no parameters
[ 10.803720] NET: Registered protocol family 16
[ 10.804135] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 10.804927] cpuidle: using governor ladder
[ 10.804943] cpuidle: using governor menu
[ 10.805053] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 10.805074] Feroceon L2: Enabling L2
[ 10.805113] Feroceon L2: Cache support initialised.
[ 10.810322] bio: create slab <bio-0> at 0
[ 10.810768] vgaarb: loaded
[ 10.811067] usbcore: registered new interface driver usbfs
[ 10.811134] usbcore: registered new interface driver hub
[ 10.811262] usbcore: registered new device driver usb
[ 10.811980] Switched to clocksource orion_clocksource
[ 10.836718] NET: Registered protocol family 2
[ 10.837370] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 10.837396] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 10.837417] TCP: Hash tables configured (established 1024 bind 1024)
[ 10.837486] TCP: reno registered
[ 10.837502] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 10.837524] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 10.837718] NET: Registered protocol family 1
[ 10.838040] RPC: Registered named UNIX socket transport module.
[ 10.838052] RPC: Registered udp transport module.
[ 10.838059] RPC: Registered tcp transport module.
[ 10.838066] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 10.838409] NetWinder Floating Point Emulator V0.97 (double precision)
[ 10.838934] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 10.839082] audit: initializing netlink subsys (disabled)
[ 10.839131] audit: type=2000 audit(0.120:1): initialized
[ 10.839794] bounce pool size: 64 pages
[ 10.839863] zbud: loaded
[ 10.840051] VFS: Disk quotas dquot_6.5.2
[ 10.840100] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 10.840386] NFS: Registering the id_resolver key type
[ 10.840439] Key type id_resolver registered
[ 10.840450] Key type id_legacy registered
[ 10.840467] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 10.840477] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 10.840629] jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
[ 10.840909] msgmni has been set to 239
[ 10.841026] Key type big_key registered
[ 10.842866] alg: No test for stdrng (krng)
[ 10.842957] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 10.842969] io scheduler noop registered
[ 10.842977] io scheduler deadline registered
[ 10.843007] io scheduler cfq registered (default)
[ 10.843261] mv_xor mv_xor.0: Marvell shared XOR driver
[ 10.882070] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 10.922036] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 10.922164] mv_xor mv_xor.1: Marvell shared XOR driver
[ 10.962044] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 11.002042] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 11.002336] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 11.022997] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 11.558233] console [ttyS0] enabled
[ 11.562839] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[ 11.569221] nand: Micron MT29F2G08AAD
[ 11.572917] nand: 256MiB, SLC, page size: 2048, OOB size: 64
[ 11.578601] Scanning device for bad blocks
[ 11.798357] 2 cmdlinepart partitions found on MTD device orion_nand
[ 11.804669] Creating 2 MTD partitions on "orion_nand":
[ 11.809838] 0x000000000000-0x000000100000 : "u-boot"
[ 11.815118] 0x000000100000-0x000010000000 : "rootfs"
[ 11.821205] libphy: Fixed MDIO Bus: probed
[ 11.831467] libphy: orion_mdio_bus: probed
[ 11.835689] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 12.922772] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:1a:a4:b0
[ 12.931698] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 12.938281] ehci-pci: EHCI PCI platform driver
[ 12.942817] ehci-orion: EHCI orion driver
[ 12.946907] orion-ehci orion-ehci.0: EHCI Host Controller
[ 12.952372] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 12.960093] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 12.982013] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 12.988139] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 12.994983] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 13.002258] usb usb1: Product: EHCI Host Controller
[ 13.007161] usb usb1: Manufacturer: Linux 3.14.0-kirkwood-tld-1 ehci_hcd
[ 13.013907] usb usb1: SerialNumber: orion-ehci.0
[ 13.019108] hub 1-0:1.0: USB hub found
[ 13.022933] hub 1-0:1.0: 1 port detected
[ 13.027409] mousedev: PS/2 mouse device common for all mice
[ 13.342035] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 13.493483] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 13.500227] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 13.507418] usb 1-1: Product: USB2.0 Hub
[ 13.512129] hub 1-1:1.0: USB hub found
[ 13.516230] hub 1-1:1.0: 4 ports detected
[ 13.802489] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[ 13.938482] usb 1-1.1: New USB device found, idVendor=0bda, idProduct=0152
[ 13.945414] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 13.952784] usb 1-1.1: Product: USB2.0-CRW
[ 13.956900] usb 1-1.1: Manufacturer: Generic
[ 13.961189] usb 1-1.1: SerialNumber: 20060413092100000
[ 14.042007] rtc-mv rtc-mv: internal RTC not ticking
[ 14.047021] i2c /dev entries driver
[ 14.051128] hidraw: raw HID events driver (C) Jiri Kosina
[ 14.056854] drop_monitor: Initializing network drop monitor service
[ 14.063367] TCP: cubic registered
[ 14.066702] NET: Registered protocol family 17
[ 14.071272] Key type dns_resolver registered
[ 14.076067] registered taskstats version 1
[ 14.080653] regulator-dummy: incomplete constraints, leaving on
[ 14.086935] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 14.094345] Waiting for root device /dev/sda1...


Bootlog#2.. with the uEnv.txt file & the dtb file in place. uEnv.txt reads:
console=ttyS0,115200
uimage=/boot/uImage
initrd=/boot/uInitrd
fdt_file=/boot/dts/kirkwood-dockstar.dtb
fdt_addr=0x1c00000
uimage_addr=0x800000
initrd_addr=0x1100000
loadfdt=ext2load ${type} ${disk}:1 ${fdt_addr} ${fdt_file}
loaduimage=ext2load ${type} ${disk}:1 ${uimage_addr} ${uimage}
loaduinitrd=ext2load ${type} ${disk}:1 ${initrd_addr} ${initrd}
set_bootargs=setenv bootargs console=$console root=LABEL=rootfs rootdelay=10 $mtdparts
load_debian=setenv type usb; setenv disk 0; run set_bootargs; echo Running loadfdt ...;run loadfdt;
echo Running loaduinitrd ...;run loaduinitrd; echo Running loaduimage ...; run loaduimage
bootm=run load_debian; echo Booting from ${type} ${disk}:1 ...; bootm ${uimage_addr} ${initrd_addr}
${fdt_addr}

& the kirkwood-dockstar.dtb file is in /boot/dts

Log:


U-Boot 2014.04.R2-1 (May 15 2014 - 14:35:47) Arch Linux ARM
Seagate FreeAgent DockStar

SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... Device NOT ready
Request Sense returned 02 3A 00
Device NOT ready
Request Sense returned 02 3A 00
Device NOT ready
Request Sense returned 02 3A 00
4 Storage Device(s) found

Partition Map for USB device 0 -- Partition Type: DOS

Part Start Sector Num Sectors UUID Type
1 2048 29327360 000b2a62-01 83 Boot
2 29331454 1959938 000b2a62-02 05 Extd
5 29331456 1959936 000b2a62-05 82
Attempting to boot from usb 0:1...
745 bytes read in 268 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2461416 bytes read in 352 ms (6.7 MiB/s)
Running loadfdt ...
10398 bytes read in 301 ms (33.2 KiB/s)
Running loaduinitrd ...
6362802 bytes read in 439 ms (13.8 MiB/s)
Running loaduimage ...
2461416 bytes read in 352 ms (6.7 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.14.0-kirkwood-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6362738 Bytes = 6.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
Booting using the fdt blob at 0x1c00000
Loading Kernel Image ... OK
Loading Ramdisk to 07511000, end 07b22672 ... OK
Loading Device Tree to 0750b000, end 0751089d ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Tue Apr 1 22:54:58 PDT4
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Seagate FreeAgent DockStar
[ 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=/dev/sda1 rw rootwait mtdparts=orion_nand:1M(u-boot),-(rootfs)
[ 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: 122460K/131072K available (4779K kernel code, 352K rwdata, 1644K rodata, 213K init, 424K bss, 8612K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc064df14 (6424 kB)
[ 0.000000] .init : 0xc064e000 - 0xc0683444 ( 214 kB)
[ 0.000000] .data : 0xc0684000 - 0xc06dc3c4 ( 353 kB)
[ 0.000000] .bss : 0xc06dc3c4 - 0xc074665c ( 425 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 8.552849] Console: colour dummy device 80x30
[ 8.552880] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 8.642622] pid_max: default: 32768 minimum: 301
[ 8.642728] Security Framework initialized
[ 8.642791] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 8.642811] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 8.643398] Initializing cgroup subsys devices
[ 8.643423] Initializing cgroup subsys freezer
[ 8.643436] Initializing cgroup subsys net_cls
[ 8.643446] Initializing cgroup subsys blkio
[ 8.643521] CPU: Testing write buffer coherency: ok
[ 8.643912] Setting up static identity map for 0x485fa0 - 0x485fdc
[ 8.646027] devtmpfs: initialized
[ 8.648632] prandom: seed boundary self test passed
[ 8.652731] prandom: 100 self tests passed
[ 8.652748] pinctrl core: initialized pinctrl subsystem
[ 8.653125] regulator-dummy: no parameters
[ 8.653458] NET: Registered protocol family 16
[ 8.653874] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 8.654653] cpuidle: using governor ladder
[ 8.654670] cpuidle: using governor menu
[ 8.654773] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 8.654794] Feroceon L2: Enabling L2
[ 8.654833] Feroceon L2: Cache support initialised.
[ 8.660035] bio: create slab <bio-0> at 0
[ 8.660482] vgaarb: loaded
[ 8.660780] usbcore: registered new interface driver usbfs
[ 8.660846] usbcore: registered new interface driver hub
[ 8.660975] usbcore: registered new device driver usb
[ 8.661698] Switched to clocksource orion_clocksource
[ 8.686427] NET: Registered protocol family 2
[ 8.687080] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 8.687105] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 8.687126] TCP: Hash tables configured (established 1024 bind 1024)
[ 8.687196] TCP: reno registered
[ 8.687212] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 8.687234] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 8.687427] NET: Registered protocol family 1
[ 8.687747] RPC: Registered named UNIX socket transport module.
[ 8.687758] RPC: Registered udp transport module.
[ 8.687765] RPC: Registered tcp transport module.
[ 8.687772] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 8.688117] NetWinder Floating Point Emulator V0.97 (double precision)
[ 8.688639] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 8.688788] audit: initializing netlink subsys (disabled)
[ 8.688837] audit: type=2000 audit(0.120:1): initialized
[ 8.689497] bounce pool size: 64 pages
[ 8.689567] zbud: loaded
[ 8.689754] VFS: Disk quotas dquot_6.5.2
[ 8.689804] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 8.690090] NFS: Registering the id_resolver key type
[ 8.690144] Key type id_resolver registered
[ 8.690154] Key type id_legacy registered
[ 8.690172] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 8.690182] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 8.690334] jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
[ 8.690614] msgmni has been set to 239
[ 8.690729] Key type big_key registered
[ 8.692573] alg: No test for stdrng (krng)
[ 8.692663] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 8.692675] io scheduler noop registered
[ 8.692683] io scheduler deadline registered
[ 8.692714] io scheduler cfq registered (default)
[ 8.692969] mv_xor mv_xor.0: Marvell shared XOR driver
[ 8.731788] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 8.771755] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 8.771884] mv_xor mv_xor.1: Marvell shared XOR driver
[ 8.811762] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 8.851759] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 8.852055] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 8.872713] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 9.407946] console [ttyS0] enabled
[ 9.412544] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[ 9.418926] nand: Micron MT29F2G08AAD
[ 9.422623] nand: 256MiB, SLC, page size: 2048, OOB size: 64
[ 9.428315] Scanning device for bad blocks
[ 9.648020] 2 cmdlinepart partitions found on MTD device orion_nand
[ 9.654331] Creating 2 MTD partitions on "orion_nand":
[ 9.659500] 0x000000000000-0x000000100000 : "u-boot"
[ 9.664780] 0x000000100000-0x000010000000 : "rootfs"
[ 9.670869] libphy: Fixed MDIO Bus: probed
[ 9.681113] libphy: orion_mdio_bus: probed
[ 9.685332] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 10.772509] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:1a:a4:b0
[ 10.781425] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 10.788011] ehci-pci: EHCI PCI platform driver
[ 10.792548] ehci-orion: EHCI orion driver
[ 10.796639] orion-ehci orion-ehci.0: EHCI Host Controller
[ 10.802102] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 10.809823] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 10.831731] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 10.837861] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 10.844706] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 10.851980] usb usb1: Product: EHCI Host Controller
[ 10.856884] usb usb1: Manufacturer: Linux 3.14.0-kirkwood-tld-1 ehci_hcd
[ 10.863630] usb usb1: SerialNumber: orion-ehci.0
[ 10.868828] hub 1-0:1.0: USB hub found
[ 10.872656] hub 1-0:1.0: 1 port detected
[ 10.877133] mousedev: PS/2 mouse device common for all mice
[ 11.191753] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 11.343213] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 11.349959] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 11.357151] usb 1-1: Product: USB2.0 Hub
[ 11.361845] hub 1-1:1.0: USB hub found
[ 11.365961] hub 1-1:1.0: 4 ports detected
[ 11.652219] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[ 11.788213] usb 1-1.1: New USB device found, idVendor=0bda, idProduct=0152
[ 11.795145] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 11.802514] usb 1-1.1: Product: USB2.0-CRW
[ 11.806631] usb 1-1.1: Manufacturer: Generic
[ 11.810921] usb 1-1.1: SerialNumber: 20060413092100000
[ 11.891725] rtc-mv rtc-mv: internal RTC not ticking
[ 11.896745] i2c /dev entries driver
[ 11.900850] hidraw: raw HID events driver (C) Jiri Kosina
[ 11.906580] drop_monitor: Initializing network drop monitor service
[ 11.913090] TCP: cubic registered
[ 11.916424] NET: Registered protocol family 17
[ 11.920995] Key type dns_resolver registered
[ 11.925794] registered taskstats version 1
[ 11.930398] regulator-dummy: incomplete constraints, leaving on
[ 11.936687] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 11.944095] Waiting for root device /dev/sda1...
Re: Switch Seagate dockstar from ARCH to debian
February 13, 2016 02:00PM
craigcoffman,

Problem:

rootfs 3.14 is non-FDT, so the variable fdt_file must be clear so that Arch u-boot will act correctly. IOW, this file should not be in the rootfs. So you need to take out the 2 bold lines below.

console=ttyS0,115200 
uimage=/boot/uImage 
initrd=/boot/uInitrd 
fdt_file=/boot/dts/kirkwood-dockstar.dtb 
fdt_addr=0x1c00000 
uimage_addr=0x800000 
initrd_addr=0x1100000 
loadfdt=ext2load ${type} ${disk}:1 ${fdt_addr} ${fdt_file} 
loaduimage=ext2load ${type} ${disk}:1 ${uimage_addr} ${uimage} 
loaduinitrd=ext2load ${type} ${disk}:1 ${initrd_addr} ${initrd} 
set_bootargs=setenv bootargs console=$console root=LABEL=rootfs rootdelay=10 $mtdparts 
load_debian=setenv type usb; setenv disk 0; run set_bootargs; echo Running loadfdt ...;run loadfdt; 
echo Running loaduinitrd ...;run loaduinitrd; echo Running loaduimage ...; run loaduimage 
bootm=run load_debian; echo Booting from ${type} ${disk}:1 ...; bootm ${uimage_addr} ${initrd_addr} 
${fdt_addr}

Also remove the dts folder from the rootfs, because it might cause problem in the future while using rootfs 3.14.

When you have upgraded the kernel to version 3.17 or newer then this dts folder will be there after kernel installation.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Switch Seagate dockstar from ARCH to debian
February 13, 2016 02:32PM
I'm leaning towards flashing your latest uboot. Notice below the latest log complains about ## Flattened Device Tree from Legacy Image at 00800000

maybe I've got the wrong file?

here's the latest:

Wiped the disk flash drive I'm using, created new ext2 filesystem (on my Debian desktop box) on it with the rootfs label

extracted 3.14 rootfs from Debian-3.14.0-kirkwood-tld-1-rootfs-bodhi.tar

copied the uEnv_arch_uboot_boot_debian.txt uEnv.txt to the /boot on the new filesystem
edited with vi, removed the two lines you indicated.

moved flash drive to the dockstar & I get:



U-Boot 2014.04.R2-1 (May 15 2014 - 14:35:47) Arch Linux ARM
Seagate FreeAgent DockStar

SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
DockStar> AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
syntax error
DockStar>

U-Boot 2014.04.R2-1 (May 15 2014 - 14:35:47) Arch Linux ARM
Seagate FreeAgent DockStar

SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... Device NOT ready
Request Sense returned 02 3A 00
Device NOT ready
Request Sense returned 02 3A 00
Device NOT ready
Request Sense returned 02 3A 00
4 Storage Device(s) found

Partition Map for USB device 0 -- Partition Type: DOS

Part Start Sector Num Sectors UUID Type
1 2048 29327360 000b2a62-01 83 Boot
2 29331454 1959938 000b2a62-02 05 Extd
5 29331456 1959936 000b2a62-05 82
Attempting to boot from usb 0:1...
684 bytes read in 258 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2461416 bytes read in 352 ms (6.7 MiB/s)
Running loadfdt ...
** File not found /boot/dtbs/kirkwood-dockstar.dtb **
Running loaduinitrd ...
6362802 bytes read in 439 ms (13.8 MiB/s)
Running loaduimage ...
2461416 bytes read in 352 ms (6.7 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.14.0-kirkwood-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6362738 Bytes = 6.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree from Legacy Image at 00800000
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
ERROR: uImage is not a fdt - must RESET the board to recover.
Could not find a valid device tree

Partition Map for USB device 0 -- Partition Type: DOS

Part Start Sector Num Sectors UUID Type
1 2048 29327360 000b2a62-01 83 Boot
2 29331454 1959938 000b2a62-02 05 Extd
5 29331456 1959936 000b2a62-05 82
Attempting to boot from usb 0:1...
684 bytes read in 258 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2461416 bytes read in 353 ms (6.6 MiB/s)
Running loadfdt ...
** File not found /boot/dtbs/kirkwood-dockstar.dtb **
Running loaduinitrd ...
6362802 bytes read in 440 ms (13.8 MiB/s)
Running loaduimage ...
2461416 bytes read in 352 ms (6.7 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.14.0-kirkwood-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6362738 Bytes = 6.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree from Legacy Image at 00800000
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
ERROR: uImage is not a fdt - must RESET the board to recover.
Could not find a valid device tree

Partition Map for USB device 0 -- Partition Type: DOS

Part Start Sector Num Sectors UUID Type
1 2048 29327360 000b2a62-01 83 Boot
2 29331454 1959938 000b2a62-02 05 Extd
5 29331456 1959936 000b2a62-05 82
Attempting to boot from usb 0:1...
684 bytes read in 258 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2461416 bytes read in 352 ms (6.7 MiB/s)
Running loadfdt ...
** File not found /boot/dtbs/kirkwood-dockstar.dtb **
Running loaduinitrd ...
6362802 bytes read in 439 ms (13.8 MiB/s)
Running loaduimage ...
2461416 bytes read in 352 ms (6.7 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.14.0-kirkwood-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6362738 Bytes = 6.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree from Legacy Image at 00800000
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
ERROR: uImage is not a fdt - must RESET the board to recover.
Could not find a valid device tree

Partition Map for USB device 0 -- Partition Type: DOS

Part Start Sector Num Sectors UUID Type
1 2048 29327360 000b2a62-01 83 Boot
2 29331454 1959938 000b2a62-02 05 Extd
5 29331456 1959936 000b2a62-05 82
Attempting to boot from usb 0:1...
684 bytes read in 258 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2461416 bytes read in 353 ms (6.6 MiB/s)
Running loadfdt ...
** File not found /boot/dtbs/kirkwood-dockstar.dtb **
Running loaduinitrd ...
6362802 bytes read in 440 ms (13.8 MiB/s)
Running loaduimage ...
2461416 bytes read in 352 ms (6.7 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.14.0-kirkwood-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6362738 Bytes = 6.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree from Legacy Image at 00800000
Image Name: Linux-3.14.0-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2461352 Bytes = 2.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
ERROR: uImage is not a fdt - must RESET the board to recover.
Could not find a valid device tree
DockStar>
Re: Switch Seagate dockstar from ARCH to debian
February 13, 2016 02:38PM
tried the filesysem from debian-wheezy-dockstar-130512.tar.xz with the uEnv.txt file (edited as suggested) Same behavoir. (Complains about Image NOT being a FDT).
Re: Switch Seagate dockstar from ARCH to debian
February 13, 2016 03:05PM
craigcoffman,

OK so you want to install from scratch, then it is quite simple. Change the step below to:

Wiped the disk flash drive I'm using, created new ext3 filesystem (on my Debian desktop box) on it with the rootfs label 

extracted 3.18.5 rootfs from Debian-3.18.5-kirkwood-tld-1-rootfs-bodhi.tar.bz2 

copied the uEnv_arch_uboot_boot_debian.txt uEnv.txt to the /boot on the new filesystem

The 3.18.5 rootfs is already FDT. So no other change is needed to make to uEnv.txt, other than making sure that it uses the Dockstar DTB:

fdt_file=/boot/dtbs/kirkwood-dockstar.dtb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 02/13/2016 03:09PM by bodhi.
Re: Switch Seagate dockstar from ARCH to debian
February 13, 2016 03:49PM
Is there a simple list of download links someplace that I'm missing? I can't seem to find a link to 3.18 fs tar file you mention. Not to be dense, but I'm struggling to find such a list.. just tinyURLS to dropbox buried in various threads.
Re: Switch Seagate dockstar from ARCH to debian
February 13, 2016 03:55PM
found it
Re: Switch Seagate dockstar from ARCH to debian
February 13, 2016 04:05PM
Bohdi:

the 3.18 worked like a charm Thanks. Would've started with the newer tar-fs if I could found it earlier.

Thanks for your help.
Re: Switch Seagate dockstar from ARCH to debian
February 13, 2016 05:42PM
craigcoffman Wrote:
-------------------------------------------------------
> Bohdi:
>
> the 3.18 worked like a charm Thanks. Would've
> started with the newer tar-fs if I could found it
> earlier.
>
> Thanks for your help.

Cool!

Glad you found it in the first post. It's down in previous updated section since we are many releases after that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Subject:


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