Welcome! Log In Create A New Profile

Advanced

Old GoFlex Net new... never started... but pogoplug is dead.. (resolved - thank you)

Posted by fredk 
Old GoFlex Net new... never started... but pogoplug is dead.. (resolved - thank you)
April 20, 2020 05:36AM
Hi,

i just found a new, never used GoFlex net i bought long time ago with my dockstar... i want to use it just for local NAS, no cloud. But as pogoplug is not existing anymore, is there a way to activate it ? can i install debian on it like that from a fresh new unused goflex net ? The thing is i can't acces it : ssh do not work / web page neither. I have IP and MAC through the router... but that's all.... is it totally dead as pogoplug do not exist anymore to activate it ?

Thank you.



Edited 1 time(s). Last edit at 08/23/2020 07:59AM by fredk.
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 20, 2020 05:24PM
fredk,


pogoplug.com is no longer available. So you cannot enable SSH through its web site.

It might worth a try to see if you can log in using the old approach for GoGlex Home. It is described here at Arch Linux ARM site (click on Installation)

https://archlinuxarm.org/platforms/armv5/seagate-goflex-home

If the above is not working then you have to connect serial console. Then it is easy to install Debian.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 22, 2020 07:56AM
Hi Bodhi,


thank you for the feedback. I was afraid of such an answer ;(
the thing is that i have the IP and MAC, but can't access to any web interface... http://IP show me an error.... SSH to the IP show me a connection refused... I haven't tried the reset but basically the device is fresh new;;. taken out of the box few days ago... so not set i guess....

I thought at least i would have a local interface....

for serial, my competencies in soldering are.... let's say..... awfully low ! Are there serial cable all made that can be bought ? and without needing of soldering ?



Edited 1 time(s). Last edit at 04/22/2020 07:56AM by fredk.
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 22, 2020 09:12AM
fredk Wrote:

>
> for serial, my competencies in soldering are....
> let's say..... awfully low ! Are there serial
> cable all made that can be bought ? and without
> needing of soldering ?

Ebay or Amazon. I got a CP2102 USB module on Amazon shipped with Prime for about $4. This is the one I got last week, though is currently not available. https://www.amazon.com/gp/product/B07MY2B4VJ

The leads are a little thicker but being careful, you can insert the three needed ones (ground, Rx and Tx).
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 22, 2020 04:42PM
fredk,

Open up the box and see if the header is already installed by the manufactorer. Most GoFlex Net have it. So no soldering needed.

We talked about serial console converter here:
https://forum.doozan.com/read.php?8,13263

Basically, the model is CP2xx or PL3xx. You can find it on eBay, or Amazon. su_A_ve have a good one. CP2102 usually simpler than PL3xxx.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 22, 2020 10:29PM
If you have raspberry pi, you can just use Rpi as the serial adapter---you just need to install raspbian, boot it, run raspi-config to activate serial, but don't use serial port to login, then use three cables to connect Rpi's TX/RX/GND to your box's RX/TX/GND, run minicom or picocom whatever on Rpi...
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 23, 2020 08:20AM
@David : Thank you but I don't have any raspberry... i have 2 dockstars but no RPi... :(
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 23, 2020 08:22AM
Got it. In fact i have nothing to losse as warranty is gone far away... I'll try this. And i guess 5 dollars is ok to try to revival my goflex... I bought it long time ago to replace any of my dockstar in case of failure.... but they are still runing for almost 10 years now without - almost - any issue !
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 23, 2020 09:23AM
Your dockstar has serial ... You can use that...
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 23, 2020 04:41PM
fredk,

First thing: open the box to check to see if there is a header already installed. If there is no header, then see if the pins are empty holes or soldered buttons (holes are good).

Since you can't do soldering, that would tell you whether you should buy serial module converter.

======

In the past, even with soldered buttons, I have connected a temporary serial console with 3 shirt pins, 3 test clips. The test clips have wires already attached when you buy it. So I connect the 3 wires from serial module converter to the 3 clips. And then clip the 3 shirt pins. Get everything ready:

- Plug in the serial converter to the host box.
- type the picocom/minicom command on terminal shell, but dont execute it.
- Now press each of the 3 shirt pins to the soldered buttons. Just enough to hold the pins (solder are soft enough).
- Execute the picocom command
- Power up the box.
- Log in to stock OS, and activate SSH.

If the pins fall out during this, then repeat the whole process. Hopefully, the pins are going to stay long enough for a few minutes that allow you to activate SSH in stock.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 26, 2020 01:42AM
Ok . I opened it. seems there is a header. So first step is good.
Thenk i wsaw this : woudl it be ok ?

https://www.amazon.fr/Convertisseur-Converter-Module-Built-CP2102/dp/B00AFRXKFU?ref_=nav_ya_signin&;

Do you think the wired would be ok ? so no soldering at all and i have everything to try ?

Funny as i am doing this just for the fun, as the goflex is really weak in performances etc... and i don't even know how to plug a hard drive as i don't have any goflex case and there is only one USB.. so for the boot stick :) but it is funny... we'll see if the fun is worth 10 euros :)
Re: Old GoFlex Net new... never started... but pogoplug is dead..
April 26, 2020 03:45AM
fredk,
>
> https://www.amazon.fr/Convertisseur-Converter-Module-Built-CP2102/dp/B00AFRXKFU?ref_=nav_ya_signin&;
>
> Do you think the wired would be ok ? so no
> soldering at all and i have everything to try ?

That CP2102 looks good. No soldering needed.

And remember that you should only connect 3 wires (GND, TXD, RXD). The 3.3V power on the header should not be connected.

> Funny as i am doing this just for the fun, as the
> goflex is really weak in performances etc... and i
> don't even know how to plug a hard drive as i
> don't have any goflex case

You can plug in a bare 2.5" HDD/SSD without using a case.

> and there is only one
> USB.. so for the boot stick :) but it is funny...
> we'll see if the fun is worth 10 euros :)

It's a crucial first step in learning to hack embedded Linux. It will be very handy when you start playing with larger NAS when you really need it.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 04/26/2020 03:46AM by bodhi.
Re: Old GoFlex Net new... never started... but pogoplug is dead..
June 08, 2020 11:36AM
Hi, still waiting for the USB to Serial pack.... hurry up cause my dockstar is showing signs of death....
Re: Old GoFlex Net new... never started... but pogoplug is dead..
June 27, 2020 07:54AM
Hi finally received it !!! Can't try it this week-end but i hope doing this during the week....

I started to read, and just a question. Is it the good order of things :

- activate ssh
- install uboot for booting from usb
- install debian or something else.. ?

I really need just a "simple" nas, *smb shares as my other dockstar is starting to show weakness... but i have another dockstar with a debian for all other stuff... so just need to replace the dockstar with smb storage... so is it ok (and possible) to use just the goflex software for that ? So perhaps i don't have to install anything.... even though i'm stil not sure i will be able to activate it... as they shut there servers...
Re: Old GoFlex Net new... never started... but pogoplug is dead..
June 27, 2020 04:05PM
fredk,

> I really need just a "simple" nas, *smb shares as
> my other dockstar is starting to show weakness...
> but i have another dockstar with a debian for all
> other stuff... so just need to replace the
> dockstar with smb storage... so is it ok (and
> possible) to use just the goflex software for that
> ? So perhaps i don't have to install anything....
> even though i'm stil not sure i will be able to
> activate it... as they shut there servers...

You need to, at the minimum, install new Debian rootfs on USB or HDD, you can run stock u-boot with it.

Stock GF Net OS is no longer usable for anything other being than a rescue system.

============

To make sure you can rescue this box if you messed up, or you should install new u-boot, try kwboot using the latest u-boot image for GF Net:

https://forum.doozan.com/read.php?3,12381

Follow the example here:

https://forum.doozan.com/read.php?3,51739,51919#msg-51919

This UART booting is the first thing you should test if you have serial console. Once you can do this, the box is almost impossible to brick.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 25, 2020 09:33AM
Hi,

ok finally i found few hours to install my GFN... so i had to break the pin of my received cable and use a plier because they were to big. but now they are ok on the GFN. I boot and can see the console...

So i tried to install wheezy using the : http://projects.doozan.com/debian/ tuto but it can't find the distribution apparently...

here are the error log :
-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




so... now i don't know what to do.. can i safely turn it off to find another solution... rerun the script safely or does this tuto is not up to date anymore ?



Edited 1 time(s). Last edit at 07/25/2020 10:00AM by fredk.
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 25, 2020 09:49AM
Full console log : in fact it is even worse.... it can't install nothing...

-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#


interesting cause i have unknown uboot error, despite the CRC is the good one (from the link to jeff's page https://projects.doozan.com/uboot/valid-uboot.md5 ) :

b2d9681ef044e9ab6b058ef442b30b6e dockstar original
5cbbbca7693c5939836349bbd7f270e8 goflexnet original
9b940e0b3b5a523f8b50ef0fa50af97f goflexhome original
c7b77a049725096d83db958f39b2c0c3 pinkpogo original
7e454d6b669ddadf3e97a2bf562653fa pogov1 original


The USB key seems ok :
-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



Can I install uboot from bodhi's post, a new one, or do i have to install debian first ?

That was a quick fail :)



Edited 5 time(s). Last edit at 07/25/2020 10:00AM by fredk.
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 25, 2020 12:28PM
Hi fredk,

This site explains how to activate the ssh service (dropbear) on a Pogoplug device without using the official Pogoplug Website.

https://www.exploitee.rs/index.php/PogoPlug_Mobile#GPL

Enjoy!
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 25, 2020 01:35PM
Hi, thank you, but sorry my skills are limited i guess : what is the relationship between ssh and this ? i have bought a serial cable, and i am using the console to install the debian distrib. Is it because we can't use console to install debian and uboot ? because i was hopin after debian is installed, ssh will en activated on it by default.



Edited 1 time(s). Last edit at 07/25/2020 02:32PM by fredk.
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 25, 2020 03:59PM
fredk ,

> Can I install uboot from bodhi's post, a new one,
> or do i have to install debian first ?

You can install both at the same time from stock OS.

U-Boot
https://forum.doozan.com/read.php?3,12381

Debian:
https://forum.doozan.com/read.php?2,12096

If you'd like me to look over your installation, don't reboot, post the entire session log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 25, 2020 04:40PM
Hi Bodhi, thank you, i'll try this, it is just that it is much more complicated than the scripted version :(

i'll try this tomorrow hoping i will be able to do it... thank you, i'll come back for the result. i'll start with the uboot then the debian...
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 26, 2020 02:33AM
Ok.... not sure i will do anything with this GFN.... i don't know if i'm gettig old but the dockstar process seemed much much easier to me...

So it tried to install uboot but first i have CRC errors during some commands, but apparently not in the blocks of the mtd (block 14 for me, not between 1 and 7), but stupid question : i have no ssh, how can i copy binaires on the dockstar ? I tried scp... but there is no ssh...

here is the log of the new epic failure....

-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
Ok.... i think i have bricked my GoFlex.... i guess it is my fault, i forgot step C the uenv.txt file... rebooted and now i have just a goflex prompt and no vi to create this file afterwards.... so can't even try to install debian i guess.... that would have been a fun adventure :)


Here is the full log session of the epic fail.... there is a lot of things not related as i used my dockstar to copy binaries to the GFN...


-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
Well, all you need is a properly made USB boot disk. Your new U-boot is already there. Follow bodhi's detailed instructions, make one or two USB root file systems and try to boot again. SanDisk brand is highly recommended. Use USB 2.0 drive.

This is not bricked. If it is bricked, you will not get anything from console.
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 26, 2020 08:32AM
Hi, thank you Daviddyer,

but I forgot to create the uenv.txt file, so i though that would be he problem.

for the usb boot disk, you mean i have to create it from another computer ? because on the GFN i have no more shell... can i create it from my dockstar ? using the link bodhi gave before, but from dockstar right ? i have a 16Gb sandisk from the dockstar, when i moved it to a bigger one... it already has 2 partitions, 1 linux bootable and a swap one.... will give a try now...
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 26, 2020 08:51AM
edit : i found the 25 august link.... trying to go on...



Edited 1 time(s). Last edit at 07/26/2020 08:56AM by fredk.
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 26, 2020 11:32AM
You can create the root file system disk on ANY linux / unix computers, eg, raspberry pi with raspbian, Intel / AMD computer systems with Linux live CD / live USB, etc

You don't need to create uEnv.txt, that file is not required to boot the system... That file can be used to save a Env-messed-up box or test some environment variables.



Edited 1 time(s). Last edit at 07/26/2020 11:34AM by daviddyer.
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 26, 2020 01:43PM
daviddyer Wrote:
-------------------------------------------------------
> You can create the root file system disk on ANY
> linux / unix computers, eg, raspberry pi with
> raspbian, Intel / AMD computer systems with Linux
> live CD / live USB, etc

Another option:

I spun up a Debian 10 x86 server image on VirtualBox running on a Windows 10 device. Also available on Mac. Costs nothing for VirtualBox or the Debian iso. And it loads quickly. I use it a lot for this purpose. Be sure to get the expansion pack so you can access USB dives.

LME
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 26, 2020 04:17PM
fredk,

All good suggestions above by David and Leggo! Create a new rootfs using Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2 on USB.

Or you can also use the rootfs from your Dockstar. It should boot OK if the u-boot installed on Dockstar is the latest. If u-boot on the Dockstar is old (e.g. 2012), then its rootfs need to be adjusted a bit to boot with the new u-boot on GF Net now.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Old GoFlex Net new... never started... but pogoplug is dead..
July 27, 2020 05:34AM
Hello,

so i would like to thank Bodhi and David for the help.... finally i managed to have a proper bootable debian on the GFN :)

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


Now i have to dig more on Debian as it was al ong time since i haven't touched it.... my first thing is the date which takes several minutes to sync through ntp after reboot... but it is ok. then the GFN seems to be very warm... i'm wondering if i won't take off the lead to cool it down... when i had it open with the serial cable, i was not able to touch the CPU with the finger because it was very very hot. I'll try to find some small cooler for it.... might help.... hoping it will last at least 10 years like the dockstar :)
IF i manage to have a stable GFN i might try top update the dockstar too....as you said the uboot from the dockstar is the original from long time ago... it could be funny to install newer one and debian buster if supported on it... but this is another story when i will have some time :)

Anyway, thank you again for help and support !
it was fun digging it a little in that :)
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: