Power & Source of Big Ideas

U boot order change to eMMC

Moderator: FATechsupport

Hi, I'm trying to always boot from eMMC whatever it mounted SD Card. Does anyone know how to change it easily? thanks in advance.

My board boots from eMMC even with SD card inserted. I am using the Nano PC T3 Plus.

Which board are you using?

Normally the SD only boots when you hold down the BOOT button. This allows you to load from the SD and flash the eMMC.

I've installed the official Debian Jessie image to the eMMC, using emmc.sh script. System works fine and boots from eMMC as it should, but only if there is no SD card inserted. If there is a SD card inserted during boot, it becomes /dev/mmcblk0 and the boot fails, because it wants to mount root device from /dev/mmcblk0p2, where it doesn't exist.

I think, that the correct solution would be, to switch the order of mmc devices. The eMMC should be first and the SD should be second. I tried to achieve this with switching the parameters for [card0_boot_para]/[card2_boot_para] and [mmc0_para]/[mmc2_para]. After compiling script.bin, boot fails to initialize emmc/sd devices, failing with '[mmc-err] update clock timeout, fatal error'.

So the question is, what am I doing wrong with switching the emmc/sd devices (I'm quite a newbie here...) or is there another option to achieve the same - to boot from eMMC with SD card inserted?

Which board are you using?

I am also trying to configure a nanopi to only boot from emmc.

I have a nanopi-r1

Can anybody help me?

Best Regards

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 2 guests