20240522分步骤编译RK3588S平台的Buildroot
2024/5/22 20:03
自带的摄像头预览:
gst-launch-1.0 v4l2src device=/dev/video22 ! video/x-raw, format=NV12, width=1920,height=1080, framerate=30/1 ! waylandsink
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ ll *.tgz
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ md5sum repo_RK3588_Buildroot20240508_1648.tgz
9d6c718b58d2a7b125dd48475ee7d052 repo_RK3588_Buildroot20240508_1648.tgz
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ time tar --use-compress-program=pigz -xvpf repo_RK3588_Buildroot20240508_1648.tgz
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ cd repo_RK3588_Buildroot20240508
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh --help
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh lunch
Log colors: message notice warning error fatal
Log saved at /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_15-39-28
Pick a defconfig:
1. rockchip_defconfig
2. rockchip_rk3588_evb1_lp4_v10_defconfig
3. rockchip_rk3588_evb7_v11_defconfig
4. rockchip_rk3588s_evb1_lp4x_v10_defconfig
Which would you like? [1]: 4
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh uboot
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh kernel
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh rootfs
【可选,RK3588平台完整编译Buildroot的时候会编译recovery】
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh recovery
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh updateimg
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ find . -name rootfs.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ find . -name recovery.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
详细的LOG:
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ ll *.tgz
-rw-rw-r-- 1 viewpro viewpro 9346031549 5月 17 15:54 R3_OK3588_Linux_fs_1553.tgz
-rw-rw-r-- 1 viewpro viewpro 21622469576 5月 18 10:09 repo1_RK3588_V1.43.tgz
-rw-rw-r-- 1 viewpro viewpro 7218952227 5月 20 16:50 repo_RK3588_Buildroot20240508_1648.tgz
-rw-rw-r-- 1 viewpro viewpro 12085160197 5月 18 16:17 RK3588_20230810_1616.tgz
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ md5sum repo_RK3588_Buildroot20240508_1648.tgz
9d6c718b58d2a7b125dd48475ee7d052 repo_RK3588_Buildroot20240508_1648.tgz
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ time tar --use-compress-program=pigz -xvpf repo_RK3588_Buildroot20240508_1648.tgz
repo_RK3588_Buildroot20240508/
repo_RK3588_Buildroot20240508/device/
repo_RK3588_Buildroot20240508/device/rockchip/
repo_RK3588_Buildroot20240508/device/rockchip/.chips/
repo_RK3588_Buildroot20240508/device/rockchip/.chips/rk3588/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh uboot
Log colors: message notice warning error fatal
Log saved at /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_15-39-20
WARN: /home/viewpro/repo_RK3588_Buildroot20240508/output/defconfig not exists
Pick a defconfig:
1. rockchip_defconfig
2. rockchip_rk3588_evb1_lp4_v10_defconfig
3. rockchip_rk3588_evb7_v11_defconfig
4. rockchip_rk3588s_evb1_lp4x_v10_defconfig
Which would you like? [1]: ^C
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh lunch
Log colors: message notice warning error fatal
Log saved at /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_15-39-28
Pick a defconfig:
1. rockchip_defconfig
2. rockchip_rk3588_evb1_lp4_v10_defconfig
3. rockchip_rk3588_evb7_v11_defconfig
4. rockchip_rk3588s_evb1_lp4x_v10_defconfig
Which would you like? [1]: 4
Switching to defconfig: /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/rockchip_rk3588s_evb1_lp4x_v10_defconfig
mkdir -p /home/viewpro/repo_RK3588_Buildroot20240508/output/kconf/lxdialog
make CC="gcc" HOSTCC="gcc" \
obj=/home/viewpro/repo_RK3588_Buildroot20240508/output/kconf -C /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/common/kconfig -f Makefile.br conf
make[1]: Entering directory '/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/common/kconfig'
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/output/kconf -DCONFIG_=\"\" -MM *.c > /home/viewpro/repo_RK3588_Buildroot20240508/output/kconf/.depend 2>/dev/null || :
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/output/kconf -DCONFIG_=\"\" -c conf.c -o /home/viewpro/repo_RK3588_Buildroot20240508/output/kconf/conf.o
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/output/kconf -DCONFIG_=\"\" -I. -c /home/viewpro/repo_RK3588_Buildroot20240508/output/kconf/zconf.tab.c -o /home/viewpro/repo_RK3588_Buildroot20240508/output/kconf/zconf.tab.o
gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/output/kconf -DCONFIG_=\"\" /home/viewpro/repo_RK3588_Buildroot20240508/output/kconf/conf.o /home/viewpro/repo_RK3588_Buildroot20240508/output/kconf/zconf.tab.o -o /home/viewpro/repo_RK3588_Buildroot20240508/output/kconf/conf
rm /home/viewpro/repo_RK3588_Buildroot20240508/output/kconf/zconf.tab.c
make[1]: Leaving directory '/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/common/kconfig'
#
# configuration written to /home/viewpro/repo_RK3588_Buildroot20240508/output/.config
#
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh uboot
Log colors: message notice warning error fatal
Log saved at /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_15-39-38
==========================================
Final configs
==========================================
RK_BOOT_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot.its
RK_BOOT_IMG=boot.img
RK_BUILDROOT=y
RK_BUILDROOT_CFG=rockchip_rk3588
RK_CHIP=rk3588s
RK_CHIP_FAMILY=rk3588
RK_DEBIAN=y
RK_DEBIAN_ARCH=arm64
RK_DEBIAN_BULLSEYE=y
RK_DEBIAN_VERSION=bullseye
RK_DEFCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chips/rk3588/rockchip_rk3588s_evb1_lp4x_v10_defconfig
RK_EXTRA_PARTITION_NUM=2
RK_EXTRA_PARTITION_STR=oem:oem:/oem:ext4:defaults:normal:auto:@userdata:userdata:/userdata:ext4:defaults:normal:auto:@@@
RK_KERNEL=y
RK_KERNEL_ARCH=arm64
RK_KERNEL_CFG=rockchip_linux_defconfig
RK_KERNEL_CFG_FRAGMENTS=rk3588_linux.config
RK_KERNEL_DTB=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dtb
RK_KERNEL_DTS=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dts
RK_KERNEL_IMG=kernel/arch/arm64/boot/Image
RK_KERNEL_KBUILD_ARCH=host
RK_KERNEL_VERSION=5.10
RK_KERNEL_VERSION_REAL=5.10
RK_LOADER=y
RK_MISC=y
RK_MISC_BLANK=y
RK_OWNER=viewpro
RK_OWNER_UID=1000
RK_PARAMETER=parameter.txt
RK_RECOVERY=y
RK_RECOVERY_CFG=rockchip_rk3588_recovery
RK_RECOVERY_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot4recovery.its
RK_RECOVERY_INITRD_TYPE=cpio.gz
RK_ROOTFS=y
RK_ROOTFS_ASYNC_COMMIT=y
RK_ROOTFS_DEBUG_INFO=y
RK_ROOTFS_IRQBALANCE=y
RK_ROOTFS_OVERLAY=y
RK_ROOTFS_STRIP_MODULES=y
RK_ROOTFS_SYSTEM=buildroot
RK_ROOTFS_TYPE=ext4
RK_ROOTFS_UDEV_RULES=y
RK_SAVE_TRACKED=y
RK_SESSION=2024-05-22_15-39-38
RK_UBOOT_ARCH=arm64
RK_UBOOT_CFG=rk3588
RK_UPDATE=y
RK_USB_ADBD=y
RK_USB_ADBD_BASH=y
RK_USB_ADBD_TCP_PORT=5555
RK_USE_FIT_IMG=y
RK_WIFIBT_CHIP=ALL_AP
RK_YOCTO=y
RK_YOCTO_CHROMIUM=y
RK_YOCTO_DISPLAY_PLATFORM=wayland
RK_YOCTO_MACHINE=rockchip-rk3588-evb
RK_YOCTO_USBMOUNT=y
Toolchain for loader (U-Boot):
/home/viewpro/repo_RK3588_Buildroot20240508/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
==========================================
Start building uboot
==========================================
+ cd u-boot
+ ./make.sh CROSS_COMPILE=/home/viewpro/repo_RK3588_Buildroot20240508/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- rk3588
grep: .config: No such file or directory
grep: .config: No such file or directory
## make rk3588_defconfig -j40
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2468:
scripts/kconfig/confdata.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:771:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
771 | sprintf(newname, "%s%s", dirname, basename);
| ^~~~~~
scripts/kconfig/confdata.c:771:19: note: assuming directive output of 7 bytes
In file included from /usr/include/stdio.h:867,
from scripts/kconfig/zconf.tab.c:82:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 4104) into a destination of size 4097
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from scripts/kconfig/zconf.tab.c:2468:
scripts/kconfig/confdata.c:774:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from scripts/kconfig/zconf.tab.c:82:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 4119 bytes into a destination of size 4097
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD 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 tpl/include/autoconf.mk
GEN spl/include/autoconf.mk
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
CC spl/drivers/mtd/nand/spi/biwin.o
CC spl/drivers/mtd/nand/spi/etron.o
LD spl/drivers/pinctrl/rockchip/built-in.o
CC spl/drivers/mtd/nand/spi/jsc.o
CC spl/drivers/mtd/nand/spi/silicongo.o
CC spl/drivers/mtd/nand/spi/unim.o
CC spl/drivers/mtd/nand/spi/skyhigh.o
CC spl/drivers/mtd/nand/spi/gsto.o
CC spl/drivers/mtd/nand/spi/core.o
LD spl/drivers/mmc/built-in.o
LD spl/drivers/spi/built-in.o
LD spl/drivers/serial/built-in.o
LD spl/drivers/core/built-in.o
LD spl/drivers/mtd/spi/spi-nor.o
LD spl/drivers/mtd/spi/built-in.o
LD spl/drivers/pinctrl/built-in.o
LD spl/drivers/mtd/nand/spi/spinand.o
LD spl/drivers/mtd/nand/spi/built-in.o
LD spl/drivers/mtd/nand/built-in.o
LD spl/drivers/mtd/built-in.o
LD spl/drivers/built-in.o
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/viewpro/repo_RK3588_Buildroot20240508/rkbin/RKTRUST/RK3588TRUST.ini
FIT description: FIT Image with ATF/OP-TEE/U-Boot/MCU
Created: Wed May 22 15:39:49 2024
Image 0 (uboot)
Description: U-Boot
Created: Wed May 22 15:39:49 2024
Type: Standalone Program
Compression: uncompressed
Data Size: 1332368 Bytes = 1301.14 KiB = 1.27 MiB
Architecture: AArch64
Load Address: 0x00200000
Entry Point: unavailable
Hash algo: sha256
Hash value: a9dd6c4c45338a83d77b82a94f42b5c335be9407cebf0b4495a887966bd4d796
Image 1 (atf-1)
Description: ARM Trusted Firmware
Created: Wed May 22 15:39:49 2024
Type: Firmware
Compression: uncompressed
Data Size: 200124 Bytes = 195.43 KiB = 0.19 MiB
Architecture: AArch64
Load Address: 0x00040000
Hash algo: sha256
Hash value: 2e8446f9694b589b5581484af3308507cbea18dbe4ff5cbd12ec307168883955
Image 2 (atf-2)
Description: ARM Trusted Firmware
Created: Wed May 22 15:39:49 2024
Type: Firmware
Compression: uncompressed
Data Size: 36864 Bytes = 36.00 KiB = 0.04 MiB
Architecture: AArch64
Load Address: 0xff100000
Hash algo: sha256
Hash value: 9f75e6ec37eb0f00d4c9e7737e99d7583b5ef5ef42daa1e0a622b469ba0894b6
Image 3 (atf-3)
Description: ARM Trusted Firmware
Created: Wed May 22 15:39:49 2024
Type: Firmware
Compression: uncompressed
Data Size: 24576 Bytes = 24.00 KiB = 0.02 MiB
Architecture: AArch64
Load Address: 0x000f0000
Hash algo: sha256
Hash value: c80587de5084f2c5ad96078e235a728080e6fadbfdd182c756f4a5c7f859f8dd
Image 4 (optee)
Description: OP-TEE
Created: Wed May 22 15:39:49 2024
Type: Firmware
Compression: uncompressed
Data Size: 465312 Bytes = 454.41 KiB = 0.44 MiB
Architecture: AArch64
Load Address: 0x08400000
Hash algo: sha256
Hash value: 4b2d406bfcf3aaed41877fd2356ac694a808f6788e9ec2545742fd2911ef5d5d
Image 5 (fdt)
Description: U-Boot dtb
Created: Wed May 22 15:39:49 2024
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.34********
Info:Pack loader ok.
pack loader okay! Input: /home/viewpro/repo_RK3588_Buildroot20240508/rkbin/RKBOOT/RK3588MINIALL.ini
/home/viewpro/repo_RK3588_Buildroot20240508/u-boot
Image(no-signed, version=0): uboot.img (FIT with uboot, trust...) is ready
Image(no-signed): rk3588_spl_loader_v1.15.113.bin (with spl, ddr...) is ready
pack uboot.img okay! Input: /home/viewpro/repo_RK3588_Buildroot20240508/rkbin/RKTRUST/RK3588TRUST.ini
Platform RK3588 is build OK, with new .config(make rk3588_defconfig -j40)
/home/viewpro/repo_RK3588_Buildroot20240508/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
Wed May 22 15:39:49 CST 2024
+ cd ..
Running 70-loader.sh - build_uboot succeeded.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh kernel
Log colors: message notice warning error fatal
Log saved at /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_15-41-11
==========================================
Final configs
==========================================
RK_BOOT_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot.its
RK_BOOT_IMG=boot.img
RK_BUILDROOT=y
RK_BUILDROOT_CFG=rockchip_rk3588
RK_CHIP=rk3588s
RK_CHIP_FAMILY=rk3588
RK_DEBIAN=y
RK_DEBIAN_ARCH=arm64
RK_DEBIAN_BULLSEYE=y
RK_DEBIAN_VERSION=bullseye
RK_DEFCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chips/rk3588/rockchip_rk3588s_evb1_lp4x_v10_defconfig
RK_EXTRA_PARTITION_NUM=2
RK_EXTRA_PARTITION_STR=oem:oem:/oem:ext4:defaults:normal:auto:@userdata:userdata:/userdata:ext4:defaults:normal:auto:@@@
RK_KERNEL=y
RK_KERNEL_ARCH=arm64
RK_KERNEL_CFG=rockchip_linux_defconfig
RK_KERNEL_CFG_FRAGMENTS=rk3588_linux.config
RK_KERNEL_DTB=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dtb
RK_KERNEL_DTS=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dts
RK_KERNEL_IMG=kernel/arch/arm64/boot/Image
RK_KERNEL_KBUILD_ARCH=host
RK_KERNEL_VERSION=5.10
RK_KERNEL_VERSION_REAL=5.10
RK_LOADER=y
RK_MISC=y
RK_MISC_BLANK=y
RK_OWNER=viewpro
RK_OWNER_UID=1000
RK_PARAMETER=parameter.txt
RK_RECOVERY=y
RK_RECOVERY_CFG=rockchip_rk3588_recovery
RK_RECOVERY_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot4recovery.its
RK_RECOVERY_INITRD_TYPE=cpio.gz
RK_ROOTFS=y
RK_ROOTFS_ASYNC_COMMIT=y
RK_ROOTFS_DEBUG_INFO=y
RK_ROOTFS_IRQBALANCE=y
RK_ROOTFS_OVERLAY=y
RK_ROOTFS_STRIP_MODULES=y
RK_ROOTFS_SYSTEM=buildroot
RK_ROOTFS_TYPE=ext4
RK_ROOTFS_UDEV_RULES=y
RK_SAVE_TRACKED=y
RK_SESSION=2024-05-22_15-41-11
RK_UBOOT_ARCH=arm64
RK_UBOOT_CFG=rk3588
RK_UPDATE=y
RK_USB_ADBD=y
RK_USB_ADBD_BASH=y
RK_USB_ADBD_TCP_PORT=5555
RK_USE_FIT_IMG=y
RK_WIFIBT_CHIP=ALL_AP
RK_YOCTO=y
RK_YOCTO_CHROMIUM=y
RK_YOCTO_DISPLAY_PLATFORM=wayland
RK_YOCTO_MACHINE=rockchip-rk3588-evb
RK_YOCTO_USBMOUNT=y
Toolchain for kernel:
/home/viewpro/repo_RK3588_Buildroot20240508/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
==========================================
Start building kernel
==========================================
+ make -C /home/viewpro/repo_RK3588_Buildroot20240508/kernel/ -j21 CROSS_COMPILE=/home/viewpro/repo_RK3588_Buildroot20240508/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=arm64 rockchip_linux_defconfig rk3588_linux.config
make: Entering directory '/home/viewpro/repo_RK3588_Buildroot20240508/kernel'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
Using .config as base
Merging ./arch/arm64/configs/rk3588_linux.config
Value of CONFIG_BCMDHD_PCIE is redefined by fragment ./arch/arm64/configs/rk3588_linux.config:
Previous value: # CONFIG_BCMDHD_PCIE is not set
New value: CONFIG_BCMDHD_PCIE=y
Value of CONFIG_MALI_CSF_SUPPORT is redefined by fragment ./arch/arm64/configs/rk3588_linux.config:
Previous value: # CONFIG_MALI_CSF_SUPPORT is not set
New value: CONFIG_MALI_CSF_SUPPORT=y
#
# merged configuration written to .config (needs make)
#
.config:7203:warning: override: BCMDHD_PCIE changes choice state
#
# configuration written to .config
#
make: Leaving directory '/home/viewpro/repo_RK3588_Buildroot20240508/kernel'
+ make -C /home/viewpro/repo_RK3588_Buildroot20240508/kernel/ -j21 CROSS_COMPILE=/home/viewpro/repo_RK3588_Buildroot20240508/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=arm64 rk3588s-evb1-lp4x-v10-linux.img
make: Entering directory '/home/viewpro/repo_RK3588_Buildroot20240508/kernel'
SYNC include/config/auto.conf.cmd
UPD include/config/kernel.release
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/data.o
WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
WRAP arch/arm64/include/generated/uapi/asm/errno.h
WRAP arch/arm64/include/generated/uapi/asm/ioctl.h
HOSTCC scripts/dtc/srcpos.o
WRAP arch/arm64/include/generated/uapi/asm/ioctls.h
HOSTCC scripts/dtc/checks.o
WRAP arch/arm64/include/generated/uapi/asm/ipcbuf.h
HOSTCC scripts/dtc/util.o
WRAP arch/arm64/include/generated/uapi/asm/msgbuf.h
LEX scripts/dtc/dtc-lexer.lex.c
WRAP arch/arm64/include/generated/uapi/asm/poll.h
WRAP arch/arm64/include/generated/uapi/asm/resource.h
YACC scripts/dtc/dtc-parser.tab.[ch]
WRAP arch/arm64/include/generated/uapi/asm/sembuf.h
WRAP arch/arm64/include/generated/uapi/asm/shmbuf.h
WRAP arch/arm64/include/generated/uapi/asm/siginfo.h
WRAP arch/arm64/include/generated/uapi/asm/socket.h
WRAP arch/arm64/include/generated/uapi/asm/sockios.h
WRAP arch/arm64/include/generated/uapi/asm/stat.h
WRAP arch/arm64/include/generated/uapi/asm/swab.h
WRAP arch/arm64/include/generated/uapi/asm/termbits.h
WRAP arch/arm64/include/generated/uapi/asm/termios.h
UPD include/generated/uapi/linux/version.h
LD [M] drivers/media/tuners/mt2060.ko
LD [M] drivers/media/tuners/mt2063.ko
LD [M] drivers/media/tuners/mt20xx.ko
LD [M] drivers/media/tuners/mt2131.ko
LD [M] drivers/media/tuners/mt2266.ko
LD [M] drivers/media/tuners/mxl301rf.ko
LD [M] drivers/media/tuners/mxl5005s.ko
LD [M] drivers/media/tuners/mxl5007t.ko
LD [M] drivers/media/tuners/qm1d1b0004.ko
LD [M] drivers/media/tuners/qm1d1c0042.ko
LD [M] drivers/media/tuners/qt1010.ko
LD [M] drivers/media/tuners/r820t.ko
LD [M] drivers/media/tuners/tda18212.ko
LD [M] drivers/media/tuners/si2157.ko
LD [M] drivers/media/tuners/tda18218.ko
LD [M] drivers/media/tuners/tda18250.ko
LD [M] drivers/media/tuners/tda18271.ko
LD [M] drivers/media/tuners/tda827x.ko
LD [M] drivers/media/tuners/tda8290.ko
LD [M] drivers/media/tuners/tda9887.ko
LD [M] drivers/media/tuners/tea5761.ko
LD [M] drivers/media/tuners/tea5767.ko
LD [M] drivers/media/tuners/tua9001.ko
LD [M] drivers/media/tuners/tuner-simple.ko
LD [M] drivers/media/tuners/tuner-xc2028.ko
LD [M] drivers/media/tuners/xc4000.ko
LD [M] drivers/media/tuners/tuner-types.ko
LD [M] drivers/media/tuners/xc5000.ko
LD [M] drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmdhd.ko
LD [M] drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_static_buf.ko
Image: resource.img (with rk3588s-evb1-lp4x-v10-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
make: Leaving directory '/home/viewpro/repo_RK3588_Buildroot20240508/kernel'
+ /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/common/scripts/mk-fitimage.sh kernel/boot.img /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot.its kernel/arch/arm64/boot/Image kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dtb kernel/resource.img
FIT description: U-Boot FIT source file for arm
Created: Wed May 22 15:45:21 2024
Image 0 (fdt)
Description: unavailable
Created: Wed May 22 15:45:21 2024
Type: Flat Device Tree
Compression: uncompressed
Data Size: 262743 Bytes = 256.58 KiB = 0.25 MiB
Architecture: AArch64
Load Address: 0xffffff00
Hash algo: sha256
Hash value: df5a7c5af3d0890cc3c787ad59ee4458ff1679319564d603980ec0569b228eec
Image 1 (kernel)
Description: unavailable
Created: Wed May 22 15:45:21 2024
Type: Kernel Image
Compression: uncompressed
Data Size: 36751872 Bytes = 35890.50 KiB = 35.05 MiB
Architecture: AArch64
OS: Linux
Load Address: 0xffffff01
Entry Point: 0xffffff01
Hash algo: sha256
Hash value: 601a91d905fb139246fdee1588456437e534ca178de73c240696ea0cd7e59789
Image 2 (resource)
Description: unavailable
Created: Wed May 22 15:45:21 2024
Type: Multi-File Image
Compression: uncompressed
Data Size: 301056 Bytes = 294.00 KiB = 0.29 MiB
Hash algo: sha256
Hash value: d17a34ab68bc1dd1ed480d674d1d7473acefa1e72ecf694b626934928e18bab0
Default Configuration: 'conf'
Configuration 0 (conf)
Description: unavailable
Kernel: kernel
FDT: fdt
+ ln -rsf kernel/boot.img /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/boot.img
Not Found io-domains in kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dts
Running 10-kernel.sh - build_kernel succeeded.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh kernel^C
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ll
total 64
drwxrwxr-x 16 viewpro viewpro 4096 5月 22 15:38 ./
drwxr-xr-x 37 viewpro viewpro 4096 5月 22 15:37 ../
drwxrwxr-x 4 viewpro viewpro 4096 5月 20 16:26 app/
drwxrwxr-x 17 viewpro viewpro 4096 5月 20 16:48 buildroot/
lrwxrwxrwx 1 viewpro viewpro 39 5月 20 16:26 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 viewpro viewpro 22 5月 22 15:38 common -> device/rockchip/common/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:26 debian/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 device/
drwxrwxr-x 6 viewpro viewpro 4096 5月 20 16:26 docs/
drwxrwxr-x 27 viewpro viewpro 4096 5月 20 16:27 external/
drwxrwxr-x 26 viewpro viewpro 4096 5月 22 15:45 kernel/
lrwxrwxrwx 1 viewpro viewpro 31 5月 20 16:26 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 5 viewpro viewpro 4096 5月 22 15:41 output/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 prebuilts/
lrwxrwxrwx 1 viewpro viewpro 32 5月 22 15:38 README.md -> device/rockchip/common/README.md
drwxrwxr-x 9 viewpro viewpro 4096 5月 22 15:39 rkbin/
lrwxrwxrwx 1 viewpro viewpro 41 5月 20 16:26 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 tools/
drwxrwxr-x 27 viewpro viewpro 4096 5月 22 15:39 u-boot/
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 uefi/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:27 yocto/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ cd u-boot/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/u-boot$ ll
total 28108
drwxrwxr-x 27 viewpro viewpro 4096 5月 22 15:39 ./
drwxrwxr-x 16 viewpro viewpro 4096 5月 22 15:38 ../
drwxrwxr-x 2 viewpro viewpro 4096 5月 20 16:27 api/
drwxrwxr-x 14 viewpro viewpro 4096 5月 20 16:27 arch/
-rw-rw-r-- 1 viewpro viewpro 200124 5月 22 15:39 bl31_0x00040000.bin
-rw-rw-r-- 1 viewpro viewpro 24576 5月 22 15:39 bl31_0x000f0000.bin
-rw-rw-r-- 1 viewpro viewpro 36864 5月 22 15:39 bl31_0xff100000.bin
-rw-rw-r-- 1 viewpro viewpro 430880 5月 22 15:39 bl31.elf
drwxrwxr-x 181 viewpro viewpro 4096 5月 20 16:27 board/
-rw-rw-r-- 1 viewpro viewpro 155 5月 22 15:39 .cc
-rw-rw-r-- 1 viewpro viewpro 610 5月 20 16:27 .checkpatch.conf
drwxrwxr-x 5 viewpro viewpro 12288 5月 22 15:39 cmd/
drwxrwxr-x 6 viewpro viewpro 12288 5月 22 15:39 common/
-rw-rw-r-- 1 viewpro viewpro 43658 5月 22 15:39 .config
-rw-rw-r-- 1 viewpro viewpro 2260 5月 20 16:27 config.mk
drwxrwxr-x 2 viewpro viewpro 90112 5月 20 16:27 configs/
drwxrwxr-x 2 viewpro viewpro 4096 5月 22 15:39 disk/
drwxrwxr-x 10 viewpro viewpro 12288 5月 20 16:27 doc/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:27 Documentation/
drwxrwxr-x 58 viewpro viewpro 4096 5月 22 15:39 drivers/
drwxrwxr-x 2 viewpro viewpro 4096 5月 22 15:39 dts/
drwxrwxr-x 2 viewpro viewpro 4096 5月 22 15:39 env/
drwxrwxr-x 4 viewpro viewpro 4096 5月 20 16:27 examples/
drwxrwxr-x 2 viewpro viewpro 4096 5月 22 15:39 fit/
drwxrwxr-x 12 viewpro viewpro 4096 5月 22 15:39 fs/
lrwxrwxrwx 1 viewpro viewpro 28 5月 20 16:27 .git -> ../.repo/projects/u-boot.git
-rw-rw-r-- 1 viewpro viewpro 859 5月 20 16:27 .gitignore
drwxrwxr-x 34 viewpro viewpro 20480 5月 22 15:39 include/
-rw-rw-r-- 1 viewpro viewpro 1863 5月 20 16:27 Kbuild
-rw-rw-r-- 1 viewpro viewpro 16746 5月 20 16:27 Kconfig
drwxrwxr-x 15 viewpro viewpro 12288 5月 22 15:39 lib/
drwxrwxr-x 2 viewpro viewpro 4096 5月 20 16:27 Licenses/
-rw-rw-r-- 1 viewpro viewpro 1323 5月 20 16:27 .mailmap
-rw-rw-r-- 1 viewpro viewpro 14626 5月 20 16:27 MAINTAINERS
-rw-rw-r-- 1 viewpro viewpro 58294 5月 20 16:27 Makefile
-rwxrwxr-x 1 viewpro viewpro 21357 5月 20 16:27 make.sh*
drwxrwxr-x 2 viewpro viewpro 4096 5月 22 15:39 net/
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 post/
-rw-rw-r-- 1 viewpro viewpro 34 5月 20 16:27 PREUPLOAD.cfg
-rw-rw-r-- 1 viewpro viewpro 187683 5月 20 16:27 README
-rw-rw-r-- 1 viewpro viewpro 483776 5月 22 15:39 rk3588_spl_loader_v1.15.113.bin
drwxrwxr-x 6 viewpro viewpro 4096 5月 20 16:27 scripts/
-rw-rw-r-- 1 viewpro viewpro 17 5月 20 16:27 snapshot.commit
drwxrwxr-x 13 viewpro viewpro 4096 5月 22 15:39 spl/
-rw-rw-r-- 1 viewpro viewpro 229667 5月 22 15:39 System.map
-rw-rw-r-- 1 viewpro viewpro 465312 5月 22 15:39 tee.bin
drwxrwxr-x 12 viewpro viewpro 4096 5月 22 15:39 test/
drwxrwxr-x 18 viewpro viewpro 4096 5月 22 15:39 tools/
drwxrwxr-x 10 viewpro viewpro 4096 5月 22 15:39 tpl/
-rw-rw-r-- 1 viewpro viewpro 11367 5月 20 16:27 .travis.yml
-rwxrwxr-x 1 viewpro viewpro 12716512 5月 22 15:39 u-boot*
-rw-rw-r-- 1 viewpro viewpro 1341240 5月 22 15:39 u-boot.bin
-rw-rw-r-- 1 viewpro viewpro 46 5月 22 15:39 .u-boot.bin.cmd
-rw-rw-r-- 1 viewpro viewpro 20052 5月 22 15:39 u-boot.cfg
-rw-rw-r-- 1 viewpro viewpro 12978 5月 22 15:39 u-boot.cfg.configs
-rw-rw-r-- 1 viewpro viewpro 1848 5月 22 15:39 .u-boot.cmd
-rw-rw-r-- 1 viewpro viewpro 8867 5月 22 15:39 u-boot.dtb
-rw-rw-r-- 1 viewpro viewpro 1341235 5月 22 15:39 u-boot-dtb.bin
-rw-rw-r-- 1 viewpro viewpro 71 5月 22 15:39 .u-boot-dtb.bin.cmd
-rw-rw-r-- 1 viewpro viewpro 226 5月 22 15:39 .u-boot-dtb.img.cmd
-rw-rw-r-- 1 viewpro viewpro 4194304 5月 22 15:39 uboot.img
-rw-rw-r-- 1 viewpro viewpro 218 5月 22 15:39 .u-boot.img.cmd
-rw-rw-r-- 1 viewpro viewpro 1304 5月 22 15:39 u-boot.lds
-rw-rw-r-- 1 viewpro viewpro 7553 5月 22 15:39 .u-boot.lds.cmd
-rw-rw-r-- 1 viewpro viewpro 1044662 5月 22 15:39 u-boot.map
-rwxrwxr-x 1 viewpro viewpro 1332368 5月 22 15:39 u-boot-nodtb.bin*
-rw-rw-r-- 1 viewpro viewpro 368 5月 22 15:39 .u-boot-nodtb.bin.cmd
-rwxrwxr-x 1 viewpro viewpro 3830634 5月 22 15:39 u-boot.srec*
-rw-rw-r-- 1 viewpro viewpro 355 5月 22 15:39 .u-boot.srec.cmd
-rw-rw-r-- 1 viewpro viewpro 437823 5月 22 15:39 u-boot.sym
-rw-rw-r-- 1 viewpro viewpro 203 5月 22 15:39 .u-boot.sym.cmd
-rw-rw-r-- 1 viewpro viewpro 72 5月 20 16:27 usb_update.txt
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/u-boot$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/u-boot$ ll *.bin
-rw-rw-r-- 1 viewpro viewpro 200124 5月 22 15:39 bl31_0x00040000.bin
-rw-rw-r-- 1 viewpro viewpro 24576 5月 22 15:39 bl31_0x000f0000.bin
-rw-rw-r-- 1 viewpro viewpro 36864 5月 22 15:39 bl31_0xff100000.bin
-rw-rw-r-- 1 viewpro viewpro 483776 5月 22 15:39 rk3588_spl_loader_v1.15.113.bin
-rw-rw-r-- 1 viewpro viewpro 465312 5月 22 15:39 tee.bin
-rw-rw-r-- 1 viewpro viewpro 1341240 5月 22 15:39 u-boot.bin
-rw-rw-r-- 1 viewpro viewpro 1341235 5月 22 15:39 u-boot-dtb.bin
-rwxrwxr-x 1 viewpro viewpro 1332368 5月 22 15:39 u-boot-nodtb.bin*
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/u-boot$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/u-boot$ ll *.img
-rw-rw-r-- 1 viewpro viewpro 4194304 5月 22 15:39 uboot.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/u-boot$ cd ..
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ll
total 64
drwxrwxr-x 16 viewpro viewpro 4096 5月 22 15:38 ./
drwxr-xr-x 37 viewpro viewpro 4096 5月 22 15:37 ../
drwxrwxr-x 4 viewpro viewpro 4096 5月 20 16:26 app/
drwxrwxr-x 17 viewpro viewpro 4096 5月 20 16:48 buildroot/
lrwxrwxrwx 1 viewpro viewpro 39 5月 20 16:26 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 viewpro viewpro 22 5月 22 15:38 common -> device/rockchip/common/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:26 debian/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 device/
drwxrwxr-x 6 viewpro viewpro 4096 5月 20 16:26 docs/
drwxrwxr-x 27 viewpro viewpro 4096 5月 20 16:27 external/
drwxrwxr-x 26 viewpro viewpro 4096 5月 22 15:45 kernel/
lrwxrwxrwx 1 viewpro viewpro 31 5月 20 16:26 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 5 viewpro viewpro 4096 5月 22 15:41 output/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 prebuilts/
lrwxrwxrwx 1 viewpro viewpro 32 5月 22 15:38 README.md -> device/rockchip/common/README.md
drwxrwxr-x 9 viewpro viewpro 4096 5月 22 15:39 rkbin/
lrwxrwxrwx 1 viewpro viewpro 41 5月 20 16:26 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 tools/
drwxrwxr-x 27 viewpro viewpro 4096 5月 22 15:39 u-boot/
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 uefi/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:27 yocto/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ cd kernel/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/kernel$ ll
total 1784228
drwxrwxr-x 26 viewpro viewpro 4096 5月 22 15:45 ./
drwxrwxr-x 16 viewpro viewpro 4096 5月 22 15:38 ../
drwxrwxr-x 2 viewpro viewpro 4096 5月 20 16:26 android/
drwxrwxr-x 26 viewpro viewpro 4096 5月 20 16:26 arch/
drwxrwxr-x 3 viewpro viewpro 4096 5月 22 15:41 block/
-rw-rw-r-- 1 viewpro viewpro 37319168 5月 22 15:45 boot.img
-rw-rw-r-- 1 viewpro viewpro 1410 5月 20 16:26 boot.its
-rw-rw-r-- 1 viewpro viewpro 296 5月 20 16:26 build.config.aarch64
-rw-rw-r-- 1 viewpro viewpro 429 5月 20 16:26 build.config.allmodconfig
-rw-rw-r-- 1 viewpro viewpro 152 5月 20 16:26 build.config.allmodconfig.aarch64
-rw-rw-r-- 1 viewpro viewpro 148 5月 20 16:26 build.config.allmodconfig.arm
-rw-rw-r-- 1 viewpro viewpro 151 5月 20 16:26 build.config.allmodconfig.x86_64
-rw-rw-r-- 1 viewpro viewpro 1214 5月 20 16:26 build.config.amlogic
-rw-rw-r-- 1 viewpro viewpro 198 5月 20 16:26 build.config.arm
-rw-rw-r-- 1 viewpro viewpro 378 5月 20 16:26 build.config.common
-rw-rw-r-- 1 viewpro viewpro 795 5月 20 16:26 build.config.db845c
-rw-rw-r-- 1 viewpro viewpro 63 5月 20 16:26 build.config.gki
-rw-rw-r-- 1 viewpro viewpro 1416 5月 20 16:26 build.config.gki.aarch64
-rw-rw-r-- 1 viewpro viewpro 638 5月 20 16:26 build.config.gki.aarch64.fips140
-rw-rw-r-- 1 viewpro viewpro 230 5月 20 16:26 build.config.gki.aarch64.fips140_eval_testing
-rw-rw-r-- 1 viewpro viewpro 106 5月 20 16:26 build.config.gki-debug.aarch64
-rw-rw-r-- 1 viewpro viewpro 105 5月 20 16:26 build.config.gki-debug.x86_64
-rw-rw-r-- 1 viewpro viewpro 664 5月 20 16:26 build.config.gki_kasan
-rw-rw-r-- 1 viewpro viewpro 148 5月 20 16:26 build.config.gki_kasan.aarch64
-rw-rw-r-- 1 viewpro viewpro 148 5月 20 16:26 build.config.gki_kasan.x86_64
-rw-rw-r-- 1 viewpro viewpro 629 5月 20 16:26 build.config.gki_kprobes
-rw-rw-r-- 1 viewpro viewpro 151 5月 20 16:26 build.config.gki_kprobes.aarch64
-rw-rw-r-- 1 viewpro viewpro 150 5月 20 16:26 build.config.gki_kprobes.x86_64
-rw-rw-r-- 1 viewpro viewpro 142 5月 20 16:26 build.config.gki.x86_64
-rw-rw-r-- 1 viewpro viewpro 740 5月 20 16:26 build.config.hikey960
-rw-rw-r-- 1 viewpro viewpro 544 5月 20 16:26 build.config.khwasan
-rw-rw-r-- 1 viewpro viewpro 478 5月 20 16:26 build.config.rockchip
-rw-rw-r-- 1 viewpro viewpro 274 5月 20 16:26 build.config.x86_64
drwxrwxr-x 2 viewpro viewpro 4096 5月 22 15:41 certs/
-rw-rw-r-- 1 viewpro viewpro 16673 5月 20 16:26 .clang-format
-rw-rw-r-- 1 viewpro viewpro 59 5月 20 16:26 .cocciconfig
-rw-rw-r-- 1 viewpro viewpro 194248 5月 22 15:41 .config
-rw-rw-r-- 1 viewpro viewpro 194224 5月 22 15:41 .config.old
-rw-rw-r-- 1 viewpro viewpro 496 5月 20 16:26 COPYING
-rw-rw-r-- 1 viewpro viewpro 100478 5月 20 16:26 CREDITS
drwxrwxr-x 4 viewpro viewpro 12288 5月 22 15:41 crypto/
drwxrwxr-x 82 viewpro viewpro 4096 5月 20 16:26 Documentation/
drwxrwxr-x 144 viewpro viewpro 4096 5月 22 15:45 drivers/
drwxrwxr-x 80 viewpro viewpro 12288 5月 22 15:43 fs/
-rw-rw-r-- 1 viewpro viewpro 71 5月 20 16:26 .get_maintainer.ignore
lrwxrwxrwx 1 viewpro viewpro 28 5月 20 16:26 .git -> ../.repo/projects/kernel.git
-rw-rw-r-- 1 viewpro viewpro 62 5月 20 16:26 .gitattributes
-rw-rw-r-- 1 viewpro viewpro 1944 5月 20 16:26 .gitignore
drwxrwxr-x 31 viewpro viewpro 4096 5月 22 15:41 include/
drwxrwxr-x 2 viewpro viewpro 4096 5月 22 15:41 init/
drwxrwxr-x 2 viewpro viewpro 4096 5月 22 15:41 io_uring/
drwxrwxr-x 2 viewpro viewpro 4096 5月 22 15:41 ipc/
-rw-rw-r-- 1 viewpro viewpro 1327 5月 20 16:26 Kbuild
-rw-rw-r-- 1 viewpro viewpro 555 5月 20 16:26 Kconfig
drwxrwxr-x 21 viewpro viewpro 12288 5月 22 15:42 kernel/
drwxrwxr-x 21 viewpro viewpro 20480 5月 22 15:43 lib/
drwxrwxr-x 6 viewpro viewpro 4096 5月 20 16:26 LICENSES/
-rw-rw-r-- 1 viewpro viewpro 12936 5月 20 16:26 logo.bmp
-rw-rw-r-- 1 viewpro viewpro 22364 5月 20 16:26 logo_kernel.bmp
-rw-rw-r-- 1 viewpro viewpro 18204 5月 20 16:26 .mailmap
-rw-rw-r-- 1 viewpro viewpro 577590 5月 20 16:26 MAINTAINERS
-rw-rw-r-- 1 viewpro viewpro 68440 5月 20 16:26 Makefile
-rw-rw-r-- 1 viewpro viewpro 577 5月 22 15:41 .missing-syscalls.d
drwxrwxr-x 5 viewpro viewpro 12288 5月 22 15:42 mm/
-rw-rw-r-- 1 viewpro viewpro 23376 5月 22 15:45 modules.builtin
-rw-rw-r-- 1 viewpro viewpro 156031 5月 22 15:45 modules.builtin.modinfo
-rw-rw-r-- 1 viewpro viewpro 16046 5月 22 15:45 modules-only.symvers
-rw-rw-r-- 1 viewpro viewpro 138 5月 22 15:45 .modules-only.symvers.cmd
-rw-rw-r-- 1 viewpro viewpro 5916 5月 22 15:45 modules.order
-rw-rw-r-- 1 viewpro viewpro 421 5月 22 15:45 .modules.order.cmd
-rw-rw-r-- 1 viewpro viewpro 777964 5月 22 15:45 Module.symvers
-rw-rw-r-- 1 viewpro viewpro 80 5月 22 15:45 .Module.symvers.cmd
drwxrwxr-x 72 viewpro viewpro 4096 5月 22 15:44 net/
-rw-rw-r-- 1 viewpro viewpro 438 5月 20 16:26 OWNERS
-rw-rw-r-- 1 viewpro viewpro 727 5月 20 16:26 README
-rw-rw-r-- 1 viewpro viewpro 6402 5月 20 16:26 README.md
-rw-rw-r-- 1 viewpro viewpro 301056 5月 22 15:45 resource.img
drwxrwxr-x 33 viewpro viewpro 4096 5月 20 16:26 samples/
-rw-rw-r-- 1 viewpro viewpro 0 5月 20 16:26 .scmversion
drwxrwxr-x 17 viewpro viewpro 4096 5月 22 15:41 scripts/
drwxrwxr-x 13 viewpro viewpro 4096 5月 22 15:41 security/
drwxrwxr-x 26 viewpro viewpro 4096 5月 22 15:42 sound/
-rw-rw-r-- 1 viewpro viewpro 6973979 5月 22 15:45 System.map
-rw-rw-r-- 1 viewpro viewpro 6974123 5月 22 15:45 .tmp_kallsyms
-rw-rw-r-- 1 viewpro viewpro 6973979 5月 22 15:45 .tmp_System.map
-rwxrwxr-x 1 viewpro viewpro 43732168 5月 22 15:45 .tmp_vmlinux.kallsyms1*
-rw-rw-r-- 1 viewpro viewpro 1121288 5月 22 15:45 .tmp_vmlinux.kallsyms1.o
-rw-rw-r-- 1 viewpro viewpro 6591615 5月 22 15:45 .tmp_vmlinux.kallsyms1.S
-rwxrwxr-x 1 viewpro viewpro 44846648 5月 22 15:45 .tmp_vmlinux.kallsyms2*
-rw-rw-r-- 1 viewpro viewpro 1121288 5月 22 15:45 .tmp_vmlinux.kallsyms2.o
-rw-rw-r-- 1 viewpro viewpro 6591615 5月 22 15:45 .tmp_vmlinux.kallsyms2.S
drwxrwxr-x 37 viewpro viewpro 4096 5月 20 16:26 tools/
drwxrwxr-x 3 viewpro viewpro 4096 5月 22 15:41 usr/
-rw-rw-r-- 1 viewpro viewpro 2 5月 22 15:45 .version
drwxrwxr-x 4 viewpro viewpro 4096 5月 22 15:41 virt/
-rwxrwxr-x 1 viewpro viewpro 480058848 5月 22 15:45 vmlinux*
-rw-rw-r-- 1 viewpro viewpro 426 5月 22 15:45 .vmlinux.cmd
-rw-rw-r-- 1 viewpro viewpro 1165407936 5月 22 15:45 vmlinux.o
-rw-rw-r-- 1 viewpro viewpro 761918 5月 22 15:45 vmlinux.symvers
-rw-rw-r-- 1 viewpro viewpro 16109568 5月 22 15:45 zboot.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/kernel$ ll *.bin
ls: cannot access '*.bin': No such file or directory
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/kernel$ ll *.img
-rw-rw-r-- 1 viewpro viewpro 37319168 5月 22 15:45 boot.img
-rw-rw-r-- 1 viewpro viewpro 301056 5月 22 15:45 resource.img
-rw-rw-r-- 1 viewpro viewpro 16109568 5月 22 15:45 zboot.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508/kernel$ cd ..
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ll
total 64
drwxrwxr-x 16 viewpro viewpro 4096 5月 22 15:38 ./
drwxr-xr-x 37 viewpro viewpro 4096 5月 22 15:37 ../
drwxrwxr-x 4 viewpro viewpro 4096 5月 20 16:26 app/
drwxrwxr-x 17 viewpro viewpro 4096 5月 20 16:48 buildroot/
lrwxrwxrwx 1 viewpro viewpro 39 5月 20 16:26 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 viewpro viewpro 22 5月 22 15:38 common -> device/rockchip/common/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:26 debian/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 device/
drwxrwxr-x 6 viewpro viewpro 4096 5月 20 16:26 docs/
drwxrwxr-x 27 viewpro viewpro 4096 5月 20 16:27 external/
drwxrwxr-x 26 viewpro viewpro 4096 5月 22 15:45 kernel/
lrwxrwxrwx 1 viewpro viewpro 31 5月 20 16:26 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 5 viewpro viewpro 4096 5月 22 15:41 output/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 prebuilts/
lrwxrwxrwx 1 viewpro viewpro 32 5月 22 15:38 README.md -> device/rockchip/common/README.md
drwxrwxr-x 9 viewpro viewpro 4096 5月 22 15:39 rkbin/
lrwxrwxrwx 1 viewpro viewpro 41 5月 20 16:26 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 tools/
drwxrwxr-x 27 viewpro viewpro 4096 5月 22 15:39 u-boot/
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 uefi/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:27 yocto/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh rootfs
Log colors: message notice warning error fatal
Log saved at /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_15-50-32
==========================================
Final configs
==========================================
RK_BOOT_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot.its
RK_BOOT_IMG=boot.img
RK_BUILDROOT=y
RK_BUILDROOT_CFG=rockchip_rk3588
RK_CHIP=rk3588s
RK_CHIP_FAMILY=rk3588
RK_DEBIAN=y
RK_DEBIAN_ARCH=arm64
RK_DEBIAN_BULLSEYE=y
RK_DEBIAN_VERSION=bullseye
RK_DEFCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chips/rk3588/rockchip_rk3588s_evb1_lp4x_v10_defconfig
RK_EXTRA_PARTITION_NUM=2
RK_EXTRA_PARTITION_STR=oem:oem:/oem:ext4:defaults:normal:auto:@userdata:userdata:/userdata:ext4:defaults:normal:auto:@@@
RK_KERNEL=y
RK_KERNEL_ARCH=arm64
RK_KERNEL_CFG=rockchip_linux_defconfig
RK_KERNEL_CFG_FRAGMENTS=rk3588_linux.config
RK_KERNEL_DTB=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dtb
RK_KERNEL_DTS=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dts
RK_KERNEL_IMG=kernel/arch/arm64/boot/Image
RK_KERNEL_KBUILD_ARCH=host
RK_KERNEL_VERSION=5.10
RK_KERNEL_VERSION_REAL=5.10
RK_LOADER=y
RK_MISC=y
RK_MISC_BLANK=y
RK_OWNER=viewpro
RK_OWNER_UID=1000
RK_PARAMETER=parameter.txt
RK_RECOVERY=y
RK_RECOVERY_CFG=rockchip_rk3588_recovery
RK_RECOVERY_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot4recovery.its
RK_RECOVERY_INITRD_TYPE=cpio.gz
RK_ROOTFS=y
RK_ROOTFS_ASYNC_COMMIT=y
RK_ROOTFS_DEBUG_INFO=y
RK_ROOTFS_IRQBALANCE=y
RK_ROOTFS_OVERLAY=y
RK_ROOTFS_STRIP_MODULES=y
RK_ROOTFS_SYSTEM=buildroot
RK_ROOTFS_TYPE=ext4
RK_ROOTFS_UDEV_RULES=y
RK_SAVE_TRACKED=y
RK_SESSION=2024-05-22_15-50-32
RK_UBOOT_ARCH=arm64
RK_UBOOT_CFG=rk3588
RK_UPDATE=y
RK_USB_ADBD=y
RK_USB_ADBD_BASH=y
RK_USB_ADBD_TCP_PORT=5555
RK_USE_FIT_IMG=y
RK_WIFIBT_CHIP=ALL_AP
RK_YOCTO=y
RK_YOCTO_CHROMIUM=y
RK_YOCTO_DISPLAY_PLATFORM=wayland
RK_YOCTO_MACHINE=rockchip-rk3588-evb
RK_YOCTO_USBMOUNT=y
==========================================
Start building rootfs(buildroot)
==========================================
==========================================
Start building buildroot(2021.11)
==========================================
make: Entering directory '/home/viewpro/repo_RK3588_Buildroot20240508/buildroot'
mkdir -p /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
obj=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config -C support/kconfig -f Makefile.br conf
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config -DCONFIG_=\"\" -MM *.c > /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/.depend 2>/dev/null || :
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config -DCONFIG_=\"\" -c conf.c -o /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/conf.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config -DCONFIG_=\"\" -I. -c /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/zconf.tab.c -o /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/zconf.tab.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config -DCONFIG_=\"\" /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/conf.o /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/zconf.tab.o -o /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/conf
rm /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/zconf.tab.c
GEN /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/Makefile
/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/build/parse_defconfig.sh /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/configs/rockchip_rk3588_defconfig /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/.config.in
Parsing defconfig: /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/configs/rockchip_rk3588_defconfig
Using configs/rockchip/base/kernel.config as base
Merging configs/rockchip/fs/e2fs.config
Merging configs/rockchip/base/common.config
Merging configs/rockchip/base/base.config
Merging configs/rockchip/chips/rk3588.config
Value of BR2_ROOTFS_OVERLAY is redefined by configs/rockchip/chips/rk3588.config:
Previous value: BR2_ROOTFS_OVERLAY="board/rockchip/common/base"
Modify value: BR2_ROOTFS_OVERLAY+="board/rockchip/rk3588/fs-overlay/"
New value: BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3588/fs-overlay/"
Merging configs/rockchip/chips/rk3588_aarch64.config
Merging configs/rockchip/font/font.config
Merging configs/rockchip/font/chinese.config
Merging configs/rockchip/fs/exfat.config
Merging configs/rockchip/fs/ntfs.config
Merging configs/rockchip/fs/vfat.config
Merging configs/rockchip/gpu/gpu.config
Merging configs/rockchip/multimedia/audio.config
Merging configs/rockchip/multimedia/camera.config
Merging configs/rockchip/multimedia/gst/audio.config
Merging configs/rockchip/multimedia/gst/camera.config
Merging configs/rockchip/multimedia/gst/rtsp.config
Merging configs/rockchip/multimedia/gst/video.config
Merging configs/rockchip/multimedia/mpp.config
Merging configs/rockchip/wifibt/bt.config
Merging configs/rockchip/wifibt/network.config
Merging configs/rockchip/wifibt/wireless.config
Merging configs/rockchip/tools/benchmark.config
Merging configs/rockchip/tools/common.config
Merging configs/rockchip/tools/test.config
Merging configs/rockchip/chromium.config
Merging configs/rockchip/npu2.config
Merging configs/rockchip/powermanager.config
Merging configs/rockchip/weston.config
Merging /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/configs/rockchip_rk3588_defconfig
#
# merged configuration written to /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/.config.in (needs make)
#
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/tristate.config BR2_CONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/.config HOST_GCC_VERSION="9" BASE_DIR=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588 SKIP_LEGACY= CUSTOM_KERNEL_VERSION="5.10" BR2_DEFCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/configs/rockchip_rk3588_defconfig /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/build/buildroot-config/conf --defconfig=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/.config.in Config.in
#
# configuration written to /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/.config
#
make: Leaving directory '/home/viewpro/repo_RK3588_Buildroot20240508/buildroot'
2024-05-22T15:50:39 >>> host-skeleton Extracting
2024-05-22T15:50:39 >>> host-skeleton Patching
2024-05-22T15:50:39 >>> host-skeleton Configuring
2024-05-22T15:50:39 >>> host-skeleton Building
2024-05-22T15:50:39 >>> host-skeleton Installing to host directory
2024-05-22T15:50:39 >>> host-ccache 3.7.12 Extracting
2024-05-22T15:50:39 >>> host-ccache 3.7.12 Patching
2024-05-22T15:50:39 >>> host-ccache 3.7.12 Updating config.sub and config.guess
2024-05-22T15:50:39 >>> host-ccache 3.7.12 Patching libtool
2024-05-22T15:50:39 >>> host-ccache 3.7.12 Configuring
2024-05-22T15:50:42 >>> host-ccache 3.7.12 Building
2024-05-22T15:50:43 >>> host-ccache 3.7.12 Installing to host directory
2024-05-22T15:50:43 >>> host-attr 2.5.1 Extracting
2024-05-22T15:50:43 >>> host-attr 2.5.1 Patching
2024-05-22T15:50:43 >>> host-attr 2.5.1 Updating config.sub and config.guess
2024-05-22T15:50:43 >>> host-attr 2.5.1 Patching libtool
2024-05-22T15:50:43 >>> host-attr 2.5.1 Configuring
2024-05-22T15:50:46 >>> host-attr 2.5.1 Building
2024-05-22T15:50:47 >>> host-attr 2.5.1 Installing to host directory
2024-05-22T15:50:47 >>> host-acl 2.3.1 Extracting
2024-05-22T15:50:47 >>> host-acl 2.3.1 Patching
2024-05-22T15:50:47 >>> host-acl 2.3.1 Updating config.sub and config.guess
2024-05-22T15:50:47 >>> host-acl 2.3.1 Patching libtool
2024-05-22T15:50:47 >>> host-acl 2.3.1 Configuring
2024-05-22T15:50:50 >>> host-acl 2.3.1 Building
2024-05-22T15:50:50 >>> host-acl 2.3.1 Installing to host directory
2024-05-22T15:50:51 >>> host-fakeroot 1.26 Extracting
2024-05-22T15:50:51 >>> host-fakeroot 1.26 Patching
2024-05-22T15:50:51 >>> host-fakeroot 1.26 Updating config.sub and config.guess
2024-05-22T15:50:51 >>> host-fakeroot 1.26 Patching libtool
2024-05-22T15:50:51 >>> host-fakeroot 1.26 Configuring
2024-05-22T15:50:57 >>> host-fakeroot 1.26 Building
2024-05-22T15:50:58 >>> host-fakeroot 1.26 Installing to host directory
2024-05-22T15:50:58 >>> host-makedevs Extracting
2024-05-22T15:50:58 >>> host-makedevs Patching
2024-05-22T15:50:58 >>> host-makedevs Configuring
2024-05-22T15:50:58 >>> host-makedevs Building
2024-05-22T15:50:58 >>> host-makedevs Installing to host directory
2024-05-22T15:50:59 >>> host-mkpasswd Extracting
2024-05-22T15:50:59 >>> host-mkpasswd Patching
2024-05-22T15:50:59 >>> host-mkpasswd Configuring
2024-05-22T15:50:59 >>> host-mkpasswd Building
2024-05-22T15:50:59 >>> host-mkpasswd Installing to host directory
2024-05-22T15:50:59 >>> host-m4 1.4.19 Extracting
2024-05-22T15:50:59 >>> host-m4 1.4.19 Patching
2024-05-22T15:50:59 >>> host-m4 1.4.19 Updating config.sub and config.guess
2024-05-22T15:50:59 >>> host-m4 1.4.19 Patching libtool
2024-05-22T15:50:59 >>> host-m4 1.4.19 Configuring
2024-05-22T15:51:24 >>> host-m4 1.4.19 Building
2024-05-22T15:51:26 >>> host-m4 1.4.19 Installing to host directory
2024-05-22T15:51:27 >>> host-bison 3.8.2 Extracting
2024-05-22T15:51:27 >>> host-bison 3.8.2 Patching
2024-05-22T15:51:27 >>> host-bison 3.8.2 Updating config.sub and config.guess
2024-05-22T15:51:27 >>> host-bison 3.8.2 Patching libtool
2024-05-22T15:51:27 >>> host-bison 3.8.2 Configuring
2024-05-22T15:51:48 >>> host-bison 3.8.2 Building
2024-05-22T15:52:02 >>> host-bison 3.8.2 Installing to host directory
2024-05-22T15:52:03 >>> host-gawk 5.1.0 Extracting
2024-05-22T15:52:03 >>> host-gawk 5.1.0 Patching
2024-05-22T15:52:03 >>> host-gawk 5.1.0 Updating config.sub and config.guess
2024-05-22T15:52:03 >>> host-gawk 5.1.0 Patching libtool
2024-05-22T15:52:03 >>> host-gawk 5.1.0 Configuring
2024-05-22T15:52:15 >>> host-gawk 5.1.0 Building
2024-05-22T15:52:18 >>> host-gawk 5.1.0 Installing to host directory
2024-05-22T15:52:18 >>> host-binutils 2.40 Extracting
2024-05-22T15:52:20 >>> host-binutils 2.40 Patching
2024-05-22T15:52:20 >>> host-binutils 2.40 Updating config.sub and config.guess
2024-05-22T15:52:20 >>> host-binutils 2.40 Patching libtool
2024-05-22T15:52:20 >>> host-binutils 2.40 Configuring
2024-05-22T15:52:22 >>> host-binutils 2.40 Building
2024-05-22T15:52:47 >>> host-binutils 2.40 Installing to host directory
2024-05-22T15:52:47 >>> host-gmp 6.2.1 Extracting
2024-05-22T15:52:48 >>> host-gmp 6.2.1 Patching
2024-05-22T15:52:48 >>> host-gmp 6.2.1 Updating config.sub and config.guess
2024-05-22T15:52:48 >>> host-gmp 6.2.1 Patching libtool
2024-05-22T15:52:48 >>> host-gmp 6.2.1 Configuring
usr/bin/
usr/bin/generate_logs
usr/bin/kmsgrab
usr/bin/modetest
sent 1,144,343 bytes received 113 bytes 2,288,912.00 bytes/sec
total size is 1,143,678 speedup is 1.00
Handling overlay: /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/common/overlays/rootfs/input-event-daemon)...
Running 91-modules.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target (buildroot init=busybox)...
Strip kernel modules...
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/rtk_btusb.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stba8ZgQ' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/RTL8821CS.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stwwf9UV' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/RTL8189FU.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stK38cjg' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/bcmdhd.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stN5iRTk' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/8852bs.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/st2RcHbD' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/RTL8723DS.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stWmr6FC' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/RTL8822CS.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stL8E6oF' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/8852be.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/st2V4Jh5' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/rtkm.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stU9FFBi' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/bcmdhd_pcie.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stp1Ey1u' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/RTL8189FS.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stnb49wL' [elf64-littleaarch64]
copy from `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/hci_uart.ko' [elf64-littleaarch64] to `/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target/usr/lib/modules/stlP67a0' [elf64-littleaarch64]
Running 95-partitions.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target (buildroot init=busybox)...
Preparing extra partitions...
Running 99-owner.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/target (buildroot init=busybox)...
Running 30-rootfs.sh - build_buildroot /home/viewpro/repo_RK3588_Buildroot20240508/output/buildroot/images succeeded.
Running 30-rootfs.sh - build_rootfs rootfs succeeded.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh rootfs^C
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ll
total 64
drwxrwxr-x 16 viewpro viewpro 4096 5月 22 15:38 ./
drwxr-xr-x 38 viewpro viewpro 4096 5月 22 15:50 ../
drwxrwxr-x 4 viewpro viewpro 4096 5月 20 16:26 app/
drwxrwxr-x 18 viewpro viewpro 4096 5月 22 15:50 buildroot/
lrwxrwxrwx 1 viewpro viewpro 39 5月 20 16:26 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 viewpro viewpro 22 5月 22 15:38 common -> device/rockchip/common/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:26 debian/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 device/
drwxrwxr-x 6 viewpro viewpro 4096 5月 20 16:26 docs/
drwxrwxr-x 27 viewpro viewpro 4096 5月 20 16:27 external/
drwxrwxr-x 26 viewpro viewpro 4096 5月 22 15:45 kernel/
lrwxrwxrwx 1 viewpro viewpro 31 5月 20 16:26 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 7 viewpro viewpro 4096 5月 22 16:40 output/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 prebuilts/
lrwxrwxrwx 1 viewpro viewpro 32 5月 22 15:38 README.md -> device/rockchip/common/README.md
drwxrwxr-x 9 viewpro viewpro 4096 5月 22 15:39 rkbin/
lrwxrwxrwx 1 viewpro viewpro 41 5月 20 16:26 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 tools/
drwxrwxr-x 27 viewpro viewpro 4096 5月 22 15:39 u-boot/
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 uefi/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:27 yocto/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh --help
Log colors: message notice warning error fatal
Usage: build.sh [OPTIONS]
Available options:
chip[:<chip>[:<config>]] choose chip
defconfig[:<config>] choose defconfig
*_defconfig switch to specified defconfig
available defconfigs:
rockchip_defconfig
rockchip_rk3588_evb1_lp4_v10_defconfig
rockchip_rk3588_evb7_v11_defconfig
rockchip_rk3588s_evb1_lp4x_v10_defconfig
olddefconfig resolve any unresolved symbols in .config
savedefconfig save current config to defconfig
menuconfig interactive curses-based configurator
config modify SDK defconfig
print-parts print partitions
list-parts alias of print-parts
mod-parts interactive partition table modify
edit-parts edit raw partitions
new-parts:<offset>:<name>:<size>... re-create partitions
insert-part:<idx>:<name>[:<size>] insert partition
del-part:(<idx>|<name>) delete partition
move-part:(<idx>|<name>):<idx> move partition
rename-part:(<idx>|<name>):<name> rename partition
resize-part:(<idx>|<name>):<size> resize partition
misc pack misc image
kernel[:cmds] build kernel
recovery-kernel[:cmds] build kernel for recovery
modules[:cmds] build kernel modules
linux-headers[:cmds] build linux-headers
kernel-config[:cmds] modify kernel defconfig
kconfig[:cmds] alias of kernel-config
kernel-make[:<arg1>:<arg2>] run kernel make
kmake[:<arg1>:<arg2>] alias of kernel-make
wifibt[:<dst dir>[:<chip>]] build Wifi/BT
rtos build and pack RTOS
buildroot-config[:<config>] modify buildroot defconfig
bconfig[:<config>] alias of buildroot-config
buildroot-make[:<arg1>:<arg2>] run buildroot make
bmake[:<arg1>:<arg2>] alias of buildroot-make
rootfs[:<rootfs type>] build default rootfs
buildroot build buildroot rootfs
yocto build yocto rootfs
debian build debian rootfs
recovery build recovery
pcba build PCBA
security-createkeys create keys for security
security-misc build misc with system encryption key
security-ramboot build security ramboot
security-system build security system
loader[:cmds] build loader (uboot)
uboot[:cmds] build u-boot
uefi[:cmds] build uefi
extra-part pack extra partition images
firmware pack and check firmwares
edit-package-file edit package-file
edit-ota-package-file edit package-file for OTA
updateimg build update image
ota-updateimg build update image for OTA
all build images
release release images and build info
all-release build and release images
shell setup a shell for developing
cleanall cleanup
clean[:module[:module]]... cleanup modules
available modules:
all
config
extra-part
firmware
kernel
loader
misc
pcba
recovery
rootfs
rtos
security
updateimg
post-rootfs <rootfs dir> trigger post-rootfs hook scripts
help usage
Default option is 'all'.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh updateimg
Log colors: message notice warning error fatal
Log saved at /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_16-42-10
==========================================
Final configs
==========================================
RK_BOOT_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot.its
RK_BOOT_IMG=boot.img
RK_BUILDROOT=y
RK_BUILDROOT_CFG=rockchip_rk3588
RK_CHIP=rk3588s
RK_CHIP_FAMILY=rk3588
RK_DEBIAN=y
RK_DEBIAN_ARCH=arm64
RK_DEBIAN_BULLSEYE=y
RK_DEBIAN_VERSION=bullseye
RK_DEFCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chips/rk3588/rockchip_rk3588s_evb1_lp4x_v10_defconfig
RK_EXTRA_PARTITION_NUM=2
RK_EXTRA_PARTITION_STR=oem:oem:/oem:ext4:defaults:normal:auto:@userdata:userdata:/userdata:ext4:defaults:normal:auto:@@@
RK_KERNEL=y
RK_KERNEL_ARCH=arm64
RK_KERNEL_CFG=rockchip_linux_defconfig
RK_KERNEL_CFG_FRAGMENTS=rk3588_linux.config
RK_KERNEL_DTB=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dtb
RK_KERNEL_DTS=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dts
RK_KERNEL_IMG=kernel/arch/arm64/boot/Image
RK_KERNEL_KBUILD_ARCH=host
RK_KERNEL_VERSION=5.10
RK_KERNEL_VERSION_REAL=5.10
RK_LOADER=y
RK_MISC=y
RK_MISC_BLANK=y
RK_OWNER=viewpro
RK_OWNER_UID=1000
RK_PARAMETER=parameter.txt
RK_RECOVERY=y
RK_RECOVERY_CFG=rockchip_rk3588_recovery
RK_RECOVERY_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot4recovery.its
RK_RECOVERY_INITRD_TYPE=cpio.gz
RK_ROOTFS=y
RK_ROOTFS_ASYNC_COMMIT=y
RK_ROOTFS_DEBUG_INFO=y
RK_ROOTFS_IRQBALANCE=y
RK_ROOTFS_OVERLAY=y
RK_ROOTFS_STRIP_MODULES=y
RK_ROOTFS_SYSTEM=buildroot
RK_ROOTFS_TYPE=ext4
RK_ROOTFS_UDEV_RULES=y
RK_SAVE_TRACKED=y
RK_SESSION=2024-05-22_16-42-10
RK_UBOOT_ARCH=arm64
RK_UBOOT_CFG=rk3588
RK_UPDATE=y
RK_USB_ADBD=y
RK_USB_ADBD_BASH=y
RK_USB_ADBD_TCP_PORT=5555
RK_USE_FIT_IMG=y
RK_WIFIBT_CHIP=ALL_AP
RK_YOCTO=y
RK_YOCTO_CHROMIUM=y
RK_YOCTO_DISPLAY_PLATFORM=wayland
RK_YOCTO_MACHINE=rockchip-rk3588-evb
RK_YOCTO_USBMOUNT=y
Make update image
Basic firmwares are not ready, building it...
==========================================
Start packing firmwares
==========================================
Linking /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/parameter.txt from /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/parameter.txt...
Preparing partiton oem
Merging /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/common/images/oem/normal into /home/viewpro/repo_RK3588_Buildroot20240508/output/extra-part/oem
Packing /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/oem.img from /home/viewpro/repo_RK3588_Buildroot20240508/output/extra-part/oem.fs
Using host tools in /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/host
Making /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/oem.img from /home/viewpro/repo_RK3588_Buildroot20240508/output/extra-part/oem (auto sized)
Making /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/oem.img from /home/viewpro/repo_RK3588_Buildroot20240508/output/extra-part/oem with size(17048KB)
mke2fs 1.46.5 (30-Dec-2021)
Creating regular file /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/oem.img
Creating filesystem with 17048 1k blocks and 4272 inodes
Filesystem UUID: f52a335b-d61a-4755-86f1-3db4285c8e89
Superblock backups stored on blocks:
8193
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done
tune2fs 1.46.5 (30-Dec-2021)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Done packing /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/oem.img
Preparing partiton userdata
Merging /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/common/images/userdata/normal into /home/viewpro/repo_RK3588_Buildroot20240508/output/extra-part/userdata
Packing /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/userdata.img from /home/viewpro/repo_RK3588_Buildroot20240508/output/extra-part/userdata.fs
Using host tools in /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/host
Making /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/userdata.img from /home/viewpro/repo_RK3588_Buildroot20240508/output/extra-part/userdata (auto sized)
Making /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/userdata.img from /home/viewpro/repo_RK3588_Buildroot20240508/output/extra-part/userdata with size(4368KB)
mke2fs 1.46.5 (30-Dec-2021)
Creating regular file /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/userdata.img
Creating filesystem with 4368 1k blocks and 1088 inodes
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done
tune2fs 1.46.5 (30-Dec-2021)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Done packing /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/userdata.img
Running mk-extra-part.sh - build_extra_part succeeded.
Packed files:
MiniLoaderAll.bin(/home/viewpro/repo_RK3588_Buildroot20240508/u-boot/rk3588_spl_loader_v1.15.113.bin): 473K
boot.img(/home/viewpro/repo_RK3588_Buildroot20240508/kernel/boot.img): 36M
oem.img: 17M
parameter.txt(/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chips/rk3588/parameter.txt): 539
rootfs.img(/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588/images/rootfs.ext2): 819M
uboot.img(/home/viewpro/repo_RK3588_Buildroot20240508/u-boot/uboot.img): 4.0M
userdata.img: 4.3M
Images under /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/ are ready!
Running mk-firmware.sh - build_firmware succeeded.
==========================================
Start packing update image
==========================================
RK_AB_UPDATE enabled, without having A/B partitions!
Generating package-file for update:
# NAME PATH
package-file package-file
parameter parameter.txt
bootloader MiniLoaderAll.bin
uboot uboot.img
boot boot.img
backup RESERVED
rootfs rootfs.img
oem oem.img
userdata userdata.img
Packing /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/update.img for update...
Android Firmware Package Tool v2.2
------ PACKAGE ------
Add file: ./package-file
package-file,Add file: ./package-file done,offset=0x800,size=0xbd,userspace=0x1
Add file: ./parameter.txt
parameter,Add file: ./parameter.txt done,offset=0x1000,size=0x227,userspace=0x1,flash_address=0x00000000
Add file: ./MiniLoaderAll.bin
bootloader,Add file: ./MiniLoaderAll.bin done,offset=0x1800,size=0x761c0,userspace=0xed
Add file: ./uboot.img
uboot,Add file: ./uboot.img done,offset=0x78000,size=0x400000,userspace=0x800,flash_address=0x00004000
Add file: ./boot.img
boot,Add file: ./boot.img done,offset=0x478000,size=0x2397200,userspace=0x472f,flash_address=0x00008000
Add file: ./rootfs.img
rootfs,Add file: ./rootfs.img done,offset=0x280f800,size=0x33300000,userspace=0x66600,flash_address=0x00078000
Add file: ./oem.img
oem,Add file: ./oem.img done,offset=0x35b0f800,size=0x10a6000,userspace=0x214c,flash_address=0x01c78000
Add file: ./userdata.img
userdata,Add file: ./userdata.img done,offset=0x36bb5800,size=0x444000,userspace=0x888,flash_address=0x01cb8000
Add CRC...
Make firmware OK!
------ OK ------
********rkImageMaker ver 2.23********
Generating new image, please wait...
Writing head info...
Writing boot file...
Writing firmware...
Generating MD5 data...
MD5 data generated successfully!
New image generated successfully!
Running 90-updateimg.sh - build_updateimg succeeded.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ find . -name rootfs.img
./output/update/Image/rootfs.img
./output/firmware/rootfs.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ find . -name recovery.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh recovery
Log colors: message notice warning error fatal
Log saved at /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_16-52-00
==========================================
Final configs
==========================================
RK_BOOT_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot.its
RK_BOOT_IMG=boot.img
RK_BUILDROOT=y
RK_BUILDROOT_CFG=rockchip_rk3588
RK_CHIP=rk3588s
RK_CHIP_FAMILY=rk3588
RK_DEBIAN=y
RK_DEBIAN_ARCH=arm64
RK_DEBIAN_BULLSEYE=y
RK_DEBIAN_VERSION=bullseye
RK_DEFCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chips/rk3588/rockchip_rk3588s_evb1_lp4x_v10_defconfig
RK_EXTRA_PARTITION_NUM=2
RK_EXTRA_PARTITION_STR=oem:oem:/oem:ext4:defaults:normal:auto:@userdata:userdata:/userdata:ext4:defaults:normal:auto:@@@
RK_KERNEL=y
RK_KERNEL_ARCH=arm64
RK_KERNEL_CFG=rockchip_linux_defconfig
RK_KERNEL_CFG_FRAGMENTS=rk3588_linux.config
RK_KERNEL_DTB=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dtb
RK_KERNEL_DTS=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dts
RK_KERNEL_IMG=kernel/arch/arm64/boot/Image
RK_KERNEL_KBUILD_ARCH=host
RK_KERNEL_VERSION=5.10
RK_KERNEL_VERSION_REAL=5.10
RK_LOADER=y
RK_MISC=y
RK_MISC_BLANK=y
RK_OWNER=viewpro
RK_OWNER_UID=1000
RK_PARAMETER=parameter.txt
RK_RECOVERY=y
RK_RECOVERY_CFG=rockchip_rk3588_recovery
RK_RECOVERY_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot4recovery.its
RK_RECOVERY_INITRD_TYPE=cpio.gz
RK_ROOTFS=y
RK_ROOTFS_ASYNC_COMMIT=y
RK_ROOTFS_DEBUG_INFO=y
RK_ROOTFS_IRQBALANCE=y
RK_ROOTFS_OVERLAY=y
RK_ROOTFS_STRIP_MODULES=y
RK_ROOTFS_SYSTEM=buildroot
RK_ROOTFS_TYPE=ext4
RK_ROOTFS_UDEV_RULES=y
RK_SAVE_TRACKED=y
RK_SESSION=2024-05-22_16-52-00
RK_UBOOT_ARCH=arm64
RK_UBOOT_CFG=rk3588
RK_UPDATE=y
RK_USB_ADBD=y
RK_USB_ADBD_BASH=y
RK_USB_ADBD_TCP_PORT=5555
RK_USE_FIT_IMG=y
RK_WIFIBT_CHIP=ALL_AP
RK_YOCTO=y
RK_YOCTO_CHROMIUM=y
RK_YOCTO_DISPLAY_PLATFORM=wayland
RK_YOCTO_MACHINE=rockchip-rk3588-evb
RK_YOCTO_USBMOUNT=y
==========================================
Start building recovery(buildroot)
==========================================
make: Entering directory '/home/viewpro/repo_RK3588_Buildroot20240508/buildroot'
mkdir -p /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
obj=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config -C support/kconfig -f Makefile.br conf
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config -DCONFIG_=\"\" -MM *.c > /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/.depend 2>/dev/null || :
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config -DCONFIG_=\"\" -c conf.c -o /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/conf.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config -DCONFIG_=\"\" -I. -c /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/zconf.tab.c -o /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/zconf.tab.o
/usr/bin/gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -I/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config -DCONFIG_=\"\" /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/conf.o /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/zconf.tab.o -o /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/conf
rm /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/zconf.tab.c
GEN /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/Makefile
/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/build/parse_defconfig.sh /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/configs/rockchip_rk3588_recovery_defconfig /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/.config.in
Parsing defconfig: /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/configs/rockchip_rk3588_recovery_defconfig
Using configs/rockchip/base/kernel.config as base
Merging configs/rockchip/fs/e2fs.config
Merging configs/rockchip/base/common.config
Merging configs/rockchip/base/base.config
Merging configs/rockchip/base/kernel.config
Merging configs/rockchip/fs/e2fs.config
Merging configs/rockchip/base/common.config
Merging configs/rockchip/fs/vfat.config
Merging configs/rockchip/base/recovery.config
Merging configs/rockchip/chips/rk3588.config
Value of BR2_ROOTFS_OVERLAY is redefined by configs/rockchip/chips/rk3588.config:
Previous value: BR2_ROOTFS_OVERLAY="board/rockchip/common/base"
Modify value: BR2_ROOTFS_OVERLAY+="board/rockchip/rk3588/fs-overlay/"
New value: BR2_ROOTFS_OVERLAY="board/rockchip/common/base board/rockchip/rk3588/fs-overlay/"
Merging configs/rockchip/chips/rk3588_aarch64.config
Merging /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/configs/rockchip_rk3588_recovery_defconfig
#
# merged configuration written to /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/.config.in (needs make)
#
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/tristate.config BR2_CONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/.config HOST_GCC_VERSION="9" BASE_DIR=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery SKIP_LEGACY= CUSTOM_KERNEL_VERSION="5.10" BR2_DEFCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/configs/rockchip_rk3588_recovery_defconfig /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/build/buildroot-config/conf --defconfig=/home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/.config.in Config.in
#
# configuration written to /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/.config
#
make: Leaving directory '/home/viewpro/repo_RK3588_Buildroot20240508/buildroot'
2024-05-22T16:52:07 >>> host-skeleton Extracting
2024-05-22T16:52:07 >>> host-skeleton Patching
2024-05-22T16:52:07 >>> host-skeleton Configuring
2024-05-22T16:52:07 >>> host-skeleton Building
2024-05-22T16:52:07 >>> host-skeleton Installing to host directory
2024-05-22T16:52:08 >>> host-ccache 3.7.12 Extracting
2024-05-22T16:52:08 >>> host-ccache 3.7.12 Patching
2024-05-22T16:52:08 >>> host-ccache 3.7.12 Updating config.sub and config.guess
2024-05-22T16:52:08 >>> host-ccache 3.7.12 Patching libtool
2024-05-22T16:52:08 >>> host-ccache 3.7.12 Configuring
2024-05-22T16:52:10 >>> host-ccache 3.7.12 Building
2024-05-22T16:52:11 >>> host-ccache 3.7.12 Installing to host directory
2024-05-22T16:52:11 >>> host-attr 2.5.1 Extracting
2024-05-22T16:52:11 >>> host-attr 2.5.1 Patching
2024-05-22T16:52:11 >>> host-attr 2.5.1 Updating config.sub and config.guess
2024-05-22T16:52:11 >>> host-attr 2.5.1 Patching libtool
2024-05-22T16:52:11 >>> host-attr 2.5.1 Configuring
2024-05-22T16:52:14 >>> host-attr 2.5.1 Building
2024-05-22T16:52:14 >>> host-attr 2.5.1 Installing to host directory
2024-05-22T16:52:15 >>> host-acl 2.3.1 Extracting
2024-05-22T16:52:15 >>> host-acl 2.3.1 Patching
2024-05-22T16:52:15 >>> host-acl 2.3.1 Updating config.sub and config.guess
2024-05-22T16:52:15 >>> host-acl 2.3.1 Patching libtool
2024-05-22T16:52:15 >>> host-acl 2.3.1 Configuring
2024-05-22T16:52:17 >>> host-acl 2.3.1 Building
2024-05-22T16:52:18 >>> host-acl 2.3.1 Installing to host directory
2024-05-22T16:52:18 >>> host-fakeroot 1.26 Extracting
2024-05-22T16:52:18 >>> host-fakeroot 1.26 Patching
2024-05-22T16:52:18 >>> host-fakeroot 1.26 Updating config.sub and config.guess
2024-05-22T16:52:18 >>> host-fakeroot 1.26 Patching libtool
2024-05-22T16:52:18 >>> host-fakeroot 1.26 Configuring
2024-05-22T16:52:24 >>> host-fakeroot 1.26 Building
2024-05-22T16:52:24 >>> host-fakeroot 1.26 Installing to host directory
2024-05-22T16:52:25 >>> host-makedevs Extracting
2024-05-22T16:52:25 >>> host-makedevs Patching
2024-05-22T16:52:25 >>> host-makedevs Configuring
2024-05-22T16:52:25 >>> host-makedevs Building
2024-05-22T16:52:25 >>> host-makedevs Installing to host directory
2024-05-22T16:52:25 >>> host-mkpasswd Extracting
2024-05-22T16:52:25 >>> host-mkpasswd Patching
2024-05-22T16:52:25 >>> host-mkpasswd Configuring
2024-05-22T16:52:25 >>> host-mkpasswd Building
2024-05-22T16:52:26 >>> host-mkpasswd Installing to host directory
2024-05-22T16:52:26 >>> host-m4 1.4.19 Extracting
2024-05-22T16:52:26 >>> host-m4 1.4.19 Patching
2024-05-22T16:52:26 >>> host-m4 1.4.19 Updating config.sub and config.guess
2024-05-22T16:52:26 >>> host-m4 1.4.19 Patching libtool
2024-05-22T16:52:26 >>> host-m4 1.4.19 Configuring
2024-05-22T16:52:47 >>> host-m4 1.4.19 Building
2024-05-22T16:52:48 >>> host-m4 1.4.19 Installing to host directory
2024-05-22T16:52:48 >>> host-bison 3.8.2 Extracting
2024-05-22T16:52:48 >>> host-bison 3.8.2 Patching
2024-05-22T16:52:48 >>> host-bison 3.8.2 Updating config.sub and config.guess
2024-05-22T16:52:48 >>> host-bison 3.8.2 Patching libtool
2024-05-22T16:52:48 >>> host-bison 3.8.2 Configuring
2024-05-22T16:53:07 >>> host-bison 3.8.2 Building
2024-05-22T16:53:11 >>> host-bison 3.8.2 Installing to host directory
2024-05-22T16:53:12 >>> host-gawk 5.1.0 Extracting
2024-05-22T16:53:12 >>> host-gawk 5.1.0 Patching
2024-05-22T16:53:12 >>> host-gawk 5.1.0 Updating config.sub and config.guess
2024-05-22T16:53:12 >>> host-gawk 5.1.0 Patching libtool
2024-05-22T16:53:12 >>> host-gawk 5.1.0 Configuring
2024-05-22T16:53:22 >>> host-gawk 5.1.0 Building
2024-05-22T16:53:23 >>> host-gawk 5.1.0 Installing to host directory
2024-05-22T16:53:24 >>> host-binutils 2.40 Extracting
2024-05-22T16:53:25 >>> host-binutils 2.40 Patching
2024-05-22T16:53:25 >>> host-binutils 2.40 Updating config.sub and config.guess
2024-05-22T16:53:25 >>> host-binutils 2.40 Patching libtool
2024-05-22T16:53:25 >>> host-binutils 2.40 Configuring
2024-05-22T16:53:27 >>> host-binutils 2.40 Building
2024-05-22T16:53:44 >>> host-binutils 2.40 Installing to host directory
2024-05-22T16:53:45 >>> host-gmp 6.2.1 Extracting
2024-05-22T16:53:45 >>> host-gmp 6.2.1 Patching
2024-05-22T16:53:45 >>> host-gmp 6.2.1 Updating config.sub and config.guess
2024-05-22T16:53:45 >>> host-gmp 6.2.1 Patching libtool
2024-05-22T16:53:45 >>> host-gmp 6.2.1 Configuring
2024-05-22T16:53:58 >>> host-gmp 6.2.1 Building
2024-05-22T16:54:02 >>> host-gmp 6.2.1 Installing to host directory
2024-05-22T16:54:03 >>> host-mpfr 4.1.0 Extracting
2024-05-22T16:54:03 >>> host-mpfr 4.1.0 Patching
2024-05-22T16:54:03 >>> host-mpfr 4.1.0 Updating config.sub and config.guess
2024-05-22T16:54:03 >>> host-mpfr 4.1.0 Patching libtool
2024-05-22T16:54:03 >>> host-mpfr 4.1.0 Configuring
2024-05-22T16:54:08 >>> host-mpfr 4.1.0 Building
2024-05-22T17:09:24 >>> usbmount 0.0.22 Extracting
2024-05-22T17:09:24 >>> usbmount 0.0.22 Patching
2024-05-22T17:09:24 >>> usbmount 0.0.22 Configuring
2024-05-22T17:09:25 >>> usbmount 0.0.22 Building
2024-05-22T17:09:25 >>> usbmount 0.0.22 Installing to target
2024-05-22T17:09:25 >>> host-lz4 1.9.3 Extracting
2024-05-22T17:09:25 >>> host-lz4 1.9.3 Patching
2024-05-22T17:09:25 >>> host-lz4 1.9.3 Configuring
2024-05-22T17:09:25 >>> host-lz4 1.9.3 Building
2024-05-22T17:09:33 >>> host-lz4 1.9.3 Installing to host directory
2024-05-22T17:09:35 >>> host-lzo 2.10 Extracting
2024-05-22T17:09:35 >>> host-lzo 2.10 Patching
2024-05-22T17:09:35 >>> host-lzo 2.10 Configuring
2024-05-22T17:09:41 >>> host-lzo 2.10 Building
2024-05-22T17:09:42 >>> host-lzo 2.10 Installing to host directory
2024-05-22T17:09:44 >>> host-xz 5.2.5 Extracting
2024-05-22T17:09:44 >>> host-xz 5.2.5 Patching
2024-05-22T17:09:44 >>> host-xz 5.2.5 Updating config.sub and config.guess
2024-05-22T17:09:44 >>> host-xz 5.2.5 Patching libtool
2024-05-22T17:09:44 >>> host-xz 5.2.5 Configuring
2024-05-22T17:09:50 >>> host-xz 5.2.5 Building
2024-05-22T17:09:51 >>> host-xz 5.2.5 Installing to host directory
2024-05-22T17:09:53 >>> host-zstd 1.5.5 Extracting
2024-05-22T17:09:53 >>> host-zstd 1.5.5 Patching
2024-05-22T17:09:54 >>> host-zstd 1.5.5 Configuring
2024-05-22T17:09:54 >>> host-zstd 1.5.5 Building
2024-05-22T17:10:00 >>> host-zstd 1.5.5 Installing to host directory
2024-05-22T17:10:02 >>> host-squashfs 4.4 Extracting
2024-05-22T17:10:02 >>> host-squashfs 4.4 Patching
2024-05-22T17:10:02 >>> host-squashfs 4.4 Configuring
2024-05-22T17:10:02 >>> host-squashfs 4.4 Building
2024-05-22T17:10:03 >>> host-squashfs 4.4 Installing to host directory
2024-05-22T17:10:04 >>> Finalizing host directory
2024-05-22T17:10:05 >>> Finalizing target directory
2024-05-22T17:10:05 >>> Sanitizing RPATH in target tree
2024-05-22T17:10:06 >>> Sanity check in overlay board/rockchip/common/base
2024-05-22T17:10:06 >>> Sanity check in overlay board/rockchip/rk3588/fs-overlay/
2024-05-22T17:10:06 >>> Copying overlay board/rockchip/common/base
2024-05-22T17:10:06 >>> Copying overlay board/rockchip/rk3588/fs-overlay/
2024-05-22T17:10:06 >>> Executing post-build script board/rockchip/common/post-build.sh
2024-05-22T17:10:06 >>> Copying board/rockchip/common/overlays/00-pm-utils
2024-05-22T17:10:06 >>> Ignored board/rockchip/common/overlays/10-weston
2024-05-22T17:10:06 >>> Ignored board/rockchip/common/overlays/11-weston-chromium
2024-05-22T17:10:06 >>> Ignored board/rockchip/common/overlays/20-wlan0
2024-05-22T17:10:06 >>> Running 01-hostname.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:06 >>> Running 05-udev.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:06 >>> Installing udev rule: external/rkscript/61-partition-init.rules
2024-05-22T17:10:06 >>> Installing udev rule: external/rkscript/88-rockchip-camera.rules
2024-05-22T17:10:06 >>> Installing udev rule: external/rkscript/99-rockchip-permissions.rules
2024-05-22T17:10:06 >>> Running 10-os-release.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:06 >>> Running 30-fstab.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:07 >>> Running 40-busybox-reboot.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:07 >>> Running 50-locale.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:07 >>> Running 60-dirs.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:07 >>> Running 90-overlay.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:07 >>> Running 91-modules.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:07 >>> Running 99-owner.sh for /home/viewpro/repo_RK3588_Buildroot20240508/buildroot/output/rockchip_rk3588_recovery/target (recovery init=busybox)...
2024-05-22T17:10:07 >>> chown: changing ownership of './res/images/icon_installing.png': Operation not permitted
2024-05-22T17:10:07 >>> Running build.sh - post-rootfs succeeded.
2024-05-22T17:10:07 >>> Generating root filesystems common tables
2024-05-22T17:10:07 >>> Generating filesystem image rootfs.cpio
2024-05-22T17:10:10 >>> Generating filesystem image rootfs.ext2
2024-05-22T17:10:10 >>> Generating filesystem image rootfs.squashfs
2024-05-22T17:10:10 >>> Generating filesystem image rootfs.tar
Done in 18min 09s
Log saved on /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_16-52-00/br-rockchip_rk3588_recovery_2024-05-22_16-52-02.log
Generated images:
/home/viewpro/repo_RK3588_Buildroot20240508/output/recovery/images/rootfs.cpio
/home/viewpro/repo_RK3588_Buildroot20240508/output/recovery/images/rootfs.cpio.gz
/home/viewpro/repo_RK3588_Buildroot20240508/output/recovery/images/rootfs.ext2
/home/viewpro/repo_RK3588_Buildroot20240508/output/recovery/images/rootfs.ext4
/home/viewpro/repo_RK3588_Buildroot20240508/output/recovery/images/rootfs.squashfs
/home/viewpro/repo_RK3588_Buildroot20240508/output/recovery/images/rootfs.tar
Using kernel version(5.10) from environment
Toolchain for kernel:
/home/viewpro/repo_RK3588_Buildroot20240508/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
==========================================
Start building recovery-kernel
==========================================
==========================================
Start building kernel
==========================================
+ make -C /home/viewpro/repo_RK3588_Buildroot20240508/kernel/ -j21 CROSS_COMPILE=/home/viewpro/repo_RK3588_Buildroot20240508/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=arm64 rockchip_linux_defconfig rk3588_linux.config
make: Entering directory '/home/viewpro/repo_RK3588_Buildroot20240508/kernel'
#
# configuration written to .config
#
Using .config as base
Merging ./arch/arm64/configs/rk3588_linux.config
Value of CONFIG_BCMDHD_PCIE is redefined by fragment ./arch/arm64/configs/rk3588_linux.config:
Previous value: # CONFIG_BCMDHD_PCIE is not set
New value: CONFIG_BCMDHD_PCIE=y
Value of CONFIG_MALI_CSF_SUPPORT is redefined by fragment ./arch/arm64/configs/rk3588_linux.config:
Previous value: # CONFIG_MALI_CSF_SUPPORT is not set
New value: CONFIG_MALI_CSF_SUPPORT=y
#
# merged configuration written to .config (needs make)
#
.config:7203:warning: override: BCMDHD_PCIE changes choice state
#
# configuration written to .config
#
make: Leaving directory '/home/viewpro/repo_RK3588_Buildroot20240508/kernel'
+ make -C /home/viewpro/repo_RK3588_Buildroot20240508/kernel/ -j21 CROSS_COMPILE=/home/viewpro/repo_RK3588_Buildroot20240508/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- ARCH=arm64 rk3588s-evb1-lp4x-v10-linux.img
make: Entering directory '/home/viewpro/repo_RK3588_Buildroot20240508/kernel'
SYNC include/config/auto.conf.cmd
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
fatal: not a git repository (or any of the parent directories): .git
Image: resource.img (with rk3588s-evb1-lp4x-v10-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
make: Leaving directory '/home/viewpro/repo_RK3588_Buildroot20240508/kernel'
+ /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/common/scripts/mk-fitimage.sh kernel/boot.img /home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot.its kernel/arch/arm64/boot/Image kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dtb kernel/resource.img
FIT description: U-Boot FIT source file for arm
Created: Wed May 22 17:10:22 2024
Image 0 (fdt)
Description: unavailable
Created: Wed May 22 17:10:22 2024
Type: Flat Device Tree
Compression: uncompressed
Data Size: 262743 Bytes = 256.58 KiB = 0.25 MiB
Architecture: AArch64
Load Address: 0xffffff00
Hash algo: sha256
Hash value: df5a7c5af3d0890cc3c787ad59ee4458ff1679319564d603980ec0569b228eec
Image 1 (kernel)
Description: unavailable
Created: Wed May 22 17:10:22 2024
Type: Kernel Image
Compression: uncompressed
Data Size: 36751872 Bytes = 35890.50 KiB = 35.05 MiB
Architecture: AArch64
OS: Linux
Load Address: 0xffffff01
Entry Point: 0xffffff01
Hash algo: sha256
Hash value: 601a91d905fb139246fdee1588456437e534ca178de73c240696ea0cd7e59789
Image 2 (resource)
Description: unavailable
Created: Wed May 22 17:10:22 2024
Type: Multi-File Image
Compression: uncompressed
Data Size: 301056 Bytes = 294.00 KiB = 0.29 MiB
Hash algo: sha256
Hash value: d17a34ab68bc1dd1ed480d674d1d7473acefa1e72ecf694b626934928e18bab0
Default Configuration: 'conf'
Configuration 0 (conf)
Description: unavailable
Kernel: kernel
FDT: fdt
+ ln -rsf kernel/boot.img /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/boot.img
Not Found io-domains in kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dts
+ ln -rsf kernel/arch/arm64/boot/Image /home/viewpro/repo_RK3588_Buildroot20240508/output/recovery-kernel.img
+ ln -rsf kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dtb /home/viewpro/repo_RK3588_Buildroot20240508/output/recovery-kernel.dtb
+ ln -rsf kernel/resource.img /home/viewpro/repo_RK3588_Buildroot20240508/output/recovery-resource.img
Running mk-kernel.sh - build_recovery-kernel succeeded.
Packing /home/viewpro/repo_RK3588_Buildroot20240508/output/recovery/ramboot.img...
FIT description: U-Boot FIT source file for arm
Created: Wed May 22 17:10:23 2024
Image 0 (fdt)
Description: unavailable
Created: Wed May 22 17:10:23 2024
Type: Flat Device Tree
Compression: uncompressed
Data Size: 262743 Bytes = 256.58 KiB = 0.25 MiB
Architecture: AArch64
Load Address: 0xffffff00
Hash algo: sha256
Hash value: df5a7c5af3d0890cc3c787ad59ee4458ff1679319564d603980ec0569b228eec
Image 1 (kernel)
Description: unavailable
Created: Wed May 22 17:10:23 2024
Type: Kernel Image
Compression: uncompressed
Data Size: 36751872 Bytes = 35890.50 KiB = 35.05 MiB
Architecture: AArch64
OS: Linux
Load Address: 0xffffff01
Entry Point: 0xffffff01
Hash algo: sha256
Hash value: 601a91d905fb139246fdee1588456437e534ca178de73c240696ea0cd7e59789
Image 2 (ramdisk)
Description: unavailable
Created: Wed May 22 17:10:23 2024
Type: RAMDisk Image
Compression: uncompressed
Data Size: 6714723 Bytes = 6557.35 KiB = 6.40 MiB
Architecture: AArch64
OS: Linux
Load Address: 0xffffff02
Entry Point: unavailable
Hash algo: sha256
Hash value: 8e966415dc8a55d2107b786f444e4a6974c53e4a0f7cce1d0040d975ccc7e072
Image 3 (resource)
Description: unavailable
Created: Wed May 22 17:10:23 2024
Type: Multi-File Image
Compression: uncompressed
Data Size: 301056 Bytes = 294.00 KiB = 0.29 MiB
Hash algo: sha256
Hash value: d17a34ab68bc1dd1ed480d674d1d7473acefa1e72ecf694b626934928e18bab0
Default Configuration: 'conf'
Configuration 0 (conf)
Description: unavailable
Kernel: kernel
Init Ramdisk: ramdisk
FDT: fdt
Running 40-recovery.sh - build_recovery succeeded.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ll
total 64
drwxrwxr-x 16 viewpro viewpro 4096 5月 22 16:52 ./
drwxr-xr-x 38 viewpro viewpro 4096 5月 22 16:52 ../
drwxrwxr-x 4 viewpro viewpro 4096 5月 20 16:26 app/
drwxrwxr-x 18 viewpro viewpro 4096 5月 22 16:52 buildroot/
lrwxrwxrwx 1 viewpro viewpro 39 5月 20 16:26 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx 1 viewpro viewpro 22 5月 22 15:38 common -> device/rockchip/common/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:26 debian/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 device/
drwxrwxr-x 6 viewpro viewpro 4096 5月 20 16:26 docs/
drwxrwxr-x 27 viewpro viewpro 4096 5月 20 16:27 external/
drwxrwxr-x 26 viewpro viewpro 4096 5月 22 17:10 kernel/
lrwxrwxrwx 1 viewpro viewpro 31 5月 20 16:26 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 9 viewpro viewpro 4096 5月 22 17:10 output/
drwxrwxr-x 3 viewpro viewpro 4096 5月 20 16:26 prebuilts/
lrwxrwxrwx 1 viewpro viewpro 32 5月 22 15:38 README.md -> device/rockchip/common/README.md
drwxrwxr-x 9 viewpro viewpro 4096 5月 22 15:39 rkbin/
lrwxrwxrwx 1 viewpro viewpro 41 5月 20 16:26 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 tools/
drwxrwxr-x 27 viewpro viewpro 4096 5月 22 15:39 u-boot/
drwxrwxr-x 5 viewpro viewpro 4096 5月 20 16:27 uefi/
drwxrwxr-x 9 viewpro viewpro 4096 5月 20 16:27 yocto/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh recovery^C
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh --help
Log colors: message notice warning error fatal
Usage: build.sh [OPTIONS]
Available options:
chip[:<chip>[:<config>]] choose chip
defconfig[:<config>] choose defconfig
*_defconfig switch to specified defconfig
available defconfigs:
rockchip_defconfig
rockchip_rk3588_evb1_lp4_v10_defconfig
rockchip_rk3588_evb7_v11_defconfig
rockchip_rk3588s_evb1_lp4x_v10_defconfig
olddefconfig resolve any unresolved symbols in .config
savedefconfig save current config to defconfig
menuconfig interactive curses-based configurator
config modify SDK defconfig
print-parts print partitions
list-parts alias of print-parts
mod-parts interactive partition table modify
edit-parts edit raw partitions
new-parts:<offset>:<name>:<size>... re-create partitions
insert-part:<idx>:<name>[:<size>] insert partition
del-part:(<idx>|<name>) delete partition
move-part:(<idx>|<name>):<idx> move partition
rename-part:(<idx>|<name>):<name> rename partition
resize-part:(<idx>|<name>):<size> resize partition
misc pack misc image
kernel[:cmds] build kernel
recovery-kernel[:cmds] build kernel for recovery
modules[:cmds] build kernel modules
linux-headers[:cmds] build linux-headers
kernel-config[:cmds] modify kernel defconfig
kconfig[:cmds] alias of kernel-config
kernel-make[:<arg1>:<arg2>] run kernel make
kmake[:<arg1>:<arg2>] alias of kernel-make
wifibt[:<dst dir>[:<chip>]] build Wifi/BT
rtos build and pack RTOS
buildroot-config[:<config>] modify buildroot defconfig
bconfig[:<config>] alias of buildroot-config
buildroot-make[:<arg1>:<arg2>] run buildroot make
bmake[:<arg1>:<arg2>] alias of buildroot-make
rootfs[:<rootfs type>] build default rootfs
buildroot build buildroot rootfs
yocto build yocto rootfs
debian build debian rootfs
recovery build recovery
pcba build PCBA
security-createkeys create keys for security
security-misc build misc with system encryption key
security-ramboot build security ramboot
security-system build security system
loader[:cmds] build loader (uboot)
uboot[:cmds] build u-boot
uefi[:cmds] build uefi
extra-part pack extra partition images
firmware pack and check firmwares
edit-package-file edit package-file
edit-ota-package-file edit package-file for OTA
updateimg build update image
ota-updateimg build update image for OTA
all build images
release release images and build info
all-release build and release images
shell setup a shell for developing
cleanall cleanup
clean[:module[:module]]... cleanup modules
available modules:
all
config
extra-part
firmware
kernel
loader
misc
pcba
recovery
rootfs
rtos
security
updateimg
post-rootfs <rootfs dir> trigger post-rootfs hook scripts
help usage
Default option is 'all'.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh updateimg
Log colors: message notice warning error fatal
Log saved at /home/viewpro/repo_RK3588_Buildroot20240508/output/sessions/2024-05-22_17-22-56
==========================================
Final configs
==========================================
RK_BOOT_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot.its
RK_BOOT_IMG=boot.img
RK_BUILDROOT=y
RK_BUILDROOT_CFG=rockchip_rk3588
RK_CHIP=rk3588s
RK_CHIP_FAMILY=rk3588
RK_DEBIAN=y
RK_DEBIAN_ARCH=arm64
RK_DEBIAN_BULLSEYE=y
RK_DEBIAN_VERSION=bullseye
RK_DEFCONFIG=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chips/rk3588/rockchip_rk3588s_evb1_lp4x_v10_defconfig
RK_EXTRA_PARTITION_NUM=2
RK_EXTRA_PARTITION_STR=oem:oem:/oem:ext4:defaults:normal:auto:@userdata:userdata:/userdata:ext4:defaults:normal:auto:@@@
RK_KERNEL=y
RK_KERNEL_ARCH=arm64
RK_KERNEL_CFG=rockchip_linux_defconfig
RK_KERNEL_CFG_FRAGMENTS=rk3588_linux.config
RK_KERNEL_DTB=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dtb
RK_KERNEL_DTS=kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb1-lp4x-v10-linux.dts
RK_KERNEL_IMG=kernel/arch/arm64/boot/Image
RK_KERNEL_KBUILD_ARCH=host
RK_KERNEL_VERSION=5.10
RK_KERNEL_VERSION_REAL=5.10
RK_LOADER=y
RK_MISC=y
RK_MISC_BLANK=y
RK_OWNER=viewpro
RK_OWNER_UID=1000
RK_PARAMETER=parameter.txt
RK_RECOVERY=y
RK_RECOVERY_CFG=rockchip_rk3588_recovery
RK_RECOVERY_FIT_ITS=/home/viewpro/repo_RK3588_Buildroot20240508/device/rockchip/.chip/boot4recovery.its
RK_RECOVERY_INITRD_TYPE=cpio.gz
RK_ROOTFS=y
RK_ROOTFS_ASYNC_COMMIT=y
RK_ROOTFS_DEBUG_INFO=y
RK_ROOTFS_IRQBALANCE=y
RK_ROOTFS_OVERLAY=y
RK_ROOTFS_STRIP_MODULES=y
RK_ROOTFS_SYSTEM=buildroot
RK_ROOTFS_TYPE=ext4
RK_ROOTFS_UDEV_RULES=y
RK_SAVE_TRACKED=y
RK_SESSION=2024-05-22_17-22-56
RK_UBOOT_ARCH=arm64
RK_UBOOT_CFG=rk3588
RK_UPDATE=y
RK_USB_ADBD=y
RK_USB_ADBD_BASH=y
RK_USB_ADBD_TCP_PORT=5555
RK_USE_FIT_IMG=y
RK_WIFIBT_CHIP=ALL_AP
RK_YOCTO=y
RK_YOCTO_CHROMIUM=y
RK_YOCTO_DISPLAY_PLATFORM=wayland
RK_YOCTO_MACHINE=rockchip-rk3588-evb
RK_YOCTO_USBMOUNT=y
Make update image
==========================================
Start packing update image
==========================================
RK_AB_UPDATE enabled, without having A/B partitions!
Generating package-file for update:
# NAME PATH
package-file package-file
parameter parameter.txt
bootloader MiniLoaderAll.bin
uboot uboot.img
boot boot.img
recovery recovery.img
backup RESERVED
rootfs rootfs.img
oem oem.img
userdata userdata.img
Packing /home/viewpro/repo_RK3588_Buildroot20240508/output/firmware/update.img for update...
Android Firmware Package Tool v2.2
------ PACKAGE ------
Add file: ./package-file
package-file,Add file: ./package-file done,offset=0x800,size=0xd3,userspace=0x1
Add file: ./parameter.txt
parameter,Add file: ./parameter.txt done,offset=0x1000,size=0x227,userspace=0x1,flash_address=0x00000000
Add file: ./MiniLoaderAll.bin
bootloader,Add file: ./MiniLoaderAll.bin done,offset=0x1800,size=0x761c0,userspace=0xed
Add file: ./uboot.img
uboot,Add file: ./uboot.img done,offset=0x78000,size=0x400000,userspace=0x800,flash_address=0x00004000
Add file: ./boot.img
boot,Add file: ./boot.img done,offset=0x478000,size=0x2397200,userspace=0x472f,flash_address=0x00008000
Add file: ./recovery.img
recovery,Add file: ./recovery.img done,offset=0x280f800,size=0x29fe800,userspace=0x53fd,flash_address=0x00028000
Add file: ./rootfs.img
rootfs,Add file: ./rootfs.img done,offset=0x520e000,size=0x33300000,userspace=0x66600,flash_address=0x00078000
Add file: ./oem.img
oem,Add file: ./oem.img done,offset=0x3850e000,size=0x10a6000,userspace=0x214c,flash_address=0x01c78000
Add file: ./userdata.img
userdata,Add file: ./userdata.img done,offset=0x395b4000,size=0x444000,userspace=0x888,flash_address=0x01cb8000
Add CRC...
Make firmware OK!
------ OK ------
********rkImageMaker ver 2.23********
Generating new image, please wait...
Writing head info...
Writing boot file...
Writing firmware...
Generating MD5 data...
MD5 data generated successfully!
New image generated successfully!
Running 90-updateimg.sh - build_updateimg succeeded.
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$
viewpro@viewpro-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$