peterm6881 has joined #Speedsaver
peterm6881 has quit [Quit: Leaving]
peterm6881 has joined #Speedsaver
peterm6881 has quit [Quit: Leaving]
peterm6881 has joined #Speedsaver
peterm6881 has quit [Client Quit]
peterm6881 has joined #Speedsaver
<peterm6881> hey Xogium
<peterm6881> i worked out how to handle the requirement Buildroot has to identify yourself in IRC every time
<peterm6881> I just added /msg NickServ IDENTIFY password  to "Connect Commands"
<Xogium> hmm, fancy
<peterm6881> lol
peterm6881 has quit [Remote host closed the connection]
peterm6881 has joined #Speedsaver
<peterm6881> what was the patch we submitted for the Lichee Zero?
<peterm6881> I forget
<Xogium> the u-boot version bump
<peterm6881> ahh yeah
<peterm6881> could you share me your current image?
<Xogium> yes, just a sec
<peterm6881> I asked the question in the Buildroot channel. Hopefully i worded it sanely
<Xogium> I'll just build it again for you, I had forgotten to add the map in there lol
<peterm6881> :)
<peterm6881> does it have usb otg?
<peterm6881> just wondering if I need to rig up serial gps too
<Xogium> hmm you might need to set up serial gps. I've not checked the otg, must admit
<peterm6881> as you wih
<peterm6881> wish
<Xogium> sent you the link
<peterm6881> thanks Xogium
<Xogium> no problem
<Xogium> does speedsaver at least has a visual indicator that you're going over the speed limit, since audio is broken right now ?
<peterm6881> hm....Google isnt letting me into my email, can you dm me the link here?
<Xogium> huh ?
<Xogium> I sent the link over facebook, why would you need email ?
<peterm6881> FB is on my phone, to get it onto the NEC I email it to myself
<Xogium> ah
<Xogium> can do that then, sec
<peterm6881> its ok, im in now
<peterm6881> sry
<peterm6881> Firefox update , just needed to restart Firefox
<Xogium> I hate how firefox is forcing the update on you
<peterm6881> ksorry im getting a kernel panic with that image
<peterm6881> [ 1.331238] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,3)
<peterm6881> few more messages, then it reboots
<peterm6881> burning again using a different reader
<Xogium> sounds like a failing card or reader again
<peterm6881> yeah something wasnt right, it worked that time, sorry for the false alarm
<Xogium> sigh. Unbranded cards do suck
<peterm6881> actually that one is Kingston. But yeah, sooner we get away from cards the better
<Xogium> hah, kingston. Yeah I'm not surprised
<Xogium> if they swap things in their eMMC, presumably they do the same with their micro sd. And not only that, the firmware running on those is crap
<peterm6881> are you watching the Eurovision Song Contest tonight?
<Xogium> nah, we don't have tv for one and also I wasn't even aware there was such a thing, let alone that it was tonight lol
<peterm6881> PRETTY_NAME="Buildroot 2022.02.1"
<peterm6881> # uname -r
<peterm6881> 5.17.3
<peterm6881> good work Xogium
<peterm6881> display working, now for GNSS
<Xogium> yeah lets see that
<peterm6881> UART1?
<peterm6881> bridge is currently connected to uart0
<Xogium> yeah hmm
<Xogium> uart1 should be gps
<Xogium> is the gps that square thing on my board ?
<peterm6881> yes, thats the patch antenna
<peterm6881> the chip is underneath
<Xogium> cool
<Xogium> I took a picture of it to show to John, he was impressed
<Xogium> said you had very good prototyping skills, all hand soldered on a perfboard
<peterm6881> :)
<Xogium> he asked me too, what the hell is that dangling wire
<peterm6881> I was too hard on John yesterday. I feel bad about that. He made a very significant contribution
<Xogium> reset line lol
<peterm6881> :)
<peterm6881> crude but effective
<Xogium> definitely
<peterm6881> do you have an app on your phone that tells you exactly where you are?
<Xogium> when I touched it for the first time I was like, oh great that came off... It really felt like that, had a bit of naked wiring showing through and everything
<Xogium> how do you mean ?
<peterm6881> hehe, im glad it works for you, I wasnt sure about that
<Xogium> yep the reset line definitely works
<peterm6881> but i knew you would need rst
<peterm6881> your smart phone has gps
<peterm6881> back
<Xogium> front
<Xogium> sorry, that one was just too tempting
<peterm6881> haha
<Speedsaver`> Title: [PATCH 9/9] ARM: dts: sun8i: enable audio on Lichee Pi Zero Dock (at lists.infradead.org)
<peterm6881> i seem to remember we talked about this, you reckoned that patch got missed in the kernel
<Xogium> yes, except that I added it myself
<peterm6881> ah ok
<peterm6881> i guess the only thing i can do is wait for an answer from BR irc
<peterm6881> yeah i do remember you implement something based on that patch
<Xogium> I don't think they could help us in buildroot given that mainline linux as used in the defconfig of the lichee is so old that there is no audio up there anyway
<peterm6881> any suggestions what I might try to move things along? Who do I need to talk to
<peterm6881> or is it fatal
<Xogium> I don't know
<peterm6881> Looks like Martin Ayotte may have found the fix, to the problem identified by someone else as "It looks like in the DTBs I was reviewing that the analog codec seems to want to use similar pins as the ethernet adapter"
<peterm6881> Right, they must be changed to 0xa8
<Speedsaver`> Title: Lichee Pi zero - Page 3 - Off-topic - armbian forum (at forum.armbian.com)
<Xogium> so, that explains why this shit was never merged
<peterm6881> does this make sense to you?
<peterm6881> the edit to 0xa8
<Xogium> I've no idea
<Xogium> if its the correct pins though maybe it'll work
<peterm6881> thats what i meant, do you know where that edit needs to be made?
<peterm6881> not why its needed lol
<peterm6881> just WHERE
<Speedsaver`> Title: Add support for the audio codec on Allwinner V3s [LWN.net] (at lwn.net)
<peterm6881> this is later patches from icenowy, May 2017, as opposed to her initial work in February 2017
<peterm6881> before she vanished
<peterm6881> maybe she criticised the CCP
<Xogium> well whatever it is, it wasn't something I did
<Xogium> this is something that was officially done in linux, which makes audio not work
<peterm6881> its worth reading that page from that forum thread, they definitely seemed to fix that exact problem we have
<peterm6881> are you ok? you've been working rather hard on this stuff
<peterm6881> once we have gps and audio, there will be hardly anything for you to do except publish on gh
<peterm6881> just update housekeeping.
<Xogium> the armbian forum post doesn't relfect what was added in mainline linux either
<Xogium> the dma stuff with that value they mentionned isn't the same in mainline
<Xogium> so I'm guessing they were not using mainline back in 2019
<peterm6881> hmm....
<Xogium> I mean, we got the sound codec driver enabled in the kernel, we've got the codec enabled and properly configured in the device tree
<Xogium> I don't know what else I'm supposed to do
<peterm6881> anyway first things first, spawning sorted?
<Xogium> yeah
<peterm6881> nice
<Xogium> literally everything appears to work now, audio aside
<peterm6881> :)
<peterm6881> exciting times
<Xogium> well, if we can't solve the audio stuff, not so much
<peterm6881> the question is who to ask
<Xogium> no idea
<peterm6881> maybe Martin Ayotte
<Xogium> if you want to download the image I made, you can do it with the same link as earlier
<peterm6881> thanks Xogium
<peterm6881> can you try it
<Xogium> try what ?
<peterm6881> the image. I still cant get anything coming off the gps
<Xogium> I mean it can't be ttyS1
<Xogium> we're logged on it
<peterm6881> i know this module was working, I did side by side testing with it on the mangopi
<Xogium> gpsd took it without a complain, but I guess its dumbly assuming you have a gps connected there
<peterm6881> is ttyS2 enabled?
<Xogium> no, uart2 is off
<peterm6881> id like to get to right to fuck away from ttyS0 and ttyS1
<peterm6881> on the grounds its bullshit
<Xogium> its just not a stable device node, as any other device node are
<peterm6881> yeah but there's some conflict there
<Xogium> how so ?
<peterm6881> every fucking thing tries to talk on those ports
<peterm6881> even systemd
<Xogium> yes but that's because buildroot had it configured to do that
<Xogium> I disabled this
<Xogium> I have nothing on ttyS0, nothing on ttyS2
<Xogium> I added all the serial ports in gpsd config except ttyS1
<Xogium> lets try
<Xogium> gpsd:ERROR: Too many devices on command line.
<Xogium> ... of course
<Xogium> sigh
<Xogium> okay, plan b
<Xogium> lets assume for one second that kernel is lacking the gps driver
<Xogium> that would do it
<peterm6881> sigh....
<Xogium> often the simplest things are the ones we don't think about first
<Xogium> ... bingo. Gnss receiver support is entirely disabled in the kernel
<peterm6881> wtf
<peterm6881> isnt this mainline?
<Xogium> yes, it is, but the sunxi_defconfig does not enable gnss receiver by default
<peterm6881> how come we didnt hit this problem before, with OPi0 and Mangopi?
<Xogium> mangopi just happened to have it enabled in the kernel config they gave us
<peterm6881> and OPi0?
<Xogium> as for orange pi, I probably enabled it a long while back
<peterm6881> aha so you can fix it?
<peterm6881> where would I be without you.......
<Xogium> sure, its just a setting I have to enable in the kernel menuconfig
<peterm6881> lol just like that, madness :)
<Xogium> simplest things, as I said
<peterm6881> well done Xogium
<Xogium> man those parasitic noises are annoying
<Xogium> mine is constantly making an almost beeping sound
<Xogium> first time I hear such noise from an amp, mind you
<Xogium> even the opi didn't make that horrible noise
<peterm6881> hmm... I should have anticipated that might be annoying , i could have given you a shutdown wire for the amplifier
<Xogium> I'll just keep my headphones on while I work with it lol
<peterm6881> are you running a build? I need to order food for everubody
<Xogium> yeah
<Xogium> the link should hopefully stay the same though
<Xogium> going out in about 20 minutes or so for dinner
<Xogium> by the time I'll be gone the new image will be uploaded
<peterm6881> I typed a load of stuff in the Armbian IRC channel that was meant for you :)
<peterm6881> hehe
<peterm6881> all right ill test it later, although might be in the morning
peterm6881 has quit [Remote host closed the connection]
peterm6881 has joined #Speedsaver