ophub

Results 457 comments of ophub

https://github.com/ophub/amlogic-s9xxx-armbian/issues/1043#issuecomment-1432720738

https://github.com/ophub/amlogic-s9xxx-armbian/commit/bb99eef48c24637ca3b62f47af26948f5660ddad 刚刚修复了这个问题,header里遗失了一些文件,f大修复了编译内核的脚步,我同步更新了,但是我还没跑完测试: https://github.com/ophub/kernel/actions/runs/10073384652 等测试好了,重新编译内核,安装新内核即可。 目前还有一种做法,是更新到dev系列里的内核,这个的包含了这些缺少的文件,是我在armbian里编译的。 `armbian-update -u dev -k 6.6`

如果安装内核失败,可以使用u盘启动armbian,对emmc里的内核进行救援恢复 `armbian-update -s` 详细介绍在仓库的首页有说明

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/documents/README.cn.md 看第10节

只要从U盘启动过一次,就不需要再刷安卓了,安卓系统只有刷机救砖的时候用,平时直接从U盘启动新armbian系统就可以救援内核,或者重新安装等。

## 安装gcc编译工具链 ![Snip20240725_1](https://github.com/user-attachments/assets/1a89cbe6-df38-4862-8d11-9d977e0f4191) ## 更新到最新内核(2024.07.25日以后编译的内核,必须操作) ![Snip20240725_12](https://github.com/user-attachments/assets/706ab7d4-ac17-420e-89e1-b6c136b5f0c1) ## linux-6.1.y 内核下测试: ![Snip20240725_6](https://github.com/user-attachments/assets/1a1d0bb9-44d4-4de5-9907-47e5f20747a7) ![Snip20240725_8](https://github.com/user-attachments/assets/d1bd2eff-4c57-4e91-a870-08b0f8b1fe16) ## linux-6.6.y 内核下测试 ![Snip20240725_10](https://github.com/user-attachments/assets/bbbf9c33-5eff-4f26-bc4e-b069edc59c3d) ![Snip20240725_11](https://github.com/user-attachments/assets/b6311744-025c-4e4d-a178-c62b678ac0a2) ## 文字版说明 - 先在线更新成今天的最新内核,今天(2024.07.25)之前编译的stable系列内核都因为header缺少文件而无法自定义编译驱动(但dev系列里面的内核一直可以,这个系列是在armbian系统里编译的,里包含的文件是完整的) - 从5.4.y到6.6.y都可以,最新版本为5.4.280, 5.10.222, 5.15.163, 6.1.100, 6.6.41 - 使用今天编译的内核,[kernel_stable](https://github.com/ophub/kernel/releases/tag/kernel_stable) 或者 [kernel_dev](https://github.com/ophub/kernel/releases/tag/kernel_dev)...

我给你费劲巴拉写了4步,你就1步概括了?编译工具呢?环境设置呢?我给你图文并茂地写了半天,你又自己敲了?错误日志上写的很清楚,gcc不同。你不想看我的说明,就自己认真看错误日志,根据提示进行操作。

``` # 你是老版本的armbian吧,三步走 # 第一步,手动下载最新脚本: wget https://raw.githubusercontent.com/ophub/amlogic-s9xxx-armbian/main/build-armbian/armbian-files/common-files/usr/sbin/armbian-sync -O /usr/sbin/armbian-sync # 第二步,给脚本添加执行权限 chmod +x /usr/sbin/armbian-sync # 第三步,执行同步测试 armbian-sync ```

给emmc里添加/boot/u-boot.emmc 你可以先在usb里添加/boot/u-boot.ext并重启,测试哪个u-boot适合你的设备,找到重启后工作正常的,在写入emmc时使用`armbian-install -m yes`即可添加u-boot.emmc

继续测试其他相近的几个u-boot,也可以网上搜你的盒子能刷机的其他root版安卓系统