Ultrazauberer
Boot into Pogoplug OS fails, but Debian works! September 15, 2010 09:05AM |
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;
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 09:26AM |
Registered: 14 years ago Posts: 41 |
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 10:40AM |
Registered: 14 years ago Posts: 43 |
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;
root@debian:~# blparam baudrate=115200 loads_echo=0 ipaddr=169.254.254.253 serverip=169.254.254.254 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 run_diag=yes console=console=ttyS0,115200 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no ethaddr=00:10:75:1A:CE:E6 cesvcid=D8C6ZAYTFQZ8AML96GHKW2343N ceserialno=2GEP1GM1 ceboardver=REDSTONE:1.0 bootcmd_original=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000 bootcmd=run bootcmd_original
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 12:21PM |
Admin Registered: 14 years ago Posts: 304 |
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 01:01PM |
Registered: 14 years ago Posts: 43 |
2010-09-15 18:03:40 (1.51 MB/s) - `/usr/sbin/blparam.md5' saved [42/42] --2010-09-15 18:03:40-- http://jeff.doozan.com/debian/uboot/blparam Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 14168 (14K) [text/plain] Saving to: `/usr/sbin/blparam' 100%[======================================>] 14,168 34.7K/s in 0.4s 2010-09-15 18:03:41 (34.7 KB/s) - `/usr/sbin/blparam' saved [14168/14168] mount: / is busy # Successfully installed blparam. # Installing nanddump... --2010-09-15 18:03:43-- http://jeff.doozan.com/debian/uboot/nanddump.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 43 [text/plain] Saving to: `/usr/sbin/nanddump.md5' 100%[======================================>] 43 --.-K/s in 0s 2010-09-15 18:03:43 (1.56 MB/s) - `/usr/sbin/nanddump.md5' saved [43/43] --2010-09-15 18:03:43-- http://jeff.doozan.com/debian/uboot/nanddump Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 21286 (21K) [text/plain] Saving to: `/usr/sbin/nanddump' 100%[======================================>] 21,286 51.0K/s in 0.4s 2010-09-15 18:03:44 (51.0 KB/s) - `/usr/sbin/nanddump' saved [21286/21286] mount: / is busy # Successfully installed nanddump. # Installing flash_erase... --2010-09-15 18:03:46-- http://jeff.doozan.com/debian/uboot/flash_erase.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 46 [text/plain] Saving to: `/usr/sbin/flash_erase.md5' 100%[======================================>] 46 --.-K/s in 0s 2010-09-15 18:03:46 (1.61 MB/s) - `/usr/sbin/flash_erase.md5' saved [46/46] --2010-09-15 18:03:46-- http://jeff.doozan.com/debian/uboot/flash_erase Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 12819 (13K) [text/plain] Saving to: `/usr/sbin/flash_erase' 100%[======================================>] 12,819 31.4K/s in 0.4s 2010-09-15 18:03:47 (31.4 KB/s) - `/usr/sbin/flash_erase' saved [12819/12819] mount: / is busy # Successfully installed flash_erase. # Installing fw_printenv and fw_setenv utils... --2010-09-15 18:03:49-- http://jeff.doozan.com/debian/uboot/fw_printenv.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 46 [text/plain] Saving to: `/usr/bin/fw_printenv.md5' 100%[======================================>] 46 --.-K/s in 0s 2010-09-15 18:03:49 (1.68 MB/s) - `/usr/bin/fw_printenv.md5' saved [46/46] --2010-09-15 18:03:49-- http://jeff.doozan.com/debian/uboot/fw_printenv Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 668497 (653K) [text/plain] Saving to: `/usr/bin/fw_printenv' 100%[======================================>] 668,497 333K/s in 2.0s 2010-09-15 18:03:52 (333 KB/s) - `/usr/bin/fw_printenv' saved [668497/668497] mount: / is busy ## Successfully installed fw_printenv and fw_setenv. # Installing uboot-original-mtd0.kwb... --2010-09-15 18:03:54-- http://jeff.doozan.com/debian/uboot/uboot-original-mtd0.kwb.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/uboot-original-mtd0.kwb.md5' 100%[======================================>] 49 --.-K/s in 0s 2010-09-15 18:03:54 (1.84 MB/s) - `/uboot-original-mtd0.kwb.md5' saved [49/49] --2010-09-15 18:03:55-- http://jeff.doozan.com/debian/uboot/uboot-original-mtd0.kwb Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 524288 (512K) [text/plain] Saving to: `/uboot-original-mtd0.kwb' 100%[======================================>] 524,288 281K/s in 1.8s 2010-09-15 18:03:57 (281 KB/s) - `/uboot-original-mtd0.kwb' saved [524288/524288] mount: / is busy ## Successfully installed uboot-original-mtd0.kwb # Attempting to auto-detect your device...Dockstar with modified bootcmd detected # Checking for existing uBoot on mtd0... --2010-09-15 18:03:59-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/tmp/uboot.mtd0.kwb.md5' 100%[======================================>] 49 --.-K/s in 0s 2010-09-15 18:03:59 (1.76 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [49/49] Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... rm: cannot remove `/tmp/valid-uboot.md5': No such file or directory --2010-09-15 18:04:00-- http://jeff.doozan.com/debian/uboot/valid-uboot.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 404 [text/plain] Saving to: `/tmp/valid-uboot.md5' 100%[======================================>] 404 --.-K/s in 0s 2010-09-15 18:04:00 (13.6 MB/s) - `/tmp/valid-uboot.md5' saved [404/404] ## Valid uBoot detected on mtd0. # Installing uBoot --2010-09-15 18:04:00-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/tmp/uboot.mtd0.kwb.md5' 100%[======================================>] 49 --.-K/s in 0s 2010-09-15 18:04:00 (1.70 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [49/49] --2010-09-15 18:04:00-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 524288 (512K) [text/plain] Saving to: `/tmp/uboot.mtd0.kwb' 100%[======================================>] 524,288 281K/s in 1.8s 2010-09-15 18:04:03 (281 KB/s) - `/tmp/uboot.mtd0.kwb' saved [524288/524288] Erase Total 4 Units Performing Flash Erase of length 131072 at offset 0x60000 done Usage: nanddump [OPTIONS] MTD-device Dumps the contents of a nand mtd partition. --help Display this help and exit --version Output version information and exit -a --forcebinary Force printing of binary data to tty -c --canonicalprint Print canonical Hex+ASCII dump -f file --file=file Dump to file -i --ignoreerrors Ignore errors -l length --length=length Length -n --noecc Read without error correction -o --omitoob Omit oob data -b --omitbad Omit bad blocks from the dump -p --prettyprint Print nice (hexdump) -q --quiet Don't display progress and status messages -s addr --startaddress=addr Start address Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... ## Verifying new uBoot... --2010-09-15 18:04:03-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/tmp/uboot.mtd0.kwb.md5' 100%[======================================>] 49 --.-K/s in 0s 2010-09-15 18:04:03 (1.77 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [49/49] ## ## ## VERIFICATION FAILED! ## ## uBoot was not properly installed to mtd0. ## ## ## YOUR DEVICE MAY BE IN AN UNUSABLE STATE. ## DO NOT REBOOT OR POWER OFF YOUR DEVICE ## ## ## Make a backup of /tmp/uboot-mtd0-dump someplace safe and ## then re-run this installer.
root@debian:/tmp# ./install_uboot_mtd0.sh !!!!!! DANGER DANGER DANGER DANGER DANGER DANGER !!!!!! If you lose power to your device while running this script, it could be left in an unusable state. This script will replace the bootloader on /dev/mtd0. This installer will only work on a Seagate Dockstar or Pogoplug Pink. Do not run this installer on any other device. By typing ok, you agree to assume all liabilities and risks associated with running this installer. If you agree, type 'ok' and press ENTER to continue: ok DISABLE POGOPLUG SERVICES The pogoplug service includes an auto-update feature which could be used to cripple or disable your device. It is recommended that you disable this service. NOTE: The pogoplug service is proprietary software created by Cloud Engines. It is not available for use in other distributions and will not be available in your new linux installation even if you choose not to disable it. Would you like to disable the pogoplug services? [Y/n] Y Applying fixes to the pogoplug environment... Disabling the pogoplug service... mount: / is busy Done fixing pogoplug environment. # Attempting to auto-detect your device...Dockstar with modified bootcmd detected # Checking for existing uBoot on mtd0... --2010-09-15 18:07:08-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/tmp/uboot.mtd0.kwb.md5' 100%[======================================>] 49 --.-K/s in 0s 2010-09-15 18:07:08 (1.75 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [49/49] Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... rm: cannot remove `/tmp/valid-uboot.md5': No such file or directory --2010-09-15 18:07:09-- http://jeff.doozan.com/debian/uboot/valid-uboot.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 404 [text/plain] Saving to: `/tmp/valid-uboot.md5' 100%[======================================>] 404 --.-K/s in 0s 2010-09-15 18:07:09 (13.6 MB/s) - `/tmp/valid-uboot.md5' saved [404/404] ## Unknown uBoot detected on mtd0: 38eb11b49b828dc070270680a8a37845 ## ## The installer could not detect the version of your current uBoot ## This may happen if you have installed a different uBoot on ## /dev/mtd0 or if you have bad blocks on /dev/mtd0 ## ## If you have bad blocks on mtd0, you should not try to install uBoot. ## ## If you have installed a diffirent uBoot on mtd0, and understand the ## risks, you can re-run the installer with the --no-uboot-check parameter ## ## Installation cancelled. root@debian:/tmp#
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 01:13PM |
Registered: 14 years ago Posts: 43 |
root@debian:/tmp# ./install_uboot_mtd0.sh --no-uboot-checkcouldn't solve the problem. I'll wait for your posting Jeff, and I will not power off the device! ;)
cd /tmp mkdir usb mount /dev/sda1 /tmp/usb wget http://plugapps.com/os/pogoplug/uboot/nanddump chmod +x nanddump ./nanddump -nf usb/mtd0 /dev/mtd0 ./nanddump -nf usb/mtd1 /dev/mtd1 ./nanddump -nf usb/mtd2 /dev/mtd2 umount /dev/sda
root@debian:/mnt/filme# ls -la mtd* -rwxr--r-- 1 nobody nogroup 1081344 Aug 29 16:21 mtd0 -rwxr--r-- 1 nobody nogroup 4325376 Aug 29 16:21 mtd1 -rwxr--r-- 1 nobody nogroup 34603008 Aug 29 16:21 mtd2
root@debian:/mnt/filme# ls -lah mtd* -rwxr--r-- 1 nobody nogroup 1.1M Aug 29 16:21 mtd0 -rwxr--r-- 1 nobody nogroup 4.2M Aug 29 16:21 mtd1 -rwxr--r-- 1 nobody nogroup 33M Aug 29 16:21 mtd2
root@debian:/mnt/filme# ls -lah uboot-mtd0-dump -rw-r--r-- 1 root root 512K Sep 15 18:06 uboot-mtd0-dump root@debian:/mnt/filme# ls -la uboot-mtd0-dump -rw-r--r-- 1 root root 524288 Sep 15 18:06 uboot-mtd0-dump
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 01:32PM |
Admin Registered: 14 years ago Posts: 304 |
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 01:41PM |
Registered: 14 years ago Posts: 43 |
root@debian:/tmp# ls install_uboot_mtd0.sh uboot-mtd0-dump uboot.mtd0.kwb.md5 mtd0.uboot uboot.mtd0.kwb root@debian:/tmp# rm * root@debian:/tmp# ls root@debian:/tmp# wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh --2010-09-15 18:37:55-- http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 15521 (15K) [application/x-sh] Saving to: `install_uboot_mtd0.sh' 100%[======================================>] 15,521 37.9K/s in 0.4s 2010-09-15 18:37:56 (37.9 KB/s) - `install_uboot_mtd0.sh' saved [15521/15521] root@debian:/tmp# chmod +x install_uboot_mtd0.sh root@debian:/tmp# ./install_uboot_mtd0.sh --no-uboot-check !!!!!! DANGER DANGER DANGER DANGER DANGER DANGER !!!!!! If you lose power to your device while running this script, it could be left in an unusable state. This script will replace the bootloader on /dev/mtd0. This installer will only work on a Seagate Dockstar or Pogoplug Pink. Do not run this installer on any other device. By typing ok, you agree to assume all liabilities and risks associated with running this installer. If you agree, type 'ok' and press ENTER to continue: ok DISABLE POGOPLUG SERVICES The pogoplug service includes an auto-update feature which could be used to cripple or disable your device. It is recommended that you disable this service. NOTE: The pogoplug service is proprietary software created by Cloud Engines. It is not available for use in other distributions and will not be available in your new linux installation even if you choose not to disable it. Would you like to disable the pogoplug services? [Y/n] Y Applying fixes to the pogoplug environment... Disabling the pogoplug service... mount: / is busy Done fixing pogoplug environment. # Installing nandwrite... --2010-09-15 18:38:36-- http://jeff.doozan.com/debian/uboot/nandwrite.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 44 [text/plain] Saving to: `/usr/sbin/nandwrite.md5' 100%[======================================>] 44 --.-K/s in 0s 2010-09-15 18:38:36 (1.59 MB/s) - `/usr/sbin/nandwrite.md5' saved [44/44] --2010-09-15 18:38:36-- http://jeff.doozan.com/debian/uboot/nandwrite Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11500 (11K) [text/plain] Saving to: `/usr/sbin/nandwrite' 100%[======================================>] 11,500 55.6K/s in 0.2s 2010-09-15 18:38:37 (55.6 KB/s) - `/usr/sbin/nandwrite' saved [11500/11500] mount: / is busy # Successfully installed nandwrite. # Attempting to auto-detect your device...Dockstar with modified bootcmd detected # Checking for existing uBoot on mtd0... --2010-09-15 18:38:39-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/tmp/uboot.mtd0.kwb.md5' 100%[======================================>] 49 --.-K/s in 0s 2010-09-15 18:38:39 (1.79 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [49/49] Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... rm: cannot remove `/tmp/valid-uboot.md5': No such file or directory --2010-09-15 18:38:39-- http://jeff.doozan.com/debian/uboot/valid-uboot.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 404 [text/plain] Saving to: `/tmp/valid-uboot.md5' 100%[======================================>] 404 --.-K/s in 0s 2010-09-15 18:38:40 (13.2 MB/s) - `/tmp/valid-uboot.md5' saved [404/404] ## Unknown uBoot detected on mtd0: 38eb11b49b828dc070270680a8a37845 ## ## --no-uboot-check flag detected, continuing installation # Installing uBoot --2010-09-15 18:38:40-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/tmp/uboot.mtd0.kwb.md5' 100%[======================================>] 49 --.-K/s in 0s 2010-09-15 18:38:40 (1.78 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [49/49] --2010-09-15 18:38:40-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 524288 (512K) [text/plain] Saving to: `/tmp/uboot.mtd0.kwb' 100%[======================================>] 524,288 301K/s in 1.7s 2010-09-15 18:38:42 (301 KB/s) - `/tmp/uboot.mtd0.kwb' saved [524288/524288] Erase Total 4 Units Performing Flash Erase of length 131072 at offset 0x60000 done Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... ## Verifying new uBoot... --2010-09-15 18:38:43-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/tmp/uboot.mtd0.kwb.md5' 100%[======================================>] 49 --.-K/s in 0s 2010-09-15 18:38:43 (1.79 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [49/49] # Verified successfully! # Installing uBoot environment --2010-09-15 18:38:43-- http://jeff.doozan.com/debian/uboot/uboot.environment.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 52 [text/plain] Saving to: `/tmp/uboot.environment.md5' 100%[======================================>] 52 --.-K/s in 0s 2010-09-15 18:38:43 (1.96 MB/s) - `/tmp/uboot.environment.md5' saved [52/52] --2010-09-15 18:38:43-- http://jeff.doozan.com/debian/uboot/uboot.environment Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 131072 (128K) [text/plain] Saving to: `/tmp/uboot.environment' 100%[======================================>] 131,072 126K/s in 1.0s 2010-09-15 18:38:45 (126 KB/s) - `/tmp/uboot.environment' saved [131072/131072] Erase Total 1 Units Performing Flash Erase of length 131072 at offset 0xc0000 done Writing data to block 6 at offset 0xc0000 # Verifying uBoot environment ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x000c0000 and ending at 0x000e0000... --2010-09-15 18:38:45-- http://jeff.doozan.com/debian/uboot/uboot.environment.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 52 [text/plain] Saving to: `/tmp/uboot.environment.md5' 100%[======================================>] 52 --.-K/s in 0s 2010-09-15 18:38:45 (1.86 MB/s) - `/tmp/uboot.environment.md5' saved [52/52] Read error on /dev/mtd0: Cannot allocate memory # uBoot installation has completed successfully. root@debian:/tmp#
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 01:44PM |
Admin Registered: 14 years ago Posts: 304 |
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 01:56PM |
Registered: 14 years ago Posts: 43 |
root@debian:/tmp# ./install_uboot_mtd0.sh !!!!!! DANGER DANGER DANGER DANGER DANGER DANGER !!!!!! If you lose power to your device while running this script, it could be left in an unusable state. This script will replace the bootloader on /dev/mtd0. This installer will only work on a Seagate Dockstar or Pogoplug Pink. Do not run this installer on any other device. By typing ok, you agree to assume all liabilities and risks associated with running this installer. If you agree, type 'ok' and press ENTER to continue: ok DISABLE POGOPLUG SERVICES The pogoplug service includes an auto-update feature which could be used to cripple or disable your device. It is recommended that you disable this service. NOTE: The pogoplug service is proprietary software created by Cloud Engines. It is not available for use in other distributions and will not be available in your new linux installation even if you choose not to disable it. Would you like to disable the pogoplug services? [Y/n] Y Applying fixes to the pogoplug environment... Disabling the pogoplug service... mount: / is busy Done fixing pogoplug environment. # Attempting to auto-detect your device...Dockstar with modified bootcmd detected # Checking for existing uBoot on mtd0... --2010-09-15 18:54:50-- http://jeff.doozan.com/debian/uboot/uboot.mtd0.kwb.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/tmp/uboot.mtd0.kwb.md5' 100%[======================================>] 49 --.-K/s in 0s 2010-09-15 18:54:51 (1.73 MB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [49/49] Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... ## The newest uBoot is already installed on mtd0. # Installing uBoot environment --2010-09-15 18:54:51-- http://jeff.doozan.com/debian/uboot/uboot.environment.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 52 [text/plain] Saving to: `/tmp/uboot.environment.md5' 100%[======================================>] 52 --.-K/s in 0s 2010-09-15 18:54:51 (1.92 MB/s) - `/tmp/uboot.environment.md5' saved [52/52] --2010-09-15 18:54:51-- http://jeff.doozan.com/debian/uboot/uboot.environment Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 131072 (128K) [text/plain] Saving to: `/tmp/uboot.environment' 100%[======================================>] 131,072 126K/s in 1.0s 2010-09-15 18:54:53 (126 KB/s) - `/tmp/uboot.environment' saved [131072/131072] Erase Total 1 Units Performing Flash Erase of length 131072 at offset 0xc0000 done Writing data to block 6 at offset 0xc0000 # Verifying uBoot environment ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x000c0000 and ending at 0x000e0000... --2010-09-15 18:54:53-- http://jeff.doozan.com/debian/uboot/uboot.environment.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 52 [text/plain] Saving to: `/tmp/uboot.environment.md5' 100%[======================================>] 52 --.-K/s in 0s 2010-09-15 18:54:53 (1.92 MB/s) - `/tmp/uboot.environment.md5' saved [52/52] # uBoot installation has completed successfully. root@debian:/tmp#
Johannes
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 02:20PM |
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 02:24PM |
Admin Registered: 14 years ago Posts: 304 |
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 02:36PM |
Registered: 14 years ago Posts: 43 |
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 02:41PM |
Admin Registered: 14 years ago Posts: 304 |
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 02:56PM |
Registered: 14 years ago Posts: 43 |
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
Johannes
Re: Boot into Pogoplug OS fails, but Debian works! September 15, 2010 04:28PM |
Re: Boot into Pogoplug OS fails, but Debian works! September 16, 2010 05:37AM |
Registered: 14 years ago Posts: 43 |
debian:~$ mkdir /mnt/pogo debian:~$ mount -o ro -t jffs2 /dev/mtdblock2 /mnt/pogo/ mount: Cannot allocate memory