Welcome! Log In Create A New Profile

Advanced

2024.10 U-Boot Kirkwood - Synology DS211

Posted by bodhi 
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 15, 2025 04:40PM
Done!

Please note that the upper bay has the 12TB HDD. The lower bay is empty.

[ivan@prdavac ~]$ sudo /home/ivan/tools/os/linux/DS211/kwboot-tool/kwboot  -t -B 115200 /dev/ttyUSB0 -b /home/ivan/tools/os/linux/DS211/uboot.2025.10-tld-1.ds211.bodhi.251215/uboot.2025.10-tld-1.ds211.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]                         DS211-debian||Mon Dec 15 2025 11:27PM
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2025.10-tld-1 (Nov 28 2025 - 15:03:49 -0800)
Synology DS211

SoC:   Kirkwood 88F6282_A0
MPP:   Variant 88F6281
DRAM:  256 MiB
Core:  25 devices, 17 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet-controller@72000
ethernet-controller@72000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Using ethernet-controller@72000 device

ARP Retry count exceeded; starting again
ping failed; host 10.0.0.113 is not alive
ethernet-controller@72000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
U-Boot 2025.10-tld-1 (Nov 28 2025 - 15:03:49 -0800)
Synology DS211

gcc (Debian 12.2.0-14) 12.2.0
GNU ld (GNU Binutils for Debian) 2.40
Hit any key to stop autoboot: 0
DS211> 
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [   ]   sata_mv_ahci          |   `-- sata@80000
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> sata init
DS211> sata part

Partition Map for ahci device 0  --   Partition Type: EFI

Part	Start LBA	End LBA		Name
	Attributes
	Type GUID
	Partition GUID
  1	0x00000800	0x574fff7ff	""
	attrs:	0x0000000000000000
	type:	0fc63daf-8483-4772-8e79-3d69d8477de4
		(linux)
	guid:	ca16fae8-bedc-4f7f-b2ab-f157072d365a
Failed to wait for completion on port 1
ATA operation timed out
Failed to wait for completion on port 1
ATA operation timed out
DS211> sata info
Device 0: Model: WDC WD120EDAZ-11F3RA0 Firm: 81.00A81 Ser#: 5PK9RX2B
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 11444224.0 MB = 11176.0 GB (23437770752 x 512)
Device 1: Model:  Firm:  Ser#: 
            Type: Hard Disk
            Capacity: not available
DS211> ex4l sata 0:1 /
Unknown command 'ex4l' - try 'help'
DS211> ex4l sa<INTERRUPT>
DS211> ex4ls sata 0:1 /
Unknown command 'ex4ls' - try 'help'
DS211> ext4ls sata 0:1 /
            ./
            ../
            lost+found/
            Backgrounds/
            Music/
            backup/
            ebooks/
** Read outside partition 18446744057368543488

0 file(s), 7 dir(s)

DS211> ext4ls sata 0:1 /backup/ivan
            ./
            ../
            Wyze Camera Belgrade/
            pogoplug-openwrt/
            rescuedisk/
            32GB USB backup BW/
            Photos/
   617067   Наша Јелена чува мат.m4a

1 file(s), 7 dir(s)

DS211> ext4load sata 0:1 0x800000 "/backup/ivan/32GB USB backup BW/ivana/irina/sesiri.pdf"
7121081 bytes read in 92 ms (73.8 MiB/s)
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [ + ]   sata_mv_ahci          |   `-- sata@80000
 blk           0  [ + ]   sata_mv_blk           |       |-- sata@80000.blk
 partition     0  [ + ]   blk_partition         |       |   `-- sata@80000.blk:1
 bootdev       1  [   ]   sata_bootdev          |       |-- sata@80000.bootdev
 blk           1  [ + ]   sata_mv_blk           |       `-- sata@80000.blk
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> 
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 15, 2025 05:06PM
Quote

** Read outside partition 18446744057368543488

I must have missed something during rebase. Or I did not completely fix this bug :)

UPDATE:

The rebase was OK. My test HDD was 4TB. Perhaps there are more problem somewhere in the driver that I did not encounter, like with you did with your 12 TB HDD.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 12/16/2025 03:47PM by bodhi.
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 16, 2025 12:15AM
Attached here is the Dec 15 build. This build is to see if we can activate both SATA slots.

uboot.2025.10-tld-1.ds211.bodhi.251215-2.tar
sha256:
6d61b22d3342452763ea6fb48ecb193195de52b30d9f0b70da2448a4395e214f

This tarball contains 5 files. Ony the image uboot.2025.10-tld-1.ds211.kwb is different from previous build.
uboot.2025.10-tld-1.ds211.kwb
uboot.2024.10-tld-1.ds211.environment.img
uboot.2024.10-tld-1.ds211.environment
uboot.2024.10-tld-1.ds211.boot.cmd
uboot.2024.10-tld-1.ds211.boot.scr

With the both HDDs in the upper and lower bay, kwboot and, do the same test as before.

Please post the entire serial console log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - uboot.2025.10-tld-1.ds211.bodhi.251215-2.tar (590 KB)
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 20, 2025 09:03PM
Test done with 2 HDDs.

Console log:
[ivan@prdavac ~]$ sudo /home/ivan/tools/os/linux/DS211/kwboot-tool/kwboot  -t -B 115200 /dev/ttyUSB0 -b /home/ivan/tools/os/linux/DS211/uboot.2025.10-tld-1.ds211.bodhi.251215-2/uboot.2025.10-tld-1.ds211.kwb -p
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2025.10-tld-1 (Dec 15 2025 - 21:33:01 -0800)
Synology DS211

SoC:   Kirkwood 88F6282_A0
MPP:   Variant 88F6281
DRAM:  256 MiB
Core:  25 devices, 17 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet-controller@72000
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
U-Boot 2025.10-tld-1 (Dec 15 2025 - 21:33:01 -0800)
Synology DS211

gcc (Debian 12.2.0-14) 12.2.0
GNU ld (GNU Binutils for Debian) 2.40
Hit any key to stop autoboot: 0
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [   ]   sata_mv_ahci          |   `-- sata@80000
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> sata init
DS211> sata part


Partition Map for ahci device 1  --   Partition Type: EFI

Part	Start LBA	End LBA		Name
	Attributes
	Type GUID
	Partition GUID
  1	0x00000800	0x574fff7ff	""
	attrs:	0x0000000000000000
	type:	0fc63daf-8483-4772-8e79-3d69d8477de4
		(linux)
	guid:	ca16fae8-bedc-4f7f-b2ab-f157072d365a
DS211> sata info
Device 0: Model: ST3500418AS Firm: CC46 Ser#:             9VMRBDX5
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
Device 1: Model: WDC WD120EDAZ-11F3RA0 Firm: 81.00A81 Ser#: 5PK9RX2B
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 11444224.0 MB = 11176.0 GB (23437770752 x 512)
DS211> ext4ls sata 0:1 /
** No partition table - sata 0 **
Couldn't find partition sata 0:1
DS211> ext4ls sata 1:1 /
            ./
            ../
            lost+found/
            Backgrounds/
            Music/
            backup/
            ebooks/
** Read outside partition ** sector 18446744057368543488 partitionsize 23437766656

0 file(s), 7 dir(s)

DS211> ext4ls sata 1:1 /Backgrounds/
            ./
            ../
            gnome/
            xfce/
  2593041   sunset.jpg

1 file(s), 4 dir(s)

DS211> ext4ls sata 1:1 /Backgrounds/gnome/
            ./
            ../
  1411153   Flowerbed.jpg
  3594868   ColdWarm.jpg
   465201   Dark_Ivy.jpg
   815866   Fabric.jpg
  4427495   RainDrops.jpg
  1013511   Icescape.jpg
   591528   Sandstone.jpg
   724783   Road.jpg
  3376649   adwaita-morning.jpg
  2247224   SeaSunset.jpg
  6970860   Wood.jpg
  3960382   adwaita-day.jpg
   447635   adwaita-night.jpg
     1649   adwaita-timed.xml
   963540   endless-shapes.jpg
   912961   symbolics-1.jpg
   602345   symbolics-2.jpg

17 file(s), 2 dir(s)

DS211> ext4load sata 1:1 0x800000 /BackgroCunds/gnome/Wood.jpg
Failed to load '/BackgroCunds/gnome/Wood.jpg'
DS211> ext4load sata 1:1 0x800000 /Backgrounds/gnome/Wood.jpg 
6970860 bytes read in 50 ms (133 MiB/s)
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [ + ]   sata_mv_ahci          |   `-- sata@80000
 blk           0  [ + ]   sata_mv_blk           |       |-- sata@80000.blk
 bootdev       1  [   ]   sata_bootdev          |       |-- sata@80000.bootdev
 blk           1  [ + ]   sata_mv_blk           |       `-- sata@80000.blk
 partition     0  [ + ]   blk_partition         |           `-- sata@80000.blk:1
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> 
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 21, 2025 03:18PM
Ivan,

Quote

DS211> sata info
Device 0: Model: ST3500418AS Firm: CC46 Ser#: 9VMRBDX5
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Device 1: Model: WDC WD120EDAZ-11F3RA0 Firm: 81.00A81 Ser#: 5PK9RX2B
Type: Hard Disk
Supports 48-bit addressing
Capacity: 11444224.0 MB = 11176.0 GB (23437770752 x 512)

That was very good! I don't recall we got this far before. Both HDDs are active. Is the 12TB HDD in the bottom bay? (which we had problem before).

> DS211> ext4ls sata 0:1 /
> ** No partition table - sata 0 **
> Couldn't find partition sata 0:1

What format is this Seagate 465.7 GB HDD? Ext3 or Ext4?

If Ext3, do
ext2ls  sata 0:1 /
And so on.

If Ext4, was it formatted with "finalized" optiion?
mkfs.ext4 -E lazy_itable_init=0

========

I need to investigate "Read outside partition" error. I think because when I've fixed the bug, I only tested with a 4TB HDD. This seems to indicate the similar bug is still in a different part of the driver.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 12/21/2025 03:20PM by bodhi.
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 22, 2025 03:46AM
Bodhi,

Good progress, thanks for your help so far!

The Seagate 465.7GB HDD was btrfs, so uboot was not able to see it. I have formatted it to Ext4 (there are no partitions), and with "finalized" optiion:
mkfs.ext4 -E lazy_itable_init=0 /dev/sdb

On the upper bay now we have 12TB HDD, and on the lower bay it's the Seagate 465.7GB HDD.

I have copied the "Backgrounds" folder to the newly formatted Seagate 465.7GB HDD, so we have something to ls and load, which I did.

Serial console full log:
[ivan@prdavac ~]$ sudo /home/ivan/tools/os/linux/DS211/kwboot-tool/kwboot  -t -B 115200 /dev/ttyUSB0 -b /home/ivan/tools/os/linux/DS211/uboot.2025.10-tld-1.ds211.bodhi.251215-2/uboot.2025.10-tld-1.ds211.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2025.10-tld-1 (Dec 15 2025 - 21:33:01 -0800)
Synology DS211

SoC:   Kirkwood 88F6282_A0
MPP:   Variant 88F6281
DRAM:  256 MiB
Core:  25 devices, 17 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet-controller@72000
Using ethernet-controller@72000 device
ping failed; host 10.0.0.113 is not alive
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
U-Boot 2025.10-tld-1 (Dec 15 2025 - 21:33:01 -0800)
Synology DS211

gcc (Debian 12.2.0-14) 12.2.0
GNU ld (GNU Binutils for Debian) 2.40
Hit any key to stop autoboot: 0
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [   ]   sata_mv_ahci          |   `-- sata@80000
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> sata init
DS211> sata part

Partition Map for ahci device 0  --   Partition Type: EFI

Part	Start LBA	End LBA		Name
	Attributes
	Type GUID
	Partition GUID
  1	0x00000800	0x574fff7ff	""
	attrs:	0x0000000000000000
	type:	0fc63daf-8483-4772-8e79-3d69d8477de4
		(linux)
	guid:	ca16fae8-bedc-4f7f-b2ab-f157072d365a
DS211> sata info
Device 0: Model: WDC WD120EDAZ-11F3RA0 Firm: 81.00A81 Ser#: 5PK9RX2B
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 11444224.0 MB = 11176.0 GB (23437770752 x 512)
Device 1: Model: ST3500418AS Firm: CC46 Ser#:             9VMRBDX5
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
DS211> ext4ls sata 0:1 /
            ./
            ../
            lost+found/
            Backgrounds/
            Music/
            backup/
            ebooks/
** Read outside partition ** sector 18446744057368543488 partitionsize 23437766656

0 file(s), 7 dir(s)

DS211> ext4ls sata 0:1 /Backgrounds/
            ./
            ../
            gnome/
            xfce/
  2593041   sunset.jpg

1 file(s), 4 dir(s)

DS211> ext4ls sata 0:1 /Backgrounds/gnome
            ./
            ../
  1411153   Flowerbed.jpg
  3594868   ColdWarm.jpg
   465201   Dark_Ivy.jpg
   815866   Fabric.jpg
  4427495   RainDrops.jpg
  1013511   Icescape.jpg
   591528   Sandstone.jpg
   724783   Road.jpg
  3376649   adwaita-morning.jpg
  2247224   SeaSunset.jpg
  6970860   Wood.jpg
  3960382   adwaita-day.jpg
   447635   adwaita-night.jpg
     1649   adwaita-timed.xml
   963540   endless-shapes.jpg
   912961   symbolics-1.jpg
   602345   symbolics-2.jpg

17 file(s), 2 dir(s)

DS211> ext4load sata 0:1 0x800000 /Backgrounds/gnome/Wood.jpg
6970860 bytes read in 55 ms (120.9 MiB/s)
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [ + ]   sata_mv_ahci          |   `-- sata@80000
 blk           0  [ + ]   sata_mv_blk           |       |-- sata@80000.blk
 partition     0  [ + ]   blk_partition         |       |   `-- sata@80000.blk:1
 bootdev       1  [   ]   sata_bootdev          |       |-- sata@80000.bootdev
 blk           1  [ + ]   sata_mv_blk           |       `-- sata@80000.blk
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> ext4ls sata 1:1 /                                     
** No partition table - sata 1 **
Couldn't find partition sata 1:1
DS211> ext4ls sata 1:0 /
            ./
            ../
            lost+found/
            Backgrounds/

