8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug August 22, 2010 01:40PM |
Admin Registered: 14 years ago Posts: 304 |
cd /tmp wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.sh
Re: New uBoot for mtd0 that can still boot original Pogoplug August 22, 2010 02:32PM |
Registered: 14 years ago Posts: 16 |
Re: New uBoot for mtd0 that can still boot original Pogoplug August 22, 2010 02:33PM |
Registered: 14 years ago Posts: 24 |
Re: New uBoot for mtd0 that can still boot original Pogoplug August 22, 2010 02:40PM |
Admin Registered: 14 years ago Posts: 304 |
crunshy
Re: New uBoot for mtd0 that can still boot original Pogoplug August 23, 2010 09:09AM |
Re: New uBoot for mtd0 that can still boot original Pogoplug August 23, 2010 09:19AM |
Admin Registered: 14 years ago Posts: 304 |
Quote
But when I add, in addition to the usb-stick (with the squeeze system), an external usb harddisk - it takes a long time to boot and will finally end up in Pogoplug. Will this be fixed?
crunshy
Re: New uBoot for mtd0 that can still boot original Pogoplug August 23, 2010 09:49AM |
Quote
crunshy
If no usb-stick is plugged in, it boots the old "Pogoplug" from internal flash. If I add the usb-stick, it boots squeeze.
fw_setenv usb_init 'usb start; if ext2ls usb 0:1 /boot/uImage; then setenv usb_device 0:1; elif ext2ls usb 1:1 /boot/uImage; then setenv usb_device 1:1; elif ext2ls usb 2:1 /boot/uImage; then setenv usb_device 2:1; elif ext2ls usb 3:1 /boot/uImage; then setenv usb_device 3:1; fi;'
Re: New uBoot for mtd0 that can still boot original Pogoplug August 23, 2010 09:58AM |
Admin Registered: 14 years ago Posts: 304 |
crunshy
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug August 23, 2010 11:31AM |
bootcmd=run bootcmd_usb; usb stop; run bootcmd_pogo; reset bootdelay=3 baudrate=115200 preboot= arcNumber=2097 mainlineLinux=yes console=ttyS0,115200 usb_device=0:1 usb_root=/dev/sda1 usb_rootfstype=ext2 usb_rootdelay=10 mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) mtdids=nand0=orion_nand partition=nand0,2 bootcmd_pogo=fsload uboot-original-mtd0.kwb; go 0x800200 usb_load_uimage=ext2load usb $usb_device 0x800000 /boot/uImage usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi; set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot; stdin=serial stdout=serial stderr=serial ethact=egiga0 ethaddr=00:10:75:1A:CE:DB usb_init=usb start; if ext2load usb 0:1 0x800000 /boot/uImage; then setenv usb_device 0:1; setenv usb_root /dev/sda1; elif ext2load usb 1:1 0x800000 /boot/uImage; then setenv usb_device 1:1; setenv usb_root /dev/sdb1; elif ext2load usb 2:1 0x800000 /boot/uImage; then setenv usb_device 2:1; setenv usb_root /dev/sdc1; elif ext2load usb 3:1 0x800000 /boot/uImage; then setenv usb_device 3:1;setenv usb_root /dev/sdd1;fi;
flip
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug August 27, 2010 03:44AM |
Hit any key to stop autoboot: 0 (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found ** 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.. ### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000 Scanning JFFS2 FS: ....... read_nand_cached: error reading nand off 0xff6000 size 8192 bytes . done. read_nand_cached: error reading nand off 0xff5200 size 8192 bytes off = 0xff4e30 magic 0x1985 type 0xe002 node.totlen = 1437 ### JFFS2 load complete: 524288 bytes loaded to 0x800000 ## Starting application at 0x00800200 ...
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug August 27, 2010 08:45AM |
Admin Registered: 14 years ago Posts: 304 |
Robert
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 01, 2010 10:48AM |
U-Boot 2010.06-00695-gbd23130-dirty (Aug 25 2010 - 01:20:45) Marvell-Dockstar/Pogoplug by Jeff Doozan Marvell>> ΓΏ U-Boot 2010.06-00695-gbd23130-dirty (Aug 25 2010 - 01:20:45) Marvell-Dockstar/Pogoplug by Jeff Doozan SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices...
msuri
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 14, 2010 11:34AM |
Ultrazauberer
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 14, 2010 12:04PM |
Ultrazauberer
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 14, 2010 12:21PM |
fw_setenv usb_init 'usb start; if ext2load usb 0:1 0x800000 /boot/uImage; then setenv usb_device 0:1; setenv usb_root /dev/sda1; elif ext2load usb 1:1 0x800000 /boot/uImage; then setenv usb_device 1:1; setenv usb_root /dev/sdb1; elif ext2load usb 2:1 0x800000 /boot/uImage; then setenv usb_device 2:1; setenv usb_root /dev/sdc1; elif ext2load usb 3:1 0x800000 /boot/uImage; then setenv usb_device 3:1;setenv usb_root /dev/sdd1;fi;'
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 14, 2010 01:06PM |
Admin Registered: 14 years ago Posts: 304 |
Ultrazauberer
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 14, 2010 01:14PM |
Ultrazauberer
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 14, 2010 01:33PM |
g23
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 14, 2010 09:07PM |
U-Boot 2010.06-00695-gbd23130-dirty (Aug 30 2010 - 23:04:56) Marvell-Dockstar/Pogoplug by Jeff Doozan SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found ** 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.. ### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000 Scanning JFFS2 FS: done. find_inode failed for name=uboot-original-mtd0.kwb load: Failed to find inode ### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb! ## Starting application at 0x00800200 ...
msuri
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 15, 2010 03:44AM |
Ultrazauberer
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 15, 2010 05:29AM |
root@debian:~# fw_printenv bootcmd=run bootcmd_usb; usb stop; run bootcmd_pogo; reset bootdelay=3 baudrate=115200 preboot= arcNumber=2097 mainlineLinux=yes console=ttyS0,115200 usb_device=0:1 usb_root=/dev/sda1 usb_rootfstype=ext2 usb_rootdelay=10 mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) mtdids=nand0=orion_nand partition=nand0,2 bootcmd_pogo=fsload uboot-original-mtd0.kwb; go 0x800200 usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi; set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot; ethact=egiga0 stdin=serial stdout=serial stderr=serial usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage ethaddr=00:10:75:1A:CE:E6 usb_init=usb start; if ext2load usb 0:1 0x800000 /boot/uImage; then setenv usb_device 0:1; setenv usb_root /dev/sda1; elif ext2load usb 1:1 0x800000 /boot/uImage; then setenv usb_device 1:1; setenv usb_root /dev/sdb1; elif ext2load usb 2:1 0x800000 /boot/uImage; then setenv usb_device 2:1; setenv usb_root /dev/sdc1; elif ext2load usb 3:1 0x800000 /boot/uImage; then setenv usb_device 3:1;setenv usb_root /dev/sdd1;fi;
Johannes
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 15, 2010 08:08AM |
RF
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug September 16, 2010 08:20AM |
Kai
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug August 05, 2011 11:24AM |
Re: 8/22/2010 - New uBoot for mtd0 that can still boot original Pogoplug December 25, 2011 10:57AM |
Registered: 12 years ago Posts: 1 |
Pogoplug:/tmp$ uname -a Linux Pogoplug 2.6.22.18 #81 Tue Oct 19 16:05:00 PDT 2010 armv5tejl unknown
Pogoplug:/tmp$ mount rootfs on / type rootfs (rw) /dev/root on / type jffs2 (ro) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw) none on /tmp type tmpfs (rw) none on /proc/bus/usb type usbfs (rw)
Pogoplug:/tmp$ cat /etc/fstab proc /proc proc defaults 0 0 devpts /dev/pts devpts gid=4,mode=620 0 0
Pogoplug:/tmp$ /sbin/fdisk /dev/sda Command (m for help): p Disk /dev/sda: 2004 MB, 2004877312 bytes 62 heads, 62 sectors/track, 1018 cylinders Units = cylinders of 3844 * 512 = 1968128 bytes Device Boot Start End Blocks Id System /dev/sda1 1 759 1458767 83 Linux /dev/sda2 760 1018 497798 82 Linux swap