Sopine Fedora 32 on clusterboard w/networking - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64-LTS / SOPINE Compute Module (https://forum.pine64.org/forumdisplay.php?fid=66) +--- Forum: Linux on PINE A64-LTS / SOPINE (https://forum.pine64.org/forumdisplay.php?fid=69) +--- Thread: Sopine Fedora 32 on clusterboard w/networking (/showthread.php?tid=10182) |
Sopine Fedora 32 on clusterboard w/networking - revoman - 06-10-2020 Just jotting down some notes, and a question after going through a painful process of trying to get a non-debian derivative Linux OS on my cluster. After some twists and turns I finally came back around to a post I saw regarding the arm-image-installer and a F30 image. I run Fedora on my workstation, so all of the instructions assume a fedora build box.
Also, if I power cycle the board, the setting from #10 gets erased. Question to the community. How do I make `mi w 1c30000 1f 7; mi w 1c30000 1e a4 ; mi w 1c30000 1c b573 ; mi w 1c30000 1f 0` persistent? Is this u-boot? is this EFI? I am a bit out of my league here. Thanks in advance, -Nate R (06-10-2020, 12:09 PM)revoman Wrote: ...Found the answer to my own question. Quite a crazy journey, but now I have fully working Fedora 32 sopine compute modules! Now to k8s it. The key came in this link: https://github.com/linux-sunxi/u-boot-sunxi/wiki Turns out the u-boot process looks for a `boot.scr` file on the first fat partition for running scripts. There was some pretty crazy dynamic variables going on, so it took a minute to get right. Here's what I ended up with. First fat boot device is mounted under /boot/efi cd /boot/efi Create the text file /boot/efi/boot.txt Fill it with the u-boot commands you wish to execute. (note, current scripting continues the boot after these, so no need to re-run bootcmd) Code: echo starting eth0 fix Now comes the magic. Use the command mkimage to turn it into a binary file u-boot can handle. Code: mkimage -A arm -T script -O linux -d boot.txt boot.scr Reboot and profit. -Nate Revo RE: Sopine Fedora 32 on clusterboard w/networking - maya.b - 01-17-2021 Hiya, All of this has become easy and just works with F33 (or at least hte IoT version) for aarch64. I currently have 28 nodes on 4 clusterboards up and running without issue (apart from ones I create for myself) M. RE: Sopine Fedora 32 on clusterboard w/networking - revoman - 04-01-2022 (01-17-2021, 08:50 AM)maya.b Wrote: Hiya, Thanks for the update. Do you have any PCI cards in your boards? The other issue I had was Fedora intentionally disabled the PCI-e slot. -Nate RE: Sopine Fedora 32 on clusterboard w/networking - langerma - 12-06-2022 (01-17-2021, 08:50 AM)maya.b Wrote: Hiya, can you just take the raw image and write it to a sd card without this whole arm-installer thingy? br. Markus RE: Sopine Fedora 32 on clusterboard w/networking - poVoq - 04-06-2023 Seems to work with Fedora 37 IoT by just using the arm-installer to write the raw image on a SD card. Don't forget to add the SSH pub key as the IoT raw images do not allow root login with password. My Sopine modules in the Clusterboard boot up fine and get a IP address from DHCP. I used this command to write the raw image on my SD cards: Code: sudo arm-image-installer --resizefs --image=Fedora-IoT-37-20221118.0.aarch64.raw.xz --media=/dev/sdc --target=sopine_baseboard --addkey ~/.ssh/id_rsa.pub The Fedora IoT 38 Beta raw image seems to be broken though, at least my first attempt with it didn't work. RE: Sopine Fedora 32 on clusterboard w/networking - langerma - 04-08-2023 (04-06-2023, 03:38 PM)poVoq Wrote: Seems to work with Fedora 37 IoT by just using the arm-installer to write the raw image on a SD card. Don't forget to add the SSH pub key as the IoT raw images do not allow root login with password. My Sopine modules in the Clusterboard boot up fine and get a IP address from DHCP.yes i tried it with server 37 and 38 without resizefs flag it is working fine :-) so all good. i just want to have the server version running as i am going to utilize the nodes with nomad and docker to use csi volumes. with podman this is not working though. but is there a way to skip the srial installation method and fully configure the image with a textfile or sth. like this? br. markus RE: Sopine Fedora 32 on clusterboard w/networking - poVoq - 04-10-2023 The non IoT aarch64 raw images should work as well. Once you installed it on one SD card with the Fedora installer you can use dd to make a disk image yourself and write that to other SD cards, but I don't really see the benefit. RE: Sopine Fedora 32 on clusterboard w/networking - langerma - 04-10-2023 well i do not want to go throught the installation routine on 45 sdcards :-) thats all. |