PogoPlug Mobile SD Boot Troubles May 13, 2013 04:43AM |
Registered: 11 years ago Posts: 4 |
** 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 ...
(Nothing has been logged yet.)
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
Re: PogoPlug Mobile SD Boot Troubles May 14, 2013 12:02AM |
Admin Registered: 13 years ago Posts: 18,900 |
The rootfs is packaged as an ext3 image (kirkwood-debian_image.img) so you'll have to mount with the loop option, and cp -a the contents onto a preformatted sda1 partition.
Re: PogoPlug Mobile SD Boot Troubles May 14, 2013 05:49PM |
Registered: 11 years ago Posts: 4 |
setenv usb_rootfstype 'ext3' saveenv
Re: PogoPlug Mobile SD Boot Troubles May 16, 2013 12:20AM |
Admin Registered: 13 years ago Posts: 18,900 |
mmc_bootcmd=mmc init; mmc init; ext2load mmc 0:1 0x00800000 /boot/uImage; if ext2load mmc 0:1 0x01100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
mmc_init ext2load mmc 0:1 0x00800000 /boot/uImage ext2load mmc 0:1 0x01100000 /boot/uInitrd bootm 0x800000 0x1100000
Re: PogoPlug Mobile SD Boot Troubles May 16, 2013 04:58AM |
Registered: 11 years ago Posts: 4 |
WhiteFang
Re: PogoPlug Mobile SD Boot Troubles August 15, 2013 05:31PM |
Re: PogoPlug Mobile SD Boot Troubles August 16, 2013 12:28AM |
Admin Registered: 13 years ago Posts: 18,900 |
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_paramswill set the bootargs to whatever content of each the $ variables. And that will be the arguments to be passed to the kernel command line.
WhiteFang
Re: PogoPlug Mobile SD Boot Troubles August 24, 2013 02:05AM |
mmc_bootcmd 'mmc init; run mmc_set_bootargs; run mmc_boot' mmc_boot 'mw 0x800000 0 1; ext2load mmc 0:1 0x00800000 /boot/uImage; if ext2load mmc 0:1 0x01100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi' mmc_root '/dev/mmcblk0p1' mmc_set_bootargs 'setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params'allowed me to boot from SD :) I was lacking the 'root=$usb_root' (which looks for the 'rootfs' label) and some other things, I suppose.
Re: PogoPlug Mobile SD Boot Troubles August 24, 2013 08:23PM |
Admin Registered: 13 years ago Posts: 18,900 |
> mmc_bootcmd 'mmc init; run mmc_set_bootargs; run > mmc_boot' > mmc_boot 'mw 0x800000 0 1; ext2load mmc 0:1 > 0x00800000 /boot/uImage; if ext2load mmc 0:1 > 0x01100000 /boot/uInitrd; then bootm 0x800000 > 0x1100000; else bootm 0x800000; fi' > mmc_root '/dev/mmcblk0p1' > mmc_set_bootargs 'setenv bootargs console=$console > root=$usb_root rootdelay=$usb_rootdelay > rootfstype=$usb_rootfstype $mtdparts > $usb_custom_params' >> allowed me to boot from SD :) I was lacking the
WhiteFang
Re: PogoPlug Mobile SD Boot Troubles August 25, 2013 03:14AM |
load_nand "nboot 0x800000 0 0x200000" load_nand2 "nboot 0x800000 0 0x500000" boot "bootm 0x800000" boot_nand "run load_nand boot || run load_nand2 boot"and then manually calling boot_nand, but it stops at "Starting kernel ...". Am I missing something?
Re: PogoPlug Mobile SD Boot Troubles August 25, 2013 04:18PM |
Admin Registered: 13 years ago Posts: 18,900 |
WhiteFang
Re: PogoPlug Mobile SD Boot Troubles August 25, 2013 05:12PM |
Re: PogoPlug Mobile SD Boot Troubles August 25, 2013 05:31PM |
Admin Registered: 13 years ago Posts: 18,900 |
Ford
Re: PogoPlug Mobile SD Boot Troubles November 15, 2016 01:05PM |
Re: PogoPlug Mobile SD Boot Troubles November 15, 2016 06:44PM |
Admin Registered: 13 years ago Posts: 18,900 |