avafinger

Results 251 comments of avafinger

Try this: 1 - Update u-boot (only the bootloader) from this tag: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v1.7 2 - make sure eMMC is active https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/issues/18 3 - Make sure the root device is correct...

/dev/sd* is for USB SDHC reader/writer (if you connect to a PC box running Linux) /dev/mmcblk0p1 that is OK if you do from M2Z

[boot.cmd.tar.gz](https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/files/4866398/boot.cmd.tar.gz) to be able to boot from eMMC you have to format it and copy the bootloader, boot, and rootfs. There is a script that does that, search the releases...

Boot from SD card and see what you get with this command: **ls /dev/mmcblk***

1 - when booting from **SD CARD**: /dev/mmcblk0 is your SD CARD /dev/mmcblk2 is your eMMC 2 - when booting without SD CARD ` /dev/mmcblk? - It changes device number,...

try: `fdt set mmc${boot_mmc} boot_device `

This DTB has eMMC enabled, try with this dtb. [bpi-m2-zero-v4.dtb_emmc.tar.gz](https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/files/4870567/bpi-m2-zero-v4.dtb_emmc.tar.gz) * unzip it into /boot * sudo ln -sf bpi-m2-zero-v4.dtb_emmc bpi-m2-zero-v4.dtb * sync && sudo reboot This for kernel 5.7.x-server

yes!

Who told you this instructions would work? _dd if=/dev/mmcblk0 of=/dev/mmcblk2 bs=10M status=progress then i removed the sd-card and boot from eMMC ..._

Trying to boot from MMC**2** MMC Device **1** not found boot.cmd must tell the boot loader what device number eMMC is. If you boot with SD CARD, eMMC has ID...