Dockstar Please check your kernel config and/or bootloader. December 20, 2021 10:37AM |
Registered: 9 years ago Posts: 54 |
U-Boot 2017.07-tld-1 (Oct 24 2017 - 22:32:36 -0700) Seagate FreeAgent DockStar SoC: Kirkwood 88F6281_A0 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... 3 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found 5435888 bytes read in 1068 ms (4.9 MiB/s) 9671091 bytes read in 1071 ms (8.6 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.13.6-kirkwood-tld-1 Created: 2021-09-24 0:22:58 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5435824 Bytes = 5.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-5.13.6-kirkwood-tld-1 Created: 2021-09-24 1:06:32 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9671027 Bytes = 9.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Loading Ramdisk to 071d6000, end 07b0f173 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: invalid dtb and unrecognized/unsupported machine ID r1=0x00000bb6, r2=0x00000100 r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00 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.
DockStar> printenv arcNumber=2998 bootargs_console=console=ttyS0,115200 bootargs_root=ubi.mtd=1 root=ubi0:root rootfstype=ubifs ro bootcmd=run bootcmd_usb; bootm 0x00800000 0x01100000 bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /boot/uImage; ext2load usb 0:1 0x01100000 /boot/uInitrd bootdelay=2 bootdev=usb device=0:1 devices=usb disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-dockstar.dtb ethact=egiga0 ethaddr=00:10:75:1A:B7:CF if_netconsole=ping $serverip init_ide=ide reset init_mmc=mmc rescan init_usb=usb start ipaddr=192.168.0.231 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_dtb_addr=0x1c00000 load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_initrd_addr=0x1100000 load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage load_uimage_addr=0x800000 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done scan_ide=ide reset scan_mmc=mmc rescan scan_usb=usb start serverip=192.168.0.220 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_loaded=0 uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15 Environment size: 2743/131068 bytesDoes anyone have a tip for me?
Re: Dockstar Please check your kernel config and/or bootloader. December 20, 2021 04:09PM |
Admin Registered: 13 years ago Posts: 18,853 |
dtb_file=/boot/dts/kirkwood-dockstar.dtb
Re: Dockstar Please check your kernel config and/or bootloader. December 21, 2021 03:30AM |
Registered: 9 years ago Posts: 54 |
run bootcmd_uenv
DockStar> run bootcmd_uenv starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 31250432 1d48cb6e-01 83 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 loading envs from usb 0 ... 2774 bytes read in 984 ms (2 KiB/s) importing envs ... Warning: egiga0 MAC addresses don't match: Address in SROM is 52:3b:20:9c:11:51 Address in environment is 00:10:75:1a:b7:cf
DockStar> bootHow can I save this now?
Re: Dockstar Please check your kernel config and/or bootloader. December 21, 2021 03:39AM |
Admin Registered: 13 years ago Posts: 18,853 |
run bootcmd_uenv
run bootcmd_uenv boot
run bootcmd_uenv saveenv boot
Re: Dockstar Please check your kernel config and/or bootloader. December 21, 2021 03:44AM |
Registered: 9 years ago Posts: 54 |
1 Storage Device(s) found Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 31250432 1d48cb6e-01 83 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 loading envs from usb 0 ... 2774 bytes read in 984 ms (2 KiB/s) Unknown command 'ide' - try 'help' Unknown command 'mmc' - try 'help' importing envs ... running scan_disk ... Scan device usb
Re: Dockstar Please check your kernel config and/or bootloader. December 21, 2021 02:14PM |
Admin Registered: 13 years ago Posts: 18,853 |
setenv devices usb
setenv disks '0 1 2 3'
## Unknown partition table type 0
Re: Dockstar Please check your kernel config and/or bootloader. December 21, 2021 02:27PM |
Registered: 9 years ago Posts: 54 |
Re: Dockstar Please check your kernel config and/or bootloader. December 21, 2021 03:32PM |
Admin Registered: 13 years ago Posts: 18,853 |
uname -a cat /etc/os-release
Re: Dockstar Please check your kernel config and/or bootloader. December 21, 2021 03:42PM |
Registered: 9 years ago Posts: 54 |
U-Boot 2017.07-tld-1 (Oct 24 2017 - 22:32:36 -0700)uname -a
Linux dockstar 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel Linuxcat /etc/os-release
NAME="Alpine Linux" ID=alpine VERSION_ID=3.11.2 PRETTY_NAME="Alpine Linux v3.11" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://bugs.alpinelinux.org/"
Re: Dockstar Please check your kernel config and/or bootloader. December 21, 2021 06:15PM |
Admin Registered: 13 years ago Posts: 18,853 |
Quote
Booting Other Linux Distros on Pogoplug
How to boot recent Arch Linux ARM rootfs with bodhi's released u-boot (with separate DTB)
How to boot older Arch Linux ARM rootfs with bodhi's released u-boot (with embedded DTB)
How to boot Void Linux with bodhi's released u-boot
How to boot Alpine Linux with bodhi's released u-boot and kernel
Re: Dockstar Please check your kernel config and/or bootloader. December 22, 2021 02:04AM |
Registered: 9 years ago Posts: 54 |
Re: Dockstar Please check your kernel config and/or bootloader. December 22, 2021 03:00AM |
Registered: 2 years ago Posts: 56 |
Re: Dockstar Please check your kernel config and/or bootloader. December 22, 2021 03:13AM |
Registered: 9 years ago Posts: 54 |
Re: Dockstar Please check your kernel config and/or bootloader. December 22, 2021 03:37AM |
Admin Registered: 13 years ago Posts: 18,853 |
Re: Dockstar Please check your kernel config and/or bootloader. December 22, 2021 05:13AM |
Registered: 9 years ago Posts: 54 |
Uncompressing Linux... done, booting the kernel. Error: invalid dtb and unrecognized/unsupported machine ID r1=0x00000bb6, r2=0x00000100 r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00 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.
run bootcmd_uenvbit it comes with a new message for me
Unknown command 'for' - try 'help' Unknown command 'do' - try 'help' Unknown command 'done' - try 'help' Unknown command 'for' - try 'help' Unknown command 'do' - try 'help' Unknown command 'do' - try 'help' Unknown command 'done' - try 'help' Unknown command 'done' - try 'help' Unknown command 'if' - try 'help' Unknown command 'then' - try 'help' Unknown command 'fi' - try 'help'
U-Boot 2014.10+dfsg1-5 (Apr 07 2015 - 21:52:11) Seagate FreeAgent DockStar SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed.How can I fix the error?
DockStar> printenv baudrate=115200 bootargs=console=ttyS0,115200 bootargs_console=console=ttyS0,115200 bootargs_root=ubi.mtd=1 root=ubi0:root rootfstype=ubifs ro bootcmd=setenv bootargs ${bootargs_console}; run bootcmd_usb; bootm 0x00800000 0x01100000 bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /boot/uImage; ext2load usb 0:1 0x01100000 /boot/uInitrd bootdelay=3 ethact=egiga0 ethaddr=00:10:75:1a:bf:90 init_ide="ide reset" init_mmc="mmc rescan" init_usb="usb start" initrd=/boot/uInitrd kernel=/boot/uImage mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1m(uboot),-(root) stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_loaded=0 uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15 Environment size: 1459/131068 bytes
Re: Dockstar Please check your kernel config and/or bootloader. December 22, 2021 09:54AM |
Registered: 7 years ago Posts: 372 |
Re: Dockstar Please check your kernel config and/or bootloader. December 22, 2021 10:01AM |
Registered: 9 years ago Posts: 54 |
Re: Dockstar Please check your kernel config and/or bootloader. December 22, 2021 11:38AM |
Registered: 7 years ago Posts: 372 |
cd /boot mv uImage uImage.orig mv uInitrd uInitrd.orig cp -a zImage-5.15.5-kirkwood-tld-1 zImage.fdt cat dts/kirkwood-dockstar.dtb >> zImage.fdt mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.15.5-kirkwood-tld-1 -d zImage.fdt uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.15.5-kirkwood-tld-1 -d initrd.img-5.15.5-kirkwood-tld-1 uInitrd
Re: Dockstar Please check your kernel config and/or bootloader. December 22, 2021 03:08PM |
Admin Registered: 13 years ago Posts: 18,853 |
Quote
Warning: Your board does not use generic board. Please read
doc/README.generic-board and take action. Boards not
upgraded by the late 2014 may break or be removed.
How can I fix the error?
DockStar> printenv baudrate=115200 bootargs=console=ttyS0,115200 bootargs_console=console=ttyS0,115200 bootargs_root=ubi.mtd=1 root=ubi0:root rootfstype=ubifs ro bootcmd=setenv bootargs ${bootargs_console}; run bootcmd_usb; bootm 0x00800000 0x01100000
Re: Dockstar Please check your kernel config and/or bootloader. December 28, 2021 01:03PM |
Registered: 9 years ago Posts: 54 |
DockStar> fatload usb 0:1 0x0800000 u-boot.kwb DockStar> nand erase 0x0 0x80000 DockStar> nand write 0x0800000 0x0 0x80000 DockStar> reset
Re: Dockstar Please check your kernel config and/or bootloader. December 28, 2021 02:47PM |
Registered: 2 years ago Posts: 56 |
usb start ls usb 0If you see the files of the usb root folder including "uboot.kwb", proceed with next step.
load usb 0 0x800000 uboot.kwbIt should load the file to the memory and show "524288 bytes read in xx ms".
nand erase 0x0 0xA0000 nand write 0x800000 0 0x80000And it'll be done. Reboot and enjoy.
Re: Dockstar Please check your kernel config and/or bootloader. December 28, 2021 02:57PM |
Registered: 9 years ago Posts: 54 |
Re: Dockstar Please check your kernel config and/or bootloader. December 28, 2021 03:15PM |
Registered: 2 years ago Posts: 56 |
Re: Dockstar Please check your kernel config and/or bootloader. December 28, 2021 03:56PM |
Admin Registered: 13 years ago Posts: 18,853 |
Quote
Unbricking with Serial Console & JTAG console
How to unbrick your box using serial console with kwboot
Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD
Serial Port connector - what are people using to make it work
Serial Console hookup - GoFlex Net (external link)
Serial Console hookup - Pogoplug E02 and Pogoplug Pro V3 (external link)
OSX Serial/Net Console
Use Phone Jack - Phone Jack Serial Console Pics
Adding serial connector to Pogoplug Mobile (external link)
WD Mycloud EX2100/4100 Serial Console pic1, also pic2, pic3
Dreamplug Serial Console
kwboot on Mac OSX 10
Unbrick a Pogoplug Pro v3 OXNAS by flashing u-boot in serial console
Unbricking Synology Diskstation DS414 - See also the working thread for this unbricking session
Restore Netgear Stora FW
Unbricking Netgear Stora using chainload method
Unbricking the Netgear Ready NAS Duo v2
Unbricking (Restore Factory Firmware) Netgear ReadyNAS RN102/104
Re: Dockstar Please check your kernel config and/or bootloader. December 28, 2021 03:59PM |
Admin Registered: 13 years ago Posts: 18,853 |
Quote
Not surprising Bodhi didn't suggest this. It's too easy to mess something up. Stupid me. Never going to suggest this again.
Re: Dockstar Please check your kernel config and/or bootloader. December 28, 2021 05:02PM |
Admin Registered: 13 years ago Posts: 18,853 |
Re: Dockstar Please check your kernel config and/or bootloader. December 28, 2021 05:17PM |
Registered: 2 years ago Posts: 56 |
Re: Dockstar Please check your kernel config and/or bootloader. December 28, 2021 10:01PM |
Admin Registered: 13 years ago Posts: 18,853 |
Re: Dockstar Please check your kernel config and/or bootloader. December 29, 2021 01:01PM |
Registered: 7 years ago Posts: 372 |
Re: Dockstar Please check your kernel config and/or bootloader. December 31, 2021 07:20AM |
Registered: 2 years ago Posts: 56 |