How to add custom LED on rock 5t using dts and rsetup?

According to Radxa documentation for Rock 5T i’ve tried to add new LED

GPIO3_C1(PIN11)(3.3V) <----> Resistor (select size according to LED datasheet) <----> LED positive <----> LED Negative <----> GND(PIN9)

Create new device tree overlay file

nano ~/user_led3.dts
/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>

/ {
    fragment@0 {
        target-path = "/";                                      /* Primary dts node to be modified */
        __overlay__ {                                           /* Add or modify the contents of these brackets */
            custom-leds{                                        /* Add custom-leds node */
                compatible = "gpio-leds";
                status = "okay";
                microsd-led {                                   /* Add icrosd-led node */
                    gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;   /* Register GPIO3_C1 as the enable pin of microsd-led, the enable is level-pull-high by default. */
                    linux,default-trigger = "mmc1";             /* Set default trigger to mmc1(SD Card) */
                };
            };
        };
    };
};

Load using rsetup → OverlaysInstall 3rd party overlay
Then

sudo reboot

It will brick the board, OS can’t boot.
It looks like this piece of documentation is for a different board.

How to add the new led using the rsetup on Rock 5T?

Dear,

@RadxaYuntian @jack
Can you help with it?

After many attempts, I managed to get it to work using Merged DTB, but it will stop working after updating the system via rsetup, but I need a stable method using rsetup to make it work:

Details


cat > /tmp/user-led-external.dts << 'EOF'
/dts-v1/;
/plugin/;

/ {
    fragment@0 {
        target-path = "/gpio-leds";

        __overlay__ {
            user-led-external {
                gpios = <&gpio1 9 0x00>;
                linux,default-trigger = "heartbeat";
            };
        };
    };
};
EOF


dtc -@ -I dts -O dtb -o /tmp/user-led-external.dtbo /tmp/user-led-external.dts


fdtoverlay -i /usr/lib/linux-image-6.1.84-8-rk2410/rockchip/rk3588-rock-5t.dtb -o /boot/rk3588-rock-5t-led.dtb /tmp/user-led-external.dtbo



sudo tee -a /boot/extlinux/extlinux.conf << 'EOF'

label l0-led-test
  menu label Debian GNU/Linux 12 (bookworm) 6.1.84-8-rk2410 (LED TEST)
  linux /boot/vmlinuz-6.1.84-8-rk2410
  initrd /boot/initrd.img-6.1.84-8-rk2410
  fdt /boot/rk3588-rock-5t-led.dtb
  append root=UUID=0ca207a1-95a0-446c-8650-d87b3f8d5ba0 console=ttyFIQ0,1500000n8 quiet splash loglevel=4 rw earlycon consoleblank=0 console=tty1 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 kasan=off
EOF



Your new merged dts is different from your original overlay. Have you tried to use the merged definition in the overlay?

Also the boot issue could be file access problem. Attach serial cable and see what the bootloader says.

The first variant i’ve posted is from radxa docks for rock 5t (Link here)
The second variant is mine.
I tried both options with rsetup.
Both options result in the device not working (failure to boot)

boot log (from uart)
DDR ff1a08bde6 typ 25/03/13-15:39:39,fwver: v1.19
ch0 ttot6
ch1 ttot6
ch2 ttot6
ch3 ttot6
ch0 ttot7
LPDDR5, 2400MHz
channel[0] BW=16 Col=10 Bk=16 CS0 Row=16 CS=1 Die BW=16 Size=2048MB
ch1 ttot7
channel[1] BW=16 Col=10 Bk=16 CS0 Row=16 CS=1 Die BW=16 Size=2048MB
ch2 ttot7
channel[2] BW=16 Col=10 Bk=16 CS0 Row=16 CS=1 Die BW=16 Size=2048MB
ch3 ttot7
channel[3] BW=16 Col=10 Bk=16 CS0 Row=16 CS=1 Die BW=16 Size=2048MB
Manufacturer ID:0x6
DQS rds:l0,l0
CH0 RX Vref:28.9%, TX Vref:23.0%,0.0%
DQ rds:h4 l1 h1 h7 h2 h1 h3 h3, h6 h3 h1 h1 h2 h3 h1 l1

DQS rds:l0,h2
CH1 RX Vref:28.4%, TX Vref:21.0%,0.0%
DQ rds:h4 h7 l0 h5 l2 l0 h3 l1, l0 l0 l1 h1 l0 h2 h3 h2

DQS rds:h1,h1
CH2 RX Vref:27.5%, TX Vref:24.0%,0.0%
DQ rds:h2 h2 l0 h1 h1 h1 h3 h1, h3 h3 h7 l1 h2 h2 h4 h1

