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 - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
vagrantc has quit [Quit: leaving]
ballerburg9005 has quit [Ping timeout: 240 seconds]
ballerburg9005 has joined #linux-amlogic
kaspter has joined #linux-amlogic
<chewitt> narmstrong I haven't seen this before http://ix.io/2WO4
<chewitt> "meson_clk_pll_set_rate: pll did not lock, trying to restore old rate 6000000000"
buzzmarshall has quit [Remote host closed the connection]
<chewitt> "spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00"
<chewitt> ^ spi was working before with patches in my tree
<chewitt> urgh..
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-amlogic
xdarklight has quit [Ping timeout: 245 seconds]
xdarklight_ has joined #linux-amlogic
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-amlogic
Ashleee has quit [Ping timeout: 245 seconds]
camus has joined #linux-amlogic
kaspter has quit [Ping timeout: 245 seconds]
camus is now known as kaspter
Tony_mac32 has quit [Read error: Connection reset by peer]
<narmstrong> kettenis: interesting on C4, I get:
<narmstrong> No ethernet found.
<narmstrong> Net: Could not get PHY for mdio@0: addr 0
<narmstrong> and no lock
<narmstrong> and yeah if I run the hc4 u-boot on c4, I get the same lockup
<narmstrong> ok reset delays are not taken in account, udelay(-10174464) can't really work well
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-amlogic
<chewitt> the same ethmac node is in the C4 -u-boot.dtsi file, which should solve the Net issue
<narmstrong> no, they must remain otherwise the PHY fails on reboot, I fixed the bug instead !
<chewitt> ahh, just seen
<chewitt> narmstrong this is what I see on reboot https://pastebin.com/raw/exLAPhMK
<narmstrong> Haven’t we already fixed that already ?
<chewitt> that's what I thought
<narmstrong> chewitt: is this on HC4 or C4 ?
<chewitt> HC4
<narmstrong> I think you use the wrong DT, HC4 doesn't have a SPI nor flash
<narmstrong> hmm
JerryXiao has quit [Ping timeout: 246 seconds]
<chewitt> when I added the patches to my 5.11.y tree, it was working
<chewitt> but, I didn't boot HC4 for a while so not sure when it stopped working
JerryXiao has joined #linux-amlogic
<chewitt> HC4 does have SPI-NOR, it's how HK infest the device with petitboot (which doesn't support extlinux.conf booting)
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
<chewitt> other errors I see are:
<chewitt> [ 1.161354] meson-pcie fc000000.pcie: invalid resource
<chewitt> [ 1.202808] meson-pcie fc000000.pcie: error: wait linkup timeout
<chewitt> but possibly just early probing
ldevulder has quit [Ping timeout: 252 seconds]
<chewitt> dmesg http://ix.io/2WPP
Barada has joined #linux-amlogic
Barada has quit [Quit: Barada]
kaspter has quit [Ping timeout: 245 seconds]
kaspter has joined #linux-amlogic
<kettenis> narmstrong: yes, I got that too
<kettenis> did the bisection using the odroid-c4 target running on the hc4
<kettenis> chewitt: now that I have fixed OpenBSD to match on the "amlogic,meson-sm1-mmc" I see issues with reboot as well
<chewitt> ahh, good :)
<chewitt> I hate being the odd one out when it comes to bugs
<kettenis> sdio read data fail
<kettenis> reset...
<chewitt> I am also chasing a possible regression with SDIO wifi
<chewitt> reverting "mmc: meson-gx: check for scatterlist size alignment in block mode" partially resolved some issues I was seeing
<chewitt> an S905X2 device that refused to boot with that commit, now boots (although then has further issues I can't see, I need to get uart pins attached)
<chewitt> mentioning that because .. SDIO is in the HC4 error message
<kettenis> that is probably just an inaccurate message
<kettenis> the amount of rubbish that the early boot stages print is somewhat astounding
<chewitt> no comment :)
<kettenis> anyway I thought this issue was fixed by using the open-drain config for the TFLASH_VDD' regulator
<chewitt> I spun an image for C4 using the same sources .. and I have no reboot issue
<kettenis> hmm, so maybe C4 needs open drain and HC4 doesn't?
<chewitt> easy to test
sputnik_ has quit [Ping timeout: 268 seconds]
<narmstrong> Maybe HC4 has a different reboot issue
<kettenis> no, changing it back the active high makes the issue worse
<chewitt> I end up at SM1:BL:511f6b:81ca2f
<kettenis> same here (although it prints some more cryptic information after that)
<kettenis> sd/emmc cmd 18 arg 0x000001e1 status 01f2200f
<kettenis> that seems to be the command that fails
<kettenis> (printed by one of the early boot stages)
<kettenis> for me it doesn't always happen
<chewitt> looks like I won't be testing SD cards any further with C4
<chewitt> I attached power .. nice puff of smoke from the PCB
<chewitt> it partially boots from an emmc module
plntyk has quit [Quit: Leaving]
ballerburg9005 has quit [Ping timeout: 246 seconds]
kaspter has quit [Ping timeout: 246 seconds]
<narmstrong> nice !
kaspter has joined #linux-amlogic
<chewitt> [ 1.546444] mmc0: error -22 whilst initialising SDIO card
<chewitt> seems to have popped a chip related to SDIO
<chewitt> it works, apart from relentlessly spamming the log with voltage failure messages :)
buzzmarshall has joined #linux-amlogic
camus has joined #linux-amlogic
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
Anessen97_0 has quit [Ping timeout: 268 seconds]
ldevulder_ is now known as ldevulder
sputnik_ has joined #linux-amlogic
vagrantc has joined #linux-amlogic
kaspter has quit [Quit: kaspter]
sputnik_ has quit [Ping timeout: 240 seconds]
kettenis has quit [Ping timeout: 240 seconds]
Ashleee has joined #linux-amlogic
ballerburg9005 has joined #linux-amlogic
ballerburg9005 has quit [Client Quit]
ballerburg9005 has joined #linux-amlogic
cmeerw has joined #linux-amlogic
kettenis1 has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
cmeerw has quit [Ping timeout: 245 seconds]
Anessen97_0 has joined #linux-amlogic
buzzmarshall has quit [Quit: Leaving]
zkrx has quit [Ping timeout: 246 seconds]
zkrx has joined #linux-amlogic