Welcome! Log In Create A New Profile

Advanced

Booting Debian Kirkwood rootfs from latest Arch U-Boot

Posted by bodhi 
Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 10, 2015 11:05PM
I would recommend flashing my new U-Boot build here, so that I can give full support when problem arises. However, to make the transition extremely simple for users who wish to use Debian, but they have already installed the latest Arch U-Boot, here is the instruction:

Assuming you have downloaded and created the latest rootfs from this thread. Note that the kernel uImage in the rootfs should be untouched after extracting (we are booting with separated DTB using step 4a).

Part 1
=====

1. Download the attached file uEnv_arch_uboot_boot_debian.txt and copy to the /boot folder of your Debian rootfs (assuming this rootfs is mounted at /media/sdb1 on a Linux box):

cp -a uEnv_arch_uboot_boot_debian.txt /media/sdb1/boot/uEnv.txt

2. Currently, this env set is for booting the Pogoplug E02. So the DTB file in this file needs to be modified to boot another box:

fdt_file=/boot/dts/kirkwood-pogo_e02.dtb
For example, to boot the NSA325
fdt_file=/boot/dts/kirkwood-nsa325.dtb


3. Create the label for this rootfs

tune2fs -L rootfs /dev/sdb1
sync


4. Take the rootfs to the box and boot with it.

Part 2
====

After following the instruction in Part 1, and you still found that you cannot boot into Arch. Follow these steps:

1. Mount the Arch rootfs on another Linux box, and verify whether you have a uInitrd in /boot. Normally Arch does not ship with initrd.

2. If there is no uInitrd in Arch rootfs /boot, you can do either a or b. Approach a is recommended since it is the best booting configuration. Approach b is a bad choice for a permanent configuration, but will allow you to boot right away, and worry about getting the uInitrd later.

a. Follow Arch instruction (find this at ALARM site) to create this uInitrd in /boot.

And then take the rootfs to the box and boot with it.

b. Add the following env setting to your uEnv.txt (which you have created in Part 1):

set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts $custom_params

And then take the rootfs to the box and boot with it.


-------
Credits: thanks dito for doing all the testing in this thread.

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



Edited 11 time(s). Last edit at 11/15/2017 03:55PM by bodhi.
Attachments:
open | download - uEnv_arch_uboot_boot_debian.txt (745 bytes)
Re: Booting Debian rootfs from latest Arch U-Boot
September 11, 2015 09:51AM
Here we go:

PogoE02>

U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
Pogo E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: 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... 1 Storage Device(s) found

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

Part Start Sector Num Sectors UUID Type
1 2048 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
526 bytes read in 276 ms (1000 Bytes/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2756040 bytes read in 451 ms (5.8 MiB/s)
Booting from 0 ...
Wrong Image Format for bootm command
ERROR: can't get kernel image!

no USB devices available

PogoE02> usb start
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
PogoE02> usb part

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

Part Start Sector Num Sectors UUID Type
1 2048 1955840 0049d569-01 83 Boot
PogoE02> usb stop
stopping USB..
PogoE02> printenv
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/sda1 rw rootwait mtdparts=orion_nand:1M(u-boot),-(rootfs)
bootcmd=usb start; setenv letter 9;for type in usb; do for disk in 0 1 2 3; do if ${type} part ${disk};then setexpr letter $letter + 1;run load;fi;done;done;
bootdelay=3
bootm=echo Booting from ${disk} ...; run setargs; bootm 0x800000 0x1100000 0x1c00000;
bootz=echo Booting from ${disk} ...; run setargs; bootz ${loadaddr} - ${fdt_addr};
console=ttyS0
ethact=egiga0
ethaddr=00:25:31:00:99:A3
fdt_addr=0x800000
fdt_file=/boot/dtbs/kirkwood-pogo_e02.dtb
filesize=2a0dc8
importbootenv=echo Importing environment (uEnv.txt)...; env import -t $loadaddr $filesize
letter=a
load=echo Attempting to boot from ${type} ${disk}:1...;if run loadbootenv; then run importbootenv;fi;echo Checking if uenvcmd is set ...;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;echo Running default loadzimage ...;if run loadzimage; then run loadfdt;run bootz;fi;echo Running default loaduimage ...;if run loaduimage; then run loaduinitrd; run bootm;fi;
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}
loaduinitrd=load ${type} ${disk}:1 0x1100000 /boot/uInitrd
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

Environment size: 1648/131068 bytes
PogoE02>
Re: Booting Debian rootfs from latest Arch U-Boot
September 11, 2015 11:07AM
dito,

Let it boot automatically, don't interrupt it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Booting Debian rootfs from latest Arch U-Boot
September 11, 2015 11:50AM
I didn't interrupt it, it stops at:

Attempting to boot from usb 0:1...
526 bytes read in 276 ms (1000 Bytes/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2756040 bytes read in 451 ms (5.8 MiB/s)
Booting from 0 ...
Wrong Image Format for bootm command
ERROR: can't get kernel image!

no USB devices available

no USB devices available

no USB devices available
PogoE02>
Re: Booting Debian rootfs from latest Arch U-Boot
September 12, 2015 12:05AM
dito,

How about trying this new version.

As I've mentioned I don't have Arch u-boot installed, so you'll need to be a tester for this :) If you're willing to do that then be patient, but if you just want to wait for a final solution, that's OK, too. Whenever I have time, I could do the test myself, but I'll need to flash Arch u-boot on one of my test plugs.

EDIT:

I re-uploaded the file.

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



Edited 3 time(s). Last edit at 09/12/2015 12:19AM by bodhi.
Attachments:
open | download - uEnv_arch_uboot_boot_debian.txt (704 bytes)
Re: Booting Debian rootfs from latest Arch U-Boot
September 12, 2015 12:47PM
are you kidding me? I am more than happy to test this, I found out this is a great forum, I am hoping I can also help out someone else in need.

I'll give it a shot a bit later, I left the hardware in my office.
Re: Booting Debian rootfs from latest Arch U-Boot
September 12, 2015 02:02PM
dito Wrote:
-------------------------------------------------------
> are you kidding me? I am more than happy to test
> this, I found out this is a great forum, I am
> hoping I can also help out someone else in need.
>
> I'll give it a shot a bit later, I left the
> hardware in my office.

Cool! in that case we'll do a litle bit more experiment. Let me upload another version.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: (WIP) Booting Debian rootfs from latest Arch U-Boot
September 12, 2015 08:32PM
This is the new output

U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
Pogo E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: 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... 1 Storage Device(s) found

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

Part Start Sector Num Sectors UUID Type
1 2048 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
704 bytes read in 276 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2756040 bytes read in 450 ms (5.8 MiB/s)
Running loaduinitrd ...
6032465 bytes read in 586 ms (9.8 MiB/s)
Booting from 0 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.16.0-kirkwood-tld-2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2755976 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.16.0-kirkwood-tld-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6032401 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
Unknown command 'pÍù' - try 'help'

no USB devices available

no USB devices available

no USB devices available
PogoE02>
Re: (WIP) Booting Debian rootfs from latest Arch U-Boot
September 12, 2015 08:36PM
Do I need to "sync" everytime I replace the uEnv.txt ? Because I didn't.

Also I don't need necessary need a Debian machine to overwrite the uEnv.txt on the USB stick right!? I can do it from Ubuntu, as long as I "sudo" so it doesn't change the permissions of the files it should be ok.

I am more than welcome to help, I also have a grey Pogoplug, I think they are same model, but I think the grey one has 128MB only and a slightly faster CPU than the ping one. I like the memory better :)
Re: (WIP) Booting Debian rootfs from latest Arch U-Boot
September 13, 2015 01:13AM
dito,

> Also I don't need necessary need a Debian machine
> to overwrite the uEnv.txt on the USB stick right!?
> I can do it from Ubuntu, as long as I "sudo" so it
> doesn't change the permissions of the files it
> should be ok.

Yes, as long as you sudo or "sudo su" then the file is still the same permission.

I had a mistake in the script :) so let's wait until I have a new version. Arch envs are written in a "weird" way (it's very well written, just a little bit harder to overwrite them). I've realized that I need to be a little more careful reading it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: (WIP) Booting Debian rootfs from latest Arch U-Boot
September 13, 2015 02:14AM
@dito,

Here is the latest, hope this will be better!


BTW, your grey Pogo is probably the Pogo Pro, which is very different, so make sure you know the model before doing any hacking. Post if you are not sure.

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



Edited 1 time(s). Last edit at 09/13/2015 02:19AM by bodhi.
Attachments:
open | download - uEnv_arch_uboot_boot_debian.txt (742 bytes)
Re: (WIP) Booting Debian rootfs from latest Arch U-Boot
September 13, 2015 08:02AM
no those are very similar, I used to be able to run them with the same drive, move it from one to the other one and they would both keep all the settings.
Of course, the other one is in the same state now, thou I didn't try the serial there yet.
Once I get the pink working and can leave it running, I'll move the serial cable on the other and check it out for you.
Re: (WIP) Booting Debian rootfs from latest Arch U-Boot
September 13, 2015 09:41AM
ok this one tries to boot 4 times in a row then stops...

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... 1 Storage Device(s) found

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

Part Start Sector Num Sectors UUID Type
1 2048 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
742 bytes read in 276 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2756040 bytes read in 450 ms (5.8 MiB/s)
Running loadfdt ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
Running loaduinitrd ...
6032465 bytes read in 586 ms (9.8 MiB/s)
Running loaduimage ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.16.0-kirkwood-tld-2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2755976 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.16.0-kirkwood-tld-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6032401 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
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 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
742 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 ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Running loadfdt ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
Running loaduinitrd ...
6032465 bytes read in 586 ms (9.8 MiB/s)
Running loaduimage ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.16.0-kirkwood-tld-2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2755976 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.16.0-kirkwood-tld-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6032401 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
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 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
742 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 ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Running loadfdt ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
Running loaduinitrd ...
6032465 bytes read in 585 ms (9.8 MiB/s)
Running loaduimage ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.16.0-kirkwood-tld-2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2755976 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.16.0-kirkwood-tld-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6032401 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
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 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
742 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 ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Running loadfdt ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
Running loaduinitrd ...
6032465 bytes read in 585 ms (9.8 MiB/s)
Running loaduimage ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.16.0-kirkwood-tld-2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2755976 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.16.0-kirkwood-tld-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6032401 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
PogoE02>
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 13, 2015 11:01AM
I've actually was wrong, the grey one is exactly the same, I put a serial console cable today as well, same hardware, same mem, same processor.
Same archlinux uboot, same error

U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
Pogo E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: 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... 1 Storage Device(s) found

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

Part Start Sector Num Sectors UUID Type
1 2048 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
742 bytes read in 276 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2756040 bytes read in 450 ms (5.8 MiB/s)
Running loadfdt ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
Running loaduinitrd ...
6032465 bytes read in 586 ms (9.8 MiB/s)
Running loaduimage ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.16.0-kirkwood-tld-2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2755976 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.16.0-kirkwood-tld-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6032401 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
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 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
742 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 ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Running loadfdt ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
Running loaduinitrd ...
6032465 bytes read in 586 ms (9.8 MiB/s)
Running loaduimage ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.16.0-kirkwood-tld-2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2755976 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.16.0-kirkwood-tld-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6032401 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
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 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
742 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 ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Running loadfdt ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
Running loaduinitrd ...
6032465 bytes read in 585 ms (9.8 MiB/s)
Running loaduimage ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.16.0-kirkwood-tld-2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2755976 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.16.0-kirkwood-tld-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6032401 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
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 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
742 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 ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Running loadfdt ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
Running loaduinitrd ...
6032465 bytes read in 585 ms (9.8 MiB/s)
Running loaduimage ...
2756040 bytes read in 431 ms (6.1 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.16.0-kirkwood-tld-2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2755976 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.16.0-kirkwood-tld-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6032401 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
PogoE02>
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 13, 2015 12:24PM
@dito,

Your rootfs is the wrong one. Use Debian-3.18.5-kirkwood-tld-1-rootfs-bodhi.tar.bz2.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 13, 2015 12:57PM
correct, I've been using Debian-3.16.0-kirkwood-tld-2-rootfs-bodhi.tar.bz2
I was foolwing that page, I thought I was supposed to use "exactly" that version from 2014.
trying 3.18.xxx now
Re: Booting Debian rootfs from latest Arch U-Boot
September 13, 2015 01:24PM
cool this one is booting, but it can't mount root fs


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.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Thu Feb 5 17:58:07 PST 2015
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: 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: 121320K/131072K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init, 305K bss, 9752K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 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 - 0xc076a240 (7561 kB)
[ 0.000000] .init : 0xc076b000 - 0xc07ae000 ( 268 kB)
[ 0.000000] .data : 0xc07ae000 - 0xc08096fc ( 366 kB)
[ 0.000000] .bss : 0xc08096fc - 0xc0855d84 ( 306 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000016] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 0.008356] Console: colour dummy device 80x30
[ 0.012928] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 0.100946] pid_max: default: 32768 minimum: 301
[ 0.105798] Security Framework initialized
[ 0.110138] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.116881] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.124826] Initializing cgroup subsys devices
[ 0.129450] Initializing cgroup subsys freezer
[ 0.134023] Initializing cgroup subsys net_cls
[ 0.138631] Initializing cgroup subsys blkio
[ 0.143107] CPU: Testing write buffer coherency: ok
[ 0.148588] Setting up static identity map for 0x557418 - 0x557470
[ 0.155176] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[ 0.162935] devtmpfs: initialized
[ 0.169111] prandom: seed boundary self test passed
[ 0.178186] prandom: 100 self tests passed
[ 0.182403] pinctrl core: initialized pinctrl subsystem
[ 0.188296] regulator-dummy: no parameters
[ 0.197088] NET: Registered protocol family 16
[ 0.202116] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.238056] cpuidle: using governor ladder
[ 0.268053] cpuidle: using governor menu
[ 0.272483] Feroceon L2: Enabling L2
[ 0.276199] Feroceon L2: Cache support initialised.
[ 0.281620] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.296587] No ATAGs?
[ 0.329756] vgaarb: loaded
[ 0.333205] usbcore: registered new interface driver usbfs
[ 0.338930] usbcore: registered new interface driver hub
[ 0.344427] usbcore: registered new device driver usb
[ 0.350688] Switched to clocksource orion_clocksource
[ 0.394334] NET: Registered protocol family 2
[ 0.399555] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.406787] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.413294] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.419825] TCP: reno registered
[ 0.423185] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.429141] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.435742] NET: Registered protocol family 1
[ 0.440516] RPC: Registered named UNIX socket transport module.
[ 0.446601] RPC: Registered udp transport module.
[ 0.451435] RPC: Registered tcp transport module.
[ 0.456246] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.463174] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.471179] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.477406] Initialise system trusted keyring
[ 0.482035] audit: initializing netlink subsys (disabled)
[ 0.487590] audit: type=2000 audit(0.470:1): initialized
[ 0.493830] zpool: loaded
[ 0.496555] zbud: loaded
[ 0.499499] VFS: Disk quotas dquot_6.5.2
[ 0.503617] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.510891] NFS: Registering the id_resolver key type
[ 0.516088] Key type id_resolver registered
[ 0.520373] Key type id_legacy registered
[ 0.524548] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.531390] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.538069] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.545584] msgmni has been set to 236
[ 0.549582] Key type big_key registered
[ 0.556430] alg: No test for stdrng (krng)
[ 0.560664] Key type asymmetric registered
[ 0.564977] Asymmetric key parser 'x509' registered
[ 0.570052] bounce: pool size: 64 pages
[ 0.574132] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.581759] io scheduler noop registered
[ 0.585790] io scheduler deadline registered
[ 0.590215] io scheduler cfq registered (default)
[ 0.596390] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.604539] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[ 0.611994] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[ 0.619512] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.660756] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.700753] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.706446] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.750754] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.790752] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.796686] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.804527] console [ttyS0] disabled
[ 0.808256] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[ 0.817439] console [ttyS0] enabled
[ 0.817439] console [ttyS0] enabled
[ 0.824571] bootconsole [earlycon0] disabled
[ 0.824571] bootconsole [earlycon0] disabled
[ 0.834791] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 0.841209] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 0.845850] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 0.851562] Scanning device for bad blocks
[ 0.871268] Bad eraseblock 146 at 0x000001240000
[ 0.876916] Bad eraseblock 156 at 0x000001380000
[ 0.910198] Bad eraseblock 426 at 0x000003540000
[ 0.925108] Bad eraseblock 523 at 0x000004160000
[ 0.935016] Bad eraseblock 573 at 0x0000047a0000
[ 0.962462] Bad eraseblock 788 at 0x000006280000
[ 0.987775] Bad eraseblock 983 at 0x000007ae0000
[ 0.998348] libphy: Fixed MDIO Bus: probed
[ 1.002849] libphy: orion_mdio_bus: probed
[ 1.007749] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 2.091423] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:99:a3
[ 2.100384] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.106986] ehci-pci: EHCI PCI platform driver
[ 2.111542] ehci-orion: EHCI orion driver
[ 2.115747] orion-ehci f1050000.ehci: EHCI Host Controller
[ 2.121318] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 2.129158] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[ 2.150725] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 2.156965] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.163811] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.171084] usb usb1: Product: EHCI Host Controller
[ 2.175983] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[ 2.182732] usb usb1: SerialNumber: f1050000.ehci
[ 2.188198] hub 1-0:1.0: USB hub found
[ 2.192053] hub 1-0:1.0: 1 port detected
[ 2.196868] mousedev: PS/2 mouse device common for all mice
[ 2.510751] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 2.662416] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.669166] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.676371] usb 1-1: Product: USB2.0 Hub
[ 2.681263] hub 1-1:1.0: USB hub found
[ 2.685415] hub 1-1:1.0: 4 ports detected
[ 2.971042] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[ 3.083286] usb 1-1.1: New USB device found, idVendor=090c, idProduct=1000
[ 3.090211] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.097591] usb 1-1.1: Product: DISK 2.0
[ 3.101551] usb 1-1.1: Manufacturer: USB
[ 3.105491] usb 1-1.1: SerialNumber: 77O11ZT5RXL0VP9O
[ 3.210723] rtc-mv f1010300.rtc: internal RTC not ticking
[ 3.216358] i2c /dev entries driver
[ 3.222406] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.228221] drop_monitor: Initializing network drop monitor service
[ 3.234789] TCP: cubic registered
[ 3.238129] NET: Registered protocol family 17
[ 3.242749] Key type dns_resolver registered
[ 3.247876] Loading compiled-in X.509 certificates
[ 3.252754] registered taskstats version 1
[ 3.257882] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 3.265708] Waiting 10 sec before mounting root device...
[ 13.280891] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[ 13.288234] Please append a correct "root=" boot option; here are the available partitions:
[ 13.296680] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 13.304982] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.5-kirkwood-tld-1 #1
[ 13.312087] [<c0014aa0>] (unwind_backtrace) from [<c00110d4>] (show_stack+0x10/0x14)
[ 13.319874] [<c00110d4>] (show_stack) from [<c054f408>] (panic+0x80/0x208)
[ 13.326789] [<c054f408>] (panic) from [<c076c200>] (mount_block_root+0x200/0x248)
[ 13.334309] [<c076c200>] (mount_block_root) from [<c076c32c>] (mount_root+0xe4/0x10c)
[ 13.342174] [<c076c32c>] (mount_root) from [<c076c478>] (prepare_namespace+0x124/0x184)
[ 13.350214] [<c076c478>] (prepare_namespace) from [<c076be2c>] (kernel_init_freeable+0x1f8/0x240)
[ 13.359125] [<c076be2c>] (kernel_init_freeable) from [<c054e500>] (kernel_init+0x8/0xe4)
[ 13.367253] [<c054e500>] (kernel_init) from [<c000e310>] (ret_from_fork+0x14/0x24)
[ 13.374856] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 80.290714] random: nonblocking pool is initialized
Re: Booting Debian rootfs from latest Arch U-Boot
September 13, 2015 03:32PM
Excellent! So we are basically done with booting-kernel testing part.

