Toybrick

标题: Toybrick TB-RK3588X1 源码编译出来没有图形界面 [打印本页]

作者: helianyi    时间: 2026-4-17 16:11
标题: Toybrick TB-RK3588X1 源码编译出来没有图形界面
本帖最后由 helianyi 于 2026-4-20 09:59 编辑

hi rk:
    我购买了一块Toybrick TB-RK3588X1,从官方获取源码 RK3588_Linux_Toybrick_v1.1.0_20240115.tar.gz
按照 获取源代码 — TB-RK3588x 0.1 文档 里的步骤编译
}oem@he:~/work/rk35xx-linux510 (master)$ ./edge env[EDGE DEBUG] root path: /home/oem/work/rk35xx-linux510[EDGE DEBUG] out path: /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images[EDGE DEBUG] board: TB-RK3588X0[EDGE DEBUG] chip: rk3588[EDGE DEBUG] arch: arm64[EDGE DEBUG] bootmode: extlinux[EDGE DEBUG] hyper: not set[EDGE DEBUG] > Secureboot:[EDGE DEBUG]   enable: False[EDGE DEBUG]   rollback: [0, 0][EDGE DEBUG]   burnkey: False[EDGE DEBUG] > Partition:[EDGE DEBUG]   uboot: ['0x00002000', '0x00004000'][EDGE DEBUG]   trust: ['0x00006000', '0x00004000'][EDGE DEBUG]   misc: ['0x0000a000', '0x00002000'][EDGE DEBUG]   boot_linux:bootable: ['0x0000c000', '0x00020000'][EDGE DEBUG]   recovery: ['0x0002c000', '0x00040000'][EDGE DEBUG]   resource: ['0x0006c000', '0x00010000'][EDGE DEBUG]   rootfs:grow: ['0x0007c000', '-'][EDGE DEBUG] > Uboot:[EDGE DEBUG]   config: rk3588-toybrick[EDGE DEBUG] > Kernel:[EDGE DEBUG]   version: 5.10[EDGE DEBUG]   config: rk3588_edge.config rk3588_toybrick.config[EDGE DEBUG]   dtbname: rk3588-toybrick-x0-linux[EDGE DEBUG]   size: 64[EDGE DEBUG]   docker: False[EDGE DEBUG]   debug: 0xfeb50000[EDGE DEBUG] > Rootfs:[EDGE DEBUG]   osname: debian[EDGE DEBUG]   version: 11[EDGE DEBUG]   type: gnome[EDGE DEBUG]   apturl: http://repo.rock-chips.com[EDGE DEBUG]   uuid: 614e0000-0000-4b53-8000-1d28000054a9[EDGE DEBUG]   size: auto[EDGE DEBUG]   user: toybrick[EDGE DEBUG]   password: toybrick[EDGE DEBUG]   relver: 1.1.0[EDGE DEBUG]   key: GPG-KEY-ROCKCHIP


./edge build -a

编译完成后使用命令烧录
./edge flash -a

烧录完成后,系统起来后没有图形界面只有命令行,风扇也不转,但是我刷官方的image 是有图形界面,风扇也是转的,请问是哪个地方出错了?

启动后报错
[    6.706511] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.706736] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.706756] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.706770] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.706815] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.706829] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.706842] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.706887] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.706901] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.706914] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.706954] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.706967] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.706981] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.707028] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707042] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707057] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.707314] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707335] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707349] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.707408] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707422] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707435] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.707493] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707506] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707519] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.707567] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707580] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0), maybe invalid frequency setting!
[    6.707593] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
[    6.707651] clk_i2s7_8ch_rx_frac p_rate(131071999), rate(0),
                                                               [    7.497056] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[    7.502743] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[    7.519313] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[    7.536103] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[    7.859671] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[    7.948167] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[    7.952527] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[    7.969212] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[    7.985865] dwhdmi-rockchip fde80000.hdmi: use tmds mode
[    8.002527] dwhdmi-rockchip fde80000.hdmi: use tmds mode


作者: toybrick    时间: 2026-4-17 17:09
启动LOG发出来
作者: addy    时间: 2026-4-17 17:12
1. 一一替换可以正常起来的镜像,确认是哪个镜像出问题了。
2. 提供完整的编译LOG,确认是哪个报错了。
3. 提供启动串口LOG。
作者: helianyi    时间: 2026-4-17 17:48
本帖最后由 helianyi 于 2026-4-17 17:59 编辑
addy 发表于 2026-4-17 17:12
1. 一一替换可以正常起来的镜像,确认是哪个镜像出问题了。
2. 提供完整的编译LOG,确认是哪个报错了。
3.  ...

hi rk:
这是build logoem@he:~/work/rk35xx-linux510 (master)$ ./edge build -a
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/build/bin/misc.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images
[EDGE DEBUG] Start build parameter ...
[EDGE INFO] Build parameter successfully!
[EDGE DEBUG] Start build kernel ...
[EDGE DEBUG] make CROSS_COMPILE=/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- LLVM=1 LLVM_IAS=1 -j 48 ARCH=arm64 rockchip_linux_defconfig rk3588_edge.config rk3588_toybrick.config
#
# configuration written to .config
#
Using .config as base
Merging ./arch/arm64/configs/rk3588_edge.config
Value of CONFIG_R8168 is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: CONFIG_R8168=y
New value: # CONFIG_R8168 is not set


Value of CONFIG_R8169 is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_R8169 is not set
New value: CONFIG_R8169=y


Value of CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP is not set
New value: CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP=y


Value of CONFIG_AP6XXX is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: CONFIG_AP6XXX=m
New value: CONFIG_AP6XXX=y


Value of CONFIG_WIFI_BUILD_MODULE is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: CONFIG_WIFI_BUILD_MODULE=y
New value: # CONFIG_WIFI_BUILD_MODULE is not set


Value of CONFIG_MALI_CSF_SUPPORT is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_MALI_CSF_SUPPORT is not set
New value: CONFIG_MALI_CSF_SUPPORT=y


Value of CONFIG_FRAMEBUFFER_CONSOLE is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_FRAMEBUFFER_CONSOLE is not set
New value: CONFIG_FRAMEBUFFER_CONSOLE=y


Value of CONFIG_USB_CONFIGFS_RNDIS is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_USB_CONFIGFS_RNDIS is not set
New value: CONFIG_USB_CONFIGFS_RNDIS=y


Value of CONFIG_USB_CONFIGFS_F_UAC1 is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_USB_CONFIGFS_F_UAC1 is not set
New value: CONFIG_USB_CONFIGFS_F_UAC1=y


Value of CONFIG_USB_CONFIGFS_F_UAC2 is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_USB_CONFIGFS_F_UAC2 is not set
New value: CONFIG_USB_CONFIGFS_F_UAC2=y


Value of CONFIG_USB_CONFIGFS_F_HID is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_USB_CONFIGFS_F_HID is not set
New value: CONFIG_USB_CONFIGFS_F_HID=y


Value of CONFIG_SENSORS_PWM_FAN is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_SENSORS_PWM_FAN is not set
New value: CONFIG_SENSORS_PWM_FAN=y


#
# merged configuration written to .config (needs make)
#
#
# configuration written to .config
#
Using .config as base
Merging ./arch/arm64/configs/rk3588_toybrick.config
Value of CONFIG_BCMDHD_PCIE is redefined by fragment ./arch/arm64/configs/rk3588_toybrick.config:
Previous value: # CONFIG_BCMDHD_PCIE is not set
New value: CONFIG_BCMDHD_PCIE=y


Value of CONFIG_VIDEO_IMX258 is redefined by fragment ./arch/arm64/configs/rk3588_toybrick.config:
Previous value: # CONFIG_VIDEO_IMX258 is not set
New value: CONFIG_VIDEO_IMX258=y


Value of CONFIG_CAN is redefined by fragment ./arch/arm64/configs/rk3588_toybrick.config:
Previous value: # CONFIG_CAN is not set
New value: CONFIG_CAN=y


#
# merged configuration written to .config (needs make)
#
.config:7230:warning: override: BCMDHD_PCIE changes choice state
#
# configuration written to .config
#
[EDGE DEBUG] make CROSS_COMPILE=/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- LLVM=1 LLVM_IAS=1 -j 48 ARCH=arm64 rk3588-toybrick-x0-linux.img
  SYNC    include/config/auto.conf.cmd
  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  Image:  resource.img (with rk3588-toybrick-x0-linux.dtb logo.bmp logo_kernel.bmp) is ready
  Image:  boot.img (with Image  resource.img) is ready
  Image:  zboot.img (with Image.lz4  resource.img) is ready
[EDGE DEBUG] cmd is None, skip it
[EDGE DEBUG] cmd is None, skip it
[EDGE INFO] Build kernel successfully!
[EDGE DEBUG] Start build extlinux image ...
[EDGE DEBUG] rm -rf /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux; mkdir -p /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux/extlinux
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/kernel/linux-5.10/arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0-linux.dtb /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux/extlinux/toybrick.dtb
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/kernel/linux-5.10/arch/arm64/boot/Image /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux/extlinux/Image
[EDGE DEBUG] genext2fs -B 4096 -b 16384 -d /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux -i 8192 -U /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux.img
copying from directory /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux
[EDGE DEBUG] mv /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/kernel/linux-5.10/resource.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/
[EDGE INFO] Build extlinux image successfully!
[EDGE DEBUG] Start build recovery.img ...
[EDGE DEBUG] ./make_initrd.sh arm64
149432 blocks
/home/oem/work/rk35xx-linux510/rootfs/debian/initrd
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/rkbin/tools/mkimage -f /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/boot_its -E -p 0x1000 /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/recovery.img
FIT description: FIT image with Linux kernel, FDT blob and resource
Created:         Fri Apr 17 17:28:25 2026
Image 0 (fdt)
  Description:  unavailable
  Created:      Fri Apr 17 17:28:25 2026
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    283121 Bytes = 276.49 KiB = 0.27 MiB
  Architecture: AArch64
  Load Address: 0xffffff00
  Hash algo:    sha256
  Hash value:   01c3dfc8c2b19012a132817309e887d7b3e8375daa14b7dd6f66954e2d5f2a0b
