libera/#devuan-arm/ Wednesday, 2022-08-03

fatalis there any interest in building images for the banana pi-m5?18:22
gnarfaceprobably...18:23
gnarfaceyou offering to do it?18:25
gnarfaceor to donate hardware for it?18:25
c0rneliusi see the fips for it, so thats a good sign.18:26
fatali tried official images and i have troubles with upgrading. it seems it can't link the kernel to /boot.18:26
c0rneliushow far a long in mainline linux is it, is another question.18:26
fatals/it/i18:27
fatalit looks like completely abandoned by raspberry maintainers.18:27
fataler bananapi w/e18:27
c0rneliusi don't own the board, but I could probs make it boot. not sure how well it would run though?18:28
fatalwell u-boot still has in the build tree(?)18:29
c0rneliussame SoC as the odroid c418:29
fatalok, that might help.18:29
c0rneliuswhat kernel is it currently running from BPI?18:30
c0rneliusversion18:30
fatalraspian: 4.9 and 5.17, ubuntu and debian 4.918:31
fatalthere is also 3rd party images and kind of android. https://wiki.banana-pi.org/Banana_Pi_BPI-M518:32
fatalit would be nice to see these images maintained by the projects respectievly18:33
fatallike the armbian one18:33
fataldebian stable should be 5.10 i think18:35
c0rneliuslooks like most of the stuff in the github is just a fork of odroid18:38
fatali'm following this guide to some degree https://forum.banana-pi.org/t/bpi-r2-how-to-build-an-ubuntu-debian-sd-image-from-scratch/680518:50
fatali'm a 'non-swimmer' so this journey is quite and interesting experience.18:55
c0rneliusI'll attempt a test img for you with my builder. we can see if it boots. take a little while to compile a kernel.19:26
c0rneliusI'll just base it on the C4 for now and see what it does.19:26
fatalright, the kernel. which one should i try, the newer 5.15 lts?19:39
c0rneliusI'm building 5.19 right now. You would need to check to make sure 5.15.y has the dts file. But yeah would be a good place to start.19:42
steevmeson-sm1-bananapi-m5.dts19:43
steevit's in there19:43
c0rneliusyeah. the dts is in 5.1519:43
c0rneliussteev: you booted a bpi m5 before?19:44
steevnope19:44
steevjust happened to be in a 5.15 stable checkout that wouldn't have any amlogic patches in it19:44
fatalso it would be enough if i have the kernel in the u-boot tree? 'build/u-boot/arch/arm/dts/meson-sm1-bananapi-m5.dts'19:45
steevu-boot is the bootloader, not the kernel19:45
fatalright, i knew that.19:46
fatalso it means i have to build the kernel too19:46
steevor just wait for c0rnelius to do his thing19:48
fatali remember having a zyxel nas like a while back with u-boot and kernel prebuild flashed onto the chip. from there i just booted the debian installer from a usb stick. never had any troubles to upgrade to a newer kernel like with the bananapi.19:58
c0rneliusok. well its archiving. be a few more minutes.20:10
fatalnice, i just ran out of space on my build vm.20:11
c0rneliusfatal: https://github.com/pyavitz/binary/releases/download/images/meson-sm1-bananapi-m5-devuan-chimaera-5.19.0-arm64-2022-08-03.img.xz20:21
c0rneliusif it does boot don't expect anything amazing. :)20:22
fatalwow, great. i will try it out rn, c0rnelius.20:23
c0rneliusi'd test it on the sdcard first20:23
fatalwill do, i had no intention to run any image from the internal memory yet.20:25
c0rneliusif it doesn't boot at all it means I got the boot fips wrong and I'll need to research it. looked straight forward though.20:27
fatali wonder if it works since all the images have this layout: *.img1 8192  532479  524288  256M  c W95 FAT32 (LBA), *.img2 532480 5857279 5324800  2.5G 83 Linux.20:29
c0rneliusi only use fat partitions if I have too. didn't seem like it needed one. thats usually a vendor uboot thing.20:29
fatalyeah it doesn't seem to boot20:45
fataltook a bit longer since i couldn't find a usb cable to power it20:46
fatal... ";READ:0;CHK:1F;SD?:0;SD:0;READ:0;CHK:1F;USB:8;"20:48
fatalwait, i didn't decompress it first. my bad.20:51
c0rneliusOops20:51
fatalikr20:52
fatalc0rnelius: it works21:07
c0rneliusNice21:08
fataljsut waiting for the kernel to start21:09
c0rneliusoh... is it hung on starting kernel?21:09
fatalyes21:09
c0rneliusthat can happen if the sdcard is a crap brand or could be something on my end.21:11
fatalit looks like it hangs on the serial console but i have a lgoin prompt one monitor21:11
c0rneliusso it reached the login?21:12
fatalyup21:12
c0rneliusbpi:bpi21:12
c0rneliusor root:toor21:12
c0rneliusif you can paste me the dmesg and take note of things that are broke I can look into them and I'll add it to the builder as a WIP.21:14
fatalit's quite responsive compared to the other images i tried21:15
fatalthought it might be the sdcard21:15
fatalc0rnelius: yeah i can i just need to get the serial console login.21:16
c0rneliusI'm not sure, maybe the baudrate is wrong or something.21:17
fatali mean i saw u-boot the images up unitl 'starting kernel...'21:18
fatal`screen /dev/serial-01 115200 8N1`21:19
c0rneliusI'd try googling it and checking their forum or something. but if you have a monitor and keyboard at least ur in. you can connect to the webs and just ssh from there.21:20
fatali have to unplug/replug my keyboard atm also i need to configure my router first for that to happen.21:22
fatalthis what i got from boot "append: earlyprintk console=tty1 console=ttyAML0,115200n8 console=both"21:23
fatalis there a boot.txt or something to enable it?21:24
c0rneliusyeah thats the general generic setup for amlogic21:24
c0rneliusno. right now its just the extlinux.conf file.21:24
c0rneliusI would need to dig through the bpi github and see what overlays options they have and such.21:25
c0rneliuswell at least we know it boots. i need to run for now, but I'll dig around later. also I installed network-manager on the img. so nmtui is available.21:26
fatali have the dmesg on the sd card now i give you the output in a moment21:29
fatalc0rnelius: https://paste.debian.net/1249249/21:38
fatalthis thing has passthrough or is this just a random kernel feature enabled for arm64?21:40
fatalsee you later, c0rnelius.21:41
c0rneliusIt might be in the command line of the extlinux file. I side the boot dir. Thanks for the dmesg.21:42
c0rneliusInside*21:42
fatalyou think with "Serial: AMBA PL011 UART driver" i already have full control over gpio pins maybe?21:47
pablomobileHi, I'm using the RPi3 64bit image of devuan. I want to use as default governor "powersave". I find these files /usr/local/bin/governor and /etc/init.d/governor. There is any documentation on those?23:56
c0rneliusgovernor -h23:57
c0rneliusi don't think powersave is in the script though.23:58
c0rneliushttps://github.com/pyavitz/rpi-img-builder/wiki/Options-&-Scripts#cpu-frequency-scaling23:59

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!