arm: sunxi: Reduce inrush current on Olimex A20-OLinuXino_MICRO
PATCH 1/1 arm: sunxi: Reduce inrush current on Olimex A20-OLinuXino_MICRO
This change fix reboot, it was tested on debian-12
It was inspired from for-master-20181206-10-g8311e84b18
Relate-to: https://github.com/rzr/u-boot/issues/2
Thanks-to: Olliver Schinagl <[email protected]>
---
configs/A20-OLinuXino_MICRO_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/A20-OLinuXino_MICRO_defconfig +1 -0
@@ -20,6 +20,7 @@ CONFIG_ETH_DESIGNWARE=y CONFIG_MII=y CONFIG_SUN7I_GMAC=y CONFIG_SUN7I_GMAC_FORCE_TXERR=y +CONFIG_AXP_ALDO3_INRUSH_QUIRK=y CONFIG_AXP_ALDO3_VOLT=2800 CONFIG_AXP_ALDO4_VOLT=2800 CONFIG_SCSI=y
Signature · 1 line
2.43.0
On Sat, 6 Jan 2024 23:21:34 +0100
Philippe Coval <[email protected]> wrote:
(CC:ing Olliver, can you confirm that this quirk applies to the Micro too?)
Hi Philippe,
thanks for taking care of upstreaming this!
Quoted 1 line
This change fix reboot, it was tested on debian-12
So I am wondering why this only comes up now. Was that always broken, and nobody cared (or ran mainline U-Boot)? Or does the problem only show under certain circumstances?
It would be good if you can elaborate about that in the commit message, to show *why* your patch is needed.
Quoted 1 line
It was inspired from for-master-20181206-10-g8311e84b18
Referencing a commit here looks odd. You could just mention that this quirk is also used on the Lime2 boards.
Quoted 2 lines
Relate-to: https://github.com/rzr/u-boot/issues/2
Thanks-to: Olliver Schinagl <[email protected]>
Please don't invent tags. If you want to give credit for things like advice or support, mention their name in the commit message, and maybe add them in CC:
If you have a *stable* link with useful(!) information, use the Link: tag.
configs/A20-OLinuXino_MICRO_defconfig
Quoted 7 lines
Signed-off-by Philippe Coval <[email protected]>---
configs/A20-OLinuXino_MICRO_defconfig | 1 + 1 file changed, 1 insertion(+)configs/A20-OLinuXino_MICRO_defconfig +0
-0
If you change this file, that probably means that the eMMC version is also affected? Same as the two Lime2 boards, where we set the symbol in *both* defconfigs? So can you please add that symbol there as well?
Cheers,
Andre
Quoted 11 lines
index
db4270f9b2..673ab85c8a100644configs/A20-OLinuXino_MICRO_defconfig +1
-0@@ -20,6 +20,7 @@ CONFIG_ETH_DESIGNWARE=y CONFIG_MII=y CONFIG_SUN7I_GMAC=y CONFIG_SUN7I_GMAC_FORCE_TXERR=y +CONFIG_AXP_ALDO3_INRUSH_QUIRK=y CONFIG_AXP_ALDO3_VOLT=2800 CONFIG_AXP_ALDO4_VOLT=2800 CONFIG_SCSI=y
Quoted 3 lines · Andre Przywara
On Sat, 6 Jan 2024 23:21:34 +0100
Philippe Coval<[email protected]> wrote:
(...)
Quoted 1 line
thanks for taking care of upstreaming this!
yea I should have done this earlier !
Quoted 2 lines
Quoted 1 line
This change fix reboot, it was tested on debian-12
So I am wondering why this only comes up now. Was that always broken,
I assume yes, it has been reported a couple of time elsewhere:
https://forum.openwrt.org/t/rebot-issue-with-a20-olinuxino-micro/56720/2?u=rzr
Also, I just filed (And shared patch):
https://bugs.debian.org/1060752
I've been using armbian's lime images on micro that had the fix , and forgot about this problem until I gave a try at freedom box images for micro
Quoted 2 lines
It would be good if you can elaborate about that in the commit message, to show *why* your patch is needed.
OK I'll improve commit message with details I know and also apply to the eMMC defconfig (testers welcome?) waiting for Olivier feedback then I'll push a V2 of patch to:
http://patchwork.ozlabs.org/project/uboot/list/?series=389169 <http://patchwork.ozlabs.org/project/uboot/list/?series=389169>
then feel free to annotate if you have more details to share
Keep in touch