Plug E02 - latest U-Boot 2015.10-1 not booting

Discussion about U-Boot and the kernel.

Plug E02 - latest U-Boot 2015.10-1 not booting

Postby kurter » Fri Feb 26, 2016 7:40 pm

I have been using the much earlier UBOOT from May 2014 for ages.

I had a working serial cable and development plug to play around with so I thought I would try out the new UBOOT from late last year with my Plug (the Pink E02 one) - and possibly try out the NAND based rescue environment as well. (why only turn one dial)?

OK, being a fairly cautious person, I first recorded my initial environment variables.

Here they are:
$this->bbcode_second_pass_code('', '
PogoE02> env print
baudrate=115200
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 ${loadaddr};
bootz=echo Booting from ${disk} ...; run setargs; bootz ${loadaddr} - ${fdt_addr};
console=ttyS0
ethact=egiga0
ethaddr=00:25:31:00:AD:E4
fdt_addr=0x800000
fdt_file=/boot/dtbs/kirkwood-pogo_e02.dtb
importbootenv=echo Importing environment (uEnv.txt)...; env import -t $loadaddr $filesize
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 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}
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: 1423/131068 bytes
PogoE02>')



I then flashed the updated u-boot from the instructions here
http://archlinuxarm.org/forum/viewtopic.php?f=53&t=8857

I believe I typed "pacman -S uboot-pogo_e02" and answered all the questions with a yes

BEFORE REBOOTING, I also followed the instructions for creating the "rescue system" (specific to the E02) here
http://archlinuxarm.org/forum/viewtopic.php?f=30&t=8383

(basically following the instructions to the letter, including the section at the end specific to the E02)

So, I then rebooted and what used to work - now, no longer will work.

Here is a sample output of the plug as it attempts to boot, as well as the new environment variables.
Does any have any ideas? Thanks

I'm just before throwing it in the trash :twisted:




$this->bbcode_second_pass_code('', '
===========================================================================================
sample boot up with ethernet unplugged and what used to be a working USB device installed
===========================================================================================
U-Boot 2015.10-1 (Nov 28 2015 - 01:55:29 -0700) Arch Linux ARM
Pogo E02

SoC: Kirkwood 88F6281_A0
DRAM: 256 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
No link on egiga0
ping failed; host 10.10.10.5 is not alive
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found

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

Part Start Sector Num Sectors UUID Type
1 63 16064937 00000000-01 83
2 16065000 234018855 00000000-02 83
## Error: "load" not defined

no USB devices available

no USB devices available

no USB devices available
Trying to boot from NAND ...
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI: attached mtd1 (name "mtd=1", size 127 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
UBI: VID header offset: 512 (aligned 512), data offset: 2048
UBI: good PEBs: 1015, bad PEBs: 1, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1124058320
UBI: available PEBs: 0, total reserved PEBs: 1015, PEBs reserved for bad PEB handling: 19
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
Unmounting UBIFS volume rootfs!
Booting from nand ...
Bad Linux ARM zImage magic!
PogoE02> env print
bootargs=console=ttyS0,115200, ubi.mtd=1 root=ubi0:rootfs ro rootfstype=ubifs 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;run loadubi
bootdir=/boot
bootfilem=uImage
bootfilez=zImage
bootubi=echo Trying to boot from NAND ...;if run mountubi; then ubifsload ${loadaddr} /boot/zImage;ubifsload ${fdtaddr} /boot/dtbs/${fdtfile};ubifsumount; setenv bootargs console=${console} ubi.mtd=1 root=ubi0:rootfs ro rootfstype=ubifs rootwait ${mtdparts};bootz ${loadaddr} - ${fdtaddr};fi
bootzubi=echo Booting from nand ...; run setargsubi; bootz ${loadaddr} - ${fdt_addr};
console=ttyS0,115200
ethact=egiga0
ethaddr=00:25:31:00:AD:E4
fdtaddr=0x800000
fdtdir=/boot/dtbs
fdtfile=kirkwood-pogo_e02.dtb
ipaddr=10.10.10.3
letter=a
loadaddr=0x810000
loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${devtype} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}
loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfilez} || load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfilem}
loadrd=load ${devtype} ${bootpart} ${rdaddr} ${bootdir}/${rdfile}
loadubi=echo Trying to boot from NAND ...;if run mountubi; then run loadubizimage;run loadubifdt;ubifsumount;run bootzubi;fi
loadubifdt=ubifsload ${fdt_addr} ${fdt_file}
loadubizimage=ubifsload ${loadaddr} ${zimage}
mainargs=setenv bootargs console=${console} ${mtdparts} root=${root} rw rootwait ${optargs} ${ncargs}
mountubi=ubi part rootfs; ubifsmount ubi0:rootfs
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
ncip=10.10.10.5
ncipk=10.10.10.4
netconsole=on
partition=nand0,0
preboot=if env exists netconsole && test ${netconsole} = on; then if ping ${ncip}; then setenv stdin nc; setenv stdout nc; setenv stderr nc; version; if env exists ncargsusr; then echo ncargs has been defined by user; setenv ncargs ${ncargsusr}; else setenv ncargs ignore_loglevel netconsole=6665@${ipaddr}/eth0,6666@${ncipk}/; fi; fi; else echo Netconsole has been turned off.; echo To turn it on, set netconsole variable to on.; setenv stdin; setenv stdout; setenv stderr; setenv ncargs; fi
rdaddr=0x1100000
rdfile=initramfs-linux.img
setargsubi=setenv bootargs console=${console},${baudrate} ${optargs} ubi.mtd=1 root=ubi0:rootfs ro rootfstype=ubifs rootwait ${mtdparts}
startboot=usb start; for devtype in usb ; do setenv devnum 0; while ${devtype} dev ${devnum}; do echo ${devtype} found on device ${devnum}; setenv bootpart ${devnum}:1; echo Checking for: ${bootdir}/uEnv.txt ...; if test -e ${devtype} ${bootpart} ${bootdir}/uEnv.txt; then load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/uEnv.txt; env import -t ${loadaddr} ${filesize}; echo Loaded environment from ${bootdir}/uEnv.txt; echo Checking if uenvcmd is set ...; if test -n ${uenvcmd}; then echo Running uenvcmd ...; run uenvcmd; fi; fi; if run loadimage; then if env exists root; then echo root has been defined by user; else part uuid ${devtype} ${bootpart} uuid; setenv root PARTUUID=${uuid}; fi; run mainargs; if run loadfdt; then if run loadrd; then bootz ${loadaddr} ${rdaddr}:${filesize} ${fdtaddr}; else bootz ${loadaddr} - ${fdtaddr}; fi; else if run loadrd; then echo Booting uImage with initrd; bootm ${loadaddr} ${rdaddr}:${filesize}; else bootm ${loadaddr}; fi; fi; else echo No kernel found; fi; setexpr devnum ${devnum} + 1; done; done;

Environment size: 3558/131068 bytes
PogoE02>')
kurter
 
Posts: 11
Joined: Wed Mar 09, 2011 8:57 pm

Re: Plug E02 - latest U-Boot 2015.10-1 not booting

Postby WarheadsSE » Fri Feb 26, 2016 8:38 pm

sounds like a problem with the ``load`` function. Look for hat in the help, and possibly fix the issues in the script. Fixable though.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Plug E02 - latest U-Boot 2015.10-1 not booting

Postby moonman » Fri Feb 26, 2016 9:20 pm

You mention "specific section for E02". There is no specific section for E02, unless you followed instructions for U-Boot < 2015.04. which you shouldn't have if you installed 2015.10
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Plug E02 - latest U-Boot 2015.10-1 not booting

Postby kurter » Sat Feb 27, 2016 10:31 pm

Moonman -

I was referring to the v2015.10 version of u-boot, as shown in my system logs

I was referring to the E02 specific environment variables setup in the installation instructions- not a custom version of the U-boot

I thought it might be a uEnv.txt interfering - but - I can't even get the rescue to boot with no inserted media.
(Also documented in the logs that it won't boot)

Well, I can always throw it in the trash and buy another one..
kurter
 
Posts: 11
Joined: Wed Mar 09, 2011 8:57 pm

Re: Plug E02 - latest U-Boot 2015.10-1 not booting

Postby kurter » Sat Feb 27, 2016 10:33 pm

Wardheadse-

I have no idea how to edit the scripts or check for a uEnv.txt file since it is in the boot loader..

I guess I'm stuck.
kurter
 
Posts: 11
Joined: Wed Mar 09, 2011 8:57 pm

Re: Plug E02 - latest U-Boot 2015.10-1 not booting

Postby WarheadsSE » Sat Feb 27, 2016 11:09 pm

$this->bbcode_second_pass_code('', 'loadbootenv=load ${type} ${disk}:1 ${loadaddr} /boot/uEnv.txt')
And then the message about load.

Somehow, the uboot you have does not have that function. It does, however have some other function that should allow you to load a file with nearly the same syntax. We just need to know what the format of your boot partitions is and then check for `loadxxx`
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Plug E02 - latest U-Boot 2015.10-1 not booting

Postby wobble » Sun Feb 28, 2016 9:16 am

$this->bbcode_second_pass_quote('', 'I') was referring to the E02 specific environment variables setup in the installation instructions- not a custom version of the U-boot


As moonman pointed out, the only "E02 specific environment variables setup" in the post you linked is in the section titled "Setting U-Boot environment (do NOT do this if you have updated uboot to >= 2015.04)".

And you probably did run those commands, as you now have a "mountubi" var that didn't exist in your initial environment.

So the remedy might be to just reset all the vars set in the "uboot to >= 2015.04" section to their original values.
wobble
 
Posts: 31
Joined: Fri Dec 04, 2015 2:15 pm

Re: Plug E02 - latest U-Boot 2015.10-1 not booting

Postby wobble » Sun Feb 28, 2016 9:46 am

$this->bbcode_second_pass_quote('', 'S')o the remedy might be to just reset all the vars set in the "uboot to >= 2015.04" section to their original values.


Now that I think about it, that probably won't work, as your original env vars are from the time before you installed 2015.10.

So instead, I'd recommend to just re-install the current u-boot and if that doesn't help, a simple $this->bbcode_second_pass_code('', 'fw_setenv bootcmd 'run startboot;run bootubi'') might (that's the value of bootcmd on my E02 with 2015.10 installed).
wobble
 
Posts: 31
Joined: Fri Dec 04, 2015 2:15 pm

Re: Plug E02 - latest U-Boot 2015.10-1 not booting

Postby moonman » Sun Feb 28, 2016 11:09 pm

Netconsole should work. If it does, you should be able to load defaults after interrupting uboot:

$this->bbcode_second_pass_code('', 'env default -a
saveenv
reset')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Plug E02 - latest U-Boot 2015.10-1 not booting

Postby kurter » Mon Feb 29, 2016 4:25 pm

To all,

Thank you for the massive help booting my E02 plug with "U-Boot 2015.10-1 (Nov 28 2015 - 01:55:29 -0700) Arch Linux ARM"
It's booting partway now, so I am light years ahead of where I was. :)

Here is my structure when I have the USB stick in a working system (so it's referred to SDB)
Basically, a small primary boot partition, and a large primary data partition the balance of the volume.
That way, I can format the boot volume and rebuild it (without losing my server files for my LAMP server).


$this->bbcode_second_pass_code('', '
[root@black ~]# lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1 ext4 9fb71b46-9f2c-4347-9bab-b5f3f26c83e1 /
`-sda2 ext4 bdfa5020-fd1c-4d05-afcd-8d8fe173043f /usb
sdb
|-sdb1 ext4 cbaf31cd-4b53-449b-b369-12b4d5b7f968
`-sdb2 ext4 85e254c8-97f6-4530-9420-b2a6a278aa98
')

I then followed instructions and reset the env variables back to default and hoped for the best...

$this->bbcode_second_pass_code('', '
PogoE02> env default -a
## Resetting to default environment
PogoE02> saveenv
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xc0000 -- 100% complete.
Writing to NAND... OK
PogoE02> reset
resetting ...


U-Boot 2015.10-1 (Nov 28 2015 - 01:55:29 -0700) Arch Linux ARM
Pogo E02

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

No link on egiga0
ping failed; host 10.10.10.5 is not alive
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found

USB device 0:
Device 0: Vendor: SanDisk Rev: 2.01 Prod: Cruzer Glide
Type: Hard Disk
Capacity: 122112.0 MB = 119.2 GB (250085376 x 512)
... is now current device
usb found on device 0
Checking for: /boot/uEnv.txt ...
73 bytes read in 178 ms (0 Bytes/s)
Loaded environment from /boot/uEnv.txt
Checking if uenvcmd is set ...
** File not found /boot/zImage **
4549504 bytes read in 331 ms (13.1 MiB/s)
loading /boot/dtbs/kirkwood-pogo_e02.dtb ...
** File not found /boot/dtbs/kirkwood-pogo_e02.dtb **
2624408 bytes read in 241 ms (10.4 MiB/s)
## Booting kernel from Legacy Image at 00810000 ...
Image Name: Linux-4.4.1-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4549440 Bytes = 4.3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.1-1-ARCH (builduser@leming) (gcc version 5.3.0 (GCC) ) #1 PREEMPT Tue Feb 2 07:05:54 MST 2016
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Pogoplug E02
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),-(rootfs) root=PARTUUID=00000000-01 rw rootwait
[ 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: 247012K/262144K available (6548K kernel code, 545K rwdata, 1868K rodata, 300K init, 725K bss, 15132K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08404b8 (8418 kB)
[ 0.000000] .init : 0xc0841000 - 0xc088c000 ( 300 kB)
[ 0.000000] .data : 0xc088c000 - 0xc09147ec ( 546 kB)
[ 0.000000] .bss : 0xc09147ec - 0xc09c9d18 ( 726 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:114
[ 0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 3.053676] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 3.053859] Console: colour dummy device 80x30
[ 3.053888] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 3.143760] pid_max: default: 32768 minimum: 301
[ 3.143850] Security Framework initialized
[ 3.143922] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 3.143940] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 3.144669] Initializing cgroup subsys io
[ 3.144701] Initializing cgroup subsys memory
[ 3.144750] Initializing cgroup subsys devices
[ 3.144775] Initializing cgroup subsys freezer
[ 3.144796] Initializing cgroup subsys net_cls
[ 3.144813] Initializing cgroup subsys perf_event
[ 3.144832] Initializing cgroup subsys net_prio
[ 3.144911] CPU: Testing write buffer coherency: ok
[ 3.145375] Setting up static identity map for 0x81e0 - 0x8238
[ 3.147282] devtmpfs: initialized
[ 3.149641] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 3.150060] pinctrl core: initialized pinctrl subsystem
[ 3.150804] NET: Registered protocol family 16
[ 3.151299] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 3.173766] cpuidle: using governor ladder
[ 3.203763] cpuidle: using governor menu
[ 3.203944] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 3.203970] Feroceon L2: Enabling L2
[ 3.204009] Feroceon L2: Cache support initialised.
[ 3.245221] vgaarb: loaded
[ 3.245551] SCSI subsystem initialized
[ 3.246035] usbcore: registered new interface driver usbfs
[ 3.246109] usbcore: registered new interface driver hub
[ 3.246169] usbcore: registered new device driver usb
[ 3.246328] pps_core: LinuxPPS API ver. 1 registered
[ 3.246337] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 3.246369] PTP clock support registered
[ 3.247437] clocksource: Switched to clocksource orion_clocksource
[ 3.285897] FS-Cache: Loaded
[ 3.298993] NET: Registered protocol family 2
[ 3.299791] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 3.299830] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 3.299860] TCP: Hash tables configured (established 2048 bind 2048)
[ 3.299936] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 3.299958] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 3.300160] NET: Registered protocol family 1
[ 3.300492] RPC: Registered named UNIX socket transport module.
[ 3.300504] RPC: Registered udp transport module.
[ 3.300511] RPC: Registered tcp transport module.
[ 3.300517] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 3.300814] Trying to unpack rootfs image as initramfs...
[ 3.504794] Freeing initrd memory: 2564K (c1100000 - c1381000)
[ 3.506636] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 3.519448] VFS: Disk quotas dquot_6.6.0
[ 3.519704] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 3.521737] FS-Cache: Netfs 'nfs' registered for caching
[ 3.522655] NFS: Registering the id_resolver key type
[ 3.522705] Key type id_resolver registered
[ 3.522714] Key type id_legacy registered
[ 3.522810] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 3.524115] fuse init (API version 7.23)
[ 3.526375] aufs 4.4-20160118
[ 3.531714] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 3.531737] io scheduler noop registered
[ 3.531750] io scheduler deadline registered
[ 3.532024] io scheduler cfq registered
[ 3.532290] io scheduler bfq registered (default)
[ 3.532299] BFQ I/O-scheduler: v7r11
[ 3.532496] mv_xor mv_xor.0: Marvell shared XOR driver
[ 3.568722] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[ 3.568963] mv_xor mv_xor.1: Marvell shared XOR driver
[ 3.608680] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[ 3.614241] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 3.615345] console [ttyS0] disabled
[ 3.635474] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 4.199516] console [ttyS0] enabled
[ 4.218851] brd: module loaded
[ 4.229629] loop: module loaded
[ 4.233613] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 4.240103] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 4.244747] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 4.252379] Scanning device for bad blocks
[ 4.303641] Bad eraseblock 622 at 0x000004dc0000
[ 4.338673] 2 cmdlinepart partitions found on MTD device orion_nand
[ 4.344964] Creating 2 MTD partitions on "orion_nand":
[ 4.350148] 0x000000000000-0x000000100000 : "u-boot"
[ 4.355607] 0x000000100000-0x000008000000 : "rootfs"
[ 4.373985] libphy: orion_mdio_bus: probed
[ 4.378273] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 5.458467] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:00:00:00:00:00
[ 5.467343] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.473932] ehci-pci: EHCI PCI platform driver
[ 5.478483] ehci-orion: EHCI orion driver
[ 5.482590] orion-ehci orion-ehci.0: EHCI Host Controller
[ 5.488066] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 5.495820] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 5.517467] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 5.524375] hub 1-0:1.0: USB hub found
[ 5.528236] hub 1-0:1.0: 1 port detected
[ 5.532858] usbcore: registered new interface driver uas
[ 5.538376] usbcore: registered new interface driver usb-storage
[ 5.544460] usbcore: registered new interface driver ums-alauda
[ 5.550509] usbcore: registered new interface driver ums-cypress
[ 5.556589] usbcore: registered new interface driver ums-datafab
[ 5.562700] usbcore: registered new interface driver ums_eneub6250
[ 5.568975] usbcore: registered new interface driver ums-freecom
[ 5.575064] usbcore: registered new interface driver ums-isd200
[ 5.581079] usbcore: registered new interface driver ums-jumpshot
[ 5.587247] usbcore: registered new interface driver ums-karma
[ 5.593174] usbcore: registered new interface driver ums-onetouch
[ 5.599386] usbcore: registered new interface driver ums-realtek
[ 5.605474] usbcore: registered new interface driver ums-sddr09
[ 5.611495] usbcore: registered new interface driver ums-sddr55
[ 5.617511] usbcore: registered new interface driver ums-usbat
[ 5.623816] mousedev: PS/2 mouse device common for all mice
[ 5.847466] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 6.000072] hub 1-1:1.0: USB hub found
[ 6.004205] hub 1-1:1.0: 4 ports detected
[ 6.287460] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[ 6.399373] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 6.405990] scsi host0: usb-storage 1-1.1:1.0
[ 6.637461] rtc-mv rtc-mv: internal RTC not ticking
[ 6.642505] i2c /dev entries driver
[ 6.646599] sdhci: Secure Digital Host Controller Interface driver
[ 6.652836] sdhci: Copyright(c) Pierre Ossman
[ 6.657273] sdhci-pltfm: SDHCI platform and OF driver helper
[ 6.663466] ledtrig-cpu: registered to indicate activity on CPUs
[ 6.669668] usbcore: registered new interface driver r8712u
[ 6.675518] gre: GRE over IPv4 demultiplexor driver
[ 6.680494] NET: Registered protocol family 17
[ 6.685102] Key type dns_resolver registered
[ 6.690412] registered taskstats version 1
[ 6.715696] Key type encrypted registered
[ 6.720436] console [netcon0] enabled
[ 6.724120] netconsole: network logging started
[ 6.728966] hctosys: unable to open rtc device (rtc0)
[ 6.735948] Freeing unused kernel memory: 300K (c0841000 - c088c000)
:: running early hook [udev]
[ 6.794410] random: systemd-tmpfile urandom read with 7 bits of entropy available
starting version 228
:: running hook [udev]
:: Triggering uevents...
[ 7.415058] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Glide 2.01 PQ: 0 ANSI: 6
[ 7.439672] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 7.445103] sd 0:0:0:0: [sda] 250085376 512-byte logical blocks: (128 GB/119 GiB)
[ 7.466263] sd 0:0:0:0: [sda] Write Protect is off
[ 7.481763] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 7.519082] sda: sda1 sda2
[ 7.531001] sd 0:0:0:0: [sda] Attached SCSI disk
Waiting 10 seconds for device /dev/disk/by-partuuid/00000000-01 ...
ERROR: device 'PARTUUID=00000000-01' not found. Skipping fsck.
ERROR: Unable to find root device 'PARTUUID=00000000-01'.
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty; job control turned off
[rootfs /]#
')

So, It seems that my uEnv.txt file is now the problem

$this->bbcode_second_pass_code('', '
extraargs=root=UUID=cbaf31cd-4b53-449b-b369-12b4d5b7f968
')

so I mounted /dev/sda1 and deleted it outright...

Same result....
kurter
 
Posts: 11
Joined: Wed Mar 09, 2011 8:57 pm

Next

Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 6 guests