All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: u-boot@lists.denx.de
Subject: AXP813 configuration for BananaPi M3
Date: Sun, 08 Mar 2020 10:35:52 -0700	[thread overview]
Message-ID: <87mu8qeolj.fsf@yucca> (raw)
In-Reply-To: <917d9eac15c9282a7ee4122d69d5c8539bc26cd8.camel@gmail.com>

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
-------------- 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>

       reply	other threads:[~2020-03-08 17:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <917d9eac15c9282a7ee4122d69d5c8539bc26cd8.camel@gmail.com>
2020-03-08 17:35 ` Vagrant Cascadian [this message]
2020-03-11 16:12   ` AXP813 configuration for BananaPi M3 Bernhard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mu8qeolj.fsf@yucca \
    --to=vagrant@debian.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.