OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - Void Linux support => Topic started by: greguu on June 27, 2018, 02:52:36 am

Title: Void Linux Packages
Post by: greguu on June 27, 2018, 02:52:36 am
Note: This repo is in a testing phase and will currently allow you to upgrade from a build5 rootfs or older to build6. Additional packages will be announced here for testing.

Many Thanks go to Varti & ibiblio for hosting this repository!


01. Enable the repo:

Code: [Select]
echo 'repository=https://www.oesf.org/repository/feeds/voidlinux/testing/build6' > /etc/xbps.d/00-repository-main.conf
02. Sync and Upgrade (Example):

[size=]
Code: [Select]
~ # xbps-install -Syu
[*] Updating `https://www.oesf.org/repository/feeds/voidlinux/testing/build6/armv5tel-musl-repodata' ...
armv5tel-musl-repodata: 33KB [avg rate: 2342KB/s]
`https://www.oesf.org/repository/feeds/voidlinux/testing/build6' repository has been RSA signed by "greguu"
Fingerprint: 13:09:b2:e3:ba:9b:7f:99:01:a5:45:a3:3b:79:c3:ed
Do you want to import this public key? [Y/n] y

Name        Action    Version           New version            Download size
libcrypto43 install   -                 2.7.4_1                -
libssl45    install   -                 2.7.4_1                79KB
libxbps     update    0.51_20           0.52_6                 76KB
xbps        update    0.51_20           0.52_6                 74KB

Size to download:              230KB
Size required on disk:        1805KB
Free space on disk:           1877MB


[*] Downloading binary packages
libcrypto43-2.7.4_1.armv5tel-musl.xbps.sig: 256B [avg rate: 749KB/s]
libssl45-2.7.4_1.armv5tel-musl.xbps: 79KB [avg rate: 170KB/s]
libssl45-2.7.4_1.armv5tel-musl.xbps.sig: 256B [avg rate: 746KB/s]
libxbps-0.52_6.armv5tel-musl.xbps: 76KB [avg rate: 335KB/s]
libxbps-0.52_6.armv5tel-musl.xbps.sig: 256B [avg rate: 706KB/s]
xbps-0.52_6.armv5tel-musl.xbps: 74KB [avg rate: 108KB/s]
xbps-0.52_6.armv5tel-musl.xbps.sig: 256B [avg rate: 708KB/s]

[*] Verifying package integrity
libcrypto43-2.7.4_1: verifying RSA signature...
libssl45-2.7.4_1: verifying RSA signature...
libxbps-0.52_6: verifying RSA signature...
xbps-0.52_6: verifying RSA signature...

[*] Running transaction tasks
libcrypto43-2.7.4_1: unpacking ...
libssl45-2.7.4_1: unpacking ...
libxbps-0.51_20: updating to 0.52_6 ...
libxbps-0.52_6: unpacking ...
xbps-0.51_20: updating to 0.52_6 ...
xbps-0.52_6: unpacking ...

[*] Configuring unpacked packages
libcrypto43-2.7.4_1: configuring ...
libcrypto43-2.7.4_1: installed successfully.
libssl45-2.7.4_1: configuring ...
libssl45-2.7.4_1: installed successfully.
libxbps-0.52_6: configuring ...
libxbps-0.52_6: updated successfully.
xbps-0.52_6: configuring ...
xbps-0.52_6: updated successfully.

3 downloaded, 2 installed, 2 updated, 2 configured, 0 removed.
[/size]

03. Once xbps has been upgraded, sync once more to fetch the remaining packages:

[size=]
Code: [Select]
~ # xbps-install -Syu
[*] Updating `https://www.oesf.org/repository/feeds/voidlinux/testing/build6/armv5tel-musl-repodata' ...

......


21 downloaded, 1 installed, 31 updated, 1 configured, 0 removed.
[/size]

04. The kernel was also upgraded, so reboot to have the change take effect.
Title: Void Linux Packages
Post by: Varti on June 27, 2018, 06:36:36 am
Nice to see that the repository is working, and thanks for maintaining it! Basically, everytime you run the xpbs client you need to check if the xbps' package is listed in the Binary packages download list; if so, it means it has been updated and you need to run the client again for the remaining packages? Also, how do you tell the kernel has been updated, and so a reboot is required?

Varti
Title: Void Linux Packages
Post by: greguu on June 27, 2018, 06:59:54 am
Quote from: Varti
Nice to see that the repository is working, and thanks for maintaining it! Basically, everytime you run the xpbs client you need to check if the xbps' package is listed in the Binary packages download list; if so, it means it has been updated and you need to run the client again for the remaining packages? Also, how do you tell the kernel has been updated, and so a reboot is required?

Varti

Yes, same as with pacman (Arch) and other package managers, if there is an update for the package manager, the package manager will need to update first. There is no need to check, you will notice the first sync will only list xbps and xbps dependencies if an update is available. On Arch however, pacman resumes the remaining update automatically, whereas with void you need to trigger it manually.

The kernel update was listed as part of the packages that would receive an update.

Code: [Select]
linux4.14-zaurus update    4.14.47_1         4.14.50_1              9639KB
Title: Void Linux Packages
Post by: Varti on June 27, 2018, 08:03:22 am
Quote from: greguu
The kernel update was listed as part of the packages that would receive an update.

Code: [Select]
linux4.14-zaurus update    4.14.47_1         4.14.50_1              9639KB
Ok, missed the name of the package containing the kernel, thanks for the explanation.

Varti
Title: Void Linux Packages
Post by: greguu on September 06, 2018, 05:13:34 am
Hi!
  There is a new testing repository available (build7).

 You can switch to the new repo and upgrade from previous builds via:
Code: [Select]
echo   'repository=https://www.oesf.org/repository/feeds/voidlinux/testing/build7'   >   /etc/xbps.d/00-repository-main.confthen you will need to run the following twice and wait for the update to take place.
Code: [Select]
xbps-install -Su
A reboot is necessary to have the kernel update take effect.

Note: To see the available packages run:
Code: [Select]
xbps-query -Rs "" | more
Alternatively see the attached txt file for a list of packages available in the build7 repository.
Title: Void Linux Packages
Post by: greguu on September 06, 2018, 05:19:35 am
Feel free to request packages to be included in the next upcoming build. Cheers!
Title: Void Linux Packages
Post by: greguu on October 16, 2018, 03:14:41 am
The voidz build7 repo was updated.Following packages have been added:
kernel-libc-headers,git,xtools,lighttpd

Note: For a complete list of available binary packages see the attached txt file.
Title: Void Linux Packages
Post by: greguu on February 18, 2019, 05:17:07 am
The voidz repo has been updated to build8.
Feel free to test:
Quote
echo 'repository=https://www.oesf.org/repository/feeds/voidlinux/testing/build8' > /etc/xbps.d/00-repository-main.confxbps-install -Su
xbps-install -Su
Title: Void Linux Packages
Post by: Varti on February 18, 2019, 09:58:51 am
Quote from: greguu
The voidz repo has been updated to build8.
Feel free to test:
Quote
echo 'repository=https://www.oesf.org/repository/feeds/voidlinux/testing/build8' > /etc/xbps.d/00-repository-main.confxbps-install -Su
xbps-install -Su
Thanks, I'll test it and report back.

Varti
Title: Void Linux Packages
Post by: greguu on April 18, 2019, 01:48:06 am
Last month I did build an experimental Linux 5.0.0 kernel for Sharp Zaurus C3x00. After some patching it seems to work fine. The new kernel is also available in the build8 repository and will make it eventually in the next voidz rootfs build. If you want to install and test it, use xbps-install or download the file attached and install manually and update your boot.cfg accordingly. This kernel should also work fine with ArchLinuxARM for those interested.

Patches applied to this kernel can be found in the xbps-src template on github:

https://github.com/greguu/voidz-packages/tr...linux5.0-zaurus (https://github.com/greguu/voidz-packages/tree/voidz-packages-v03-(build8)/srcpkgs/linux5.0-zaurus)
Title: Re: Void Linux Packages
Post by: greguu on March 14, 2025, 08:45:07 pm
There will be a new voidz release coming up,  initially with kernel 5.4.229, perhaps with a newer 6.x based kernel later on.

The package feed will contain the same packages as in the last release plus netsurf browser and libraries.


Please let me know what packages you like to have included in the package feed.

Title: Re: Void Linux Packages
Post by: Varti on March 17, 2025, 01:50:06 pm
This is great news, I really missed these announcements  :) thanks greguu!

Varti
Title: Re: Void Linux Packages
Post by: Varti on March 19, 2025, 06:26:33 am
I have forwarded the news on three subreddits, let's see if we get any feedback there:

https://www.reddit.com/r/OldHandhelds/comments/1jetqqa/new_release_of_void_linux_for_sharp_zaurus/
https://www.reddit.com/r/retrobattlestations/comments/1jetrhy/new_release_of_void_linux_for_sharp_zaurus/
https://www.reddit.com/r/vintagecomputing/comments/1jetrye/new_release_of_void_linux_for_sharp_zaurus/

Varti
Title: Re: Void Linux Packages
Post by: glu on April 06, 2025, 02:50:56 pm
Hi,

I am running Kernel 4.19.0 from build-008 and I have a question regarding power management. It seems that (compared to NetBSD but also older kernels from e.g. Cacko) the power management code has issues when I use it with USB Wi-Fi dongle. It very often reads low/critical battery voltage (probably due to a short term peak power draw from the dongle) and forces standby - while not turning on offline charging mode. So once in standby, device can't be charged because charger hasn't been put to offline mode.

The problem also appears in the kexecboot 3.x kernel. This usually manifests itself so that when device reaches kexecboots, the power management code reads low battery and forces it into standby - while again not enabling offline charging. Once in this mode, devices can be woken up for a second, only to go back into standby again.

Has anyone noticed this too? Did the power management code for zaurus get any updates in the 5.x kernels?
Title: Re: Void Linux Packages
Post by: greguu on April 17, 2025, 06:04:34 am
The power management is a bit broken since 3.x kernel I think.
You can re-plug the charger cable _after booting_ and the zaurus may charge properly.