如何在BBB中禁用从SD卡启动的选项 [英] How to disable the option of booting from SD card in BBB

查看:61
本文介绍了如何在BBB中禁用从SD卡启动的选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在埃上运行的血脑屏障.我想增加存储空间,为此,我正在使用SD卡.这里的问题是,如果插槽中有卡可用,则Angstrom映像会尝试从SD卡启动,并且由于我仅将该卡用于存储目的而挂在那里.

I have a BBB running on angstrom. I want to increase the storage space, for that purpose I am using an SD card. The problem here is the angstrom images tries to boot from SD card if there is an card available on the slot and gets hang there as I am using that card only for storage purpose.

因此,如何更改引导行为,或者如何禁用从SD卡引导的选项,以便可以在引导时将SD卡保留在插槽中,并始终从emmc映像引导BBB.主要目标是即使在SD插槽中有SD卡的情况下,也可以从emmc映像启动bbb

So how can I change the behavior of booting, or how can I disable the option of booting from SD card so that I can keep an SD card in the slot at boot time and boot BBB always from the emmc image. Main objective is to boot bbb from emmc image even if there is an SD card present in the SD slot

推荐答案

为此,您只需要在SD卡中包含uEnv.txt即可阻止BBB从SD卡启动,即使该BBB在启动时已插入也是如此.uEnv.txt的内容应该是,确保将此文件写入linux Env​​.

For this you just need to have a uEnv.txt in SD card to stop BBB booting from SD card even if it is plugged at boot time. The content of uEnv.txt should be, make sure to write this file in linux Env.

mmcdev=1
bootpart=1:2
mmcroot=/dev/mmcblk1p2 ro
optargs=quiet

这篇关于如何在BBB中禁用从SD卡启动的选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