Artix Linux Forum

Artix Linux => Other Architectures => ARMtix => Topic started by: letkan on 19 March 2025, 15:30:21

Title: Raspberry pi Zero 2W
Post by: letkan on 19 March 2025, 15:30:21
I've tried to install Armtix dinit on RPi Zero 2W and it was a total failure.  I followed  the install instructions (similar to ArchArm) but the green LED never turned on. Eventually I was able to boot it with /boot + kernel modules from Chimera  but connecting it to wifi was impossible.
Chimera, ArchArm, DietPi, Devuan,  installed without problem and was able to configure wifi, except ArchArm  after upgrading.
Title: Re: Raspberry pi Zero 2W
Post by: nous on 19 March 2025, 21:39:34
Perhaps install ArchArm and convert it to Armtix (https://wiki.artixlinux.org/Main/Migration)?
Title: Re: Raspberry pi Zero 2W
Post by: letkan on 20 March 2025, 07:58:15
I'll give that a try, thanks.
Title: Re: Raspberry pi Zero 2W
Post by: replabrobin on 20 March 2025, 09:14:59
I use armtix on rpi5, but have switched to using Arch Arm for linux-rpi kernel, raspberrypi-bootloader & rpi-eeprom. It makes life a lot easier as most documentation is around the raspberry pi boot mechanis rather than uboot.
Title: Re: Raspberry pi Zero 2W
Post by: letkan on 01 April 2025, 14:36:16
It took a while but I finally got Armtix dinit running beautifully and fast on my Rpi02w. The directions on armtix site (https://armtixlinux.org/) didn't work for me but using /boot from Chimera-arm worked.
I wish someone would have the time and interest in (properly) developing Armtix for various devices since I think it has great potential specially given the large amount of packages that can be borrowed from ArchArm.
Title: Re: Raspberry pi Zero 2W
Post by: gripped on 01 April 2025, 15:55:15
I wish someone would have the time and interest in (properly) developing Armtix for various devices since I think it has great potential specially given the large amount of packages that can be borrowed from ArchArm.
The thing is the developer needs one of the devices to be able to do that properly. I know back in the day Hardkernel used to donate at least one, probably more, of each of their Odroid boards to ALARM to help get the the boards supported.  Maybe they still do ?
Whether @phoenix_king_rus would be interested in adding official support to more boards if they received donations I don't know ? Time is also a thing and there's a lot of boards.
You could do a step by step write up of how you got Armtix working on the Raspberry pi Zero 2W. That would be the next best thing.
Title: Re: Raspberry pi Zero 2W
Post by: letkan on 01 April 2025, 19:53:53
Time is also a thing and there's a lot of boards.
You could do a step by step write up of how you got Armtix working on the Raspberry pi Zero 2W. That would be the next best thing.

I agree with your points and I was planing to provide a description of my process
Title: Re: Raspberry pi Zero 2W
Post by: letkan on 01 April 2025, 21:16:29
Here is how I did it, hopefully I got it right:

1. partition your card: /dev/sdb1 (500mb) fat32, /dev/sdb2 (the rest of it) ext4
2. create 3 folders: boot, root, chimera
3. $ mount /dev/sdb1 boot;  $ mount /dev/sdb2 root
4. download https://armtixlinux.org/images/armtix-dinit-20241207.tar.xz
    extract: bsdtar -xpf armtix-dinit-20241207.tar.xz -C root
   $  rm -rf root/boot/*
5. download https://repo.chimera-linux.org/live/latest/chimera-linux-aarch64-ROOTFS-20250214-rpi.tar.gz
    extract: $ bsdtar -xpf chimera-linux-aarch64-ROOTFS-20250214-rpi.tar.gz -C chimera
    $ mv chimera/boot/* boot
6. edit boot/cmdline.txt and change "root=.." to "root=/dev/mmcblk0p2"
    edit root/etc/fstab and add "/dev/mmcblk0p1  /boot   vfat    defaults        0       0"
7. copy chimera/etc/default/* to root/etc/default/
    copy chimera/usr/lib/modules/* to root/usr/lib/modules/
8. create root/etc/wpa_supplicant/wpa_supplicant.conf file and add at the top:
ctrl_interface=/run/wpa_supplicant
update_config=1
country=<your-country-code>

9. at this point you can: $ umount boot root
10. hopefully it boots and you can login root:artix. Next step is configuring wifi
11. $ wpa_passphrase "network-name" "network-password" >> /etc/wpa_supplicant/wpa_supplicant.conf
12. $ dinitctl enable wpa_supplicant (for me this didn't work, see 13)
13. I had to edit /etc/dinit.d/wpa_supplicant like this:
type            = process
command         = /usr/bin/wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf 2>&1
#env-file        = /etc/dinit.d/config/wpa_supplicant.conf
smooth-recovery = true
logfile         = /var/log/dinit/wpa_supplicant.log
depends-on      = pre-network.target
before          = network.target

Title: Re: Raspberry pi Zero 2W
Post by: phoenix_king_rus on 02 April 2025, 07:54:45
Whether @phoenix_king_rus would be interested in adding official support to more boards if they received donations I don't know ? Time is also a thing and there's a lot of boards.
That's problematic. At this moment i can only suggest owners of the board to record the steps required to boot armtix and send me html file with instructions which i'll add to info (and ping me once in while if the page doesn't appear).