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.45k stars 1.74k forks source link

启动顺序问题 #1640

Closed Metaphorme closed 10 months ago

Metaphorme commented 10 months ago

Device Information | 设备信息

Armbian Version | 系统版本

Describe the bug | 问题描述 将系统安装进 emmc 后一切正常。 如果将移动硬盘接入任意一个 USB 口后重启,则 N1 会反复启动(可能在尝试从移动硬盘启动),只有将硬盘拔掉后才能正常启动。

请问大佬是否有解决方法?很担心突然断电又恢复后反复重启导致硬盘损坏。

辛苦您啦!

ophub commented 10 months ago

USB > EMMC

有U盘就从U盘启动,这是默认设置。我拔了就从会从emmc启动。

你想emmc优先启动,要改/boot/u-boot.src。看文档。 改的不从U盘启动后,以后怎么刷机呢?短接线刷?

Metaphorme commented 10 months ago

请问大佬是否可以设置其中一个usb口有启动的功能,而另一个usb口仅作为外置存储使用呢?目前的情况不太敢让n1做nas,有一些不方便。

谢谢您的回复!

ophub commented 10 months ago

我不会弄。你想想怎么弄。似乎不能设置u1.u2.u3。

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-files/platform-files/amlogic/bootfs/boot.cmd

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-files/platform-files/amlogic/bootfs/boot-emmc.cmd

Metaphorme commented 10 months ago

好的!谢谢您指明了方向。我仔细了解一下。