AXP813 configuration for BananaPi M3
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 27 lines · Bernhard
I had an additional look for the possible problem with the AXP813 for BananaPi M3 in U-Boot. With help of Google, i found a patchset for U-Boot from 2016:
https://lists.denx.de/pipermail/u-boot/2016-January/240259.html
Quoted 22 lines
+++ b/configs/Bananapi_m3_defconfig
(quoted diff) +20
-0@@ -0,0 +1,25 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_MACH_SUN8I_A83T=y +CONFIG_DRAM_CLK=480 +CONFIG_DRAM_ZQ=15355 +CONFIG_DRAM_ODT_EN=y +CONFIG_SYS_EXTRA_OPTIONS="DRAM_TYPE=7" +#CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE" +#CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT" +CONFIG_AXP_GPIO=y +#CONFIG_USB_MUSB_HOST=y +CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-bananapi-m3-v1.2" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SPL=y +# CONFIG_CMD_IMLS is not set +# CONFIG_CMD_FLASH is not set +# CONFIG_CMD_FPGA is not set +CONFIG_AXP_DCDC1_VOLT=3000 +CONFIG_AXP_DCDC2_VOLT=900 +CONFIG_AXP_DCDC3_VOLT=900
Quoted 42 lines
Review line 25
Quoted 6 lines
(quoted diff) +5
-0+CONFIG_AXP_DCDC4_VOLT=0 +CONFIG_AXP_DCDC5_VOLT=1200 +CONFIG_AXP_ALDO2_VOLT=0 +CONFIG_AXP_ALDO3_VOLT=0 +CONFIG_AXP_DLDO4_VOLT=0In the Debian configuration, i found the following:
Quoted 33 lines
CONFIG_ARM=yCONFIG_ARCH_SUNXI=yCONFIG_NR_DRAM_BANKS=1CONFIG_SPL=yCONFIG_MACH_SUN8I_A83T=yCONFIG_DRAM_TYPE=7CONFIG_DRAM_CLK=480CONFIG_DRAM_ZQ=15355CONFIG_DRAM_ODT_EN=yCONFIG_MMC_SUNXI_SLOT_EXTRA=2CONFIG_INITIAL_USB_SCAN_DELAY=500CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"CONFIG_USB0_ID_DET="PH11"CONFIG_USB1_VBUS_PIN="PD24"CONFIG_AXP_GPIO=yCONFIG_SATAPWR="PD25"
#CONFIG_SYS_MALLOC_CLEAR_ON_INITis not setCONFIG_USE_PREBOOT=yCONFIG_CONSOLE_MUX=y
#CONFIG_SPL_DOS_PARTITIONis not set
#CONFIG_SPL_EFI_PARTITIONis not setCONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-bananapi-m3"CONFIG_SYS_RELOC_GD_ENV_ADDR=yCONFIG_PHY_REALTEK=yCONFIG_SUN8I_EMAC=yCONFIG_AXP_DCDC5_VOLT=1200CONFIG_AXP_DLDO3_VOLT=3300CONFIG_AXP_SW_ON=yCONFIG_USB_EHCI_HCD=yCONFIG_USB_OHCI_HCD=yCONFIG_USB_MUSB_HOST=yCONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
I presume this is configs/Sinovoip_BPI_M3_defconfig ?
Quoted 4 lines
Some
CONFIG_AXP_... are missing in the Debian configuration.
Is it possible, that these missing AXP-configs have to be added in the Debian configuration?If i can do some tests, please let me know.
Debian doesn't have any patches that should affect this; CCing upstream. Hopefully someone there has some suggestions or ideas.
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200308/90d36ae3/attachment.sig>
Hello Vagrant
Quoted 1 line
I presume this is configs/Sinovoip_BPI_M3_defconfig ?
Yes. This is correct.
Best regards
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: This is a digitally signed message part
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200311/c6d1d316/attachment.sig>