pogoplug e02 won't boot after power outage

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

pogoplug e02 won't boot after power outage

Postby bakaCirno » Sat Nov 29, 2014 1:33 am

I install arch follow this guide http://archlinuxarm.org/platforms/armv5/pogoplug-v2-pinkgray
After power outage,LED isn't light,can't get ip and SSH connect
I get a serial connect,and be foolish to change a lot of envs,here is printenv
$this->bbcode_second_pass_code('', 'arcNumber=2097
baudrate=115200
bootargs=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x25,0x31,0x00,0xd4,0x6f mem=128 poweroutage=yes
bootcmd=usb start; setenv letter 9;for type in usb; do for disk in 0 1 2 3; do if part ;then setexpr letter + 1;run load;fi;done;done;
bootdelay=3
bootm=echo Booting from ...; run setargs; bootm 0x810000;
bootz=echo Booting from ...; run setargs; bootz 0x810000 - 0x800000;
console=ttyS0
ethact=egiga0
ethaddr=00:25:31:00:93:11
fdt_addr=0x800000
fdt_file=/boot/dtbs/kirkwood-pogo_e02.dtb
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
importbootenv=echo Importing environment (uEnv.txt)...; env import -t 0x810000
led_error=orange blinking
led_exit=green off
led_init=green blinking
letter=9
load=echo Attempting to boot from :1...;if run loadbootenv; then run importbootenv;fi;echo Checking if uenvcmd is set ...;if test -n ; 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 :1 0x810000 /boot/uEnv.txt
loadfdt=load :1 0x800000 /boot/dtbs/kirkwood-pogo_e02.dtb
loaduimage=load :1 0x810000 /boot/uImage
loadzimage=load :1 0x810000 /boot/zImage
mainlineLinux=yes
mtddevname=rootfs
mtddevnum=2
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
nand_erasesize=20000
nand_oobsize=40
nand_writesize=800
partition=nand0,2
pogo_bootcmd=if ubifsload uboot-original-mtd0.kwb; then go 0x800200; fi
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
setargs=setenv bootargs console=ttyS0,115200 root=/dev/sd1 rw rootwait mtdparts=orion_nand:1M(u-boot),-(rootfs)
stderr=serial
stdin=serial
stdout=serial
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
uimage=/boot/uImage
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:1
usb_init=run usb_scan
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
zimage=/boot/zImage')

when boot
$this->bbcode_second_pass_code('', '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
Unknown command 'part' - try 'help'
Unknown command 'part' - try 'help'
Unknown command 'part' - try 'help'
Unknown command 'part' - try 'help'
')

Is it brick?
Sorry for my poor english.
bakaCirno
 
Posts: 2
Joined: Sat Nov 29, 2014 1:00 am

Re: pogoplug e02 won't boot after power outage

Postby Socaltom » Sat Nov 29, 2014 2:14 pm

Have you tried running fsck on the boot partition? You would need another linux device to do this ( I usually set up a USB thumb drive as a back up for this). You can also use a boot CD from a linux distro.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: pogoplug e02 won't boot after power outage

Postby bakaCirno » Sun Nov 30, 2014 6:04 am

I had formatted the u disk and follow the guide step3-step6 reinstall the system,but still not work.
I have tried type "help" in uboot ,there is not a "part" command.
bakaCirno
 
Posts: 2
Joined: Sat Nov 29, 2014 1:00 am

Re: pogoplug e02 won't boot after power outage

Postby bodhi » Sun Nov 30, 2014 9:32 am

@bakaCirno,
It's because your u-boot envs are all messed up! not your rootfs. That "part" command supposed to be in these commands:
$this->bbcode_second_pass_code('', '... usb part ...
.. ide part ...
')
@Tom,
So it's best to post the entire u-boot envs on your Pogo E02 here. And then bakaCirno can fix his/her u-boot envs using that.

-bodhi
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 4 guests