0 file(s), 4 dir(s)

DS211> ext4ls sata 1:0 /Backgrounds/                         
            ./
            ../
            gnome/
            xfce/
  2593041   sunset.jpg

1 file(s), 4 dir(s)

DS211> ext4ls sata 1:0 /Backgrounds/gnome
            ./
            ../
  3594868   ColdWarm.jpg
   465201   Dark_Ivy.jpg
   815866   Fabric.jpg
  1411153   Flowerbed.jpg
  1013511   Icescape.jpg
  4427495   RainDrops.jpg
   724783   Road.jpg
   591528   Sandstone.jpg
  2247224   SeaSunset.jpg
  6970860   Wood.jpg
  3960382   adwaita-day.jpg
  3376649   adwaita-morning.jpg
   447635   adwaita-night.jpg
     1649   adwaita-timed.xml
   963540   endless-shapes.jpg
   912961   symbolics-1.jpg
   602345   symbolics-2.jpg

17 file(s), 2 dir(s)

DS211> ext4ls sata 1:0 /Backgrounds/gnome/Road.jpg
DS211> ext4load sata 1:0 0x800000 /Backgrounds/gnome/Road.jpg
724783 bytes read in 16 ms (43.2 MiB/s)
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [ + ]   sata_mv_ahci          |   `-- sata@80000
 blk           0  [ + ]   sata_mv_blk           |       |-- sata@80000.blk
 partition     0  [ + ]   blk_partition         |       |   `-- sata@80000.blk:1
 bootdev       1  [   ]   sata_bootdev          |       |-- sata@80000.bootdev
 blk           1  [ + ]   sata_mv_blk           |       `-- sata@80000.blk
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> 
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 22, 2025 08:20PM
Ivan,

> The Seagate 465.7GB HDD was btrfs, so uboot was
> not able to see it.

I see. We do have btrfs support in u-boot. But of course, I did not turn it on for these u-boots.

> I have formatted it to Ext4
> (there are no partitions), and with "finalized"
> optiion:
>
> mkfs.ext4 -E lazy_itable_init=0 /dev/sdb
>

You should have at least 1 partition. HDDs don't work well with no partition. So use fdisk or parted to wipe the disk and and create 1 parttion for the entire disk. And reformat
mkfs.ext4 -E lazy_itable_init=0 /dev/sdb1

It's nice to see both HDDs! now you can boot from either slot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 23, 2025 04:33AM
Hello Bodhi,

That's great, can I have btrfs support please?

I also have an issue with a specific usb stick that I want to use for swap, it doesn't get recognized during uboot, nor kernel boot, but once in Debian I just need to remove it and plug it back in and it get's recognized. I have attached my conversation with the AI to this post that was ultimately unsuccessful, but has a lot of clues. This is optional and I can live without it.

I have partitioned the drive and formatted using "lazy_itable_init=0".

Did the same test as before:

[ivan@prdavac ~]$ sudo /home/ivan/tools/os/linux/DS211/kwboot-tool/kwboot  -t -B 115200 /dev/ttyUSB0 -b /home/ivan/tools/os/linux/DS211/uboo
t.2025.10-tld-1.ds211.bodhi.251215-2/uboot.2025.10-tld-1.ds211.kwb -p
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2025.10-tld-1 (Dec 15 2025 - 21:33:01 -0800)
Synology DS211

SoC:   Kirkwood 88F6282_A0
MPP:   Variant 88F6281
DRAM:  256 MiB
Core:  25 devices, 17 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet-controller@72000
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
U-Boot 2025.10-tld-1 (Dec 15 2025 - 21:33:01 -0800)
Synology DS211

gcc (Debian 12.2.0-14) 12.2.0
GNU ld (GNU Binutils for Debian) 2.40
Hit any key to stop autoboot: 0
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [   ]   sata_mv_ahci          |   `-- sata@80000
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> sata init
DS211> sata part

Partition Map for ahci device 0  --   Partition Type: EFI

Part	Start LBA	End LBA		Name
	Attributes
	Type GUID
	Partition GUID
  1	0x00000800	0x574fff7ff	""
	attrs:	0x0000000000000000
	type:	0fc63daf-8483-4772-8e79-3d69d8477de4
		(linux)
	guid:	ca16fae8-bedc-4f7f-b2ab-f157072d365a


Partition Map for ahci device 1  --   Partition Type: DOS

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	976771120 	3532cc94-01	83
DS211> sata info
Device 0: Model: WDC WD120EDAZ-11F3RA0 Firm: 81.00A81 Ser#: 5PK9RX2B
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 11444224.0 MB = 11176.0 GB (23437770752 x 512)
Device 1: Model: ST3500418AS Firm: CC46 Ser#:             9VMRBDX5
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
DS211> ext4ls sata 0:1 /
            ./
            ../
            lost+found/
            Backgrounds/
            Music/
            backup/
            ebooks/
** Read outside partition ** sector 18446744057368543488 partitionsize 23437766656

0 file(s), 7 dir(s)

DS211> ext4ls sata 0:1 /Backgrounds/
            ./
            ../
            gnome/
            xfce/
  2593041   sunset.jpg

1 file(s), 4 dir(s)

DS211> ext4ls sata 0:1 /Backgrounds/gnome/
            ./
            ../
  1411153   Flowerbed.jpg
  3594868   ColdWarm.jpg
   465201   Dark_Ivy.jpg
   815866   Fabric.jpg
  4427495   RainDrops.jpg
  1013511   Icescape.jpg
   591528   Sandstone.jpg
   724783   Road.jpg
  3376649   adwaita-morning.jpg
  2247224   SeaSunset.jpg
  6970860   Wood.jpg
  3960382   adwaita-day.jpg
   447635   adwaita-night.jpg
     1649   adwaita-timed.xml
   963540   endless-shapes.jpg
   912961   symbolics-1.jpg
   602345   symbolics-2.jpg

17 file(s), 2 dir(s)

DS211> ext4load sata 0:1 0x800000 /Backgrounds/gnome/Wood.jpg
6970860 bytes read in 69 ms (96.3 MiB/s)
DS211> dm tree 
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [ + ]   sata_mv_ahci          |   `-- sata@80000
 blk           0  [ + ]   sata_mv_blk           |       |-- sata@80000.blk
 partition     0  [ + ]   blk_partition         |       |   `-- sata@80000.blk:1
 bootdev       1  [   ]   sata_bootdev          |       |-- sata@80000.bootdev
 blk           1  [ + ]   sata_mv_blk           |       `-- sata@80000.blk
 partition     1  [ + ]   blk_partition         |           `-- sata@80000.blk:1
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> ext4ls sata 1:1 /Backgrounds/gnome/                   
            ./
            ../
  3594868   ColdWarm.jpg
   465201   Dark_Ivy.jpg
   815866   Fabric.jpg
  1411153   Flowerbed.jpg
  1013511   Icescape.jpg
  4427495   RainDrops.jpg
   724783   Road.jpg
   591528   Sandstone.jpg
  2247224   SeaSunset.jpg
  6970860   Wood.jpg
  3960382   adwaita-day.jpg
  3376649   adwaita-morning.jpg
   447635   adwaita-night.jpg
     1649   adwaita-timed.xml
   963540   endless-shapes.jpg
   912961   symbolics-1.jpg
   602345   symbolics-2.jpg