Image 1 (kernel)
  Description:  unavailable
  Created:      Fri Apr 17 17:28:25 2026
  Type:         Kernel Image
  Compression:  uncompressed
  Data Size:    33829376 Bytes = 33036.50 KiB = 32.26 MiB
  Architecture: AArch64
  OS:           Linux
  Load Address: 0xffffff01
  Entry Point:  0xffffff01
  Hash algo:    sha256
  Hash value:   4fc7227ff5b07d69a7f8a89a5f09a7bd0d2eab7c86238c14e14d56b41cd837ff
Image 2 (resource)
  Description:  unavailable
  Created:      Fri Apr 17 17:28:25 2026
  Type:         Multi-File Image
  Compression:  uncompressed
  Data Size:    321024 Bytes = 313.50 KiB = 0.31 MiB
  Hash algo:    sha256
  Hash value:   0d427715c9a9ed3efa0f7622f5779eabd82eb1028b6ea595659419fd5247b386
Image 3 (ramdisk)
  Description:  unavailable
  Created:      Fri Apr 17 17:28:25 2026
  Type:         RAMDisk Image
  Compression:  uncompressed
  Data Size:    31838418 Bytes = 31092.21 KiB = 30.36 MiB
  Architecture: AArch64
  OS:           Linux
  Load Address: 0xffffff02
  Entry Point:  0xffffff02
  Hash algo:    sha256
  Hash value:   d439fa0885aff52ca39ede786bab105a2385d305c8d7e83ac0f5acfe9e1d9090
Default Configuration: 'conf'
Configuration 0 (conf)
  Description:  unavailable
  Kernel:       kernel
  Init Ramdisk: ramdisk
  FDT:          fdt
[EDGE DEBUG] rm -rf /home/oem/work/rk35xx-linux510/rootfs/debian/initrd/initrd-arm64.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/boot_its
[EDGE INFO] Build recovery.img successfully!
[EDGE INFO] Build boot extlinux successfully!
[EDGE DEBUG] Start build uboot ...
[EDGE DEBUG] ./make.sh rk3588-toybrick
## make rk3588_defconfig rk3588-edge.config rk3588-toybrick.config -j48
#
# configuration written to .config
#
Using .config as base
Merging ./arch/../configs/rk3588-edge.config
Value of CONFIG_BASE_DEFCONFIG is redefined by fragment ./arch/../configs/rk3588-edge.config:
Previous value: CONFIG_BASE_DEFCONFIG=""
New value: CONFIG_BASE_DEFCONFIG="rk3588_defconfig"


Value of CONFIG_ROCKCHIP_EARLY_DISTRO_DTB is redefined by fragment ./arch/../configs/rk3588-edge.config:
Previous value: # CONFIG_ROCKCHIP_EARLY_DISTRO_DTB is not set
New value: CONFIG_ROCKCHIP_EARLY_DISTRO_DTB=y


#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
Using .config as base
Merging ./arch/../configs/rk3588-toybrick.config
Value of CONFIG_BASE_DEFCONFIG is redefined by fragment ./arch/../configs/rk3588-toybrick.config:
Previous value: CONFIG_BASE_DEFCONFIG="rk3588_defconfig"
New value: CONFIG_BASE_DEFCONFIG="rk3588-edge.config"


Value of CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION is redefined by fragment ./arch/../configs/rk3588-toybrick.config:
Previous value: CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION=y
New value: # CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION is not set


#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  CFG     tpl/u-boot.cfg
  GEN     include/autoconf.mk
  GEN     spl/include/autoconf.mk
  GEN     tpl/include/autoconf.mk
  CHK     include/config/uboot.release
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/mkimage.o
  CHK     include/config.h
  CFG     u-boot.cfg
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/mkimage
  CC      arch/arm/cpu/armv8/fwcall.o
  CC      arch/arm/mach-rockchip/board.o
  LD      arch/arm/cpu/armv8/built-in.o
  CC      drivers/usb/gadget/f_fastboot.o
  CC      cmd/version.o
  CC      common/main.o
  LD      cmd/built-in.o
  LD      common/built-in.o
  CC      lib/display_options.o
  LD      lib/built-in.o
  LD      arch/arm/mach-rockchip/built-in.o
  LD      drivers/usb/gadget/built-in.o
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
  SYM     u-boot.sym
start=$(/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x00200000 $start $end
make[2]: 'arch/arm/dts/rk3588-evb.dtb' is up to date.
  COPY    u-boot.dtb
  CAT     u-boot-dtb.bin
  MKIMAGE u-boot.img
  MKIMAGE u-boot-dtb.img
  COPY    u-boot.bin
  ALIGN   u-boot.bin
  COPY    spl/u-boot-spl.dtb
  CC      spl/common/spl/spl.o
  CC      spl/arch/arm/cpu/armv8/fwcall.o
  CC      tpl/arch/arm/mach-rockchip/tpl.o
  CC      tpl/arch/arm/cpu/armv8/fwcall.o
  CC      spl/arch/arm/mach-rockchip/spl.o
  CC      spl/lib/display_options.o
  LD      spl/arch/arm/cpu/armv8/built-in.o
  LD      tpl/arch/arm/cpu/armv8/built-in.o
  LD      tpl/arch/arm/mach-rockchip/built-in.o
  LD      spl/arch/arm/mach-rockchip/built-in.o
  LD      spl/common/spl/built-in.o
  LD      spl/lib/built-in.o
  LD      tpl/u-boot-tpl
  OBJCOPY tpl/u-boot-tpl-nodtb.bin
  COPY    tpl/u-boot-tpl.bin
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  CFGCHK  u-boot.cfg
SEC=1
pack u-boot.itb okay! Input: /home/oem/work/rk35xx-linux510/rkbin/RKTRUST/RK3588TRUST.ini


FIT description: FIT Image with ATF/OP-TEE/U-Boot/MCU
Created:         Fri Apr 17 17:28:31 2026
Image 0 (uboot)
  Description:  U-Boot
  Created:      Fri Apr 17 17:28:31 2026
  Type:         Standalone Program
  Compression:  gzip compressed
  Data Size:    597477 Bytes = 583.47 KiB = 0.57 MiB
  Architecture: AArch64
  Load Address: 0x00200000
  Entry Point:  unavailable
  Hash algo:    sha256
  Hash value:   26dab992031fef8d211ea105e93e313b5b3876d09b9fb71048e5442716839d61
Image 1 (atf-1)
  Description:  ARM Trusted Firmware
  Created:      Fri Apr 17 17:28:31 2026
  Type:         Firmware
  Compression:  gzip compressed
  Data Size:    69973 Bytes = 68.33 KiB = 0.07 MiB
  Architecture: AArch64
  Load Address: 0x00040000
  Hash algo:    sha256
  Hash value:   a6504630792890f0e4e75d7573c461afd2463d20d3a83987d189abc4b461dfd8
Image 2 (atf-2)
  Description:  ARM Trusted Firmware
  Created:      Fri Apr 17 17:28:31 2026
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    36864 Bytes = 36.00 KiB = 0.04 MiB
  Architecture: AArch64
  Load Address: 0xff100000
  Hash algo:    sha256
  Hash value:   70505bb764db81a665c8bba4953d804ed9eab580d5428888a4436121eff11c50
Image 3 (atf-3)
  Description:  ARM Trusted Firmware
  Created:      Fri Apr 17 17:28:31 2026
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    24576 Bytes = 24.00 KiB = 0.02 MiB
  Architecture: AArch64
  Load Address: 0x000f0000
  Hash algo:    sha256
  Hash value:   569ee96047e8ff069a6f89d1f62a530133c3e0afc74da4958519da2b51ec57d6
Image 4 (optee)
  Description:  OP-TEE
  Created:      Fri Apr 17 17:28:31 2026
  Type:         Firmware
  Compression:  gzip compressed
  Data Size:    229068 Bytes = 223.70 KiB = 0.22 MiB
  Architecture: AArch64
  Load Address: 0x08400000
  Hash algo:    sha256
  Hash value:   80a9cb849a4213917551b93c7d43da6f00c1a47b833a946b8e8b3677e9cb2d2e
Image 5 (fdt)
  Description:  U-Boot dtb
  Created:      Fri Apr 17 17:28:31 2026
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    8867 Bytes = 8.66 KiB = 0.01 MiB
  Architecture: AArch64
  Hash algo:    sha256
  Hash value:   a434b1c4fe1fe989156b3b53572daa76e0342fbcf2503fd4807ad30f8da2ce71
Default Configuration: 'conf'
Configuration 0 (conf)
  Description:  rk3588-evb
  Kernel:       unavailable
  Firmware:     atf-1
  FDT:          fdt
  Loadables:    uboot
                atf-2
                atf-3
                optee
********boot_merger ver 1.35********
Infoack loader ok.
pack loader okay! Input: /home/oem/work/rk35xx-linux510/rkbin/RKBOOT/RK3588MINIALL.ini
/home/oem/work/rk35xx-linux510/uboot


Image(no-signed, version=0): uboot.img (FIT with uboot, trust...) is ready
Image(no-signed): rk3588_spl_loader_v1.18.113.bin (with spl, ddr...) is ready
pack uboot.img okay! Input: /home/oem/work/rk35xx-linux510/rkbin/RKTRUST/RK3588TRUST.ini


Platform RK3588 is build OK, with new .config(make rk3588_defconfig rk3588-edge.config rk3588-toybrick.config -j48)
/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
Friday, April 17, 2026 PM05:28:31 HKT
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/uboot/uboot.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/uboot/rk3588_*.bin /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/MiniLoaderAll.bin
[EDGE INFO] Build uboot successfully!
[EDGE DEBUG] Start build rootfs ...
[EDGE INFO] Rootfs already exists, do you want to continue?[Y/n] Y
[EDGE DEBUG] Continue to build rootfs image!
[EDGE DEBUG] mkdir -p rootfs
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/scripts/resize.sh /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img 20480M
e2fsck 1.46.5 (30-Dec-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img: 158541/335872 files (0.9% non-contiguous), 1234177/1329408 blocks
Resize /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img to 20480M ...
resize2fs 1.46.5 (30-Dec-2021)
Resizing the filesystem on /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img to 5242880 (4k) blocks.
The filesystem on /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img is now 5242880 (4k) blocks long.


[EDGE DEBUG] sudo mount rootfs.img rootfs
[EDGE DEBUG] sudo cp /home/oem/work/rk35xx-linux510/build/scripts/qemu-aarch64-static rootfs/usr/bin
[EDGE DEBUG] sudo cp -rf /home/oem/work/rk35xx-linux510/vendor/common/pre-install /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs/
[EDGE DEBUG] sudo cp -rf /home/oem/work/rk35xx-linux510/rootfs/debian/packages-local /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs/usr/share/
[EDGE DEBUG] sudo cp -rf /home/oem/work/rk35xx-linux510/vendor/rk3588/TB-RK3588X0/pre-install/* /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs/pre-install/
[EDGE DEBUG] sudo mkdir -p etc/chroot; echo "rockchip,rk3588-chroot" | sudo tee etc/chroot/compatible
rockchip,rk3588-chroot
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/scripts/rootfs-install.sh gnome toybrick toybrick TB-RK3588X0 debian 1.1.0 http://repo.rock-chips.com GPG-KEY-ROCKCHIP
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Hit:2 http://repo.rock-chips.com/edge/debian-release-v1.1.0 bullseye InRelease                     
Hit:3 http://repo.rock-chips.com/edge/debian-toybrick bullseye InRelease
Hit:4 http://ftp.cn.debian.org/debian bullseye InRelease               
Reading package lists... Done                                                                                                                                                                                                                                                     
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bluez is already the newest version (5.55-3.1+deb11u1).
cmake is already the newest version (3.18.4-2+deb11u1).
expect is already the newest version (5.45.4-2+b1).
gcc is already the newest version (4:10.2.1-1).
git is already the newest version (1:2.30.2-1+deb11u2).
gnupg is already the newest version (2.2.27-2+deb11u2).
make is already the newest version (4.3-4.1).
net-tools is already the newest version (1.60+git20181103.0eebece-1+deb11u1).
ssh is already the newest version (1:8.4p1-5+deb11u3).
pciutils is already the newest version (1:3.7.0-5).
python3-pip is already the newest version (20.3.4-4+deb11u1).
sudo is already the newest version (1.9.5p2-3+deb11u1).
usbutils is already the newest version (1:013-3).
rfkill is already the newest version (2.36.1-8+deb11u2).
vim is already the newest version (2:8.2.2434-3+deb11u1).
network-manager is already the newest version (1.30.6-2+deb11u1).
The following packages were automatically installed and are no longer required:
  liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
User toybrick already exists, ignore it
syntax on
set mouse=v
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
deb http://repo.rock-chips.com/edge/debian-release-v1.1.0 bullseye main
deb file:/usr/share/packages-local bullseye main
[global]
extra-index-url = http://repo.rock-chips.com/edge/pypi/simple http://pypi.douban.com/simple
trusted-host = repo.rock-chips.com pypi.douban.com
#
# /etc/fstab
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#


/dev/disk/by-partlabel/boot_linux /boot                      ext2     defaults,nofail        1 1
/dev/disk/by-partlabel/userdata /data                      ext4     defaults,nofail        1 1
debian.toybrick
127.0.0.1        localhost debian.toybrick
127.0.1.1        debian.toybrick


# The following lines are desirable for IPv6 capable hosts
::1     localhost debian.toybrick ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
export GDK_BACKEND=wayland
export MOZ_ENABLE_WAYLAND=1
export VK_DRIVER_FILES=/etc/vulkan/icd.d/edge_vk.json
{
  "model": "TB-RK3588X0"
}
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Hit:2 http://repo.rock-chips.com/edge/debian-release-v1.1.0 bullseye InRelease
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Hit:3 http://repo.rock-chips.com/edge/debian-toybrick bullseye InRelease
Hit:4 http://ftp.cn.debian.org/debian bullseye InRelease
Reading package lists... Done                                                                                                                                                                                                                                                     
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
edge-utils is already the newest version (1.1.1-14).
gstreamer1.0-rockchip1 is already the newest version (1.14-8).
recovery is already the newest version (1.0.0-1).
rockchip-isp is already the newest version (1.2.0-3).
rockchip-mali is already the newest version (1.9-10).
toybrick-prop-bin is already the newest version (1.2.0-5).
toybrick-server is already the newest version (2.1.0-10).
toybrick-usbd is already the newest version (1.0.1-6).
toybrick-vendor-bin is already the newest version (1.2.0-2).
vendor-firmware is already the newest version (2.1.0-5).
The following packages were automatically installed and are no longer required:
  liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
toybrick ALL = (root) NOPASSWD:ALL
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
Looking in indexes: https://pypi.org/simple, http://repo.rock-chips.com/edge/pypi/simple, http://pypi.douban.com/simple
Requirement already satisfied: rknn-toolkit-lite2 in /home/toybrick/.local/lib/python3.9/site-packages (2.3.2)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
Collecting rknn-toolkit-lite2
  Using cached rknn_toolkit_lite2-2.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (559 kB)
  Using cached rknn_toolkit_lite2-2.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (559 kB)
Requirement already satisfied: psutil in /home/toybrick/.local/lib/python3.9/site-packages (from rknn-toolkit-lite2) (5.9.4)
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from rknn-toolkit-lite2) (1.19.5)
Requirement already satisfied: ruamel.yaml in /home/toybrick/.local/lib/python3.9/site-packages (from rknn-toolkit-lite2) (0.17.21)
Requirement already satisfied: ruamel.yaml.clib>=0.2.6 in /home/toybrick/.local/lib/python3.9/site-packages (from ruamel.yaml->rknn-toolkit-lite2) (0.2.7)
Parmeter: ostype gnome, user toybrick, password toybrick, model TB-RK3588X0 osname debian relver 1.1.0
Start to run it now ...
[Desktop Entry]
Type=Application
Name=Toybrick Autostart
Comment=Start with toybrick HELP
Exec=gnome-terminal -- /usr/local/bin/toybrick_startup.sh
Add toybrick apt source ...
deb http://repo.rock-chips.com/edge/debian-toybrick bullseye main
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Hit:2 http://repo.rock-chips.com/edge/debian-release-v1.1.0 bullseye InRelease
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]      
Hit:3 http://repo.rock-chips.com/edge/debian-toybrick bullseye InRelease
Hit:4 http://ftp.cn.debian.org/debian bullseye InRelease               
Reading package lists... Done                                                                                                                                                                                                                                                     
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
{
  "model": "TB-RK3588X0",
  "display": {
    "dsi": "off"
  }
}
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 7331 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.cn.debian.org/debian bullseye/main arm64 qemu-system-arm arm64 1:5.2+dfsg-11+deb11u3 [7331 kB]
Fetched 7331 kB in 4s (1898 kB/s)           
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_HK:en",
        LC_ALL = (unset),
        LANG = "en_HK.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 143240 files and directories currently installed.)
Preparing to unpack .../qemu-system-arm_1%3a5.2+dfsg-11+deb11u3_arm64.deb ...
Unpacking qemu-system-arm (1:5.2+dfsg-11+deb11u3) over (1:5.2+dfsg-11+deb11u3) ...
Setting up qemu-system-arm (1:5.2+dfsg-11+deb11u3) ...
Processing triggers for man-db (2.9.4-2) ...
libgbm.so.1.0.0
/
libgbm.so.1.0.0
cp: cannot stat 'libGLESv1_CM.so.1.2.0': No such file or directory
libgbm.so.1.0.0
[User]
Session=
XSession=ubuntu-wayland
Icon=/home/toybrick/.face
SystemAccount=false


[InputSource0]
xkb=us
/
/usr/lib/aarch64-linux-gnu
/usr/lib
/usr/lib
Edge Release V1.1.0
[EDGE DEBUG] sudo rm -rf pre-install var/log/* root/.bash_history home/toybrick/.bash_history etc/chroot
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/scripts/kill_qemu.sh
[EDGE DEBUG] sudo umount rootfs/dev
umount: rootfs/dev: not mounted.
[EDGE DEBUG] sudo umount rootfs
[EDGE DEBUG] rm -rf rootfs
[EDGE INFO] Resize root.img to 5193M
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/scripts/resize.sh /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img 5193M
e2fsck 1.46.5 (30-Dec-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img: 158541/1310720 files (0.9% non-contiguous), 1295538/5242880 blocks
Resize /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img to 5193M ...
resize2fs 1.46.5 (30-Dec-2021)
Resizing the filesystem on /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img to 1329408 (4k) blocks.
The filesystem on /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img is now 1329408 (4k) blocks long.


[EDGE INFO] Build rootfs successfully!
[EDGE DEBUG] Start build update ...
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/bin/afptool -pack . update.img.tmp
Android Firmware Package Tool v2.0
------ PACKAGE ------
Add file: ./package-file
package-file,Add file: ./package-file done,offset=0x800,size=0xc5,userspace=0x1
Add file: ./parameter.txt
parameter,Add file: ./parameter.txt done,offset=0x1000,size=0x1e5,userspace=0x1
Add file: ./MiniLoaderAll.bin
bootloader,Add file: ./MiniLoaderAll.bin done,offset=0x1800,size=0x771c0,userspace=0xef
Add file: ./uboot.img
uboot,Add file: ./uboot.img done,offset=0x79000,size=0x400000,userspace=0x800
Add file: ./misc.img
misc,Add file: ./misc.img done,offset=0x479000,size=0xc000,userspace=0x18
Add file: ./boot_linux.img
boot_linux,Add file: ./boot_linux.img done,offset=0x485000,size=0x4000000,userspace=0x8000
Add file: ./recovery.img
recovery,Add file: ./recovery.img done,offset=0x4485000,size=0x3f35000,userspace=0x7e6a
Add file: ./resource.img
resource,Add file: ./resource.img done,offset=0x83ba000,size=0x4e600,userspace=0x9d
Add file: ./rootfs.img
rootfs,Add file: ./rootfs.img done,offset=0x8408800,size=0x144900000,userspace=0x289200
Add CRC...
Make firmware OK!
------ OK ------
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/bin/rkImageMaker -rk3588 MiniLoaderAll.bin update.img.tmp update.img -os_type:androidos
********rkImageMaker ver 2.0********
Generating new image, please wait...
Writing head info...
Writing boot file...
Writing firmware...
Generating MD5 data...
MD5 data generated successfully!
New image generated successfully!
[EDGE DEBUG] rm -rf update.img.tmp package-file
[EDGE INFO] Build update successfully!
[EDGE INFO] Build all successfully!
oem@he:~/work/rk35xx-linux510 (master)$



作者: helianyi    时间: 2026-4-17 17:50
addy 发表于 2026-4-17 17:12
1. 一一替换可以正常起来的镜像,确认是哪个镜像出问题了。
2. 提供完整的编译LOG,确认是哪个报错了。
3.  ...

附件上传完成!成功 0 个,失败 1 个:
rk3588-log.zip: 服务器限制无法上传那么大的附件
log无法上传,我的log只有45KB
44.6 KB (45,737 字节)

作者: helianyi    时间: 2026-4-17 18:14
toybrick 发表于 2026-4-17 17:09
启动LOG发出来

hi rk:
我log附件无法上传,我的附件是zip,大小只有45KB
作者: helianyi    时间: 2026-4-17 18:19
addy 发表于 2026-4-17 17:12
1. 一一替换可以正常起来的镜像,确认是哪个镜像出问题了。
2. 提供完整的编译LOG,确认是哪个报错了。
3.  ...

hi rk:
更换源码编译出来的boot_linux.img  后就无法显示,风扇也不转
作者: helianyi    时间: 2026-4-20 09:54
DDR 9fa84341ce typ 24/09/06-09:51:11,fwver: v1.18
ch0 ttot10
ch1 ttot10
ch2 ttot10
ch3 ttot10
ch0 ttot16
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS=1 Die BW=16 Size=2048MB
ch1 ttot16
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS=1 Die BW=16 Size=2048MB
ch2 ttot16
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS=1 Die BW=16 Size=2048MB
ch3 ttot16
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS=1 Die BW=16 Size=2048MB
Manufacturer ID:0x13
DQS rds:h2,h1
CH0 RX Vref:30.1%, TX Vref:22.8%,0.0%
DQ rds:h2 h2 h2 h2 h2 h2 l0 h3, h1 h3 h1 l0 h1 h5 h1 h3

DQS rds:l0,l0
CH1 RX Vref:30.5%, TX Vref:23.8%,0.0%
DQ rds:h3 h1 h4 h3 h1 h2 h1 h3, h1 l0 h4 h2 h6 h1 h3 l0

DQS rds:l0,h1
CH2 RX Vref:30.5%, TX Vref:23.8%,0.0%
DQ rds:h4 l0 h4 h5 h2 h2 l0 h4, h3 l0 l1 h5 h1 h2 h1 h4

DQS rds:h1,h1
CH3 RX Vref:30.1%, TX Vref:21.8%,0.0%
DQ rds:h1 h1 h1 l0 h2 h1 h3 h2, h3 h1 h2 h3 h1 h1 h5 h2

stride=0x2, ddr_config=0x0
hash ch_mask0-1 0x20 0x40, bank_mask0-3 0xa00 0x1400 0x2800 0x0, rank_mask0 0x0
change to F1: 528MHz
ch0 ttot10
ch1 ttot10
ch2 ttot10
ch3 ttot10
change to F2: 1068MHz
ch0 ttot12
ch1 ttot12
ch2 ttot12
ch3 ttot12
change to F3: 1560MHz
ch0 ttot14
ch1 ttot14
ch2 ttot14
ch3 ttot14
change to F0: 2112MHz
ch0 ttot16
ch1 ttot16
ch2 ttot16
ch3 ttot16
out
U-Boot SPL board init
U-Boot SPL 2017.09-ge4e124926e-230922 #lxh (Sep 25 2023 - 10:58:38), fwver: v1.13
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 0x2000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 (gzip @0x00240000) ... sha256(a650463079...) + sha256(6a4a192c10...) + OK
## Checking uboot 0x00200000 (gzip @0x00400000) ... sha256(26dab99203...) + sha256(b87fb4b7b8...) + OK
## Checking fdt 0x0034e810 ... sha256(a434b1c4fe...) + OK
## Checking atf-2 0xff100000 ... sha256(70505bb764...) + OK
## Checking atf-3 0x000f0000 ... sha256(569ee96047...) + OK
## Checking optee 0x08400000 (gzip @0x08600000) ... sha256(80a9cb849a...) + sha256(66e4b7a4cd...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 97.927/266.503 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-831-g92b1674a5:derrick.huang, fwver: v1.47
NOTICE:  BL31: Built : 16:18:39, Sep  4 2024
INFO:    spec: 0x1
INFO:    code: 0x88
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= 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:    BL31: Initialising Exception Handling Framework
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
I/TC:
I/TC: OP-TEE version: 3.13.0-860-g6c78a7d8c #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Mon Sep  2 14:08:41 CST 2024 aarch64, fwver: v1.17
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 = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Apr 17 2026 - 17:28:29 +0800)

Model: Rockchip RK3588 Evaluation Board
MPIDR: 0x0
PreSerial: 2, raw, 0xfeb50000
DRAM:  8 GiB
Sysmem: init
Relocation Offset: eda0f000
Relocation fdt: eb9fa4e0 - eb9fecd0
CR: M/C/I
Using default environment

DM: v2
mmc@fe2c0000: 1, mmc@fe2e0000: 0
Bootdev(atags): mmc 0
MMC0: HS400 Enhanced Strobe, 200Mhz
PartType: EFI
283121 bytes read in 10 ms (27 MiB/s)
DTB(Distro): /extlinux/toybrick.dtb
boot mode: None
usb dr_mode not found
usb dr_mode not found
I2c0 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big0_s0 800000 uV
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big1_s0 800000 uV
I2c2 speed: 400000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_npu_s0 800000 uV
spi2: RK806: 2
ON=0x40, OFF=0x00
vdd_gpu_s0 750000 uV
vdd_cpu_lit_s0 750000 uV
vdd_log_s0 750000 uV
vdd_vdenc_s0 init 750000 uV
vdd_ddr_s0 850000 uV
Device 'gpio@fd8a0000': seq 0 is in use by 'gpio@fd8a0000'
Device 'gpio@fec20000': seq 1 is in use by 'gpio@fd8a0000'
Model: Rockchip RK3588 TOYBRICK X10 Board
Minidump: init...
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 786431 KHz
  cpll 1500000 KHz
  gpll 1188000 KHz
  npll 850000 KHz
  ppll 1100000 KHz
  aclk_center_root 702000 KHz
  pclk_center_root 100000 KHz
  hclk_center_root 396000 KHz
  aclk_center_low_root 500000 KHz
  aclk_top_root 750000 KHz
  pclk_top_root 100000 KHz
  aclk_low_top_root 396000 KHz
Net:   eth0: ethernet@fe1b0000
Hit key to stop autoboot('CTRL+C'):  0
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
android_image_load_by_partname: Can't find part: boot
Android image load failed
Android boot failed, error -1.
## Booting FIT Image FIT: No boot partition
FIT: No fit blob
FIT: No FIT image
Unknown command 'bootrkp' - try 'help'
MMC: no card present
mmc_init: -123, time 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:4...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
205 bytes read in 4 ms (49.8 KiB/s)
1:      rockchip-kernel-5.10
Retrieving file: /extlinux/Image
33829376 bytes read in 141 ms (228.8 MiB/s)
append: earlycon=uart8250,mmio32,0xfeb50000 root=PARTUUID=614e0000-0000-4b53-8000-1d28000054a9 rw rootwait rootfstype=ext4
Retrieving file: /extlinux/toybrick.dtb
283121 bytes read in 5 ms (54 MiB/s)
Fdt Ramdisk skip relocation
## Flattened Device Tree blob at 0x08300000
   Booting using the fdt blob at 0x08300000
   Using Device Tree in place at 0000000008300000, end 00000000083481f0
## reserved-memory:
  cma: addr=10000000 size=8000000
  ramoops@110000: addr=110000 size=e0000
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Adding bank: 0x2f0000000 - 0x300000000 (size: 0x10000000)
Total: 468.305/810.749 ms

Starting kernel ...
作者: addy    时间: 2026-4-20 11:17
确认,你的镜像起不来只和boot_linux.img。
那就是内核又问题,将你编译出来的boot_linux.img和可以正常起来的boot_linux.img的镜像,分别挂在到boot_fail和boot_ok目录,然后一一替换着两个目录下的镜像,确认是dtb还是Image出错了。
替换后,记得umount!




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3