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
naoki has joined #linux-amlogic
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 268 seconds]
vagrantc has quit [Quit: leaving]
camus has joined #linux-amlogic
jacobk has joined #linux-amlogic
CounterPillow has quit [K-Lined]
jacobk has quit [Ping timeout: 260 seconds]
hexdump0815 has quit [Ping timeout: 256 seconds]
hexdump0815 has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
jacobk has joined #linux-amlogic
JohnnyonFlame has quit [Read error: Connection reset by peer]
djrscally has joined #linux-amlogic
vkoskiv has quit [Ping timeout: 255 seconds]
vkoskiv has joined #linux-amlogic
ungeskriptet6 has joined #linux-amlogic
ungeskriptet has quit [Ping timeout: 255 seconds]
ungeskriptet6 is now known as ungeskriptet
mripard has joined #linux-amlogic
ungeskriptet has quit [Ping timeout: 255 seconds]
ungeskriptet has joined #linux-amlogic
ungeskriptet has quit [Ping timeout: 252 seconds]
psydroid2 has joined #linux-amlogic
Terry13732293409 has quit [Quit: Bye Bye]
Terry13732293409 has joined #linux-amlogic
camus has quit [Quit: camus]
camus has joined #linux-amlogic
<xdarklight> minute: I've been busy with my offline life for a long time but I just sent https://lore.kernel.org/linux-wireless/20231120115726.1569323-1-martin.blumenstingl@googlemail.com/T/#u - you have a similar-ish patch in your tree and been testing this for a while. could you please give your Tested-by ?
<minute> xdarklight: ok, will test! btw according to my own tests and user reports the bandwidth we get is quite low, around 20mbps
naoki has quit [Quit: naoki]
<xdarklight> minute: depending on the direction (RX or TX) this matches with what I've seen
<xdarklight> see https://lore.kernel.org/linux-wireless/20230405200729.632435-1-martin.blumenstingl@googlemail.com/ where I say: "TX throughput on a 5GHz network is between 50 Mbit/s and 90 Mbit/s" and "RX throughput on a 5GHz network is at 19 Mbit/s"
buzzmarshall has joined #linux-amlogic
rockosov has joined #linux-amlogic
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #linux-amlogic
vagrantc has joined #linux-amlogic
adamg_ has joined #linux-amlogic
<f_> hi
ungeskriptet has joined #linux-amlogic
<f_> xdarklight: so as said yesterday that hack with the pinmux seems to "work"
<f_> >mmc_load_image_raw_sector: mmc block read error
<f_> This time I get a different error.
<f_> oh
<f_> CMD_SEND:8 [452/1972]
<f_> ARG 0x000001aa
<f_> RET -110
<f_> CMD_SEND:55
<f_> ARG 0x00000000
<f_> RET -110
<f_> CMD8 and CMD55 both timeout?
<f_> wait..wait..
<minute> xdarklight: exactly, 20mbit on 5ghz rx
<f_> I asked #u-boot to see if there's a minified pinctrl driver..
* f_ is now the proud owner of 2 cottonwood boards.
<f_> I *just* got the boards.
f_[xmpp] has quit [Ping timeout: 276 seconds]
<f_> lvrp16: I like the new design of the eMMC modules too
<f_> Makes me less afraid of breaking the connectors.
vagrantc has quit [Quit: leaving]
f_[xmpp] has joined #linux-amlogic
<f_> And they came with heatsinks too, nice.
f_[xmpp] has quit [Ping timeout: 260 seconds]
<xdarklight> f_: is either of these errors ("mmc block read error" or -ETIMEDOUT) reproducible? also what does "[452/1972]" mean?
<f_> That [452/1972] is tmux :P
<f_> and both errors are reproducible.
<xdarklight> ah
<f_> lvrp16: BTW where's UART?
<xdarklight> f_: maybe we're looking in the wrong place. https://git.vitali64.duckdns.org/misc/reversing-gxbb-bl2.git/tree/gxl/bl2.c#n528 clear bit 28 (strange, we're missing bit 29...). but that function enables NAND. it's called from https://git.vitali64.duckdns.org/misc/reversing-gxbb-bl2.git/tree/gxl/bl2.c#n824 - can you check which boot device the bootrom writes to the GX_AO_SEC_GP_CFG0 register (it should be 0x1 - which means: eMMC)?
<xdarklight> ah wait, I'm looking at the bl2 code while I should be looking at the bootrom code (I think)
<f_> xdarklight: Yup, it's 0x1
<f_> in spl.c I actually check for that
<f_> Oh I should rename uVar1 to boot_device, I completly overlooked storage_load because it wasn't very interesting
<xdarklight> I'm seeing that https://git.vitali64.duckdns.org/misc/reversing-gxbb-bl2.git/tree/gxl/bl2.c#n528 also changes the pull (up/down and enabling of the internal resistors) settings for pins
<f_> lvrp16: found it.
<xdarklight> I need to do some housekeeping, then eat dinner and so a bit more for $daytime_job. I'll see if I can come up with a few more ideas later
<f_> Sure
<xdarklight> minute: I need to ask Ping-Ke about it at some point. it's especially strange since TX is much faster in my case (and TX is the "non-optimized" code-path: for RX we enable RX aggregation - for TX there's also TX aggregation but we don't support it yet)
<minute> xdarklight: interesting
<narmstrong> hmm, note on the a311d it runs on the "broken" mmc controller, meaning the performance will be limited because of an HW bug
JohnnyonFlame has joined #linux-amlogic
<xdarklight> narmstrong: my RTL8822CS board is using an SM1 (S905X3) SoC, so it's not affected by the A311D SDIO controller DMA
<xdarklight> narmstrong: for sure, "copy from/to SRAM" will affect performance - but it's not clear (to me) how much
jacobk has quit [Ping timeout: 255 seconds]
<lvrp16> f_: we color code the UART, black white green except on La Frite. ground is always towards the edge of the board
<f_> lvrp16: yeah found it
<lvrp16> it's still huge since each of those ddrfw components is 64K...
<lvrp16> and they're all required it seems
<f_> "all required" No doubt amlogic just hardcoded that
<f_> Let's just hope g12b and sm1 boot SPL someday :)
jacobk has joined #linux-amlogic
<f_> But I don't think all of them are required at all..just that bl2 hardcodes stuff
<f_> and a lot of these fw binaries end up unused
<f_> (still have to confirm)
<f_> and aml_ddr.fw isn't actually dram firmware anyway (targets AArch64)
<f_> (they split the thing)
<f_> lvrp16: oh also noticed that BL2Z wasn't present \o/
<f_> Still curious about what it really does.
<lvrp16> there's a ton of of unused code paths in these things for various vendors
<f_> No doubt about that lol
<minute> woops, wrong window
jacobk has quit [Ping timeout: 268 seconds]
jacobk has joined #linux-amlogic
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Terry13732293409 has quit [Quit: Ping timeout (120 seconds)]
Terry13732293409 has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
adamg_ has quit [Quit: Connection closed for inactivity]
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 268 seconds]