Index | Thread | Search

From:
Kevin Lo <kevlo@kevlo.org>
Subject:
Re: [UPDATE] sysutils/u-boot/rk356x to 2025-07
To:
Mark Kettenis <kettenis@openbsd.org>, Patrick Wildt <patrick@openbsd.org>
Cc:
ports@openbsd.org
Date:
Wed, 30 Jul 2025 13:28:06 +0800

Download raw body.

Thread
Ping.

Below are the U-Boot and boot messages on Rock 3A.

DDR 03ea844c5d typ 24/09/03-10:42:57,fwver: v1.23
In
wdqs_if: 0x1010100
LP4/4x derate en, other dram:1x trefi
ddrconfig:7
MID:0x6
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=8192MB
tdqss_lf: cs0 dqs0: 48ps, dqs1: -96ps, dqs2: -72ps, dqs3: -144ps,
tdqss_lf: cs1 dqs0: 48ps, dqs1: -72ps, dqs2: -72ps, dqs3: -144ps,
tdqss_hf: cs0 dqs0: 48ps, dqs1: -96ps, dqs2: -72ps, dqs3: -144ps,
tdqss_hf: cs1 dqs0: 48ps, dqs1: -72ps, dqs2: -72ps, dqs3: -144ps,

change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:240
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x61

change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:240
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 780MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
rx vref: 16.6%
tx vref: 36.0%

change to: 1560MHz(final freq)
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:22%
dram drv:40,odt:80
vref_ca:00000071
clk skew:0x21
rx vref: 17.6%
tx vref: 23.8%
cs 0:
rdtrn RS:
DQS0:0x32, DQS1:0x32, DQS2:0x35, DQS3:0x29,
min  : 0xc 0x11 0x12 0x11  0x2  0x3  0x9  0x7 , 0x9  0x9  0x1  0x4  0xf  0xc  0xd  0xc ,
       0xf 0x11  0xc  0xe  0x3  0x3  0x2  0x9 , 0x8  0x5  0x6  0x1  0xc  0xc  0x9  0xb ,
mid  :0x27 0x29 0x2c 0x2a 0x1b 0x1e 0x24 0x22 ,0x24 0x23 0x1c 0x1d 0x28 0x26 0x26 0x25 ,
      0x2a 0x2b 0x25 0x26 0x1e 0x1d 0x1c 0x22 ,0x21 0x1e 0x1d 0x19 0x24 0x25 0x23 0x24 ,
max  :0x42 0x41 0x46 0x43 0x35 0x3a 0x3f 0x3d ,0x3f 0x3d 0x37 0x37 0x42 0x40 0x40 0x3f ,
      0x45 0x45 0x3e 0x3f 0x3a 0x37 0x37 0x3b ,0x3a 0x38 0x35 0x32 0x3d 0x3e 0x3d 0x3e ,
range:0x36 0x30 0x34 0x32 0x33 0x37 0x36 0x36 ,0x36 0x34 0x36 0x33 0x33 0x34 0x33 0x33 ,
      0x36 0x34 0x32 0x31 0x37 0x34 0x35 0x32 ,0x32 0x33 0x2f 0x31 0x31 0x32 0x34 0x33 ,
wrtrn RS:
DQS0:0x2a, DQS1:0xe, DQS2:0x13, DQS3:0x5,
min  :0x75 0x75 0x78 0x76 0x67 0x6b 0x6f 0x6f 0x6d ,0x5a 0x55 0x4f 0x4f 0x5b 0x5a 0x5b 0x5a 0x55 ,
      0x5c 0x5b 0x57 0x55 0x4f 0x4d 0x4f 0x53 0x54 ,0x50 0x4c 0x4b 0x46 0x52 0x55 0x4f 0x55 0x4c ,
mid  :0x90 0x90 0x93 0x90 0x80 0x84 0x89 0x88 0x86 ,0x73 0x70 0x69 0x68 0x75 0x72 0x73 0x72 0x6d ,
      0x79 0x78 0x72 0x70 0x69 0x67 0x69 0x6d 0x6e ,0x6a 0x67 0x64 0x60 0x6c 0x6d 0x69 0x6e 0x64 ,
max  :0xab 0xac 0xaf 0xab 0x9a 0x9e 0xa4 0xa2 0xa0 ,0x8d 0x8b 0x83 0x82 0x90 0x8b 0x8c 0x8b 0x86 ,
      0x96 0x95 0x8d 0x8b 0x84 0x81 0x84 0x88 0x89 ,0x85 0x82 0x7d 0x7a 0x87 0x86 0x83 0x88 0x7d ,
range:0x36 0x37 0x37 0x35 0x33 0x33 0x35 0x33 0x33 ,0x33 0x36 0x34 0x33 0x35 0x31 0x31 0x31 0x31 ,
      0x3a 0x3a 0x36 0x36 0x35 0x34 0x35 0x35 0x35 ,0x35 0x36 0x32 0x34 0x35 0x31 0x34 0x33 0x31 ,
cs 1:
rdtrn RS:
DQS0:0x32, DQS1:0x32, DQS2:0x35, DQS3:0x29,
min  : 0xc 0x11 0x12 0x11  0x2  0x3  0x9  0x7 , 0x9  0x9  0x1  0x4  0xf  0xc  0xd  0xc ,
       0xf 0x11  0xc  0xe  0x3  0x3  0x2  0x9 , 0x8  0x5  0x6  0x1  0xc  0xc  0x9  0xb ,
mid  :0x27 0x29 0x2c 0x2a 0x1b 0x1e 0x24 0x22 ,0x24 0x23 0x1c 0x1d 0x28 0x26 0x26 0x25 ,
      0x2a 0x2b 0x25 0x26 0x1e 0x1d 0x1c 0x22 ,0x21 0x1e 0x1d 0x19 0x24 0x25 0x23 0x24 ,
max  :0x42 0x41 0x46 0x43 0x35 0x3a 0x3f 0x3d ,0x3f 0x3d 0x37 0x37 0x42 0x40 0x40 0x3f ,
      0x45 0x45 0x3e 0x3f 0x3a 0x37 0x37 0x3b ,0x3a 0x38 0x35 0x32 0x3d 0x3e 0x3d 0x3e ,
range:0x36 0x30 0x34 0x32 0x33 0x37 0x36 0x36 ,0x36 0x34 0x36 0x33 0x33 0x34 0x33 0x33 ,
      0x36 0x34 0x32 0x31 0x37 0x34 0x35 0x32 ,0x32 0x33 0x2f 0x31 0x31 0x32 0x34 0x33 ,
wrtrn RS:
DQS0:0x2a, DQS1:0xe, DQS2:0x13, DQS3:0x5,
min  :0x75 0x75 0x78 0x76 0x67 0x6b 0x6f 0x6f 0x6d ,0x5a 0x55 0x4f 0x4f 0x5b 0x5a 0x5b 0x5a 0x55 ,
      0x5c 0x5b 0x57 0x55 0x4f 0x4d 0x4f 0x53 0x54 ,0x50 0x4c 0x4b 0x46 0x52 0x55 0x4f 0x55 0x4c ,
mid  :0x90 0x90 0x93 0x90 0x80 0x84 0x89 0x88 0x86 ,0x73 0x70 0x69 0x68 0x75 0x72 0x73 0x72 0x6d ,
      0x79 0x78 0x72 0x70 0x69 0x67 0x69 0x6d 0x6e ,0x6a 0x67 0x64 0x60 0x6c 0x6d 0x69 0x6e 0x64 ,
max  :0xab 0xac 0xaf 0xab 0x9a 0x9e 0xa4 0xa2 0xa0 ,0x8d 0x8b 0x83 0x82 0x90 0x8b 0x8c 0x8b 0x86 ,
      0x96 0x95 0x8d 0x8b 0x84 0x81 0x84 0x88 0x89 ,0x85 0x82 0x7d 0x7a 0x87 0x86 0x83 0x88 0x7d ,
range:0x36 0x37 0x37 0x35 0x33 0x33 0x35 0x33 0x33 ,0x33 0x36 0x34 0x33 0x35 0x31 0x31 0x31 0x31 ,
      0x3a 0x3a 0x36 0x36 0x35 0x34 0x35 0x35 0x35 ,0x35 0x36 0x32 0x34 0x35 0x31 0x34 0x33 0x31 ,
CBT RS:
cs:0 min  :0x55 0x50 0x4a 0x42 0x4a 0x3f 0x50 ,0x52 0x49 0x46 0x40 0x4a 0x41 0x50 ,
cs:0 mid  :0x90 0x91 0x86 0x84 0x85 0x7f 0x7f ,0x8d 0x89 0x82 0x7f 0x83 0x80 0x7f ,
cs:0 max  :0xcc 0xd3 0xc2 0xc6 0xc1 0xc0 0xae ,0xc9 0xca 0xbe 0xbf 0xbd 0xbf 0xaf ,
cs:0 range:0x77 0x83 0x78 0x84 0x77 0x81 0x5e ,0x77 0x81 0x78 0x7f 0x73 0x7e 0x5f ,
cs:1 min  :0x51 0x59 0x4a 0x4e 0x4a 0x49 0x54 ,0x50 0x52 0x47 0x48 0x44 0x48 0x4e ,
cs:1 mid  :0x92 0x94 0x89 0x88 0x89 0x84 0x85 ,0x90 0x8c 0x86 0x83 0x85 0x82 0x80 ,
cs:1 max  :0xd3 0xcf 0xc9 0xc2 0xc9 0xbf 0xb6 ,0xd1 0xc6 0xc6 0xbf 0xc6 0xbd 0xb3 ,
cs:1 range:0x82 0x76 0x7f 0x74 0x7f 0x76 0x62 ,0x81 0x74 0x7f 0x77 0x82 0x75 0x65 ,
out

U-Boot SPL 2025.07 (Jul 30 2025 - 11:23:41 +0800)
Trying to boot from MMC2
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image atf-1 ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
## Checking hash(es) for Image atf-2 ... sha256+ OK
## Checking hash(es) for Image atf-3 ... sha256+ OK
## Checking hash(es) for Image atf-4 ... sha256+ OK
## Checking hash(es) for Image atf-5 ... sha256+ OK
## Checking hash(es) for Image atf-6 ... sha256+ OK
INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-645-g8cea6ab0b:cl, fwver: v1.44
NOTICE:  BL31: Built : 16:36:43, Sep 19 2023
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    pmu v1 is valid 220114
INFO:    l3 cache partition cfg-0
INFO:    dfs DDR fsp_param[0].freq_mhz= 1560MHz
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
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 = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2025.07 (Jul 30 2025 - 11:23:41 +0800)

Model: Radxa ROCK 3A
SoC:   RK3568
DRAM:  8 GiB (total 7.7 GiB)
PMIC:  RK809 (on=0x40, off=0x00)
Core:  348 devices, 32 uclasses, devicetree: separate
MMC:   mmc@fe000000: 2, mmc@fe2b0000: 1, mmc@fe310000: 0
Loading Environment from nowhere... OK
In:    serial@fe660000
Out:   serial@fe660000
Err:   serial@fe660000
Model: Radxa ROCK 3A
SoC:   RK3568
Net:   eth0: ethernet@fe010000
Hit any key to stop autoboot:  0
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ----------------
Scanning global bootmeth 'efi_mgr':
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
Cannot persist EFI variables without system partition
  0  efi_mgr      ready   (none)       0  <NULL>
** Booting bootflow '<NULL>' with efi_mgr
Loading Boot0000 'mmc 1' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
Scanning bootdev 'mmc@fe2b0000.bootdev':
Scanning bootdev 'mmc@fe310000.bootdev':
Card did not respond to voltage select! : -110
Scanning bootdev 'nvme#0.blk#1.bootdev':
  1  efi          ready   nvme         1  nvme#0.blk#1.bootdev.part /EFI/BOOT/BOOTAA64.EFI
** Booting bootflow 'nvme#0.blk#1.bootdev.part_1' with efi
Booting /\EFI\BOOT\BOOTAA64.EFI
disks: sd0* sd1
>> OpenBSD/arm64 BOOTAA64 1.21
boot>
booting sd0a:/bsd: 12253472+2878024+320088+859832 [1023128+91+1357848+856488]=0x1436ac8
[ using 3238328 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2025 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 7.7-current (GENERIC.MP) #40: Thu Jul 24 18:29:04 MDT 2025
    deraadt@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 8317714432 (7932MB)
avail mem = 7975956480 (7606MB)
random: good seed from bootblocks
mainbus0 at root: Radxa ROCK 3A
psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND
efi0 at mainbus0: UEFI 2.11
efi0: Das U-Boot rev 0x20250700
smbios0 at efi0: SMBIOS 3.7.0
smbios0: vendor U-Boot version "2025.07" date 07/01/2025
smbios0: radxa Radxa ROCK 3A
cpu0 at mainbus0 mpidr 0: ARM Cortex-A55 r2p0
cpu0: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
cpu0: DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,RAS,AdvSIMD+HP,FP+HP,SSBS
cpu1 at mainbus0 mpidr 100: ARM Cortex-A55 r2p0
cpu1: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 200: ARM Cortex-A55 r2p0
cpu2: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 300: ARM Cortex-A55 r2p0
cpu3: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
scmi0 at mainbus0: SCMI 2.0
apm0 at mainbus0
agintc0 at mainbus0 mbi shift 4:4 nirq 352 nredist 4 ipi 0: "interrupt-controller"
syscon0 at mainbus0: "syscon"
rkiovd0 at syscon0
syscon1 at mainbus0: "syscon"
syscon2 at mainbus0: "syscon"
syscon3 at mainbus0: "syscon"
syscon4 at mainbus0: "syscon"
syscon5 at mainbus0: "syscon"
syscon6 at mainbus0: "syscon"
rkclock0 at mainbus0: PMUCRU
rkclock1 at mainbus0: CRU
syscon7 at mainbus0: "power-management"
"power-controller" at syscon7 not configured
syscon8 at mainbus0: "qos"
syscon9 at mainbus0: "qos"
syscon10 at mainbus0: "qos"
syscon11 at mainbus0: "qos"
syscon12 at mainbus0: "qos"
syscon13 at mainbus0: "qos"
syscon14 at mainbus0: "qos"
syscon15 at mainbus0: "qos"
syscon16 at mainbus0: "qos"
syscon17 at mainbus0: "qos"
syscon18 at mainbus0: "qos"
syscon19 at mainbus0: "qos"
syscon20 at mainbus0: "qos"
syscon21 at mainbus0: "qos"
syscon22 at mainbus0: "qos"
syscon23 at mainbus0: "qos"
syscon24 at mainbus0: "qos"
syscon25 at mainbus0: "qos"
syscon26 at mainbus0: "qos"
syscon27 at mainbus0: "qos"
syscon28 at mainbus0: "qos"
syscon29 at mainbus0: "qos"
syscon30 at mainbus0: "qos"
syscon31 at mainbus0: "qos"
rkcomphy0 at mainbus0
rkcomphy1 at mainbus0
rkusbphy0 at mainbus0: phy 0
rkusbphy1 at mainbus0: phy 1
rkpinctrl0 at mainbus0: "pinctrl"
rkgpio0 at rkpinctrl0
rkgpio1 at rkpinctrl0
rkgpio2 at rkpinctrl0
rkgpio3 at rkpinctrl0
rkgpio4 at rkpinctrl0
syscon32 at mainbus0: "syscon"
syscon33 at mainbus0: "qos"
syscon34 at mainbus0: "qos"
syscon35 at mainbus0: "qos"
syscon36 at mainbus0: "syscon"
rkpciephy0 at mainbus0
rkcomphy2 at mainbus0
"fit-images" at mainbus0 not configured
"l3-cache" at mainbus0 not configured
rkdrm0 at mainbus0
drm0 at rkdrm0
"firmware" at mainbus0 not configured
simpleaudio0 at mainbus0
"pmu" at mainbus0 not configured
agtimer0 at mainbus0: 24000 kHz
"xin24m" at mainbus0 not configured
"xin32k" at mainbus0 not configured
"sram" at mainbus0 not configured
xhci0 at mainbus0, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
xhci1 at mainbus0, xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1
ehci0 at mainbus0
usb2 at ehci0: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1
ehci1 at mainbus0
usb3 at ehci1: USB revision 2.0
uhub3 at usb3 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1
ohci0 at mainbus0: version 1.0
rkiic0 at mainbus0
iic0 at rkiic0
fanpwr0 at iic0 addr 0x1c: TCS4525, 1.02 VDC
rkpmic0 at iic0 addr 0x20: RK809
"gpu" at mainbus0 not configured
"video-codec" at mainbus0 not configured
"iommu" at mainbus0 not configured
"rga" at mainbus0 not configured
"video-codec" at mainbus0 not configured
"iommu" at mainbus0 not configured
dwmmc0 at mainbus0: 50 MHz base clock
sdmmc0 at dwmmc0: 4-bit, sd high-speed, dma
dwqe0 at mainbus0 gmac 1: rev 0x51, address aa:19:b4:xx:xx:xx
rgephy0 at dwqe0 phy 0: RTL8169S/8110S/8211, rev. 6
"vop" at mainbus0 not configured
"iommu" at mainbus0 not configured
"hdmi" at mainbus0 not configured
"dfi" at mainbus0 not configured
dwpcie0 at mainbus0
dwmmc1 at mainbus0: 50 MHz base clock
sdmmc1 at dwmmc1: 4-bit, sd high-speed, dma
"spi" at mainbus0 not configured
dwmshc0 at mainbus0
dwmshc0: SDHC 4.20, 200 MHz base clock
sdmmc2 at dwmshc0: 8-bit, sd high-speed, mmc high-speed, dma
"rng" at mainbus0 not configured
"i2s" at mainbus0 not configured
"i2s" at mainbus0 not configured
"i2s" at mainbus0 not configured
"dma-controller" at mainbus0 not configured
"dma-controller" at mainbus0 not configured
rkiic1 at mainbus0
iic1 at rkiic1
pcxrtc0 at iic1 addr 0x51: battery ok
"watchdog" at mainbus0 not configured
com0 at mainbus0: dw16550, 64 byte fifo
com1 at mainbus0: dw16550, 64 byte fifo
com1: console
rktemp0 at mainbus0
"saradc" at mainbus0 not configured
"opp-table-0" at mainbus0 not configured
"opp-table-1" at mainbus0 not configured
dwpcie1 at mainbus0
"hdmi-con" at mainbus0 not configured
"external-gmac1-clock" at mainbus0 not configured
gpioleds0 at mainbus0: "heartbeat"
simpleaudio1 at mainbus0
"sdio-pwrseq" at mainbus0 not configured
"regulator-vcc12v-dcin" at mainbus0 not configured
"regulator-pcie30-avdd0v9" at mainbus0 not configured
"regulator-pcie30-avdd1v8" at mainbus0 not configured
"regulator-vcc3v3-pi6c-03" at mainbus0 not configured
"regulator-vcc3v3-pcie" at mainbus0 not configured
"regulator-vcc3v3-sys" at mainbus0 not configured
"regulator-vcc5v0-sys" at mainbus0 not configured
"regulator-vcc5v0-usb" at mainbus0 not configured
"regulator-vcc5v0-usb-host" at mainbus0 not configured
"regulator-vcc5v0-usb-hub" at mainbus0 not configured
"regulator-vcc5v0-usb-otg" at mainbus0 not configured
"regulator-vcc-cam" at mainbus0 not configured
"regulator-vcc-mipi" at mainbus0 not configured
"binman" at mainbus0 not configured
"dmc" at mainbus0 not configured
"nvmem" at mainbus0 not configured
usb4 at ohci0: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1
pci0 at dwpcie0
ppb0 at pci0 dev 0 function 0 "Rockchip RK3566" rev 0x00
pci1 at ppb0 bus 1
iwx0 at pci1 dev 0 function 0 "Intel Wi-Fi 6 AX200" rev 0x1a, msix
pci2 at dwpcie1
ppb1 at pci2 dev 0 function 0 "Rockchip RK3566" rev 0x00
pci3 at ppb1 bus 1
nvme0 at pci3 dev 0 function 0 "Phison PS5021" rev 0x01: msix, NVMe 1.4
nvme0: TEAM TM8FPK500G, firmware ELFMB0.6, serial TPBF2210110040500017
scsibus0 at nvme0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <NVMe, TEAM TM8FPK500G, ELFM>
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
sdmmc0: can't enable card
scsibus1 at sdmmc1: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <Sandisk, SF128, 0080> removable
sd1: 121942MB, 512 bytes/sector, 249737216 sectors
sdmmc2: can't enable card
uhub5 at uhub2 port 1 configuration 1 interface 0 "Terminus Technology USB 2.0 Hub" rev 2.00/1.11 addr 2
ugen0 at uhub5 port 2 "Intel Bluetooth" rev 2.01/0.01 addr 3
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (549768a23f7ee315.a) swap on sd0b dump on sd0b
rkdrm0: no display interface ports configured
iwx0: hw rev 0x340, fw 77.a20fb07d.0, address 50:e0:85:xx:xx:xx
Automatic boot in progress: starting file system checks.
/dev/sd0a (549768a23f7ee315.a): file system is clean; not checking
/dev/sd0l (549768a23f7ee315.l): file system is clean; not checking
/dev/sd0d (549768a23f7ee315.d): file system is clean; not checking
/dev/sd0f (549768a23f7ee315.f): file system is clean; not checking
/dev/sd0g (549768a23f7ee315.g): file system is clean; not checking
/dev/sd0h (549768a23f7ee315.h): file system is clean; not checking
/dev/sd0k (549768a23f7ee315.k): file system is clean; not checking
/dev/sd0j (549768a23f7ee315.j): file system is clean; not checking
/dev/sd0e (549768a23f7ee315.e): file system is clean; not checking
pf enabled
starting network
reordering: ld.so libc libcrypto sshd sshd-session sshd-auth ssh-agent.
openssl: generating isakmpd RSA keys... done.
openssl: generating iked ECDSA keys... done.
ssh-keygen: generating new host keys: RSA ECDSA ED25519
sshd: (ED25519) SHA256:gcZz+CXTmr2tHNCKYCvsBdIfu3n3tvPf8YZMmUXN/48
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
running rc.firsttime
fw_update: add none; update none; keep iwx
starting local daemons: cron.
Wed Jul 30 12:15:58 CST 2025

OpenBSD/arm64 (rock3a) (console)

login:

On Tue, Jul 22, 2025 at 01:11:34PM +0800, Kevin Lo wrote:
> 
> Hi,
> 
> This updates rk356x to 2025-07.  I don't particularly like updating U-Boot,
> but since the TPL (version 1.18) and BL31 (version 1.43) files are currently
> missing, and a new U-Boot version happened to be released this month,
> I decided to update it.
> 
> I could have root installed on the nvme on the ROCK 3A and boot the 
> Quartz64 model B from an uSD card.
> 
> ok?
> 
> Index: sysutils/u-boot/rk356x/Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/u-boot/rk356x/Makefile,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 Makefile
> --- sysutils/u-boot/rk356x/Makefile	21 Dec 2024 11:38:54 -0000	1.6
> +++ sysutils/u-boot/rk356x/Makefile	21 Jul 2025 06:02:12 -0000
> @@ -1,5 +1,4 @@
> -VERSION=	2024.01
> -REVISION=	0
> +VERSION=	2025.07
>  
>  SOC=		rk356x
>  
> @@ -23,13 +22,14 @@ BOARDS=\
>  
>  BUILD_DEPENDS+= devel/arm-none-eabi/gcc,aarch64 \
>  		devel/py-elftools \
> +		security/gnutls \
>  		shells/bash \
>  		sysutils/e2fsprogs
>  CROSS_COMPILE=	aarch64-none-elf-
>  
> -RK3566_TPL=	rk3566_ddr_1056MHz_v1.18.bin
> -RK3568_TPL=	rk3568_ddr_1560MHz_v1.18.bin
> -RK356X_BL31=	rk3568_bl31_v1.43.elf
> +RK3566_TPL=	rk3566_ddr_1056MHz_v1.23.bin
> +RK3568_TPL=	rk3568_ddr_1560MHz_v1.23.bin
> +RK356X_BL31=	rk3568_bl31_v1.44.elf
>  
>  DISTFILES.rkbin= ${RK3566_TPL} ${RK3568_TPL} ${RK356X_BL31}
>  SITES.rkbin=	https://github.com/rockchip-linux/rkbin/raw/master/bin/rk35/
> Index: sysutils/u-boot/rk356x/distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/u-boot/rk356x/distinfo,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 distinfo
> --- sysutils/u-boot/rk356x/distinfo	17 Feb 2024 11:27:42 -0000	1.2
> +++ sysutils/u-boot/rk356x/distinfo	21 Jul 2025 06:02:12 -0000
> @@ -1,8 +1,8 @@
> -SHA256 (rk3566_ddr_1056MHz_v1.18.bin) = 3ABjVq4NHR9mhYo3Yub1pSlMruHKFz7lsMRTG9QgjU8=
> -SHA256 (rk3568_bl31_v1.43.elf) = U7k3G+6qDGo8AjWg8Gmtxxn/kCinhjdyzl7vJBVqsHw=
> -SHA256 (rk3568_ddr_1560MHz_v1.18.bin) = nmIAyhP4RjebrnA7A21C4oCIirOoFDmZOAvcmJjQQyI=
> -SHA256 (u-boot-2024.01.tar.bz2) = uZYR8e0je/NUG9yENLaMlqbgWWcGH5kkQ8swqr6+9bM=
> -SIZE (rk3566_ddr_1056MHz_v1.18.bin) = 55296
> -SIZE (rk3568_bl31_v1.43.elf) = 402376
> -SIZE (rk3568_ddr_1560MHz_v1.18.bin) = 55296
> -SIZE (u-boot-2024.01.tar.bz2) = 19926911
> +SHA256 (rk3566_ddr_1056MHz_v1.23.bin) = IOS7B2hHvQGfzet73BW9JJiQ8H7MdumTcQHyLlCVCYI=
> +SHA256 (rk3568_bl31_v1.44.elf) = ZREPgi/b3QFjzi2rxgWR56ig/7yUcXgOKe7wBi+e17Y=
> +SHA256 (rk3568_ddr_1560MHz_v1.23.bin) = A5+8OspJbuqq81VXIC++Q9AFw6KNfXuHYlSxOZYIZ68=
> +SHA256 (u-boot-2025.07.tar.bz2) = D5M/bFpCaJW/MG6T5qxTxghw5LVM2lbZUhG+yZ5jvsc=
> +SIZE (rk3566_ddr_1056MHz_v1.23.bin) = 59392
> +SIZE (rk3568_bl31_v1.44.elf) = 402376
> +SIZE (rk3568_ddr_1560MHz_v1.23.bin) = 59392
> +SIZE (u-boot-2025.07.tar.bz2) = 33516210
> Index: sysutils/u-boot/rk356x/patches/patch-arch_arm_dts_rk3568_dtsi
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-arch_arm_dts_rk3568_dtsi
> diff -N sysutils/u-boot/rk356x/patches/patch-arch_arm_dts_rk3568_dtsi
> --- sysutils/u-boot/rk356x/patches/patch-arch_arm_dts_rk3568_dtsi	24 Nov 2023 20:41:22 -0000	1.1
> +++ /dev/null	1 Jan 1970 00:00:00 -0000
> @@ -1,21 +0,0 @@
> -Index: arch/arm/dts/rk3568.dtsi
> ---- arch/arm/dts/rk3568.dtsi.orig
> -+++ arch/arm/dts/rk3568.dtsi
> -@@ -97,7 +97,7 @@
> - 		      <0x0 0xf2000000 0x0 0x00100000>;
> - 		ranges = <0x01000000 0x0 0xf2100000 0x0 0xf2100000 0x0 0x00100000>,
> - 			 <0x02000000 0x0 0xf2200000 0x0 0xf2200000 0x0 0x01e00000>,
> --			 <0x03000000 0x0 0x40000000 0x3 0x40000000 0x0 0x40000000>;
> -+			 <0x03000000 0x3 0x40000000 0x3 0x40000000 0x0 0x40000000>;
> - 		reg-names = "dbi", "apb", "config";
> - 		resets = <&cru SRST_PCIE30X1_POWERUP>;
> - 		reset-names = "pipe";
> -@@ -150,7 +150,7 @@
> - 		      <0x0 0xf0000000 0x0 0x00100000>;
> - 		ranges = <0x01000000 0x0 0xf0100000 0x0 0xf0100000 0x0 0x00100000>,
> - 			 <0x02000000 0x0 0xf0200000 0x0 0xf0200000 0x0 0x01e00000>,
> --			 <0x03000000 0x0 0x40000000 0x3 0x80000000 0x0 0x40000000>;
> -+			 <0x03000000 0x3 0x80000000 0x3 0x80000000 0x0 0x40000000>;
> - 		reg-names = "dbi", "apb", "config";
> - 		resets = <&cru SRST_PCIE30X2_POWERUP>;
> - 		reset-names = "pipe";
> Index: sysutils/u-boot/rk356x/patches/patch-arch_arm_dts_rk356x_dtsi
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-arch_arm_dts_rk356x_dtsi
> diff -N sysutils/u-boot/rk356x/patches/patch-arch_arm_dts_rk356x_dtsi
> --- sysutils/u-boot/rk356x/patches/patch-arch_arm_dts_rk356x_dtsi	24 Nov 2023 20:41:22 -0000	1.1
> +++ /dev/null	1 Jan 1970 00:00:00 -0000
> @@ -1,12 +0,0 @@
> -Index: arch/arm/dts/rk356x.dtsi
> ---- arch/arm/dts/rk356x.dtsi.orig
> -+++ arch/arm/dts/rk356x.dtsi
> -@@ -984,7 +984,7 @@
> - 		power-domains = <&power RK3568_PD_PIPE>;
> - 		ranges = <0x01000000 0x0 0xf4100000 0x0 0xf4100000 0x0 0x00100000>,
> - 			 <0x02000000 0x0 0xf4200000 0x0 0xf4200000 0x0 0x01e00000>,
> --			 <0x03000000 0x0 0x40000000 0x3 0x00000000 0x0 0x40000000>;
> -+			 <0x03000000 0x3 0x00000000 0x3 0x00000000 0x0 0x40000000>;
> - 		resets = <&cru SRST_PCIE20_POWERUP>;
> - 		reset-names = "pipe";
> - 		#address-cells = <3>;
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-anbernic-rgxx3_dtsi
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-anbernic-rgxx3_dtsi
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-anbernic-rgxx3_dtsi
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-anbernic-rgxx3_dtsi	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,12 @@
> +Index: dts/upstream/src/arm64/rockchip/rk3566-anbernic-rgxx3.dtsi
> +--- dts/upstream/src/arm64/rockchip/rk3566-anbernic-rgxx3.dtsi.orig
> ++++ dts/upstream/src/arm64/rockchip/rk3566-anbernic-rgxx3.dtsi
> +@@ -13,7 +13,7 @@
> + 	chassis-type = "handset";
> + 
> + 	chosen: chosen {
> +-		stdout-path = "serial2:1500000n8";
> ++		stdout-path = "serial2:115200n8";
> + 	};
> + 
> + 	adc_keys: adc-keys {
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-quartz64-a_dts
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-quartz64-a_dts
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-quartz64-a_dts
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-quartz64-a_dts	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,12 @@
> +Index: dts/upstream/src/arm64/rockchip/rk3566-quartz64-a.dts
> +--- dts/upstream/src/arm64/rockchip/rk3566-quartz64-a.dts.orig
> ++++ dts/upstream/src/arm64/rockchip/rk3566-quartz64-a.dts
> +@@ -18,7 +18,7 @@
> + 	};
> + 
> + 	chosen: chosen {
> +-		stdout-path = "serial2:1500000n8";
> ++		stdout-path = "serial2:115200n8";
> + 	};
> + 
> + 	gmac1_clkin: external-gmac1-clock {
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-quartz64-b_dts
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-quartz64-b_dts
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-quartz64-b_dts
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3566-quartz64-b_dts	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,12 @@
> +Index: dts/upstream/src/arm64/rockchip/rk3566-quartz64-b.dts
> +--- dts/upstream/src/arm64/rockchip/rk3566-quartz64-b.dts.orig
> ++++ dts/upstream/src/arm64/rockchip/rk3566-quartz64-b.dts
> +@@ -19,7 +19,7 @@
> + 	};
> + 
> + 	chosen: chosen {
> +-		stdout-path = "serial2:1500000n8";
> ++		stdout-path = "serial2:115200n8";
> + 	};
> + 
> + 	gmac1_clkin: external-gmac1-clock {
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-bpi-r2-pro_dts
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-bpi-r2-pro_dts
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-bpi-r2-pro_dts
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-bpi-r2-pro_dts	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,12 @@
> +Index: dts/upstream/src/arm64/rockchip/rk3568-bpi-r2-pro.dts
> +--- dts/upstream/src/arm64/rockchip/rk3568-bpi-r2-pro.dts.orig
> ++++ dts/upstream/src/arm64/rockchip/rk3568-bpi-r2-pro.dts
> +@@ -23,7 +23,7 @@
> + 	};
> + 
> + 	chosen: chosen {
> +-		stdout-path = "serial2:1500000n8";
> ++		stdout-path = "serial2:115200n8";
> + 	};
> + 
> + 	leds {
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-evb1-v10_dts
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-evb1-v10_dts
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-evb1-v10_dts
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-evb1-v10_dts	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,12 @@
> +Index: dts/upstream/src/arm64/rockchip/rk3568-evb1-v10.dts
> +--- dts/upstream/src/arm64/rockchip/rk3568-evb1-v10.dts.orig
> ++++ dts/upstream/src/arm64/rockchip/rk3568-evb1-v10.dts
> +@@ -23,7 +23,7 @@
> + 	};
> + 
> + 	chosen: chosen {
> +-		stdout-path = "serial2:1500000n8";
> ++		stdout-path = "serial2:115200n8";
> + 	};
> + 
> + 	dc_12v: regulator-dc-12v {
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-nanopi-r5s_dtsi
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-nanopi-r5s_dtsi
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-nanopi-r5s_dtsi
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-nanopi-r5s_dtsi	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,12 @@
> +Index: dts/upstream/src/arm64/rockchip/rk3568-nanopi-r5s.dtsi
> +--- dts/upstream/src/arm64/rockchip/rk3568-nanopi-r5s.dtsi.orig
> ++++ dts/upstream/src/arm64/rockchip/rk3568-nanopi-r5s.dtsi
> +@@ -21,7 +21,7 @@
> + 	};
> + 
> + 	chosen: chosen {
> +-		stdout-path = "serial2:1500000n8";
> ++		stdout-path = "serial2:115200n8";
> + 	};
> + 
> + 	hdmi-con {
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-odroid-m1_dts
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-odroid-m1_dts
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-odroid-m1_dts
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-odroid-m1_dts	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,12 @@
> +Index: dts/upstream/src/arm64/rockchip/rk3568-odroid-m1.dts
> +--- dts/upstream/src/arm64/rockchip/rk3568-odroid-m1.dts.orig
> ++++ dts/upstream/src/arm64/rockchip/rk3568-odroid-m1.dts
> +@@ -26,7 +26,7 @@
> + 	};
> + 
> + 	chosen {
> +-		stdout-path = "serial2:1500000n8";
> ++		stdout-path = "serial2:115200n8";
> + 	};
> + 
> + 	dc_12v: regulator-dc-12v {
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-rock-3a_dts
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-rock-3a_dts
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-rock-3a_dts
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568-rock-3a_dts	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,12 @@
> +Index: dts/upstream/src/arm64/rockchip/rk3568-rock-3a.dts
> +--- dts/upstream/src/arm64/rockchip/rk3568-rock-3a.dts.orig
> ++++ dts/upstream/src/arm64/rockchip/rk3568-rock-3a.dts
> +@@ -19,7 +19,7 @@
> + 	};
> + 
> + 	chosen: chosen {
> +-		stdout-path = "serial2:1500000n8";
> ++		stdout-path = "serial2:115200n8";
> + 	};
> + 
> + 	hdmi-con {
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568_dtsi
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568_dtsi
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568_dtsi
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk3568_dtsi	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,21 @@
> +Index: dts/upstream/src/arm64/rockchip/rk3568.dtsi
> +--- dts/upstream/src/arm64/rockchip/rk3568.dtsi.orig
> ++++ dts/upstream/src/arm64/rockchip/rk3568.dtsi
> +@@ -185,7 +185,7 @@
> + 		      <0x0 0xf2000000 0x0 0x00100000>;
> + 		ranges = <0x01000000 0x0 0xf2100000 0x0 0xf2100000 0x0 0x00100000>,
> + 			 <0x02000000 0x0 0xf2200000 0x0 0xf2200000 0x0 0x01e00000>,
> +-			 <0x03000000 0x0 0x40000000 0x3 0x40000000 0x0 0x40000000>;
> ++			 <0x03000000 0x3 0x40000000 0x3 0x40000000 0x0 0x40000000>;
> + 		reg-names = "dbi", "apb", "config";
> + 		resets = <&cru SRST_PCIE30X1_POWERUP>;
> + 		reset-names = "pipe";
> +@@ -238,7 +238,7 @@
> + 		      <0x0 0xf0000000 0x0 0x00100000>;
> + 		ranges = <0x01000000 0x0 0xf0100000 0x0 0xf0100000 0x0 0x00100000>,
> + 			 <0x02000000 0x0 0xf0200000 0x0 0xf0200000 0x0 0x01e00000>,
> +-			 <0x03000000 0x0 0x40000000 0x3 0x80000000 0x0 0x40000000>;
> ++			 <0x03000000 0x3 0x40000000 0x3 0x80000000 0x0 0x40000000>;
> + 		reg-names = "dbi", "apb", "config";
> + 		resets = <&cru SRST_PCIE30X2_POWERUP>;
> + 		reset-names = "pipe";
> Index: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk356x-base_dtsi
> ===================================================================
> RCS file: sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk356x-base_dtsi
> diff -N sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk356x-base_dtsi
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ sysutils/u-boot/rk356x/patches/patch-dts_upstream_src_arm64_rockchip_rk356x-base_dtsi	21 Jul 2025 06:02:12 -0000
> @@ -0,0 +1,12 @@
> +Index: dts/upstream/src/arm64/rockchip/rk356x-base.dtsi
> +--- dts/upstream/src/arm64/rockchip/rk356x-base.dtsi.orig
> ++++ dts/upstream/src/arm64/rockchip/rk356x-base.dtsi
> +@@ -964,7 +964,7 @@
> + 		power-domains = <&power RK3568_PD_PIPE>;
> + 		ranges = <0x01000000 0x0 0xf4100000 0x0 0xf4100000 0x0 0x00100000>,
> + 			 <0x02000000 0x0 0xf4200000 0x0 0xf4200000 0x0 0x01e00000>,
> +-			 <0x03000000 0x0 0x40000000 0x3 0x00000000 0x0 0x40000000>;
> ++			 <0x03000000 0x3 0x40000000 0x3 0x00000000 0x0 0x40000000>;
> + 		resets = <&cru SRST_PCIE20_POWERUP>;
> + 		reset-names = "pipe";
> + 		#address-cells = <3>;
> Index: sysutils/u-boot/rk356x/patches/patch-tools_rkcommon_c
> ===================================================================
> RCS file: /cvs/ports/sysutils/u-boot/rk356x/patches/patch-tools_rkcommon_c,v
> retrieving revision 1.1
> diff -u -p -u -p -r1.1 patch-tools_rkcommon_c
> --- sysutils/u-boot/rk356x/patches/patch-tools_rkcommon_c	14 Apr 2024 04:21:30 -0000	1.1
> +++ sysutils/u-boot/rk356x/patches/patch-tools_rkcommon_c	21 Jul 2025 06:02:12 -0000
> @@ -3,7 +3,7 @@ Add endian swaps for BE_ARCHS.
>  Index: tools/rkcommon.c
>  --- tools/rkcommon.c.orig
>  +++ tools/rkcommon.c
> -@@ -454,7 +454,7 @@ int rkcommon_verify_header(unsigned char *buf, int siz
> +@@ -456,7 +456,7 @@ int rkcommon_verify_header(unsigned char *buf, int siz
>   	int ret;
>   
>   	/* spl_hdr is abandon on header_v2 */
> @@ -12,7 +12,7 @@ Index: tools/rkcommon.c
>   		return 0;
>   
>   	ret = rkcommon_parse_header(buf, &header0, &img_spl_info);
> -@@ -489,7 +489,7 @@ void rkcommon_print_header(const void *buf, struct ima
> +@@ -491,7 +491,7 @@ void rkcommon_print_header(const void *buf, struct ima
>   	uint8_t image_type;
>   	int ret, boot_size, init_size;
>   
>