Pogoplug mobile instalation went hideously wrong

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

Pogoplug mobile instalation went hideously wrong

Postby novaforme » Sat Sep 20, 2014 8:31 pm

So I purchased a Pogoplug Mobile last week and wanted to play around with installing arch linux on to it.

I was following the guide here http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html and was going well until I ran into this part.

$this->bbcode_second_pass_code('', '#SET MACADDRESS
/tmp/fw_setenv ethaddr "$(cat /sys/class/net/eth0/address)"')

When I typed this in I was getting a error defined message and everything I typed after that I received the same error.

So what do I do? reboot it... and all H&ll breaks loose. :?:

I can't get an IP address on the little black box :( It just blinks green.

So I make a serial cable and putty my way in and the first thing I see is the no mac address set message when it tries to boot.

I go in, setenv ethaddr yadayadayada, I also set an IP address for it and I still can't talk to my little black box via IP/SSH

I went through several post on here trying different things and I'm sure I messed it up even more... I'm stuck

This is what it currently boots up to.

$this->bbcode_second_pass_code('', 'U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4

SoC: Kirkwood 88F6192_A1
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 128 MiB
MMC: kwsdio: 0
In: serial
Out: serial
Err: serial
Net: egiga0
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x100000, size 0x300000
3145728 bytes read: OK
Unknown command '$(bootargs_root)' - try 'help'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Pogov4>
')

If anyone can help that would be great. I would like to just start over and try again but I think i'm in too deep now.
novaforme
 
Posts: 3
Joined: Sat Sep 20, 2014 8:07 pm

Re: Pogoplug mobile instalation went hideously wrong

Postby moonman » Sat Sep 20, 2014 8:47 pm

Could you show output of printenv?
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: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogoplug mobile instalation went hideously wrong

Postby novaforme » Sat Sep 20, 2014 8:56 pm

Yup.

$this->bbcode_second_pass_code('', 'Pogov4> printenv
baudrate=115200
bootargs=$(console)
bootargs_root=root=/dev/mtdblock2 ro
bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console)\
$(bootargs_root); bootm 0x800000
bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot;
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=10
cesvcid=lfacmwmv6qxju8njpe79dululw
console=console=ttyS0,115200
device=0:1
dnsaddr=8.8.8.8
ethact=egiga0
ethaddr=00:25:31:05:c6:3f
if_netconsole=ping $serverip
ipaddr=192.168.1.150
led_error=orange blinking
led_exit=green off
led_init=green blinking
machid=0x831
mainlineLinux=no
mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
mmc_init=mmc rescan
mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage
mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd
mmc_root=/dev/mmcblk0p1
mtddevname=rootfs
mtddevnum=2
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
rm=ethaddr
rootdelay=10
rootfstype=ext3
sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_init=ide reset
sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage
sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd
sata_root=/dev/sda1
serverip=192.168.1.220
set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1

Environment size: 2417/131068 bytes
Pogov4>
')
novaforme
 
Posts: 3
Joined: Sat Sep 20, 2014 8:07 pm

Re: Pogoplug mobile instalation went hideously wrong

Postby moonman » Sat Sep 20, 2014 10:23 pm

Yeah something is not right. Get that environment file and edit accordingly. http://download.qnology.com/pogoplug/v4 ... .bodhi.tar Or ask on doozan forums since it is not Arch u-boot.
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: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogoplug mobile instalation went hideously wrong

Postby novaforme » Sat Sep 20, 2014 10:34 pm

Thanks moonman I will give that a shot.
novaforme
 
Posts: 3
Joined: Sat Sep 20, 2014 8:07 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests