| cake1 | hello, 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 |
|---|---|---|
| drizzt | yop :) | 02:20 |
| cake1 | hello | 02:20 |
| drizzt | I have a bpi, gonna check which one :) | 02:21 |
| cake1 | I tried to switch to devuan from armbian but something gets messed up, so I thought that there may be another way? | 02:21 |
| drizzt | there are many many ways :) | 02:22 |
| cake1 | This guy also has current images https://sd-card-images.johang.se/boards/banana_pi_m1plus.html | 02:22 |
| drizzt | if you're interrested in understanding the whole process I have some info there : http://wiki.nathael.net/index.php/Dev/OPi | 02:23 |
| cake1 | but for some reason from bookworm folling instructions and first reboot something gets stuck | 02:23 |
| cake1 | ok | 02:23 |
| drizzt | These are for OrangePi boards, but the principle is exactly the same whatever the board | 02:23 |
| drizzt | Well, it's not the M1 I have, but I have many other boards with an A20 processor | 02:24 |
| cake1 | okay thx for the link, ill try and follow OPi3 and adapt it to my device | 02:26 |
| drizzt | For 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_creation | 02:26 |
| drizzt | My wiki is not "cleanly organised", but you'll find many tips and informations there | 02:26 |
| cake1 | So I think the uboot part is allready done by devuan with the file u-boot-sunxi-with-spl.bin | 02:27 |
| drizzt | cake1: not that uboot is not on a partition | 02:28 |
| cake1 | the other file is called BananaPro.sdcard.img and is half a MB | 02:28 |
| cake1 | I can dd it to a partition? | 02:29 |
| drizzt | I don't know, I just downloaded it and I'll check what it is | 02:29 |
| drizzt | I would have tought it was much bigger, with a full rootfs | 02:30 |
| nomia | (: hi | 02:31 |
| nomia | i hope cake1 can get this to work | 02:31 |
| nomia | i have a banana m3 that needs a os | 02:32 |
| drizzt | nomia: 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/OPi | 02:34 |
| drizzt | It's for orangePi boards, but the principle is axactly the same for any board | 02:34 |
| drizzt | you just have to use the right uboot/config/device tree/kernel/... for the board, but the other steps are always very close | 02:35 |
| drizzt | cake1: 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 |
| nomia | that site is hanging for me | 02:41 |
| drizzt | nomia: nathael.net ? | 02:43 |
| drizzt | hum, it's on a board at home, but I have a very very poor internet connction ... | 02:43 |
| drizzt | cake1: did you manage to get access to my wiki ? | 02:44 |
| adhoc | it eventually renders a page, takes 15 seconds or so | 02:44 |
| nomia | ok no mandatory https | 02:44 |
| drizzt | Ho, this is pretty close to what can be expected (15s is even not that bad) | 02:44 |
| nomia | https://sd-card-images.johang.se/boards.html says for my m3 | 02:45 |
| drizzt | and no, did not take time for https yet | 02:45 |
| nomia | This board is not supported by any boot image and/or Debian/Ubuntu image | 02:45 |
| drizzt | nomia: H618 is not an exotic processor | 02:46 |
| drizzt | I think I have orange Pi boards with it | 02:46 |
| cake1 | yes I did, just getting ready to sit down and do this or try do do this for a spell | 02:47 |
| drizzt | yep, at least the OPi zero 3 | 02:47 |
| drizzt | maybe others | 02:47 |
| cake1 | your web page loads fine, thx | 02:47 |
| drizzt | cake1: found the difference between the two files | 02:47 |
| drizzt | cake1: explanation is here : http://wiki.nathael.net/index.php/Dev/OPi/OPiZeroPlus/From_Scratch#SD_Card_creation | 02:48 |
| cake1 | what is it? | 02:48 |
| cake1 | ok | 02:48 |
| drizzt | the SPL bootloader must be after the first 8K of the SD card | 02:48 |
| cake1 | I 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=06de0c66b0031062ceae327e47bda1f6 | 02:49 |
| drizzt | u-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 seek | 02:49 |
| drizzt | the other image is 8K bigger, it's simply the u-boot-sunxi-with-spl.bin with 8k offset in the image | 02:50 |
| drizzt | to be flashed from beggining of SD card | 02:50 |
| drizzt | BUT | 02:50 |
| drizzt | you will erase your partition table if you do so | 02:51 |
| drizzt | so either flash the "BananaPro.sdcard.img" to SD, and then create partition table | 02:51 |
| drizzt | OR | 02:51 |
| cake1 | im trying this right now either flash the "BananaPro.sdcard.img" to SD, and then create partition table | 02:52 |
| drizzt | create partition table (or keep existing one) and flash "u-boot-sunxi-with-spl.bin" with 8k seek | 02:52 |
| cake1 | I 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 go | 02:52 |
| drizzt | the flash with the 8k seek is done this way : | 02:53 |
| drizzt | dd if=u-boot-sunxi-with-spl.bin of=${card} bs=1k seek=8 | 02:53 |
| cake1 | I missed the seek | 02:54 |
| drizzt | (gunzip the files before of course) | 02:54 |
| cake1 | ^ yep | 02:54 |
| drizzt | you have the step by step to reproduce image generation at the beggining of the page | 02:55 |
| drizzt | tough you'll have to find the right platform to replace "PLAT=sun50i_a64" for the ARM trusted firmware part | 02:57 |
| drizzt | and so on with each step :) | 02:57 |
| cake1 | I need a few minutes to follow instructions..... | 02:57 |
| cake1 | ok | 02:57 |
| drizzt | cake1: I do not know if the "BananaPro" is for a board with a A20 processor | 02:59 |
| drizzt | I see M2 Pro and M5 Pro boards on bananaPi website .... | 03:00 |
| drizzt | M5 Pro has rockchip (A20 is an allwinner) | 03:00 |
| drizzt | M2 Pro has an AMlogic | 03:01 |
| drizzt | I do not remember what I used on my BananaPi board (it has an Allwiner A20 processor) | 03:04 |
| drizzt | do not know if I used an image I downloaded or if I built mine | 03:05 |
| drizzt | It was many years ago | 03:05 |
| devuser | Hi - 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 |
| drizzt | devuser: yep, there's plenty of them ! | 03:16 |
| nomia | (: not banana pi m3 | 03:16 |
| drizzt | I like the OrangePi ones, but in fact any board with sufficient open-sourceness will do the job :) | 03:16 |
| drizzt | nomia: I'm pretty sure BPi M3 can | 03:17 |
| drizzt | BananaPi boards are certainly also usable | 03:18 |
| nomia | if it can it's not very easy | 03:18 |
| drizzt | devuser: you can chek my wiki too : http://wiki.nathael.net/index.php/Dev/OPi | 03:18 |
| devuser | Ok... | 03:18 |
| devuser | Thanks guys... | 03:19 |
| drizzt | nomia: you can start with what's there : https://sd-card-images.johang.se/boards/banana_pi_m3.html | 03:19 |
| drizzt | If it can run debian, it can run devuan | 03:19 |
| drizzt | you get the debian image, and follow all their steps (pretty straightforward) | 03:20 |
| drizzt | but 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/ directory | 03:21 |
| devuser | Cool... this is good info you guys... Thanks a lot. | 03:21 |
| drizzt | copy what's in this directory (the modules for the kernel), and also what's in /lib/firmware/ | 03:22 |
| drizzt | then erase the content of the rootfs, and follow information from here : http://wiki.nathael.net/index.php/Dev/Embedded/Rootfs/Devuan/FromScratch | 03:23 |
| drizzt | only, 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 |
| nomia | drizzt: so if i follow his instructions then switch to yours i will get a devuan system image that works? | 03:28 |
| drizzt | you should | 03:29 |
| drizzt | not 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 |
| nomia | ok i will give it another go | 03:31 |
| drizzt | Ho, and copy the "modules" and "firmware" dirs back to the rootfs of course | 03:33 |
| drizzt | the modules should have a directory in it, with the kernel name | 03:34 |
| drizzt | something like what you get with the command "uname -r" | 03:34 |
| drizzt | arf, cake1 has left :( | 03:44 |
| drizzt | looks like the A20 does not use the same principle to boot | 03:44 |
| drizzt | uboot and all is read from the first fat partition | 03:45 |
| drizzt | could have given him an appropriate image | 03:45 |
| drizzt | well a pretty old one in fact ... it's a debian jessie I have on my bananaPi R1 !!! | 03:47 |
| devuser | Jessie rocks ! I still use it... | 03:48 |
| devuser | Have to leave guys.... Thanks for the help... | 03:48 |
| devuser | bye | 03:48 |
| drizzt | devuser: not been using the board for years | 03:48 |
| drizzt | devuser: it was a test, but did not manage to do what I wanted with it | 03:49 |
| drizzt | nomia: tell me if you need help :) | 03:50 |
| nomia | (: i always need help since it hasn't worked for me | 03:57 |
| drizzt | you mean the steps I provided or what you tried last time ? | 04:00 |
| nomia | what i tried all the last times | 04:06 |
| nomia | i got most of the freebsd things to work but the last part of the build didn't | 04:06 |
| nomia | i got a very old ubuntu to install and run in single user but no display | 04:07 |
| nomia | so i gave up but i will try your advice | 04:07 |
| drizzt | Hi all ! | 14:06 |
| drizzt | just to keep you all up-to-date, I restarted working on the segfault problem with ? libc ? in ceres arm64 | 14:07 |
| drizzt | as suggested I tried trixie/sid, and as expected, same problem | 14:08 |
| drizzt | Gonna go on with pinpointing the origin of the problem | 14:08 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!