DQS rds:l0,h1
CH3 RX Vref:27.5%, TX Vref:24.0%,0.0%
DQ rds:h1 h7 h1 l0 h2 h4 h3 h1, h1 l0 h7 h1 h4 l5 h1 h4

stride=0x2, ddr_config=0x2
hash ch_mask0-1 0x20 0x40, bank_mask0-3 0x0 0x2400 0x44800 0x89000, rank_mask0 0x0
change to F1: 534MHz
ch0 ttot6
ch1 ttot6
ch2 ttot6
ch3 ttot6
change to F2: 1320MHz
ch0 ttot8
ch1 ttot8
ch2 ttot8
ch3 ttot8
change to F3: 1968MHz
ch0 ttot6
ch1 ttot6
ch2 ttot6
ch3 ttot6
change to F0: 2400MHz
ch0 ttot7
ch1 ttot7
ch2 ttot7
ch3 ttot7
out
U-Boot SPL board init
U-Boot SPL rk2410-2017.09-55-93fe545-gd4faf0f #runner (Oct 22 2025 - 10:32:01)
sfc cmd=03H(6BH-x4)
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 0
spl: mmc init failed witTrying to boot from MTD2
part_get_info_efi: *** ERROR: Invalid rt_get_info_efi: *** ERROR: Inva*
part_get_info_efi: *** ERROR:d GPT ***
part_get_info_efi: **Invalid Backup GPT ***
part_getR: Invalid GPT ***
part_get_inf Invalid Backup GPT ***
Trying  sector
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(30c92b6405...) + OK
## Checking uboot 0x00200000 ... sha256(43bb5b4ca6...) + OK
## Checking fdt 0x003268d8 ... sha256(4bd41718f7...) + OK
## Checking atf-2 0xff100000 ... sha256(3b4a897c19...) + OK
## Checking atf-3 0x000f0000 ... sha256(b2af21b504...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 497.252/820.578 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-905-gb23ff75bb:finley.xiao, fwver: v1.50
NOTICE:  BL31: Built : 10:41:09, Mar 14 2025
INFO:    spec: 0x1
INFO:    code: 0x88
INFO:    customer demand: 0x0
INFO:    ext 32k is not valid
INFO:    ddr: stride-en 4CH
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
INFO:    l3 cache partition cfg-0
INFO:    system boots from cpu-hwid-0
INFO:    bypass memory repair
INFO:    idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
INFO:    dfs DDR fsp_params[0].freq_mhz= 2400MHz
INFO:    dfs DDR fsp_params[1].freq_mhz= 534MHz
INFO:    dfs DDR fsp_params[2].freq_mhz= 1320MHz
INFO:    dfs DDR fsp_params[3].freq_mhz= 1968MHz
INFO:    BL31: Initialising Exception Handling Framework
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9
usb dr_mode not found


U-Boot rk2410-2017.09-55-93fe545-gd4faf0f #runner (Oct 22 2025 - 10:31:59 +0000)

Model: Radxa ROCK 5T
MPIDR: 0x0
PreSerial: 2, raw, 0xfeb50000
DRAM:  8 GiB
Sysmem: init
Relocation Offset: eda38000
Relocation fdt: eb9f85a0 - eb9fecc8
CR: M/C/I
usb dr_mode not found
Using default environment

DM: v2
RESC: No bootdev
Failed to load DTB, ret=-2
No valid DTB, ret=-22
Failed to get kernel dtb, ret=-22
Checking variant: rockchip,rk3588, hw_id 0x403 not in range [0x12c, 0x17c], bom_id 0x11 not in range [0x0, 0xffffffff]
Found matching variant rockchip,rk3588 for hw_id 0x403 and bom_id 0x11 setting fdtfile to rockchip/rk3588-rock-5t.dtb
Model: Radxa ROCK 5T
[Vendor ERROR]:Invalid boot device type(0)
## Error: Can't overwrite "ethaddr"
## Error inserting "ethaddr" variable, errno=1
## Error: Can't overwrite "eth1addr"
## Error inserting "eth1addr" variable, errno=1
[Vendor ERROR]:Invalid boot device type(0)
rockchip_set_ethaddr: vendor_storage_write failed -19
[Vendor ERROR]:Invalid boot device type(0)
mmc@fe2c0000: 1, mmc@fe2e0000: 0
Bootdev(assign): mmc 0
starting USB...
Bus usb@fc800000: USB EHCI 1.00
Bus usb@fc840000: USB OHCI 1.0
Bus usb@fc880000: USB EHCI 1.00
Bus usb@fc8c0000: USB OHCI 1.0
Bus usb@fcd00000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fc800000 f... 2 USB Device(s) found
scanning bus usb@fc840000 for devices... 1 USB Device(s) found
scanning bus usb@fc880000 for devices... 1 USB Device(s) found
scanning bus usb@fc8c0000 for devices... 1 USB Device(s) found
scanning bus usb@fcd00000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
No sb mass storage found
No bootdeesc is NULL!
boot mode: None
No bootdev
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
  b0pll 24000 KHz
  b1pll 24000 KHz
  lpll 24000 KHz
  v0pll 24000 KHz
  aupll 24000 KHz
  cpll 1500000 KHz
  gpll 1188000 KHz
  npll 24000 KHz
  ppll 1100000 KHzot 702000 KHz
  pclk_center_roo 100000 KHz
  hclk_center_root 396000 KHz
  aclk_center_low_ro0000 KHz
  aclk_top_root 750000 KHz
  pclk_top_root 100000 KHz
MMC0: HS200, 200Mhz         aclk_low_top_root 396000 KHz
PartType: E
           No bootdev
Net:   No ethernet found.
Hit Ctrl+C key in 0 seconds to stop autoboot...

Device 0: unknown device
MMC: no card present
mmc_init: -123, time 0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x1
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x1
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x1
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe-0 Link Fail
the always on regulator (vcc3v3-pcie30) should never be disabled!
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x1
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x1
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x1
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe-0 Link Fail
the always on regulator (vcc3v3-pcie30) should never be disabled!

Device 0: unknown device
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x1
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x1
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x1
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe Linking... LTSSM is 0x0
pcie@fe150000: PCIe-0 Link Fail
the always on regulator (vcc3v3-pcie30) should never be disabled!
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x1
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x1
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x1
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe Linking... LTSSM is 0x0
pcie@fe160000: PCIe-0 Link Fail
the always on regulator (vcc3v3-pcie30) should never be disabled!

Device 1: unknown device
switch to partitions #0, OK
mmc0(part 0) is current device
Could not find misc partition
ANDROID: reboot reason: "(none)"
Not AVB images, AVB skip
android_image_load_by_partname: Can't find part: boot
1;-1f[   14.907192] rk-pcie fe150000.pcie: PCIe Link Fail, LTSSM is 0x0, hw_retries=0
[   14.907367][   14.908786] rk-pcie fe160000.pcie: PCIe Link Fail, LTSSM is 0x1, hw_retries=0
[   14.908935]led to initialize host
[   15.009490] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_cancel_cpu_limit_freq freq qos nod add
[   15.554994] rkvdec2_reset:1390: cru reset
[   15.555168] rkvdec2_reset:1390: cru reset
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdlinetem wait long enough?)
 - Missodules; ls /dev)
ALERT!  UUID=oes not exist.  Dropping to a sh





File /boot/dtbo/user-led-external.dtbo has the same owner and permission right/attributes as the other files in /boot/dtbo/ directory.

extlinux generated by rsetup after adding /boot/dtbo/user-led-external.dtbo
**/boot/extlinux/extlinux.conf**

****

**IMPORTANT WARNING**

****

**The configuration of this file is generated automatically.**

**Do not edit this file manually, use: u-boot-update**

default l0
menu title U-Boot menu
prompt 1
timeout 10

label l0
menu label Debian GNU/Linux 12 (bookworm) 6.1.84-8-rk2410
linux /boot/vmlinuz-6.1.84-8-rk2410
initrd /boot/initrd.img-6.1.84-8-rk2410
fdtdir /usr/lib/linux-image-6.1.84-8-rk2410/
fdtoverlays  /boot/dtbo/user-led-external.dtbo
append root=UUID=9f01f452-84a8-426a-b759-a6126ff9677e console=ttyFIQ0,1500000n8 quiet splash loglevel=4 rw earlycon consoleblank=0 console=tty1 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 kasan=off

label l0r
menu label Debian GNU/Linux 12 (bookworm) 6.1.84-8-rk2410 (rescue target)
linux /boot/vmlinuz-6.1.84-8-rk2410
initrd /boot/initrd.img-6.1.84-8-rk2410
fdtdir /usr/lib/linux-image-6.1.84-8-rk2410/
append root=UUID=9f01f452-84a8-426a-b759-a6126ff9677e console=ttyFIQ0,1500000n8 splash loglevel=4 rw earlycon consoleblank=0 console=tty1 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 kasan=off single

There should be some additional logs after android_image_load_by_partname: Can't find part: boot. Can you try recording the serial output with asciinema?

It wasn’t the DTS issue — it was that I was using a modified OS image, and in it the partition IDs were different from what rsetup expects. Everything is working fine now.

Thanks for your help!