Welcome! Log In Create A New Profile

Advanced

I can`t boot my Goflex net

Posted by Ghenadie 
Ghenadie
I can`t boot my Goflex net
December 04, 2018 07:20AM
Hello. For some time trying to install Debian on GoFlex Net and do not succeed. Can anyone guide me? At the moment I created a falsh with a rescue linux system on which I can boot. U-Boot, is updated with the version "U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:17:19 -0700)".
If I start the device without the flash USB then it goes into the loop.

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
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
ubi0: attaching mtd1
ubi0: scanning is finished
UBI init error 22
** Bad device usb 0 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
** Bad device usb 0 **
** Bad device usb 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS: ......... done.
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
resetting ...

If I boot from USB flash drive then it loads the rescue system. Then follow the linux debian installation procedure, which does not run until the end.

rescue:~# cd /tmp
rescue:/tmp# wget http://projects.doozan.com/debian/kirkwood.debian-wheezy.sh
Connecting to projects.doozan.com (45.77.104.33:80)
wget: can't connect to remote host (45.77.104.33): Connection refused
rescue:/tmp# wget http://projects.doozan.com/debian/kirkwood.debian-wheezy.sh
Connecting to projects.doozan.com (45.77.104.33:80)
kirkwood.debian-whee 100% |*******************************| 11159   0:00:00 ETA
rescue:/tmp# chmod +x kirkwood.debian-wheezy.sh
rescue:/tmp# export PATH=$PATH:/usr/sbin:/sbin
rescue:/tmp# mount -o remount,rw /
rescue:/tmp# rm /usr/sbin/debootstrap
rm: can't remove '/usr/sbin/debootstrap': No such file or directory
rescue:/tmp# rm -rf /usr/share/debootstrap
rescue:/tmp# chmod 666 /usr/bin/microperl
rescue:/tmp# mount -o remount,ro /
rescue:/tmp# ./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
Connecting to projects.doozan.com (45.77.104.33:80)
install_uboot_mtd0.s 100% |*******************************| 18406   0:00:00 ETA
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)
Connecting to projects.doozan.com (45.77.104.33:80)
valid-uboot.md5      100% |*******************************|  1133   0:00:00 ETA
## Unknown uBoot detected on mtd0: 67b8b8f2aba6362550d672a4bc2bcf75
##
## 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.
mke2fs 1.42 (29-Nov-2011)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 524288 blocks
26214 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=c5d2ddd6-52db-4f9c-bed3-c038a18e7ac2
Connecting to cdn.debian.net (128.31.0.62:80)
Connecting to cdn-fastly.deb.debian.org (151.101.84.204:80)
debootstrap.deb      100% |*******************************| 72680   0:00:00 ETA
rw-r--r-- 0/0      4 Nov 30 20:01 2018 debian-binary
rw-r--r-- 0/0   1306 Nov 30 20:01 2018 control.tar.gz
rw-r--r-- 0/0  71181 Nov 30 20:01 2018 data.tar.gz
./
./usr/
./usr/sbin/
./usr/sbin/debootstrap
./usr/share/
./usr/share/debootstrap/
./usr/share/debootstrap/functions
./usr/share/debootstrap/scripts/
./usr/share/debootstrap/scripts/aequorea
./usr/share/debootstrap/scripts/breezy
./usr/share/deb[  156.466437] EXT2-fs (sda3): warning: mounting unchecked fs, running e2fsck is recommended
ootstrap/scripts/dapper
./usr/share/debootstrap/scripts/debian-common
./usr/share/debootstrap/scripts/edgy
./usr/share/debootstrap/scripts/etch
./usr/share/debootstrap/scripts/feisty
./usr/share/debootstrap/scripts/gutsy
./usr/share/debootstrap/scripts/hoary
./usr/share/debootstrap/scripts/hoary.buildd
./usr/share/debootstrap/scripts/kali
./usr/share/debootstrap/scripts/potato
./usr/share/debootstrap/scripts/sarge
./usr/share/debootstrap/scripts/sarge.buildd
./usr/share/debootstrap/scripts/sarge.fakechroot
./usr/share/debootstrap/scripts/sid
./usr/share/debootstrap/scripts/warty
./usr/share/debootstrap/scripts/warty.buildd
./usr/share/debootstrap/scripts/woody
./usr/share/debootstrap/scripts/woody.buildd
./usr/share/doc/
./usr/share/doc/debootstrap/
./usr/share/doc/debootstrap/README
./usr/share/doc/debootstrap/changelog.gz
./usr/share/doc/debootstrap/copyright
./usr/share/man/
./usr/share/man/man8/
./usr/share/man/man8/debootstrap.8.gz
./usr/share/debootstrap/scripts/artful
./usr/share/debootstrap/scripts/bartholomea
./usr/share/debootstrap/scripts/bionic
./usr/share/debootstrap/scripts/bookworm
./usr/share/debootstrap/scripts/bullseye
./usr/share/debootstrap/scripts/buster
./usr/share/debootstrap/scripts/chromodoris
./usr/share/debootstrap/scripts/cosmic
./usr/share/debootstrap/scripts/dasyatis
./usr/share/debootstrap/scripts/disco
./usr/share/debootstrap/scripts/etch-m68k
./usr/share/debootstrap/scripts/hardy
./usr/share/debootstrap/scripts/intrepid
./usr/share/debootstrap/scripts/jaunty
./usr/share/debootstrap/scripts/jessie
./usr/share/debootstrap/scripts/jessie-kfreebsd
./usr/share/debootstrap/scripts/kali-dev
./usr/share/debootstrap/scripts/kali-last-snapshot
./usr/share/debootstrap/scripts/kali-rolling
./usr/share/debootstrap/scripts/karmic
./usr/share/debootstrap/scripts/lenny
./usr/share/debootstrap/scripts/lucid
./usr/share/debootstrap/scripts/maverick
./usr/share/debootstrap/scripts/natty
./usr/share/debootstrap/scripts/oldoldstable
./usr/share/debootstrap/scripts/oldstable
./usr/share/debootstrap/scripts/oneiric
./usr/share/debootstrap/scripts/precise
./usr/share/debootstrap/scripts/quantal
./usr/share/debootstrap/scripts/raring
./usr/share/debootstrap/scripts/saucy
./usr/share/debootstrap/scripts/squeeze
./usr/share/debootstrap/scripts/stable
./usr/share/debootstrap/scripts/stretch
./usr/share/debootstrap/scripts/testing
./usr/share/debootstrap/scripts/trusty
./usr/share/debootstrap/scripts/unstable
./usr/share/debootstrap/scripts/utopic
./usr/share/debootstrap/scripts/vivid
./usr/share/debootstrap/scripts/wheezy
./usr/share/debootstrap/scripts/wily
./usr/share/debootstrap/scripts/xenial
./usr/share/debootstrap/scripts/yakkety
./usr/share/debootstrap/scripts/zesty
# checking for /usr/share/debootstrap/pkgdetails...

# Installing /usr/share/debootstrap/pkgdetails...
Connecting to download.doozan.com (45.77.104.33:80)
pkgdetails.md5       100% |*******************************|    32   0:00:00 ETA
Connecting to download.doozan.com (45.77.104.33:80)
pkgdetails           100% |*******************************|   559k  0:00:00 ETA
# Successfully installed /usr/share/debootstrap/pkgdetails.


# Starting debootstrap installation
I: Retrieving InRelease
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://cdn.debian.net/debian...
I: Retrieving libacl1 2.2.51-8
I: Validating libacl1 2.2.51-8
I: Retrieving adduser 3.113+nmu3
I: Validating adduser 3.113+nmu3
I: Retrieving apt 0.9.7.9+deb7u7
I: Validating apt 0.9.7.9+deb7u7
I: Retrieving libapt-pkg4.12 0.9.7.9+deb7u7
I: Validating libapt-pkg4.12 0.9.7.9+deb7u7
I: Retrieving libattr1 1:2.4.46-8
I: Validating libattr1 1:2.4.46-8
I: Retrieving base-files 7.1wheezy11
I: Validating base-files 7.1wheezy11
I: Retrieving base-passwd 3.5.26
I: Validating base-passwd 3.5.26
I: Retrieving bash 4.2+dfsg-0.1+deb7u3
I: Validating bash 4.2+dfsg-0.1+deb7u3
I: Retrieving libbz2-1.0 1.0.6-4
I: Validating libbz2-1.0 1.0.6-4
I: Retrieving coreutils 8.13-3.5
I: Validating coreutils 8.13-3.5
I: Retrieving cpio 2.11+dfsg-0.1+deb7u2
I: Validating cpio 2.11+dfsg-0.1+deb7u2
I: Retrieving dash 0.5.7-3
I: Validating dash 0.5.7-3
I: Retrieving libdb5.1 5.1.29-5
I: Validating libdb5.1 5.1.29-5
I: Retrieving debconf 1.5.49
I: Validating debconf 1.5.49
I: Retrieving debconf-i18n 1.5.49
I: Validating debconf-i18n 1.5.49
I: Retrieving debian-archive-keyring 2014.3~deb7u1
I: Validating debian-archive-keyring 2014.3~deb7u1
I: Retrieving debianutils 4.3.2
I: Validating debianutils 4.3.2
I: Retrieving devio 1.2-1+b1
I: Validating devio 1.2-1+b1
I: Retrieving dhcpcd 1:3.2.3-11+deb7u1
I: Validating dhcpcd 1:3.2.3-11+deb7u1
I: Retrieving dialog 1.1-20120215-2
I: Validating dialog 1.1-20120215-2
I: Retrieving diffutils 1:3.2-6
I: Validating diffutils 1:3.2-6
I: Retrieving dpkg 1.16.18
I: Validating dpkg 1.16.18
I: Retrieving e2fslibs 1.42.5-1.1+deb7u1
I: Validating e2fslibs 1.42.5-1.1+deb7u1
I: Retrieving e2fsprogs 1.42.5-1.1+deb7u1
I: Validating e2fsprogs 1.42.5-1.1+deb7u1
I: Retrieving libcomerr2 1.42.5-1.1+deb7u1
W: Couldn't download package libcomerr2 (ver 1.42.5-1.1+deb7u1 arch armel) at http://cdn.debian.net/debian/pool/main/e/e2fsprogs/libcomerr2_1.42.5-1.1+deb7u1_armel.deb
I: Retrieving libss2 1.42.5-1.1+deb7u1
I: Validating libss2 1.42.5-1.1+deb7u1
I: Retrieving libc-bin 2.13-38+deb7u10
I: Validating libc-bin 2.13-38+deb7u10
I: Retrieving libc6 2.13-38+deb7u10
I: Validating libc6 2.13-38+deb7u10
I: Retrieving multiarch-support 2.13-38+deb7u10
I: Validating multiarch-support 2.13-38+deb7u10
I: Retrieving findutils 4.4.2-4
I: Validating findutils 4.4.2-4
I: Retrieving flash-kernel 3.3+deb7u2
I: Validating flash-kernel 3.3+deb7u2
I: Retrieving gcc-4.7-base 4.7.2-5
I: Validating gcc-4.7-base 4.7.2-5
I: Retrieving libgcc1 1:4.7.2-5
I: Validating libgcc1 1:4.7.2-5
I: Retrieving libstdc++6 4.7.2-5
I: Validating libstdc++6 4.7.2-5
I: Retrieving gnupg 1.4.12-7+deb7u7
I: Validating gnupg 1.4.12-7+deb7u7
I: Retrieving gpgv 1.4.12-7+deb7u7
I: Validating gpgv 1.4.12-7+deb7u7
I: Retrieving libgnutls26 2.12.20-8+deb7u5
I: Validating libgnutls26 2.12.20-8+deb7u5
I: Retrieving grep 2.12-2
I: Validating grep 2.12-2
I: Retrieving gzip 1.5-1.1
I: Validating gzip 1.5-1.1
I: Retrieving hostname 3.11
I: Validating hostname 3.11
I: Retrieving ifupdown 0.7.8
I: Validating ifupdown 0.7.8
I: Retrieving initramfs-tools 0.109.1
I: Validating initramfs-tools 0.109.1
I: Retrieving insserv 1.14.0-5
I: Validating insserv 1.14.0-5
I: Retrieving iproute 20120521-3+b3
I: Validating iproute 20120521-3+b3
I: Retrieving iputils-ping 3:20101006-1+b1
I: Validating iputils-ping 3:20101006-1+b1
I: Retrieving libkeyutils1 1.5.5-3+deb7u1
I: Validating libkeyutils1 1.5.5-3+deb7u1
I: Retrieving klibc-utils 2.0.1-3.1
I: Validating klibc-utils 2.0.1-3.1
I: Retrieving libklibc 2.0.1-3.1
I: Validating libklibc 2.0.1-3.1
I: Retrieving kmod 9-3
I: Validating kmod 9-3
I: Retrieving libkmod2 9-3
I: Validating libkmod2 9-3
I: Retrieving libgssapi-krb5-2 1.10.1+dfsg-5+deb7u7
I: Validating libgssapi-krb5-2 1.10.1+dfsg-5+deb7u7
I: Retrieving libk5crypto3 1.10.1+dfsg-5+deb7u7
I: Validating libk5crypto3 1.10.1+dfsg-5+deb7u7
I: Retrieving libkrb5-3 1.10.1+dfsg-5+deb7u7
I: Validating libkrb5-3 1.10.1+dfsg-5+deb7u7
I: Retrieving libkrb5support0 1.10.1+dfsg-5+deb7u7
I: Validating libkrb5support0 1.10.1+dfsg-5+deb7u7
I: Retrieving libbsd0 0.4.2-1
I: Validating libbsd0 0.4.2-1
I: Retrieving libedit2 2.11-20080614-5
I: Validating libedit2 2.11-20080614-5
I: Retrieving libgcrypt11 1.5.0-5+deb7u4
I: Validating libgcrypt11 1.5.0-5+deb7u4
I: Retrieving libgpg-error0 1.10-3.1
I: Validating libgpg-error0 1.10-3.1
I: Retrieving libidn11 1.25-2
I: Validating libidn11 1.25-2
I: Retrieving liblocale-gettext-perl 1.05-7+b1
I: Validating liblocale-gettext-perl 1.05-7+b1
I: Retrieving libselinux1 2.1.9-5
I: Validating libselinux1 2.1.9-5
I: Retrieving libsemanage-common 2.1.6-6
I: Validating libsemanage-common 2.1.6-6
I: Retrieving libsemanage1 2.1.6-6
I: Validating libsemanage1 2.1.6-6
I: Retrieving libsepol1 2.1.4-3
I: Validating libsepol1 2.1.4-3
I: Retrieving libtasn1-3 2.13-2+deb7u2
I: Validating libtasn1-3 2.13-2+deb7u2
I: Retrieving libtext-charwidth-perl 0.04-7+b1
I: Validating libtext-charwidth-perl 0.04-7+b1
I: Retrieving libtext-iconv-perl 1.7-5
I: Validating libtext-iconv-perl 1.7-5
I: Retrieving libtext-wrapi18n-perl 0.06-7
I: Validating libtext-wrapi18n-perl 0.06-7
I: Retrieving libusb-0.1-4 2:0.1.12-20+nmu1
I: Validating libusb-0.1-4 2:0.1.12-20+nmu1
I: Retrieving libuuid-perl 0.02-5
I: Validating libuuid-perl 0.02-5
I: Retrieving linux-image-3.2.0-4-kirkwood 3.2.78-1
I: Validating linux-image-3.2.0-4-kirkwood 3.2.78-1
I: Retrieving linux-base 3.5
I: Validating linux-base 3.5
I: Retrieving linux-image-kirkwood 3.2+46
I: Validating linux-image-kirkwood 3.2+46
I: Retrieving lsb-base 4.1+Debian8+deb7u1
I: Validating lsb-base 4.1+Debian8+deb7u1
I: Retrieving mawk 1.3.3-17
I: Validating mawk 1.3.3-17
I: Retrieving libncurses5 5.9-10
I: Validating libncurses5 5.9-10
I: Retrieving libncursesw5 5.9-10
I: Validating libncursesw5 5.9-10
I: Retrieving libtinfo5 5.9-10
I: Validating libtinfo5 5.9-10
I: Retrieving ncurses-base 5.9-10
I: Validating ncurses-base 5.9-10
I: Retrieving ncurses-bin 5.9-10
I: Validating ncurses-bin 5.9-10
I: Retrieving libssl1.0.0 1.0.1e-2+deb7u20
I: Validating libssl1.0.0 1.0.1e-2+deb7u20
I: Retrieving libp11-kit0 0.12-3
I: Validating libp11-kit0 0.12-3
I: Retrieving libpam-modules 1.1.3-7.1
I: Validating libpam-modules 1.1.3-7.1
I: Retrieving libpam-modules-bin 1.1.3-7.1
I: Validating libpam-modules-bin 1.1.3-7.1
I: Retrieving libpam-runtime 1.1.3-7.1
I: Validating libpam-runtime 1.1.3-7.1
I: Retrieving libpam0g 1.1.3-7.1
I: Validating libpam0g 1.1.3-7.1
I: Retrieving libprocps0 1:3.3.3-3
I: Validating libprocps0 1:3.3.3-3
I: Retrieving libreadline6 6.2+dfsg-0.1
I: Validating libreadline6 6.2+dfsg-0.1
I: Retrieving login 1:4.1.5.1-1
I: Validating login 1:4.1.5.1-1
I: Retrieving libslang2 2.2.4-15
I: Validating libslang2 2.2.4-15
I: Retrieving initscripts 2.88dsf-41+deb7u1
I: Validating initscripts 2.88dsf-41+deb7u1
I: Retrieving libwrap0 7.6.q-24
I: Validating libwrap0 7.6.q-24
I: Retrieving libudev0 175-7.2
I: Validating libudev0 175-7.2
I: Retrieving libustr-1.0-1 1.0.4-3
I: Validating libustr-1.0-1 1.0.4-3
I: Retrieving bsdutils 1:2.20.1-5.3
I: Validating bsdutils 1:2.20.1-5.3
I: Retrieving libblkid1 2.20.1-5.3
I: Validating libblkid1 2.20.1-5.3
I: Retrieving libmount1 2.20.1-5.3
I: Validating libmount1 2.20.1-5.3
I: Retrieving libuuid1 2.20.1-5.3
I: Validating libuuid1 2.20.1-5.3
I: Retrieving mount 2.20.1-5.3
I: Validating mount 2.20.1-5.3
I: Retrieving liblzma5 5.1.1alpha+20120614-2
I: Validating liblzma5 5.1.1alpha+20120614-2
I: Retrieving net-tools 1.60-24.2
I: Validating net-tools 1.60-24.2
I: Retrieving netbase 5.0
I: Validating netbase 5.0
I: Retrieving ntpdate 1:4.2.6.p5+dfsg-2+deb7u6
I: Validating ntpdate 1:4.2.6.p5+dfsg-2+deb7u6
I: Retrieving openssh-client 1:6.0p1-4+deb7u4
I: Validating openssh-client 1:6.0p1-4+deb7u4
I: Retrieving openssh-server 1:6.0p1-4+deb7u4
I: Validating openssh-server 1:6.0p1-4+deb7u4
I: Retrieving perl-base 5.14.2-21+deb7u3
I: Validating perl-base 5.14.2-21+deb7u3
I: Retrieving procps 1:3.3.3-3
I: Validating procps 1:3.3.3-3
I: Retrieving readline-common 6.2+dfsg-0.1
I: Validating readline-common 6.2+dfsg-0.1
I: Retrieving sed 4.2.1-10
I: Validating sed 4.2.1-10
I: Retrieving sensible-utils 0.0.7
I: Validating sensible-utils 0.0.7
I: Retrieving passwd 1:4.1.5.1-1
I: Validating passwd 1:4.1.5.1-1
I: Retrieving sysv-rc 2.88dsf-41+deb7u1
I: Validating sysv-rc 2.88dsf-41+deb7u1
I: Retrieving sysvinit 2.88dsf-41+deb7u1
I: Validating sysvinit 2.88dsf-41+deb7u1
I: Retrieving sysvinit-utils 2.88dsf-41+deb7u1
I: Validating sysvinit-utils 2.88dsf-41+deb7u1
I: Retrieving tar 1.26+dfsg-0.1
I: Validating tar 1.26+dfsg-0.1
I: Retrieving tzdata 2016d-0+deb7u1
I: Validating tzdata 2016d-0+deb7u1
I: Retrieving u-boot-tools 2012.04.01-2
I: Validating u-boot-tools 2012.04.01-2
I: Retrieving udev 175-7.2
I: Validating udev 175-7.2
I: Retrieving util-linux 2.20.1-5.3
I: Validating util-linux 2.20.1-5.3
I: Retrieving vim-common 2:7.3.547-7
I: Validating vim-common 2:7.3.547-7
I: Retrieving vim-tiny 2:7.3.547-7
I: Validating vim-tiny 2:7.3.547-7
I: Retrieving wget 1.13.4-3+deb7u2
I: Validating wget 1.13.4-3+deb7u2
I: Retrieving xz-utils 5.1.1alpha+20120614-2
I: Validating xz-utils 5.1.1alpha+20120614-2
I: Retrieving zlib1g 1:1.2.7.dfsg-13
I: Validating zlib1g 1:1.2.7.dfsg-13
E: Couldn't download packages: libcomerr2
debootstrap failed.
See /tmp/debian/debootstrap/debootstrap.log for more information.
rescue:/tmp#

Sorry I am new to Linux. What to do next?
Thank you.
Re: I can`t boot my Goflex net
December 04, 2018 04:11PM
Ghenadie,

1. Create the USB rootfs using the tarball Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 as instructed (follow the instruction very closely, especially being root user, no sudo):

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

The instruction starts at

Quote

Updated 24 Jul 2017:

Basic Debian stretch Kirkwood rootfs for most Kirwood plugs:

- tarball size: 188M
- install size: 488M
- The init system used in this rootfs is sysvinit . To boot with systemd, see note 2 below.
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, and sysvinit-utils.
- see LED controls in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root

Download at Dropbox:

Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2

md5:
bf3d29569943875df348fb5ca03b348c
sha256:
4ed5714fdb123cdb40e973f3d0754e91cd199b75a9874018f2b5dc9cfa8ae8bb

And remember to check the hash of what you download, as always.

Installation:

2. Plug this USB rootfs into the box, Power up, interrupt serial console and

printenv
boot

Please post the entire serial console log here.

-bodhi
===========================
Forum Wiki
bodhi's corner
Ghenadie
Re: I can`t boot my Goflex net
December 05, 2018 10:40AM
Hello. Thank you very much for answer. I did what you say. Below a information.

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
GoFlexNet> printenv
arcNumber=3089
baudrate=115200
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
bootdelay=3
console=ttyS0,115200
ethact=egiga0
ethaddr=00:10:75:26:70:16
fileaddr=800000
filesize=2000000
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ipaddr=10.10.1.139
led_error=orange blinking
led_exit=green off
led_init=green blinking
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
myip=10.10.1.139
partition=nand0,2
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
serverip=10.10.1.51
stderr=serial
stdin=serial
stdout=serial
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_device=0:3
usb_init=run usb_scan
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_scan_list=1 2 3 4
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
xNet>=usb_root=/dev/sda1usb_root=/dev/sda1

Environment size: 2486/131068 bytes
GoFlexNet> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
** File not found /rescueme **
** Unrecognized filesystem type **
ubi0: attaching mtd1
ubi0: scanning is finished
UBI init error 22
1 bytes read in 722 ms (0 Bytes/s)
Found bootable drive on usb 0:1
3821592 bytes read in 841 ms (4.3 MiB/s)
7245696 bytes read in 825 ms (8.4 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-07-20   8:11:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3821528 Bytes = 3.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
   Loading Ramdisk to 07424000, end 07b0cf40 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000c11).

Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.
Re: I can`t boot my Goflex net
December 05, 2018 04:37PM
Ghenadie,

You have missed an important step during flashing the U-Boot 2017.07-tld-1.

Quote

8. Flashing default u-boot envs image (if you are upgrading from 2016.05-tld-1 u-boot, you can skip this step 8).

To populate the default envs correctly in serial console, see this post:

https://forum.doozan.com/read.php?3,29362,29390#msg-29390

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


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: