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

extlinux.conf on production modules (eMMC) always has priority over other drives #3

Open
careyer opened this issue Mar 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@careyer
Copy link

careyer commented Mar 1, 2022

Hey there! Many thanks for this awesome work! I played arround with it on my Jetson TX2 NX production model (eMMC).

Describe the issue
Is there a way to specify a boot fallback strategy in /boot/extlinux/extlinux.conf for production modules?

On the production modules with integrated eMMC for the sake of it the system first looks into extlinux.conf on /dev/mmcblk0p1/ before it looks e.g. into extlinux.conf on /dev/sdb1.
I.e. mmcblk0p1 (which cannot be unplugged due to being soldered eMMC) has always priority over the other drives resulting in the fact that you must edit the extlinux.conf in eMMC to force the system to boot off of USB. Done that it successfully boots from USB. However when unplugging the USB-Drive the boot will fail due to extlinux.conf pointing to a missing boot drive.

In order to rescue the system you need to boot from USB... mount /dev/mmcblk0p1/ and edit extlinux.conf in the eMMC storage again so that rootfs points to the internal eMMC again. That's a bit of a pain.
It would be nice if one could specify a primary and a secondary boot device. Then one could specify USB as the primary and if that one isn't found the system could fallback to the secondary (in this case eMMC).

Is this possible?
A solution like that would be highly appreciated.

Thanks and keep up the excellent work and videos! I enjoy them much!

What version of L4T/JetPack
L4T/JetPack version: 4.6rev3

Which Jetson
Jetson: Jetson TX2 NX

@careyer careyer added the bug Something isn't working label Mar 1, 2022
@mohsinulbari
Copy link

Could you fix it somehow?

@HunterShinobiTitan
Copy link

I am using Jetson Nano Developer Kit. I solve it by just copying the extlinux.conf from the USB boot and paste it on the Emmc extlinux.conf. Make sure that you have the backup created on both storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants