|
|
地板
楼主 |
发表于 2026-4-17 17:48:55
|
只看该作者
本帖最后由 helianyi 于 2026-4-17 17:59 编辑
hi rk:
这是build logoem@he:~/work/rk35xx-linux510 (master)$ ./edge build -a
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/build/bin/misc.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images
[EDGE DEBUG] Start build parameter ...
[EDGE INFO] Build parameter successfully!
[EDGE DEBUG] Start build kernel ...
[EDGE DEBUG] make CROSS_COMPILE=/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- LLVM=1 LLVM_IAS=1 -j 48 ARCH=arm64 rockchip_linux_defconfig rk3588_edge.config rk3588_toybrick.config
#
# configuration written to .config
#
Using .config as base
Merging ./arch/arm64/configs/rk3588_edge.config
Value of CONFIG_R8168 is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: CONFIG_R8168=y
New value: # CONFIG_R8168 is not set
Value of CONFIG_R8169 is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_R8169 is not set
New value: CONFIG_R8169=y
Value of CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP is not set
New value: CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP=y
Value of CONFIG_AP6XXX is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: CONFIG_AP6XXX=m
New value: CONFIG_AP6XXX=y
Value of CONFIG_WIFI_BUILD_MODULE is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: CONFIG_WIFI_BUILD_MODULE=y
New value: # CONFIG_WIFI_BUILD_MODULE is not set
Value of CONFIG_MALI_CSF_SUPPORT is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_MALI_CSF_SUPPORT is not set
New value: CONFIG_MALI_CSF_SUPPORT=y
Value of CONFIG_FRAMEBUFFER_CONSOLE is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_FRAMEBUFFER_CONSOLE is not set
New value: CONFIG_FRAMEBUFFER_CONSOLE=y
Value of CONFIG_USB_CONFIGFS_RNDIS is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_USB_CONFIGFS_RNDIS is not set
New value: CONFIG_USB_CONFIGFS_RNDIS=y
Value of CONFIG_USB_CONFIGFS_F_UAC1 is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_USB_CONFIGFS_F_UAC1 is not set
New value: CONFIG_USB_CONFIGFS_F_UAC1=y
Value of CONFIG_USB_CONFIGFS_F_UAC2 is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_USB_CONFIGFS_F_UAC2 is not set
New value: CONFIG_USB_CONFIGFS_F_UAC2=y
Value of CONFIG_USB_CONFIGFS_F_HID is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_USB_CONFIGFS_F_HID is not set
New value: CONFIG_USB_CONFIGFS_F_HID=y
Value of CONFIG_SENSORS_PWM_FAN is redefined by fragment ./arch/arm64/configs/rk3588_edge.config:
Previous value: # CONFIG_SENSORS_PWM_FAN is not set
New value: CONFIG_SENSORS_PWM_FAN=y
#
# merged configuration written to .config (needs make)
#
#
# configuration written to .config
#
Using .config as base
Merging ./arch/arm64/configs/rk3588_toybrick.config
Value of CONFIG_BCMDHD_PCIE is redefined by fragment ./arch/arm64/configs/rk3588_toybrick.config:
Previous value: # CONFIG_BCMDHD_PCIE is not set
New value: CONFIG_BCMDHD_PCIE=y
Value of CONFIG_VIDEO_IMX258 is redefined by fragment ./arch/arm64/configs/rk3588_toybrick.config:
Previous value: # CONFIG_VIDEO_IMX258 is not set
New value: CONFIG_VIDEO_IMX258=y
Value of CONFIG_CAN is redefined by fragment ./arch/arm64/configs/rk3588_toybrick.config:
Previous value: # CONFIG_CAN is not set
New value: CONFIG_CAN=y
#
# merged configuration written to .config (needs make)
#
.config:7230:warning: override: BCMDHD_PCIE changes choice state
#
# configuration written to .config
#
[EDGE DEBUG] make CROSS_COMPILE=/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu- LLVM=1 LLVM_IAS=1 -j 48 ARCH=arm64 rk3588-toybrick-x0-linux.img
SYNC include/config/auto.conf.cmd
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
Image: resource.img (with rk3588-toybrick-x0-linux.dtb logo.bmp logo_kernel.bmp) is ready
Image: boot.img (with Image resource.img) is ready
Image: zboot.img (with Image.lz4 resource.img) is ready
[EDGE DEBUG] cmd is None, skip it
[EDGE DEBUG] cmd is None, skip it
[EDGE INFO] Build kernel successfully!
[EDGE DEBUG] Start build extlinux image ...
[EDGE DEBUG] rm -rf /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux; mkdir -p /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux/extlinux
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/kernel/linux-5.10/arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0-linux.dtb /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux/extlinux/toybrick.dtb
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/kernel/linux-5.10/arch/arm64/boot/Image /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux/extlinux/Image
[EDGE DEBUG] genext2fs -B 4096 -b 16384 -d /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux -i 8192 -U /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux.img
copying from directory /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux
[EDGE DEBUG] mv /home/oem/work/rk35xx-linux510/kernel/linux-5.10/boot_linux.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/kernel/linux-5.10/resource.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/
[EDGE INFO] Build extlinux image successfully!
[EDGE DEBUG] Start build recovery.img ...
[EDGE DEBUG] ./make_initrd.sh arm64
149432 blocks
/home/oem/work/rk35xx-linux510/rootfs/debian/initrd
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/rkbin/tools/mkimage -f /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/boot_its -E -p 0x1000 /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/recovery.img
FIT description: FIT image with Linux kernel, FDT blob and resource
Created: Fri Apr 17 17:28:25 2026
Image 0 (fdt)
Description: unavailable
Created: Fri Apr 17 17:28:25 2026
Type: Flat Device Tree
Compression: uncompressed
Data Size: 283121 Bytes = 276.49 KiB = 0.27 MiB
Architecture: AArch64
Load Address: 0xffffff00
Hash algo: sha256
Hash value: 01c3dfc8c2b19012a132817309e887d7b3e8375daa14b7dd6f66954e2d5f2a0b
Image 1 (kernel)
Description: unavailable
Created: Fri Apr 17 17:28:25 2026
Type: Kernel Image
Compression: uncompressed
Data Size: 33829376 Bytes = 33036.50 KiB = 32.26 MiB
Architecture: AArch64
OS: Linux
Load Address: 0xffffff01
Entry Point: 0xffffff01
Hash algo: sha256
Hash value: 4fc7227ff5b07d69a7f8a89a5f09a7bd0d2eab7c86238c14e14d56b41cd837ff
Image 2 (resource)
Description: unavailable
Created: Fri Apr 17 17:28:25 2026
Type: Multi-File Image
Compression: uncompressed
Data Size: 321024 Bytes = 313.50 KiB = 0.31 MiB
Hash algo: sha256
Hash value: 0d427715c9a9ed3efa0f7622f5779eabd82eb1028b6ea595659419fd5247b386
Image 3 (ramdisk)
Description: unavailable
Created: Fri Apr 17 17:28:25 2026
Type: RAMDisk Image
Compression: uncompressed
Data Size: 31838418 Bytes = 31092.21 KiB = 30.36 MiB
Architecture: AArch64
OS: Linux
Load Address: 0xffffff02
Entry Point: 0xffffff02
Hash algo: sha256
Hash value: d439fa0885aff52ca39ede786bab105a2385d305c8d7e83ac0f5acfe9e1d9090
Default Configuration: 'conf'
Configuration 0 (conf)
Description: unavailable
Kernel: kernel
Init Ramdisk: ramdisk
FDT: fdt
[EDGE DEBUG] rm -rf /home/oem/work/rk35xx-linux510/rootfs/debian/initrd/initrd-arm64.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/boot_its
[EDGE INFO] Build recovery.img successfully!
[EDGE INFO] Build boot extlinux successfully!
[EDGE DEBUG] Start build uboot ...
[EDGE DEBUG] ./make.sh rk3588-toybrick
## make rk3588_defconfig rk3588-edge.config rk3588-toybrick.config -j48
#
# configuration written to .config
#
Using .config as base
Merging ./arch/../configs/rk3588-edge.config
Value of CONFIG_BASE_DEFCONFIG is redefined by fragment ./arch/../configs/rk3588-edge.config:
Previous value: CONFIG_BASE_DEFCONFIG=""
New value: CONFIG_BASE_DEFCONFIG="rk3588_defconfig"
Value of CONFIG_ROCKCHIP_EARLY_DISTRO_DTB is redefined by fragment ./arch/../configs/rk3588-edge.config:
Previous value: # CONFIG_ROCKCHIP_EARLY_DISTRO_DTB is not set
New value: CONFIG_ROCKCHIP_EARLY_DISTRO_DTB=y
#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
Using .config as base
Merging ./arch/../configs/rk3588-toybrick.config
Value of CONFIG_BASE_DEFCONFIG is redefined by fragment ./arch/../configs/rk3588-toybrick.config:
Previous value: CONFIG_BASE_DEFCONFIG="rk3588_defconfig"
New value: CONFIG_BASE_DEFCONFIG="rk3588-edge.config"
Value of CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION is redefined by fragment ./arch/../configs/rk3588-toybrick.config:
Previous value: CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION=y
New value: # CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION is not set
#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
CFG tpl/u-boot.cfg
GEN include/autoconf.mk
GEN spl/include/autoconf.mk
GEN tpl/include/autoconf.mk
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CHK include/generated/version_autogenerated.h
CHK include/generated/generic-asm-offsets.h
CHK include/generated/asm-offsets.h
HOSTCC tools/mkenvimage.o
HOSTCC tools/fit_image.o
HOSTCC tools/image-host.o
HOSTCC tools/dumpimage.o
HOSTCC tools/mkimage.o
CHK include/config.h
CFG u-boot.cfg
HOSTLD tools/mkenvimage
HOSTLD tools/dumpimage
HOSTLD tools/mkimage
CC arch/arm/cpu/armv8/fwcall.o
CC arch/arm/mach-rockchip/board.o
LD arch/arm/cpu/armv8/built-in.o
CC drivers/usb/gadget/f_fastboot.o
CC cmd/version.o
CC common/main.o
LD cmd/built-in.o
LD common/built-in.o
CC lib/display_options.o
LD lib/built-in.o
LD arch/arm/mach-rockchip/built-in.o
LD drivers/usb/gadget/built-in.o
LD u-boot
OBJCOPY u-boot.srec
OBJCOPY u-boot-nodtb.bin
SYM u-boot.sym
start=$(/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x00200000 $start $end
make[2]: 'arch/arm/dts/rk3588-evb.dtb' is up to date.
COPY u-boot.dtb
CAT u-boot-dtb.bin
MKIMAGE u-boot.img
MKIMAGE u-boot-dtb.img
COPY u-boot.bin
ALIGN u-boot.bin
COPY spl/u-boot-spl.dtb
CC spl/common/spl/spl.o
CC spl/arch/arm/cpu/armv8/fwcall.o
CC tpl/arch/arm/mach-rockchip/tpl.o
CC tpl/arch/arm/cpu/armv8/fwcall.o
CC spl/arch/arm/mach-rockchip/spl.o
CC spl/lib/display_options.o
LD spl/arch/arm/cpu/armv8/built-in.o
LD tpl/arch/arm/cpu/armv8/built-in.o
LD tpl/arch/arm/mach-rockchip/built-in.o
LD spl/arch/arm/mach-rockchip/built-in.o
LD spl/common/spl/built-in.o
LD spl/lib/built-in.o
LD tpl/u-boot-tpl
OBJCOPY tpl/u-boot-tpl-nodtb.bin
COPY tpl/u-boot-tpl.bin
LD spl/u-boot-spl
OBJCOPY spl/u-boot-spl-nodtb.bin
CAT spl/u-boot-spl-dtb.bin
COPY spl/u-boot-spl.bin
CFGCHK u-boot.cfg
SEC=1
pack u-boot.itb okay! Input: /home/oem/work/rk35xx-linux510/rkbin/RKTRUST/RK3588TRUST.ini
FIT description: FIT Image with ATF/OP-TEE/U-Boot/MCU
Created: Fri Apr 17 17:28:31 2026
Image 0 (uboot)
Description: U-Boot
Created: Fri Apr 17 17:28:31 2026
Type: Standalone Program
Compression: gzip compressed
Data Size: 597477 Bytes = 583.47 KiB = 0.57 MiB
Architecture: AArch64
Load Address: 0x00200000
Entry Point: unavailable
Hash algo: sha256
Hash value: 26dab992031fef8d211ea105e93e313b5b3876d09b9fb71048e5442716839d61
Image 1 (atf-1)
Description: ARM Trusted Firmware
Created: Fri Apr 17 17:28:31 2026
Type: Firmware
Compression: gzip compressed
Data Size: 69973 Bytes = 68.33 KiB = 0.07 MiB
Architecture: AArch64
Load Address: 0x00040000
Hash algo: sha256
Hash value: a6504630792890f0e4e75d7573c461afd2463d20d3a83987d189abc4b461dfd8
Image 2 (atf-2)
Description: ARM Trusted Firmware
Created: Fri Apr 17 17:28:31 2026
Type: Firmware
Compression: uncompressed
Data Size: 36864 Bytes = 36.00 KiB = 0.04 MiB
Architecture: AArch64
Load Address: 0xff100000
Hash algo: sha256
Hash value: 70505bb764db81a665c8bba4953d804ed9eab580d5428888a4436121eff11c50
Image 3 (atf-3)
Description: ARM Trusted Firmware
Created: Fri Apr 17 17:28:31 2026
Type: Firmware
Compression: uncompressed
Data Size: 24576 Bytes = 24.00 KiB = 0.02 MiB
Architecture: AArch64
Load Address: 0x000f0000
Hash algo: sha256
Hash value: 569ee96047e8ff069a6f89d1f62a530133c3e0afc74da4958519da2b51ec57d6
Image 4 (optee)
Description: OP-TEE
Created: Fri Apr 17 17:28:31 2026
Type: Firmware
Compression: gzip compressed
Data Size: 229068 Bytes = 223.70 KiB = 0.22 MiB
Architecture: AArch64
Load Address: 0x08400000
Hash algo: sha256
Hash value: 80a9cb849a4213917551b93c7d43da6f00c1a47b833a946b8e8b3677e9cb2d2e
Image 5 (fdt)
Description: U-Boot dtb
Created: Fri Apr 17 17:28:31 2026
Type: Flat Device Tree
Compression: uncompressed
Data Size: 8867 Bytes = 8.66 KiB = 0.01 MiB
Architecture: AArch64
Hash algo: sha256
Hash value: a434b1c4fe1fe989156b3b53572daa76e0342fbcf2503fd4807ad30f8da2ce71
Default Configuration: 'conf'
Configuration 0 (conf)
Description: rk3588-evb
Kernel: unavailable
Firmware: atf-1
FDT: fdt
Loadables: uboot
atf-2
atf-3
optee
********boot_merger ver 1.35********
Info ack loader ok.
pack loader okay! Input: /home/oem/work/rk35xx-linux510/rkbin/RKBOOT/RK3588MINIALL.ini
/home/oem/work/rk35xx-linux510/uboot
Image(no-signed, version=0): uboot.img (FIT with uboot, trust...) is ready
Image(no-signed): rk3588_spl_loader_v1.18.113.bin (with spl, ddr...) is ready
pack uboot.img okay! Input: /home/oem/work/rk35xx-linux510/rkbin/RKTRUST/RK3588TRUST.ini
Platform RK3588 is build OK, with new .config(make rk3588_defconfig rk3588-edge.config rk3588-toybrick.config -j48)
/home/oem/work/rk35xx-linux510/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
Friday, April 17, 2026 PM05:28:31 HKT
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/uboot/uboot.img /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/
[EDGE DEBUG] cp /home/oem/work/rk35xx-linux510/uboot/rk3588_*.bin /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/MiniLoaderAll.bin
[EDGE INFO] Build uboot successfully!
[EDGE DEBUG] Start build rootfs ...
[EDGE INFO] Rootfs already exists, do you want to continue?[Y/n] Y
[EDGE DEBUG] Continue to build rootfs image!
[EDGE DEBUG] mkdir -p rootfs
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/scripts/resize.sh /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img 20480M
e2fsck 1.46.5 (30-Dec-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img: 158541/335872 files (0.9% non-contiguous), 1234177/1329408 blocks
Resize /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img to 20480M ...
resize2fs 1.46.5 (30-Dec-2021)
Resizing the filesystem on /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img to 5242880 (4k) blocks.
The filesystem on /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img is now 5242880 (4k) blocks long.
[EDGE DEBUG] sudo mount rootfs.img rootfs
[EDGE DEBUG] sudo cp /home/oem/work/rk35xx-linux510/build/scripts/qemu-aarch64-static rootfs/usr/bin
[EDGE DEBUG] sudo cp -rf /home/oem/work/rk35xx-linux510/vendor/common/pre-install /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs/
[EDGE DEBUG] sudo cp -rf /home/oem/work/rk35xx-linux510/rootfs/debian/packages-local /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs/usr/share/
[EDGE DEBUG] sudo cp -rf /home/oem/work/rk35xx-linux510/vendor/rk3588/TB-RK3588X0/pre-install/* /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs/pre-install/
[EDGE DEBUG] sudo mkdir -p etc/chroot; echo "rockchip,rk3588-chroot" | sudo tee etc/chroot/compatible
rockchip,rk3588-chroot
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/scripts/rootfs-install.sh gnome toybrick toybrick TB-RK3588X0 debian 1.1.0 http://repo.rock-chips.com GPG-KEY-ROCKCHIP
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Hit:2 http://repo.rock-chips.com/edge/debian-release-v1.1.0 bullseye InRelease
Hit:3 http://repo.rock-chips.com/edge/debian-toybrick bullseye InRelease
Hit:4 http://ftp.cn.debian.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bluez is already the newest version (5.55-3.1+deb11u1).
cmake is already the newest version (3.18.4-2+deb11u1).
expect is already the newest version (5.45.4-2+b1).
gcc is already the newest version (4:10.2.1-1).
git is already the newest version (1:2.30.2-1+deb11u2).
gnupg is already the newest version (2.2.27-2+deb11u2).
make is already the newest version (4.3-4.1).
net-tools is already the newest version (1.60+git20181103.0eebece-1+deb11u1).
ssh is already the newest version (1:8.4p1-5+deb11u3).
pciutils is already the newest version (1:3.7.0-5).
python3-pip is already the newest version (20.3.4-4+deb11u1).
sudo is already the newest version (1.9.5p2-3+deb11u1).
usbutils is already the newest version (1:013-3).
rfkill is already the newest version (2.36.1-8+deb11u2).
vim is already the newest version (2:8.2.2434-3+deb11u1).
network-manager is already the newest version (1.30.6-2+deb11u1).
The following packages were automatically installed and are no longer required:
liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
User toybrick already exists, ignore it
syntax on
set mouse=v
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
deb http://repo.rock-chips.com/edge/debian-release-v1.1.0 bullseye main
deb file:/usr/share/packages-local bullseye main
[global]
extra-index-url = http://repo.rock-chips.com/edge/pypi/simple http://pypi.douban.com/simple
trusted-host = repo.rock-chips.com pypi.douban.com
#
# /etc/fstab
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/disk/by-partlabel/boot_linux /boot ext2 defaults,nofail 1 1
/dev/disk/by-partlabel/userdata /data ext4 defaults,nofail 1 1
debian.toybrick
127.0.0.1 localhost debian.toybrick
127.0.1.1 debian.toybrick
# The following lines are desirable for IPv6 capable hosts
::1 localhost debian.toybrick ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
export GDK_BACKEND=wayland
export MOZ_ENABLE_WAYLAND=1
export VK_DRIVER_FILES=/etc/vulkan/icd.d/edge_vk.json
{
"model": "TB-RK3588X0"
}
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Hit:2 http://repo.rock-chips.com/edge/debian-release-v1.1.0 bullseye InRelease
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Hit:3 http://repo.rock-chips.com/edge/debian-toybrick bullseye InRelease
Hit:4 http://ftp.cn.debian.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
edge-utils is already the newest version (1.1.1-14).
gstreamer1.0-rockchip1 is already the newest version (1.14-8).
recovery is already the newest version (1.0.0-1).
rockchip-isp is already the newest version (1.2.0-3).
rockchip-mali is already the newest version (1.9-10).
toybrick-prop-bin is already the newest version (1.2.0-5).
toybrick-server is already the newest version (2.1.0-10).
toybrick-usbd is already the newest version (1.0.1-6).
toybrick-vendor-bin is already the newest version (1.2.0-2).
vendor-firmware is already the newest version (2.1.0-5).
The following packages were automatically installed and are no longer required:
liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
toybrick ALL = (root) NOPASSWD:ALL
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
Looking in indexes: https://pypi.org/simple, http://repo.rock-chips.com/edge/pypi/simple, http://pypi.douban.com/simple
Requirement already satisfied: rknn-toolkit-lite2 in /home/toybrick/.local/lib/python3.9/site-packages (2.3.2)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/rknn-toolkit-lite2/
Collecting rknn-toolkit-lite2
Using cached rknn_toolkit_lite2-2.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (559 kB)
Using cached rknn_toolkit_lite2-2.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (559 kB)
Requirement already satisfied: psutil in /home/toybrick/.local/lib/python3.9/site-packages (from rknn-toolkit-lite2) (5.9.4)
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from rknn-toolkit-lite2) (1.19.5)
Requirement already satisfied: ruamel.yaml in /home/toybrick/.local/lib/python3.9/site-packages (from rknn-toolkit-lite2) (0.17.21)
Requirement already satisfied: ruamel.yaml.clib>=0.2.6 in /home/toybrick/.local/lib/python3.9/site-packages (from ruamel.yaml->rknn-toolkit-lite2) (0.2.7)
Parmeter: ostype gnome, user toybrick, password toybrick, model TB-RK3588X0 osname debian relver 1.1.0
Start to run it now ...
[Desktop Entry]
Type=Application
Name=Toybrick Autostart
Comment=Start with toybrick HELP
Exec=gnome-terminal -- /usr/local/bin/toybrick_startup.sh
Add toybrick apt source ...
deb http://repo.rock-chips.com/edge/debian-toybrick bullseye main
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Hit:2 http://repo.rock-chips.com/edge/debian-release-v1.1.0 bullseye InRelease
Get:1 file:/usr/share/packages-local bullseye InRelease [1508 B]
Hit:3 http://repo.rock-chips.com/edge/debian-toybrick bullseye InRelease
Hit:4 http://ftp.cn.debian.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
{
"model": "TB-RK3588X0",
"display": {
"dsi": "off"
}
}
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
liba52-0.7.4 libdca0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 7331 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.cn.debian.org/debian bullseye/main arm64 qemu-system-arm arm64 1:5.2+dfsg-11+deb11u3 [7331 kB]
Fetched 7331 kB in 4s (1898 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_HK:en",
LC_ALL = (unset),
LANG = "en_HK.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 143240 files and directories currently installed.)
Preparing to unpack .../qemu-system-arm_1%3a5.2+dfsg-11+deb11u3_arm64.deb ...
Unpacking qemu-system-arm (1:5.2+dfsg-11+deb11u3) over (1:5.2+dfsg-11+deb11u3) ...
Setting up qemu-system-arm (1:5.2+dfsg-11+deb11u3) ...
Processing triggers for man-db (2.9.4-2) ...
libgbm.so.1.0.0
/
libgbm.so.1.0.0
cp: cannot stat 'libGLESv1_CM.so.1.2.0': No such file or directory
libgbm.so.1.0.0
[User]
Session=
XSession=ubuntu-wayland
Icon=/home/toybrick/.face
SystemAccount=false
[InputSource0]
xkb=us
/
/usr/lib/aarch64-linux-gnu
/usr/lib
/usr/lib
Edge Release V1.1.0
[EDGE DEBUG] sudo rm -rf pre-install var/log/* root/.bash_history home/toybrick/.bash_history etc/chroot
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/scripts/kill_qemu.sh
[EDGE DEBUG] sudo umount rootfs/dev
umount: rootfs/dev: not mounted.
[EDGE DEBUG] sudo umount rootfs
[EDGE DEBUG] rm -rf rootfs
[EDGE INFO] Resize root.img to 5193M
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/scripts/resize.sh /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img 5193M
e2fsck 1.46.5 (30-Dec-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img: 158541/1310720 files (0.9% non-contiguous), 1295538/5242880 blocks
Resize /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img to 5193M ...
resize2fs 1.46.5 (30-Dec-2021)
Resizing the filesystem on /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img to 1329408 (4k) blocks.
The filesystem on /home/oem/work/rk35xx-linux510/out/rk3588/TB-RK3588X0/images/rootfs.img is now 1329408 (4k) blocks long.
[EDGE INFO] Build rootfs successfully!
[EDGE DEBUG] Start build update ...
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/bin/afptool -pack . update.img.tmp
Android Firmware Package Tool v2.0
------ PACKAGE ------
Add file: ./package-file
package-file,Add file: ./package-file done,offset=0x800,size=0xc5,userspace=0x1
Add file: ./parameter.txt
parameter,Add file: ./parameter.txt done,offset=0x1000,size=0x1e5,userspace=0x1
Add file: ./MiniLoaderAll.bin
bootloader,Add file: ./MiniLoaderAll.bin done,offset=0x1800,size=0x771c0,userspace=0xef
Add file: ./uboot.img
uboot,Add file: ./uboot.img done,offset=0x79000,size=0x400000,userspace=0x800
Add file: ./misc.img
misc,Add file: ./misc.img done,offset=0x479000,size=0xc000,userspace=0x18
Add file: ./boot_linux.img
boot_linux,Add file: ./boot_linux.img done,offset=0x485000,size=0x4000000,userspace=0x8000
Add file: ./recovery.img
recovery,Add file: ./recovery.img done,offset=0x4485000,size=0x3f35000,userspace=0x7e6a
Add file: ./resource.img
resource,Add file: ./resource.img done,offset=0x83ba000,size=0x4e600,userspace=0x9d
Add file: ./rootfs.img
rootfs,Add file: ./rootfs.img done,offset=0x8408800,size=0x144900000,userspace=0x289200
Add CRC...
Make firmware OK!
------ OK ------
[EDGE DEBUG] /home/oem/work/rk35xx-linux510/build/bin/rkImageMaker -rk3588 MiniLoaderAll.bin update.img.tmp update.img -os_type:androidos
********rkImageMaker ver 2.0********
Generating new image, please wait...
Writing head info...
Writing boot file...
Writing firmware...
Generating MD5 data...
MD5 data generated successfully!
New image generated successfully!
[EDGE DEBUG] rm -rf update.img.tmp package-file
[EDGE INFO] Build update successfully!
[EDGE INFO] Build all successfully!
oem@he:~/work/rk35xx-linux510 (master)$
|
|