Welcome! Log In Create A New Profile

Advanced

seagate goflexhome Error: unrecognized/unsupported machine ID

Posted by wired 
trying to restore a device I found; booting via usb. I've added the printenv help would would be appricated.

U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet

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=3338
baudrate=115200
boot_auto=rd_args=rootfstype=auto; run boot_rd
boot_kern=run set_bootargs; bootm
boot_rd=run set_bootargs; bootm
bootcmd=run bootcmd_hdd; run bootcmd_usb; usb stop; run bootcmd_hdd; reset
bootcmd_hdd=ide reset; run hdd_load_uimage; run set_bootargs_usb; bootm 0x800000;
bootcmd_pogo=fsload uboot-original-mtd0.kwb; go 0x800200
bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;
bootdelay=3
console=ttyS0,115200
devices=mmc usb ide
disks=0  5 6 7
dtb_file=/boot/dts/kirkwood-goflexhome.dtb
ethact=egiga0
ethadd=00:10:75:2F:08:70
ethaddr=02:50:43:79:28:73
ext2_auto=ext2load /boot/uInitrd
ext2_boot=run ext2_rd boot_rd; run ext2_auto boot_auto; run boot_kern
ext2_kern=ext2load /boot/uImage
ext2_rd=ext2load /uInitrd
hd_args_0=boot_dev=ide 0:1
hd_args_1=boot_dev=ide 1:1
hd_boot=run ide_start; for scan in 0 1; do run hd_args_ ext2_kern ext2_boot; done
hdd_load_uimage=mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage
ide_start=ide reset
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)
partition=nand0,2
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts
set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts
stderr=serial
stdin=serial
stdout=serial
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
usb_device=0:1
usb_init=usb start
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
usb_root=/dev/sda1
usb_rootdelay=10
usb_rootfstype=ext2

Environment size: 1810/131068 bytes
GoFlexNet> boot

Reset IDE: ide_preinit failed
** Bad partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
3821592 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
7245696 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   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
   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
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

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

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.

----
Mod edit: please use code tags for posting log



Edited 1 time(s). Last edit at 01/29/2018 12:57AM by bodhi.
Re: seagate goflexhome Error: unrecognized/unsupported machine ID
January 29, 2018 01:08AM
wired,

> U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
> Seagate GoFlexNet

This old u-boot does not support FDT. So did you append the DTB to uImage as instructed in the kernel release thread?

Quote

4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-4.12.1-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.12.1-kirkwood-tld-1 -d zImage.fdt uImage
sync

If you did not then do that and reboot.

-bodhi
===========================
Forum Wiki
bodhi's corner
Starting kernel ...

Uncompressing Linux... done, booting the kernel.

and then appears to do nothing else;
i tried kwbooting new uboot; and it booted up farther
Re: seagate goflexhome Error: unrecognized/unsupported machine ID
January 29, 2018 02:49AM
Power up, interrupt serial console and

setenv set_bootargs_usb 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial'
boot

And post the entire serial console log here.

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



