[Solved] Uboot 2016 failing on ext4 (Pogoplug mobile)

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[Solved] Uboot 2016 failing on ext4 (Pogoplug mobile)

Postby yeehaa » Sun Feb 18, 2018 4:12 pm

@moonman @kmihelich or anybody else who has seen this? :?

uboot is failing to boot from usb flash drive..

here is the boot log and uboot environment from serial. I'm not able to figure this out as google search doesnt bring anything up as well. Seems like the latest uboot is not able to boot from my ext4 usb drive.. this is the latest ALARM for pogoplug mobile v4A1..

$this->bbcode_second_pass_code('', 'U-Boot 2016.09.01-1 (Oct 10 2016 - 23:13:37 -0600) Arch Linux ARM
Pogoplug V4

SoC: Kirkwood 88F6281_A1
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 128 MiB
MMC: MVEBU_MMC: 0
In: serial
Out: serial
Err: serial
Net: egiga0
IDE: ide_preinit failed
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 10.10.10.5 is not alive
Hit any key to stop autoboot: 3 ... 2 ... 1 ... 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found

Reset IDE: ide_preinit failed
Card did not respond to voltage select!

USB device 0:
Device 0: Vendor: USB 2.0 Rev: 1100 Prod: USB Flash Driver
Type: Removable Hard Disk
Capacity: 7667.0 MB = 7.4 GB (15702016 x 512)
... is now current device
usb found on device 0
Checking for: /boot/uEnv.txt ...
Unsupported feature found (64bit, possibly metadata_csum), not mounting
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Unsupported feature found (64bit, possibly metadata_csum), not mounting
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Unsupported feature found (64bit, possibly metadata_csum), not mounting
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
No kernel found')

Environment:
$this->bbcode_second_pass_code('', 'Pogoplugv4> printenv
bootcmd=run startboot;run bootubi
bootdir=/boot
bootfilem=uImage
bootfilez=zImage
bootpart=1:1
bootubi=echo Trying to boot from NAND ...;if run mountubi; then ubifsload ${loadaddr} /boot/zImage;ubifsload ${fdtaddr} /boot/dtbs/kirkwood-pogoplugv4.dtb; ubifsumount; setenv bootargs console=${console} ubi.mtd=1 root=ubi0:rootfs ro rootfstype=ubifs rootwait ${mtdparts};bootz ${loadaddr} - ${fdtaddr};fi
console=ttyS0,115200
devnum=2
ethact=egiga0
ethaddr=00:00:11:22:33:44
fdtaddr=0x800000
fdtdir=/boot/dtbs
fdtfile=kirkwood-pogoplug-series-4.dtb
ipaddr=10.10.10.3
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}
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
startboot=usb start; ide reset; for devtype in mmc usb ide; 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: 2899/131068 bytes')
Last edited by yeehaa on Sun Feb 18, 2018 6:29 pm, edited 1 time in total.
yeehaa
 
Posts: 43
Joined: Mon May 21, 2012 7:54 pm

Re: Uboot 2016 failing on ext4 (Pogoplug mobile)

Postby summers » Sun Feb 18, 2018 4:19 pm

I wonder if this is why the install instructions say:
$this->bbcode_second_pass_code('', 'mkfs.ext4 -O ^metadata_csum,^64bit /dev/sdX1')
Looks like ^64 means not 64.

uboot has supported ext4 for some time, so I'd expect 2016 to support ext4 fine, so I'd guess the above.

So how did you make the partition in the first place?
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: Uboot 2016 failing on ext4 (Pogoplug mobile)

Postby yeehaa » Sun Feb 18, 2018 6:29 pm

Thank you sir! That was it. I was just using mkfs.ext4 to create the ext4 once the uboot was updated. i formatted using the flags you mentioned which solved the issue! thanks again!
yeehaa
 
Posts: 43
Joined: Mon May 21, 2012 7:54 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 9 guests