Scandinav21 Posted February 22, 2020 Posted February 22, 2020 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
martinayotte Posted February 22, 2020 Posted February 22, 2020 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 ...
Scandinav21 Posted February 22, 2020 Author Posted February 22, 2020 2 hours ago, martinayotte said: Thank you. Fixed!
Recommended Posts