|
Old GoFlex Net new... never started... but pogoplug is dead.. (resolved - thank you) April 20, 2020 05:36AM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 20, 2020 05:24PM |
Admin Registered: 13 years ago Posts: 18,570 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 22, 2020 07:56AM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 22, 2020 09:12AM |
Registered: 4 years ago Posts: 19 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 22, 2020 04:42PM |
Admin Registered: 13 years ago Posts: 18,570 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 22, 2020 10:29PM |
Registered: 7 years ago Posts: 366 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 23, 2020 08:20AM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 23, 2020 08:22AM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 23, 2020 09:23AM |
Registered: 7 years ago Posts: 366 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 23, 2020 04:41PM |
Admin Registered: 13 years ago Posts: 18,570 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 26, 2020 01:42AM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. April 26, 2020 03:45AM |
Admin Registered: 13 years ago Posts: 18,570 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. June 08, 2020 11:36AM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. June 27, 2020 07:54AM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. June 27, 2020 04:05PM |
Admin Registered: 13 years ago Posts: 18,570 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 25, 2020 09:33AM |
Registered: 8 years ago Posts: 16 |
-sh-3.2# cat /tmp/debian/debootstrap/debootstrap.log Connecting to cdn.debian.net (128.31.0.62:80) wget: server returned error: HTTP/1.1 404 Not Found Connecting to cdn.debian.net (128.31.0.62:80) wget: server returned error: HTTP/1.1 404 Not Found
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 25, 2020 09:49AM |
Registered: 8 years ago Posts: 16 |
-sh-3.2# export PATH=$PATH:/usr/sbin:/sbin
-sh-3.2# ./kirkwood.debian-wheezy.sh
!!!!!! DANGER DANGER DANGER DANGER DANGER DANGER !!!!!!
This script will replace the bootloader on /dev/mtd0.
If you lose power while the bootloader is being flashed,
your device could be left in an unusable state.
This script will configure your Dockstar to boot Debian
from a USB device. Before running this script, you should have
used fdisk to create the following partitions:
/dev/sda1 (Linux ext2, at least 400MB)
/dev/sda2 (Linux swap, recommended 256MB)
This script will DESTROY ALL EXISTING DATA on /dev/sda1
Please double check that the device on /dev/sda1 is the correct device.
By typing ok, you agree to assume all liabilities and risks
associated with running this installer.
If everything looks good, type 'ok' to continue: ok
Installing Bootloader
# checking for /usr/sbin/nandwrite...
# checking for /usr/sbin/nanddump...
# checking for /usr/sbin/flash_erase...
# checking for /usr/sbin/fw_printenv...
# checking for /etc/fw_env.config...
# Validating existing uBoot...
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
Connecting to jeff.doozan.com (45.77.104.33:80)
wget: not an http or ftp url: https://projects.doozan.com/uboot/valid-uboot.md5
grep: /tmp/valid-uboot.md5: No such file or directory
## Unknown uBoot detected on mtd0: 5cbbbca7693c5939836349bbd7f270e8
##
## 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.
##
## Installation cancelled.
rm: cannot remove '/tmp/valid-uboot.md5': No such file or directory
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
944704 inodes, 3777528 blocks
188876 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=3871342592
116 block groups
32768 blocks per group, 32768 fragments per group
8144 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Setting up swapspace version 1, size = 535818240 bytes
# Starting debootstrap installation
W: Cannot find binary for checking sha256 checksums, falling back to sha1
I: Retrieving InRelease
I: Retrieving Release
E: Failed getting release file http://cdn.debian.net/debian/dists/wheezy/Release
debootstrap failed.
See /tmp/debian/debootstrap/debootstrap.log for more information.
-sh-3.2#
-sh-3.2# fdisk -l
Disk /dev/sda: 16.0 GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1882 15110112+ 83 Linux
/dev/sda2 1882 1947 523264 82 Linux swap
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 25, 2020 12:28PM |
Registered: 10 years ago Posts: 7 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 25, 2020 01:35PM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 25, 2020 03:59PM |
Admin Registered: 13 years ago Posts: 18,570 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 25, 2020 04:40PM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 26, 2020 02:33AM |
Registered: 8 years ago Posts: 16 |
-sh-3.2# cat /etc/fw_env.config
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Notice, that the "Number of sectors" is ignored on NOR.
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000
-sh-3.2#
-sh-3.2# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 02000000 00020000 "root"
mtd3: 0db00000 00020000 "data"
-sh-3.2#
-sh-3.2# fw_printenv ethaddr
Warning: Bad CRC, using default environment
## Error: "ethaddr" not defined
-sh-3.2# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
-sh-3.2# nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
-sh-3.2#
-sh-3.2# fw_printenv > current_envs.txt
Warning: Bad CRC, using default environment
-sh-3.2# blparam > current_envs_bl.txt
-sh: blparam: command not found
-sh-3.2# dmesg | grep -i 'bad'
[ 1.080000] Scanning device for bad blocks
[ 1.080000] Bad eraseblock 14 at 0x001c0000
-sh-3.2#
-sh-3.2# scp root@192.168.0.40
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
-sh-3.2# ssh root@192.168.0.40
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 26, 2020 03:26AM |
Registered: 8 years ago Posts: 16 |
-sh-3.2# cat /etc/fw_env.config
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Notice, that the "Number of sectors" is ignored on NOR.
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000
-sh-3.2#
-sh-3.2# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 02000000 00020000 "root"
mtd3: 0db00000 00020000 "data"
-sh-3.2#
-sh-3.2# fw_printenv ethaddr
Warning: Bad CRC, using default environment
## Error: "ethaddr" not defined
-sh-3.2# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
-sh-3.2# nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
-sh-3.2#
-sh-3.2# fw_printenv > current_envs.txt
Warning: Bad CRC, using default environment
-sh-3.2# blparam > current_envs_bl.txt
-sh: blparam: command not found
-sh-3.2# dmesg | grep -i 'bad'
[ 1.080000] Scanning device for bad blocks
[ 1.080000] Bad eraseblock 14 at 0x001c0000
-sh-3.2#
-sh-3.2# scp root@192.168.0.40
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
-sh-3.2# ssh root@192.168.0.40
-sh: ssh: command not found
-sh-3.2# ftp
-sh: ftp: command not found
-sh-3.2# scp
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
-sh-3.2# scp root@192.168.0.40:
-sh-3.2#
-sh-3.2# cd /tmp
<.40:/media/FreeAgent_Drive/Backup/uboot.2017.07-tld-1.goflexnet.bodhi.tar
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
<_Drive/Backup/uboot.2017.07-tld-1.goflexnet.bodhi.tar /tmp
/usr/bin/dbclient: No such file or directory
lost connection
-sh-3.2#
-sh-3.2# scp -r root@192.168.0.40:/media/FreeAgent_Drive/Backup/uboot.2017.07->
/usr/bin/dbclient: No such file or directory
lost connection
-sh-3.2# ?
-sh: ?: command not found
-sh-3.2#
-sh-3.2# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:76:27:72:FC
inet addr:192.168.0.120 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50183 errors:0 dropped:0 overruns:0 frame:0
TX packets:3622 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:5366593 (5.1 MiB) TX bytes:267548 (261.2 KiB)
Interrupt:11
eth0:0 Link encap:Ethernet HWaddr 00:11:76:27:72:FC
inet addr:169.254.113.252 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:232 (232.0 B) TX bytes:232 (232.0 B)
-sh-3.2#
-sh-3.2# -sh-3.2# cat /etc/fw_env.config
-sh: -sh-3.2#: command not found
0xc0000 0x20000 0x20000
-sh-3.2#
-sh-3.2# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "u-boot"
mtd1: 00400000 00020000 "uImage"
mtd2: 02000000 00020000 "root"
mtd3: 0db00000 00020000 "data"
-sh-3.2#
-sh-3.2# fw_printenv ethaddr
Warning: Bad CRC, using default environment
## Error: "ethaddr" not defined
-sh-3.2# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
-sh-3.2# nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0
Block size 131072, page size 2-sh-3.2# # Configuration file for fw_(printenv/saveenv) utility.
-sh-3.2# # Up to two entries are valid, in this case the redundant
-sh-3.2# # environment sector is assumed present.
-sh-3.2# # Notice, that the "Number of sectors" is ignored on NOR.
-sh-3.2#
-sh-3.2# cat /proc/v
version vmstat
-sh-3.2# cat /proc/version
Linux version 2.6.22.18 (bdietrich@brad-ux) (gcc version 4.2.1) #76 Mon Feb 8 15:13:08 PST 2010
-sh-3.2#
-sh-3.2#
-sh-3.2#
-sh-3.2#
-sh-3.2# clear
-sh-3.2#
-sh-3.2# [63325.320000] usb 1-1: USB disconnect, address 2
[63472.690000] usb 1-1: new high speed USB device using ehci_marvell and address 3
[63472.840000] usb 1-1: configuration #1 chosen from 1 choice
[63472.840000] scsi3 : SCSI emulation for USB Mass Storage devices
[63477.850000] scsi 3:0:0:0: Direct-Access SanDisk Cruzer Fit 1.27 PQ: 0 ANSI: 6
[63477.860000] sd 3:0:0:0: [sdb] 31266816 512-byte hardware sectors (16009 MB)
[63477.860000] sd 3:0:0:0: [sdb] Write Protect is off
[63477.870000] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[63477.880000] sd 3:0:0:0: [sdb] 31266816 512-byte hardware sectors (16009 MB)
[63477.880000] sd 3:0:0:0: [sdb] Write Protect is off
[63477.890000] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[63477.900000] sdb: sdb1 sdb2
[63477.900000] sd 3:0:0:0: [sdb] Attached SCSI disk
[63477.910000] sd 3:0:0:0: Attached scsi generic sg0 type 0
-sh-3.2#
-sh-3.2#
-sh-3.2# 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)
/dev/sda1 on /tmp/debian type ext2 (rw)
-sh-3.2#
-sh-3.2#
-sh-3.2# cd /dev/sdb
sdb sdb10 sdb12 sdb14 sdb2 sdb4 sdb6 sdb8
sdb1 sdb11 sdb13 sdb15 sdb3 sdb5 sdb7 sdb9
-sh-3.2# 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)
/dev/sda1 on /tmp/debian type ext2 (rw)
-sh-3.2# cd /tmp/debian
-sh-3.2#
-sh-3.2# fdisk -l
Disk /dev/sdb: 16.0 GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1882 15110112+ 83 Linux
/dev/sdb2 1882 1947 523264 82 Linux swap
-sh-3.2#
-sh-3.2#
-sh-3.2# cd /tmp
-sh-3.2# ls
current_envs.txt kirkwood.debian-wheezy.sh
current_envs_bl.txt mtd0
debian resolv.conf
debootstrap smb.conf
hbplug.log uboot-mtd0-dump
install_uboot_mtd0.sh var
-sh-3.2# mkdir tempousb
-sh-3.2# mount /dev/sdb1 /tmp/tempousb/
[63581.530000] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
-sh-3.2# mount /dev/sdb1 /tmp/tempousb/
mount: mounting /dev/sdb1 on /tmp/tempousb/ failed: Device or resource busy
-sh-3.2#
-sh-3.2#
-sh-3.2# cd /tmp/tempousb/
-sh-3.2# ls
debootstrap lost+found tmp_tmp var
-sh-3.2# cd tmp_tmp/
-sh-3.2# ls
kwboot-2016.05.tar
uboot.2017.07-tld-1.goflexnet.bodhi.tar
-sh-3.2# cp -Rp ./* /tmp
-sh-3.2# cd /tmp
-sh-3.2# ls
current_envs.txt
current_envs_bl.txt
debian
debootstrap
hbplug.log
install_uboot_mtd0.sh
kirkwood.debian-wheezy.sh
kwboot-2016.05.tar
mtd0
resolv.conf
smb.conf
tempousb
uboot-mtd0-dump
uboot.2017.07-tld-1.goflexnet.bodhi.tar
var
-sh-3.2# umount /dev/sdb1
-sh-3.2# pwd
/tmp
-sh-3.2# tar xvf uboot.2017.07-tld-1.goflexnet.bodhi.tar kwboot-2016.05.tar
tar: kwboot-2016.05.tar: not found in archive
-sh-3.2# tar xvf uboot.2017.07-tld-1.goflexnet.bodhi.tar
uboot.2017.07-tld-1.goflexnet.mtd0.kwb
-sh-3.2# tar xvf kwboot-2016.05.tar
kwboot
-sh-3.2#
-sh-3.2#
-sh-3.2# ls -lrt
drwxr-xr-x 2 root root 40 Jan 1 00:00 var
-rw-r--r-- 1 root root 19 Jan 1 00:00 resolv.conf
-rw-r--r-- 1 root root 447 Jan 1 00:00 hbplug.log
-rw-r--r-- 1 root root 272 Jan 1 00:00 smb.conf
-rwxr-xr-x 1 root root 11159 Jan 1 00:08 kirkwood.debian-wheezy.sh
-rwxr-xr-x 1 root root 18406 Jan 1 00:10 install_uboot_mtd0.sh
drwxr-xr-x 3 root root 140 Jan 1 00:14 debootstrap
drwxr-xr-x 5 root root 4096 Jan 1 00:40 debian
-rw-r--r-- 1 root root 524288 Jan 1 01:15 uboot-mtd0-dump
-rw-r--r-- 1 root root 524288 Jan 1 17:16 mtd0
-rw-r--r-- 1 root root 0 Jan 1 17:29 current_envs_bl.txt
-rw-r--r-- 1 root root 0 Jan 1 17:29 current_envs.txt
drwxr-xr-x 2 root root 40 Jan 1 17:39 tempousb
-rwxr-xr-x 1 root root 15604 Nov 26 2016 kwboot
-rw-r--r-- 1 root root 524288 Sep 5 2017 uboot.2017.07-tld-1.goflexnet.mtd0.kwb
-rwxrwxr-x 1 root 100 20480 Jul 26 2020 kwboot-2016.05.tar
-rwxrwxr-x 1 root 100 532480 Jul 26 2020 uboot.2017.07-tld-1.goflexnet.bodhi.tar
-sh-3.2#
-sh-3.2#
-sh-3.2# flash_erase /dev/mtd0 0 4
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x60000 done
-sh-3.2# nandwrite /dev/mtd0 uboot.2017.07-tld-1.goflexnet.mtd0.kwb
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
-sh-3.2#
-sh-3.2#
-sh-3.2#
-sh-3.2# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
-sh-3.2# fw_printenv ethaddr
Warning: Bad CRC, using default environment
## Error: "ethaddr" not defined
-sh-3.2# 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)
/dev/sda1 on /tmp/debian type ext2 (rw)
-sh-3.2#
-sh-3.2#
-sh-3.2# mount /dev/sdb1 /tmp/tempousb/
[64121.460000] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
-sh-3.2# cd /tmp/tempousb/
-sh-3.2# ls
debootstrap lost+found tmp_tmp var
-sh-3.2# cd tmp_tmp/
-sh-3.2# ls
kwboot-2016.05.tar
uboot.2016.05-tld-1.environment.bodhi.tar
uboot.2017.07-tld-1.goflexnet.bodhi.tar
-sh-3.2# cp -Rp uboot.2016.05-tld-1.environment.bodhi.tar /tmp
-sh-3.2# ls
kwboot-2016.05.tar
uboot.2016.05-tld-1.environment.bodhi.tar
uboot.2017.07-tld-1.goflexnet.bodhi.tar
-sh-3.2# cd ..
-sh-3.2# ls
debootstrap lost+found tmp_tmp var
-sh-3.2# cd ..
-sh-3.2# ls
current_envs.txt
current_envs_bl.txt
debian
debootstrap
hbplug.log
install_uboot_mtd0.sh
kirkwood.debian-wheezy.sh
kwboot
kwboot-2016.05.tar
mtd0
resolv.conf
smb.conf
tempousb
uboot-mtd0-dump
uboot.2016.05-tld-1.environment.bodhi.tar
uboot.2017.07-tld-1.goflexnet.bodhi.tar
uboot.2017.07-tld-1.goflexnet.mtd0.kwb
var
-sh-3.2# cd /tmp
-sh-3.2#
-sh-3.2#
-sh-3.2# umount /dev/sdb1
-sh-3.2#
-sh-3.2# pwd
/tmp
-sh-3.2#
-sh-3.2# tar xf uboot
uboot-mtd0-dump
uboot.2016.05-tld-1.environment.bodhi.tar
uboot.2017.07-tld-1.goflexnet.bodhi.tar
uboot.2017.07-tld-1.goflexnet.mtd0.kwb
-sh-3.2# tar xf uboot.2016.05-tld-1.environment.bodhi.tar
-sh-3.2#
-sh-3.2#
-sh-3.2# ls -lrt
drwxr-xr-x 2 root root 40 Jan 1 00:00 var
-rw-r--r-- 1 root root 19 Jan 1 00:00 resolv.conf
-rw-r--r-- 1 root root 447 Jan 1 00:00 hbplug.log
-rw-r--r-- 1 root root 272 Jan 1 00:00 smb.conf
-rwxr-xr-x 1 root root 11159 Jan 1 00:08 kirkwood.debian-wheezy.sh
-rwxr-xr-x 1 root root 18406 Jan 1 00:10 install_uboot_mtd0.sh
drwxr-xr-x 3 root root 140 Jan 1 00:14 debootstrap
drwxr-xr-x 5 root root 4096 Jan 1 00:40 debian
-rw-r--r-- 1 root root 524288 Jan 1 01:15 uboot-mtd0-dump
-rw-r--r-- 1 root root 524288 Jan 1 17:16 mtd0
-rw-r--r-- 1 root root 0 Jan 1 17:29 current_envs_bl.txt
-rw-r--r-- 1 root root 0 Jan 1 17:29 current_envs.txt
drwxr-xr-x 2 root root 40 Jan 1 17:39 tempousb
-rw-r--r-- 1 root root 2773 Jun 12 2016 uboot.2016.05-tld-1.environment
-rw-r----- 1 root root 131072 Jun 12 2016 uboot.2016.05-tld-1.environment.img
-rw-r----- 1 root root 65536 Jun 12 2016 uboot.2016.05-tld-1.environment.64K.img
-rwxr-xr-x 1 root root 15604 Nov 26 2016 kwboot
-rw-r--r-- 1 root root 524288 Sep 5 2017 uboot.2017.07-tld-1.goflexnet.mtd0.kwb
-rwxrwxr-x 1 root 100 20480 Jul 26 2020 kwboot-2016.05.tar
-rwxrwxr-x 1 root 100 532480 Jul 26 2020 uboot.2017.07-tld-1.goflexnet.bodhi.tar
-rwxrwxr-x 1 root 100 204800 Jul 26 2020 uboot.2016.05-tld-1.environment.bodhi.tar
-sh-3.2#
-sh-3.2#
-sh-3.2#
-sh-3.2# fw_printenv > current_envs.txt
Warning: Bad CRC, using default environment
-sh-3.2# cat current_envs.txt
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
-sh-3.2#
-sh-3.2#
-sh-3.2#
-sh-3.2# /usr/sbin/flash_erase /dev/mtd0 0xc0000 1
Erase Total 1 Units
Performing Flash Erase of length 131072 at offset 0xc0000 done
-sh-3.2#
-sh-3.2#
<e -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environment.img
Writing data to block 6 at offset 0xc0000
-sh-3.2# fw_setenv arcNumber 3089
-sh-3.2# fw_setenv machid
-sh-3.2#
-sh-3.2#
-sh-3.2# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:76:27:72:FC
inet addr:192.168.0.120 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:51295 errors:0 dropped:0 overruns:0 frame:0
TX packets:3692 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:5445436 (5.1 MiB) TX bytes:271208 (264.8 KiB)
Interrupt:11
eth0:0 Link encap:Ethernet HWaddr 00:11:76:27:72:FC
inet addr:169.254.113.252 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:232 (232.0 B) TX bytes:232 (232.0 B)
-sh-3.2# fw_setenv ethaddr '00:11:76:27:72:FC'
-sh-3.2# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
load_dtb_addr=0x1c00000
load_initrd_addr=0x1100000
load_uimage_addr=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; the n echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_ done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
usb_ready_retry=15
arcNumber=3089
ethaddr=00:11:76:27:72:FC
-sh-3.2#
-sh-3.2#
-sh-3.2# ls
current_envs.txt
current_envs_bl.txt
debian
debootstrap
hbplug.log
install_uboot_mtd0.sh
kirkwood.debian-wheezy.sh
kwboot
kwboot-2016.05.tar
mtd0
resolv.conf
smb.conf
tempousb
uboot-mtd0-dump
uboot.2016.05-tld-1.environment
uboot.2016.05-tld-1.environment.64K.img
uboot.2016.05-tld-1.environment.bodhi.tar
uboot.2016.05-tld-1.environment.img
uboot.2017.07-tld-1.goflexnet.bodhi.tar
uboot.2017.07-tld-1.goflexnet.mtd0.kwb
var
-sh-3.2# cat current_envs.txt
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
-sh-3.2#
-sh-3.2#
< for devtype in $devices; do run init_$devtype; done'
</boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi'
<evtype; setenv disk_number $disknum; run uenv_read; fi; done; done;'
-sh-3.2# fw_setenv uenv_read_disk
<st $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3'
-sh-3.2# fw_setenv dtb_file '/boot/dts/kirkwood-goflexnet.dtb'
-sh-3.2#
-sh-3.2#
-sh-3.2# fw_printenv
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb_addr=0x1c00000
load_initrd_addr=0x1100000
load_uimage_addr=0x800000
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; the n echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_ done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
usb_ready_retry=15
arcNumber=3089
ethaddr=00:11:76:27:72:FC
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $dis knum; run uenv_read; fi; done; done;
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
dtb_file=/boot/dts/kirkwood-goflexnet.dtb
-sh-3.2#
-sh-3.2#
-sh-3.2# ls -lrt
drwxr-xr-x 2 root root 40 Jan 1 00:00 var
-rw-r--r-- 1 root root 19 Jan 1 00:00 resolv.conf
-rw-r--r-- 1 root root 447 Jan 1 00:00 hbplug.log
-rw-r--r-- 1 root root 272 Jan 1 00:00 smb.conf
-rwxr-xr-x 1 root root 11159 Jan 1 00:08 kirkwood.debian-wheezy.sh
-rwxr-xr-x 1 root root 18406 Jan 1 00:10 install_uboot_mtd0.sh
drwxr-xr-x 3 root root 140 Jan 1 00:14 debootstrap
drwxr-xr-x 5 root root 4096 Jan 1 00:40 debian
-rw-r--r-- 1 root root 524288 Jan 1 01:15 uboot-mtd0-dump
-rw-r--r-- 1 root root 524288 Jan 1 17:16 mtd0
-rw-r--r-- 1 root root 0 Jan 1 17:29 current_envs_bl.txt
drwxr-xr-x 2 root root 40 Jan 1 17:39 tempousb
-rw-r--r-- 1 root root 178 Jan 1 17:49 current_envs.txt
-rw-r--r-- 1 root root 2773 Jun 12 2016 uboot.2016.05-tld-1.environment
-rw-r----- 1 root root 131072 Jun 12 2016 uboot.2016.05-tld-1.environment.img
-rw-r----- 1 root root 65536 Jun 12 2016 uboot.2016.05-tld-1.environment.64K.img
-rwxr-xr-x 1 root root 15604 Nov 26 2016 kwboot
-rw-r--r-- 1 root root 524288 Sep 5 2017 uboot.2017.07-tld-1.goflexnet.mtd0.kwb
-rwxrwxr-x 1 root 100 20480 Jul 26 2020 kwboot-2016.05.tar
-rwxrwxr-x 1 root 100 532480 Jul 26 2020 uboot.2017.07-tld-1.goflexnet.bodhi.tar
-rwxrwxr-x 1 root 100 204800 Jul 26 2020 uboot.2016.05-tld-1.environment.bodhi.tar
-sh-3.2#
-sh-3.2#
-sh-3.2# cat current_envs.txt
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
-sh-3.2# rm current_envs_bl.txt
-sh-3.2#
-sh-3.2# ls -lrt
drwxr-xr-x 2 root root 40 Jan 1 00:00 var
-rw-r--r-- 1 root root 19 Jan 1 00:00 resolv.conf
-rw-r--r-- 1 root root 447 Jan 1 00:00 hbplug.log
-rw-r--r-- 1 root root 272 Jan 1 00:00 smb.conf
-rwxr-xr-x 1 root root 11159 Jan 1 00:08 kirkwood.debian-wheezy.sh
-rwxr-xr-x 1 root root 18406 Jan 1 00:10 install_uboot_mtd0.sh
drwxr-xr-x 3 root root 140 Jan 1 00:14 debootstrap
drwxr-xr-x 5 root root 4096 Jan 1 00:40 debian
-rw-r--r-- 1 root root 524288 Jan 1 01:15 uboot-mtd0-dump
-rw-r--r-- 1 root root 524288 Jan 1 17:16 mtd0
drwxr-xr-x 2 root root 40 Jan 1 17:39 tempousb
-rw-r--r-- 1 root root 178 Jan 1 17:49 current_envs.txt
-rw-r--r-- 1 root root 2773 Jun 12 2016 uboot.2016.05-tld-1.environment
-rw-r----- 1 root root 131072 Jun 12 2016 uboot.2016.05-tld-1.environment.img
-rw-r----- 1 root root 65536 Jun 12 2016 uboot.2016.05-tld-1.environment.64K.img
-rwxr-xr-x 1 root root 15604 Nov 26 2016 kwboot
-rw-r--r-- 1 root root 524288 Sep 5 2017 uboot.2017.07-tld-1.goflexnet.mtd0.kwb
-rwxrwxr-x 1 root 100 20480 Jul 26 2020 kwboot-2016.05.tar
-rwxrwxr-x 1 root 100 532480 Jul 26 2020 uboot.2017.07-tld-1.goflexnet.bodhi.tar
-rwxrwxr-x 1 root 100 204800 Jul 26 2020 uboot.2016.05-tld-1.environment.bodhi.tar
-sh-3.2#
-sh-3.2#
-sh-3.2# reboot
The system is going down NOW!
Sending SIGTERM to all processes
Requesting system reboot
[64771.330000] md: stopping all md devices.
[64772.330000] Restarting system.
[64772.330000] Reseting !!
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:17:19 -0700)
Seagate GoFlex Net
SoC: Kirkwood 88F6281_A1
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
Initializing devices...
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Reset IDE: ide_preinit failed
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
** File not found /boot/uEnv.txt **
Loading envs from usb 1...
** Bad device usb 1 **
Loading envs from usb 2...
** Bad device usb 2 **
Loading envs from usb 3...
** Bad device usb 3 **
Loading envs from ide 0...
** Bad device ide 0 **
Loading envs from ide 1...
** Bad device ide 1 **
Loading envs from ide 2...
** Bad device ide 2 **
Loading envs from ide 3...
** Bad device ide 3 **
Loading envs from mmc 0...
** Bad device mmc 0 **
Loading envs from mmc 1...
** Bad device mmc 1 **
Loading envs from mmc 2...
** Bad device mmc 2 **
Loading envs from mmc 3...
** Bad device mmc 3 **
running scan_disk ...
Scan device usb
device usb 0:1
** File not found /boot/uImage **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide
Reset IDE: ide_preinit failed
device ide 0:1
** Bad device ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc
Unknown command 'mmc' - try 'help'
device mmc 0:1
** Bad device mmc 0 **
device mmc 1:1
** Bad device mmc 1 **
device mmc 2:1
** Bad device mmc 2 **
device mmc 3:1
** Bad device mmc 3 **
loading uImage ...
** File not found /boot/uImage **
loading uInitrd ...
** File not found /boot/uInitrd **
loading DTB /boot/dts/kirkwood-goflexnet.dtb ...
** File not found /boot/dts/kirkwood-goflexnet.dtb **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
GoFlexNet>
GoFlexNet>
GoFlexNet>
GoFlexNet>
GoFlexNet>
GoFlexNet> ls
ls - list files in a directory (default /)
Usage:
ls <interface> [<dev[:part]> [directory]]
- List files in directory 'directory' of partition 'part' on
device type 'interface' instance 'dev'.
GoFlexNet>
ls - list files in a directory (default /)
Usage:
ls <interface> [<dev[:part]> [directory]]
- List files in directory 'directory' of partition 'part' on
device type 'interface' instance 'dev'.
GoFlexNet>
ls - list files in a directory (default /)
Usage:
ls <interface> [<dev[:part]> [directory]]
- List files in directory 'directory' of partition 'part' on
device type 'interface' instance 'dev'.
GoFlexNet> vi /boot/uEnv.txt
Unknown command 'vi' - try 'help'
GoFlexNet>
Unknown command 'vi' - try 'help'
GoFlexNet>
Unknown command 'vi' - try 'help'
GoFlexNet>
Unknown command 'vi' - try 'help'
GoFlexNet>
Unknown command 'vi' - try 'help'
GoFlexNet>
Unknown command 'vi' - try 'help'
GoFlexNet> help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootefi - Boots an EFI payload from memory
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
chpart - change active partition
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
date - get/set/reset date & time
dhcp - boot image via network using DHCP/TFTP protocol
diskboot- boot from IDE device
dns - lookup the IP of a hostname
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4size- determine a file's size
false - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatsize - determine a file's size
fdt - flattened device tree utility commands
fsinfo - print information about jffs filesystems
fsload - load binary file from a jffs filesystem image
fsls - list jffs files in a directory (default /)
fstype - Look up a filesystem type
go - start application at address 'addr'
gpio - query and control gpio pins
gpt - GUID Partition Table
help - print command description/usage
ide - IDE sub-system
iminfo - print header information for application image
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
load - load binary file from a filesystem
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mtdparts- define flash/nand partitions
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
save - save file to a filesystem
saveenv - save environment variables to persistent storage
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
showvar - print local hushshell variables
size - determine a file's size
sleep - delay execution for some time
sntp - synchronize RTC via network
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
ubi - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
GoFlexNet> printenv
arcNumber=3089
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
device_type=mmc
devices=usb ide mmc
disk_number=3
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-goflexnet.dtb
ethact=egiga0
ethaddr=00:11:76:27:72:FC
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; the n echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_ done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $dis knum; run uenv_read; fi; done; done;
uenv_loaded=0
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15
Environment size: 3168/131068 bytes
GoFlexNet>
arcNumber=3089
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
device_type=mmc
devices=usb ide mmc
disk_number=3
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-goflexnet.dtb
ethact=egiga0
ethaddr=00:11:76:27:72:FC
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; the n echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_ done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $dis knum; run uenv_read; fi; done; done;
uenv_loaded=0
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15
Environment size: 3168/131068 bytes
GoFlexNet>
arcNumber=3089
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3
bootdelay=10
bootdev=usb
device=0:1
device_type=mmc
devices=usb ide mmc
disk_number=3
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-goflexnet.dtb
ethact=egiga0
ethaddr=00:11:76:27:72:FC
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; the n echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_ done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $dis knum; run uenv_read; fi; done; done;
uenv_loaded=0
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15
Environment size: 3168/131068 bytes
GoFlexNet> help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootefi - Boots an EFI payload from memory
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
chpart - change active partition
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
date - get/set/reset date & time
dhcp - boot image via network using DHCP/TFTP protocol
diskboot- boot from IDE device
dns - lookup the IP of a hostname
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4size- determine a file's size
false - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatsize - determine a file's size
fdt - flattened device tree utility commands
fsinfo - print information about jffs filesystems
fsload - load binary file from a jffs filesystem image
fsls - list jffs files in a directory (default /)
fstype - Look up a filesystem type
go - start application at address 'addr'
gpio - query and control gpio pins
gpt - GUID Partition Table
help - print command description/usage
ide - IDE sub-system
iminfo - print header information for application image
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
load - load binary file from a filesystem
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mtdparts- define flash/nand partitions
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
save - save file to a filesystem
saveenv - save environment variables to persistent storage
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
showvar - print local hushshell variables
size - determine a file's size
sleep - delay execution for some time
sntp - synchronize RTC via network
source - run script from memory
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
ubi - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
GoFlexNet> nboot
** No boot device **
GoFlexNet> ls /boot
** No device specified **
GoFlexNet>
** No device specified **
GoFlexNet>
** No device specified **
GoFlexNet>
** No device specified **
GoFlexNet>
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 26, 2020 08:01AM |
Registered: 7 years ago Posts: 366 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 26, 2020 08:32AM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 26, 2020 08:51AM |
Registered: 8 years ago Posts: 16 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 26, 2020 11:32AM |
Registered: 7 years ago Posts: 366 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 26, 2020 01:43PM |
Registered: 9 years ago Posts: 429 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 26, 2020 04:17PM |
Admin Registered: 13 years ago Posts: 18,570 |
|
Re: Old GoFlex Net new... never started... but pogoplug is dead.. July 27, 2020 05:34AM |
Registered: 8 years ago Posts: 16 |
root@GoFlexNet:~# uname -a Linux GoFlexNet 5.7.1-kirkwood-tld-1 #1.0 PREEMPT Sun Jun 7 20:57:38 PDT 2020 armv5tel GNU/Linux