Rootfs is easy to set up, you can take a look at my signature (Booting Process) to see how the rootfs label should be set up. I'll revise the envs file and the instruction later.

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



Edited 1 time(s). Last edit at 09/13/2015 05:02PM by bodhi.
Re: Booting Debian rootfs from latest Arch U-Boot
September 14, 2015 12:09AM
Here is the update envs file that will mount the USB rootfs that has the correct label

- Mount the USB rootfs on another Linux box. Assumming it is mounted as /media/sdb1

- Create the label for this rootfs

tune2fs -L rootfs /dev/sdb1
sync

- Copy the new envs file to /boot folder same way as before.

cp -a uEnv_arch_uboot_boot_debian.txt /media/sdb1/boot/uEnv.txt
sync


- Take the rootfs to the Pogo E02 and boot with it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - uEnv_arch_uboot_boot_debian.txt (745 bytes)
Re: Booting Debian rootfs from latest Arch U-Boot
September 14, 2015 02:19PM
I am gettig the same error, I don't think it's a problem with the USB stick right!? Otherwise it wouldn't readit at all from the begining...

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.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Thu Feb 5 17:58:07 PST 2015
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: 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: 121320K/131072K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init, 305K bss, 9752K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 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 - 0xc076a240 (7561 kB)
[ 0.000000] .init : 0xc076b000 - 0xc07ae000 ( 268 kB)
[ 0.000000] .data : 0xc07ae000 - 0xc08096fc ( 366 kB)
[ 0.000000] .bss : 0xc08096fc - 0xc0855d84 ( 306 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000016] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 0.008354] Console: colour dummy device 80x30
[ 0.012927] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 0.100944] pid_max: default: 32768 minimum: 301
[ 0.105796] Security Framework initialized
[ 0.110137] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.116879] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.124826] Initializing cgroup subsys devices
[ 0.129449] Initializing cgroup subsys freezer
[ 0.134022] Initializing cgroup subsys net_cls
[ 0.138630] Initializing cgroup subsys blkio
[ 0.143106] CPU: Testing write buffer coherency: ok
[ 0.148587] Setting up static identity map for 0x557418 - 0x557470
[ 0.155174] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[ 0.162933] devtmpfs: initialized
[ 0.169103] prandom: seed boundary self test passed
[ 0.178178] prandom: 100 self tests passed
[ 0.182401] pinctrl core: initialized pinctrl subsystem
[ 0.188294] regulator-dummy: no parameters
[ 0.197089] NET: Registered protocol family 16
[ 0.202124] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.238055] cpuidle: using governor ladder
[ 0.268052] cpuidle: using governor menu
[ 0.272482] Feroceon L2: Enabling L2
[ 0.276198] Feroceon L2: Cache support initialised.
[ 0.281619] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.296583] No ATAGs?
[ 0.329755] vgaarb: loaded
[ 0.333204] usbcore: registered new interface driver usbfs
[ 0.338929] usbcore: registered new interface driver hub
[ 0.344426] usbcore: registered new device driver usb
[ 0.350686] Switched to clocksource orion_clocksource
[ 0.394354] NET: Registered protocol family 2
[ 0.399579] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.406803] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.413310] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.419842] TCP: reno registered
[ 0.423202] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.429158] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.435760] NET: Registered protocol family 1
[ 0.440536] RPC: Registered named UNIX socket transport module.
[ 0.446617] RPC: Registered udp transport module.
[ 0.451443] RPC: Registered tcp transport module.
[ 0.456254] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.463183] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.471200] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.477430] Initialise system trusted keyring
[ 0.482057] audit: initializing netlink subsys (disabled)
[ 0.487613] audit: type=2000 audit(0.470:1): initialized
[ 0.493852] zpool: loaded
[ 0.496580] zbud: loaded
[ 0.499523] VFS: Disk quotas dquot_6.5.2
[ 0.503642] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.510915] NFS: Registering the id_resolver key type
[ 0.516103] Key type id_resolver registered
[ 0.520389] Key type id_legacy registered
[ 0.524564] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.531406] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.538085] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.545601] msgmni has been set to 236
[ 0.549598] Key type big_key registered
[ 0.556450] alg: No test for stdrng (krng)
[ 0.560732] Key type asymmetric registered
[ 0.564942] Asymmetric key parser 'x509' registered
[ 0.570014] bounce: pool size: 64 pages
[ 0.574118] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.581696] io scheduler noop registered
[ 0.585728] io scheduler deadline registered
[ 0.590151] io scheduler cfq registered (default)
[ 0.596376] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.604516] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[ 0.611972] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[ 0.619487] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.660755] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.700751] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.706435] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.750751] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.790750] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.796674] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.804520] console [ttyS0] disabled
[ 0.808253] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[ 0.817437] console [ttyS0] enabled
[ 0.817437] console [ttyS0] enabled
[ 0.824570] bootconsole [earlycon0] disabled
[ 0.824570] bootconsole [earlycon0] disabled
[ 0.834791] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 0.841208] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 0.845849] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 0.851561] Scanning device for bad blocks
[ 0.871267] Bad eraseblock 146 at 0x000001240000
[ 0.876915] Bad eraseblock 156 at 0x000001380000
[ 0.910198] Bad eraseblock 426 at 0x000003540000
[ 0.925106] Bad eraseblock 523 at 0x000004160000
[ 0.935015] Bad eraseblock 573 at 0x0000047a0000
[ 0.962461] Bad eraseblock 788 at 0x000006280000
[ 0.987774] Bad eraseblock 983 at 0x000007ae0000
[ 0.998343] libphy: Fixed MDIO Bus: probed
[ 1.002840] libphy: orion_mdio_bus: probed
[ 1.007744] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 2.091421] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:99:a3
[ 2.100385] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.106984] ehci-pci: EHCI PCI platform driver
[ 2.111542] ehci-orion: EHCI orion driver
[ 2.115744] orion-ehci f1050000.ehci: EHCI Host Controller
[ 2.121308] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 2.129147] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[ 2.150724] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 2.156964] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.163808] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.171083] usb usb1: Product: EHCI Host Controller
[ 2.175981] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[ 2.182733] usb usb1: SerialNumber: f1050000.ehci
[ 2.188197] hub 1-0:1.0: USB hub found
[ 2.192050] hub 1-0:1.0: 1 port detected
[ 2.196869] mousedev: PS/2 mouse device common for all mice
[ 2.510748] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 2.662406] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.669155] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.676362] usb 1-1: Product: USB2.0 Hub
[ 2.681252] hub 1-1:1.0: USB hub found
[ 2.685406] hub 1-1:1.0: 4 ports detected
[ 2.971033] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[ 3.083278] usb 1-1.3: New USB device found, idVendor=090c, idProduct=1000
[ 3.090200] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.097581] usb 1-1.3: Product: DISK 2.0
[ 3.101541] usb 1-1.3: Manufacturer: USB
[ 3.105481] usb 1-1.3: SerialNumber: 77O11ZT5RXL0VP9O
[ 3.210722] rtc-mv f1010300.rtc: internal RTC not ticking
[ 3.216354] i2c /dev entries driver
[ 3.222409] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.228227] drop_monitor: Initializing network drop monitor service
[ 3.234797] TCP: cubic registered
[ 3.238136] NET: Registered protocol family 17
[ 3.242772] Key type dns_resolver registered
[ 3.247902] Loading compiled-in X.509 certificates
[ 3.252778] registered taskstats version 1
[ 3.257887] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 3.265705] Waiting 10 sec before mounting root device...
[ 13.280888] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[ 13.288233] Please append a correct "root=" boot option; here are the available partitions:
[ 13.296681] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 13.304988] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.5-kirkwood-tld-1 #1
[ 13.312095] [<c0014aa0>] (unwind_backtrace) from [<c00110d4>] (show_stack+0x10/0x14)
[ 13.319881] [<c00110d4>] (show_stack) from [<c054f408>] (panic+0x80/0x208)
[ 13.326796] [<c054f408>] (panic) from [<c076c200>] (mount_block_root+0x200/0x248)
[ 13.334317] [<c076c200>] (mount_block_root) from [<c076c32c>] (mount_root+0xe4/0x10c)
[ 13.342190] [<c076c32c>] (mount_root) from [<c076c478>] (prepare_namespace+0x124/0x184)
[ 13.350230] [<c076c478>] (prepare_namespace) from [<c076be2c>] (kernel_init_freeable+0x1f8/0x240)
[ 13.359142] [<c076be2c>] (kernel_init_freeable) from [<c054e500>] (kernel_init+0x8/0xe4)
[ 13.367269] [<c054e500>] (kernel_init) from [<c000e310>] (ret_from_fork+0x14/0x24)
[ 13.374872] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 80.270713] random: nonblocking pool is initialized
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 14, 2015 02:21PM
I"ve tried a differnt stick, below info, thou it ends up with the same messages


