Re: Kirkwood U-Boot and Debian Installer Script (WIP) July 31, 2016 02:15PM |
Registered: 8 years ago Posts: 91 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 03:01AM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 03:05AM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 03:44AM |
Registered: 8 years ago Posts: 91 |
100%[======================================>] 46 --.-K/s in 0s 2000-01-01 00:01:08 (5.53 MB/s) - `/tmp/tools/fw_printenv.md5' saved [46/46] --2000-01-01 00:01:08-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_printenv Resolving dl.dropboxusercontent.com... 45.58.69.69 Connecting to dl.dropboxusercontent.com|45.58.69.69|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 668497 (653K) [text/plain] Saving to: `/tmp/tools/fw_printenv' 100%[======================================>] 668,497 633K/s in 1.0s 2000-01-01 00:01:10 (633 KB/s) - `/tmp/tools/fw_printenv' saved [668497/668497] verify file /tmp/tools/fw_printenv with md5 /tmp/tools/fw_printenv.md5 7d28314b0d2737094e57632a6fe43bbe 7d28314b0d2737094e57632a6fe43bbe passed # Successfully installed /tmp/tools/fw_printenv. # checking for /tmp/tools/etc/fw_env.config... # Installing /tmp/tools/etc/fw_env.config... /tmp/tools/etc/fw_env.config https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_env.config https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_env.config.md5 /tmp/tools/etc/fw_env.config.md5 /tmp/tools/etc/fw_env.config.md5: No such file or directory /tmp/tools/etc/fw_env.config.md5: No such file or directory ## Could not install /tmp/tools/etc/fw_env.config from https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_env.config, exiting. -sh-3.2# ~
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 04:04AM |
Admin Registered: 14 years ago Posts: 19,294 |
Quote
Booting Debian on Pogoplug
How to set up U-Boot for booting in multiple drives configuration
Backup and Restore NAND mtds
UART Booting HowTo for Selected Kirkwood Devices
Migrating from Arch to Debian?
How to boot new Debian rootfs using stock u-boot tftp
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 04:12AM |
Admin Registered: 14 years ago Posts: 19,294 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 04:29AM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 04:46AM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 06:50AM |
Registered: 8 years ago Posts: 91 |
2000-01-01 00:01:18 (34.1 MB/s) - `/tmp/tools/etc/fw_env.config' saved [329/329] verify file /tmp/tools/etc/fw_env.config with m[ 78.990000] end_request: I/O error, dev mtdblock0, sector 0 [ 78.990000] Buffer I/O error on device mtdblock0, logical block 0 d5 /tmp/tools/et[ 79.000000] end_request: I/O error, dev mtdblock0, sector 8 [ 79.000000] Buffer I/O error on device mtdblock0, logical block 1 c/fw_env.config.[ 79.010000] end_request: I/O error, dev mtdblock0, sector 16 [ 79.010000] Buffer I/O error on device mtdblock0, logical block 2 md5 2794ab37f51[ 79.020000] end_request: I/O error, dev mtdblock0, sector 24 [ 79.020000] Buffer I/O error on device mtdblock0, logical block 3 ef51ca840b4f6cab1a08d 2794ab37f51ef51ca840b4f6c[ 79.030000] end_request: I/O error, dev mtdblock0, sector 0 [ 79.030000] Buffer I/O error on device mtdblock0, logical block 0 ab1a08d passed # Successfully installed /tmp/tools/etc/fw_env.config. no disks detected, exiting now -sh-3.2#
100%[======================================>] 329 --.-K/s in 0s 2000-01-01 00:01:59 (32.5 MB/s) - `/tmp/tools/etc/fw_env.config' saved [329/329] verify file /tmp/tools/etc/fw_env.config with md5 /tmp/tools/etc/fw_env.config.md5 2794ab37f51ef51ca840b4f6cab1a08d 2794ab37f51ef51ca840b4f6cab1a08d passed # Successfully installed /tmp/tools/etc/fw_env.config. [ 120.520000] end_request: I/O error, dev mtdblock0, sector 0 [ 120.520000] Buffer I/O error on device mtdblock0, logical block 0 [ 120.530000] end_request: I/O error, dev mtdblock0, sector 8 [ 120.530000] Buffer I/O error on device mtdblock0, logical block 1 [ 120.540000] end_request: I/O error, dev mtdblock0, sector 16 [ 120.540000] Buffer I/O error on device mtdblock0, logical block 2 [ 120.550000] end_request: I/O error, dev mtdblock0, sector 24 [ 120.550000] Buffer I/O error on device mtdblock0, logical block 3 [ 120.560000] end_request: I/O error, dev mtdblock0, sector 0 [ 120.560000] Buffer I/O error on device mtdblock0, logical block 0 no disks detected, exiting now -sh-3.2#
40% [==============> ] 58,604,763 1022K/s in 57s Cannot write to `/tmp/rootfs/Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2' (No such file or directory). verify file /tmp/rootfs/Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 with md5 /tmp/rootfs/Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2.md5 9f957e1dc5a36f90a285ab4615cb02fd d504625466587ff351f8722af3753914 failed ---extracting debian rootfs to install Debian bunzip2: short write tar: can't open 'Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar': No such file or directory rm: can't remove 'Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar': No such file or directory root files not extracted correctly! Aborting! -sh-3.2#I first thought the sd card couldn't take this punishment, but I tried it multiple times. The rootfs download always breaks at 40%. I checked and saw that /tmp is full:
-sh-3.2# df -h Filesystem Size Used Available Use% Mounted on /dev/mtdblock2 32.0M 15.3M 16.7M 48% / none 61.6M 61.5M 4.0k 100% /tmp -sh-3.2#
partition to mount is /dev/sda1, waiting for a keypress, without telling me so
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 08:03AM |
Registered: 9 years ago Posts: 298 |
[ 120.520000] end_request: I/O error, dev mtdblock0, sector 0 [ 120.520000] Buffer I/O error on device mtdblock0, logical block 0
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 08:14AM |
Registered: 8 years ago Posts: 91 |
100%[======================================>] 329 --.-K/s in 0s 2000-01-01 00:01:34 (32.6 MB/s) - `/tmp/tools/etc/fw_env.config' saved [329/329] verify file /tmp/tools/etc/fw_env.config with md5 /tmp/tools/etc/fw_env.config.md5 ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 119: cat: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 119: cut: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 123: md5sum: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 123: cut: command not found passed ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 192: rm: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 242: chmod: command not found # Successfully installed /tmp/tools/etc/fw_env.config. ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 782: fdisk: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 786: fdisk: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 786: grep: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 786: grep: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 786: awk: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 786: awk: command not found ./file.php?3,file=953,filename=kirkwood-installer-fix5.sh: line 786: sed: command not found no disks detected, exiting now -sh-3.2#
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 12:07PM |
Admin Registered: 14 years ago Posts: 19,294 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 12:15PM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 12:49PM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 01, 2016 11:51PM |
Admin Registered: 14 years ago Posts: 19,294 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 01:51AM |
Registered: 8 years ago Posts: 91 |
Saving to: `/tmp/tools/etc/fw_env.config' 100%[======================================>] 329 --.-K/s in 0s 2000-01-01 00:02:10 (34.7 MB/s) - `/tmp/tools/etc/fw_env.config' saved [329/329] verify file /tmp/tools/etc/fw_env.config with md5 /tmp/tools/etc/fw_env.config.md5 ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 122: cat: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 122: cut: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 126: md5sum: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 126: cut: command not found passed ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 195: rm: command not found chmodding 644 -- /tmp/tools/etc/fw_env.config ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 246: chmod: command not found # Successfully installed /tmp/tools/etc/fw_env.config. ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 789: fdisk: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 793: fdisk: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 793: grep: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 793: grep: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 793: sed: command not found no disks detected, exiting now -sh-3.2# ls /dev/sd* /dev/sda /dev/sda5 /dev/sdb14 /dev/sdc1 /dev/sdc6 /dev/sdd15 /dev/sda1 /dev/sda6 /dev/sdb15 /dev/sdc10 /dev/sdc7 /dev/sdd2 /dev/sda10 /dev/sda7 /dev/sdb2 /dev/sdc11 /dev/sdc8 /dev/sdd3 /dev/sda11 /dev/sda8 /dev/sdb3 /dev/sdc12 /dev/sdc9 /dev/sdd4 /dev/sda12 /dev/sda9 /dev/sdb4 /dev/sdc13 /dev/sdd /dev/sdd5 /dev/sda13 /dev/sdb /dev/sdb5 /dev/sdc14 /dev/sdd1 /dev/sdd6 /dev/sda14 /dev/sdb1 /dev/sdb6 /dev/sdc15 /dev/sdd10 /dev/sdd7 /dev/sda15 /dev/sdb10 /dev/sdb7 /dev/sdc2 /dev/sdd11 /dev/sdd8 /dev/sda2 /dev/sdb11 /dev/sdb8 /dev/sdc3 /dev/sdd12 /dev/sdd9 /dev/sda3 /dev/sdb12 /dev/sdb9 /dev/sdc4 /dev/sdd13 /dev/sda4 /dev/sdb13 /dev/sdc /dev/sdc5 /dev/sdd14 -sh-3.2# fdisk /dev/sda -l Disk /dev/sda: 32.0 GB, 32017047552 bytes 255 heads, 63 sectors/track, 3892 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 487 3911796 83 Linux /dev/sda2 488 3893 27352064 7 HPFS/NTFS -sh-3.2# fdisk /dev/sdb -l Disk /dev/sdb: 8018 MB, 8018460672 bytes 247 heads, 62 sectors/track, 1022 cylinders Units = cylinders of 15314 * 512 = 7840768 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 1022 7825423 83 Linux -sh-3.2# which cat /bin/cat -sh-3.2#I had both drives plugged, but couldn't get to the point for choosing one.
verify file /tmp/tools/etc/fw_env.config with md5 /tmp/tools/etc/fw_env.config.md5 ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 122: cat: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 122: cut: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 126: cut: command not found passed ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 195: rm: command not found chmodding 644 -- /tmp/tools/etc/fw_env.config ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 246: chmod: command not found # Successfully installed /tmp/tools/etc/fw_env.config. ######this is the output of normal fw_printenv ######this is the output of normal fw_printenv ######this is the output of normal fw_printenv ######this is the output of normal fw_printenv ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 1354: fw_printenv: command not found ######this is the output of chrooted fw_printenv ######this is the output of chrooted fw_printenv ######this is the output of chrooted fw_printenv ######this is the output of chrooted fw_printenv ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 529: mkdir: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 530: mount: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 532: mkdir: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 533: mount: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 535: mkdir: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 536: mount: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 540: chroot: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 543: umount: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 544: umount: command not found ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 545: umount: command not found Installation complete You can now reboot your device into Debian. If your device does not start Debian after rebooting, you may need to restart the device by disconnecting the power. The new root password is 'root' Please change it immediately after logging in. Reboot now? [Y/n] ./file.php?3,file=960,filename=kirkwood-installer-6.sh: line 126: md5sum: command not found
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 02:32AM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 03:33AM |
Registered: 8 years ago Posts: 91 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 04:11AM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 07:41AM |
Registered: 8 years ago Posts: 91 |
downloading tools and making a rootfs Connecting to pogoplug.s3.amazonaws.com (54.231.168.150:80) wget 100% |*******************************| 2135k 00:00:00 ETA wget: not an http or ftp url: https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/busybox chmod: /tmp/tools/busybox: No such file or directory new PATH is now /tmp/tools ./file.php?3,file=965,filename=kirkwood-installer-8.sh: line 288: /tmp/tools/busybox: No such file or directory ./file.php?3,file=965,filename=kirkwood-installer-8.sh: line 290: ln: command not foundYou can also see this result in 01.txt
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 01:48PM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 02:42PM |
Admin Registered: 14 years ago Posts: 19,294 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 04:20PM |
Registered: 8 years ago Posts: 91 |
-sh-3.2# lsmod Module Size Used by Tainted: P xce 21872 0 tun 9152 1 ufsd 599656 0 fuse 43156 0 hfsplus 81188 0 hfs 50980 0 vfat 10784 0 fat 48828 1 vfat -sh-3.2#
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 05:29PM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 05:49PM |
Admin Registered: 14 years ago Posts: 19,294 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 06:19PM |
Registered: 8 years ago Posts: 91 |
Good, now we need to know what device we are working on here is a list, please write the number of the device 00. download and unpack toolbox 01. make a Debian rootfs in a drive 02. test chroot with a printenv 1.Zyxel nsa310 2.Zyxel nsa325v1 or nsa325v2 3.Pogoplug 01 downloading tools and making a rootfs Connecting to pogoplug.s3.amazonaws.com (54.231.168.202:80) wget 100% |*******************************| 2135k 00:00:00 ETA --2000-01-01 00:01:10-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/busybox Resolving dl.dropboxusercontent.com... 108.160.173.165 Connecting to dl.dropboxusercontent.com|108.160.173.165|:443... connected. ERROR: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. To connect to dl.dropboxusercontent.com insecurely, use `--no-check-certificate'. new PATH is now /tmp/tools ./file.php?3,file=969,filename=kirkwood-installer-9.sh: line 290: ln: command not found ./file.php?3,file=969,filename=kirkwood-installer-9.sh: line 291: ln: command not found ./file.php?3,file=969,filename=kirkwood-installer-9.sh: line 292: ln: command not found
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 07:02PM |
Registered: 9 years ago Posts: 298 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 02, 2016 10:44PM |
Admin Registered: 14 years ago Posts: 19,294 |
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 03, 2016 05:03AM |
Registered: 8 years ago Posts: 91 |
---everything fine Installation complete You can now reboot your device into Debian. If your device does not start Debian after rebooting, you may need to restart the device by disconnecting the power. The new root password is 'root' Please change it immediately after logging in. Reboot now? [Y/n]
Re: Kirkwood U-Boot and Debian Installer Script (WIP) August 03, 2016 12:49PM |
Admin Registered: 14 years ago Posts: 19,294 |