Allwinner H3 boot from eMMC boot partition

89 views
Skip to first unread message

Wei-Hung Yang

unread,
May 23, 2019, 2:13:40 AM5/23/19
to linux-sunxi
Hi All,

I found this wiki said SoC seems not boot via eMMC boot partition.
I have a Banana Pi M2+ with 8 GB eMMC. I try to write U-Boot (with SPL) to eMMC boot partition, i.e. mmcblk2boot0 or mmcblk2boot1, and cannot get it to work neither.

Can H3 boot from boot0 or boot1 partition of eMMC? If yes, how to achieve that?


Best regards,
Wei-Hung Yang

Priit Laes

unread,
May 23, 2019, 11:26:22 AM5/23/19
to Wei-Hung Yang, linux-sunxi
I'm using following fastboot-based flashing method on A20:

http://linux-sunxi.org/Fastboot

>
>
> Best regards,
> Wei-Hung Yang
>
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/7b225300-92bc-4ce1-8c9d-4edc24983f2a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Wei-Hung Yang

unread,
May 23, 2019, 11:09:34 PM5/23/19
to linux-sunxi
Thank you, plaes.
But it looks like fastboot method only manipulates user data area of eMMC. It flashes images to loader1, loader2, esp and system partition which are all logical partition, not hardware partition of eMMC.

plaes於 2019年5月23日星期四 UTC+8下午11時26分22秒寫道:
On Wed, May 22, 2019 at 10:58:25PM -0700, Wei-Hung Yang wrote:
> Hi All,
>
> I found this wiki said SoC seems not boot via eMMC boot partition.
> http://linux-sunxi.org/Bootable_eMMC
> I have a Banana Pi M2+ with 8 GB eMMC. I try to write U-Boot (with SPL) to
> eMMC boot partition, i.e. mmcblk2boot0 or mmcblk2boot1, and cannot get it
> to work neither.
>
> Can H3 boot from boot0 or boot1 partition of eMMC? If yes, how to achieve
> that?

I'm using following fastboot-based flashing method on A20:

http://linux-sunxi.org/Fastboot

>
>
> Best regards,
> Wei-Hung Yang
>
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linux...@googlegroups.com.

Roman Beránek

unread,
Jun 14, 2019, 2:59:12 PM6/14/19
to linux-sunxi
I have no experience with H3 itself, but A64 boots from these partitions in agreement with the eMMC 5.1 (JESD84) specs.
Unlike booting from the user partition (the usual case), here BROM expects BOOT0/SPL to be located right at the first sector.
Reply all
Reply to author
Forward
0 new messages