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
jacobk has quit [Ping timeout: 240 seconds]
Danct12 has joined #linux-amlogic
naoki has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 240 seconds]
hexdump0815 has quit [Ping timeout: 245 seconds]
hexdump0815 has joined #linux-amlogic
jacobk has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
mripard has joined #linux-amlogic
anessen973 has quit [Quit: The Lounge - https://thelounge.chat]
anessen9733 has joined #linux-amlogic
luka177 has quit [Ping timeout: 264 seconds]
luka177 has joined #linux-amlogic
<narmstrong> minute: did you set the GPIO_OPEN_DRAIN in both uboot and linux ?
naoki has quit [Quit: naoki]
<minute> narmstrong: i noticed after some more experimentation that i don't even have to set the gpio in uboot, if i disable ethernet there, and i can use the legacy reset (snps,...) in the driver, _but_ i have to reload all the drivers once. the first time the PHY is not detected. but then it works reliably
<minute> so it might be a sequencing issue among the drivers
<minute> it looks like maybe the mdio (at least mux) and mac drivers don't have a clear dependency in terms of when which is initialized?
<narmstrong> yep this is probable
Danct12 has quit [Ping timeout: 252 seconds]
gis has quit [Ping timeout: 245 seconds]
gis has joined #linux-amlogic
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
Danct12 has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
f_ has joined #linux-amlogic
amebag has joined #linux-amlogic
ungeskriptet has quit [Ping timeout: 245 seconds]
<amebag> hello *, i'm looking for an explanation for a strange behavior observed on the SPI interface. can someone point me in the right direction please?
<amebag> the behavior is that the spidev_test program shows me the expected RX results if i connect the MISO-MOSI with a jumper cable; but if i _remove_ the cable, then RX still shows some data, not only 00. agreed, the RX data is not the same as TX, the last 6 bytes seem to change randomly, but still: why is it not all zeros? where do those bits come from?
<amebag> context: i have successfully built a vanilla kernel 6.5.5 for my Odroid N2+ device, and managed to fix the device tree so that the /dev/spidev0.0 is now available. apart from the kernel, the os is a custom-built Debain Bullseye. (my precious.)
<amebag> test output with jumper cable:
<amebag> spi mode: 0x0
<amebag> root@odroid:/home/ameba# ./spidev_test -D /dev/spidev0.0 -v
<amebag> bits per word: 8
<amebag> max speed: 500000 Hz (500 kHz)
<amebag> TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D |......@.........................|
<amebag> RX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D |......@.........................|
<amebag> test output without jumper cable:
<amebag> spi mode: 0x0
<amebag> root@odroid:/home/ameba# ./spidev_test -D /dev/spidev0.0 -v
<amebag> bits per word: 8
<amebag> max speed: 500000 Hz (500 kHz)
<amebag> TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D |......@.........................|
<amebag> RX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FA A8 80 80 00 0D |......@.........................|
<amebag> thanks in advance.
ungeskriptet has joined #linux-amlogic
<f_> amebag: Please don't spam the channel with logs. Use a pastebin.
amebag has left #linux-amlogic [#linux-amlogic]
<f_> oh well
<f_> I'll update all gxbb defconfigs with the required SPL config
<f_> to ease testing
<f_> oh nice I broke support for gxbb
<f_> initcall sequence 000000000106b7d8 failed at call 000000000101ceac (err=-12)
<f_> I'll try `make clean` && `make`
<f_> but uh oh
<f_> (even with the last working HEAD it crashes..)
<f_> meson_gx_mmc and simple_bus failed to bind
<f_> errno ENOMEM ???
<f_> hmm happens with Amlogic BL2 too...
<f_> ^ narmstrong any idea what it could be?
<f_> Tested with an old build and it worked.
<f_> So that's not the board
<f_> Did some research and...
<f_> Perhaps MALLOC_F_LEN is too small?
<f_> It was that
<f_> but then SPL still fails to run SCP :/
<f_> CONFIG_DRAM_SIZE seems wrong to me. Gah.
<f_> Ah it works now lol
<f_> all right
<f_> my pmOS+XFCE install is still intact :P
vagrantc has joined #linux-amlogic
jacobk has quit [Ping timeout: 255 seconds]
hexdump0815 has quit [Quit: WeeChat 1.9.1]
hexdump0815 has joined #linux-amlogic
jacobk has joined #linux-amlogic
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
f_ has quit [Ping timeout: 245 seconds]
jacobk has quit [Ping timeout: 255 seconds]
anessen9733 has quit [Remote host closed the connection]
anessen9733 has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 255 seconds]
jacobk has joined #linux-amlogic
rockosov has quit [Ping timeout: 244 seconds]
rockosov has joined #linux-amlogic
jacobk has quit [Ping timeout: 240 seconds]
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 240 seconds]
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 248 seconds]
jacobk has joined #linux-amlogic
naoki has joined #linux-amlogic