Just to explain why I want to do this.. I've broken into the GFH unit which has the original Stock system installed and I have a good connector for the pins which makes all the difference for using serial connections. This does make a hell of a difference because I previously used three badly fitting wires and had to keep holding them in place whilst using a serial connection. The slightestby balanga - uBoot
shayan123 Wrote: ------------------------------------------------------- > bodhi, > > Thank you for all the support. I can now > successfully boot Debian on my GoFlex Home! > > However, just out of curiosity, is it possible to > write > stock > firmware to the NAND? > The firmware provided by Seagate includes 3 > files: > > uImage > initby balanga - uBoot
syong Wrote: ------------------------------------------------------- > @balanga, > > Try this: > > https://forum.doozan.com/read.php?3,26098,26811#msg-26811 @syong, Thanks for the pointer. It looks like someone has this working on NetBSD so I'd expect it to work on FreeBSD. Can you give me a step by step guide to getting it compiled - I'm not much of aby balanga - uBoot
Trying again a month later.... cd /tmp git clone https://github.com/mibodhi/u-boot-kirkwood.git cd u-boot-kirkwood cp configs/pogo_v4_defconfig .config gmake oldconfig Then prompt for Architecture select with a choice of [1-12] with a pointer (>) at 9. Sandbox (SANDBOX) (NEW) and I'm not sure whether to choose (2) for ARM or (11) x86. because I don't really know whetherby balanga - uBoot
I found this here :-https://wiki.openwrt.org/toh/seagate/goflexnet#recovery_bricked_uboot_of_goflexnet_buspirate_cygwin (Seeed Studio BusPirate - GoFlex.net) (GoFlex.net - Seeed Studio BusPirate) ( nc - 1 nc ) ( 10 GND - serial cable GND ) ( 6 blue (aux) - 2 IN ) ( 9 RxD - serial cable TxD ) ( 8 gray (mosi) - 3 TDI )by balanga - Rescue System
rayknight Wrote: ------------------------------------------------------- > # cp configs/pogo_v4_defconfig .config > # make oldconfig > Ray This seems to generate a million questions and I don't know what to answer to any of them. Is there a means of automatically accepting the defaults?by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > > Just wondered if I need to run make using a > > specific shell, since I get a few hundred > errors > > when running 'make oldconfig'... > > Remember this is Linux source tree. I don't know > what adjustment you'd need for FreeBSD. It turns out to be quite simple -by balanga - uBoot
I'm hoping to resurrect a bricked GoFlex Home dock using a Bus Pirate, but have never done anything like this before. My understanding is that I need to connect a cable between the Bus Pirate and the GFH unit, but I'm don't know which wires to connect to which pins. Does anyone know where I can find a wiring diagram?by balanga - Rescue System
bodhi Wrote: ------------------------------------------------------- > That's a typo. It should be: > > > # cd u-boot-kirkwood > Thanks. Just wondered if I need to run make using a specific shell, since I get a few hundred errors when running 'make oldconfig'... Most of the errors are of the form:- Need an operator eg unexport LC_ALL Variableby balanga - uBoot
rayknight Wrote: ------------------------------------------------------- > If you are trying to build kwboot your are going > about all wrong. First clone bodhi's GitHub > repository: > > # git clone > https://github.com/mibodhi/u-boot-kirkwood.git > > Then run the following steps: > # cd u-boot-kirkwood.git > # cp configs/pogo_v4_defconfig .configby balanga - uBoot
Just found an interesting tutorial on the subject.... https://cyanlabs.net/tutorials/recovering-a-seagate-goflex-via-serial/ Just noticed that this section:- OK now for the software side of things, You will need to download this file (This is for Go Flex HOME and may or may not work on the Go Flex Net, Net users will have to find the .kwb file elsewhere.) and extract it to a folder.by balanga - Rescue System
I'm trying to run kwboot through the gdb degugger and would like to identify the exact point at which it stops. I was not previously aware of this special handshake sequence which I presume is not getting sent or acknowledged.. I'm not much of a programmer so have not been able to locate this handshake. It does not appear to be documented in the code. Any clues about finding it woulby balanga - uBoot
There is no log as such, I only ran kwboot from the command line... ./kwboot -t -B 115200 /dev/cuaU0 -b uboot.2017.05-tld-2.goflexhome.mtd0.kwb -p just as I do on Debian except it transfers the image under Debian but just waits under FreeBSD. I built kwboot using:- wget https://github.com/LeMaker/u-boot/raw/master/tools/kwboot.c wget https://github.com/LeMaker/u-boot/raw/master/tools/by balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > > cu and minicom both work fine on FreeBSD so I > know > > there is nothing wrong with the serial > connection. > > Please post the log your attempt to connect with > kwboot. It simply stops with the prompt:- Please reboot the target into UART boot mode.../ Switching the dock onby balanga - uBoot
bodhi Wrote: ------------------------------------------------------- > balanga, > > - BootROM starts > - BootROM senses the serial port for a special > handshake sequence, and if sucessful, starts > receiving uboot image from the serial port using > xmodem protocol. > > The special handshake sequence is a series of > bytes sent by kwboot from another boxby balanga - uBoot
Apologies if this off-topic, but I thought someone here might be able to give me some insight on my problem... I've been trying to get kwboot working on FreeBSD for a while without any success and wondered if anyone familiar with serial port programming could suggest what I might need to change to get it working... The program compiles without any problem, but won't write to the sby balanga - uBoot
balanga Wrote: ------------------------------------------------------- > If I kwboot my GoFlex Home unit, which still has > the original Stock firmware on it, can I backup > the system to an external device and restore it if > necessary? Looking at this topic seems to move me in the right direction:- https://forum.doozan.com/read.php?3,16789,16789#msg-16789 Backup and Reby balanga - Rescue System
bodhi Wrote: ------------------------------------------------------- > balanga Wrote: > ------------------------------------------------------- > > How do I load environment variables from > uEnv.txt > > once I have booted up from kwboot and am at the > > uBoot prompt? > > > run bootcmd_uenv > Thanks. Will this find uEnv.txt if it is in the roby balanga - uBoot
How do I load environment variables from uEnv.txt once I have booted up from kwboot and am at the uBoot prompt?by balanga - uBoot
If I kwboot my GoFlex Home unit, which still has the original Stock firmware on it, can I backup the system to an external device and restore it if necessary?by balanga - Rescue System
shayan123 Wrote: ------------------------------------------------------- > It's the internet mate, everything's there, just > takes a bit of searching! Check this one out: > 10-pin > connector on AliExpress (and its barely a > dollar) Thanks. As I said you need to know what you are looking for... I don't know the diameter of the pins (or holes) and theby balanga - uBoot
Does Debian have an equivalent to ArchLinux's pacman -Syy for upgrading an existing system?by balanga - Debian
shayan123 Wrote: ------------------------------------------------------- > Lol, I really don’t do a lot of this serial > console stuff so I don’t even have the right > dupont connectors. I had to find a make-shift > solution to this problem, so I just use a bunch of > paper clips with a bit of excess solder around > them to hold them in place. Tilt them at an angle &by balanga - uBoot
balanga Wrote: ------------------------------------------------------- > jcconnell Wrote: > ------------------------------------------------------- > > > > pacman -Syu uboot-tools > > > > After running pacman -Syy a few days ago I'm now > unable ti install anything! Everything I try ends > up with 'keyring signature ..... is unknown > tby balanga - Rescue System
bodhi Wrote: ------------------------------------------------------- > Try: > > > mkdir -p /tmp/nand_rootfs > mount -t ubi0:rootfs /dev/mtdblock1 > /tmp/nand_rootfs > mount: unknown filesystem type 'ubi0:rootfs' I tried all the options I could find for ubiattach but couldn't get anything to work.by balanga - Rescue System
shayan123 Wrote: ------------------------------------------------------- > I have a GoFlex Home that won't boot. I've > connected it to a terminal via a USB to UART, but > I can't get any output from the device. > > (I've tested that the CP2102 interface works, > because messing with the TxD and RxD gives me junk > values on the screen. Also, allby balanga - uBoot
How do I create a new USB stick for use with a GoFlex Home unit using the latest rootfs and kernel. I have one which works which I don't want to upate. I've been unable to copy it to another USB stick, I tried, using dd, but the copy would not boot up, or rather it would boot up, the flashing green light turned to steady orange before turning to steady green, but I was unable to ssh orby balanga - Debian
I tried mounting a cifs share on Debian but get mount error(19): No such device. Any ideas on what is causing this? I do have cifs-utils installed and can manage mount the cifs shares from Arch Linux (x86 version) using the same command line.by balanga - Debian
bodhi Wrote: ------------------------------------------------------- > To list the mtds > > > cat /proc/mtd > dev: size erasesize name mtd0: 0010000 00020000 "u-boot" mtd1 0ff00000 00020000 "rootfs" Still not sure how to mount these...by balanga - Rescue System
jcconnell Wrote: ------------------------------------------------------- > > pacman -Syu uboot-tools > After running pacman -Syy a few days ago I'm now unable ti install anything! Everything I try ends up with 'keyring signature ..... is unknown trust' I've gone round is circle for a couple of hours trying to remove /etc/pacman.d/gnupg and re-install keys buby balanga - Rescue System