Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM311-1A 写入emmc 无法启动 #286

Closed
yingzaigt opened this issue Aug 19, 2022 · 10 comments
Closed

CM311-1A 写入emmc 无法启动 #286

yingzaigt opened this issue Aug 19, 2022 · 10 comments

Comments

@yingzaigt
Copy link

大佬好,我的CM311-1A USB可以正常启动您2022.8.17发布的s905l3a openwrt,但是用晶晨宝盒写入emmc后无法启动;CM311-1A 刷您的armbian 用armbian-install no写入emmc,USB引导启动一次后正常emmc启动(armbian-install 写入emmc无法启动)。所以想问一下openwrt有没有还是用安卓原来bootloader,不写主线bootloader的方法呀?感谢大佬维护的armbian 和openwrt ,造福我等爱折腾的玩家。

@ophub
Copy link
Owner

ophub commented Aug 19, 2022

  1. 先还原安卓TV系统,因为你的已经写入了,覆盖了原来安卓的bootloader了,需要先还原安卓系统
  2. 把OpenWrt里这个文件 /etc/model_database.txt 里面的 /lib/u-boot/e900v22c-u-boot.bin.sd.bin 改为 NA
  3. 再使用宝盒安装,这样就去掉这个主线U-BOOT了,很多人反馈这个主线使用后无法启动,我下午把他先去掉吧

@ophub ophub closed this as completed Aug 20, 2022
@ysuolmai
Copy link

我用最新版的还是一样问题,[openwrt_s905l3a_k5.15.70_2022.09.24.img.gz],U盘可以启动,写入emmc就无法启动了。还需要改/etc/model_database.txt吗?

@ophub
Copy link
Owner

ophub commented Sep 27, 2022

不用改了,选择305
你写入armbian可以,写入openwrt不行?

@ysuolmai
Copy link

不用改了,选择305
你写入armbian可以,写入openwrt不行?

对,armbian完全没问题了. op写进emmc就起不来了,而且这时候u盘也没法引导了

@ophub
Copy link
Owner

ophub commented Sep 27, 2022

你使用的是什么时候的固件?
op的安装文件里面,分区的大小要改一下,少cm311的划分

@hhalibo
Copy link

hhalibo commented Sep 29, 2022

你使用的是什么时候的固件? op的安装文件里面,分区的大小要改一下,少cm311的划分

5天前的新版本,也是刷入emmc不能启动。请问大佬,需要在哪里改分区大小,请明示,谢谢!

@ophub
Copy link
Owner

ophub commented Sep 29, 2022

https://github.com/ophub/luci-app-amlogic/blob/d125217b6ee47ff3516cfbdd3018a5647c0d71ff/luci-app-amlogic/root/usr/sbin/openwrt-install-amlogic#L329

329行前添加:

elif [[ "${AMLOGIC_SOC}" == "s905l3a" ]]; then
    BOOT=512
    BLANK1=108
    BLANK2=778
    BLANK3=0
    BLANK4=0

@hhalibo
Copy link

hhalibo commented Sep 29, 2022

https://github.com/ophub/luci-app-amlogic/blob/d125217b6ee47ff3516cfbdd3018a5647c0d71ff/luci-app-amlogic/root/usr/sbin/openwrt-install-amlogic#L329

329行前添加:

elif [[ "${AMLOGIC_SOC}" == "s905l3a" ]]; then
    BOOT=512
    BLANK1=108
    BLANK2=778
    BLANK3=0
    BLANK4=0

我去试试,非常感谢!

@hhalibo
Copy link

hhalibo commented Sep 29, 2022

报告大佬,刷入eMMC启动成功!非常感谢!

@ophub
Copy link
Owner

ophub commented Sep 29, 2022

好的,恭喜你

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants