Skip to main content
Topic: Raspberry pi Zero 2W (Read 437 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Raspberry pi Zero 2W

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.


Re: Raspberry pi Zero 2W

Reply #2
I'll give that a try, thanks.

Re: Raspberry pi Zero 2W

Reply #3
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.

Re: Raspberry pi Zero 2W

Reply #4
It took a while but I finally got Armtix dinit running beautifully and fast on my Rpi02w. The directions on armtix site 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.

Re: Raspberry pi Zero 2W

Reply #5
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.

Re: Raspberry pi Zero 2W

Reply #6
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

Re: Raspberry pi Zero 2W

Reply #7
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


Re: Raspberry pi Zero 2W

Reply #8
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).
ARMtix

 
Artix forum uses a single cookie to remember youOK