20240711编译友善之臂的NanoPC-T6开发板的Buildroot

news2024/9/17 9:07:18

20240711编译友善之臂的NanoPC-T6开发板的Buildroot
2024/7/11 21:02


百度:nanopc t6 wiki
https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T6/zh
NanoPC-T6/zh


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


此处的下载地址
https://download.friendlyelec.com/NanoPC-T6
NanoPC-T6 - free download
百度网盘    Google Drive
Mainland Chinese users please click on:    International users please click on:
BaiduPan     Google Drive

https://pan.baidu.com/s/1F6sGyXugfy_Hkgd3nu8U1Q#list/path=%2F
提取码:bbg3

E:\delete\20240711的FriendlyELEC-RK3588\07_源代码
buildroot-rk3588-20230815.tar  10GB+


编译环境请参考:
百度:AIO-3588Q WIKI
https://wiki.t-firefly.com/zh_CN/iCore-3588Q/android_prepare_compile_android.html
iCore-3588Q产品规格书


我直接使用了飞凌的虚拟机:
forlinx@ubuntu20:~$ 
forlinx@ubuntu20:~$ cat /etc/issue
Ubuntu 20.04.3 LTS \n \l

forlinx@ubuntu20:~$ 
forlinx@ubuntu20:~$ uname -a
Linux ubuntu20 5.15.0-113-generic #123~20.04.1-Ubuntu SMP Wed Jun 12 17:33:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
forlinx@ubuntu20:~$ 
forlinx@ubuntu20:~$ 


友善之臂的Buildroot是20230815发布的,大概一年了!
编译步骤如下:

请严重注意:
1、编译内核的时候需要去github拿有线网卡/以太网的驱动程序。
由于没有搞定在Ubuntu20.04/22.04下通过技术手段科学上网/github。
因此选择了让虚拟机中的Ubuntu20.04/22.04直接共享宿主机WIN10/WIN11中的VPN。

关于内核部分,友善之臂的e-Mail技术支持回复说可以:
FriendlyELEC Technical Support <developer@friendlyarm.com>

百度网盘下有这些包
在 07_源代码/additional_drivers 目录下,
把它解压到 out 目录下即可,例如

cd build-rk3588/out
tar xvzf /path/to/your/download/additional_drivers/*.tgz

这样编译就不会再去 github 上找了


Z:\buildroot-rk3588\buildroot\dl
2、编译buildroot的时候,sdk中内置的包全部需要从外网下载。
可能最新的Buildroot需要的包都是在目录中的,以前/2023年的时候,包还是裸露/直接放在buildroot\dl目录的!

编译的时候,下载kernel中的有线网卡的驱动都很快。
但是下载RK3588的Buildroot的包的时候,总是在走走停停,在虚拟机中搞了一整天。
从早上上班一直忙到下班才搞定了!


编译步骤:
forlinx@ubuntu20:~/buildroot-rk3588$ ./build.sh 
forlinx@ubuntu20:~/buildroot-rk3588$ ./build.sh nanopc_t6.mk

forlinx@ubuntu20:~/buildroot-rk3588$ ./build.sh emmc-img


详细的LOG:
forlinx@ubuntu20:~/buildroot-rk3588$ 
forlinx@ubuntu20:~/buildroot-rk3588$ ./build.sh 
USAGE: ./build.sh <parameter>

# select board: 
  ./build.sh nanopi_r6c.mk
  ./build.sh nanopc_t6.mk
  ./build.sh nanopi_r6s.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

forlinx@ubuntu20:~/buildroot-rk3588$ 
forlinx@ubuntu20:~/buildroot-rk3588$ 
forlinx@ubuntu20:~/buildroot-rk3588$ ./build.sh nanopc_t6.mk


出错的时候基本上都是卡在Buildroot了!
直接CTRL+C按键,关闭之后可以重新开始的。

forlinx@ubuntu20:~/buildroot-rk3588$ ./build.sh buildroot
==========Start build buildroot==========
TARGET_BUILDROOT_CONFIG=rockchip_rk3588_defconfig
BUILDROOT_SRC=buildroot
=========================================
using .config file
>>> host-expat 2.4.1 Downloading


forlinx@ubuntu20:~/buildroot-rk3588/kernel$ cd ..
forlinx@ubuntu20:~/buildroot-rk3588$ ll
total 1070936
drwxrwxr-x 13 forlinx forlinx      4096 7月  11 10:18 ./
drwxr-xr-x 24 forlinx forlinx      4096 7月  11 16:42 ../
drwxrwxr-x 10 forlinx forlinx      4096 7月  11 09:25 app/
drwxrwxr-x 20 forlinx forlinx      4096 7月  11 17:38 buildroot/
lrwxrwxrwx  1 forlinx forlinx        16 7月  11 09:27 build.sh -> scripts/build.sh*
lrwxrwxrwx  1 forlinx forlinx        26 8月  15  2023 .current -> device/friendlyelec/rk3588/
lrwxrwxrwx  1 forlinx forlinx        70 7月  11 09:57 .current_config.mk -> /home/forlinx/buildroot-rk3588/device/friendlyelec/rk3588/nanopc_t6.mk
drwxrwxr-x  4 forlinx forlinx      4096 7月  11 09:25 device/
drwxrwxr-x 25 forlinx forlinx      4096 7月  11 09:26 external/
drwxrwxr-x 27 forlinx forlinx      4096 7月  11 10:09 kernel/
-rw-rw-r--  1 forlinx forlinx 246602376 7月  11 09:31 kernel2.tar.gz
-rw-rw-r--  1 forlinx forlinx 829882430 7月  11 10:20 kernel3finish.tar.gz
lrwxrwxrwx  1 forlinx forlinx        19 7月  11 09:27 out -> scripts/sd-fuse/out/
drwxrwxr-x  2 forlinx forlinx      4096 8月  15  2023 pre-download/
drwxrwxr-x  7 forlinx forlinx      4096 8月  15  2023 .repo/
drwxrwxr-x 10 forlinx forlinx      4096 7月  11 09:58 rkbin/
-rw-rw-r--  1 forlinx forlinx    795459 7月  11 09:31 rockchip0.tar.gz
drwxrwxr-x  4 forlinx forlinx      4096 7月  11 09:27 scripts/
drwxrwxr-x  5 forlinx forlinx      4096 7月  11 09:27 toolchain/
drwxrwxr-x 28 forlinx forlinx      4096 7月  11 09:58 u-boot/
-rw-rw-r--  1 forlinx forlinx  19285712 7月  11 09:30 u-boot1.tar.gz
forlinx@ubuntu20:~/buildroot-rk3588$ 
forlinx@ubuntu20:~/buildroot-rk3588$ 
forlinx@ubuntu20:~/buildroot-rk3588$ ./build.sh 
USAGE: ./build.sh <parameter>

# select board: 
  ./build.sh nanopi_r6c.mk
  ./build.sh nanopc_t6.mk
  ./build.sh nanopi_r6s.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

forlinx@ubuntu20:~/buildroot-rk3588$ 
forlinx@ubuntu20:~/buildroot-rk3588$ 
forlinx@ubuntu20:~/buildroot-rk3588$ ./build.sh emmc-img
Re-running script under sudo...
[sudo] password for forlinx: 
[INFO]: Extracting /home/forlinx/buildroot-rk3588/buildroot/output/rockchip_rk3588/images/rootfs.tar to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK/  
[INFO]: Applying device/rockchip to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
OVERLAY_DIR = /home/forlinx/buildroot-rk3588/device/rockchip/common/fonts
Installing extra font(dejavu-2.37) to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK...
Installing extra font(liberation-2.00.1) to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK...
Installing extra font(source-han-sans-cn-2.004R) to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK...
OVERLAY_DIR = /home/forlinx/buildroot-rk3588/device/rockchip/common/tools
Installing prebuilt tools: /home/forlinx/buildroot-rk3588/device/rockchip/common/tools to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK...
sending incremental file list
./
brcm_patchram_plus1
busybox
dhd_priv
gdb
io
kmsgrab
modetest
perf
perf-4.19
perf-4.4
perf-5.10
pmap
procrank
ps
rk_wifibt_init
rtk_hciattach
slabtop
strace
top
update
vendor_storage
vmstat
watch

sent 32,680,512 bytes  received 456 bytes  21,787,312.00 bytes/sec
total size is 32,671,084  speedup is 1.00
Running 05-udev.sh for /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK (buildroot init=busybox)...
Running 06-async-commit.sh for /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK (buildroot init=busybox)...
Installing async-commit service...
Running 10-os-release.sh for /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK (buildroot init=busybox)...
Adding information to /etc/os-release...
Running 30-fstab.sh for /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK (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
Running 40-busybox-reboot.sh for /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK (buildroot init=busybox)...
Running 50-locale.sh for /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK (buildroot init=busybox)...
Setting LANG environment to en_US.UTF-8...
Running 60-dirs.sh for /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK (buildroot init=busybox)...
Adding dirs and links...
Running 90-overlay.sh for /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK (buildroot init=busybox)...
Running 99-owner.sh for /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK (buildroot init=busybox)...
[INFO]: Applying device/friendlyelec/misc-files to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/keep-the-net-classic-naming to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/network-interfaces to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/fancontrol to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/rom-version to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/disable-unnecessary-services to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/rk3588/disable-unnecessary-services to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/load-modules-service to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/rk3588/r8125 to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/rk3588/rt5616-alsa-config to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/rk3588/set-pulse-audio-default-output-to-hdmi0 to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
[INFO]: Applying device/friendlyelec/firmware to /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK  
case 0
[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 229376 4k blocks and 7504 inodes
Filesystem UUID: 9f18f3ec-b6e7-4ed5-9bc2-2e9a31d90a30
Superblock backups stored on blocks: 
    32768, 98304, 163840

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

'/home/forlinx/buildroot-rk3588/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: 5ea795ab-84fd-43ad-8616-2bae5f498b81
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/forlinx/buildroot-rk3588/scripts/sd-fuse/out/rootfs.z0E75F9YK
boot dir:
    /home/forlinx/buildroot-rk3588/scripts/sd-fuse/out/boot.4rQkeTinO
-----------------------------------------
> wget --spider --tries=1 http://112.124.9.243/dvdfiles/rk3588/images-for-eflasher/emmc-flasher-images.tgz.hash.md5
Spider mode enabled. Check if remote file exists.
--2024-07-11 20:01:27--  http://112.124.9.243/dvdfiles/rk3588/images-for-eflasher/emmc-flasher-images.tgz.hash.md5
Connecting to 112.124.9.243:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58 [application/octet-stream]
Remote file exists.

> wget http://112.124.9.243/dvdfiles/rk3588/images-for-eflasher/emmc-flasher-images.tgz.hash.md5
--2024-07-11 20:01:27--  http://112.124.9.243/dvdfiles/rk3588/images-for-eflasher/emmc-flasher-images.tgz.hash.md5
Connecting to 112.124.9.243:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58 [application/octet-stream]
Saving to: ‘emmc-flasher-images.tgz.hash.md5’

emmc-flasher-images.tgz.hash.md5                                    100%[=================================================================================================================================================================>]      58  --.-KB/s    in 0s      

2024-07-11 20:01:27 (2.91 MB/s) - ‘emmc-flasher-images.tgz.hash.md5’ saved [58/58]

> wget --spider --tries=1 http://112.124.9.243/dvdfiles/rk3588/images-for-eflasher/emmc-flasher-images.tgz
Spider mode enabled. Check if remote file exists.
--2024-07-11 20:01:27--  http://112.124.9.243/dvdfiles/rk3588/images-for-eflasher/emmc-flasher-images.tgz
Connecting to 112.124.9.243:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 307786938 (294M) [application/octet-stream]
Remote file exists.

> wget http://112.124.9.243/dvdfiles/rk3588/images-for-eflasher/emmc-flasher-images.tgz
--2024-07-11 20:01:27--  http://112.124.9.243/dvdfiles/rk3588/images-for-eflasher/emmc-flasher-images.tgz
Connecting to 112.124.9.243:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 307786938 (294M) [application/octet-stream]
Saving to: ‘emmc-flasher-images.tgz’

emmc-flasher-images.tgz                                             100%[=================================================================================================================================================================>] 293.53M   819KB/s    in 6m 6s   

2024-07-11 20:07:34 (821 KB/s) - ‘emmc-flasher-images.tgz’ saved [307786938/307786938]

emmc-flasher-images.tgz: OK
> tar xzvf emmc-flasher-images.tgz -C eflasher --strip-components=1
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


Creating RAW image: out/rk3588-eflasher-20240711.img (7800 MB)
---------------------------------
0+0 records in
0+0 records out
0 bytes copied, 0.000456999 s, 0.0 kB/s
Using device: /dev/loop15
---------------------------------
Bootloader image is fused successfully.

----------------------------------------------------------------
[/dev/loop15] capacity = 7438MB, 7799999488 bytes
current /dev/loop15 partition:
----------------------------------------------------------------
parsing ./eflasher/parameter.txt:
create new GPT 9:
----------------------------------------------------------------
copy from: ./eflasher to /dev/loop15
 [RAW. 0]:      312 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]:     6920 KB | ./eflasher/resource.img   > 100% : done.
 [RAW. 6]:    35142 KB | ./eflasher/kernel.img     > 100% : done.
 [RAW. 7]:     7882 KB | ./eflasher/boot.img       > 100% : done.
 [RAW. 9]:   755136 KB | ./eflasher/rootfs.img     > 100% : done.
----------------------------------------------------------------
/dev/loop15: gpt partitions 2 3 4 5 6 7 8 9 1
---------------------------------
All done.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  exfat-fuse exfat-utils
0 upgraded, 2 newly installed, 0 to remove and 142 not upgraded.
Need to get 65.3 kB of archives.
After this operation, 302 kB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 exfat-fuse amd64 1.3.0-1 [24.6 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 exfat-utils amd64 1.3.0-1 [40.7 kB]
Fetched 65.3 kB in 21s (3,134 B/s)    
Selecting previously unselected package exfat-fuse.
(Reading database ... 197100 files and directories currently installed.)
Preparing to unpack .../exfat-fuse_1.3.0-1_amd64.deb ...
Unpacking exfat-fuse (1.3.0-1) ...
Selecting previously unselected package exfat-utils.
Preparing to unpack .../exfat-utils_1.3.0-1_amd64.deb ...
Unpacking exfat-utils (1.3.0-1) ...
Setting up exfat-utils (1.3.0-1) ...
Setting up exfat-fuse (1.3.0-1) ...
Processing triggers for man-db (2.9.1-1) ...
mkexfatfs 1.3.0
Creating... done.
Flushing... done.
File system created successfully.
---------------------------------
RAW image successfully created (20:08:42).
-rw-r--r-- 1 root root 7799999488 7月  11 20:08 out/rk3588-eflasher-20240711.img
Tip: You can compress it to save disk space.

FUSE exfat 1.3.0
copying /home/forlinx/buildroot-rk3588/scripts/sd-fuse/buildroot/* to /tmp/media_exfat/buildroot ...
-rw-r--r-- 1 root root 7799999488 7月  11 20:08 out/buildroot_20240711_nanopc-t6_arm64_eflasher.img
all done.
-----------------------------------------
Run the following command for sdcard install:
    sudo dd if=out/buildroot_20240711_nanopc-t6_arm64_eflasher.img bs=1M of=/dev/sdX
-----------------------------------------
forlinx@ubuntu20:~/buildroot-rk3588$ find . -name *.img
./rkbin/img/rk1x/rk1806_trust_v1.12.img
./scripts/sd-fuse/eflasher/kernel.img
./scripts/sd-fuse/eflasher/resource.img
./scripts/sd-fuse/eflasher/idbloader.img
./scripts/sd-fuse/eflasher/boot.img
./scripts/sd-fuse/eflasher/misc.img
./scripts/sd-fuse/eflasher/dtbo.img
./scripts/sd-fuse/eflasher/rootfs.img
./scripts/sd-fuse/eflasher/uboot.img
./scripts/sd-fuse/prebuilt/idbloader.img
./scripts/sd-fuse/prebuilt/boot.img
./scripts/sd-fuse/prebuilt/misc.img
./scripts/sd-fuse/prebuilt/dtbo.img
./scripts/sd-fuse/prebuilt/uboot.img
find: ‘./scripts/sd-fuse/out/boot.4rQkeTinO’: Permission denied
./scripts/sd-fuse/out/buildroot_20240711_nanopc-t6_arm64_eflasher.img
find: ‘./scripts/sd-fuse/out/rootfs.z0E75F9YK/root’: Permission denied
./scripts/sd-fuse/buildroot/userdata.img

生成的刷机IMG在:
Y:\buildroot-rk3588\scripts\sd-fuse\out
buildroot_20240711_nanopc-t6_arm64_eflasher.img


参考资料:
https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T6/zh
NanoPC-T6 - free download


https://wiki.t-firefly.com/zh_CN/iCore-3588Q/android_prepare_compile_android.html
iCore-3588Q产品规格书


 

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

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

可道云teamOS,用个人标签和公共标签,文件分类更多样

在信息爆炸的时代&#xff0c;我们每天都在与海量的数据和信息打交道。如何在这些纷繁复杂的信息中快速找到我们需要的&#xff0c;成为了摆在我们面前的一大难题。 为大家介绍一下可道云teamOS个人标签和公共标签功能&#xff0c;让信息的整理与搜索变得简单高效。 一、个人…

YOLOv10训练自己的数据集(交通标志检测)

YOLOv10训练自己的数据集&#xff08;交通标志检测&#xff09; 前言相关介绍前提条件实验环境安装环境项目地址LinuxWindows 使用YOLOv10训练自己的数据集进行交通标志检测准备数据进行训练进行预测进行验证 参考文献 前言 由于本人水平有限&#xff0c;难免出现错漏&#xff…

【益起童行】我与孩子一起挺过的日子

今天不谈技术&#xff0c;只想讲讲我的故事&#xff0c;但并不是想寻求同情&#xff0c;目前过得很幸福&#xff0c;但并不是所有人的情况都是这么乐观&#xff01; 我就只是想呼吁大家能和我【‘益’起‘童’行】&#xff0c;帮助更多家庭的点亮希望之光。而我也一定也会坚持尽…

LangChain框架详解

LangChain框架详解 LangChain是一个基于语言模型开发应用程序的强大框架&#xff0c;旨在帮助开发人员简化与大模型交互、数据检索以及将不同功能模块串联起来以完成复杂任务的过程。它提供了一套丰富的工具、组件和接口&#xff0c;使开发人员能够轻松构建上下文感知和具备逻…

Fast DDS library windows 下源码编译(cmake)

目录 编译环境&#xff1a; 编译需要的源码文件&#xff1a; Fast DDS编译&#xff1a; 注意事项&#xff1a; 参考文档&#xff1a; 基于Fast DDS 的源码来编译相关的库&#xff0c;然后可以通过python 来调用库文件实现dds 数据通信&#xff0c;本文就详细的介绍编译过程…

评估指标:精确率(Precision)、召回率(Recall)、F1分数(F1 Score)

评估指标&#xff1a;精确率&#xff08;Precision&#xff09;、召回率&#xff08;Recall&#xff09;、F1分数&#xff08;F1 Score&#xff09; 前言相关介绍1. 准确率&#xff08;Accuracy&#xff09;2. 精确率&#xff08;Precision&#xff09;3. 召回率&#xff08;Re…

react学习——26react-redux实现求和案例(完整版)

1、目录结构 2、components/count/index.js import React, {Component} from "react"; export default class Count extends Component {//加法increment()>{const {value} this.selectNumthis.props.jia(Number(value))}//减法decrement()>{const {value} …

发行自己的ERC20代币

发行自己的代币 步骤1 从https://etherscan.io/tokens 查找一个代币 步骤2 复制其合约代码 步骤3 在remix中编译合约代码 步骤4 部署合约(需要提前安装Metamask, 并获取一些测试币), 这里Rinkeby测试为例 可以在 https://faucet.rinkeby.io/ 获取 Rinkeby的测试币 其中的…

关于delete和delete[ ]混用的未定义问题解释

我们知道delete用于释放一个动态空间&#xff0c;而delete[ ]用于释放多个动态空间&#xff0c;但是如果我们混用的话会导致什么问题&#xff1f;我在博客上看了许多文章&#xff0c;但不尽人意&#xff0c;因此写下这篇文章让你知其然知其所以然&#xff08;浅薄的解释&#x…

招采全流程电子化优势及重要功能环节(数智化招采系统)

招投标全流程电子化&#xff0c;是加速招标采购领域数字化转型、创新招标采购交易机制的重要举措。它在构建高效规范、公平竞争、充分开放的大市场环境中起着至关重要的作用。 招采电子化历史沿革 2013年2月&#xff0c;国家发展改革委等八部门发布了《电子招标投标办法》&am…

基于React 实现井字棋

一、简介 这篇文章会基于React 实现井字棋小游戏功能。 二、效果演示 三、技术实现 import {useEffect, useState} from "react";export default (props) > {return <Board/> }const Board () > {let initialState [[, , ], [, , ], [, , ]];const [s…

Linux C embed development (personal rveiew)

1. 如何快速去bring up bcm 的wifi chipset a. 首先的确认 编译的BSP profile b. 其次要先用 default 的kernel config 去编译 c. 现在我们的一些 PCIE/GPIO/driver 总线的设置 都在dts 中&#xff0c;有错就去改dts 2. BCM 的板子bring up 注意事项 a. fw: bcm…

网络基础:Vlan原理与配置

VLAN&#xff08;Virtual Local Area Network&#xff0c;虚拟局域网&#xff09;是一种将一个物理网络划分为多个逻辑子网的技术。它通过在网络交换机上配置&#xff0c;使得不同VLAN中的设备即使连接在同一个物理交换机上&#xff0c;也不能直接进行通信&#xff0c;从而实现…

无头单向非循环链表实现 and leetcode刷题

无头单向非循环链表实现 1. 单链表的模拟实现IList.java接口&#xff1a;MySingleList.java文件&#xff1a; 2. leetcode刷题2.1 获取链表的中间节点2.2 删除链表中所有值为value的元素2.3 单链表的逆置2.4 获取链表倒数第k个节点2.5 给定 x, 把一个链表整理成前半部分小于 x,…

Docker存储目录问题,如何修改Docker默认存储位置?(Docker存储路径、Docker存储空间)etc/docker/daemon.json

文章目录 如何更改docker默认存储路径&#xff1f;版本1&#xff08;没测试&#xff09;版本2&#xff08;可行&#xff09;1. 停止 Docker 服务&#xff1a;2. 创建新的存储目录&#xff1a;3. 修改 Docker 配置文件&#xff1a;4. 移动现有的 Docker 数据&#xff1a;5. 重新…

盲人出行体验攻略:蝙蝠避障,点亮前行的明灯

在繁华喧嚣的都市中&#xff0c;每一步都充满了未知与挑战&#xff0c;而对于盲人朋友们来说&#xff0c;出行更是一场无声的冒险。他们凭借着内心的勇气和坚韧的意志&#xff0c;在黑暗中摸索前行&#xff0c;每一步都承载着对生活的热爱与追求。今天&#xff0c;我们要深入探…

YOLOv8改进 | 注意力机制| 利用并行子网络构建深度较浅但性能卓越的网络【全网独家】

秋招面试专栏推荐 &#xff1a;深度学习算法工程师面试问题总结【百面算法工程师】——点击即可跳转 &#x1f4a1;&#x1f4a1;&#x1f4a1;本专栏所有程序均经过测试&#xff0c;可成功执行&#x1f4a1;&#x1f4a1;&#x1f4a1; 专栏目录 &#xff1a;《YOLOv8改进有效…

jdevelope安装

准备 1.jdk1.8&#xff08;已经安装不做记录&#xff09; 2.下载jdevelope安装包 3.安装包安装jdevelope开发工具 4.创建或导入项目 下载jdevelope安装包 官网下载地址&#xff1a;https://edelivery.oracle.com 安装包安装jdevelope开发工具 cmd管理员权限运行安装脚本…

新质生产力赛道核心解读,机械制造何以“向智向新”

机械行业&#xff0c;国民经济的坚实基石与核心驱动力&#xff0c;为各行各业提供高效生产工具。立于产业链的中游&#xff0c;向上游紧密连接着高精尖的核心零部件制造商与基础原材料供应商&#xff1b;向下游&#xff0c;则广泛渗透并深刻影响着基础设施建设、交通运输&#…

7.11日学习打卡----初学Redis(六)

7.11日学习打卡 目录&#xff1a; 7.11日学习打卡一. redis事务事务的概念与ACID特性Redis事务三大特性Redis事务执行的三个阶段Redis事务基本操作 二. redis集群主从复制主从复制环境搭建主从复制原理剖析 哨兵监控哨兵监控环境搭建哨兵工作原理剖析 故障转移Cluster模式Clust…