Jump to content

Can't boot from EMMC with empty SD card inserted


Scandinav21

Recommended Posts

Hi there.
I've got the problem with boot from emmc when empty SD card is installed.

Opi PC+
Armbian (debian 9 stretch)
Kernel 5.4.20-sunxi

I've moved OS from SD to emmc using armbian-config util, then format SD with fat and now when I power on my OPi without SD card all is ok, but when SD installed boot get stuck with error "Script failed", unknown device...
I've tried to chang mmc0‘s sdc_detmode, but doesn't have /boot/script.bin
Can anyone help? Thank you.

 

Spoiler

7c932fda89d2b88622efd031f5ead311-full.jp

 

Link to comment
Share on other sites

2 hours ago, Scandinav21 said:

then format SD with fat

It is not enough to format the partition of SDCard, it doesn't get rid of the u-boot located between partition table and the first partition.

You need to do the following :

dd if=/dev/zero of=/dev/mmcblk0 bs=1024 count=2048
fdisk /dev/mmcblk0

Then you can re-create new partition and format it ...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines