接上文 Debian:PocketBeagle 2 入门指南(1)
Linux 内核
- 该脚本将构建内核、模块、设备树二进制文件,并将其复制到 deploy 目录。
下载
#user@localhost:~$
git clone https://github.com/RobertCNelson/arm64-multiplatform ./kernelbuildscripts
cd kernelbuildscripts/
根文件系统(Debian 12)
-
用户:debian
-
密码:temppwd
下载
#user@localhost:~$
wget -c https://rcn-ee.com/rootfs/eewiki/minfs/debian-12.11-minimal-arm64-2025-05-28.tar.xz
校验
#user@localhost:~$
sha256sum debian-12.11-minimal-arm64-2025-05-28.tar.xz
解压
#user@localhost:~$
tar xf debian-12.11-minimal-arm64-2025-05-28.tar.xz
安装内核和根文件系统
- 为帮助新用户,由于内核版本可能每日更新,本页列出的内核构建脚本将提示所构建的内核版本。
-----------------------------
Script Complete
eewiki.net: [user@localhost:~$ export kernel_version=5.X.Y-Z]
-----------------------------
复制并粘贴 “export kernel_version=5.X.Y-Z”(保持格式)到您的构建 / 桌面环境中,按回车键创建后续使用的环境变量。
export kernel_version=5.X.Y-Z
更多内容: