narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
Daanct12 has joined #linux-amlogic
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
buzzmarshall has quit [Quit: Konversation terminated!]
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-amlogic
Terry13732293409 has quit [Quit: Bye Bye]
Terry13732293409 has joined #linux-amlogic
naoki has joined #linux-amlogic
naoki has quit [Quit: naoki]
knuxify has quit [Read error: Connection reset by peer]
knuxify has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
jacobk has joined #linux-amlogic
Daanct12 has quit [Quit: WeeChat 4.4.2]
naoki has joined #linux-amlogic
naoki has quit [Client Quit]
glaroque has quit [Quit: Connection closed for inactivity]
jacobk has quit [Ping timeout: 260 seconds]
jacobk_ has joined #linux-amlogic
psydroid has joined #linux-amlogic
jacobk_ has quit [Ping timeout: 248 seconds]
luka177 has quit [Ping timeout: 245 seconds]
psydroid has quit [Remote host closed the connection]
psydroid has joined #linux-amlogic
psydroid has quit [Ping timeout: 248 seconds]
psydroid has joined #linux-amlogic
<f_> hello! Has anyone seen this before? > [ 124.444863] mmc0: error -110 whilst initialising SD card
<f_> This is a 128 GB SanDisk card, trying to get recognised by an S905 KII Pro box.
<f_> On kernel 6.10.8
<f_> It's an SD card I'm trying to boot from. U-Boot SPL (my branch), u-boot, and amlogic BL2 recognise it fine, just linux doesn't like it
<f_> and because the card isn't being recognised postmarketOS cannot fully boot, so the pmOS initramfs goes into a debug shell
<f_> ~ # ls /dev/mmcblk*
<f_> ~ # ls /dev/mmcblk*
<f_> /dev/mmcblk1 /dev/mmcblk1boot0 /dev/mmcblk1boot1 /dev/mmcblk1rpmb
<f_> ^ and as seen above only the eMMC is recognised
<narmstrong> I think those are quite problematic, seems minute reported the same
<narmstrong> Somehow could you provide a ftrace of the mmc transactions ? So I open a ticket with it
<narmstrong> Does it also fail on uboot ?
<f_> narmstrong: U-Boot, my branch of U-Boot w/ SPL, and bl2.bin all recognise it fine
<f_> What's slightly awkward is my other card has the exact opposite symptoms on that S905 board, haha. BootROM doesn't recognise it, but the rest happily boot from it
<f_> Ok what's even weirder is my gxl board, lepotato, recognises that exact same card just fine...
<f_> which is weird because IIRC gxbb MMC and gxl MMC are identical...
<f_> So I'm not excluding the possibility that my S905 board's SD card reader is broken or something similar.
<lvrp16> Yeah each SoC seem to have different issues. A311D works, S905D3 problematic.
<f_> love that!
<f_> but yeah like I said the S905 bootROM did not like the other, different SD card from another manufacturer I have
<f_> that different card is 2 GB Samsung SD card
<f_> and once again it works on the lepotato
<f_> good thing pmOS enters a debug shell so I can have a look at what's going on
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 276 seconds]
naoki has joined #linux-amlogic
<f_> ok, sorry it took so long:
<f_> narmstrong: ^
<narmstrong> Thx
naoki has quit [Quit: naoki]
<xdarklight> f_: KII Pro inherits meson-gxbb-p20x.dtsi - try removing the sd-uhs-* properties from &sd_emmc_b (those use 1.8V signal voltages which requires an additional voltage regulator on the board - if that's not present switching to UHS modes will fail IIRC)
<xdarklight> f_: I don't know if u-boot supports or uses the UHS modes. if it stays at the default speed or just uses high-speed (high-speed != UHS) then that may explain why it works in u-boot
jacobk has joined #linux-amlogic
psydroid has quit [Read error: Connection reset by peer]
<f_[x]> xdarklight: well that's I think the first SD card that fails to get recognised IIRC
<f_[x]> But I'll try that
vagrantc has joined #linux-amlogic
naoki has joined #linux-amlogic