AML-S905X-CC-V2 emmc issue

neil.armstrong at linaro.org neil.armstrong at linaro.org
Wed Apr 30 05:03:41 PDT 2025


Hi,

On 29/04/2025 20:59, Jeff Sacksteder wrote:
> I'm having a problem trying to install Alpine Linux on to a Libre
> Computing Sweet Potato AML-S905X-CC-V2 and I need some clairification,
> if someone has been down this road already.
> 
> The sd card is detected, but the optional emmc module is not(per dmesg
> and /dev/mmc*).
> 
> The suggested distros Libre suggests work correctly, so I know the
> hardware is good.
> 
> I don't know if they have magic patches, so looking for clues
> elsewhere, the current Gentoo image for Arm correctly detects both
> devices.
> 
> The first obvious difference I find vs Alpine is that they include
> PWRSEQ_EMMC compiled as a module, while Alpine does not configure that
> option at all. My operating theory is that this hardware needs some
> bring-up power negotiation before it is available.


PWRSEQ_EMMC is definitely needed, so if you try to mount an EMMC rootfs,
then yes it won't work with PWRSEQ_EMMC as a module.

The most common way to boot is to use an initramfs which will load all
modules for storage drivers and then boot on it, but I assume it's not your case ?

> 
> However, since I don't have a cross-compile environment available, and
> it takes 35 hrs to build a kernel, and the Alpine build process is
> convoluted and weird to me, I would really like to know if that single
> option is the solution. Otherwise I face multiple 35 hr cycles of
> building and testing.

35h !

But why ? you build on an esp32 ?

Neil

> 
> _______________________________________________
> linux-amlogic mailing list
> linux-amlogic at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-amlogic




More information about the linux-amlogic mailing list