* AML-S905X-CC-V2 emmc issue
@ 2025-04-29 18:59 Jeff Sacksteder
2025-04-30 11:22 ` Ferass El Hafidi
2025-04-30 12:03 ` neil.armstrong
0 siblings, 2 replies; 4+ messages in thread
From: Jeff Sacksteder @ 2025-04-29 18:59 UTC (permalink / raw)
To: linux-amlogic
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.
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.
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AML-S905X-CC-V2 emmc issue
2025-04-29 18:59 AML-S905X-CC-V2 emmc issue Jeff Sacksteder
@ 2025-04-30 11:22 ` Ferass El Hafidi
2025-04-30 12:03 ` neil.armstrong
1 sibling, 0 replies; 4+ messages in thread
From: Ferass El Hafidi @ 2025-04-30 11:22 UTC (permalink / raw)
To: Jeff Sacksteder, linux-amlogic
Hi,
On Tue Apr 29, 2025 at 6:59 PM UTC, 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.
>
> 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.
Last time I tried Alpine's linux-edge kernel (was on an S905 board), my SD
card was not being detected correctly either. I also suspect missing
things in the kernel's config. For reference, this is the kconfig
postmarketOS uses:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/blob/4c0787f38f74a089f1140f85ba980da91fc48016/device/testing/linux-postmarketos-amlogic/config-postmarketos-amlogic.aarch64
No patches are required to get the module working.
When I tested it, the eMMC module works perfectly fine on all my Libre
Computer boards (alta, solitude, lepotato, lafrite). I've no doubt it
should work on sweetpotato as well.
Cheers.
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AML-S905X-CC-V2 emmc issue
2025-04-29 18:59 AML-S905X-CC-V2 emmc issue Jeff Sacksteder
2025-04-30 11:22 ` Ferass El Hafidi
@ 2025-04-30 12:03 ` neil.armstrong
2025-04-30 12:09 ` Ferass El Hafidi
1 sibling, 1 reply; 4+ messages in thread
From: neil.armstrong @ 2025-04-30 12:03 UTC (permalink / raw)
To: Jeff Sacksteder, linux-amlogic
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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-amlogic
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AML-S905X-CC-V2 emmc issue
2025-04-30 12:03 ` neil.armstrong
@ 2025-04-30 12:09 ` Ferass El Hafidi
0 siblings, 0 replies; 4+ messages in thread
From: Ferass El Hafidi @ 2025-04-30 12:09 UTC (permalink / raw)
To: neil.armstrong, Jeff Sacksteder, linux-amlogic
On Wed Apr 30, 2025 at 12:03 PM UTC, neil.armstrong wrote:
>>
>> 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 ?
My i7 CPU from 2011 doesn't build for that long!
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-04-30 12:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-29 18:59 AML-S905X-CC-V2 emmc issue Jeff Sacksteder
2025-04-30 11:22 ` Ferass El Hafidi
2025-04-30 12:03 ` neil.armstrong
2025-04-30 12:09 ` Ferass El Hafidi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®