fatal | is there any interest in building images for the banana pi-m5? | 18:22 |
---|---|---|
gnarface | probably... | 18:23 |
gnarface | you offering to do it? | 18:25 |
gnarface | or to donate hardware for it? | 18:25 |
c0rnelius | i see the fips for it, so thats a good sign. | 18:26 |
fatal | i tried official images and i have troubles with upgrading. it seems it can't link the kernel to /boot. | 18:26 |
c0rnelius | how far a long in mainline linux is it, is another question. | 18:26 |
fatal | s/it/i | 18:27 |
fatal | it looks like completely abandoned by raspberry maintainers. | 18:27 |
fatal | er bananapi w/e | 18:27 |
c0rnelius | i don't own the board, but I could probs make it boot. not sure how well it would run though? | 18:28 |
fatal | well u-boot still has in the build tree(?) | 18:29 |
c0rnelius | same SoC as the odroid c4 | 18:29 |
fatal | ok, that might help. | 18:29 |
c0rnelius | what kernel is it currently running from BPI? | 18:30 |
c0rnelius | version | 18:30 |
fatal | raspian: 4.9 and 5.17, ubuntu and debian 4.9 | 18:31 |
fatal | there is also 3rd party images and kind of android. https://wiki.banana-pi.org/Banana_Pi_BPI-M5 | 18:32 |
fatal | it would be nice to see these images maintained by the projects respectievly | 18:33 |
fatal | like the armbian one | 18:33 |
fatal | debian stable should be 5.10 i think | 18:35 |
c0rnelius | looks like most of the stuff in the github is just a fork of odroid | 18:38 |
fatal | i'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/6805 | 18:50 |
fatal | i'm a 'non-swimmer' so this journey is quite and interesting experience. | 18:55 |
c0rnelius | I'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 |
c0rnelius | I'll just base it on the C4 for now and see what it does. | 19:26 |
fatal | right, the kernel. which one should i try, the newer 5.15 lts? | 19:39 |
c0rnelius | I'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 |
steev | meson-sm1-bananapi-m5.dts | 19:43 |
steev | it's in there | 19:43 |
c0rnelius | yeah. the dts is in 5.15 | 19:43 |
c0rnelius | steev: you booted a bpi m5 before? | 19:44 |
steev | nope | 19:44 |
steev | just happened to be in a 5.15 stable checkout that wouldn't have any amlogic patches in it | 19:44 |
fatal | so 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 |
steev | u-boot is the bootloader, not the kernel | 19:45 |
fatal | right, i knew that. | 19:46 |
fatal | so it means i have to build the kernel too | 19:46 |
steev | or just wait for c0rnelius to do his thing | 19:48 |
fatal | i 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 |
c0rnelius | ok. well its archiving. be a few more minutes. | 20:10 |
fatal | nice, i just ran out of space on my build vm. | 20:11 |
c0rnelius | fatal: https://github.com/pyavitz/binary/releases/download/images/meson-sm1-bananapi-m5-devuan-chimaera-5.19.0-arm64-2022-08-03.img.xz | 20:21 |
c0rnelius | if it does boot don't expect anything amazing. :) | 20:22 |
fatal | wow, great. i will try it out rn, c0rnelius. | 20:23 |
c0rnelius | i'd test it on the sdcard first | 20:23 |
fatal | will do, i had no intention to run any image from the internal memory yet. | 20:25 |
c0rnelius | if 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 |
fatal | i 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 |
c0rnelius | i only use fat partitions if I have too. didn't seem like it needed one. thats usually a vendor uboot thing. | 20:29 |
fatal | yeah it doesn't seem to boot | 20:45 |
fatal | took a bit longer since i couldn't find a usb cable to power it | 20:46 |
fatal | ... ";READ:0;CHK:1F;SD?:0;SD:0;READ:0;CHK:1F;USB:8;" | 20:48 |
fatal | wait, i didn't decompress it first. my bad. | 20:51 |
c0rnelius | Oops | 20:51 |
fatal | ikr | 20:52 |
fatal | c0rnelius: it works | 21:07 |
c0rnelius | Nice | 21:08 |
fatal | jsut waiting for the kernel to start | 21:09 |
c0rnelius | oh... is it hung on starting kernel? | 21:09 |
fatal | yes | 21:09 |
c0rnelius | that can happen if the sdcard is a crap brand or could be something on my end. | 21:11 |
fatal | it looks like it hangs on the serial console but i have a lgoin prompt one monitor | 21:11 |
c0rnelius | so it reached the login? | 21:12 |
fatal | yup | 21:12 |
c0rnelius | bpi:bpi | 21:12 |
c0rnelius | or root:toor | 21:12 |
c0rnelius | if 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 |
fatal | it's quite responsive compared to the other images i tried | 21:15 |
fatal | thought it might be the sdcard | 21:15 |
fatal | c0rnelius: yeah i can i just need to get the serial console login. | 21:16 |
c0rnelius | I'm not sure, maybe the baudrate is wrong or something. | 21:17 |
fatal | i mean i saw u-boot the images up unitl 'starting kernel...' | 21:18 |
fatal | `screen /dev/serial-01 115200 8N1` | 21:19 |
c0rnelius | I'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 |
fatal | i have to unplug/replug my keyboard atm also i need to configure my router first for that to happen. | 21:22 |
fatal | this what i got from boot "append: earlyprintk console=tty1 console=ttyAML0,115200n8 console=both" | 21:23 |
fatal | is there a boot.txt or something to enable it? | 21:24 |
c0rnelius | yeah thats the general generic setup for amlogic | 21:24 |
c0rnelius | no. right now its just the extlinux.conf file. | 21:24 |
c0rnelius | I would need to dig through the bpi github and see what overlays options they have and such. | 21:25 |
c0rnelius | well 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 |
fatal | i have the dmesg on the sd card now i give you the output in a moment | 21:29 |
fatal | c0rnelius: https://paste.debian.net/1249249/ | 21:38 |
fatal | this thing has passthrough or is this just a random kernel feature enabled for arm64? | 21:40 |
fatal | see you later, c0rnelius. | 21:41 |
c0rnelius | It might be in the command line of the extlinux file. I side the boot dir. Thanks for the dmesg. | 21:42 |
c0rnelius | Inside* | 21:42 |
fatal | you think with "Serial: AMBA PL011 UART driver" i already have full control over gpio pins maybe? | 21:47 |
pablomobile | Hi, 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 |
c0rnelius | governor -h | 23:57 |
c0rnelius | i don't think powersave is in the script though. | 23:58 |
c0rnelius | https://github.com/pyavitz/rpi-img-builder/wiki/Options-&-Scripts#cpu-frequency-scaling | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!