peterm6881 has joined #Speedsaver
<peterm6881> greetings earthling
<peterm6881> Xogium, are you there?
<peterm6881> ok guys so myself and sc6502 would like to understand the process of updating the kernel in our Lichee Zero repository
sc6502 has quit [Remote host closed the connection]
<peterm6881> No problem keeping Buildroot up to date, currently 2022.02.4
sc6502 has joined #Speedsaver
<Xogium> now here
<peterm6881> And we had previously decided, as a matter of policy, that we would follow BR LTS, and update to stable kernel at the same time
<peterm6881> key Xogium
<peterm6881> hi sc6502
<peterm6881> hey
<peterm6881> even
<Xogium> so you need 2 things
<peterm6881> kernel is currently 5.18.11, we are due to upgrade to 5.18.16, current stable release
<Xogium> how to update the buildroot release you use and how to update the kernel
<Xogium> the first one is rarely needed, should only possibly be required if you migrate to a new major release, ie: 2023.02, and if some of the config settings you use have changed
<peterm6881> downloading a new BR directory is no problem, since I clone the speedsaver git externally to the br directory
<Xogium> yes but if the new br has options you are using that have now been moved to legacy config, you need to adjust the speedsaver defconfig and push this to github also
<peterm6881> the problem I will have is when it breaks :). As you know we are following LTS releases
<peterm6881> ahh yes, I remember that legacy warning
<Xogium> which is why I was saying yesterday that its not just enough to modify the local files, you have to use git diff, git commit, and learn how git works in order to be able to do a good commit with the files you want to add
<Xogium> git diff to check what the tweaks you made are, git add to add a file, git commit to commit to your own local copy of the repo
<peterm6881> we just need to run make menuconfig and deselect the legacy items, right?
<peterm6881> anyway i'll shut up now
<Xogium> generally yes, its just a matter of ding this
<Xogium> *doing
<Xogium> the menuconfig will also guide you trhough everything
<Xogium> so on that part it is fine, what interest you is the pushing to github part
<peterm6881> for now I'll let you discuss with sc6502 and I'll try to follow :)
<Xogium> as for the kernel, you simply need to do a couple of things to have a local version upgrade, not pushed to github yet mind you
<Xogium> that would be
<Xogium> make menuconfig
<Xogium> then go in linux kernel menu
<Xogium> change the version number
<Xogium> exit menuconfig and ask it to save
<Xogium> make update-defconfig
<peterm6881> let me do that now
<Xogium> then once you did that, you can try a build just the way you would do it if I had done a git push and you did a git pull, with a modification to the speedsaver defconfig
<Xogium> as for git, if you're curious, I'd honestly recommend this book to really learn it well
<Speedsaver> Title: Git - Book (at git-scm.com)
<peterm6881> there is nothing selected in the linux kernel menu
<peterm6881> [ ] Linux Kernel
<peterm6881> I think its must be a sub menu elsewhere
<Xogium> huh..
<Xogium> did you maybe start from an empty git clone ? Or..
<Xogium> hmm
<Xogium> I think you ran the menuconfig in the wrong place, sorry I should have been more specific. You must run it in the build directory
<Xogium> that is, the same directory where there's build, host, per-package, images.. Directories
<peterm6881> yeah im running it in /home/peter/buildroot-2022.02.4
<Xogium> your .config file is actually in there, the one generated by the make speedsaver_defconfig. It's hidden
<peterm6881> where should i run it from, if not /home/peter/buildroot-2022.02.4
<Xogium> well.. where's your image for the sd card stored ?
<Xogium> you go in that directory, minus the images subdir
<peterm6881> ahh understood
<peterm6881> wait
<peterm6881> sc6502 rang in sick
<peterm6881> for me its /home/peter/buildroot-2022.02.4/output/speedsaver
<Xogium> ah alright
<peterm6881> yeah i see 5.18.11 now, nice
<peterm6881> i dont know how to edit it, you cant delete or backspace, you can only add digits
<peterm6881> thats a bit, shit
<peterm6881> i can have 5.18.161
<peterm6881> how do youi edit the stupid thing
<Xogium> huh.. backspace should definitely work
<Xogium> you might need to move the cursorr to the end with the arrows or the end key though ?
<Xogium> *cursor
<peterm6881> when you select the kernel version, the cursor i automatically placed at the end, just after the last digit, in this case, 1. But backspace does precisely nothing
<Xogium> hum, that's... weird as hell
<Xogium> I've never encountered this before, I must say
<Xogium> maybe your terminal is a bit buggy and doesn't send the proper sequence in menuconfig when you press backspace ?
<peterm6881> yeah i can move the cursor anywhere and add any digits I like, but i cant delete whats already there
<Xogium> strangeness
<Xogium> can you try this in pure console instead of with a gui terminal ?
<peterm6881> dunno, its qterminal
<peterm6881> what do you use?
<Xogium> pure tty
<Xogium> not a graphical one, that is
<peterm6881> i can try, wait
<Xogium> you can exit menuconfig by pressing enter on that field, then pressing escape twice as many times as necessary to exit menuconfig, it will ask you if you want to save, just say no for now
<peterm6881> you were bang on, its was a gui issue
<peterm6881> pure console worked perfectly
<peterm6881> sweet
<peterm6881> good work Xogium
<peterm6881> it *
<peterm6881> make distclean from /home/peter/buildroot-2022.02.4/output/speedsaver
<Xogium> sorry I broke a glass
<peterm6881> right?
<peterm6881> greek wedding at your place?
<Xogium> yeah same steps as if you were building with an updated defconfig.. which you actually do
<peterm6881> okie dokie
<peterm6881> yeah this will be great, at least I can test lts br and stabble kernel, and the only thing left would be to work out how to push it
<peterm6881> stable
<peterm6881> configuration written to /home/peter/buildroot-2022.02.4/output/speedsaver/.config
<peterm6881> what fun
<peterm6881> building now
<Xogium> lol I did the conversion to opus for the sound files for my watch
<Xogium> the wav data took 4.5 mb
<Xogium> the opus files at 13kbps, which is 1.6 kbyte/s... Take a mere 37 kbytes
<peterm6881> let me know if theres anything i can do to help
<peterm6881> ive never heard of opus files
<Xogium> yeah actually... what's that mess with the u7 or u8 gps ?
<Speedsaver> Title: Opus (audio format) - Wikipedia (at en.wikipedia.org)
<peterm6881> u8 is better than u7, unsurprisingly :)
<peterm6881> u8 uses concurrent reception of up to 3 GNSS (GPS, Galileo, GLONASS, BeiDou)
<Xogium> I see
<Xogium> u7 has only gps ?
<peterm6881> NEO-7 series is an older generation product. For new designs see:
<peterm6881> NEO-M9N module
<peterm6881> NEO-M9N module
<peterm6881> u7 can support GPS or GLONASS, the Russian constellation, but not concurrently
<peterm6881> its just old now, I get that the board manufacturer has them in stock, and yes, thats useful to the point of essential
<Xogium> I see
<Xogium> be back, dinner
<peterm6881> To update kernel locally (before pushing):
<peterm6881> cd buildroot-2022.02.4/output/speedsaver
<peterm6881> OPEN A PURE CONSOLE (Ctrl+Alt F2 and log in as Peter)
<peterm6881> make menuconfig
<peterm6881> edit kernel version to current Stable version from kernel.org
<peterm6881> Follow steps as per git pull above
<peterm6881> Opus looks great, why do I not know about this...
<peterm6881> last stable release 1.3.1 / April 12, 2019; 3 years ago
<peterm6881> i guess they made it perfect ;)
<peterm6881> good news, no issues with 5.18.16, software and audio working as expected
<peterm6881> satisfying
<peterm6881> this means I can pre test buildroot and kernel, and all that remains is to commit the changes, unless either breaks !
<peterm6881> which is kinda the point, so we can keep up to date with both
peterm6881 has quit [Remote host closed the connection]