Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

PogoPlug Mobile SD Boot Troubles (1 reply)

$
0
0
Hello, I am having some issues getting my Pogoplug mobile to boot from an SD card. I'll say up front that I am no linux expert so if there is anything unclear or additional information needed please let me know.

I followed bodhi's guide for getting this setup (http://forum.doozan.com/read.php?2,11663,page=1)
I've tried 2 different images for the SD card. One from a file called Debian.Wheezy.20130407.Pogoplug.tar (sorry I can't remember where I found this and I can't find it searching) and the other currently on the SD card from Davy's Zyxel thread here (http://forum.doozan.com/read.php?2,7806).

The SD card is fromated ext2 3gb for partition 1 and 1gb swap for partition 2.

I think the uboot install worked out ok because I get feedback from netconsole as follows
** Block device usb 3 not supported
** Block device usb 0 not supported
** Block device usb 0 not supported
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..
SDHC found. Card desciption is:
Manufacturer:       0x1b, OEM "SM"
Product name:       "FBA4B", revision 1.1
Serial number:      171337637
Manufacturing date: 11/2012
CRC:                0x00, b0 = 0
mmc1 is available
SDHC found. Card desciption is:
Manufacturer:       0x1b, OEM "SM"
Product name:       "FBA4B", revision 1.1
Serial number:      171337637
Manufacturing date: 11/2012
CRC:                0x00, b0 = 0
mmc1 is available
Loading file "/boot/uImage" from mmc device 0:1 (xxa1)
2279256 bytes read
Loading file "/boot/uInitrd" from mmc device 0:1 (xxa1)
7004538 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.3.2
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2279192 Bytes = 2.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.3.2-kirkwood-dg
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7004474 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

At this point it seems to hang and drops off my network (no longer in device table on router).

I took a look at the logs on the SD card and they all say

(Nothing has been logged yet.)

Which seems to be the default for them on a fresh install.

Here is my printenv output. Maybe I have a mistake somewhere in here?

Pogov4> printenv
arcNumber=2097
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdpar
ts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd;
 usb stop; run mmc_bootcmd
bootdelay=10
console=ttyS0,115200
ethact=egiga0
ethaddr=02:50:43:52:d1:04
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
if_netconsole=ping $serverip
ipaddr=192.168.10.46
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mmc_bootcmd=mmc init; mmc init; ext2load mmc 0:1 0x00800000 /boot/uImage; if ext
2load mmc 0:1 0x01100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else boot
m 0x800000; fi
mtddevname=uImage2
mtddevnum=2
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M
(root)
ncip=192.168.10.38
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
preboot=run if_netconsole start_netconsole
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; na
nd 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
serverip=192.168.10.38
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; se
tenv stdout nc; setenv stderr nc; version;
stderr=nc
stdin=nc
stdout=nc
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && u
bifsload 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
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext
2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; el
se 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 t
est $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; se
tenv 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

Environment size: 2955/131068 bytes

So is it my SD card? Is it my kernel? Is it my env? I'm not really sure how to proceed to fix this. Any help would be apprciated. Thank you.

Viewing all articles
Browse latest Browse all 3247

Trending Articles