root@rk3576-buildroot:/# reboot loader


20260129让天启AIO-3576Q38开发板在Rockchip瑞芯微原厂Buildroot下使用reboot loader进去loader刷机模式
2026/1/29 14:09


缘起:让天启AIO-3576Q38开发板在Rockchip瑞芯微原厂Buildroot下使用reboot loader进去loader刷机模式

让天启AIO-3576Q38开发板在Rockchip瑞芯微原厂Buildroot下打开gmac0芯片YT8531H-CA。
我看原理图是YT8531H-CA/RTL8211F-CG硬件兼容设计的。
应该可以直接替换使用的!


当你把荣品RD-RK3588开发板重新适配一把,就相当于从头做了一个项目:【荣品RD-RK3588开发板】。
当然,开发板的功能都是好的,你免除了调试的过程,也就没有解决相关硬件出错的经验/机会了!


               640x480@59.9, 25.2 MHz
               640x480@59.9 4:3, 25.2 MHz
               720x400@70.1, 28.3 MHz
[01:26:44.016] associating input device event0 with output HDMI-A-1 (none by udev)
[01:26:44.016] associating input device event1 with output HDMI-A-1 (none by udev)
[01:26:44.016] associating input device event3 with output HDMI-A-1 (none by udev)
[01:26:44.016] associating input device event2 with output HDMI-A-1 (none by udev)
[01:26:44.016] Output HDMI-A-1 changed to mirror output
[01:26:44.016] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[01:26:44.016] DSI-1 using at least 2 buffers
[01:26:44.016] Output 'DSI-1' attempts EOTF mode SDR and colorimetry mode default.
[01:26:44.016] Output 'DSI-1' using color profile: stock sRGB color profile
[01:26:44.016] Chosen EGL config details: id:   1 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 0-0 type: win|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[01:26:44.016] Output DSI-1 (crtc 100) video modes:
               1080x1920@59.9, preferred, current, 132.0 MHz
[01:26:44.016] associating input device event0 with output DSI-1 (none by udev)
[01:26:44.016] associating input device event1 with output DSI-1 (none by udev)
[01:26:44.016] associating input device event3 with output DSI-1 (none by udev)
[01:26:44.016] associating input device event2 with output DSI-1 (none by udev)
[01:26:44.016] Output 'DSI-1' enabled with head(s) DSI-1
[01:26:44.016] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               cursor planes: yes
               arbitrary resolutions: no
               view mask clipping: yes
               explicit sync: yes
               color operations: no
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[01:26:44.017] Loading module '/usr/lib/weston/desktop-shell.so'
[01:26:44.018] launching '/usr/libexec/weston-keyboard'
[    8.953313] file system registered
[01:26:44.020] launching '/usr/libexec/weston-desktop-shell'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
[    9.033138] read descriptors
[    9.033166] read strings
[    9.217216] android_work: did not send uevent (0 0 0000000000000000)
xkbcommon: ERROR: couldn't find a Compose file for locale "en_US.UTF-8" (mapped to "en_US.UTF-8")
could not create XKB compose table for locale 'en_US.UTF-8'.  Disabiling compose
xkbcommon: ERROR: couldn't find a Compose file for locale "en_US.UTF-8" (mapped to "en_US.UTF-8")
could not create XKB compose table for locale 'en_US.UTF-8'.  Disabiling compose
[    9.464011] dwhdmi-rockchip 27da0000.hdmi: use tmds mode
[    9.465604] dwhdmi-rockchip 27da0000.hdmi: use tmds mode
[    9.659189] rk-pcie 2a200000.pcie: failed to initialize host
[   10.491335] Freeing drm_logo memory: 1384K

root@rk3576-buildroot:/# 
root@rk3576-buildroot:/# 
root@rk3576-buildroot:/# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:576 (576.0 B)  TX bytes:576 (576.0 B)

root@rk3576-buildroot:/# ifconfig -a
eth0      Link encap:Ethernet  HWaddr C6:D4:43:BF:F8:B9  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:61 

eth1      Link encap:Ethernet  HWaddr CA:D4:43:BF:F8:B9  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:63 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:576 (576.0 B)  TX bytes:576 (576.0 B)

root@rk3576-buildroot:/# 
root@rk3576-buildroot:/# 
root@rk3576-buildroot:/# 
root@rk3576-buildroot:/# 
root@rk3576-buildroot:/# [   19.292365] platform es8388-sound: deferred probe pending
[   19.292404] platform mtd_vendor_storage: deferred probe pending

root@rk3576-buildroot:/# 
root@rk3576-buildroot:/# 
root@rk3576-buildroot:/# 
root@rk3576-buildroot:/# reboot loader
reboot: Waiting for SIGTERM
root@rk3576-buildroot:/# Stopping input-event-daemon: done
stop auto-reboot finished
Stopping dnsmasq: OK
starting usbdevice service, log saved to /var/log/usbdevice.log
Stopping pulseaudio: E: [pulseaudio] main.c: Failed to kill daemon: No such process
OK
Stopping dropbear sshd: OK
stoping weston... [01:28:21.512] caught signal 15
done.
[01:28:21.513] event0  - 27330000.pwm: device removed
[01:28:21.514] event1  - rk805 pwrkey: device removed
[01:28:21.515] event3  - adc-keys: device removed
[01:28:21.515] event2  - bt-powerkey: device removed
Stopping chrony: OK
Stopping dhcpcd...
no /sbin/dhcpcd found; none killed
killall: rkaiq_3A_server: no process killed
Stopping network: ifdown: interface lo not configured
OK
Stopping bluetoothd: OK
Stopping Wi-Fi/BT...[  106.505207] rockchip-vop2 27d00000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp1
Done
Stopping system message bus: done
[  106.576367] rockchip-vop2 27d00000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
[  106.598827] rockchip-hdptx-phy-hdmi 2b000000.hdmiphy: hdptx_ropll_cmn_config bus_width:8 rate:1485000
[  106.599020] rockchip-hdptx-phy-hdmi 2b000000.hdmiphy: hdptx phy pll locked!
Stopping klogd: OK
Stopping syslogd: [  106.615829] rockchip-hdptx-phy-hdmi 2b000000.hdmiphy: hdptx_ropll_cmn_config bus_width:8 rate:1485000
[  106.616024] rockchip-hdptx-phy-hdmi 2b000000.hdmiphy: hdptx phy pll locked!
OK
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
/etc/xdg/weston/weston.ini.d/02-desktop.ini: "shell/locking" from "false" to "true"
arm_release_ver: g24p0-00eac0, rk_so_ver: 7
log-guardian: Stopping log-guardian (445)...
umount: /dev/usb-ffs/adb: target is busy.
[  106.684781] EXT4-fs (mmcblk0p8): unmounting filesystem.
[  106.693664] EXT4-fs (mmcblk0p7): unmounting filesystem.
umount: /var/log: target is busy.
umount: /run: target is busy.
[  106.708263] EXT4-fs (mmcblk0p6): re-mounted. Quota mode: disabled.
The system is going down NOW!
reboot: Caught signal 15
reboot: Ready to reboot
[  106.713098] dwc3 23000000.usb: request 0000000082a36e58 was not queued to ep0out
Sent SIGTERM to all processes
[  106.713190] android_work: did not send uevent (0 0 0000000000000000)
Terminated
E: [pulseaudio] core-util.c: Failed to create secure directory (/userdata/.pulse/.config/pulse): No such file or directory
reboot: Rebooting with arg(loader)
[  106.923269] mpp_rkvenc2 27a10000.rkvenc-core: shutdown device
[  106.923796] mpp_rkvenc2 27a10000.rkvenc-core: shutdown success
[  106.924320] mpp_rkvenc2 27a00000.rkvenc-core: shutdown device
[  106.924828] mpp_rkvenc2 27a00000.rkvenc-core: shutdown success
[  106.925351] mpp_rkvdec2 27b00100.rkvdec: shutdown device
[  106.925826] mpp_rkvdec2 27b00100.rkvdec: shutdown success
[  106.926306] mpp_jpgenc 27910800.jpege: shutdown device
[  106.926759] mpp_jpgenc 27910800.jpege: shutdown success
[  106.927235] mpp_jpgdec 27910000.jpegd: shutdown device
[  106.927688] mpp_jpgdec 27910000.jpegd: shutdown success
[  106.928156] mpp-iep2 27960000.iep: shutdown device
[  106.928577] mpp-iep2 27960000.iep: shutdown success
[  106.929309] rga2 27930000.rga: shutdown success
[  106.929920] rga2 27920000.rga: shutdown success
[  106.932877] rkisp_hw 27c00000.isp: rkisp_hw_shutdown
[  106.933556] xhci-hcd xhci-hcd.0.auto: remove, state 4
[  106.934006] usb usb2: USB disconnect, device number 1
[  106.934450] usb 2-1: USB disconnect, device number 2
[  106.935885] xhci-hcd xhci-hcd.0.auto: USB bus 2 deregistered
[  106.936582] xhci-hcd xhci-hcd.0.auto: remove, state 4
[  106.937034] usb usb1: USB disconnect, device number 1
[  106.937478] usb 1-1: USB disconnect, device number 2
[  106.938840] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered
[  106.940116] [WLAN_RFKILL]: Enter rfkill_wlan_shutdown
[  106.940564] [WLAN_RFKILL]: rockchip_wifi_power: 0
[  106.940985] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[  106.941503] wifi power off
[  107.047196] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[  107.047720] [WLAN_RFKILL]: wifi shut off power [GPIO54-0]
[  107.048195] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 0
[  107.249287] reboot: Restarting system with command 'loader'
DDR 2f85f4b2d4 cym 24/11/07-19:07:28,fwver: v1.09
In
ch0 ttot10
ch0 ttot10
ch1 ttot10
ch0 ttot18
LPDDR4, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
ch1 ttot18
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
Manufacturer ID:0xff
CH0 RX Vref:31.2%, RX DQS Vref:37.2%, TX Vref:13.2%,13.2%
DQ roc:
p5 n0, p1 n0, p1 n3, p2 n0, p3 n0, p7 n0, p2 n0, p2 n0, p5 n0, 
p4 n0, p2 n2, p4 n0, p2 n0, p6 n0, p3 n0, p4 n0, p2 n5, p1 n0, 

DQ rds:h1 l0 l0 l0 h1 h1 h1 l0, h1 h1 l0 h1 l0 h1 h1 l0 
DQS roc: p1, n0, p1, n0

CH1 RX Vref:32.0%, RX DQS Vref:36.8%, TX Vref:13.2%,13.2%
DQ roc:
p6 n0, p7 n0, p5 n0, p6 n0, p6 n0, p3 n0, p3 n0, p5 n1, p2 n0, 
p3 n0, p5 n0, p3 n0, p6 n0, p6 n0, p5 n0, p5 n0, p2 n0, p6 n0, 

DQ rds:l0 l0 l0 h1 h1 l0 l0 l0, l0 l0 h2 l0 l0 l0 h1 h1 
DQS roc: p0, n0, p0, n0

stride=0x3, ddr_config=0x4
hash bank_mask0-3 0x0 0x880 0x1100 0x2200, rank_mask0 0x400400
change to F1: 528MHz
ch0 ttot10
ch1 ttot10
change to F2: 1068MHz
ch0 ttot14
ch1 ttot14
change to F3: 1560MHz
ch0 ttot16
ch1 ttot16
change to F0: 2112MHz
ch0 ttot18
ch1 ttot18
out
U-Boot SPL board init
U-Boot SPL 2017.09 (Jan 28 2026 - 18:14:26)
sfc cmd=00H(6BH-x4)
unknown raw ID 0 0 0
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 0
spl: mmc init failed with error: -123
Trying to boot from MMC1
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x40040000 ... sha256(1c50b242b2...) + OK
## Checking uboot 0x40200000 ... sha256(19c6ead532...) + OK
## Checking fdt 0x4034b288 ... sha256(9dfd444689...) + OK
## Checking atf-2 0x400f0000 ... sha256(8afb712810...) + OK
## Checking atf-3 0x3fe70000 ... sha256(3af1bf762b...) + OK
## Checking optee 0x48400000 ... sha256(010f86355a...) + OK
Jumping to U-Boot(0x40200000) via ARM Trusted Firmware(0x40040000)
Total: 107.750/298.128 ms

INFO:    Preloader serial: 0
NOTICE:  BL31: v2.3():v2.3-859-gc481e5368:derrick.huang, fwver: v1.14
NOTICE:  BL31: Built : 09:37:28, Nov  8 2024
INFO:    ext 32k is not detected
INFO:    SOC (0x35760a01)
INFO:    spec: 0xa
INFO:    soc warm boot, reset status: 0x1
INFO:    ARM GICv2 driver initialized
INFO:    bypass memory repair
INFO:    dfs DDR fsp_params[0].freq_mhz= 2112MHz
INFO:    dfs DDR fsp_params[1].freq_mhz= 528MHz
INFO:    dfs DDR fsp_params[2].freq_mhz= 1068MHz
INFO:    dfs DDR fsp_params[3].freq_mhz= 1560MHz
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
I/TC: 
I/TC: OP-TEE version: 3.13.0-891-g9f2aca7d1 #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Thu Oct 31 16:14:37 CST 2024 aarch64, fwver: v1.05 
I/TC: OP-TEE memory: TEEOS 0x200000 TA 0xc00000 SHM 0x200000
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x40200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Jan 28 2026 - 18:14:26 +0800)

Model: Rockchip RK3576 Evaluation board
MPIDR: 0x0
PreSerial: 0, raw, 0x2ad40000
DRAM:  8 GiB
Sysmem: init
Relocation Offset: bda12000
Relocation fdt: fb9f9f70 - fb9fece8
CR: M/C/I
Using default environment

optee api revision: 2.0
mmc@2a310000: 1, mmc@2a330000: 0
Bootdev(atags): mmc 0
MMC0: HS400 Enhanced Strobe, 200Mhz
PartType: EFI
TEEC: Waring: Could not find security partition
DM: v2
boot mode: loader
RESC: 'boot', blk@0x0001b0a1
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(ce): OK
dw_dp_bind zyb enter
I2c1 speed: 100000Hz
PMIC:  RK8060 (on=0x40, off=0x00)
vdd_cpu_big_s0 init 850000 uV
vdd_npu_s0 750000 uV
vdd_cpu_lit_s0 init 850000 uV
vdd_gpu_s0 init 750000 uV
vdd_logic_s0 init 750000 uV
vdd_ddr_s0 850000 uV
Could not find baseparameter partition
Model: Rockchip RK3576 EVB1 V10 Board
Rockchip UBOOT DRM driver version: v1.0.1
Assign plane mask automatically
VOP have 3 active VP
vp0 have layer nr:1[2 ], primary plane: 2
vp1 have layer nr:1[3 ], primary plane: 3
vp2 have layer nr:1[8 ], primary plane: 8
Using display timing dts
dsi@27d80000:  detailed mode clock 132000 kHz, flags[a]
    H: 1080 1095 1099 1129
    V: 1920 1935 1937 1952
bus_format: 100e
VOP update mode to: 1080x1920p60, type: MIPI0 for VP1
VP1 set crtc_clock to 132000KHz
Unsupported bt709f at 10bit csc depth, use bt601f instead
VOP VP1 enable Esmart1[654x270->654x270@213x825] fmt[0] addr[0xfdf00000]
final DSI-Link bandwidth: 880000 Kbps x 4
Monitor has basic audio support
Could not find baseparameter partition
color_format:1
hdmi_select_link_config use tmds mode
mode:1920x1080 bus_format:0x2025
hdmi@27da0000:  detailed mode clock 148500 kHz, flags[5]
    H: 1920 2008 2052 2200
    V: 1080 1084 1089 1125
bus_format: 2025
VOP update mode to: 1920x1080p60, type: HDMI0 for VP0
disp_info is empty
hdptx_ropll_cmn_config bus_width:16a8c8 rate:1485000
hdptx phy pll locked!
VP0 set crtc_clock to 1485KHz
VOP VP0 enable Esmart0[654x270->654x270@633x405] fmt[0] addr[0xfdf00000]
CEA mode used vic=16
mtmdsclock:148500000
hdptx_ropll_cmn_config bus_width:16a8c8 rate:1485000
hdptx phy pll locked!
dw_hdmi_setup HDMI mode
don't use dsc mode
dw hdmi qp use tmds mode
bus_width:0x16a8c8,bit_rate:1485000
hdptx phy lane locked!
enter Rockusb!
RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x7734000
/usb device is super-speed

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