17 file(s), 2 dir(s)

DS211> ext4load sata 1:1 0x800000 /Backgrounds/gnome/Wood.jpg 
6970860 bytes read in 78 ms (85.2 MiB/s)
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [ + ]   sata_mv_ahci          |   `-- sata@80000
 blk           0  [ + ]   sata_mv_blk           |       |-- sata@80000.blk
 partition     0  [ + ]   blk_partition         |       |   `-- sata@80000.blk:1
 bootdev       1  [   ]   sata_bootdev          |       |-- sata@80000.bootdev
 blk           1  [ + ]   sata_mv_blk           |       `-- sata@80000.blk
 partition     1  [ + ]   blk_partition         |           `-- sata@80000.blk:1
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211>
Attachments:
open | download - DS11 USB Issue AI chat.txt (71 KB)
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 23, 2025 03:05PM
Ivan,

> That's great, can I have btrfs support please?

It will take a while. Not sure when.

>
> I also have an issue with a specific usb stick
> that I want to use for swap, it doesn't get
> recognized during uboot, nor kernel boot, but once
> in Debian I just need to remove it and plug it
> back in and it get's recognized. I have attached
> my conversation with the AI to this post that was
> ultimately unsuccessful, but has a lot of clues.

That was not how we solve this problem. AI does not know much except for simple cases.

In the log, it shows you have "EHCI timed out on TD" error. Is this an HDD inside USB enclosure, or attached to an USB-HDD adapter?

It was an old error and I thought this has been fixed in mainline u-boot. But I guess there is always a corner case that has not been seen before. If this is USB HDD, chance is that the controller in the adapter is old.

In any case, I would not use swap on USB (even with USB HDD) if I can have a swap file on SATA HDD. USB is very slow.

> I have partitioned the drive and formatted using
> "lazy_itable_init=0".
>
> Did the same test as before:

The log looks OK when you list the files on SATA 1 (lower bay).

=====

But there is still something not right that related to list of the partitions. It could just be a misleading output. If you could, try this:

- With the same configuration (2 HDDs), kwboot, interrupt countdown, and
dm tree
bootdev hunt ahci
dm tree
And post the serial console log until this point.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 12/24/2025 03:44PM by bodhi.
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 24, 2025 05:49PM
Ivan,

>
> > That's great, can I have btrfs support please?
>

It will indeed take a while. There is a problem in u-boot that should be fixed before we can build with BRTFS for this DS211 and other Kirkwood boxes.

The DS116 and N2350 which is Armada 38x, can be built with BTRFS, no problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 26, 2025 06:26PM
Hello Bodhi,

Did as you asked, and here's the serial console log:

[ivan@prdavac ~]$ sudo /home/ivan/tools/os/linux/DS211/kwboot-tool/kwboot  -t -B 115200 /dev/ttyUSB0 -b /home/ivan/tools/os/linux/DS211/uboot.2025.10-tld-1.ds211.bodhi.251215-2/uboot.2025.10-tld-1.ds211.kwb -p
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2025.10-tld-1 (Dec 15 2025 - 21:33:01 -0800)
Synology DS211

SoC:   Kirkwood 88F6282_A0
MPP:   Variant 88F6281
DRAM:  256 MiB
Core:  25 devices, 17 uclasses, devicetree: separate
Loading Environment from SPIFlash... SF: Detected m25p32 with page size 256 Bytes, erase size 64 KiB, total 4 MiB
OK
Resetting console stdin/stdout/stderr to serial...
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet-controller@72000
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
Using ethernet-controller@72000 device
host 10.0.0.113 is alive
U-Boot 2025.10-tld-1 (Dec 15 2025 - 21:33:01 -0800)
Synology DS211

