20241125编译友善之臂的NanoPi R3S开发板【RK3566】STEP-BY-STEP版本

20241125编译友善之臂的NanoPi R3S开发板【RK3566】STEP-BY-STEP版本
2024/11/25 15:59


20241125编译友善之臂的NanoPi R3S开发板【RK3566】精简步骤
2024/11/25 19:37


viewpro@viewpro-ThinkBook-16-G5-IRH:~$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ df -h
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ ll *.tar
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ tar xvf buildroot-rk3566-20241007.tar 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ cd buildroot-rk3566/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ .repo/repo/repo sync -l
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ll
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ cd pre-download
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ ll
【如果可以上github,这一步可以不执行的!^_主要是解压缩文件系统和以太网卡/WIFI的驱动程序。】
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ ./unpack.sh 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ cd ..
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh init
no .current_config.mk, please select a board first.

# select board: 
  ./build.sh rk3566.mk

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 

【可选操作,由于Rockchip的包管理策略变化,所有的包放在目录里,友善之臂的魔改SDK自带的裸露在dl中的包无效/过时了。】
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ cd buildroot/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ rm dl -rf
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ mv dl dl2
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ cd ..

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh rk3566.mk
【请输入su的密码】
Re-running script under sudo...
[sudo] password for viewpro: 
using config /home/viewpro/buildroot-rk3566/device/friendlyelec/rk3566/rk3566.mk
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ find . -name *.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ sudo find . -name *.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ sudo find . -type f -size +800M
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ sudo find . -type f -size +500M
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh init
Can't find a build config file, please check again
USAGE: ./build.sh <parameter>

# select board: 
  ./build.sh rk3566.mk

# build module: 
  ./build.sh all                -build all
  ./build.sh uboot              -build uboot only
  ./build.sh kernel             -build kernel only
  ./build.sh buildroot          -build buildroot rootfs only
  ./build.sh sd-img             -pack sd-card image, used to create bootable SD card
  ./build.sh emmc-img           -pack sd-card image, used to write buildroot to emmc
# clean
  ./build.sh clean              -remove old images
  ./build.sh cleanall

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh emmc-img


【可选操作,备份友善之臂的NanoPi R3S开发板/RK3566的Buildroot的SDK的dl,以便下次从头编译的时候节省下载时间!】
【下载可能会高达1-2小时,并且都是从外网下载。最终能否下载完成看人品!】
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ cd buildroot-rk3566/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ du -sh dl
721M    dl
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ tar zcvf dl1903.tar.gz dl/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ time tar --use-compress-program=pigz -cvpf dl1904.tgz dl/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ cd ..


最详细的LOG:
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            7.7G     0  7.7G   0% /dev
tmpfs           1.6G  4.4M  1.6G   1% /run
/dev/nvme0n1p2  938G  603G  287G  68% /
tmpfs           7.7G     0  7.7G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           7.7G     0  7.7G   0% /sys/fs/cgroup
/dev/loop0       64M   64M     0 100% /snap/core20/2379
/dev/loop3       39M   39M     0 100% /snap/snapd/21759
/dev/loop2       13M   13M     0 100% /snap/snap-store/1113
/dev/loop1       75M   75M     0 100% /snap/core22/1621
/dev/loop4       45M   45M     0 100% /snap/snapd/22991
/dev/loop5       13M   13M     0 100% /snap/snap-store/1216
/dev/loop7       74M   74M     0 100% /snap/core22/1663
/dev/loop6      347M  347M     0 100% /snap/gnome-3-38-2004/119
/dev/loop10     497M  497M     0 100% /snap/gnome-42-2204/141
/dev/loop11     350M  350M     0 100% /snap/gnome-3-38-2004/143
/dev/loop13     128K  128K     0 100% /snap/bare/5
/dev/loop12      64M   64M     0 100% /snap/core20/2434
/dev/loop9       92M   92M     0 100% /snap/gtk-common-themes/1535
/dev/loop8      506M  506M     0 100% /snap/gnome-42-2204/176
/dev/nvme0n1p1  511M   15M  497M   3% /boot/efi
tmpfs           1.6G   16K  1.6G   1% /run/user/126
tmpfs           1.6G   36K  1.6G   1% /run/user/1000
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ ll *.tar
-rwx------ 1 viewpro viewpro 14312161280 11月 20 15:18 buildroot-rk3566-20241007.tar*
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ tar xvf buildroot-rk3566-20241007.tar 

buildroot-rk3566/


【一分钟内】
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ cd buildroot-rk3566/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ll
total 24
drwxrwxr-x  4 viewpro viewpro  4096 10月  7 11:45 ./
drwxr-xr-x 47 viewpro viewpro 12288 11月 25 16:02 ../
lrwxrwxrwx  1 viewpro viewpro    26 10月  7 11:44 .current -> device/friendlyelec/rk3566
drwxrwxr-x  2 viewpro viewpro  4096 10月  7 11:45 pre-download/
drwxrwxr-x  7 viewpro viewpro  4096 10月  7 11:44 .repo/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ .repo/repo/repo sync -l
Updating files: 100% (354/354), done.g files:  27% (96/354)
Updating files: 100% (279/279), done.g files:  86% (241/279)
Updating files: 100% (21245/21245), done.les:  17% (3718/21245)
Updating files: 100% (1418/1418), done.files:   4% (65/1418)
Updating files: 100% (1178/1178), done.files:  24% (292/1178)
Updating files: 100% (83001/83001), done.iles:  27% (22576/83001)
Syncing work tree: 100% (15/15), done.  

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ll
total 60
drwxrwxr-x 13 viewpro viewpro  4096 11月 25 16:16 ./
drwxr-xr-x 47 viewpro viewpro 12288 11月 25 16:02 ../
drwxrwxr-x  5 viewpro viewpro  4096 11月 25 16:15 app/
drwxrwxr-x 18 viewpro viewpro  4096 11月 25 16:15 buildroot/
lrwxrwxrwx  1 viewpro viewpro    16 11月 25 16:15 build.sh -> scripts/build.sh*
lrwxrwxrwx  1 viewpro viewpro    26 10月  7 11:44 .current -> device/friendlyelec/rk3566/
drwxrwxr-x  4 viewpro viewpro  4096 11月 25 16:15 device/
drwxrwxr-x 30 viewpro viewpro  4096 11月 25 16:15 external/
drwxrwxr-x 28 viewpro viewpro  4096 11月 25 16:15 kernel/
lrwxrwxrwx  1 viewpro viewpro    19 11月 25 16:16 out -> scripts/sd-fuse/out/
drwxrwxr-x  2 viewpro viewpro  4096 10月  7 11:45 pre-download/
drwxrwxr-x  7 viewpro viewpro  4096 10月  7 11:44 .repo/
drwxrwxr-x 10 viewpro viewpro  4096 11月 25 16:15 rkbin/
drwxrwxr-x  4 viewpro viewpro  4096 11月 25 16:15 scripts/
drwxrwxr-x  5 viewpro viewpro  4096 11月 25 16:16 toolchain/
drwxrwxr-x 25 viewpro viewpro  4096 11月 25 16:16 u-boot/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 


viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ ^C
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ ll
total 314660
drwxrwxr-x  2 viewpro viewpro      4096 10???  7 11:45 ./
drwxrwxr-x 13 viewpro viewpro      4096 11??? 25 16:16 ../
-rw-r--r--  1 viewpro viewpro 280249569 10???  7 11:45 eflasher.tgz
-rw-rw-r--  1 viewpro viewpro  41946789 10???  7 11:45 kernel-3rd-drivers.tgz
-rwxr-xr-x  1 viewpro viewpro       223 10???  7 11:45 unpack.sh*
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ cat unpack.sh 
#!/bin/bash
set -eu
if [ ! -d ../kernel ]; then
    echo "Please run \"repo sync -l\" first."
    exit 1
fi
tar xzf eflasher.tgz -C ../scripts/sd-fuse/
tar xzf kernel-3rd-drivers.tgz -C ../scripts/sd-fuse/out/
echo "done."
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ tar zxvf eflasher.tgz 
eflasher/
eflasher/rootfs.img
eflasher/dtbo.img
eflasher/info.conf
eflasher/kernel.img
eflasher/uboot.img
eflasher/MiniLoaderAll.bin
eflasher/resource.img
eflasher/boot.img
eflasher/parameter.txt
eflasher/misc.img
eflasher/idbloader.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ tar zxvf kernel-3rd-drivers.tgz 
cryptodev-linux/
cryptodev-linux/cryptlib.h
cryptodev-linux/util.c
cryptodev-linux/lib/
cryptodev-linux/lib/hash.h
cryptodev-linux/lib/benchmark.c
cryptodev-linux/lib/main.c
cryptodev-linux/lib/threshold.c
cryptodev-linux/lib/hash.c


viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ ll 
total 314696
drwxrwxr-x 11 viewpro viewpro      4096 11??? 25 16:25 ./
drwxrwxr-x 13 viewpro viewpro      4096 11??? 25 16:16 ../
drwxrwxr-x  7 viewpro viewpro      4096 8???   9 14:21 cryptodev-linux/
drwxr-xr-x  2 viewpro viewpro      4096 10???  5 21:48 eflasher/
-rw-r--r--  1 viewpro viewpro 280249569 10???  7 11:45 eflasher.tgz
-rw-rw-r--  1 viewpro viewpro  41946789 10???  7 11:45 kernel-3rd-drivers.tgz
drwxrwxr-x  4 viewpro viewpro      4096 8???   9 14:21 nft-fullcone/
drwxrwxr-x  3 viewpro viewpro      4096 8???   9 14:21 r8125/
drwxrwxr-x  8 viewpro viewpro      4096 8???   9 14:21 rtl8812au/
drwxrwxr-x  9 viewpro viewpro      4096 8???   9 14:21 rtl8821CU/
drwxrwxr-x  8 viewpro viewpro      4096 8???   9 14:21 rtl8822bu/
drwxrwxr-x  8 viewpro viewpro      4096 8???   9 14:21 rtl8822cs/
drwxrwxr-x  4 viewpro viewpro      4096 8???   9 14:21 rtw88/
-rwxr-xr-x  1 viewpro viewpro       223 10???  7 11:45 unpack.sh*
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ ./unpack.sh 
done.

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 


viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/pre-download$ cd ..
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ll
total 60
drwxrwxr-x 13 viewpro viewpro  4096 11??? 25 16:16 ./
drwxr-xr-x 47 viewpro viewpro 12288 11??? 25 16:30 ../
drwxrwxr-x  5 viewpro viewpro  4096 11??? 25 16:15 app/
drwxrwxr-x 18 viewpro viewpro  4096 11??? 25 16:15 buildroot/
lrwxrwxrwx  1 viewpro viewpro    16 11??? 25 16:15 build.sh -> scripts/build.sh*
lrwxrwxrwx  1 viewpro viewpro    26 10???  7 11:44 .current -> device/friendlyelec/rk3566/
drwxrwxr-x  4 viewpro viewpro  4096 11??? 25 16:15 device/
drwxrwxr-x 30 viewpro viewpro  4096 11??? 25 16:15 external/
drwxrwxr-x 28 viewpro viewpro  4096 11??? 25 16:15 kernel/
lrwxrwxrwx  1 viewpro viewpro    19 11??? 25 16:16 out -> scripts/sd-fuse/out/
drwxrwxr-x 11 viewpro viewpro  4096 11??? 25 16:25 pre-download/
drwxrwxr-x  7 viewpro viewpro  4096 10???  7 11:44 .repo/
drwxrwxr-x 10 viewpro viewpro  4096 11??? 25 16:15 rkbin/
drwxrwxr-x  4 viewpro viewpro  4096 11??? 25 16:15 scripts/
drwxrwxr-x  5 viewpro viewpro  4096 11??? 25 16:16 toolchain/
drwxrwxr-x 25 viewpro viewpro  4096 11??? 25 16:16 u-boot/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh init
no .current_config.mk, please select a board first.

# select board: 
  ./build.sh rk3566.mk

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh --help
no .current_config.mk, please select a board first.

# select board: 
  ./build.sh rk3566.mk

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh rk3566.mk


viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh rk3566.mk^C
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ cd buildroot/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ ll
total 952
drwxrwxr-x   18 viewpro viewpro   4096 11??? 25 16:15 ./
drwxrwxr-x   13 viewpro viewpro   4096 11??? 25 16:16 ../
drwxrwxr-x    2 viewpro viewpro   4096 11??? 25 16:15 arch/
drwxrwxr-x    2 viewpro viewpro   4096 11??? 25 16:15 archives/
drwxrwxr-x   75 viewpro viewpro   4096 11??? 25 16:15 board/
drwxrwxr-x   26 viewpro viewpro   4096 11??? 25 16:15 boot/
-rw-rw-r--    1 viewpro viewpro 454027 11??? 25 16:15 CHANGES
-rw-rw-r--    1 viewpro viewpro  29466 11??? 25 16:15 Config.in
-rw-rw-r--    1 viewpro viewpro 135649 11??? 25 16:15 Config.in.legacy
drwxrwxr-x    3 viewpro viewpro  20480 11??? 25 16:15 configs/
-rw-rw-r--    1 viewpro viewpro  18767 11??? 25 16:15 COPYING
-rw-rw-r--    1 viewpro viewpro   1198 11??? 25 16:15 .defconfig
-rw-rw-r--    1 viewpro viewpro  72437 11??? 25 16:15 DEVELOPERS
drwxrwxr-x    3 viewpro viewpro  20480 11??? 25 16:15 dl/
drwxrwxr-x    5 viewpro viewpro   4096 11??? 25 16:15 docs/
lrwxrwxrwx    1 viewpro viewpro     19 11??? 25 16:15 envsetup.sh -> scripts/envsetup.sh*
-rw-rw-r--    1 viewpro viewpro     96 11??? 25 16:15 .flake8
drwxrwxr-x   20 viewpro viewpro   4096 11??? 25 16:15 fs/
drwxrwxr-x    2 viewpro viewpro   4096 11??? 25 16:15 .git/
-rw-rw-r--    1 viewpro viewpro    125 11??? 25 16:15 .gitignore
-rw-rw-r--    1 viewpro viewpro    721 11??? 25 16:15 .gitlab-ci.yml
drwxrwxr-x    3 viewpro viewpro   4096 11??? 25 16:15 linux/
-rw-rw-r--    1 viewpro viewpro  47147 11??? 25 16:15 Makefile
-rw-rw-r--    1 viewpro viewpro   2292 11??? 25 16:15 Makefile.legacy
drwxrwxr-x 2602 viewpro viewpro  69632 11??? 25 16:15 package/
-rw-rw-r--    1 viewpro viewpro   1075 11??? 25 16:15 README
-rw-rw-r--    1 viewpro viewpro    721 11??? 25 16:15 README.rockchip
drwxrwxr-x    2 viewpro viewpro   4096 11??? 25 16:15 scripts/
drwxrwxr-x   13 viewpro viewpro   4096 11??? 25 16:15 support/
drwxrwxr-x    3 viewpro viewpro   4096 11??? 25 16:15 system/
drwxrwxr-x    5 viewpro viewpro   4096 11??? 25 16:15 toolchain/
drwxrwxr-x    3 viewpro viewpro   4096 11??? 25 16:15 utils/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ mv dl dl2
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ 

Number of gids 4
    root (0)
    viewpro (1000)
    unknown (1001)
    www-data (33)
>>>   Generating filesystem image rootfs.tar
mkdir -p /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/images
rm -rf /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar
mkdir -p /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar
rsync -auH --exclude=/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/target/ /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/target
echo '#!/bin/sh' > /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
echo "set -e" >> /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
echo "chown -h -R 0:0 /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/target" >> /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
PATH="/home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/host/bin:/home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/host/sbin:/home/viewpro/.local/bin:/usr/lib/jvm/jdk1.6.0_45/bin:/opt/FriendlyARM/toolchain/4.9.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/viewpro/buildroot-rk3566/buildroot/support/scripts/mkusers /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/full_users_table.txt /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/target >> /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
echo "/home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/host/bin/makedevs -d /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/full_devices_table.txt /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/target" >> /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
printf '       rm -rf /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/target//etc/udev/hwdb.d/\n' >> /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
printf '   \n' >> /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
printf '   \n' >> /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
printf '       (cd /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/target; find -print0 | LC_ALL=C sort -z | tar  --pax-option=exthdr.name=%%d/PaxHeaders/%%f,atime:=0,ctime:=0 -cf /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/images/rootfs.tar --null --xattrs-include='\''*'\'' --no-recursion -T - --numeric-owner)\n' >> /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
chmod a+x /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
PATH="/home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/host/bin:/home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/host/sbin:/home/viewpro/.local/bin:/usr/lib/jvm/jdk1.6.0_45/bin:/opt/FriendlyARM/toolchain/4.9.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" FAKEROOTDONTTRYCHOWN=1 /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/host/bin/fakeroot -- /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/fakeroot
rootdir=/home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/tar/target
table='/home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/build/buildroot-fs/full_devices_table.txt'
PATH="/home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/host/bin:/home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/host/sbin:/home/viewpro/.local/bin:/usr/lib/jvm/jdk1.6.0_45/bin:/opt/FriendlyARM/toolchain/4.9.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" xz -9 -C crc32 -c -T 21 /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/images/rootfs.tar > /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/images/rootfs.tar.xz
ln -snf /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/host/aarch64-buildroot-linux-gnu/sysroot /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/staging
====Building buildroot ok!====
Re-running script under sudo...
[sudo] password for viewpro: 
using config /home/viewpro/buildroot-rk3566/device/friendlyelec/rk3566/rk3566.mk
============Start building uboot============
SRC                = /home/viewpro/buildroot-rk3566/u-boot
TARGET_ARCH        = arm64
TARGET_PLAT        = rk3566
TARGET_UBOOT_CONFIG=nanopi_r3_defconfig
TARGET_OSNAME     = buildroot
=========================================
  CLEAN   dts/../arch/arm/dts
  CLEAN   dts
  CLEAN   examples/standalone
  CLEAN   tools
  CLEAN   tools/lib tools/common
  CLEAN   spl/arch spl/board spl/cmd spl/common spl/disk spl/drivers spl/dts spl/env spl/fs spl/lib spl/u-boot.cfg spl/u-boot-spl spl/u-boot-spl.bin spl/u-boot-spl.dtb spl/u-boot-spl-dtb.bin spl/u-boot-spl.lds spl/u-boot-spl.map spl/u-boot-spl-nodtb.bin spl/u-boot-spl.sym tpl/arch tpl/board tpl/common tpl/disk tpl/drivers tpl/dts tpl/fs tpl/u-boot.cfg tpl/u-boot-spl.lds tpl/u-boot-tpl tpl/u-boot-tpl.bin tpl/u-boot-tpl.map tpl/u-boot-tpl-nodtb.bin tpl/u-boot-tpl.sym
  CLEAN   u-boot-nodtb.bin.digest u-boot.lds u-boot.dtb u-boot-nodtb.bin.gz u-boot.map u-boot-nodtb.bin u-boot.srec u-boot.cfg u-boot.bin u-boot-dtb.bin u-boot u-boot.sym u-boot.cfg.configs System.map bl31_0xfdcd0000.bin bl31_0x00040000.bin u-boot-nodtb.bin bl31_0xfdcc1000.bin tee.bin bl31_0x0006b000.bin bl31_0x00069000.bin u-boot.bin u-boot-dtb.bin bl31_0xfdcce000.bin rk356x_spl_loader_v1.22.114.bin uboot.img bl31_0x00040000.bin.gz u-boot-nodtb.bin.gz tee.bin.gz
  CLEAN   scripts/basic
  CLEAN   scripts/dtc
  CLEAN   scripts/kconfig
  CLEAN   include/config include/generated spl tpl
  CLEAN   .config include/autoconf.mk include/autoconf.mk.dep include/config.h
grep: .config: No such file or directory
grep: .config: No such file or directory
## make nanopi_r3_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 a??conf_writea??:
scripts/kconfig/confdata.c:771:19: warning: a??%sa?? 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: a??__builtin___sprintf_chka?? 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: a??.tmpconfig.a?? 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: a??__builtin___sprintf_chka?? 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

[INFO]: Applying device/friendlyelec/rk3566/r8168 to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.REAppMZM0  
[INFO]: Applying device/friendlyelec/alsa-config to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.REAppMZM0  
[INFO]: Applying device/friendlyelec/usbdevice-wrapper to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.REAppMZM0  
[INFO]: prepare boot.img ...  
mke2fs 1.45.4 (23-Sep-2019)
Creating regular file ./buildroot/boot.img
Creating filesystem with 16384 4k blocks and 144 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

generating ./buildroot/boot.img done.
[INFO]: prepare rootfs.img ...  
mke2fs 1.45.4 (23-Sep-2019)
Creating regular file buildroot/rootfs.img
Creating filesystem with 278528 4k blocks and 9360 inodes
Filesystem UUID: f0c749e5-d72f-4b3b-9c57-16a2af02253f
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done

'/home/viewpro/buildroot-rk3566/scripts/sd-fuse/prebuilt/parameter.template' -> 'buildroot/parameter.txt'
generating buildroot/parameter.txt done.
0
generating buildroot/rootfs.img done.
0
Generating empty userdata.img (size:209715200)
mke2fs 1.45.4 (23-Sep-2019)
Creating regular file ./buildroot/userdata.img
Creating filesystem with 51200 4k blocks and 12800 inodes
Filesystem UUID: 6157aa6a-d8c7-4d22-bca0-30212c5e82d4
Superblock backups stored on blocks: 
    32768

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (4096 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done

-----------------------------------------
rootfs dir:
    /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.REAppMZM0
boot dir:
    /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/boot.oGeWhbAaG
-----------------------------------------
Creating RAW image: out/buildroot_20241125_rk3566_arm64_sd.img (7800 MB)
---------------------------------
0+0 records in
0+0 records out
0 bytes copied, 0.000100362 s, 0.0 kB/s
----------------------------------------------------------------
[out/buildroot_20241125_rk3566_arm64_sd.img] capacity = 7438MB, 7799999488 bytes
current out/buildroot_20241125_rk3566_arm64_sd.img partition:
----------------------------------------------------------------
parsing ./buildroot/parameter.txt:
create new GPT 9:
----------------------------------------------------------------
copy from: ./buildroot to out/buildroot_20241125_rk3566_arm64_sd.img
 [RAW. 0]:      310 KB | ./buildroot/idbloader.img  > 100% : done.
 [RAW. 1]:     4096 KB | ./buildroot/uboot.img      > 100% : done.
 [RAW. 2]:       48 KB | ./buildroot/misc.img       > 100% : done.
 [RAW. 3]:        1 KB | ./buildroot/dtbo.img       > 100% : done.
 [RAW. 4]:     7083 KB | ./buildroot/resource.img   > 100% : done.
 [RAW. 5]:    35846 KB | ./buildroot/kernel.img     > 100% : done.
 [RAW. 6]:     7759 KB | ./buildroot/boot.img       > 100% : done.
 [RAW. 8]:   886956 KB | ./buildroot/rootfs.img     > 100% : done.
 [RAW. 9]:      156 KB | ./buildroot/userdata.img   > 100% : done.
----------------------------------------------------------------
---------------------------------
RAW image successfully created (17:59:07).
-rw-r--r-- 1 root root 7799999488 11??? 25 17:59 out/buildroot_20241125_rk3566_arm64_sd.img
Tip: You can compress it to save disk space.
-----------------------------------------
Run the following command for sdcard install:
    sudo dd if=out/buildroot_20241125_rk3566_arm64_sd.img bs=1M of=/dev/sdX
-----------------------------------------
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ find . -name *.img
./device/rockchip/common/images/userdata/sl/ref_data.img
./rkbin/img/rk1x/rk1806_trust_v1.12.img
find: ?€?./scripts/sd-fuse/out/rootfs.REAppMZM0/root?€?: Permission denied
./scripts/sd-fuse/out/buildroot_20241125_rk3566_arm64_sd.img

find: ?€?./scripts/sd-fuse/out/boot.oGeWhbAaG?€?: Permission denied
./scripts/sd-fuse/prebuilt/dtbo-plain.img
./scripts/sd-fuse/prebuilt/misc.img
./scripts/sd-fuse/prebuilt/uboot.img
./scripts/sd-fuse/prebuilt/idbloader.img
./scripts/sd-fuse/prebuilt/boot.img
./scripts/sd-fuse/prebuilt/dtbo.img
./scripts/sd-fuse/buildroot/resource.img
./scripts/sd-fuse/buildroot/kernel.img
./scripts/sd-fuse/buildroot/rootfs.img
./scripts/sd-fuse/buildroot/misc.img
./scripts/sd-fuse/buildroot/userdata.img
./scripts/sd-fuse/buildroot/uboot.img
./scripts/sd-fuse/buildroot/idbloader.img
./scripts/sd-fuse/buildroot/boot.img
./scripts/sd-fuse/buildroot/dtbo.img
./scripts/sd-fuse/eflasher/resource.img
./scripts/sd-fuse/eflasher/kernel.img
./scripts/sd-fuse/eflasher/rootfs.img
./scripts/sd-fuse/eflasher/misc.img
./scripts/sd-fuse/eflasher/uboot.img
./scripts/sd-fuse/eflasher/idbloader.img
./scripts/sd-fuse/eflasher/boot.img
./scripts/sd-fuse/eflasher/dtbo.img
./buildroot/output/rockchip_rk3566/build/linux-headers-custom/resource.img
./buildroot/output/rockchip_rk3566/build/linux-headers-custom/kernel.img
./buildroot/output/rockchip_rk3566/build/host-util-linux-2.39.3/tests/ts/cramfs/cramfs-little.img
./buildroot/output/rockchip_rk3566/build/host-util-linux-2.39.3/tests/ts/cramfs/cramfs-big.img
./buildroot/output/rockchip_rk3566/build/util-linux-2.39.3/tests/ts/cramfs/cramfs-little.img
./buildroot/output/rockchip_rk3566/build/util-linux-2.39.3/tests/ts/cramfs/cramfs-big.img
./buildroot/output/rockchip_rk3566/build/util-linux-libs-2.39.3/tests/ts/cramfs/cramfs-little.img
./buildroot/output/rockchip_rk3566/build/util-linux-libs-2.39.3/tests/ts/cramfs/cramfs-big.img
./u-boot/uboot.img
./kernel/resource.img
./kernel/kernel.img
./kernel/boot.img
./pre-download/eflasher/resource.img
./pre-download/eflasher/kernel.img
./pre-download/eflasher/rootfs.img
./pre-download/eflasher/misc.img
./pre-download/eflasher/uboot.img
./pre-download/eflasher/idbloader.img
./pre-download/eflasher/boot.img
./pre-download/eflasher/dtbo.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ sudo find . -name *.img
./device/rockchip/common/images/userdata/sl/ref_data.img
./rkbin/img/rk1x/rk1806_trust_v1.12.img
./scripts/sd-fuse/out/buildroot_20241125_rk3566_arm64_sd.img

./scripts/sd-fuse/prebuilt/dtbo-plain.img
./scripts/sd-fuse/prebuilt/misc.img
./scripts/sd-fuse/prebuilt/uboot.img
./scripts/sd-fuse/prebuilt/idbloader.img
./scripts/sd-fuse/prebuilt/boot.img
./scripts/sd-fuse/prebuilt/dtbo.img
./scripts/sd-fuse/buildroot/resource.img
./scripts/sd-fuse/buildroot/kernel.img
./scripts/sd-fuse/buildroot/rootfs.img
./scripts/sd-fuse/buildroot/misc.img
./scripts/sd-fuse/buildroot/userdata.img
./scripts/sd-fuse/buildroot/uboot.img
./scripts/sd-fuse/buildroot/idbloader.img
./scripts/sd-fuse/buildroot/boot.img
./scripts/sd-fuse/buildroot/dtbo.img
./scripts/sd-fuse/eflasher/resource.img
./scripts/sd-fuse/eflasher/kernel.img
./scripts/sd-fuse/eflasher/rootfs.img
./scripts/sd-fuse/eflasher/misc.img
./scripts/sd-fuse/eflasher/uboot.img
./scripts/sd-fuse/eflasher/idbloader.img
./scripts/sd-fuse/eflasher/boot.img
./scripts/sd-fuse/eflasher/dtbo.img
./buildroot/output/rockchip_rk3566/build/linux-headers-custom/resource.img
./buildroot/output/rockchip_rk3566/build/linux-headers-custom/kernel.img
./buildroot/output/rockchip_rk3566/build/host-util-linux-2.39.3/tests/ts/cramfs/cramfs-little.img
./buildroot/output/rockchip_rk3566/build/host-util-linux-2.39.3/tests/ts/cramfs/cramfs-big.img
./buildroot/output/rockchip_rk3566/build/util-linux-2.39.3/tests/ts/cramfs/cramfs-little.img
./buildroot/output/rockchip_rk3566/build/util-linux-2.39.3/tests/ts/cramfs/cramfs-big.img
./buildroot/output/rockchip_rk3566/build/util-linux-libs-2.39.3/tests/ts/cramfs/cramfs-little.img
./buildroot/output/rockchip_rk3566/build/util-linux-libs-2.39.3/tests/ts/cramfs/cramfs-big.img
./u-boot/uboot.img
./kernel/resource.img
./kernel/kernel.img
./kernel/boot.img
./pre-download/eflasher/resource.img
./pre-download/eflasher/kernel.img
./pre-download/eflasher/rootfs.img
./pre-download/eflasher/misc.img
./pre-download/eflasher/uboot.img
./pre-download/eflasher/idbloader.img
./pre-download/eflasher/boot.img
./pre-download/eflasher/dtbo.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ sudo find . -type f -size +800M
./scripts/sd-fuse/out/buildroot_20241125_rk3566_arm64_sd.img

./scripts/sd-fuse/buildroot/rootfs.img
./buildroot/output/rockchip_rk3566/images/rootfs.ext2
./.repo/project-objects/rknn-toolkit2.git/objects/pack/pack-788c7d828c420c6965dff4d0679a356eadd928e8.pack
./.repo/project-objects/linuxsdk-rockchip-dl.git/objects/pack/pack-afa291ce84bb9a4f905f43ad209378229f4b870c.pack
./.repo/project-objects/linuxsdk-rockchip-external.git/objects/pack/pack-5cd05401aaabbc77df8ec3661855f4d4ea1f496e.pack
./.repo/project-objects/kernel-rockchip.git/objects/pack/pack-b3a39d70bc56c0407dbbb67d6ac3097b3b11aaea.pack
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ sudo find . -type f -size +500M
./scripts/sd-fuse/out/buildroot_20241125_rk3566_arm64_sd.img

./scripts/sd-fuse/buildroot/rootfs.img
./scripts/sd-fuse/eflasher/rootfs.img
./buildroot/output/rockchip_rk3566/images/rootfs.ext2
./buildroot/output/rockchip_rk3566/images/rootfs.tar
./buildroot/output/rockchip_rk3566/images/rootfs.cpio
./.repo/project-objects/rknn-toolkit2.git/objects/pack/pack-788c7d828c420c6965dff4d0679a356eadd928e8.pack
./.repo/project-objects/linuxsdk-rockchip-dl.git/objects/pack/pack-afa291ce84bb9a4f905f43ad209378229f4b870c.pack
./.repo/project-objects/linuxsdk-rockchip-dl.git/objects/pack/tmp_pack_uqHS93
./.repo/project-objects/linuxsdk-rockchip-external.git/objects/pack/pack-5cd05401aaabbc77df8ec3661855f4d4ea1f496e.pack
./.repo/project-objects/kernel-rockchip.git/objects/pack/pack-b3a39d70bc56c0407dbbb67d6ac3097b3b11aaea.pack
./.repo/project-objects/rknpu2.git/objects/pack/pack-d14ea14fb2509ea265cb2cc52f86950f6adf3c87.pack
./pre-download/eflasher/rootfs.img
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh init
Can't find a build config file, please check again
USAGE: ./build.sh <parameter>

# select board: 
  ./build.sh rk3566.mk

# build module: 
  ./build.sh all                -build all
  ./build.sh uboot              -build uboot only
  ./build.sh kernel             -build kernel only
  ./build.sh buildroot          -build buildroot rootfs only
  ./build.sh sd-img             -pack sd-card image, used to create bootable SD card
  ./build.sh emmc-img           -pack sd-card image, used to write buildroot to emmc
# clean
  ./build.sh clean              -remove old images
  ./build.sh cleanall

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 


viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ./build.sh emmc-img
Re-running script under sudo...
[INFO]: Extracting /home/viewpro/buildroot-rk3566/buildroot/output/rockchip_rk3566/images/rootfs.tar to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF/  
[INFO]: Applying device/rockchip to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
OVERLAY_DIR = /home/viewpro/buildroot-rk3566/device/rockchip/common/fonts
Installing extra font(dejavu-2.37) to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF...
Installing extra font(liberation-2.00.1) to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF...
Installing extra font(source-han-sans-cn-2.004R) to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF...
OVERLAY_DIR = /home/viewpro/buildroot-rk3566/device/rockchip/common/tools
Installing prebuilt tools: /home/viewpro/buildroot-rk3566/device/rockchip/common/tools to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF...
sending incremental file list
./
README
adb
brcm_patchram_plus1
busybox
coremark
dhd_priv
dhrystone
edid-decode
frecon
gdb
gdbserver
inotifywait
inotifywatch
io
kmsgrab
lockfile-check
lockfile-create
lockfile-remove
lockfile-touch
memtester
modetest
perf
perf-4.19
perf-4.4
perf-5.10
perf-6.1
pmap
procrank
ps
rtk_hciattach
slabtop
strace
stressapptest
top
umtprd
update
updateEngine
uvc-gadget
vendor_storage
vmstat
watch

sent 58,734,462 bytes  received 798 bytes  117,470,520.00 bytes/sec
total size is 58,717,698  speedup is 1.00
Running 02-usb.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
USB gadget functions: 
Installing USB services...
[INFO]: apply device/rockchip/common/post-hooks/02-usb.sh ret 0  
Running 05-udev.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
[INFO]: apply device/rockchip/common/post-hooks/05-udev.sh ret 0  
Running 06-async-commit.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
Installing async-commit service...
[INFO]: apply device/rockchip/common/post-hooks/06-async-commit.sh ret 0  
Running 10-os-release.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
Adding information to /etc/os-release...
[INFO]: apply device/rockchip/common/post-hooks/10-os-release.sh ret 0  
Running 30-fstab.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
Fixing up /etc/fstab...
Fixing up rootfs type: auto
Fixing up basic partition: proc /proc
Deleting partition: proc /proc
Fixing up partition: proc /proc proc defaults 0
Fixing up basic partition: devtmpfs /dev
Deleting partition: devtmpfs /dev
Fixing up partition: devtmpfs /dev devtmpfs defaults 0
Fixing up basic partition: devpts /dev/pts mode=0620,ptmxmode=0666,gid=5
Deleting partition: devpts /dev/pts
Fixing up partition: devpts /dev/pts devpts mode=0620,ptmxmode=0666,gid=5 0
Fixing up basic partition: tmpfs /dev/shm nosuid,nodev,noexec
Deleting partition: tmpfs /dev/shm
Fixing up partition: tmpfs /dev/shm tmpfs nosuid,nodev,noexec 0
Fixing up basic partition: sysfs /sys
Deleting partition: sysfs /sys
Fixing up partition: sysfs /sys sysfs defaults 0
Fixing up basic partition: configfs /sys/kernel/config
Deleting partition: configfs /sys/kernel/config
Fixing up partition: configfs /sys/kernel/config configfs defaults 0
Fixing up basic partition: debugfs /sys/kernel/debug
Deleting partition: debugfs /sys/kernel/debug
Fixing up partition: debugfs /sys/kernel/debug debugfs defaults 0
Fixing up basic partition: pstore /sys/fs/pstore
Deleting partition: pstore /sys/fs/pstore
Fixing up partition: pstore /sys/fs/pstore pstore defaults 0
[INFO]: apply device/rockchip/common/post-hooks/30-fstab.sh ret 0  
Running 40-busybox-reboot.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
[INFO]: apply device/rockchip/common/post-hooks/40-busybox-reboot.sh ret 0  
Running 50-locale.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
Setting LANG environment to en_US.UTF-8...
[INFO]: apply device/rockchip/common/post-hooks/50-locale.sh ret 0  
Running 60-dirs.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
Adding dirs and links...
[INFO]: apply device/rockchip/common/post-hooks/60-dirs.sh ret 0  
Running 90-overlay.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
[INFO]: apply device/rockchip/common/post-hooks/90-overlay.sh ret 0  
Running 99-owner.sh for /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF (buildroot init=busybox)...
[INFO]: apply device/rockchip/common/post-hooks/99-owner.sh ret 0  
[INFO]: Applying device/friendlyelec/misc-files to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/keep-the-net-classic-naming to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/network-interfaces to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/network-leds to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/fancontrol to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/rom-version to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/rk3566/disable-unnecessary-services to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/load-modules-service to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/rk3566/r8168 to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/alsa-config to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: Applying device/friendlyelec/usbdevice-wrapper to /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF  
[INFO]: prepare boot.img ...  
mke2fs 1.45.4 (23-Sep-2019)
Creating regular file ./buildroot/boot.img
Creating filesystem with 16384 4k blocks and 144 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

generating ./buildroot/boot.img done.
[INFO]: prepare rootfs.img ...  
mke2fs 1.45.4 (23-Sep-2019)
Creating regular file buildroot/rootfs.img
Creating filesystem with 278528 4k blocks and 9360 inodes
Filesystem UUID: b38c3cd5-1388-4170-bb2f-c2f6a900474b
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done

'/home/viewpro/buildroot-rk3566/scripts/sd-fuse/prebuilt/parameter.template' -> 'buildroot/parameter.txt'
generating buildroot/parameter.txt done.
0
generating buildroot/rootfs.img done.
0
Generating empty userdata.img (size:209715200)
mke2fs 1.45.4 (23-Sep-2019)
Creating regular file ./buildroot/userdata.img
Creating filesystem with 51200 4k blocks and 12800 inodes
Filesystem UUID: 924000be-f3c6-4cf9-8b50-106f618471fb
Superblock backups stored on blocks: 
    32768

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (4096 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done

-----------------------------------------
rootfs dir:
    /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/rootfs.06aVz9pnF
boot dir:
    /home/viewpro/buildroot-rk3566/scripts/sd-fuse/out/boot.Q5qkKAbHs
-----------------------------------------


Creating RAW image: out/rk3566-eflasher-20241125.img (7800 MB)
---------------------------------
0+0 records in
0+0 records out
0 bytes copied, 6.4497e-05 s, 0.0 kB/s
Using device: /dev/loop14
---------------------------------
Bootloader image is fused successfully.

----------------------------------------------------------------
[/dev/loop14] capacity = 7438MB, 7799999488 bytes
current /dev/loop14 partition:
----------------------------------------------------------------
parsing ./eflasher/parameter.txt:
create new GPT 9:
----------------------------------------------------------------
copy from: ./eflasher to /dev/loop14
 [RAW. 0]:      310 KB | ./eflasher/idbloader.img  > 100% : done.
 [RAW. 2]:     4096 KB | ./eflasher/uboot.img      > 100% : done.
 [RAW. 3]:       48 KB | ./eflasher/misc.img       > 100% : done.
 [RAW. 4]:        1 KB | ./eflasher/dtbo.img       > 100% : done.
 [RAW. 5]:     7087 KB | ./eflasher/resource.img   > 100% : done.
 [RAW. 6]:    35846 KB | ./eflasher/kernel.img     > 100% : done.
 [RAW. 7]:     7759 KB | ./eflasher/boot.img       > 100% : done.
 [RAW. 9]:   685068 KB | ./eflasher/rootfs.img     > 100% : done.
----------------------------------------------------------------
/dev/loop14: gpt partitions 2 3 4 5 6 7 8 9 1
---------------------------------
All done.
mkexfatfs 1.3.0
Creating... done.
Flushing... done.
File system created successfully.
---------------------------------
RAW image successfully created (18:14:23).
-rw-r--r-- 1 root root 7799999488 11??? 25 18:14 out/rk3566-eflasher-20241125.img
Tip: You can compress it to save disk space.

FUSE exfat 1.3.0
copying /home/viewpro/buildroot-rk3566/scripts/sd-fuse/buildroot/* to /tmp/media_exfat/buildroot ...
-rw-r--r-- 1 root root 7799999488 11??? 25 18:14 out/buildroot_20241125_rk3566_arm64_eflasher.img
all done.
-----------------------------------------
Run the following command for sdcard install:
    sudo dd if=out/buildroot_20241125_rk3566_arm64_eflasher.img bs=1M of=/dev/sdX
-----------------------------------------
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 


最后一步,打包备份dl目录:

viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ cd buildroot/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ ll
total 960
drwxrwxr-x   20 viewpro viewpro   4096 11??? 25 16:49 ./
drwxrwxr-x   13 viewpro viewpro   4096 11??? 25 17:53 ../
drwxrwxr-x    2 viewpro viewpro   4096 11??? 25 16:15 arch/
drwxrwxr-x    2 viewpro viewpro   4096 11??? 25 16:15 archives/
drwxrwxr-x   75 viewpro viewpro   4096 11??? 25 16:15 board/
drwxrwxr-x   26 viewpro viewpro   4096 11??? 25 16:15 boot/
-rw-rw-r--    1 viewpro viewpro 454027 11??? 25 16:15 CHANGES
-rw-rw-r--    1 viewpro viewpro  29466 11??? 25 16:15 Config.in
-rw-rw-r--    1 viewpro viewpro 135649 11??? 25 16:15 Config.in.legacy
drwxrwxr-x    3 viewpro viewpro  20480 11??? 25 16:15 configs/
-rw-rw-r--    1 viewpro viewpro  18767 11??? 25 16:15 COPYING
-rw-rw-r--    1 viewpro viewpro   1198 11??? 25 16:15 .defconfig
-rw-rw-r--    1 viewpro viewpro  72437 11??? 25 16:15 DEVELOPERS
drwxr-xr-x  179 viewpro viewpro   4096 11??? 25 17:11 dl/
drwxrwxr-x    3 viewpro viewpro  20480 11??? 25 16:15 dl2/
drwxrwxr-x    5 viewpro viewpro   4096 11??? 25 16:15 docs/
lrwxrwxrwx    1 viewpro viewpro     19 11??? 25 16:15 envsetup.sh -> scripts/envsetup.sh*
-rw-rw-r--    1 viewpro viewpro     96 11??? 25 16:15 .flake8
drwxrwxr-x   20 viewpro viewpro   4096 11??? 25 16:15 fs/
drwxrwxr-x    2 viewpro viewpro   4096 11??? 25 17:55 .git/
-rw-rw-r--    1 viewpro viewpro    125 11??? 25 16:15 .gitignore
-rw-rw-r--    1 viewpro viewpro    721 11??? 25 16:15 .gitlab-ci.yml
drwxrwxr-x    3 viewpro viewpro   4096 11??? 25 16:15 linux/
-rw-rw-r--    1 viewpro viewpro  47147 11??? 25 16:15 Makefile
-rw-rw-r--    1 viewpro viewpro   2292 11??? 25 16:15 Makefile.legacy
drwxrwxr-x    3 viewpro viewpro   4096 11??? 25 16:49 output/
drwxrwxr-x 2602 viewpro viewpro  69632 11??? 25 16:15 package/
-rw-rw-r--    1 viewpro viewpro   1075 11??? 25 16:15 README
-rw-rw-r--    1 viewpro viewpro    721 11??? 25 16:15 README.rockchip
drwxrwxr-x    2 viewpro viewpro   4096 11??? 25 16:15 scripts/
drwxrwxr-x   13 viewpro viewpro   4096 11??? 25 16:15 support/
drwxrwxr-x    3 viewpro viewpro   4096 11??? 25 16:15 system/
drwxrwxr-x    5 viewpro viewpro   4096 11??? 25 16:15 toolchain/
drwxrwxr-x    3 viewpro viewpro   4096 11??? 25 16:15 utils/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ du -sh dl
721M    dl
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ ll


viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ tar zcvf dl1903.tar.gz dl/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ time tar --use-compress-program=pigz -cvpf dl1904.tgz dl/


viewpro@viewpro-ThinkBook-16-G5-IRH:~$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ cd buildroot-rk3566/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ ll
total 64
drwxrwxr-x 13 viewpro viewpro  4096 11月 25 16:36 ./
drwxr-xr-x 47 viewpro viewpro 12288 11月 25 16:30 ../
drwxrwxr-x  5 viewpro viewpro  4096 11月 25 16:15 app/
drwxrwxr-x 20 viewpro viewpro  4096 11月 25 16:49 buildroot/
lrwxrwxrwx  1 viewpro viewpro    16 11月 25 16:15 build.sh -> scripts/build.sh*
lrwxrwxrwx  1 viewpro viewpro    26 10月  7 11:44 .current -> device/friendlyelec/rk3566/
lrwxrwxrwx  1 viewpro viewpro    67 11月 25 16:36 .current_config.mk -> /home/viewpro/buildroot-rk3566/device/friendlyelec/rk3566/rk3566.mk
drwxrwxr-x  4 viewpro viewpro  4096 11月 25 16:15 device/
drwxrwxr-x 30 viewpro viewpro  4096 11月 25 16:15 external/
drwxrwxr-x 28 viewpro viewpro  4096 11月 25 16:46 kernel/
lrwxrwxrwx  1 viewpro viewpro    19 11月 25 16:16 out -> scripts/sd-fuse/out/
drwxrwxr-x 11 viewpro viewpro  4096 11月 25 16:25 pre-download/
drwxrwxr-x  7 viewpro viewpro  4096 10月  7 11:44 .repo/
drwxrwxr-x 10 viewpro viewpro  4096 11月 25 16:37 rkbin/
drwxrwxr-x  4 viewpro viewpro  4096 11月 25 16:15 scripts/
drwxrwxr-x  5 viewpro viewpro  4096 11月 25 16:16 toolchain/
drwxrwxr-x 28 viewpro viewpro  4096 11月 25 16:37 u-boot/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566$ cd buildroot/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ ll
total 960
drwxrwxr-x   20 viewpro viewpro   4096 11月 25 16:49 ./
drwxrwxr-x   13 viewpro viewpro   4096 11月 25 16:36 ../
drwxrwxr-x    2 viewpro viewpro   4096 11月 25 16:15 arch/
drwxrwxr-x    2 viewpro viewpro   4096 11月 25 16:15 archives/
drwxrwxr-x   75 viewpro viewpro   4096 11月 25 16:15 board/
drwxrwxr-x   26 viewpro viewpro   4096 11月 25 16:15 boot/
-rw-rw-r--    1 viewpro viewpro 454027 11月 25 16:15 CHANGES
-rw-rw-r--    1 viewpro viewpro  29466 11月 25 16:15 Config.in
-rw-rw-r--    1 viewpro viewpro 135649 11月 25 16:15 Config.in.legacy
drwxrwxr-x    3 viewpro viewpro  20480 11月 25 16:15 configs/
-rw-rw-r--    1 viewpro viewpro  18767 11月 25 16:15 COPYING
-rw-rw-r--    1 viewpro viewpro   1198 11月 25 16:15 .defconfig
-rw-rw-r--    1 viewpro viewpro  72437 11月 25 16:15 DEVELOPERS
drwxr-xr-x  179 viewpro viewpro   4096 11月 25 17:11 dl/
drwxrwxr-x    3 viewpro viewpro  20480 11月 25 16:15 dl2/
drwxrwxr-x    5 viewpro viewpro   4096 11月 25 16:15 docs/
lrwxrwxrwx    1 viewpro viewpro     19 11月 25 16:15 envsetup.sh -> scripts/envsetup.sh*
-rw-rw-r--    1 viewpro viewpro     96 11月 25 16:15 .flake8
drwxrwxr-x   20 viewpro viewpro   4096 11月 25 16:15 fs/
drwxrwxr-x    2 viewpro viewpro   4096 11月 25 17:13 .git/
-rw-rw-r--    1 viewpro viewpro    125 11月 25 16:15 .gitignore
-rw-rw-r--    1 viewpro viewpro    721 11月 25 16:15 .gitlab-ci.yml
drwxrwxr-x    3 viewpro viewpro   4096 11月 25 16:15 linux/
-rw-rw-r--    1 viewpro viewpro  47147 11月 25 16:15 Makefile
-rw-rw-r--    1 viewpro viewpro   2292 11月 25 16:15 Makefile.legacy
drwxrwxr-x    3 viewpro viewpro   4096 11月 25 16:49 output/
drwxrwxr-x 2602 viewpro viewpro  69632 11月 25 16:15 package/
-rw-rw-r--    1 viewpro viewpro   1075 11月 25 16:15 README
-rw-rw-r--    1 viewpro viewpro    721 11月 25 16:15 README.rockchip
drwxrwxr-x    2 viewpro viewpro   4096 11月 25 16:15 scripts/
drwxrwxr-x   13 viewpro viewpro   4096 11月 25 16:15 support/
drwxrwxr-x    3 viewpro viewpro   4096 11月 25 16:15 system/
drwxrwxr-x    5 viewpro viewpro   4096 11月 25 16:15 toolchain/
drwxrwxr-x    3 viewpro viewpro   4096 11月 25 16:15 utils/
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ du -sh dl
721M    dl
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ 
viewpro@viewpro-ThinkBook-16-G5-IRH:~/buildroot-rk3566/buildroot$ 

Y:\buildroot-rk3566\scripts\sd-fuse\out\
Y:\buildroot-rk3566\scripts\sd-fuse\out\buildroot_20241125_rk3566_arm64_eflasher.img
Y:\buildroot-rk3566\scripts\sd-fuse\out\buildroot_20241125_rk3566_arm64_sd.img


参考资料:
https://wiki.friendlyelec.com/wiki/index.php/Main_Page
Main Page

4.3 NanoPC/Pi Series
NanoPi R3S

https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R3S/zh#.E5.8E.9F.E7.90.86.E5.9B.BE.E5.92.8C.E6.95.B0.E6.8D.AE.E6.89.8B.E5.86.8C
NanoPi R3S/zh

4.4 安装系统
4.4.1 下载固件
4.4.1.1 官方固件
访问此处的下载地址下载固件文件 (位于网盘的"01_系统固件"目录):

https://download.friendlyelec.com/NanoPiR3S
NanoPi-R3S - free download
百度网盘    Google Drive
Mainland Chinese users please click on:    International users please click on:
BaiduPan     Google Drive
https://pan.baidu.com/s/1i-YKtUlowKS8GkQHfjcwwg#list/path=%2F
提取码:jvvb
 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/923061.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

uniapp实际开发遇到过的问题(持续更新中....)

1. 在ios模拟器上会出现底部留白的情况 解决方案&#xff1a; 在manifest.json文件&#xff0c;找到开源码视图配置&#xff0c;添加如下&#xff1a; "app-plus" : {"safearea":{"bottom":{"offset" : "none" // 底部安…

计算机网络:应用层知识点概述及习题

网课资源&#xff1a; 湖科大教书匠 1、概述 习题1 1 在计算机网络体系结构中&#xff0c;应用层的主要功能是 A. 实现进程之间基于网络的通信 B. 通过进程之间的交互来实现特定网络应用 C. 实现分组在多个网络上传输 D. 透明传输比特流 2 以下不属于TCP/IP体系结构应用层范畴…

数据治理:在企业数据管理中的关键角色与实现路径——《DAMA 数据管理知识体系指南》读书笔记- 第 3 章

文章目录 1. 数据治理的核心内涵与战略价值2. 数据治理的驱动因素&#xff1a;不仅仅是合规3. 数据治理的组织模型&#xff1a;选择适合企业结构的运营模式4. 实施数据治理的关键步骤&#xff1a;战略、制度和文化5. 数据治理工具的选择&#xff1a;支持业务与流程的高效管理6.…

递推概念和例题

一、什么是递推 递推算法以初始值为基础&#xff0c;用相同的运算规律&#xff0c;逐次重复运算&#xff0c;直至求出问题的解&#xff0c;它的本质是按照固定的规律逐步推出&#xff08;计算出&#xff09;下一步的结果 这种从“起点”重复相同的的方法直至到达问题的解&…

【Android】RecyclerView回收复用机制

概述 RecyclerView 是 Android 中用于高效显示大量数据的视图组件&#xff0c;它是 ListView 的升级版本&#xff0c;支持更灵活的布局和功能。 我们创建一个RecyclerView的Adapter&#xff1a; public class MyRecyclerView extends RecyclerView.Adapter<MyRecyclerVie…

websocket是什么?

一、定义 Websocket是一种在单个TCP连接上进行全双工通信的协议&#xff0c;它允许服务器主动向客户端推送数据&#xff0c;而不需要客户端不断的轮询服务器来获取数据 与http协议不同&#xff0c;http是一种无状态的&#xff0c;请求&#xff0c;响应模式的协议(单向通信)&a…

已存大量数据的mysql库实现主从各种报错----解决方案

背景何谓“先死后生”本文使用技术1、实施流程图2、实施2.1、数据库备份2.2、搭建Mysql的Master-Slave2.2.1、准备工作2.2.2、开始部署2.2.3、账号配置2.2.4、slave 同步配置2.2.5、验证 2.3、Master做数据恢复 结语 背景 计划对已有大量数据的mysql库的主从搭建&#xff0c;使…

SAP 零售方案 CAR 系统的介绍与研究

前言 当今时代&#xff0c;零售业务是充满活力和活力的业务领域之一。每天&#xff0c;由于销售运营和客户行为&#xff0c;它都会生成大量数据。因此&#xff0c;公司迫切需要管理数据并从中检索见解。它将帮助公司朝着正确的方向发展他们的业务。 这就是为什么公司用来处理…

模电复习易错题

PN 结&#xff1a;PN 结是由 P 型半导体和 N 型半导体通过特殊工艺结合在一起形成的结构。P 型半导体中多子是空穴&#xff0c;N 型半导体中多子是电子。内建电场&#xff1a;在 PN 结形成时&#xff0c;由于 P 区和 N 区载流子浓度的差异&#xff0c;会在结区形成一个内建电场…

AI安全:从现实关切到未来展望

近年来&#xff0c;人工智能技术飞速发展&#xff0c;从简单的图像识别到生成对话&#xff0c;从自动驾驶到医疗诊断&#xff0c;AI技术正深刻改变着我们的生活。然而&#xff0c;伴随着这些进步&#xff0c;AI的安全性和可控性问题也日益凸显。这不仅涉及技术层面的挑战&#…

nfs网络文件系统

NFS(Network File system&#xff0c;网络文件系统)是由SUN公司研制的UNIX表示层协议&#xff0c;它允许网络中的计算机(不同的计算机、不同的操作系统)之间通过TCP/IP网络共享资源&#xff0c;主要在unix系列操作系统上使用。在NFS的应用中&#xff0c;本地NFS的客户端应用可以…

mac终端配置-支持 git branch

mac 终端一般使用的是 zsh&#xff1b; 由于不想安装三方的软件&#xff0c;可以自行编写脚本实现一些效果&#xff1b; 最终效果如下&#xff0c;支持显示git 分支&#xff1a; git_branch(){branch"git branch 2>/dev/null | grep "^\*" | sed -e "…

tableau练习-制作30个图表

一、导入数据 1、导入数据 -添加-添加连接-到文件-excel格式用第一个excel导入&#xff0c;csv格式用第二个文本格式导入 2、连接数据 -从旁边这里直接拖到中间 标头连接 -日期若不一致需调节日期格式 3、保存数据 点击数据提取-再保存数据&#xff0c;保存为twbx格式 二、设计…

使用八爪鱼爬虫抓取汽车网站数据,分析舆情数据

我是做汽车行业的&#xff0c;可以用八爪鱼爬虫抓取汽车之家和微博上的汽车文章内容&#xff0c;分析各种电动汽车口碑数据。 之前&#xff0c;我写过很多Python网络爬虫的案例&#xff0c;使用requests、selenium等技术采集数据&#xff0c;这次尝试去采集小米SU7在微博、汽车…

【HarmonyOS开发实战】使用animation 和 animateTo来制作按钮动画(实现点击按钮释出更多小按钮)

如果你想在页面中添加按钮来实现页面跳转或者其他操作&#xff0c;又觉得过多的按钮太占地方&#xff0c;造成界面不美观。 那么我们可以将多个按钮“压缩”到一个按钮中&#xff0c;如下 在开始开发前&#xff0c;我们先了解一下animation和animateTo的区别。 animation&am…

国家级资质!同驭汽车获得CNAS实验室认证

近日&#xff0c;同驭汽车科技顺利通过中国合格评定国家认可委员会&#xff08;简称CNAS&#xff09;评审&#xff0c;获得《中国合格评定国家认可委员会实验室认可证书》。这标志着同驭已建立国际标准的实验室管理体系&#xff0c;产品的试验与检测技术能力达到了国际认可的准…

选择使用whisper.cpp进行语音转文字

需要将一些wav格式的语音文件转成文字&#xff08;ASR&#xff0c;STT&#xff09;&#xff0c;接到这个任务后&#xff0c;首先上网搜索有没有现成免费的工具或服务可以使用。常用的关键字如“语音转文字 免费 在线”。 搜到的很多野鸡网站&#xff0c;都可以免注册免费提供短…

消息称三星正与 OpenAI 洽谈,有望令 Galaxy AI 整合ChatGPT,三星都要和chatgpt合作了,你会使用chatgpt了吗?

还不知道怎么订阅chatgpt4.o和国外app服务的同学&#xff0c;可以看这里&#xff1a;WildCard官方平台订阅chatgpt 11 月 25 日消息&#xff0c;金融分析师 Dan Nystedt 在 X 平台透露称 OpenAI 正在与三星电子洽谈合作计划&#xff0c;讨论将其 ChatGPT 引入三星 Galaxy AI 的…

candence: 常用的一些命令: Move / Mirror / Rotate / Spain / Fix / unFix / Flipdesign

常用的一些命令 一、 Move 移动 一个可移动一个&#xff0c;也可多个 移动器件 二、 Mirror 镜像 Mirror 就是top 和 bottom 层的器件进行相互转换 三、 Rotate 旋转 移动过程中旋转 四、旋转 Spain 不能在移动中旋转 可以一次旋转一个&#xff0c;也可多个 一次旋转…

【深度学习】【RKNN】【C++】模型转化、环境搭建以及模型部署的详细教程

【深度学习】【RKNN】【C】模型转化、环境搭建以及模型部署的详细教程 提示:博主取舍了很多大佬的博文并亲测有效,分享笔记邀大家共同学习讨论 文章目录 【深度学习】【RKNN】【C】模型转化、环境搭建以及模型部署的详细教程前言模型转换--pytorch转rknnpytorch转onnxonnx转rkn…