ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.8k stars 1.86k forks source link

中兴B860AV2.1-M成功刷入,怎么修改使tf卡槽可用呢? #2468

Closed qfnuzlr closed 1 week ago

qfnuzlr commented 1 month ago

Device Information | 设备信息

Armbian Version | 系统版本 Armbian_23.08.0_amlogic_s905l3b_bullseye_5.15.133_server

Describe the bug | 问题描述 刷完后,不支持机顶盒tf卡槽,插入tf卡不识别。

Please provide a detailed description of the issue and, if necessary, attach a screenshot. 同样的问题其他机顶盒也有,比如创维E900-S,刷入海纳斯Ubuntu也是不支持tf卡槽,但用其他机器fastboot替代可以启用tf卡槽,但后果是可用内存仅剩一半了,顾此失彼

中兴盒子也是,到底修改哪个文件能启用tf卡槽呢?大佬们指点一二吧

ophub commented 1 month ago

内存不足可以试一下添加U-BOUT,方法看仓库的文档。

tf卡默认是可以的,你可以看一下内核仓库里dts有没有显式定义,也可以在反编译的dtb里检查,反编译dtb的方法看仓库文档。

qfnuzlr commented 1 month ago

meson-gxl-s905l3b-e900v22e.dtb 好像是这个吧,里面没有tf卡槽相关 能否修改一版?单独ssh进去替代?

ophub commented 1 month ago

是哪个dtb自己看下配置文件 cat /boot/uEnv.txt 里写的dtb的名字

https://github.com/unifreq/linux-6.6.y/tree/main/arch/arm64/boot/dts/amlogic

修改dts/反编译dtb的方法看仓库文档。

qfnuzlr commented 1 month ago

mdmo1b-fastboot.zip mdmo1f-fastboot.zip 大佬研究一下,正常是刷mdmo1f的fastboot,识别内存684M,但tf卡不识别无法用 ssh进去用mdmo1b的fastboot替代方法是dd if=/mnt/sda1/mdmo1f-fastboot.bin of=/dev/mmcblk0p1 重启后tf卡槽可以使用了,但内存显示420M了,无语了,顾此失彼啊

目前天邑TY1608刷armbian可以使用tf卡槽,而B860AV2.1-M不能用,特来学习

qfnuzlr commented 1 month ago

B860AV2.1-M cat /boot/uEnv.txt回显如下 LINUX=/zImage INITRD=/uInitrd FDT=/dtb/amlogic/meson-gxl-s905l3b-m302a.dtb APPEND=root=UUID=c4a5e06e-b6ed-46cb-9832-091015754ebf rootflags=data=writeback rw rootfstype=ext4 console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 max_loop=128 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0 小白搞不定啊,哪位大佬会修改一下,启用tf卡槽