Support for Banana Pi BPI-P2 Zero
Martin Thomas
mtuboot at hamtam.de
Fri Oct 28 23:17:52 CEST 2022
Hi,
I found a solution. I had to use
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-bananapi-m2-zero"
This defconfig works!
Best regards
Martin
Am 28.10.22 um 20:38 schrieb Martin Thomas:
>
> Hi Developers,
>
>
> I am struggling with the u-boot for the Banana Pi BPI-P2 Zero.
> I used this defconfig but it has problems with at least the mmc card:
>
> CONFIG_ARM=y
> CONFIG_ARCH_SUNXI=y
> CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-bananapi-m2-plus-v1.2"
> CONFIG_SPL=y
> CONFIG_MACH_SUN8I_H3=y
> CONFIG_DRAM_CLK=408
> CONFIG_MMC0_CD_PIN=""
> CONFIG_MMC_SUNXI_SLOT_EXTRA=2
> # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
> CONFIG_PREBOOT=""
> # CONFIG_SYS_DEVICE_NULLDEV is not set
> CONFIG_SPL_STACK=0x8000
> CONFIG_SYS_PBSIZE=1024
> CONFIG_SUN8I_EMAC=y
> CONFIG_USB_EHCI_HCD=y
>
>
> This is the output from serial:
> U-Boot SPL 2022.10 (Oct 28 2022 - 20:34:40 +0200)
> DRAM: 512 MiB
> Trying to boot from MMC1
>
>
> U-Boot 2022.10 (Oct 28 2022 - 20:34:40 +0200) Allwinner Technology
>
> CPU: Allwinner H3 (SUN8I 1680)
> Model: Banana Pi BPI-M2-Plus v1.2 H3
> DRAM: 512 MiB
> Core: 68 devices, 19 uclasses, devicetree: separate
> WDT: Not starting watchdog at 1c20ca0
> MMC: mmc at 1c0f000: 0, mmc at 1c10000: 2, mmc at 1c11000: 1
> Loading Environment from FAT... MMC: no card present
> ** Bad device specification mmc 0 **
> In: serial
> Out: serial
> Err: serial
> Net: Could not get PHY for ethernet at 1c30000: addr 1
> No ethernet found.
>
> Hit any key to stop autoboot: 0
> MMC: no card present
> Card did not respond to voltage select! : -110
> starting USB...
> ...
>
>
> Thank you for your help!
>
> Regards
>
> Martin
More information about the U-Boot
mailing list