Welcome! Log In Create A New Profile

Advanced

Pogoplug v4 / mobile on bodhi's latest build wont start linux

Posted by purplelizard 
Pogoplug v4 / mobile on bodhi's latest build wont start linux
July 24, 2014 03:51PM
Hi all, hope you can help. Awsome job on suporting debian on these devices!
I followed all the steps on http://forum.doozan.com/read.php?3,12381 to install uboot - it worked great, I have uboot running and can interact with it via nc.
I then tried creating my kernel on a usb stick following http://forum.doozan.com/read.php?2,12096
So, it was a little unclear about how to partition the drive, but I settled on a single large partition (28gb) in ext2 and change the etc/fstab file to ext2
Now when I boot I get all the way to 'Starting Kernel' and I get a solid green light (initially its flashing).
It stays there for seemingly ever, and I never see any network traffic (using wireshark) , so it seems like its dead.
Any suggestions about next steps - Have tried various older kernel / rootfs's and nothing I have tried seems any different.
Re: Pogoplug v4 / mobile on bodhi's latest build wont start linux
July 24, 2014 05:54PM
purplelizard,

Try these in order:

1. First, make sure you've created the rootfs as root user. If you did then try the next 2 tests.
2. Format the single partition to ext3, re-extract the rootfs to it, again as root. In netconsole, change rootfs type to ext3 using setenv, but don't save. Boot.
3. If no 2 did not work, restart. And in netconsole, remove the rootfstype using setenv, again don't save. Boot.

If neither of the above works, or you're not sure how to, please post your output of printenv in netconsole.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 07/24/2014 05:56PM by bodhi.
Re: Pogoplug v4 / mobile on bodhi's latest build wont start linux
July 24, 2014 07:14PM
bodhi,

Yes I was root on the setup machine (laptop running debian) when I did the usb copy.

I have tried both ext2 on a usb drive and ext3 (switching rootfstype with setenv during boot) on an sd card, same result with both.
My uboot output from nc:
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45)
Pogoplug V4
gcc (Debian 4.6.3-14) 4.6.3
GNU ld (GNU Binutils for Debian) 2.22

My printenv :
arcNumber=3960
baudrate=115200
bootcmd=run bootcmd_usb; run bootcmd_mmc; run bootcmd_sata; reset
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
console=ttyS0,115200
device=0:1
ethact=egiga0
ethaddr=00:25:31:--snipped for privacy, but correct---
if_netconsole=ping $serverip
ipaddr=10.0.0.100
led_error=orange blinking
led_exit=green off
led_init=green blinking
machid=f78
mainlineLinux=yes
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=uImage2
mtddevnum=2
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
ncip=10.0.0.35
netconsole=1
partition=nand0,2
preboot=run if_netconsole start_netconsole
preboot_nc=run if_netconsole start_netconsole
rootdelay=10
rootfstype=ext2
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=10.0.0.35
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=nc
stdin=nc
stdout=nc
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

I tried adding netconsole=... to the boot args, but nothing showed up, unfortunately I dont have serial to hand and prefer not to mod my board if I can avoid it.

-purplelizard
Re: Pogoplug v4 / mobile on bodhi's latest build wont start linux
July 24, 2014 07:52PM
bodhi,
So I got it working!!!
I looked at the /var/log folder and found it was booting the kernel and logging to dmesg and looked ok.
I suspect the issue was some network / DHCP related issue, my router had been playing up (its web ui was inaccessible) but otherwise it was working so I hadnt worried about it too much. As a last resort I rebooted my router, rebooted the pogoplug and voilla, it showed up in my router dhcp list and I was able to ssh into it.
Finally I canget on hacking this thing.
Thanks again for maintaining the build and giving support!
-purplelizard.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: