| Wizzup | freemangordon: https://phoenix.maemo.org/job/libcal-source/65/console works with git.maemo.org | 00:33 |
|---|---|---|
| Wizzup | reconfiguring the core jobs | 00:34 |
| Wizzup | freemangordon: I set up push mirroring for conversations and hildon-meta and have a programmatic way to set it up now, and it seems to work fine | 01:17 |
| Wizzup | I will set it up for all the other repos tomorrow | 01:17 |
| dsc_ | :) | 01:19 |
| Wizzup | https://git.maemo.org/leste/jenkins-integration/commit/aff5d1a6e3db3c000801508fcde814ed5f740441 | 02:01 |
| Wizzup | freemangordon: do we want to migrate anakin-linux / lime2-linux / linux-beryllium / rockchip-linux ? | 02:27 |
| Wizzup | cloning all upstream-forks now too, but let's (re)move some of these to leste-deprecated or so | 02:46 |
| sicelo | we're not building beryllium images anymore? | 09:07 |
| sicelo | ah, last build over 3 years ago and no one has complained ... a bit sad, since the device is very well supported by mainline. iirc recently camera started working too. anyway, if no one has it and maintains it, it's fate is sealed | 09:09 |
| halftux | Wizzup: The magic for debian rpi and boot partition gets installed by the raspi-firmware package and it can self trigger a script or it gets triggerd when kernel gets updated | 10:11 |
| halftux | /etc/initramfs/post-update.d/z50-raspi-firmware | 10:11 |
| halftux | /etc/kernel/postinst.d/z50-raspi-firmware | 10:12 |
| halftux | /etc/kernel/postrm.d/z50-raspi-firmware | 10:12 |
| halftux | /var/lib/dpkg/info/raspi-firmware.postinst | 10:12 |
| halftux | I guess the boot partition gets mounted to rootfs /boot/firmware | 10:13 |
| halftux | etc/fstab:4:LABEL=RASPIFIRM /boot/firmware vfat rw 0 2 | 10:13 |
| halftux | the scripts will copy new files to /boot/firmware | 10:15 |
| halftux | sicelo: the firmware and bootloader for rpi needs to be in the vfat because a CPU inside the GPU starts a binary blob from a small ROM which then loads the GPU firmware from the first fat partition. The GPU loads then the linux kernel from the fat partition into the RAM. After this the ARM CPU is switched on and booting with the loaded kernel. So the GPU is acting like a BIOS. | 11:06 |
| halftux | here is a better explanation https://bits4device.wordpress.com/2017/03/06/raspberry-pi-boot-process/ | 11:09 |
| sicelo | ah yeah, I remember that now. never had an RPi. RPi4 still works that way, or it's up to the 3? | 11:11 |
| halftux | rpi 4 is similar but has now also an eeprom | 11:12 |
| Wizzup | sicelo: not since beowulf I think | 11:35 |
| Wizzup | sicelo: which device is that, the pocophone? | 11:35 |
| Wizzup | halftux: thanks for all the resources, so it seems like we should just ensure the right labels get set? | 11:36 |
| halftux | yes for the updates we should have the same labels. For the first image build I don't know if the raspi-firmware package can be installed | 11:39 |
| Wizzup | hm, why not? | 11:46 |
| Wizzup | freemangordon: push mirrors are now set up for core repos, this means that git.maemo.org will keep github in sync, but it's a one way sync: it's possible that if you now push to github our instance will remove it | 11:47 |
| Wizzup | all upstream repos push back now too | 11:54 |
| halftux | Wizzup: I can't judge I have not enough knowlegde about image builder. When the partiton gets created from one changeroot it could work. However I could try to build a new image. So which bit I must tweak to get first partition mounted on /boot/firmware instead of /boot? Is it somewhere in the sdk library in the helper script? | 12:48 |
| Wizzup | halftux: just for my understanding, is there still a place for /boot as well? | 12:49 |
| halftux | Or could I change it in the board config or board shell script | 12:49 |
| halftux | boot must be on the second partition the kernel gets installed there. So in principle you have the kernel twice | 12:50 |
| Wizzup | so there are different partitions for /boot and /boot/firmware | 12:51 |
| Wizzup | btw, I wonder if we should just switch to debos or whatever gets used these days and make that works with maemo/devuan | 12:51 |
| Wizzup | https://github.com/go-debos/debos | 12:51 |
| halftux | yes /boot is a folder in rootfs and /boot/firmware the mount point for first vfat partition | 12:51 |
| Wizzup | ah ok, so /boot does not have its own partition then | 12:52 |
| halftux | and the script also checks if something is mounted on /boot/firmware | 12:52 |
| halftux | correct | 12:52 |
| Wizzup | ok | 12:52 |
| Wizzup | can we collect some of that info on an issue here? https://git.maemo.org/leste/bugtracker | 12:53 |
| Wizzup | I will look at the image-builder changes that we can make, although I feel like perhaps in the near future we should switch to using debos or something more 'standard' for building images | 12:53 |
| Wizzup | the image-builder has a certain way it wants things to go (boot on separarte partition, root partition and nother else) | 12:54 |
| Wizzup | so that's not ideal | 12:54 |
| Wizzup | but I love the idea of using debian kernel and firmware packages | 12:54 |
| Wizzup | and this looks pretty simple https://github.com/go-debos/debos?tab=readme-ov-file#simple-example | 12:55 |
| Wizzup | https://github.com/go-debos/debos-recipes/tree/main/rpi64 | 12:55 |
| halftux | so should I still fill a bug? Is it worth, chance to get it changed is low and maybe makes no sence when we step back from image-builder. If you still want one what should be the title? | 12:59 |
| Wizzup | I think just something like 'building raspi images again' | 13:02 |
| Wizzup | and yes issue is very helpful | 13:02 |
| Wizzup | and I will look at changing the image builder, but longer term, I think we want to do whatever debian is doing | 13:02 |
| halftux | ok | 13:03 |
| Wizzup | I really want raspi images and the research here is super helpful | 13:04 |
| halftux | maybe it is also a solution to mount vfat partition to /boot and to /boot/firmware it is not nice but I think it could work | 13:04 |
| halftux | ...when this is possible with fstab | 13:05 |
| Wizzup | right, something like this could be done | 13:09 |
| Wizzup | we can run shell scripts in various parts of the process | 13:09 |
| Wizzup | it's just finnicky | 13:10 |
| Wizzup | did you manage to build an image without the additional firmware partition, manually copy some things and get that to work? | 13:10 |
| Wizzup | I'd be interested in that | 13:10 |
| halftux | yes I used a tiny raspi3 chimaera image copied /boot/*kernelfiles from linux-image-arm64 to vfat and also firmware files from https://github.com/raspberrypi/firmware/ (not tried files from raspi-firmware, but should work) | 13:17 |
| halftux | modified config.txt (sorry for spam): | 13:18 |
| halftux | arm_64bit=1 | 13:18 |
| halftux | enable_uart=1 | 13:18 |
| halftux | upstream_kernel=1 | 13:18 |
| halftux | device_tree=bcm2837-rpi-3-b-plus.dtb | 13:18 |
| halftux | kernel=vmlinuz-6.1.0-32-arm64 | 13:18 |
| halftux | initramfs initrd.img-6.1.0-32-arm64 | 13:18 |
| Wizzup | does linux-image-arm64 get installed in our image or did you also install it manually? | 13:19 |
| Wizzup | (also; this would be great to get in the issue report) | 13:19 |
| halftux | I need to look into my new build image. If it does. | 13:20 |
| halftux | But it does with the generic-arm64 build so I guess yes | 13:21 |
| Wizzup | ah sorry, this was the arm64 build? | 13:21 |
| Wizzup | I thought you said the raspi3 image, sorry | 13:21 |
| Wizzup | I have a bunch of raspis here and I figured if I can try it here it might be easier to look at the image-builder things | 13:21 |
| halftux | I used raspi3 image but kernel from generic-arm64 build | 13:22 |
| halftux | now I edited the raspi3 script remove kernel build and put the /bin/true kernel from generic build into raspi3 script | 13:23 |
| halftux | oh I forgot to edit beowulf.config to add linux-headers-arm64 and linux-image-arm64 to raspi* | 13:33 |
| Wizzup | did you edit the beowulf config or the chimaera one? | 13:43 |
| halftux | oh sorry for confusion I now try daedalus befor I build chimaera but there I did not edit config everything manual | 13:46 |
| halftux | and you need to copy all dtb files from /usr/lib/linux-image-6.1.0-32-arm64/broadcom/ to vfat bootfs | 13:56 |
| Wizzup | halftux: ok, can you pls put this in the git.maeom.org issue | 14:00 |
| Wizzup | I'll dig up my rpis | 14:00 |
| Wizzup | hey I have a raspi3 here :) | 14:02 |
| Wizzup | two atually | 14:02 |
| halftux | when I log into git.maemo.org with github account I get Internal server error 500 | 14:09 |
| halftux | should I create an account? | 14:09 |
| halftux | ok I managed it with the second try | 14:13 |
| Wizzup | halftux: did you log in with github? | 14:13 |
| sicelo | Wizzup: +1 for debos | 14:13 |
| halftux | yes | 14:14 |
| halftux | I will wait for image build and then writing the issue with the new steps. | 14:22 |
| Wizzup | halftux: ok, thanks, and please do, the issue will help keep track and give context | 14:24 |
| arno11 | i got the server error 500 too, but now able to log in to GH and git.maemo.org from n900 using new dillo :D | 15:29 |
| arno11 | it is fast. we really need to build the new dillo imo | 15:29 |
| arno11 | however, GH UI is not really usable with new dillo but forgejo is quite ok | 15:32 |
| Wizzup | :) | 15:33 |
| Wizzup | arno11: I can make a repo for dillo, should it be upstream forks or extras? | 15:33 |
| Wizzup | probably extras I guess | 15:34 |
| Wizzup | https://git.maemo.org/leste-extras | 15:34 |
| Wizzup | err https://git.maemo.org/leste-extras/dillo | 15:34 |
| arno11 | cool | 15:38 |
| arno11 | will try to add it this evening | 15:38 |
| Wizzup | I added you as collaborator to it | 15:39 |
| Wizzup | usually the easiest way is to take debian's packaging and add it to the new source | 15:40 |
| Wizzup | and then update the changelog etc | 15:40 |
| arno11 | ok np | 15:42 |
| arno11 | (btw i tried to add a random comment to an issue from dillo, it works fine. display is ugly but fast | 15:44 |
| Wizzup | :) | 15:45 |
| arno11 | i also finally find the motivation to debianize maemo-gpt. still some code to clean but almost ready now for extras | 15:49 |
| Wizzup | cool, hopefully it isn't too hard to figure out the packaging | 15:49 |
| Wizzup | once you get used to it, it's mostly just copy pasteing some boilerplate | 15:49 |
| arno11 | i meant *found. debian stuff is already ok | 15:51 |
| Wizzup | :) | 15:52 |
| halftux | there is already a rpi image issue from you Wizzup. I will comment to that. restore raspberry pi images #758 | 15:58 |
| mkf | got my n900 rooted \o/ | 16:04 |
| mkf | s/n900/v20/g | 16:04 |
| mkf | next is getting mainline linux running on it | 16:05 |
| arno11 | oh nice | 16:19 |
| arno11 | Wizzup: btw i still need to port pcsx and pico to daedalus (quite trivial) but i still need a fix for osso-games-startup (issue #763) for drnoksnes | 16:25 |
| Wizzup | sounds good | 16:28 |
| sicelo | nice. upower upstream mostly approves of our patch ... there are a few modifications to make, but otherwise there will be minimal adjustments :-) | 16:43 |
| Wizzup | sweet! | 16:46 |
| Wizzup | mkf: great | 16:46 |
| Wizzup | halftux: ok, pls comment on https://git.maemo.org/leste/bugtracker/issues/758 indeed :) | 16:46 |
| halftux | done! | 16:50 |
| halftux | I tried to log in with github there was that error and I tried again and there was no need of a password but asking if I would connect to an existing account and I said no | 16:54 |
| halftux | ^^ignore that :-) | 16:55 |
| Wizzup | ok :) | 16:56 |
| halftux | Wizzup: but I posted the instruction hope everything is clear | 16:58 |
| Wizzup | halftux: this is perfect, thank you | 17:06 |
| halftux | compared to chimaera there are some issues in daedalus I made a second comment. | 17:13 |
| Wizzup | strange that usb keyboard wouldn't work, maybe different debian kernel version | 17:14 |
| freemangordon | Wizzup: what about CI? | 17:15 |
| freemangordon | what repos will it build? | 17:15 |
| Wizzup | git.maemo.org | 17:16 |
| Wizzup | for everything except extras and l10n | 17:16 |
| Wizzup | changes on git.maemo.org to core and upstream-forks are auto pushed to github upon commit/push, and also synced every 8 hours | 17:17 |
| freemangordon | great | 17:18 |
| Wizzup | this is done using an api key tied to my account, there was no way to do that with an api key tied to an orga | 17:18 |
| Wizzup | but I think that's fine | 17:18 |
| Wizzup | I can this locally: | 17:19 |
| Wizzup | I ran* | 17:19 |
| Wizzup | sed -i 's/git@github.com:maemo-leste\//git@git.maemo.org:leste\//' */.git/config | 17:19 |
| halftux | Wizzup: your right to many keyboards on my table it is working. | 17:20 |
| Wizzup | :D | 17:20 |
| Wizzup | I guess that means hdmi wake up also works then | 17:20 |
| halftux | yes think so but I also disabled the lock screen | 17:23 |
| halftux | after wake up mouse is in the left upper corner and does not move only after a mouse click | 17:24 |
| Wizzup | halftux: oh yes the lock screen might be the issue here, you need to press the 'power button' | 17:43 |
| Wizzup | only after click could be a power feature | 17:44 |
| Wizzup | power saving | 17:44 |
| Wizzup | halftux: building an image with your changes on phoenix now, it doesn't have the final steps yet, but I at least made all your mods | 17:51 |
| halftux | ok nice hope it will work made a small untested change to daedalus.config that cmdline.txt and config.txt gets copied. Therefore I added copy-root-overlay. I just building it now with this change. But just for record check if the two files are on the bootfs partition. | 17:55 |
| halftux | not daedalus.config I mean raspberry-pi3.sh | 17:56 |
| Wizzup | I think we can make a change to set labels on some of the partitions in the devuan sdk for image building, do you know if we need to use dos or gpt for these labels? | 17:58 |
| halftux | I don't know but I would use dos for rpi | 18:00 |
| Wizzup | ok, and we can set labels that way? | 18:07 |
| Wizzup | because that is what we need right? | 18:07 |
| halftux | we don't need labels we can use partitions in fstab | 18:09 |
| halftux | so debian are using labels in cmdline.txt and fstab | 18:09 |
| halftux | you are building chimaera raspi3 image right? | 18:10 |
| halftux | did you edited the right config for kernel usage? | 18:11 |
| halftux | maybe I missed something in regard of the labels but I think we are fine if we are using /dev/mmcblk0p1 and /dev/mmcblk0p1 unless we want to support more options as only sd cards | 18:25 |
| Wizzup | halftux: oh, I thought the postinst scripts/triggers you mentioned look at the labels, but if they just look at things being mounted, it might be ok | 18:26 |
| Wizzup | 18:10 < halftux> you are building chimaera raspi3 image right? | 18:26 |
| Wizzup | hm... yeah, oops, let me cancel | 18:26 |
| Wizzup | https://phoenix.maemo.org/view/Images/job/leste-image-raspi3-64bit-daedalus/1/console | 18:27 |
| halftux | hmm script uses /usr/bin/systemd-detect-virt | 18:33 |
| halftux | do we have that? systemd* | 18:33 |
| halftux | findmnt --noheading --first-only --nofsroot --output="$1" | 18:36 |
| halftux | ROOTPART="$(root_info source)" || ROOTPART=/dev/mmcblk0p2 | 18:36 |
| Wizzup | probably not, but I'll need a local image to be able to do more analysis | 18:36 |
| Wizzup | that's why I'm building it in ci/cd | 18:36 |
| halftux | don't know what ROOTPART will be | 18:37 |
| halftux | I think when everything fails ROOTPART=/dev/mmcblk0p2 | 18:38 |
| halftux | elif ! mountpoint -q /boot/firmware ; then | 18:39 |
| halftux | I guess we need to try if it fails or not | 18:39 |
| Wizzup | it looks like weblate can't make merge requests for translations on our own git service | 22:41 |
| Wizzup | at least not hosted weblate | 22:41 |
| sicelo | mmm, basic skim says it should | 22:46 |
| Wizzup | hm? | 22:46 |
| sicelo | https://docs.weblate.org/en/latest/vcs.html#vcs-gitea (i guess forgejo should work same) | 22:46 |
| Wizzup | yes, this is only for gitea.com | 22:46 |
| Wizzup | I have no way to provide any credential | 22:47 |
| Wizzup | this has to be set in the admin cfg of the weblate | 22:47 |
| Wizzup | we can maybe have it auto push to a branch | 22:47 |
| Wizzup | but merge requests (not auto push) does not seem like it is an option | 22:47 |
| Wizzup | see https://docs.weblate.org/en/latest/admin/config.html#std-setting-GITEA_CREDENTIALS | 22:47 |
| sicelo | it reads to me like ... you add the API key per your last link. and it'll make a Merge Request | 23:03 |
| sicelo | it only pushes if you're using 'pure' git | 23:03 |
| Wizzup | right, but there is no way to set any of this | 23:11 |
| Wizzup | this is done per weblate instance | 23:11 |
| halftux | Wizzup: image build faild but it was building the image until the end :( | 23:23 |
| Wizzup | ugh | 23:38 |
| Wizzup | building another one | 23:39 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!