[ 2.156965] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.163810] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.171083] usb usb1: Product: EHCI Host Controller
[ 2.175983] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[ 2.182733] usb usb1: SerialNumber: f1050000.ehci
[ 2.188199] hub 1-0:1.0: USB hub found
[ 2.192051] hub 1-0:1.0: 1 port detected
[ 2.196870] mousedev: PS/2 mouse device common for all mice
[ 2.510751] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 2.662397] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.669147] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.676352] usb 1-1: Product: USB2.0 Hub
[ 2.681239] hub 1-1:1.0: USB hub found
[ 2.685395] hub 1-1:1.0: 4 ports detected
[ 2.971022] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[ 3.082892] usb 1-1.3: New USB device found, idVendor=090c, idProduct=1000
[ 3.089817] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 14, 2015 05:15PM
It looks as though you are using the old version of the uEnv.txt. See my last post.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 14, 2015 07:01PM
no I've used the latest one uEnv_arch_uboot_boot_debian.txt (745 bytes)

the old one was 742 bytes
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 14, 2015 07:04PM
I just tried it again too just in case I picked the wrong one, same stuff...



U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
Pogo E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: 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... 1 Storage Device(s) found

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

Part Start Sector Num Sectors UUID Type
1 2048 1968128 c3072e18-01 83 Boot
Attempting to boot from usb 0:1...
745 bytes read in 290 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2877273 bytes read in 464 ms (5.9 MiB/s)
Running loadfdt ...
10228 bytes read in 979 ms (9.8 KiB/s)
Running loaduinitrd ...
6535284 bytes read in 672 ms (9.3 MiB/s)
Running loaduimage ...
2877273 bytes read in 464 ms (5.9 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.18.5-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2877209 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.18.5-kirkwood-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6535220 Bytes = 6.2 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 0f4e7000, end 0fb22834 ... OK
Loading Device Tree to 0f4e1000, end 0f4e67f3 ... 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.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Thu Feb 5 17:58:07 PST 2015
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: 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: 121320K/131072K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init, 305K bss, 9752K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 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 - 0xc076a240 (7561 kB)
[ 0.000000] .init : 0xc076b000 - 0xc07ae000 ( 268 kB)
[ 0.000000] .data : 0xc07ae000 - 0xc08096fc ( 366 kB)
[ 0.000000] .bss : 0xc08096fc - 0xc0855d84 ( 306 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000016] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 0.008356] Console: colour dummy device 80x30
[ 0.012928] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 0.100946] pid_max: default: 32768 minimum: 301
[ 0.105797] Security Framework initialized
[ 0.110138] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.116881] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.124826] Initializing cgroup subsys devices
[ 0.129450] Initializing cgroup subsys freezer
[ 0.134023] Initializing cgroup subsys net_cls
[ 0.138631] Initializing cgroup subsys blkio
[ 0.143107] CPU: Testing write buffer coherency: ok
[ 0.148588] Setting up static identity map for 0x557418 - 0x557470
[ 0.155176] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[ 0.162934] devtmpfs: initialized
[ 0.169110] prandom: seed boundary self test passed
[ 0.178184] prandom: 100 self tests passed
[ 0.182403] pinctrl core: initialized pinctrl subsystem
[ 0.188291] regulator-dummy: no parameters
[ 0.197091] NET: Registered protocol family 16
[ 0.202125] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.238056] cpuidle: using governor ladder
[ 0.268053] cpuidle: using governor menu
[ 0.272483] Feroceon L2: Enabling L2
[ 0.276199] Feroceon L2: Cache support initialised.
[ 0.281620] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.296586] No ATAGs?
[ 0.329756] vgaarb: loaded
[ 0.333205] usbcore: registered new interface driver usbfs
[ 0.338930] usbcore: registered new interface driver hub
[ 0.344427] usbcore: registered new device driver usb
[ 0.350687] Switched to clocksource orion_clocksource
[ 0.394352] NET: Registered protocol family 2
[ 0.399569] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.406797] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.413302] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.419835] TCP: reno registered
[ 0.423193] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.429150] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.435752] NET: Registered protocol family 1
[ 0.440524] RPC: Registered named UNIX socket transport module.
[ 0.446610] RPC: Registered udp transport module.
[ 0.451444] RPC: Registered tcp transport module.
[ 0.456255] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.463183] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.471191] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.477422] Initialise system trusted keyring
[ 0.482048] audit: initializing netlink subsys (disabled)
[ 0.487606] audit: type=2000 audit(0.470:1): initialized
[ 0.493845] zpool: loaded
[ 0.496573] zbud: loaded
[ 0.499517] VFS: Disk quotas dquot_6.5.2
[ 0.503634] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.510906] NFS: Registering the id_resolver key type
[ 0.516096] Key type id_resolver registered
[ 0.520382] Key type id_legacy registered
[ 0.524556] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.531399] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.538079] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.545592] msgmni has been set to 236
[ 0.549589] Key type big_key registered
[ 0.556444] alg: No test for stdrng (krng)
[ 0.560733] Key type asymmetric registered
[ 0.564943] Asymmetric key parser 'x509' registered
[ 0.570016] bounce: pool size: 64 pages
[ 0.574128] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.581707] io scheduler noop registered
[ 0.585738] io scheduler deadline registered
[ 0.590160] io scheduler cfq registered (default)
[ 0.596387] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.604523] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[ 0.611984] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[ 0.619505] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.660756] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.700753] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.706445] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.750752] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.790752] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.796685] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.804530] console [ttyS0] disabled
[ 0.808263] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[ 0.817445] console [ttyS0] enabled
[ 0.817445] console [ttyS0] enabled
[ 0.824579] bootconsole [earlycon0] disabled
[ 0.824579] bootconsole [earlycon0] disabled
[ 0.834791] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 0.841207] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 0.845850] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 0.851562] Scanning device for bad blocks
[ 0.871268] Bad eraseblock 146 at 0x000001240000
[ 0.876916] Bad eraseblock 156 at 0x000001380000
[ 0.910200] Bad eraseblock 426 at 0x000003540000
[ 0.925118] Bad eraseblock 523 at 0x000004160000
[ 0.935025] Bad eraseblock 573 at 0x0000047a0000
[ 0.962471] Bad eraseblock 788 at 0x000006280000
[ 0.987783] Bad eraseblock 983 at 0x000007ae0000
[ 0.998357] libphy: Fixed MDIO Bus: probed
[ 1.002856] libphy: orion_mdio_bus: probed
[ 1.007737] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 2.091418] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:99:a3
[ 2.100387] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.106984] ehci-pci: EHCI PCI platform driver
[ 2.111544] ehci-orion: EHCI orion driver
[ 2.115751] orion-ehci f1050000.ehci: EHCI Host Controller
[ 2.121319] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 2.129156] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[ 2.150725] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 2.156967] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.163810] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.171083] usb usb1: Product: EHCI Host Controller
[ 2.175983] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[ 2.182732] usb usb1: SerialNumber: f1050000.ehci
[ 2.188198] hub 1-0:1.0: USB hub found
[ 2.192052] hub 1-0:1.0: 1 port detected
[ 2.196869] mousedev: PS/2 mouse device common for all mice
[ 2.510750] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 2.662414] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.669165] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.676370] usb 1-1: Product: USB2.0 Hub
[ 2.681258] hub 1-1:1.0: USB hub found
[ 2.685412] hub 1-1:1.0: 4 ports detected
[ 2.971039] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[ 3.083034] usb 1-1.1: New USB device found, idVendor=090c, idProduct=1000
[ 3.089957] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.210719] rtc-mv f1010300.rtc: internal RTC not ticking
[ 3.216356] i2c /dev entries driver
[ 3.222397] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.228215] drop_monitor: Initializing network drop monitor service
[ 3.234779] TCP: cubic registered
[ 3.238120] NET: Registered protocol family 17
[ 3.242752] Key type dns_resolver registered
[ 3.247879] Loading compiled-in X.509 certificates
[ 3.252751] registered taskstats version 1
[ 3.257864] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 3.265683] Waiting 10 sec before mounting root device...
[ 13.280888] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[ 13.288234] Please append a correct "root=" boot option; here are the available partitions:
[ 13.296681] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 13.304990] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.5-kirkwood-tld-1 #1
[ 13.312095] [<c0014aa0>] (unwind_backtrace) from [<c00110d4>] (show_stack+0x10/0x14)
[ 13.319883] [<c00110d4>] (show_stack) from [<c054f408>] (panic+0x80/0x208)
[ 13.326797] [<c054f408>] (panic) from [<c076c200>] (mount_block_root+0x200/0x248)
[ 13.334318] [<c076c200>] (mount_block_root) from [<c076c32c>] (mount_root+0xe4/0x10c)
[ 13.342182] [<c076c32c>] (mount_root) from [<c076c478>] (prepare_namespace+0x124/0x184)
[ 13.350223] [<c076c478>] (prepare_namespace) from [<c076be2c>] (kernel_init_freeable+0x1f8/0x240)
[ 13.359134] [<c076be2c>] (kernel_init_freeable) from [<c054e500>] (kernel_init+0x8/0xe4)
[ 13.367261] [<c054e500>] (kernel_init) from [<c000e310>] (ret_from_fork+0x14/0x24)
[ 13.374865] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 80.300714] random: nonblocking pool is initialized
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 14, 2015 10:22PM
dito,

Let's try this file.

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - uEnv_arch_uboot_boot_debian.txt (745 bytes)
Re: Booting Debian rootfs from latest Arch U-Boot
September 15, 2015 08:02AM
same, I keep trying 2 different USB sticks just in case I have bad tech. or something...



U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
Pogo E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: 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... 1 Storage Device(s) found

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

Part Start Sector Num Sectors UUID Type
1 2048 1968128 c3072e18-01 83 Boot
Attempting to boot from usb 0:1...
745 bytes read in 290 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2877273 bytes read in 465 ms (5.9 MiB/s)
Running loadfdt ...
10228 bytes read in 978 ms (9.8 KiB/s)
Running loaduinitrd ...
6535284 bytes read in 671 ms (9.3 MiB/s)
Running loaduimage ...
2877273 bytes read in 464 ms (5.9 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.18.5-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2877209 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.18.5-kirkwood-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6535220 Bytes = 6.2 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 0f4e7000, end 0fb22834 ... OK
Loading Device Tree to 0f4e1000, end 0f4e67f3 ... 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.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Thu Feb 5 17:58:07 PST 2015
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: 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: 121320K/131072K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init, 305K bss, 9752K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 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 - 0xc076a240 (7561 kB)
[ 0.000000] .init : 0xc076b000 - 0xc07ae000 ( 268 kB)
[ 0.000000] .data : 0xc07ae000 - 0xc08096fc ( 366 kB)
[ 0.000000] .bss : 0xc08096fc - 0xc0855d84 ( 306 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000016] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 0.008355] Console: colour dummy device 80x30
[ 0.012928] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 0.100935] pid_max: default: 32768 minimum: 301
[ 0.105786] Security Framework initialized
[ 0.110130] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.116871] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.124819] Initializing cgroup subsys devices
[ 0.129442] Initializing cgroup subsys freezer
[ 0.134023] Initializing cgroup subsys net_cls
[ 0.138630] Initializing cgroup subsys blkio
[ 0.143108] CPU: Testing write buffer coherency: ok
[ 0.148587] Setting up static identity map for 0x557418 - 0x557470
[ 0.155175] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[ 0.162934] devtmpfs: initialized
[ 0.169102] prandom: seed boundary self test passed
[ 0.178176] prandom: 100 self tests passed
[ 0.182393] pinctrl core: initialized pinctrl subsystem
[ 0.188286] regulator-dummy: no parameters
[ 0.197082] NET: Registered protocol family 16
[ 0.202116] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.238056] cpuidle: using governor ladder
[ 0.268053] cpuidle: using governor menu
[ 0.272483] Feroceon L2: Enabling L2
[ 0.276200] Feroceon L2: Cache support initialised.
[ 0.281620] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.296585] No ATAGs?
[ 0.329760] vgaarb: loaded
[ 0.333205] usbcore: registered new interface driver usbfs
[ 0.338929] usbcore: registered new interface driver hub
[ 0.344427] usbcore: registered new device driver usb
[ 0.350687] Switched to clocksource orion_clocksource
[ 0.394334] NET: Registered protocol family 2
[ 0.399549] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.406780] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.413286] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.419817] TCP: reno registered
[ 0.423176] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.429133] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.435735] NET: Registered protocol family 1
[ 0.440510] RPC: Registered named UNIX socket transport module.
[ 0.446591] RPC: Registered udp transport module.
[ 0.451418] RPC: Registered tcp transport module.
[ 0.456229] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.463156] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.471161] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.477388] Initialise system trusted keyring
[ 0.482018] audit: initializing netlink subsys (disabled)
[ 0.487570] audit: type=2000 audit(0.470:1): initialized
[ 0.493809] zpool: loaded
[ 0.496538] zbud: loaded
[ 0.499480] VFS: Disk quotas dquot_6.5.2
[ 0.503599] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.510865] NFS: Registering the id_resolver key type
[ 0.516062] Key type id_resolver registered
[ 0.520347] Key type id_legacy registered
[ 0.524520] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.531364] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.538040] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.545561] msgmni has been set to 236
[ 0.549557] Key type big_key registered
[ 0.556418] alg: No test for stdrng (krng)
[ 0.560656] Key type asymmetric registered
[ 0.564968] Asymmetric key parser 'x509' registered
[ 0.570042] bounce: pool size: 64 pages
[ 0.574126] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.581750] io scheduler noop registered
[ 0.585782] io scheduler deadline registered
[ 0.590214] io scheduler cfq registered (default)
[ 0.596390] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.604538] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[ 0.611993] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[ 0.619515] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.660757] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.700753] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.706445] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.750752] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.790752] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.796678] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.804523] console [ttyS0] disabled
[ 0.808256] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[ 0.817439] console [ttyS0] enabled
[ 0.817439] console [ttyS0] enabled
[ 0.824572] bootconsole [earlycon0] disabled
[ 0.824572] bootconsole [earlycon0] disabled
[ 0.834790] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 0.841209] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 0.845850] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 0.851562] Scanning device for bad blocks
[ 0.871268] Bad eraseblock 146 at 0x000001240000
[ 0.876915] Bad eraseblock 156 at 0x000001380000
[ 0.910197] Bad eraseblock 426 at 0x000003540000
[ 0.925108] Bad eraseblock 523 at 0x000004160000
[ 0.935016] Bad eraseblock 573 at 0x0000047a0000
[ 0.962463] Bad eraseblock 788 at 0x000006280000
[ 0.987776] Bad eraseblock 983 at 0x000007ae0000
[ 0.998349] libphy: Fixed MDIO Bus: probed
[ 1.002845] libphy: orion_mdio_bus: probed
[ 1.007736] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 2.091413] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:99:a3
[ 2.100378] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.106976] ehci-pci: EHCI PCI platform driver
[ 2.111535] ehci-orion: EHCI orion driver
[ 2.115738] orion-ehci f1050000.ehci: EHCI Host Controller
[ 2.121311] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 2.129148] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[ 2.150723] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 2.156957] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.163802] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.171075] usb usb1: Product: EHCI Host Controller
[ 2.175974] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[ 2.182724] usb usb1: SerialNumber: f1050000.ehci
[ 2.188189] hub 1-0:1.0: USB hub found
[ 2.192045] hub 1-0:1.0: 1 port detected
[ 2.196863] mousedev: PS/2 mouse device common for all mice
[ 2.510750] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 2.662407] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.669157] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.676363] usb 1-1: Product: USB2.0 Hub
[ 2.681254] hub 1-1:1.0: USB hub found
[ 2.685406] hub 1-1:1.0: 4 ports detected
[ 2.971033] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[ 3.083028] usb 1-1.3: New USB device found, idVendor=090c, idProduct=1000
[ 3.089949] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.210718] rtc-mv f1010300.rtc: internal RTC not ticking
[ 3.216357] i2c /dev entries driver
[ 3.222402] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.228221] drop_monitor: Initializing network drop monitor service
[ 3.234790] TCP: cubic registered
[ 3.238129] NET: Registered protocol family 17
[ 3.242749] Key type dns_resolver registered
[ 3.247877] Loading compiled-in X.509 certificates
[ 3.252754] registered taskstats version 1
[ 3.257858] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 3.265685] Waiting 10 sec before mounting root device...
[ 13.280892] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[ 13.288235] Please append a correct "root=" boot option; here are the available partitions:
[ 13.296682] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 13.304990] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.5-kirkwood-tld-1 #1
[ 13.312095] [<c0014aa0>] (unwind_backtrace) from [<c00110d4>] (show_stack+0x10/0x14)
[ 13.319883] [<c00110d4>] (show_stack) from [<c054f408>] (panic+0x80/0x208)
[ 13.326798] [<c054f408>] (panic) from [<c076c200>] (mount_block_root+0x200/0x248)
[ 13.334318] [<c076c200>] (mount_block_root) from [<c076c32c>] (mount_root+0xe4/0x10c)
[ 13.342182] [<c076c32c>] (mount_root) from [<c076c478>] (prepare_namespace+0x124/0x184)
[ 13.350223] [<c076c478>] (prepare_namespace) from [<c076be2c>] (kernel_init_freeable+0x1f8/0x240)
[ 13.359134] [<c076be2c>] (kernel_init_freeable) from [<c054e500>] (kernel_init+0x8/0xe4)
[ 13.367261] [<c054e500>] (kernel_init) from [<c000e310>] (ret_from_fork+0x14/0x24)
[ 13.374865] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 80.300713] random: nonblocking pool is initialized


U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
Pogo E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: 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... 1 Storage Device(s) found

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

Part Start Sector Num Sectors UUID Type
1 2048 1955840 0049d569-01 83 Boot
Attempting to boot from usb 0:1...
745 bytes read in 308 ms (2 KiB/s)
Importing environment (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
** File not found /boot/zImage **
Running default loaduimage ...
2877273 bytes read in 438 ms (6.3 MiB/s)
Running loadfdt ...
10228 bytes read in 998 ms (9.8 KiB/s)
Running loaduinitrd ...
6535284 bytes read in 608 ms (10.3 MiB/s)
Running loaduimage ...
2877273 bytes read in 438 ms (6.3 MiB/s)
Booting from usb 0:1 ...
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.18.5-kirkwood-tld-1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2877209 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.18.5-kirkwood-tld-1
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6535220 Bytes = 6.2 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 0f4e7000, end 0fb22834 ... OK
Loading Device Tree to 0f4e1000, end 0f4e67f3 ... 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.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Thu Feb 5 17:58:07 PST 2015
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: 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: 121320K/131072K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init, 305K bss, 9752K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 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 - 0xc076a240 (7561 kB)
[ 0.000000] .init : 0xc076b000 - 0xc07ae000 ( 268 kB)
[ 0.000000] .data : 0xc07ae000 - 0xc08096fc ( 366 kB)
[ 0.000000] .bss : 0xc08096fc - 0xc0855d84 ( 306 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000016] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 0.008354] Console: colour dummy device 80x30
[ 0.012927] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 0.100944] pid_max: default: 32768 minimum: 301
[ 0.105796] Security Framework initialized
[ 0.110137] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.116879] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.124825] Initializing cgroup subsys devices
[ 0.129449] Initializing cgroup subsys freezer
[ 0.134022] Initializing cgroup subsys net_cls
[ 0.138630] Initializing cgroup subsys blkio
[ 0.143106] CPU: Testing write buffer coherency: ok
[ 0.148587] Setting up static identity map for 0x557418 - 0x557470
[ 0.155174] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[ 0.162933] devtmpfs: initialized
[ 0.169106] prandom: seed boundary self test passed
[ 0.178185] prandom: 100 self tests passed
[ 0.182410] pinctrl core: initialized pinctrl subsystem
[ 0.188299] regulator-dummy: no parameters
[ 0.197101] NET: Registered protocol family 16
[ 0.202133] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.238055] cpuidle: using governor ladder
[ 0.268051] cpuidle: using governor menu
[ 0.272482] Feroceon L2: Enabling L2
[ 0.276198] Feroceon L2: Cache support initialised.
[ 0.281619] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.296583] No ATAGs?
[ 0.329755] vgaarb: loaded
[ 0.333204] usbcore: registered new interface driver usbfs
[ 0.338929] usbcore: registered new interface driver hub
[ 0.344425] usbcore: registered new device driver usb
[ 0.350686] Switched to clocksource orion_clocksource
[ 0.394354] NET: Registered protocol family 2
[ 0.399575] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.406808] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.413311] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.419843] TCP: reno registered
[ 0.423201] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.429157] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.435761] NET: Registered protocol family 1
[ 0.440543] RPC: Registered named UNIX socket transport module.
[ 0.446626] RPC: Registered udp transport module.
[ 0.451460] RPC: Registered tcp transport module.
[ 0.456271] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.463199] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.471209] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.477437] Initialise system trusted keyring
[ 0.482067] audit: initializing netlink subsys (disabled)
[ 0.487622] audit: type=2000 audit(0.470:1): initialized
[ 0.493861] zpool: loaded
[ 0.496589] zbud: loaded
[ 0.499529] VFS: Disk quotas dquot_6.5.2
[ 0.503650] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.510921] NFS: Registering the id_resolver key type
[ 0.516112] Key type id_resolver registered
[ 0.520398] Key type id_legacy registered
[ 0.524573] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.531415] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.538095] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.545610] msgmni has been set to 236
[ 0.549607] Key type big_key registered
[ 0.556456] alg: No test for stdrng (krng)
[ 0.560743] Key type asymmetric registered
[ 0.564949] Asymmetric key parser 'x509' registered
[ 0.570014] bounce: pool size: 64 pages
[ 0.574120] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.581707] io scheduler noop registered
[ 0.585746] io scheduler deadline registered
[ 0.590169] io scheduler cfq registered (default)
[ 0.596394] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.604533] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[ 0.611990] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[ 0.619503] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.660755] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.700752] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.706445] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.750751] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.790750] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.796681] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.804529] console [ttyS0] disabled
[ 0.808262] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[ 0.817447] console [ttyS0] enabled
[ 0.817447] console [ttyS0] enabled
[ 0.824579] bootconsole [earlycon0] disabled
[ 0.824579] bootconsole [earlycon0] disabled
[ 0.834803] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 0.841224] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 0.845866] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 0.851578] Scanning device for bad blocks
[ 0.871285] Bad eraseblock 146 at 0x000001240000
[ 0.876932] Bad eraseblock 156 at 0x000001380000
[ 0.910214] Bad eraseblock 426 at 0x000003540000
[ 0.925125] Bad eraseblock 523 at 0x000004160000
[ 0.935032] Bad eraseblock 573 at 0x0000047a0000
[ 0.962479] Bad eraseblock 788 at 0x000006280000
[ 0.987796] Bad eraseblock 983 at 0x000007ae0000
[ 0.998363] libphy: Fixed MDIO Bus: probed
[ 1.002863] libphy: orion_mdio_bus: probed
[ 1.007717] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 2.091395] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:99:a3
[ 2.100356] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.106957] ehci-pci: EHCI PCI platform driver
[ 2.111506] ehci-orion: EHCI orion driver
[ 2.115712] orion-ehci f1050000.ehci: EHCI Host Controller
[ 2.121283] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 2.129121] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[ 2.150722] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 2.156955] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.163800] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.171073] usb usb1: Product: EHCI Host Controller
[ 2.175972] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[ 2.182724] usb usb1: SerialNumber: f1050000.ehci
[ 2.188187] hub 1-0:1.0: USB hub found
[ 2.192043] hub 1-0:1.0: 1 port detected
[ 2.196863] mousedev: PS/2 mouse device common for all mice
[ 2.510750] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 2.662504] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.669252] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.676456] usb 1-1: Product: USB2.0 Hub
[ 2.681350] hub 1-1:1.0: USB hub found
[ 2.685502] hub 1-1:1.0: 4 ports detected
[ 2.971004] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[ 3.083375] usb 1-1.1: New USB device found, idVendor=090c, idProduct=1000
[ 3.090297] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.097677] usb 1-1.1: Product: DISK 2.0
[ 3.101638] usb 1-1.1: Manufacturer: USB
[ 3.105577] usb 1-1.1: SerialNumber: 77O11ZT5RXL0VP9O
[ 3.210721] rtc-mv f1010300.rtc: internal RTC not ticking
[ 3.216355] i2c /dev entries driver
[ 3.222403] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.228220] drop_monitor: Initializing network drop monitor service
[ 3.234788] TCP: cubic registered
[ 3.238127] NET: Registered protocol family 17
[ 3.242749] Key type dns_resolver registered
[ 3.247871] Loading compiled-in X.509 certificates
[ 3.252742] registered taskstats version 1
[ 3.257863] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 3.265693] Waiting 10 sec before mounting root device...
[ 13.280888] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[ 13.288232] Please append a correct "root=" boot option; here are the available partitions:
[ 13.296680] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 13.304989] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.5-kirkwood-tld-1 #1
[ 13.312095] [<c0014aa0>] (unwind_backtrace) from [<c00110d4>] (show_stack+0x10/0x14)
[ 13.319881] [<c00110d4>] (show_stack) from [<c054f408>] (panic+0x80/0x208)
[ 13.326795] [<c054f408>] (panic) from [<c076c200>] (mount_block_root+0x200/0x248)
[ 13.334316] [<c076c200>] (mount_block_root) from [<c076c32c>] (mount_root+0xe4/0x10c)
[ 13.342181] [<c076c32c>] (mount_root) from [<c076c478>] (prepare_namespace+0x124/0x184)
[ 13.350222] [<c076c478>] (prepare_namespace) from [<c076be2c>] (kernel_init_freeable+0x1f8/0x240)
[ 13.359132] [<c076be2c>] (kernel_init_freeable) from [<c054e500>] (kernel_init+0x8/0xe4)
[ 13.367260] [<c054e500>] (kernel_init) from [<c000e310>] (ret_from_fork+0x14/0x24)
[ 13.374864] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 80.290711] random: nonblocking pool is initialized
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 15, 2015 08:05AM
also what's supposed inside my usb/boot folder?
because when initially I used the 3.16, I didn't have to make anything, but when you realized I was supposed to use 3.18.xx I followed those steps and I had to install uboot utils and mkimage

should we double check the content of my usb sticks ?

cp -a zImage-3.18.5-kirkwood-tld-1  zImage.fdt
cat dts/kirkwood-goflexnet.dtb  >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.18.5-kirkwood-tld-1 -d zImage.fdt uImage
sync
Re: (WIP) Booting Debian Kirkwood rootfs from latest Arch U-Boot
September 15, 2015 11:02AM
dito Wrote:
-------------------------------------------------------
> also what's supposed inside my usb/boot folder?
> because when initially I used the 3.16, I didn't
> have to make anything, but when you realized I was
> supposed to use 3.18.xx I followed those steps and
> I had to install uboot utils and mkimage
>
> should we double check the content of my usb
> sticks ?
>
>
> cp -a zImage-3.18.5-kirkwood-tld-1  zImage.fdt
> cat dts/kirkwood-goflexnet.dtb  >> zImage.fdt
> mv uImage uImage.orig
> mkimage -A arm -O linux -T kernel -C none -a
> 0x00008000 -e 0x00008000 -n
> Linux-3.18.5-kirkwood-tld-1 -d zImage.fdt uImage
> sync
>

Ah! this is the problem :) I did not recognize this error before, since you are booting with Arch u-boot, i.e. the booting behavior is different than what I used to see.

See my instruction in the first post:

Quote

Assuming you have downloaded and created the latest rootfs from this thread. Note that the rootfs should be untouched after extracting (we are booting with separated DTB using step 4a).

So step 4b above resulted in a messed up uImage.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Booting Debian rootfs from latest Arch U-Boot
September 15, 2015 06:36PM
ok so I was doing it all more complex that needed to be, just tar the image, copy uEnv sync and boot.

It's booting up now :) Thank you so much. no DHCP address thou, I have to setup a static one.

I'll go thru the guides, enable ssh and all my favorites packages now...

do you want me to post something just out of curiousity or are we done here?

BTW, I've used the previous uEnv, not the last one... not sure if it matters... I can try it thou..
http://forum.doozan.com/read.php?3,23727,23812#msg-23812
Re: Booting Debian rootfs from latest Arch U-Boot
September 15, 2015 06:42PM
Loading Device Tree to 0f4e1000, end 0f4e67f3 ... 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.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Thu Feb 5 17:58:07 PST 2015
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: CloudEngines Pogoplug E02
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),-(rootfs)
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 244888K/262144K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init, 305K bss, 17256K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc076a240 (7561 kB)
[ 0.000000] .init : 0xc076b000 - 0xc07ae000 ( 268 kB)
[ 0.000000] .data : 0xc07ae000 - 0xc08096fc ( 366 kB)
[ 0.000000] .bss : 0xc08096fc - 0xc0855d84 ( 306 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000016] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[ 0.000421] Console: colour dummy device 80x30
[ 0.000450] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 0.090119] pid_max: default: 32768 minimum: 301
[ 0.090261] Security Framework initialized
[ 0.090366] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090386] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.091123] Initializing cgroup subsys devices
[ 0.091157] Initializing cgroup subsys freezer
[ 0.091192] Initializing cgroup subsys net_cls
[ 0.091216] Initializing cgroup subsys blkio
[ 0.091321] CPU: Testing write buffer coherency: ok
[ 0.091774] Setting up static identity map for 0x557418 - 0x557470
[ 0.092068] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[ 0.094543] devtmpfs: initialized
[ 0.097141] prandom: seed boundary self test passed
[ 0.101242] prandom: 100 self tests passed
[ 0.101272] pinctrl core: initialized pinctrl subsystem
[ 0.101771] regulator-dummy: no parameters
[ 0.105820] NET: Registered protocol family 16
[ 0.106268] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.130119] cpuidle: using governor ladder
[ 0.160117] cpuidle: using governor menu
[ 0.160518] Feroceon L2: Enabling L2
[ 0.160565] Feroceon L2: Cache support initialised.
[ 0.160945] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[ 0.165125] No ATAGs?
[ 0.201809] vgaarb: loaded
[ 0.202196] usbcore: registered new interface driver usbfs
[ 0.202278] usbcore: registered new interface driver hub
[ 0.202344] usbcore: registered new device driver usb
[ 0.203404] Switched to clocksource orion_clocksource
[ 0.241825] NET: Registered protocol family 2
[ 0.242592] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.242629] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.242660] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.242730] TCP: reno registered
[ 0.242744] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.242766] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.242971] NET: Registered protocol family 1
[ 0.243348] RPC: Registered named UNIX socket transport module.
[ 0.243361] RPC: Registered udp transport module.
[ 0.243368] RPC: Registered tcp transport module.
[ 0.243375] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.243702] Unpacking initramfs...
[ 0.799367] Freeing initrd memory: 6384K (cf4e7000 - cfb23000)
[ 0.799487] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.800842] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.800876] Initialise system trusted keyring
[ 0.800979] audit: initializing netlink subsys (disabled)
[ 0.801037] audit: type=2000 audit(0.790:1): initialized
[ 0.801851] zpool: loaded
[ 0.801868] zbud: loaded
[ 0.802178] VFS: Disk quotas dquot_6.5.2
[ 0.802239] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.802849] NFS: Registering the id_resolver key type
[ 0.802893] Key type id_resolver registered
[ 0.802902] Key type id_legacy registered
[ 0.802929] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.802944] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.803164] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.803559] msgmni has been set to 490
[ 0.803723] Key type big_key registered
[ 0.806661] alg: No test for stdrng (krng)
[ 0.806706] Key type asymmetric registered
[ 0.806723] Asymmetric key parser 'x509' registered
[ 0.806815] bounce: pool size: 64 pages
[ 0.806908] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.806931] io scheduler noop registered
[ 0.806946] io scheduler deadline registered
[ 0.807003] io scheduler cfq registered (default)
[ 0.808335] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[ 0.808978] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated
[ 0.809384] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated
[ 0.809906] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.843482] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.883471] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[ 0.883655] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.923471] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.963468] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[ 0.963914] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.965249] console [ttyS0] disabled
[ 0.965311] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[ 1.564661] console [ttyS0] enabled
[ 1.569576] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 1.575993] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 1.580634] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 1.586346] Scanning device for bad blocks
[ 1.601619] Bad eraseblock 146 at 0x000001240000
[ 1.606995] Bad eraseblock 156 at 0x000001380000
[ 1.632141] Bad eraseblock 426 at 0x000003540000
[ 1.644148] Bad eraseblock 523 at 0x000004160000
[ 1.652550] Bad eraseblock 573 at 0x0000047a0000
[ 1.673533] Bad eraseblock 788 at 0x000006280000
[ 1.692970] Bad eraseblock 983 at 0x000007ae0000
[ 1.700673] 2 cmdlinepart partitions found on MTD device orion_nand
[ 1.706988] Creating 2 MTD partitions on "orion_nand":
[ 1.712153] 0x000000000000-0x000000100000 : "u-boot"
[ 1.717600] 0x000000100000-0x000008000000 : "rootfs"
[ 1.724116] libphy: Fixed MDIO Bus: probed
[ 1.728527] libphy: orion_mdio_bus: probed
[ 1.738878] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 2.824140] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:99:a3
[ 2.833101] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.839703] ehci-pci: EHCI PCI platform driver
[ 2.844260] ehci-orion: EHCI orion driver
[ 2.848466] orion-ehci f1050000.ehci: EHCI Host Controller
[ 2.854036] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[ 2.861874] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[ 2.883442] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[ 2.889683] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.896527] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.903802] usb usb1: Product: EHCI Host Controller
[ 2.908700] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[ 2.915450] usb usb1: SerialNumber: f1050000.ehci
[ 2.920907] hub 1-0:1.0: USB hub found
[ 2.924761] hub 1-0:1.0: 1 port detected
[ 2.929580] mousedev: PS/2 mouse device common for all mice
[ 3.243467] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 3.395130] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 3.401873] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.409079] usb 1-1: Product: USB2.0 Hub
[ 3.413973] hub 1-1:1.0: USB hub found
[ 3.418128] hub 1-1:1.0: 4 ports detected
[ 3.703755] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[ 3.815624] usb 1-1.3: New USB device found, idVendor=090c, idProduct=1000
[ 3.822544] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.943433] rtc-mv f1010300.rtc: internal RTC not ticking
[ 3.949063] i2c /dev entries driver
[ 3.953907] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.959704] drop_monitor: Initializing network drop monitor service
[ 3.966263] TCP: cubic registered
[ 3.969600] NET: Registered protocol family 17
[ 3.974236] Key type dns_resolver registered
[ 3.979353] Loading compiled-in X.509 certificates
[ 3.984232] registered taskstats version 1
[ 3.989323] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 3.997882] Freeing unused kernel memory: 268K (c076b000 - c07ae000)
Loading, please wait...
[ 4.073122] systemd-udevd[58]: starting version 215
[ 4.085593] random: systemd-udevd urandom read with 7 bits of entropy available
[ 4.261737] SCSI subsystem initialized
[ 4.292917] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 4.333638] scsi host0: usb-storage 1-1.3:1.0
[ 4.347080] usbcore: registered new interface driver usb-storage
[ 4.374620] usbcore: registered new interface driver uas
[ 5.704441] scsi 0:0:0:0: Direct-Access 1100 PQ: 0 ANSI: 4
[ 5.720939] sd 0:0:0:0: [sda] 1970176 512-byte logical blocks: (1.00 GB/962 MiB)
[ 5.729916] sd 0:0:0:0: [sda] Write Protect is off
[ 5.735657] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.741002] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.753031] sda: sda1
[ 5.759160] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 5.768867] sd 0:0:0:0: Attached scsi generic sg0 type 0
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.
[ 14.505681] EXT3-fs (sda1): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bo[ 14.514358] kjournald starting. Commit interval 5 seconds
ttom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[ 15.930605] systemd-udevd[256]: starting version 215
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[ 16.371141] orion_wdt: Initial timeout 21 sec
[ 16.555759] USB Power: 5000 mV
done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.25.2
[ 17.474510] random: nonblocking pool is initialized
rootfs contains a file system with errors, check forced.
Entry '' in /lost+found (11) has a zero-length name.


rootfs: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4
failed (code 4).
[....] An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarte[FAILe fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. ... failed!
[....] The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system m[warnnance, press CONTROL-D to terminate the maintenance shell and restart the system. ... (warning).
Give root password for maintenance
(or type Control-D to continue):
root@debian:~#
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: