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

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

相关推荐
码农学院2 小时前
基于运维监控体系的网络品牌推广方案:从架构设计到技术实现
运维·网络
大耳朵-小飞象11 小时前
电力安全运维的智能密码:BACS如何破解设备全生命周期管理难题,让电网安全“看得见、管得住”?
运维·安全·智慧城市·能耗系统·楼宇智控·未来生活
极客侃科技11 小时前
制造企业 MES/APS 选型:SAP PP/DS 集成、ERP-MES 边界划分与一体化架构要点
运维·架构·制造
HLC++12 小时前
Linux的进程间通信
android·linux·服务器
华清远见IT开放实验室13 小时前
实验室建设案例 | 石家庄科技信息职业学院嵌入式实验室——从底层硬件到系统应用,一所应用型高校的嵌入式人才培养这样落地
linux·arm开发·stm32·嵌入式硬件·高校·实验室建设
生活爱好者!14 小时前
我把NAS当作下载机,docker一键部署qb
运维·docker·容器
groundhappy16 小时前
idalib安装和codex ida-mcp配置
linux·开发语言·python
尽兴-16 小时前
企业业务系统架构选型与渐进式演进
运维·系统架构·devops
通信小小昕16 小时前
Ubuntu 26.04 中文输入法安装
linux·运维·ubuntu
壮哥_icon17 小时前
【Android 系统开发】使用 BAT 脚本高效自动化管理 /system/priv-app/ 系统应用(安装与卸载)
android·运维·自动化