wired
seagate goflexhome Error: unrecognized/unsupported machine ID January 29, 2018 01:55AM |
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.
Re: seagate goflexhome Error: unrecognized/unsupported machine ID January 29, 2018 02:08AM |
Admin Registered: 13 years ago Posts: 18,558 |
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
wired
Re: seagate goflexhome Error: unrecognized/unsupported machine ID January 29, 2018 03:31AM |
wired
Re: seagate goflexhome Error: unrecognized/unsupported machine ID January 29, 2018 03:47AM |
Re: seagate goflexhome Error: unrecognized/unsupported machine ID January 29, 2018 03:49AM |
Admin Registered: 13 years ago Posts: 18,558 |
setenv set_bootargs_usb 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial' boot
ktasent
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 07:34AM |
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 ...
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 02:26PM |
Admin Registered: 13 years ago Posts: 18,558 |
printenv boot
ktasent
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 02:48PM |
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
ktasent
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 02:53PM |
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 02:54PM |
Admin Registered: 13 years ago Posts: 18,558 |
ktasent
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 02:58PM |
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 03:02PM |
Admin Registered: 13 years ago Posts: 18,558 |
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
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).
...
...
ktasent
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 03:11PM |
cp -a uboot.2016.05-tld-1.environment.scr /media/sdb1/boot/
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 03:26PM |
Admin Registered: 13 years ago Posts: 18,558 |
> cp -a uboot.2016.05-tld-1.environment.scr > /media/sdb1/boot/ > >>
ktasent
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 03:31PM |
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 04, 2018 05:33PM |
Admin Registered: 13 years ago Posts: 18,558 |
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):
krasent
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 05, 2018 12:54AM |
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 05, 2018 01:03AM |
Admin Registered: 13 years ago Posts: 18,558 |
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):
Quote
Attachments:
open | download - uboot.2016.05-tld-1.environment.scr (3.2 KB)
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 05, 2018 01:07AM |
Registered: 9 years ago Posts: 226 |
krasent
Re: seagate goflexhome Error: unrecognized/unsupported machine ID February 05, 2018 01:35AM |