On 2020-03-08, Bernhard wrote:
> 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
>
>> +++ b/configs/Bananapi_m3_defconfig
>> @@ -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
>> +CONFIG_AXP_DCDC4_VOLT=0
>> +CONFIG_AXP_DCDC5_VOLT=1200
>> +CONFIG_AXP_ALDO2_VOLT=0
>> +CONFIG_AXP_ALDO3_VOLT=0
>> +CONFIG_AXP_DLDO4_VOLT=0
>> -- 
>
> In the Debian configuration, i found the following:
>
>> CONFIG_ARM=y
>> CONFIG_ARCH_SUNXI=y
>> CONFIG_NR_DRAM_BANKS=1
>> CONFIG_SPL=y
>> CONFIG_MACH_SUN8I_A83T=y
>> CONFIG_DRAM_TYPE=7
>> CONFIG_DRAM_CLK=480
>> CONFIG_DRAM_ZQ=15355
>> CONFIG_DRAM_ODT_EN=y
>> CONFIG_MMC_SUNXI_SLOT_EXTRA=2
>> CONFIG_INITIAL_USB_SCAN_DELAY=500
>> CONFIG_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=y
>> CONFIG_SATAPWR="PD25"
>> # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>> CONFIG_USE_PREBOOT=y
>> CONFIG_CONSOLE_MUX=y
>> # CONFIG_SPL_DOS_PARTITION is not set
>> # CONFIG_SPL_EFI_PARTITION is not set
>> CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-bananapi-m3"
>> CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>> CONFIG_PHY_REALTEK=y
>> CONFIG_SUN8I_EMAC=y
>> CONFIG_AXP_DCDC5_VOLT=1200
>> CONFIG_AXP_DLDO3_VOLT=3300
>> CONFIG_AXP_SW_ON=y
>> CONFIG_USB_EHCI_HCD=y
>> CONFIG_USB_OHCI_HCD=y
>> CONFIG_USB_MUSB_HOST=y
>> CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y

I presume this is configs/Sinovoip_BPI_M3_defconfig ?


> 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

Attachment: signature.asc
Description: PGP signature

Reply via email to