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.local590: 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 <command>".

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:/#

【很容易发现内核编译时间已经更新为今天的了!】

相关推荐
weixin_604236671 小时前
华三 路由器 极简核心配置
运维·服务器·网络·h3c·h3c路由器
鹤落晴春1 小时前
【Linux复习】管理SELinux安全性
linux·运维·服务器
yz_aiks2 小时前
Linux Jar包配置Systemd自启动实战:从排查到配置全流程
linux·python·jar·自启动·systemd
AI智图坊2 小时前
多件装组合SKU图的批量生产效率分析:从PS手工到AI自动化的工作流改造
大数据·运维·人工智能·gpt·ai作画·自动化·aigc
敲代码还房贷2 小时前
解决win7装不了vmware tools问题
ubuntu
bjzhang753 小时前
CentOS下安装MySQL详解
linux·mysql·centos
Jason_chen5 小时前
Linux 6.2 音频机制深度解析:AI驱动的低延迟音频与零信任音频安全架构
linux
下午写HelloWorld5 小时前
Linux系统及Ubuntu常用指令
linux·ubuntu·操作系统
云计算磊哥@6 小时前
运维开发宝典026-MySQL02数据库表操作
运维·数据库·运维开发
weixin_523185326 小时前
Collections.unmodifiableMap详解:真的不可修改吗?
java·linux·前端