Files
MemRelay/projects/bc51a377-ed2d-4afc-a176-554fce220d45/Checkpoint 2026-12-01 15-33-29 UTC [ffc17fe94b].md
T
memrelay dae97e7fd0 create: Checkpoint 2026-12-01 15:33:29 UTC [ffc17fe94b]
MemRelay-Operation: checkpoint-save:ckpt-kernel-image-20261201-2333
MemRelay-Resource: 5358672f-4a0e-46ce-8aee-dd0a8c0e5ba1
2026-12-01 23:33:33 +08:00

31 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-12-01 15:33:29 UTC [ffc17fe94b]
type: checkpoint
permalink: main/projects/bc51a377-ed2d-4afc-a176-554fce220d45/checkpoint-2026-12-01-15-33-29-utc-ffc17fe94b
stable_id: 5358672f-4a0e-46ce-8aee-dd0a8c0e5ba1
scope: project
memory_type: checkpoint
project_id: bc51a377-ed2d-4afc-a176-554fce220d45
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: ckpt-kernel-image-20261201-2333
created_at: '2026-12-01T15:33:29.197076+00:00'
updated_at: '2026-12-01T15:33:29.197076+00:00'
tags:
- kernel
- image
- docker
---
2026-12-01 用本仓库提交 7cf492b9a5 的内核源码,在 debian:trixie 容器里交叉编出 linux-image-6.12.49-msm8916-g93a71ee9468d,并做出新的 boot.img 和 rootfs.img。没有刷板。
怎么编:Windows 工作区放不下 aux.c,所以容器挂载只读的 .git,用 git archive 导出 image/debian/UFI003_MB_V02/kernel。源码快照没有自己的 Git 历史,deb-pkg 会拒绝并改掉版本号;build-kernel.sh 已改成 make bindeb-pkg。版本仍是 6.12.49-msm8916-g93a71ee9468d,包里有 CONFIG_RPMSG_CTRL=y。新 vmlinuz 和旧 boot.img 不同。
产物:刷机目录 flasher/devices/UFI003_MB_V02/images/boot.img(19052544,SHA256 6EDD9FFB41AA…)和 rootfs.img(726679552,SHA256 5598FA7EBAC8…)。旧文件保留为 boot.img.before-kernel、rootfs.img.before-kernel。before-usb 和 before-hostapd 没动。deb 在 image/debian/UFI003_MB_V02/dist/,该目录被 gitignore。
rootfs 比原来的 706138112 大了约 20MB:装完包后 resize2fs 最小只能到 177412 个 4K 块。GPT 里 rootfs 分区从 LBA 659456 到 7471070,约 3.25GB,这个文件仍放得下,不会压到别的分区。
镜像里的面板仍是旧 rootfs 里那份。这台电脑没有 Zig 0.14.1 交叉链接器,mifipanel/target/zig 不在,所以没有把当前面板重编进去。USB 一上电就带网卡的脚本、hostapd 和 cellular.nmconnection 已写进 rootfs。
下一步:用户拿新板进 9008 后再刷。不要刷正在使用的 093151a4。刷之前先备份该板自己的 modemst1/2、fsc、fsg,不要写别的板的校准分区。build-kernel.sh 的改动还没提交。