libera/#devuan-arm/ Thursday, 2024-10-03

cake1hello, does anyone know how I can use these images https://pkgmaster.devuan.org/devuan/dists/daedalus/main/installer-armhf/20230607%2Bdeb12u7devuan1/images/u-boot/BananaPro/02:20
drizztyop :)02:20
cake1hello02:20
drizztI have a bpi, gonna check which one :)02:21
cake1I tried to switch to devuan from armbian but something gets messed up, so I thought that there may be another way?02:21
drizztthere are many many ways :)02:22
cake1This guy also has current images https://sd-card-images.johang.se/boards/banana_pi_m1plus.html02:22
drizztif you're interrested in understanding the whole process I have some info there : http://wiki.nathael.net/index.php/Dev/OPi02:23
cake1but for some reason from bookworm folling instructions and first reboot something gets stuck02:23
cake1ok02:23
drizztThese are for OrangePi boards, but the principle is exactly the same whatever the board02:23
drizztWell, it's not the M1 I have, but I have many other boards with an A20 processor02:24
cake1okay thx for the link, ill try and follow OPi3 and adapt it to my device02:26
drizztFor the complete explanations about creating the SD card you can read from this point : http://wiki.nathael.net/index.php/Dev/OPi/OPiZeroPlus/From_Scratch#SD_Card_creation02:26
drizztMy wiki is not "cleanly organised", but you'll find many tips and informations there02:26
cake1So I think the uboot part is allready done by devuan with the file u-boot-sunxi-with-spl.bin02:27
drizztcake1: not that uboot is not on a partition02:28
cake1the other file is called BananaPro.sdcard.img and is half a MB02:28
cake1I can dd it to a partition?02:29
drizztI don't know, I just downloaded it and I'll check what it is02:29
drizztI would have tought it was much bigger, with a full rootfs02:30
nomia(: hi02:31
nomiai hope cake1 can get this to work02:31
nomiai have a banana m3 that needs a os02:32
drizztnomia: same as for cake1 : you can have a look at all the informations I have on my public wiki : http://wiki.nathael.net/index.php/Dev/OPi02:34
drizztIt's for orangePi boards, but the principle is axactly the same for any board02:34
drizztyou just have to use the right uboot/config/device tree/kernel/... for the board, but the other steps are always very close02:35
drizztcake1: well, this "BananaPro.sdcard.img.gz" is not much usefull, it's neither a disk image, nor a partition image, nor anything I can recognise (neither does "file" manage to identify this)02:39
nomiathat site is hanging for me02:41
drizztnomia: nathael.net ?02:43
drizzthum, it's on a board at home, but I have a very very poor internet connction ...02:43
drizztcake1: did you manage to get access to my wiki ?02:44
adhocit eventually renders a page, takes 15 seconds or so02:44
nomiaok no mandatory https02:44
drizztHo, this is pretty close to what can be expected (15s is even not that bad)02:44
nomiahttps://sd-card-images.johang.se/boards.html says for my m302:45
drizztand no, did not take time for https yet02:45
nomiaThis board is not supported by any boot image and/or Debian/Ubuntu image02:45
drizztnomia: H618 is not an exotic processor02:46
drizztI think I have orange Pi boards with it02:46
cake1yes I did, just getting ready to sit down and do this or try do do this for a spell02:47
drizztyep, at least the OPi zero 302:47
drizztmaybe others02:47
cake1your web page loads fine, thx02:47
drizztcake1: found the difference between the two files02:47
drizztcake1: explanation is here : http://wiki.nathael.net/index.php/Dev/OPi/OPiZeroPlus/From_Scratch#SD_Card_creation02:48
cake1what is it?02:48
cake1ok02:48
drizztthe SPL bootloader must be after the first 8K of the SD card02:48
cake1I kind of just went through this with a odroid I did - my post is https://forum.odroid.com/viewtopic.php?f=217&t=49070&sid=06de0c66b0031062ceae327e47bda1f602:49
drizztu-boot-sunxi-with-spl.bin is an image with the SPL bootloader image and the uboot image, which has to be flashed with the 8K seek02:49
drizztthe other image is 8K bigger, it's simply the u-boot-sunxi-with-spl.bin with 8k offset in the image02:50
drizztto be flashed from beggining of SD card02:50
drizztBUT02:50
drizztyou will erase your partition table if you do so02:51
drizztso either flash the "BananaPro.sdcard.img" to SD, and then create partition table02:51
drizztOR02:51
cake1im trying this right now either flash the "BananaPro.sdcard.img" to SD, and then create partition table02:52
drizztcreate partition table (or keep existing one) and flash "u-boot-sunxi-with-spl.bin" with 8k seek02:52
cake1I just tried "create partition table (or keep existing one) and flash "u-boot-sunxi-with-spl.bin" with 8k seek" to a existing install and it did not go02:52
drizztthe flash with the 8k seek is done this way :02:53
drizztdd if=u-boot-sunxi-with-spl.bin of=${card} bs=1k seek=802:53
cake1I missed the seek02:54
drizzt(gunzip the files before of course)02:54
cake1^ yep02:54
drizztyou have the step by step to reproduce image generation at the beggining of the page02:55
drizzttough you'll have to find the right platform to replace "PLAT=sun50i_a64" for the ARM trusted firmware part02:57
drizztand so on with each step :)02:57
cake1I need a few minutes to follow instructions.....02:57
cake1ok02:57
drizztcake1: I do not know if the "BananaPro" is for a board with a A20 processor02:59
drizztI see M2 Pro and M5 Pro boards on bananaPi website ....03:00
drizztM5 Pro has rockchip (A20 is an allwinner)03:00
drizztM2 Pro has an AMlogic03:01
drizztI do not remember what I used on my BananaPi board (it has an Allwiner A20 processor)03:04
drizztdo not know if I used an image I downloaded or if I built mine03:05
drizztIt was many years ago03:05
devuserHi - First time on this chat... Anyone know of a good Single Board Computer that will run Devuan.  I don't like systemd and want to try one.03:14
drizztdevuser: yep, there's plenty of them !03:16
nomia(: not banana pi m303:16
drizztI like the OrangePi ones, but in fact any board with sufficient open-sourceness will do the job :)03:16
drizztnomia: I'm pretty sure BPi M3 can03:17
drizztBananaPi boards are certainly also usable03:18
nomiaif it can it's not very easy03:18
drizztdevuser: you can chek my wiki too : http://wiki.nathael.net/index.php/Dev/OPi03:18
devuserOk...03:18
devuserThanks guys...03:19
drizztnomia: you can start with what's there : https://sd-card-images.johang.se/boards/banana_pi_m3.html03:19
drizztIf it can run debian, it can run devuan03:19
drizztyou get the debian image, and follow all their steps (pretty straightforward)03:20
drizztbut instead of putting the SDcard on the board to boot, you mount it on your computer, and find the partition with the rootfs, which should have a /lib/modules/ directory03:21
devuserCool... this is good info you guys...  Thanks a lot.03:21
drizztcopy what's in this directory (the modules for the kernel), and also what's in /lib/firmware/03:22
drizztthen erase the content of the rootfs, and follow information from here : http://wiki.nathael.net/index.php/Dev/Embedded/Rootfs/Devuan/FromScratch03:23
drizztonly, for part 1 (and all the other steps), use daedalus instead of ceres to get the stable flavor (ceres was not running last time I checked, I have to try again, but did not get time for this recently)03:24
nomiadrizzt: so if i follow his instructions then switch to yours i will get a devuan system image that works?03:28
drizztyou should03:29
drizztnot that after the debootstrap you get a "virgin" system, where all configuration has to be done, all stuff installed, but it should start, get you a prompt on the serial line (provided that you modified the /etc/inittab file according to the tty name for your board) and an SSH connection if you assigned a static IP (or know which IP it got through DHCP)03:31
nomiaok i will give it another go03:31
drizztHo, and copy the "modules" and "firmware" dirs back to the rootfs of course03:33
drizztthe modules should have a directory in it, with the kernel name03:34
drizztsomething like what you get with the command "uname -r"03:34
drizztarf, cake1 has left :(03:44
drizztlooks like the A20 does not use the same principle to boot03:44
drizztuboot and all is read from the first fat partition03:45
drizztcould have given him an appropriate image03:45
drizztwell a pretty old one in fact ... it's a debian jessie I have on my bananaPi R1 !!!03:47
devuserJessie rocks !   I still use it...03:48
devuserHave to leave guys....  Thanks for the help...03:48
devuserbye03:48
drizztdevuser: not been using the board for years03:48
drizztdevuser: it was a test, but did not manage to do what I wanted with it03:49
drizztnomia: tell me if you need help :)03:50
nomia(: i always need help since it hasn't worked for me03:57
drizztyou mean the steps I provided or what you tried last time ?04:00
nomiawhat i tried all the last times04:06
nomiai got most of the freebsd things to work but the last part of the build didn't04:06
nomiai got a very old ubuntu to install and run in single user but no display04:07
nomiaso i gave up but i will try your advice04:07
drizztHi all !14:06
drizztjust to keep you all up-to-date, I restarted working on the segfault problem with ? libc ? in ceres arm6414:07
drizztas suggested I tried trixie/sid, and as expected, same problem14:08
drizztGonna go on with pinpointing the origin of the problem14:08

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