2025-01-02 10:26:57 clandmeter: btw, I have not set up the CI for the riscv machine we replaced storage for 2025-01-02 10:27:18 so riscv64 CI is on reduced capacity 2025-01-02 10:30:42 Ok, not sure if i have time today. need to fix some other stuff at the house 2025-01-02 10:31:14 i also think i know how to fix the bootloader menu not showing up on serial 2025-01-02 10:49:52 clandmeter: you use grub? 2025-01-02 10:53:57 we want be able to use grub for the pioneer machines 2025-01-02 10:54:39 or let me put it this way: we want be able to build and update kernels for pioneer without needing to rebuild and update the boot loader(s) with erevery kernel update 2025-01-02 10:57:13 does it use u-boot 2025-01-02 10:57:44 iirc when I looked at it u-boot is in 'chain' there 2025-01-02 11:09:51 no 2025-01-02 11:10:32 well it may use uboot, but I don't know how, and i dont find much documenation for u-boot on pioneer/sg2042 2025-01-02 11:11:17 they use u-root, which basically is a linux kernel with nvme drivers that will kexec kernel from nvme 2025-01-02 11:11:29 or they use edk2 2025-01-02 11:11:34 which loads grub 2025-01-03 19:35:21 anyone of you use riscv64 as desktop? 2025-01-03 19:43:07 no 2025-01-03 19:43:23 still too slow compared to the i9 and macbooks 2025-01-03 19:46:41 I've built telegram-desktop on riscv64 and not sure should it be pushed to aports. it is slow to build 2025-01-04 22:12:49 anyone knows why linux-edge 6.12.8 is not built in 3.21-stable 2025-01-04 22:13:06 or is not uploaded 2025-01-06 07:44:08 which arch? 2025-01-06 07:44:49 it is built https://build.alpinelinux.org/buildlogs/build-3-21-aarch64/community/linux-edge/ 2025-01-06 07:45:15 it is uploaded https://dl-master.alpinelinux.org/alpine/v3.21/community/aarch64/linux-edge-6.12.8-r0.apk 2025-01-06 07:48:32 riscv64 2025-01-06 07:48:56 sorry, forgot to mention 2025-01-06 07:52:56 oh. not good :-/ 2025-01-06 08:02:02 seems like it hadnt built anything since 29 Dec 2025-01-06 08:02:11 same with build-3-20-riscv64 2025-01-06 08:02:19 thanks for the ping mps 2025-01-06 08:24:54 ncopa: there is an issue with that box 2025-01-06 08:25:05 when it boots it need manual fw rules 2025-01-06 08:25:17 i think this is what blocks the builds 2025-01-06 08:25:35 im testing edk2 on pioneer2 2025-01-06 08:32:32 👍 2025-01-06 08:42:27 different error now 2025-01-06 08:42:35 like reported on github 2025-01-06 09:17:37 I deleted my OTP on an old phone and now cannot login to gitlab.a.o 2025-01-06 09:18:02 how can I solve problem 2025-01-06 09:58:27 mps: I disabled the two factor auth for you now 2025-01-06 10:01:02 ncopa: thank you, I've got page to reregister OTP 2025-01-06 10:01:33 you're welcome 2025-01-06 12:00:24 huh, world is becoming too much complicated. my phone can't scan QR code to enable 2FA :| 2025-01-06 12:04:43 install a compatible app maybe? 2025-01-06 12:10:12 maybe clean the camera lens? :) 2025-01-06 12:10:43 ncopa: :) 2025-01-06 12:11:46 I'm using FreeOPT+ 2025-01-06 15:05:20 ncopa: seems the edk2 relocation error happens when its loading the grub stub 2025-01-06 15:05:51 when renaming it on nvme it does go further, but still does not show me efi shell 2025-01-06 15:15:53 i just broke the boot sdcard 2025-01-06 15:16:02 what a joy 2025-01-06 18:20:55 tried two otp programs on two phones, no one can recognize QR code on gitlab.a.o when I'm trying to enable 2FA, and looks like gitlab.a.o will be lodked for me in near day or two /o\ 2025-01-06 18:21:38 can someone tell which program works on android 2025-01-06 18:23:05 I use authy, but that's from twillio 2025-01-06 18:25:32 authy cannot be downloaded if user is not registered, iiuc? 2025-01-06 18:26:25 iirc, an account is not required 2025-01-06 18:34:03 ah yes, https://www.authy.com/download/ 2025-01-06 18:40:06 otpclient on alpine says "can't find a valid qrcode" when I feed image to it 2025-01-06 18:53:04 oh, otpclient and set it manually worked 2025-01-06 18:59:15 I guess now is all ok 2025-01-06 18:59:49 maybe 'hope' instead of 'guess' is better term 2025-01-07 08:41:28 I just use oathtool 2025-01-07 09:44:20 iggy: first time hear for it, looks interesting. thanks 2025-01-07 15:10:34 I use oathtool on my desktop, you can also import the keys into a program called "Aegis" on Android 2025-01-07 15:10:52 an "app", sorry 2025-01-07 15:10:55 ACTION strokes grey beard 2025-01-07 16:05:52 could be qrcode read by oathtool? 2025-01-07 16:06:27 to reformulate, could oathtool read qrcode? 2025-01-07 16:22:23 mps: I don't think so, but every 2fa prompt I've ever seen either showed the key or there was a little button/link you could click to show it 2025-01-07 16:46:46 mps: FreeOTP+ works on Android 2025-01-07 16:48:21 panekj: yes, but can't read qrcode on gitlab.a.o 2025-01-07 16:48:44 what can I say, except for "works for me" 2025-01-07 16:49:13 I had it set up before and just did it again to check if it didn't break and it worked 2025-01-07 16:49:30 could be problem with lineageOS on my phone 2025-01-07 16:49:40 maybe you have time wrong? 2025-01-07 16:50:03 no, time is ok 2025-01-07 16:50:32 does it just not understand the qrcode? 2025-01-07 16:51:14 though have to add that I don't have much experience with OTP, I use it only when must 2025-01-07 16:52:00 panekj: yes, it says "can't find a valid qrcode" when trying to read it 2025-01-07 16:52:20 mps: what if you try some kind of qr-code scanner? 2025-01-07 16:52:32 I would recommend using just the text code to add otp 2025-01-07 16:52:33 qrcode image is in firefox window 2025-01-07 16:53:23 same phone quite fine read qrcodes in telegram 2025-01-07 16:53:35 and one from DigiCert 2025-01-07 16:54:16 ikke: iiuc this will be useful only to test if qr-code is ok? 2025-01-07 16:55:30 anyway, what iggy says looks like it is a lot easier to use command line tools than these on android 2025-01-07 19:38:34 I switched from lineageOS to GrapheneOS 2025-01-07 19:38:40 I think I got Aegis from F-Droid 2025-01-07 19:45:03 ACTION wants to throw away all android devices 2025-01-07 19:45:45 GrapheneOS is realistically the best option these days, unless you want to sacrifice basic functionality to use a niche platform 2025-01-07 19:46:03 it at least makes me feel like I'm the one in control of the device for the first time ever in mobile devices 2025-01-08 04:10:03 Hi, does anyone have any experience with alpine on the star64 by pine64? 2025-01-08 04:10:46 I'm trying to build a wifi driver currently and was wondering if anyone had some advice 2025-01-08 07:18:01 looks like it is StarFive JH7110, so it should boot at least? 2025-01-08 07:18:52 do you know which wifi driver you need? 2025-01-08 09:05:10 yea it boots, i built an image with the script on this site: https://arvanta.net/alpine/alpine-on-visionfive/ 2025-01-08 09:06:36 i found a driver on github, problem is i get the following error while compiling it: https://github.com/morrownr/rtl8852bu-20240418/issues/5 2025-01-08 09:07:05 perhaps i'm missing a library or something else necessary to build it 2025-01-08 09:10:59 sms: on which distro you build it 2025-01-08 09:13:12 I thought that wifi driver for star64 is in mainline kernel 2025-01-08 09:33:31 mps i built it on alpine, on the same board i installed it to 2025-01-08 09:34:05 is it? i tried adding linux-firmware to the image but it didn't recognize the card 2025-01-08 09:36:40 sms: I'm not sure it is in mainline, I just thought it is but I don't know for sure 2025-01-08 09:39:14 i dont think so, given the github project i linked is still a wip 2025-01-08 09:40:22 could you try to boot with linux-lts 2025-01-08 09:41:04 or linux-edge 2025-01-08 10:10:42 here is my Makefile for build out-of-tree modules https://tpaste.us/VYpv 2025-01-08 10:11:04 ofc, you can (and maybe should) replace clang with gcc 2025-01-08 10:12:44 this example is when I built my mpschar module 2025-01-08 13:12:41 it is probably lts.riscv64.config:CONFIG_TRIM_UNUSED_KSYMS=y 2025-01-08 13:13:36 yeah almost sure that is the issue 2025-01-08 13:14:24 it will fail on edge kernel as well 2025-01-08 13:15:01 $ grep UNUSED_KSYM * | tpaste 2025-01-08 13:15:01 https://tpaste.us/mepg 2025-01-08 13:30:43 nice, now have to fix this also on aarch64 and x86_64 in linux-edge 2025-01-08 13:31:01 and armv7 2025-01-08 13:38:46 u-boot 2025.01 pushed to builders 2025-01-08 13:39:47 it was one of easiest release to upgrade 2025-01-08 23:40:27 mps it seems linux-lts and linux-edge don't have the DTB's needed to boot on the star64, so i can't boot with just those packages 2025-01-08 23:41:39 unless i should manually include the DTB's alongside the linux-lts kernel, but that requires building the kernel myself correct? 2025-01-08 23:42:26 ncopa nice, that could be it. how do i turn that option off? 2025-01-09 06:52:26 mps nvm it does 2025-01-09 07:28:18 sms: iiuc linux-lts and linux-edge boots on star64 at the end? 2025-01-09 07:29:40 sms: im on it 2025-01-09 07:29:41 sms: to turn of ksyms clean from kernel and modules you have disable these options in kernel config and rebuild kernel and install it 2025-01-09 07:31:23 maybe time linux-{lts,edge}-dbg :) 2025-01-09 07:31:32 time for* 2025-01-09 07:32:42 star64 is JH7110 so I expect 6.12 kernel boots there 2025-01-09 07:33:21 yes, because this I told sms to try boot with lts and edge 2025-01-09 07:34:20 only don't know how mainline u-boot works on this SBC 2025-01-09 07:35:50 mps i was confused for a second on how to boot it, i think i got it now, i'll let u know if it works 2025-01-09 07:37:57 sms: if it can't find dtb in fdtdir you can set 'fdt $path to required dtb' in extlinux.conf 2025-01-09 07:39:51 i still would need to flash u-boot.itb and u-boot-spl.bin.normal.out from the u-boot-starfive package unto the sd card correct? 2025-01-09 07:40:20 i made a label for lts kernel on extlinux.conf 2025-01-09 07:42:30 we didn't enabled u-boot for star64 2025-01-09 07:42:47 we is me 2025-01-09 07:42:55 but no one else afaik 2025-01-09 07:44:04 probably you don't have to install new u-boot on board, just set path to dtb in 'fdt' directive in extlinux.conf 2025-01-09 07:44:41 u-boot-starfive is tested only on visionfive V2 2025-01-09 07:47:12 I see this 'board: support Star64 board' in u-boot git log. So probably we can enable it 2025-01-09 07:47:32 sms: could you post me official url for this SBC 2025-01-09 07:48:30 I will be AFK for some time, and later today I will look if we can add this SBC to our u-boot 2025-01-09 07:52:01 sms: nvm, I found url 2025-01-09 07:55:34 sorry for not responding. nice 2025-01-09 07:56:25 mps i've been using u-boot-starfive to boot on the star64, and it works 2025-01-09 07:57:01 i thought it made sense since its the same cpu as well. the board's spi comes with those dtbs as well i'm pretty sure 2025-01-09 07:57:12 looking u-boot source it could be that this SBC could work with visionfive V2 u-boot 2025-01-09 07:57:46 sms: ah nice, you just confirmed my guess 2025-01-09 07:58:16 so we can add in docs this 2025-01-09 07:58:27 BBL 2025-01-09 07:58:38 also tested linux-lts, it boots 2025-01-09 07:59:17 that grep UNUSED_KSYMS that ncopa did, where do i run that to see if the option is enabled? 2025-01-09 08:27:48 linux-edge also boots mps 2025-01-09 08:36:29 sms: it is in alpine aports tree 2025-01-09 08:37:52 sms: nice and thanks for info. maybe you can write some short notes/guide how to boot alpine on this SBC. 2025-01-09 08:38:39 would be nice to add this notes to https://arvanta.net/alpine/alpine-on-visionfive/ 2025-01-09 08:54:35 sure 2025-01-09 11:39:33 sms: maybe you could build akms aport for rtl8852bu device 2025-01-09 12:44:56 ok, I've found reason why my BPI F3 sometimes hungs on boot from nvme with kernel 6.13-rc1. for unknown reason (at least for me) it doesn't initialize nvme successfully or it doesn't load nvme modules 2025-01-09 12:45:32 building kernel with nvne modules as =y it never hungs 2025-01-09 12:46:07 could be flaky nvme device or driver is not yet stable 2025-01-09 18:58:35 I narrowed problem with boot hungs. It is nlplug-findfs problem 2025-01-09 18:59:07 here is what appears on console https://tpaste.us/Eb4D 2025-01-09 18:59:25 but nvme driver is in-kernel 2025-01-09 19:02:16 ncopa: ^ do you have any idea 2025-01-09 20:53:32 mps might you hv a guide on hand for building a port? i'm a little new xd 2025-01-09 20:55:18 sms: this is old but still could be usable https://wiki.alpinelinux.org/wiki/Developer_Documentation 2025-01-09 20:55:52 i.e. to setup alpine development environment and use it 2025-01-09 20:56:32 looks like kernel goes boom after nlplug-findfs fails to write 2025-01-09 20:56:43 its definitively a kernel problem 2025-01-09 20:56:49 nlplug-finds loads kernel modules 2025-01-09 20:57:02 and writes output (logs etc) 2025-01-09 20:58:50 sms: if you want to skip and go straight to work (like me) then https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package 2025-01-09 20:59:18 thanks mps! 2025-01-09 20:59:52 ncopa: btw, linux-spacemit doesn't have this problem 2025-01-09 21:02:36 what makes me 'angry' is that I can't reproduce problem in controlled way. sometimes it hangs sometimes doesn't 2025-01-09 21:03:09 anyway, will continue to find what is culprit 2025-01-09 22:18:44 wierd, driver now compiles and installs fine, but i still can't see the wlan interface 2025-01-09 22:20:22 am i missing something? 2025-01-09 22:23:13 sms: modprobe? 2025-01-09 22:23:23 sorry for stuppid answer 2025-01-09 22:24:48 perhaps, the install script that the driver maintainer made doesn't have a modprobe command in it 2025-01-09 22:24:53 it does have depmod 2025-01-09 22:25:59 manually `modprobe /path/to/module` 2025-01-09 22:26:20 ok 2025-01-09 22:26:37 also i'm not using dkms for this atm, if it matters 2025-01-09 22:26:51 I understand 2025-01-09 22:27:42 you can manually copy module to /lib/modules/$KVER/kernel/...' where you want 2025-01-09 22:27:52 and then run depmod 2025-01-09 22:30:39 last option is `insmod $module_filename' in dir where is module 2025-01-10 04:34:10 so, i ran modprobe and the dmesg told me that it loaded, despite "module verification failed: signature and/or required key missing" 2025-01-10 04:34:26 however, no wlan0, nor any new interface 2025-01-10 04:34:35 after running ip a 2025-01-10 04:42:12 lsmod says its loaded too 2025-01-10 07:56:16 sms: with which kernel you built module? 2025-01-10 07:56:54 CONFIG_MODULE_SIG should be disabled in this kernel 2025-01-10 07:58:01 also module shouldn't be striped after build 2025-01-10 07:58:20 mps: did you try debug_init? 2025-01-10 07:58:47 clandmeter: question is to me? 2025-01-10 07:59:10 i think so 2025-01-10 07:59:26 aha, what is debug_init 2025-01-10 07:59:37 cmdline option 2025-01-10 07:59:53 gives debug info about nlplug-findfs 2025-01-10 07:59:56 it is added to alpine initramfs? 2025-01-10 08:00:25 add it to your kernel cmdline 2025-01-10 08:00:29 tbh didn't knew it exists 2025-01-10 08:00:36 RTFS ;-) 2025-01-10 08:01:28 https://git.alpinelinux.org/mkinitfs/tree/initramfs-init.in#n487 2025-01-10 08:01:35 will look later when I boot board 2025-01-10 08:02:17 hah, every day I learn something surprising :) 2025-01-10 08:02:35 clandmeter: thanks for hint 2025-01-10 08:02:50 yw 2025-01-10 08:03:01 maybe it helps debugging the issue 2025-01-10 08:03:27 anyway, when booted board is quite stable even with kernel 6.13-rc1 2025-01-10 11:36:04 clandmeter: with debug_init it hangs rarely, about once in 15 reboots 2025-01-10 13:13:10 mps: i believe it is a race that happens when nlplug-findfs loads the modules 2025-01-10 13:14:18 ncopa: nvme drivers are built in kernel, and also used FS drivers 2025-01-10 13:15:31 now I build https://github.com/jmontleon/linux-bianbu/commits/linux-6.6.y/ kernel and will test with it 2025-01-10 14:07:06 i did it for 6.12.9-0-lts mps 2025-01-10 14:11:58 also for akms it looks like i need a user called akms, didn't find that in the manpages 2025-01-10 14:14:37 you have to disable CONFIG_TRIM_UNUSED_KSYMS in kernel and rebuild it 2025-01-10 14:16:52 for akms I'm not sure. you can look at some examples in aports 2025-01-10 14:34:28 f0ae82f0e1337a252070e267c374eb3e7a25c3e2 2025-01-10 14:34:46 thats included in the 6.12.9 kernel 2025-01-10 14:43:45 yea i was gonna say. btw thanks ncopa! 2025-01-10 14:45:20 also another funny thing, with akms if i make an AKMBUILD like the example, the build() will only do the MODPOST on Module.symvers, but if i leave build() with just make -j4 it does what it needs to xd 2025-01-10 15:00:44 also got a working AKMBUILD 2025-01-10 15:01:05 same problem though 2025-01-10 15:51:14 sms: you can look example here https://git.alpinelinux.org/aports/tree/testing/rtl8821ce-src/APKBUILD 2025-01-10 18:13:23 thanks mps