20250512给NanoPi NEO core开发板在Ubuntu core20.04系统更新boot.img

rootroot@rootroot-X99-Turbo:~ rootroot@rootroot-X99-Turbo:\~ git clone https://github.com/friendlyarm/sd-fuse_h3 -b master --single-branch sd-fuse_h3
rootroot@rootroot-X99-Turbo:~ cd sd-fuse_h3/ rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3 ll rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3 ll *.sh
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3 tar zxvf friendlycore-jammy-images.tgz 【可选编译uboot,确认/熟悉 友善之臂的编译指令】 rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3 git clone https://github.com/friendlyarm/u-boot -b sunxi-v2017.x --depth 1 uboot
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3 UBOOT_SRC=uboot ./build-uboot.sh friendlycore-jammy 【编译生成Z:\\sd-fuse_h3\\friendlycore-jammy\\u-boot-sunxi-with-spl.bin】 rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3 ll
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3 git clone https://github.com/friendlyarm/linux -b sunxi-4.14.y --depth 1 kernel rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3 ll rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3 cd kernel
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3/kernel rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3/kernel ll
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3/kernel touch .scmversion rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3/kernel
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3/kernel make ARCH=arm CROSS_COMPILE=arm-linux- menuconfig rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3/kernel ll
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3/kernel make ARCH=arm CROSS_COMPILE=arm-linux- savedefconfig rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3/kernel cp defconfig ./arch/arm/configs/my_defconfig
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3/kernel rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3/kernel git add ./arch/arm/configs/my_defconfig
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3/kernel rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3/kernel git status
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3/kernel cd - /home/rootroot/sd-fuse_h3 rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3 KERNEL_SRC=kernel KCFG=my_defconfig ./build-kernel.sh friendlycore-jammy 【编译异常了,找不到kernel。直接用编译生成的zImage和 SD卡启动的固件的BOOT分区打包成为boot.img】 rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3 mkdir BOOT rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3 ll *.sh
rootroot@rootroot-X99-Turbo:~/sd-fuse_h3 ll rootroot@rootroot-X99-Turbo:\~/sd-fuse_h3 ./build-boot-img.sh BOOT/ friendlycore-jammy/boot.img

20250512给NanoPi NEO core开发板在Ubuntu core20.04系统更新boot.img

2025/5/13 17:14

请使用以下压缩包/IMG固件写TF卡之后的BOOT分区:

h3-sd-friendlycore-xenial-4.14-armhf-20210618.img.gz

h3-sd-friendlycore-focal-4.14-armhf-20250402.img.gz

h3-sd-friendlycore-jammy-4.14-armhf-20250402.img.gz

一定不能使用:【不用试了,这些固件的BOOT分区会死在uboot启动之后了】

h3-eflasher-friendlycore-xenial-4.14-armhf-20210618.img.gz

h3-eflasher-friendlycore-focal-4.14-armhf-20250402.img.gz

h3-eflasher-friendlycore-jammy-4.14-armhf-20250402.img.gz

Z:\sd-fuse_h3\kernel\arch\arm\boot\zImage

替换:

F:\zImage

Z:\sd-fuse_h3\friendlycore-jammy\boot.img

替换:

H:\friendlycore-focal\boot.img

OK \] Created slice system-getty.slice. \[ OK \] Started Modem Manager. \[ OK \] Started Hostname Service. Starting Network Manager Script Dispatcher Service... \[ OK \] Started Dispatcher daemon for systemd-networkd. \[ OK \] Started Network Manager Script Dispatcher Service. \[ OK \] Finished Network Manager Wait Online. \[ OK \] Reached target Network is Online. Starting LSB: disk temperature monitoring daemon... Starting /etc/rc.local Compatibility... \[ 21.987533\] rc.local\[590\]: ctp = 0 \[ OK \] Started /etc/rc.local Compatibility. Ubuntu 20.04 LTS NanoPi-NEO-Core ttyS0 NanoPi-NEO-Core login: pi (automatic login) _____ _ _ _ _____ _ _____ ____ \| ___\| __(_) ___ _ __ __\| \| \|_ _\| ____\| \| \| ____/ ___\| \| \|_ \| '__\| \|/ _ \\ '_ \\ / _\` \| \| \| \| \| _\| \| \| \| _\|\| \| \| _\|\| \| \| \| __/ \| \| \| (_\| \| \| \|_\| \| \|___\| \|___\| \|__\| \|___ \|_\| \|_\| \|_\|\\___\|_\| \|_\|\\__,_\|_\|\\__, \|_____\|_____\|_____\\____\| \|___/ Welcome to Ubuntu 20.04 LTS 4.14.111 System load: 1.03 Up time: 23 sec Memory usage: 14 % of 491Mb IP: CPU temp: 33°C Usage of /: 10% of 6.0G \* Documentation: http://wiki.friendlyarm.com/Ubuntu \* Forum: http://www.friendlyarm.com/Forum/ The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/\*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo \". See "man sudo_root" for details. pi@NanoPi-NEO-Core:\~$ pi@NanoPi-NEO-Core:\~$ su Password: root@NanoPi-NEO-Core:/home/pi# root@NanoPi-NEO-Core:/home/pi# root@NanoPi-NEO-Core:/home/pi# cd / root@NanoPi-NEO-Core:/# root@NanoPi-NEO-Core:/# root@NanoPi-NEO-Core:/# cat /etc/issue Ubuntu 20.04 LTS \\n \\l root@NanoPi-NEO-Core:/# root@NanoPi-NEO-Core:/# uname -a Linux NanoPi-NEO-Core 4.14.111 #1 SMP Tue May 13 11:42:53 CST 2025 armv7l armv7l armv7l GNU/Linux root@NanoPi-NEO-Core:/# root@NanoPi-NEO-Core:/# 【很容易发现内核编译时间已经更新为今天的了!】 ![](https://i-blog.csdnimg.cn/direct/c8f84e5f466a44e9835bb596d3ac702a.png)

相关推荐
2301_7943339112 小时前
实验室服务器配置|通过Docker实现Linux系统多用户隔离与安全防控
linux·服务器·docker·实验室
打码人的日常分享13 小时前
运维服务方案,运维巡检方案,运维安全保障方案文件
大数据·运维·安全·word·安全架构
Molesidy13 小时前
【UAV】基于PX4+Ubuntu24.04.3的无人机制作的开发环境搭建
ubuntu·无人机·px4·gazebo·uav
荣光波比13 小时前
Nginx 实战系列(一)—— Web 核心概念、HTTP/HTTPS协议 与 Nginx 安装
linux·运维·服务器·nginx·云计算
武文斌7714 小时前
单片机:DS18B20测温度、74HC595扩展芯片、8*8LED矩阵
运维·服务器·单片机·嵌入式硬件
fengfuyao98514 小时前
诊断并修复SSH连接Github时遇到的“connection closed“错误
运维·ssh·github
scugxl14 小时前
centos7 docker离线安装
运维·docker·容器
绿箭柠檬茶16 小时前
Ubuntu 使用 Samba 共享文件夹
linux·运维·ubuntu
工藤新一¹17 小时前
Linux —— 虚拟进程地址空间
linux·运维·服务器·c/c++·虚拟进程地址空间
Aspiresky17 小时前
浅析Linux内核scatter-gather list实现
linux·dma·scatter/gather