gcc (Debian 12.2.0-14) 12.2.0
GNU ld (GNU Binutils for Debian) 2.40
Hit any key to stop autoboot: 0
DS211> dm tree
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [   ]   simple_bus            |-- mbus@f1000000
 misc          0  [   ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci          -1  [   ]   pcie_mvebu            |       |-- pcie0.0
 pci          -1  [   ]   pcie_mvebu            |       `-- pcie1.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [   ]   sata_mv_ahci          |   `-- sata@80000
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [   ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> bootdev hunt ahci
Hunting with: ahci
pcie0.0: Link down
pcie1.0: Link down
scanning bus for devices...
Rescanning SATA bus for devices...
DS211> dm tree 
 Class     Seq    Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [ + ]   simple_bus            |-- mbus@f1000000
 misc          0  [ + ]   pcie_mvebu_base       |   `-- pcie@82000000
 pci           0  [ + ]   pcie_mvebu            |       |-- pcie0.0
 pci           1  [ + ]   pci_bridge_drv        |       |   `-- pci_0:0.0
 pci           2  [ + ]   pcie_mvebu            |       `-- pcie1.0
 pci           3  [ + ]   pci_bridge_drv        |           `-- pci_2:0.0
 simple_bus    1  [ + ]   simple_bus            |-- ocp@f1000000
 spi           0  [ + ]   mvebu_spi             |   |-- spi@10600
 spi_flash     0  [ + ]   jedec_spi_nor         |   |   `-- flash@0
 gpio          0  [ + ]   gpio_mvebu            |   |-- gpio@10100
 gpio          1  [ + ]   gpio_mvebu            |   |-- gpio@10140
 i2c           0  [   ]   i2c_mvtwsi            |   |-- i2c@11000
 serial        0  [ + ]   ns16550_serial        |   |-- serial@12000
 serial        1  [   ]   ns16550_serial        |   |-- serial@12100
 timer         0  [ + ]   orion_timer           |   |-- timer@20300
 usb           0  [   ]   ehci_mvebu            |   |-- usb@50000
 ethernet      0  [ + ]   mvgbe                 |   |-- ethernet-controller@72000
 bootdev       0  [   ]   eth_bootdev           |   |   `-- ethernet-controller@72000.boo
 ahci          0  [ + ]   sata_mv_ahci          |   `-- sata@80000
 blk           0  [   ]   sata_mv_blk           |       |-- sata@80000.blk
 bootdev       1  [   ]   sata_bootdev          |       |-- sata@80000.bootdev
 blk           1  [   ]   sata_mv_blk           |       `-- sata@80000.blk
 simple_bus    2  [ + ]   simple_bus            |-- regulators-hdd-30-2
 regulator     0  [ + ]   regulator_fixed       |   |-- regulator@1
 regulator     1  [ + ]   regulator_fixed       |   `-- regulator@2
 bootstd       0  [ + ]   bootstd_drv           `-- bootstd
 bootmeth      0  [   ]   bootmeth_extlinux         |-- extlinux
 bootmeth      1  [   ]   bootmeth_script           |-- script
 bootmeth      2  [   ]   bootmeth_pxe              `-- pxe
DS211> 

Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 26, 2025 07:37PM
Ivan,

Ah OK. Looks good. Thanks!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 27, 2025 03:02AM
Great! I have flashed the last uBoot.
Is there anything else to investigate for DS211?

For the USB it seems that a specific USB stick I was using was not being detected properly during uBoot, others are fine. But as you mentioned it is not the best idea to use the USB stick / drive for swap.
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 27, 2025 01:42PM
Ivan,

> Great! I have flashed the last uBoot.
> Is there anything else to investigate for DS211?

I think we can declare victory here!

> For the USB it seems that a specific USB stick I
> was using was not being detected properly during
> uBoot, others are fine. But as you mentioned it is
> not the best idea to use the USB stick / drive for
> swap.

In the log, it shows you have "EHCI timed out on TD" error. Is this an HDD inside USB enclosure, or attached to an USB-HDD adapter? probably a Seagate enclosure?

If other USB drives are fine then we can ignore this corner case for now. It's a known and old problem that surface from time to time.

The only thing that I need to investigate is "Read outside partition" error with 12TB HD. It's a common driver problem (not specific to this box). If you use this as boot drive and you can boot then don't worry about it.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 27, 2025 03:01PM
WRT USB stick it is just a plain usb stick, flash drive, no HDD.

I didn't use the 12TB as a boot drive, just as storage. I still use the USB for boot and rootfs drive.
Re: 2024.10 U-Boot Kirkwood - Synology DS211
December 27, 2025 04:04PM
> WRT USB stick it is just a plain usb stick, flash
> drive, no HDD.
>
> I didn't use the 12TB as a boot drive, just as
> storage. I still use the USB for boot and rootfs
> drive.

Cool! I think the USB rootfs is quite versatile. Easier to make backup, and easier to administer your box remotely (if you do).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: