I have a GoFlex Home unit which I messed about with about a year ago and must have installed a new uBoot. Unfortunately I can no longer access it. When I switch on with no disk, the green light blinks for a while and then changes to a blinking orange. When a particula disk is inserted the green light blinks for around 30 secs, then changes to a steady orange for 5 secs and the turns to a sby balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > balanga Wrote: > ------------------------------------------------------- > > The good thing about Stock is that it's all > > embedded, or is it possible to just update > uboot > > and leave the OS in situ? > > > > Apologies if this is a dumb question... > > It is pby balanga - uBoot
The good thing about Stock is that it's all embedded, or is it possible to just update uboot and leave the OS in situ? Apologies if this is a dumb question...by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > This is the official manual: > http://www.denx.de/wiki/DULG/UBootEnvVariables > > It is, as usual for open source software, quite > old. Thanks, it's a start, but as it says:- This section lists the most important environment variables, and many are not mentioned. There must be some guideby balanga - uBoot
I often see displays of various environment variables but never pay much attention to them apart from a few specific ones, but I'd like to know if there is a definite reference for them and what they mean, or a guide to explain what they are used for. Here is what I currently have on a Seagate GoFlex Home unit running the Stock version of Linux:- baudrate=115200 loads_echo=0 ipaddr=1by balanga - uBoot
Having just reinstalled Stock on my GoFlex Home unit, I wondered if it might be possible to install netconsole on it, .... or might it already be installed somewhere? If not can I simply wget it?by balanga - uBoot
I finally managed to break in and get a serial cable connected and here is what I got. Seems OK to me... -- NAS EXPLORER -- _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** QSI BOARD: NAS-PLUG LE U-Boot 1.1.4 (Jun 10 2010 - 08:28:13) Marvell version: 3.4.27by balanga - uBoot
I would like to have the option of being to boot up my GoFlex Home from NAND without needing external storage. As far as I am aware the only two options are running Stock or OpenWrt. Is there anything else?by balanga - uBoot
I'm really confused about what's happened now. Because the system didn't boot up properly, I reinstalled the Stock firmware provided by Seagate and had to re-register and now do have GUI access, and ssh does work, ie a password prompt appears, although I can't login. I'm not really sure what the mtdx files contain... is it the full system including any passwd entries?by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > balanga Wrote: > ------------------------------------------------------- > > Can you still activate SSH through the web page? ssh is active but I just can't login. I'm still not sure what has been copied over. When copying over mtd does that include things like the passwd file? I think I willby balanga - uBoot
Another useful link is this:- https://archlinuxarm.org/forum/viewtopic.php?f=53&t=4334 which show how to bypass the registration process and reset root password when installing. I think it depends on a previous version of the firmware - goflex_2_7_1_firmware.zip which no longer seems to be available anywhere. If anyone does know where to find it, please let me know.by balanga - Rescue System
bodhi, I'm not really sure what has happened but it seems to have booted up using Stock. I have been able to ping it and would be able to ssh but can't get past the password prompt - have tried all the methods I've used before. I can access it via the GUI and have had to re-register. Am reluctant to break in because I always break a clip or two, but I'll give it a try...by balanga - uBoot
Before breaking in, I thought I would try and reinstall Seagate original firmware - http://support.goflexhome.hipserv.com/en/reflash/index.html What happens is that the flashing green light goes to steady and then starts flashing orange for 30secs and then goes back to steady green for 3osecs and this cycle goes on repeating itself ad infinitum. What could it be doing?by balanga - uBoot
Unfortunately I had a power cut and the GoFlex Home unit rebooted to a flashing green light, so I guess that is the end of the experiment. Now I'll have to break in and see if I can salvage anything.by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > balanga, > For mtd2. > > Execute each command at command line, not in a > script: > > ./flash_erase /dev/mtd2 0 0 > ./nandwrite -n /dev/mtd2 /mnt/usb/mtd/mtd2 > > > If the error occur again, post output of your > dmesg > > > dmesg > Script started on 2018by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > > So change your commands to the following. And > execute it one by one by copy/paste these > commands. Don't run them in a script. Stop if the > first command gives out error. > > > cd /mnt/usb/tools > ./flash_erase /dev/mtd0 > ./nandwrite -n /dev/mtd0 /mnt/usb/mtd/mtd0 > .by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > Take a look at the MTD dumps again: > > > cd /mnt/usb/mtd > ls -larth mtd* > # cd /mnt/usb/mtd # ls -larth mtd* -rw-r--r-- 1 nobody nobody 1.0M Aug 11 12:15 mtd0 -rw-r--r-- 1 nobody nobody 6.0M Aug 11 12:15 mtd1 -rw-r--r-- 1 nobody nobody 249M Aug 11 12:17 mtd2 > And see what option thiby balanga - uBoot
Script started on 2018-08-13 07:24:14+00:00 ^[]0;root@alarm:/mnt/smb/gfh^G# sh restore Erasing 128 Kibyte @ 0 -- 0 % complete Erasing 128 Kibyte @ 20000 -- 12 % complete Erasing 128 Kibyte @ 40000 -- 25 % complete Erasing 128 Kibyte @ 60000 -- 37 % comple Input file is not page-aligned. Use the padding option. nandwrite: error!: Data was only partially written due to error erroby balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > > And your script looks OK > > > cd /mnt/usb/tools > ./flash_erase /dev/mtd0 > ./nandwrite -on /dev/mtd0 /mnt/usb/mtd/mtd0 > ./flash_erase /dev/mtd1 > ./nandwrite -on /dev/mtd1 /mnt/usb/mtd/mtd1 > ./flash_erase /dev/mtd2 > ./nandwrite -on /dev/mtd2 /mnt/usb/mtd/mtd2 > flaby balanga - uBoot
Not seeming to make any progress.... Looking on Github there is the u-boot git - https://github.com/u-boot/u-boot which contains kwboot under tools, but I can't figure out where to get started. I only want to build kwboot. Any clues would be appreciated.by balanga - uBoot
I just gave it a shot running this shell script:- /mnt/usb is my mounted USB stick containing the mtd files as well as tools cd /mnt/usb/tools ./flash_erase /dev/mtd0 ./nandwrite -on /dev/mtd0 /mnt/usb/mtd/mtd0 ./flash_erase /dev/mtd1 ./nandwrite -on /dev/mtd1 /mnt/usb/mtd/mtd1 ./flash_erase /dev/mtd2 ./nandwrite -on /dev/mtd2 /mnt/usb/mtd/mtd2 This is what I got:- Script staby balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > > Reboot. Log back into Arch. > > > cat /proc/mtd > # cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00600000 00020000 "uImage" mtd2: 0f900000 00020000 "root" This the same as Stock. > > Now look at the mtd duby balanga - uBoot
balanga Wrote: ------------------------------------------------------- > bodhi Wrote: > ------------------------------------------------------- > > balanga Wrote: > > > ------------------------------------------------------- > > > What is preventing me re-installing Stock > from > > a > > > USB stick? > > > > > > >by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > balanga Wrote: > ------------------------------------------------------- > > What is preventing me re-installing Stock from > a > > USB stick? > > > > > http://support.goflexhome.hipserv.com/en/reflash/index.html > > Have you tried that factory restore? Not yet, I was sby balanga - uBoot
What is preventing me re-installing Stock from a USB stick? http://support.goflexhome.hipserv.com/en/reflash/index.htmlby balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > - in stock OS > > fw_printenv > baudrate=115200 loads_echo=0 ipaddr=169.254.254.253 serverip=169.254.254.254 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 run_diag=yes CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > > fw_printenv > baudrate=115200 bootcmd=ide reset; usb start; setenv letter 9;for type in ide usb; do for disk in 0; do if ${type} part ${disk};then setexpr letter $letter + 1;run load;fi;done;done; bootdelay=3 bootm=echo Booting from ${disk} ...; run setargs; bootm ${loadaddr}; bootz=echo Booting from ${by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > 2. And then write them to the Arch-running box > > And before flashing the mtds you need to list them > in Arch OS > > > cat /proc/mtd > > If they match with stock OS, then go ahead. If > not, you will need to adjust the mtds to the stock > definition, reboot. And verify On Aby balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > > Yes it does look ok. You can nanddump all 3 mtds. How does this look? bash-3.2# ls -al mtd total 262424 drwxr-xr-x 2 root root 4096 Aug 11 12:15 . drwxr-xr-x 5 root root 4096 Aug 11 12:04 .. -rw-r--r-- 1 root root 1048576 Aug 11 12:15 mtd0 -rw-r--r-- 1 root root 6291456 Aug 11 12:15 mtd1 -by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > Here is a better tools binaries tarball to > download: > > https://forum.doozan.com/read.php?3,27280 > > And before backing up the mtds you need to list > them in stock OS (not Arch system): > > > cat /proc/mtd > bash-3.2# cat /proc/mtd dev: size erasesize name mtd0: 0by balanga - uBoot