Edited 1 time(s). Last edit at 01/29/2018 02:56AM by bodhi.
It`s the same problem:

GoFlexNet> setenv set_bootargs_usb 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial'
GoFlexNet> saveenv
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xc0000 -- 100% complete.
Writing to NAND... OK
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
## Error: "force_rescue_bootcmd" not defined
## Error: "ubifs_bootcmd" not defined
## Error: "usb_bootcmd" not defined
stopping USB..
## Error: "usb_set_bootargs" not defined

Reset IDE: ide_preinit failed
** Bad device ide 0 **
** Bad device ide 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
## Error: "rescue_bootcmd" not defined
## Error: "pogo_bootcmd" not defined
resetting ...




No boot from USB Device, from SATA Disk same error: Error: unrecognized/unsupported machine ID (r1 = 0x00000d0a).

:(

-----
mod edit: use code tags.



Edited 1 time(s). Last edit at 02/04/2018 01:27PM by bodhi.
Re: seagate goflexhome Error: unrecognized/unsupported machine ID
February 04, 2018 01:26PM
ktasent,

Power up, interrupt serial console and

printenv
boot

Please post the entire serial console log here (from u-boot banner to when it stops). And used code tags to make the log readable.

-bodhi
===========================
Forum Wiki
bodhi's corner
Hello,

Boot from USB Stick:

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... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "force_rescue_bootcmd" not defined
## Error: "ubifs_bootcmd" not defined
## Error: "usb_bootcmd" not defined
stopping USB..
## Error: "usb_set_bootargs" not defined

Reset IDE: ide_preinit failed
** Bad device ide 0 **
** Bad device ide 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
## Error: "rescue_bootcmd" not defined
## Error: "pogo_bootcmd" not defined
resetting ...


--------------------------------------------------------------



GoFlexNet> printenv
arcNumber=3089
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/sda1 rootdelay= rootfstype= mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
ethaddr=b6:d0:5e:0f:a1:17
ide_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=ext2load ide 0:1 0x1c00000 /boot/dts/kirkwood-goflexnet.dtb
load_initrd=ext2load ide 0:1 0x1100000 /boot/uInitrd
load_uimage=ext2load ide 0:1 0x800000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
rootdelay=10
sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=run usb_set_bootargs; run sata_boot
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts init=/bin/systemd
set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x810000
uenv_load=usb start; ide reset; setenv uenv_loaded 0; for devtype in usb ide; do for disknum in 0; do run uenv_read_disk; done; done
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi
usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sda1

Environment size: 2328/131068 bytes

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


--------------------
Moderator note: please use code tags to post log. It is not readable without it. How to use code tags? it is the right most button up above the text box where you type the post. Hover the mouse pointer will show its name: "Formatted Code"



Edited 2 time(s). Last edit at 02/04/2018 01:54PM by bodhi.
Boot from SATA disk:


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... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
## Error: "force_rescue_bootcmd" not defined
## Error: "ubifs_bootcmd" not defined
## Error: "usb_bootcmd" not defined
stopping USB..
## Error: "usb_set_bootargs" not defined

Reset IDE: Bus 0: OK Bus 1: not available
Device 0: Model: ST9320423AS Firm: 0003LVM1 Ser#: 5VH2DZ2Y
Type: Hard Disk
Supports 48-bit addressing
Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
3821592 bytes read in 1595 ms (2.3 MiB/s)
7245696 bytes read in 1260 ms (5.5 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: seagate goflexhome Error: unrecognized/unsupported machine ID
February 04, 2018 01:54PM
Moderator note:

Please use code tags to post log. It is not readable without it. How to use code tags? it is the right most button up above the text box where you type the post. Hover the mouse pointer will show its name: "Formatted Code"

-bodhi
===========================
Forum Wiki
bodhi's corner
Sorry, here is sata boot

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... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
## Error: "force_rescue_bootcmd" not defined
## Error: "ubifs_bootcmd" not defined
## Error: "usb_bootcmd" not defined
stopping USB..
## Error: "usb_set_bootargs" not defined

Reset IDE: Bus 0: OK Bus 1: not available
  Device 0: Model: ST9320423AS  Firm: 0003LVM1 Ser#: 5VH2DZ2Y
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 305245.3 MB = 298.0 GB (625142448 x 512)
3821592 bytes read in 1595 ms (2.3 MiB/s)
7245696 bytes read in 1260 ms (5.5 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: seagate goflexhome Error: unrecognized/unsupported machine ID
February 04, 2018 02:02PM
ktasent,

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:17:19 -0700) 
Seagate GoFlex Net

bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset


You have installed the new u-boot image. But you did not flash the new default envs image that came with it.

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).

As described in step 1, u-boot envs must be defined in /etc/fw_env.config as

# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000

This default envs image supports booting with multiple disk drives (and hubs) attached. The disk drives could be any type (usb, sata, sd card). The scanning logic and default envs were set to automatically boot the box with the following required configuration:

For whatever reason, if you can't set up your configuration to satisfy the following 4 requirements, then don't flash this defaut envs image. It might not boot properly. In this case, section C below can be used to tailor the envs to your specific configuration.

r1. There must be only one partition among all partitions from all drives that contains the kernel files. The 2 kernel files are /boot/uImage and /boot/uInitrd.
r2. The partition that contains the 2 kernel files must be partition 1 in a disk drive
r3. The partition that contains the rootfs must be labeled rootfs
r4. The rootfs partition is recommended to be type Ext3 (this is not a hard requirement, ext4 should boot OK, but Ext3 will ensure no problem).

So the bottom line is if you have only one rootfs in a single Ext3 partition, which is labeled as rootfs, then you're all set.

a. Download the default u-boot envs at Dropbox:

uboot.2016.05-tld-1.environment.bodhi.tar
md5:
3823eef10011b864859d31a76470e0e3
sha256:
c8db95a4225e8d78bdaaaa372bd5a87e4b98f3448dd9c62fc96c72b2df1a997c

This tarball includes 3 files:

uboot.2016.05-tld-1.environment.img (the default envs image to be flashed)
uboot.2016.05-tld-1.environment (the content of the default envs in text format)
uboot.2016.05-tld-1.environment.64K.img (small envs image to be flashed on HP T5325 only).

...
...


See here for how to load that default envs set:
https://forum.doozan.com/read.php?3,29362,29390#msg-29390

The new default envs set will boot the rootfs correctly. Currently, your envs setting is wrong.

-bodhi
===========================
Forum Wiki
bodhi's corner
Thanks, but

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

before this version I was with the 2016th uboot

And how do you fit them in a situation that I do not get to the boot of the OS?

cp -a uboot.2016.05-tld-1.environment.scr /media/sdb1/boot/

So do not fix me if I grind, but how do I get them when I do not go to the debian login ?

Regards
Re: seagate goflexhome Error: unrecognized/unsupported machine ID
February 04, 2018 02:26PM
ktasent Wrote:
-------------------------------------------------------
> Thanks, but
>
> 8. Flashing default u-boot envs image (if you
> are upgrading from 2016.05-tld-1 u-boot, you can
> skip this step 8).

>
> before this version I was with the 2016th uboot
>

Because your envs are older than 2016.05-tld-1 version! so that version was not flashed, either!


> And how do you fit them in a situation that I do
> not get to the boot of the OS?
>
>
> cp -a uboot.2016.05-tld-1.environment.scr
> /media/sdb1/boot/
> 
>
>
> So do not fix me if I grind, but how do I get them
> when I do not go to the debian login ?

Mount your rootfs on another Linux box and copy that script to /boot of the rootfs.

>
> Regards

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



Edited 1 time(s). Last edit at 02/04/2018 02:26PM by bodhi.
Thank you very much, tomorrow I will try.

Just ask unzip uboot.2016.05-tld-1.environment.bodhi.tar

From it I take uboot.2016.05-tld-1.environment and put it in boot/
but the example I see you is: uboot.2016.05-tld-1.environment.scr
Just to rename a file to ***.scr ?


Best regards,
Re: seagate goflexhome Error: unrecognized/unsupported machine ID
February 04, 2018 04:33PM
ktasent,

Not uboot.2016.05-tld-1.environment.bodhi.tar.

The uboot.2016.05-tld-1.environment.scr was attached to that post
https://forum.doozan.com/read.php?3,29362,29390#msg-29390

Quote

On another Linux box, mount the Debian rootfs that you meant to run on this box and put the attached u-boot script in the /boot folder (if it was mounted at /media/sdb1):

-bodhi
===========================
Forum Wiki
bodhi's corner
bodhi,

I have read all 5 pages, I do not find a link with this .src file.
Re: seagate goflexhome Error: unrecognized/unsupported machine ID
February 05, 2018 12:03AM
It was attached to this post (not a download link inside the post):

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

Quote

On another Linux box, mount the Debian rootfs that you meant to run on this box and put the attached u-boot script in the /boot folder (if it was mounted at /media/sdb1):

Look at then end of the post for the attachment:

Quote

Attachments:
open | download - uboot.2016.05-tld-1.environment.scr (3.2 KB)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: seagate goflexhome Error: unrecognized/unsupported machine ID
February 05, 2018 12:07AM
You only need to look at the one post bodhi posted the link to. At the end of that post is the "Attachments:".

-JT

Edit: bodhi beat me to it.



Edited 1 time(s). Last edit at 02/05/2018 12:09AM by renojim.
I apologize very much, I did not see it. Everything started thanks a lot for help.
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: