Welcome! Log In Create A New Profile

Advanced

install new uBoot on GoFlex Net

Posted by rkrug 
install new uBoot on GoFlex Net
April 04, 2016 11:56AM
Hi

I just bought a brand new GoFlex net and would like to install uBoot, rescue system and Debian.

First step: uBoot. Ill follow to install uBoot.

SSH is enabled and working - good.

1) I can write in the /tmp folder - and downloaded and extracted there the bin tools - done.
2) I don't have a
/etc/fw_env.config
and I can't create it as it is Read-only.

stuck very early.

3) I can't execute
fw_printenv
either:
-bash-4.3# ./fw_printenv
./fw_printenv: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./fw_printenv)
-bash-4.3#

I somehow have the feeling, I am missing something important here.

What is going on here?

Rainer

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 04, 2016 12:28PM
Looks like the firmware lacks the tools. There is no law forcing them to include the tools in the firmware. :)

bodhi has made a bundle with the tools you can use here http://forum.doozan.com/read.php?3,27280

As for the partition in read-only, write "mount" to see a list of partitions that are mounted, then remount that partition as read-write with this http://askubuntu.com/questions/175739/how-do-i-remount-a-filesystem-as-read-write

It's likely that what you change is lost on reboot, but will let you go through.


Obligatory "with serial connection it's all easier" remark.



Edited 1 time(s). Last edit at 04/04/2016 12:36PM by bobafetthotmail.
Re: install new uBoot on GoFlex Net
April 04, 2016 12:47PM
Rainer,


Quote

A. Flashing Instruction:

Installation is the same for each u-Boot image, the instruction below is written to include all boxes. So choose the platform name that you are installing for, and copy/paste the appropriate commands.

If you are running kernel that do not provide mtd-utils and uboot-tools tools (fw_setenv, fw_printenv, flash_erase, nandwrite), you can download the NAND and U-Boot tools binaries here in this thread.

Perepare the basic rootfs first on USB. Download and put the tools binary tarball on it and mount it in the GoFlex Net. And execute them directly.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: install new uBoot on GoFlex Net
April 04, 2016 01:48PM
I unzipped the tools into /tmp/tools and tried to run them from there. I'll try the rootfs approach later. Do I have to cheroot into the rootfs for that?

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 04, 2016 01:57PM
rkrug Wrote:
-------------------------------------------------------
> I unzipped the tools into /tmp/tools and tried to
> run them from there. I'll try the rootfs approach
> later. Do I have to cheroot into the rootfs for
> that?

No need to. They are just binaries that you run directly.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: install new uBoot on GoFlex Net
April 04, 2016 02:07PM
So why didn't they in my case? Is there anything wrong with extracting them to /tmp ?

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 04, 2016 05:10PM
rkrug Wrote:
-------------------------------------------------------
> So why didn't they in my case? Is there anything
> wrong with extracting them to /tmp ?

They should. Post your log.

Did you remember to execute these as:

/tmp/nandwrite
/tmp/nanddump
....

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



Edited 1 time(s). Last edit at 04/04/2016 11:35PM by bodhi.
Re: install new uBoot on GoFlex Net
April 05, 2016 02:11AM
I did not get that far. at point 2) it says to check

Quote

Make sure ethaddr is set in uBoot env.

but I tried fw_printenv and I got the following error message:

-bash-4.3# ./fw_printenv
./fw_printenv: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./fw_printenv)
-bash-4.3#

I did not dare go further after this.

I assume that your method installs a newer uBoot than Jeff's script ?

Rainer

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 05, 2016 02:56AM
> -bash-4.3# ./fw_printenv
> ./fw_printenv: /lib/libc.so.6: version `GLIBC_2.7'
> not found (required by ./fw_printenv)
> -bash-4.3#
> I did not dare go further after this.

Don't worry about this. Just copy your ethaddr to a log file.

>
> I assume that your method installs a newer uBoot
> than Jeff's script
> ?

Yes.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: install new uBoot on GoFlex Net
April 05, 2016 03:22AM
So it is just to remember the ip? OK. I can do that.

Thanks - I will than go with your uBoot.

Rainer

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 05, 2016 06:26AM
OK - updated uBoot, rebooted and attached an ssd with partition 4 active and labeled rootfs.

Serial console gives me:


U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:49:48 -0800)
Seagate GoFlex Net

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB (ECC not enabled)
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
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed
Unknown command 'mmc' - try 'help'

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

Part    Start Sector    Num Sectors     UUID            Type
  1     40              409600          00000000-01     ef
  2     409640          224404744       00000000-02     af
  3     225076528       223657728       00000000-03     af
  4     448996400       40976168        00000000-04     af Boot
loading envs from usb 0 ...
reading /boot/uEnv.txt
** Unable to read file /boot/uEnv.txt **

no IDE devices available
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: ide_preinit failed
device ide 0:1
** Bad device size - ide 0 **
device ide 1:1
** Bad device size - ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
loading uImage ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
loading uInitrd ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
GoFlexNet>

my /boot/uEnv.txt looks as follow:

arcNumber=2097
bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.1.111
led_error=orange blinking
led_exit=green off
led_init=green blinking
dtb_file=/boot/dts/kirkwood-goflexnet.dtb
load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dtb_file
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/uInitrd
load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uImage
machid=0x831
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x800000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x810000
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
usb_ready_retry=15

Any suggestions what is going on? network cable is not attached.

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 05, 2016 06:35AM
Oh: the uEnv.txt is from http://forum.doozan.com/read.php?3,12381
and I only changed the dtb_file:

dtb_file=/boot/dts/kirkwood-goflexnet.dtb

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 05, 2016 01:25PM
Check the USB rootfs. Is it type Ext3? is there error in the file system?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: install new uBoot on GoFlex Net
April 06, 2016 03:22AM
I always forget the one step where I have to make the uImage. Shame onm me.


I have redone everything, and now I get the following, which is obviously in the Debian installation - so uBoot is working:

I have partitioned the disk using three partitions,

1: LABEL= rootfs ext3
2: swap
3 LABEL=data ext4

U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:49:48 -0800)
Seagate GoFlex Net

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB (ECC not enabled)
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
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed
Unknown command 'mmc' - try 'help'

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

Part    Start Sector    Num Sectors     UUID            Type
  1     63              33559722        0000c5e8-01     83 Boot
  2     33559785        4192965         0000c5e8-02     82
  3     37752750        452470725       0000c5e8-03     83
loading envs from usb 0 ...
2604 bytes read in 301 ms (7.8 KiB/s)

no IDE devices available
Unknown command 'mmc' - try 'help'
importing envs ...
## Info: input data size = 12951 = 0x3297
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3166793 bytes read in 359 ms (8.4 MiB/s)
loading uInitrd ...
7179935 bytes read in 424 ms (16.1 MiB/s)
loading DTB /boot/dts/kirkwood-goflexnet.dtb ...
11897 bytes read in 559 ms (20.5 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-04-06   7:50:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3166729 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 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 0743e000, end 07b16e5f ... OK
   Loading Device Tree to 07438000, end 0743de78 ... OK
Using machid 0x831 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Seagate GoFlex Net
[    0.000000] bootconsole [earlycon0] enabled
[    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,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
[    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: 120632K/131072K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 10440K 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 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008269] Console: colour dummy device 80x30
[    0.012837] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100924] pid_max: default: 32768 minimum: 301
[    0.105744] Security Framework initialized
[    0.110059] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116799] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.124800] Initializing cgroup subsys io
[    0.128985] Initializing cgroup subsys devices
[    0.133555] Initializing cgroup subsys freezer
[    0.138173] Initializing cgroup subsys net_cls
[    0.142800] CPU: Testing write buffer coherency: ok
[    0.148308] Setting up static identity map for 0x8200 - 0x8258
[    0.154556] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.163627] devtmpfs: initialized
[    0.172215] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.182689] prandom: seed boundary self test passed
[    0.191503] prandom: 100 self tests passed
[    0.195729] pinctrl core: initialized pinctrl subsystem
[    0.202516] NET: Registered protocol family 16
[    0.207508] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.238043] cpuidle: using governor ladder
[    0.268040] cpuidle: using governor menu
[    0.272488] Feroceon L2: Enabling L2
[    0.276204] Feroceon L2: Cache support initialised.
[    0.281620] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.297360] No ATAGs?
[    0.329558] vgaarb: loaded
[    0.332996] usbcore: registered new interface driver usbfs
[    0.338724] usbcore: registered new interface driver hub
[    0.344221] usbcore: registered new device driver usb
[    0.350501] clocksource: Switched to clocksource orion_clocksource
[    0.412616] NET: Registered protocol family 2
[    0.417885] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.425110] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.431621] TCP: Hash tables configured (established 1024 bind 1024)
[    0.438151] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.444133] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.450732] NET: Registered protocol family 1
[    0.455547] RPC: Registered named UNIX socket transport module.
[    0.461631] RPC: Registered udp transport module.
[    0.466444] RPC: Registered tcp transport module.
[    0.471270] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.478205] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.485942] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.492286] audit: initializing netlink subsys (disabled)
[    0.497836] audit: type=2000 audit(0.480:1): initialized
[    0.503673] Initialise system trusted keyring
[    0.508482] zbud: loaded
[    0.511453] VFS: Disk quotas dquot_6.6.0
[    0.515528] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.523203] NFS: Registering the id_resolver key type
[    0.528392] Key type id_resolver registered
[    0.532734] Key type id_legacy registered
[    0.536871] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.543715] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.550404] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.558106] Key type big_key registered
[    0.573471] Key type asymmetric registered
[    0.577685] Asymmetric key parser 'x509' registered
[    0.582839] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.590367] io scheduler noop registered
[    0.594580] io scheduler deadline registered
[    0.599011] io scheduler cfq registered (default)
[    0.605220] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.613446] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.620894] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.628422] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.671195] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.678846] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.721191] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.729106] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.737054] console [ttyS0] disabled
[    0.740848] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    0.749970] console [ttyS0] enabled
[    0.749970] console [ttyS0] enabled
[    0.757107] bootconsole [earlycon0] disabled
[    0.757107] bootconsole [earlycon0] disabled
[    0.767273] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    0.773696] nand: Micron MT29F2G08AAD
[    0.777378] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.785007] Scanning device for bad blocks
[    1.010741] libphy: Fixed MDIO Bus: probed
[    1.015195] libphy: orion_mdio_bus: probed
[    1.020013] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.101191] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    2.110077] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.116695] ehci-pci: EHCI PCI platform driver
[    2.121255] ehci-orion: EHCI orion driver
[    2.125465] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.131037] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.138894] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.160535] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.166811] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.173662] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.180942] usb usb1: Product: EHCI Host Controller
[    2.185840] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    2.192504] usb usb1: SerialNumber: f1050000.ehci
[    2.197968] hub 1-0:1.0: USB hub found
[    2.201825] hub 1-0:1.0: 1 port detected
[    2.206746] mousedev: PS/2 mouse device common for all mice
[    2.520535] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.772902] usb 1-1: New USB device found, idVendor=174c, idProduct=07d1
[    2.779651] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    2.786860] usb 1-1: Product: JetDrive
[    2.790643] usb 1-1: Manufacturer: Transcend
[    2.794932] usb 1-1: SerialNumber: 20141117B8391899669A
[    3.220528] rtc-mv f1010300.rtc: internal RTC not ticking
[    3.226170] i2c /dev entries driver
[    3.232265] hidraw: raw HID events driver (C) Jiri Kosina
[    3.238104] drop_monitor: Initializing network drop monitor service
[    3.244698] NET: Registered protocol family 17
[    3.249459] Key type dns_resolver registered
[    3.254679] registered taskstats version 1
[    3.258845] Loading compiled-in X.509 certificates
[    3.263756] zswap: loaded using pool lzo/zbud
[    3.269240] Key type encrypted registered
[    3.273839] hctosys: unable to open rtc device (rtc0)
[    3.280387] Waiting 10 sec before mounting root device...
[   13.290712] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[   13.298057] Please append a correct "root=" boot option; here are the available partitions:
[   13.306505] 1f00          262144 mtdblock0  (driver?)
[   13.311639] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   13.319938] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-kirkwood-tld-1 #1
[   13.326928] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   13.333255] [<c0016784>] (unwind_backtrace) from [<c00129f8>] (show_stack+0x10/0x14)
[   13.341038] [<c00129f8>] (show_stack) from [<c00c2200>] (panic+0x80/0x214)
[   13.347956] [<c00c2200>] (panic) from [<c07d9280>] (mount_block_root+0x204/0x24c)
[   13.355477] [<c07d9280>] (mount_block_root) from [<c07d93b4>] (mount_root+0xec/0x118)
[   13.363351] [<c07d93b4>] (mount_root) from [<c07d9504>] (prepare_namespace+0x124/0x184)
[   13.371399] [<c07d9504>] (prepare_namespace) from [<c07d8e9c>] (kernel_init_freeable+0x208/0x258)
[   13.380316] [<c07d8e9c>] (kernel_init_freeable) from [<c05b16b4>] (kernel_init+0x8/0xe4)
[   13.388449] [<c05b16b4>] (kernel_init) from [<c000f090>] (ret_from_fork+0x14/0x24)
[   13.396060] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 06, 2016 03:55AM
Rainer,

[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
You did not flash the new default envs during u-boot upgrading. So your root device is not root=LABEL=rootfs

It's OK to use the old u-boot envs. But your bootargs must be modified to specify the rootf device label as above. This is needed because you have 3 partitions on the same disk.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: install new uBoot on GoFlex Net
April 06, 2016 04:17AM
Yes - I had some problems there and was not sure if it worked.

How can I flash the new bootargs? Do I have to set up a rootfs on one drive with ony one partition? Or can I do this from the uBoot prompt?

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 06, 2016 04:23AM
rkrug Wrote:
-------------------------------------------------------
> Yes - I had some problems there and was not sure
> if it worked.
>
> How can I flash the new bootargs? Do I have to set
> up a rootfs on one drive with ony one partition?
> Or can I do this from the uBoot prompt?

Section B in this post:
http://forum.doozan.com/read.php?3,19093

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: install new uBoot on GoFlex Net
April 06, 2016 07:18AM
Sorry - I am confused.

If I check the arguments in uBoot using "env print" I get the following:

GoFlexNet> env print
arcNumber=2097
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dtb_file
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/uInitrd
load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uImage
machid=0x831
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x800000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x810000
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2682/131068 bytes
GoFlexNet>

There I have

set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;

where "root=LABEL=rootfs".

I have now renamed my /boot/uEnv.txt file to disable it.

I have no the following boot log:


U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:49:48 -0800)
Seagate GoFlex Net

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB (ECC not enabled)
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
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed
Unknown command 'mmc' - try 'help'

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

Part    Start Sector    Num Sectors     UUID            Type
  1     225280          33554432        0000c5e8-01     83 Boot
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3166793 bytes read in 360 ms (8.4 MiB/s)
loading uInitrd ...
7179935 bytes read in 423 ms (16.2 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10446 bytes read in 1102 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-04-06   7:50:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3166729 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 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 0743e000, end 07b16e5f ... OK
   Loading Device Tree to 07438000, end 0743d8cd ... OK
Using machid 0x831 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Seagate GoFlex Net
[    0.000000] bootconsole [earlycon0] enabled
[    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,115200n8 earlyprintk root=/dev/sda1 rootdelay=10
[    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: 120632K/131072K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 10440K 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 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008278] Console: colour dummy device 80x30
[    0.012845] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.100933] pid_max: default: 32768 minimum: 301
[    0.105755] Security Framework initialized
[    0.110069] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116815] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.124819] Initializing cgroup subsys io
[    0.129002] Initializing cgroup subsys devices
[    0.133573] Initializing cgroup subsys freezer
[    0.138190] Initializing cgroup subsys net_cls
[    0.142817] CPU: Testing write buffer coherency: ok
[    0.148327] Setting up static identity map for 0x8200 - 0x8258
[    0.154574] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.163643] devtmpfs: initialized
[    0.172248] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.182726] prandom: seed boundary self test passed
[    0.191538] prandom: 100 self tests passed
[    0.195764] pinctrl core: initialized pinctrl subsystem
[    0.202550] NET: Registered protocol family 16
[    0.207542] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.238051] cpuidle: using governor ladder
[    0.268049] cpuidle: using governor menu
[    0.272498] Feroceon L2: Enabling L2
[    0.276213] Feroceon L2: Cache support initialised.
[    0.281628] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.297369] No ATAGs?
[    0.329568] vgaarb: loaded
[    0.333013] usbcore: registered new interface driver usbfs
[    0.338742] usbcore: registered new interface driver hub
[    0.344237] usbcore: registered new device driver usb
[    0.350514] clocksource: Switched to clocksource orion_clocksource
[    0.412625] NET: Registered protocol family 2
[    0.417905] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.425135] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.431646] TCP: Hash tables configured (established 1024 bind 1024)
[    0.438176] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.444159] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.450755] NET: Registered protocol family 1
[    0.455576] RPC: Registered named UNIX socket transport module.
[    0.461667] RPC: Registered udp transport module.
[    0.466479] RPC: Registered tcp transport module.
[    0.471304] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.478239] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.485982] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.492328] audit: initializing netlink subsys (disabled)
[    0.497877] audit: type=2000 audit(0.480:1): initialized
[    0.503711] Initialise system trusted keyring
[    0.508524] zbud: loaded
[    0.511489] VFS: Disk quotas dquot_6.6.0
[    0.515572] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.523248] NFS: Registering the id_resolver key type
[    0.528435] Key type id_resolver registered
[    0.532776] Key type id_legacy registered
[    0.536914] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.543759] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.550448] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.558150] Key type big_key registered
[    0.573504] Key type asymmetric registered
[    0.577720] Asymmetric key parser 'x509' registered
[    0.582880] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.590410] io scheduler noop registered
[    0.594623] io scheduler deadline registered
[    0.599053] io scheduler cfq registered (default)
[    0.605265] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.613497] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.620946] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.628475] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.671208] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.678853] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.721210] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.729133] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.737079] console [ttyS0] disabled
[    0.740873] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    0.749995] console [ttyS0] enabled
[    0.749995] console [ttyS0] enabled
[    0.757135] bootconsole [earlycon0] disabled
[    0.757135] bootconsole [earlycon0] disabled
[    0.767302] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    0.773722] nand: Micron MT29F2G08AAD
[    0.777403] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.785033] Scanning device for bad blocks
[    1.010813] libphy: Fixed MDIO Bus: probed
[    1.015265] libphy: orion_mdio_bus: probed
[    1.020094] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    2.101225] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    2.110115] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.116729] ehci-pci: EHCI PCI platform driver
[    2.121290] ehci-orion: EHCI orion driver
[    2.125498] orion-ehci f1050000.ehci: EHCI Host Controller
[    2.131064] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    2.138930] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    2.160547] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.166829] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.173680] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.180959] usb usb1: Product: EHCI Host Controller
[    2.185858] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    2.192521] usb usb1: SerialNumber: f1050000.ehci
[    2.197988] hub 1-0:1.0: USB hub found
[    2.201849] hub 1-0:1.0: 1 port detected
[    2.206772] mousedev: PS/2 mouse device common for all mice
[    2.520548] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.773062] usb 1-1: New USB device found, idVendor=174c, idProduct=07d1
[    2.779808] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    2.787015] usb 1-1: Product: JetDrive
[    2.790800] usb 1-1: Manufacturer: Transcend
[    2.795089] usb 1-1: SerialNumber: 20141117B8391899669A
[    3.220541] rtc-mv f1010300.rtc: internal RTC not ticking
[    3.226188] i2c /dev entries driver
[    3.232292] hidraw: raw HID events driver (C) Jiri Kosina
[    3.238131] drop_monitor: Initializing network drop monitor service
[    3.244724] NET: Registered protocol family 17
[    3.249451] Key type dns_resolver registered
[    3.254664] registered taskstats version 1
[    3.258827] Loading compiled-in X.509 certificates
[    3.263736] zswap: loaded using pool lzo/zbud
[    3.269210] Key type encrypted registered
[    3.273803] hctosys: unable to open rtc device (rtc0)
[    3.280348] Waiting 10 sec before mounting root device...
[   13.290727] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[   13.298074] Please append a correct "root=" boot option; here are the available partitions:
[   13.306521] 1f00          262144 mtdblock0  (driver?)
[   13.311647] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   13.319947] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-kirkwood-tld-1 #1
[   13.326936] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   13.333255] [<c0016784>] (unwind_backtrace) from [<c00129f8>] (show_stack+0x10/0x14)
[   13.341038] [<c00129f8>] (show_stack) from [<c00c2200>] (panic+0x80/0x214)
[   13.347954] [<c00c2200>] (panic) from [<c07d9280>] (mount_block_root+0x204/0x24c)
[   13.355476] [<c07d9280>] (mount_block_root) from [<c07d93b4>] (mount_root+0xec/0x118)
[   13.363349] [<c07d93b4>] (mount_root) from [<c07d9504>] (prepare_namespace+0x124/0x184)
[   13.371390] [<c07d9504>] (prepare_namespace) from [<c07d8e9c>] (kernel_init_freeable+0x208/0x258)
[   13.380315] [<c07d8e9c>] (kernel_init_freeable) from [<c05b16b4>] (kernel_init+0x8/0xe4)
[   13.388448] [<c05b16b4>] (kernel_init) from [<c000f090>] (ret_from_fork+0x14/0x24)
[   13.396059] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   89.460539] random: nonblocking pool is initialized

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: install new uBoot on GoFlex Net
April 06, 2016 02:32PM
1 bytes read in 242 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3166793 bytes read in 360 ms (8.4 MiB/s)
loading uInitrd ...
7179935 bytes read in 423 ms (16.2 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10446 bytes read in 1102 ms (8.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.4.0-kirkwood-tld-1
   Created:      2016-04-06   7:50:22 UTC

loading the dtb file for a Pogo E02 on a goflex net will not work!

--joerg_999
Re: install new uBoot on GoFlex Net
April 06, 2016 02:57PM
Joerg was correct in that there is a mistake with the DTB. However, that was not the casue.

This is still wrong:
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10

This was what caused the problem:

Look at your /boot directory. Is uImage the original one, or was it modified to have the DTB embedded? Your booting envs uses DTB, so the uImage must not contain the DTB inside it.

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



Edited 1 time(s). Last edit at 04/06/2016 05:01PM by bodhi.
Re: install new uBoot on GoFlex Net
April 07, 2016 02:37AM
@bodhi: I reinstalled the rootfs on an old flash drive and it is working now. You are right: I included the DTB in the uImage before. I used the fs as it came and it is booting now.

@Joerg: I saw that as well, but after flashing the default env it was OK - which I only could do after I fixed the error Bodhi mentioned.

One remark why I likely had the troubles: The SSD I used. It seems to have a block size of 4096 in contrast to the standard, and I always got "non-aligned partition" errors when using fdisk.

rootfs was on the first partition, so it should actually have worked earlier. I tried to only put ne partition on the SDD now and to boot from there, but it also failed. So I assume it is the fault of the SDD.

It is a Transcend housing from a Macbook Pro Retina 256GB upgrade kit. So I have to but another flash or external hdd.



Thanks,

Rainer

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
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: