A few years back, I attempted to install OpenWRT on my Pink PogoPlug E02. Something went wrong and it wouldn't boot again. I tossed it in a box and threatened to get back to it one day.
That day has come.
I hooked up the serial console and this is what I get:
I remember that some bad spots in the nand caused my problems...
I would like to install a current version of OpenWRT, if possible.
It seems like I'm not too far away from getting this back up.
I have the tftp server up and running. It seems I just need to flash the current stuff, but somehow deal with the bad blocks.
Can anyone point me in the right direction?
Thanks for any help.
Tom
That day has come.
I hooked up the serial console and this is what I get:
U-Boot 2014.10 (Jul 24 2015 - 20:11:30) 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: 3 ??? 2 ??? 1 ??? 0 UBI: attaching mtd1 to ubi0 UBI: scanning is finished UBI: attached mtd1 (name "mtd=3", size 126 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: 1006, bad PEBs: 2, 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: 0 UBI: available PEBs: 0, total reserved PEBs: 1006, PEBs reserved for bad PEB handling: 18 ** File not found /boot/zImage ** ** File not found /boot/pogo_e02.dtb ** Unmounting UBIFS volume rootfs! libfdt fdt_check_header(): FDT_ERR_BADMAGIC No FDT memory address configured. Please configure the FDT address via "fdt addr <address>" command. Aborting! No FDT memory address configured. Please configure the FDT address via "fdt addr <address>" command. Aborting! Bad Linux ARM zImage magic! PogoE02>The current environment is:
printenv
baudrate=115200
bootargs=console=ttyS0,115200 mtdparts=orion_nand:0xe0000@0x0(uboot),0x20000@0xe0000(uboot_env),0x100000@0x100000(second_stage_uboot),-@0x200000(root) ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw
bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw
bootcmd=setenv bootargs ${console} ${mtdparts} ${bootargs_root}; ubi part root; ubifsmount ubi:rootfs; ubifsload 0x800000 ${kernel}; ubifsload 0x700000 ${fdt}; ubifsumount; fdt addr 0x700000; fdt resize; fdt chosen; bootz 0x800000 - 0x700000
bootdelay=3
cesvcid=xxxxxx
console=console=ttyS0,115200
ethact=egiga0
ethaddr=00:25:31:00:96:75
fdt=/boot/pogo_e02.dtb
ipaddr=192.168.1.43
kernel=/boot/zImage
mtddevname=uboot
mtddevnum=0
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0xe0000@0x0(uboot),0x20000@0xe0000(uboot_env),0x100000@0x100000(second_stage_uboot),-@0x200000(root)
nand_erasesize=20000
nand_oobsize=40
nand_writesize=800
partition=nand0,0
serverip=192.168.1.117
stderr=serial
stdin=serial
stdout=serial
Environment size: 1066/131068 bytes
PogoE02>
I remember that some bad spots in the nand caused my problems...
PogoE02> nand info Device 0: nand0, sector size 128 KiB Page size 2048 b OOB size 64 b Erase size 131072 b PogoE02> nand bad Device 0 bad blocks: 01840000 06520000 PogoE02>
I would like to install a current version of OpenWRT, if possible.
It seems like I'm not too far away from getting this back up.
I have the tftp server up and running. It seems I just need to flash the current stuff, but somehow deal with the bad blocks.
Can anyone point me in the right direction?
Thanks for any help.
Tom