Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - greguu

Pages: [1] 2 3 ... 27
1
Zaurus - Arch Linux ARM support / Re: Sdl With Directfb Packages
« on: February 01, 2021, 10:53:00 pm »
hi
I am working on my old gentoo 2010 stage4, and I'd like to add DirectFB to my overlay.
Is there any repository? I need sources, and patches.

Any news since 2015/2016?

let me know, this topic is awesome  :D

The OP in this thread had the patches included in the PKBUILD archive for Arch Linux ARM as attachments.

The PKBUILD also contains links to sources. I am sure you can make a .ebuild from that.
There are also older .ebuild for DirectFB still floating around in the internet despite that Gentoo has abandoned DirectFB.

Since DirectFB is no longer maintained for several years now I am not sure the directfb-fusion kernel module still compiles and works. Its not required, but would allow to run multiple DirectFB based application at the same time.

Sources can also be found here https://github.com/deniskropp/linux-fusion for this module. Not sure this is the latest version though as it may have been forked.

You may need to test some older DirectFB versions for 2.6 kernels, but it should be very possible to get it to work in Gentoo.

2
Zaurus - Void Linux support / Re: Void Linux
« on: January 30, 2021, 11:00:41 pm »
Hi greguu, OESF!

I've recently been trying to get a modern version of Linux working on a Zaurus SL-C1000 (your GitHub repo has been really useful for this greguu), and I'm currently trying out voidz which I'm really liking. So big thank you!

One small issue I'm facing at the moment though is getting `man` working... I have installed man, but it doesn't work with the version of `less` in `busybox`. I'd like to install a full version of less, but when I do this it uninstalls `busybox-zaurus` leaving me with a broken system haha

Any help on how to get around this with the package manager would be much appreciated!!

Hi lfdebrux,

busybox-zaurus provides "less",  but normally xbps should allow you to install the full version of "less".
I do not have my Zaurus available right now to test and reproduce, but you can follow the xbps guide on how to ignore packages.

https://docs.voidlinux.org/xbps/advanced-usage.html

This may help to overcome this issue. Alternatively you should be able to extract the "less" binary manually from the package file and overwrite the symlink to busybox with it.

I have not updated the repo for Voidz for quite some time and may find time later this year to do another build. I can then consider these issues and any package requests that are currently not in the Voidz repo.

Cheers,

Greguu

3
Hi there,

this package is not available for Arch Linux ARM ( or Void Linux for that matter). You will need to build it from source.
Older Slackware ARM builds have a binary here: https://slackware.pkgs.org/14.1/slackware-armv5/gcc-gnat-4.8.2-arm-1.tgz.html
This may help to bootstrap a newer build, you may need to use the older Slackware for that (in a chroot).

Hope that helps.

Cheers,

Greguu

4
Zaurus - Hardware discussion / SL-C31000 / Strange switch
« on: May 22, 2020, 03:25:46 am »
Quote from: greguu
Quote from: greguu
Quote from: Stefan_Wtal
Quote from: greguu
Maybe a long shot, but the switch could be isolating the battery, allowing a hard reset without taking out the battery.Can you try to run the Zaurus while on battery only and then toggle the switch ?
If that is not it, maybe worth dismantling the Zaurus to see what it actually does, I am quite curious. There is a picture guide somewhere in this forum that shows all the steps.
Zaurus is booting up into Kexecboot without PSU attached, regardless the position of the switch.
Maybe I will dismantle the device in the future, but for the moment I plan to install a system on it first.
This will also give a good chance to see what happens to the system when toggling the switch.

Rgds,
Stefan
*We are still interested in what the switch does..


Any chance of pictures of the inside of the Zaurus ? There is a guide on this forum somewhere on how to dismantle the Zaurus.

bump

5
Zaurus - Void Linux support / Void Install Guide
« on: May 22, 2020, 03:24:27 am »
Quote from: Varti
Quote from: MaBo
I thought it all was working well, but now I get an error with installing packages:
Certificate verification failed.

What is wrong? I thought it worked all right earlier...

Maarten
That error appears when either the date on your Zaurus is wrong, or the repository you're using has currently certification issues. The latter is solved by temporarily switching the repository's URL from https to http, or by changing repository:

The repositories can be changed from the default by copying the /usr/share/xbps.d/00-repository-main.conf file to /etc/xbps.d/ directory and editing the repository for example:
Code: [Select]
repository=http://alpha.us.repo.voidlinux.org/currenthttps://tutel.me/c/unix/questions/491888/vo...fication+failed

Varti

Hi,

just to clarify, the official Void repos do not have ARMv5tel packages and are not of use for Zaurus users.

If you received a certificate error for the Voidz repo that is hosted on OESF, this should be resolved now.
To set back your repo to the default Voidz one use this command*

Code: [Select]
echo 'repository=https://www.oesf.org/repository/feeds/voidlinux/testing/build8' > /etc/xbps.d/00-repository-main.confIf there is some more demand, I may update the voidz repository again this year, but so far the voidz usage has been quite low unfortunately.

Cheers,
Greguu

6
Zaurus - Other distros support / games and emulators on the SL-5500
« on: April 13, 2020, 10:37:18 pm »
Quote from: ceratophyllum
Quote from: greguu
Just had a thought, the boot.cfg syntax had changed with newer kexecboot kernels. so best to check the boot.cfg included with zgrom and adjust to syntax present in newer kexecboot kernel (voidz, alarmz or oe)

ok, I'm using the arch 3.10 kexecboot linked in the Void Linux install thread.  It works fine with void and zubuntu, but I still get a messed up screen after some text scrolls by too quickly to read with zgrom. zgrom makes it to the login: prompt but I get errors saying something   about deleted inode and ext2fs_lookup. fsck.ext2  finds nothing wrong   with /deb/mmcblk0p1. It mounts and seems normal with the card in my PC.    You can type, but nothing happens when you press enter.
zgrom and zubuntu partitions are formatted ext2.


mmcblk0p1 is zgrom

/boot/zImage is the spitz zImage. (I'm using SL-3100.)
/boot/boot.cfg says this:
Code: [Select]
# First kernel stanza.          # Show this label in kexecboot menu.
              LABEL=ZGrom-0.1
              # Specify full kernel path on target.
              KERNEL=/boot/zImage
              #
              # Append this tags to the kernel cmdline.
              APPEND=console=ttyS0,115200n8 console=tty1 fbcon=rotate:1
/etc/fstab says:
Code: [Select]
# stock fstab - you probably want to override this with a machine specific one
          
          #rootfs               /                    auto       defaults              1  1
          /dev/mmcblk0p1        /    auto    rw,noatime    1  1
          
          
          proc                 /proc                proc       defaults              0  0
          devpts               /dev/pts             devpts     mode=0620,gid=5       0  0
          usbdevfs             /proc/bus/usb        usbdevfs   noauto                0  0
          tmpfs                /var/volatile        tmpfs      defaults              0  0
          tmpfs                /media/ram           tmpfs      defaults              0  0
          
          # uncomment this if your device has a SD/MMC/Transflash slot
          #/dev/mmcblk0p1       /media/card          auto       defaults,sync,noauto  0  0

zubuntu is mmcblk0p2. There is no /boot/boot.cfg, but /boot/kernel-cmdline.
kernel-cmdline says:
Code: [Select]
console=ttyS0,115200n8 console=tty1 noinitrd rootfstype=ext2 fbcon=rotate:1 dyntick=enable debug psplash=true quiet

Void is mmcblk0p3, and it is ext4.
/boot/boot.cfg says:
Code: [Select]
LABEL=VoidLinux
        KERNEL=/boot/zImage
        APPEND=root=/dev/mmcblk0p3 rootfstype=ext4 fbcon=rotate:1 noinitrd quiet
I use the same syntax with Void in mmcblk0p3, so I don't understand what is wrong with zgrom.

try to add
Code: [Select]
root=/dev/mmcblk0p1 rootfstype=ext2 to the zgrom boot.cfg and also try to load zgrom from a single partitioned ext2 sdcard with size of <=4GB

7
Gemini PDA - Sailfish OS / New Sailfish OS 3.3.0.14
« on: April 09, 2020, 03:10:16 am »
Quote from: idc
Hi,
Just a heads up that Sailfish 3.3.0.14 was released to Early Adopters on the 2nd April. Usually it will be made available to everyone else as an update about a week later. I'm looking forward to upgrading my system.
Sadly, it doesn't appear that support for the Cosmo was included in this version. This is disappointing. I've emailed Davide Guidi in the hope of hearing whether there is any work going on to make a version available for the Cosmo. I'll post if hear anything back.
All the best,
Ian

good news. kernel will be still based on the 3.18 series, but at least some support and update. thanks jolla.
btw. is this for the community or official release ? could not find anything on blog.jolla.com or jolla.com about this release for the gemini.

8
Zaurus - Hardware discussion / SL-C31000 / Strange switch
« on: April 09, 2020, 03:03:24 am »
Quote from: greguu
Quote from: Stefan_Wtal
Quote from: greguu
Maybe a long shot, but the switch could be isolating the battery, allowing a hard reset without taking out the battery.Can you try to run the Zaurus while on battery only and then toggle the switch ?
If that is not it, maybe worth dismantling the Zaurus to see what it actually does, I am quite curious. There is a picture guide somewhere in this forum that shows all the steps.
Zaurus is booting up into Kexecboot without PSU attached, regardless the position of the switch.
Maybe I will dismantle the device in the future, but for the moment I plan to install a system on it first.
This will also give a good chance to see what happens to the system when toggling the switch.

Rgds,
Stefan
*We are still interested in what the switch does..


Any chance of pictures of the inside of the Zaurus ? There is a guide on this forum somewhere on how to dismantle the Zaurus.

9
Zaurus - Arch Linux ARM support / Got LXDE worked.
« on: April 09, 2020, 03:01:12 am »
Quote from: cain2pang
Quote from: greguu
Quote from: cain2pang
Quote from: Varti
Impressive. How's the overall speed? Were all the dependencies available, or did you need to crosscompile one or more packages? Did you try any program with a GUI?

Varti
All the dependencies are installed by pacman, the X is very slow so it's just for fun.
Good stuff cain2pang,

 I had no time to continue on the kernel since 5.0
Did you need to patch the 5.4.23 kernel other than using the patches from the 5.0.0 release of the voidz kernel (https://github.com/greguu/voidz-packages/tree/voidz-packages-v03-(build8)/srcpkgs/linux5.0-zaurus) ?
If yes, please let us know what needed patching.
Thanks,
Greguu
I just used the patches from the 5.0.0 releases of voidz kernel, it seems work well with kernel 5.4.23.

Ok, great to know. WiFi, SD, Audio working ?
What kexecboot version are you using by the way ?

10
Zaurus - Other distros support / games and emulators on the SL-5500
« on: April 09, 2020, 02:55:26 am »
Quote from: greguu
Quote from: ceratophyllum
Quote from: greguu
...
...slightly off topic as not for the SL-5500, but zgrom is still a good ROM for emulation and gaming on Sharp Zaurus Cxx00 series. https://code.google.com/archive/p/zgrom/
it uses a modified SDL version that uses iwmmxt optimized rotation and blitting directly to the framebuffer.
sadly the source was lost...

I can't find a version of kexecboot which will boot zgrom. The zgrom root filesystem has kernel 3.2.30 zImage, so I'm guessing I need a kexecboot kernel close to that version for it to work?  Could someone who has zgrom working upload the kexecboot "installkit".  By installkit, I mean the file containing gnu-tar, updater.sh, zImage. It might also be interesting to see what is in your boot.cfg.

I tried 3.2.18 and a few other versions from https://github.com/LinuxPDA/linux-kexecboot...e/master/zaurus but it is always a black screen. The zgrom rootfs is on the first 4GB partition of an SD card in SL-C3100.  

I tried downgrading to the Omegamoon kexecboot 2.6.? (found in Wayback Machine) and it still gives a black screen when I try to boot zgrom.
 I tried zubuntu jaunty in the second partition and it boots fine using that kexecboot. The speed is amazing. Too bad you can't find any packages for it anymore.....Maybe a mirror of the package repo is someplace in the Wayback Machine?


zgrom should boot on most kexecboot kernels, but you need to place the kernel into /boot manually and format your sdcard with ext2 I think. zgrom is expecting to be booted of sdcard afaik.
wiki was lost.    but maybe archive.org or wayback machine can help to find zgrom how-to




Just had a thought, the boot.cfg syntax had changed with newer kexecboot kernels. so best to check the boot.cfg included with zgrom and adjust to syntax present in newer kexecboot kernel (voidz, alarmz or oe)

11
Zaurus - Other distros support / games and emulators on the SL-5500
« on: April 09, 2020, 02:49:01 am »
Quote from: ceratophyllum
Quote from: greguu
...
...slightly off topic as not for the SL-5500, but zgrom is still a good ROM for emulation and gaming on Sharp Zaurus Cxx00 series. https://code.google.com/archive/p/zgrom/
it uses a modified SDL version that uses iwmmxt optimized rotation and blitting directly to the framebuffer.
sadly the source was lost...

I can't find a version of kexecboot which will boot zgrom. The zgrom root filesystem has kernel 3.2.30 zImage, so I'm guessing I need a kexecboot kernel close to that version for it to work?  Could someone who has zgrom working upload the kexecboot "installkit".  By installkit, I mean the file containing gnu-tar, updater.sh, zImage. It might also be interesting to see what is in your boot.cfg.

I tried 3.2.18 and a few other versions from https://github.com/LinuxPDA/linux-kexecboot...e/master/zaurus but it is always a black screen. The zgrom rootfs is on the first 4GB partition of an SD card in SL-C3100.  

I tried downgrading to the Omegamoon kexecboot 2.6.? (found in Wayback Machine) and it still gives a black screen when I try to boot zgrom.
 I tried zubuntu jaunty in the second partition and it boots fine using that kexecboot. The speed is amazing. Too bad you can't find any packages for it anymore.....Maybe a mirror of the package repo is someplace in the Wayback Machine?


zgrom should boot on most kexecboot kernels, but you need to place the kernel into /boot manually and format your sdcard with ext2 I think. zgrom is expecting to be booted of sdcard afaik.
wiki was lost.    but maybe archive.org or wayback machine can help to find zgrom how-to

12
Zaurus - Hardware discussion / SL-C31000 / Strange switch
« on: March 17, 2020, 03:26:16 am »
Quote from: Stefan_Wtal
Quote from: greguu
Maybe a long shot, but the switch could be isolating the battery, allowing a hard reset without taking out the battery.Can you try to run the Zaurus while on battery only and then toggle the switch ?
If that is not it, maybe worth dismantling the Zaurus to see what it actually does, I am quite curious. There is a picture guide somewhere in this forum that shows all the steps.
Zaurus is booting up into Kexecboot without PSU attached, regardless the position of the switch.
Maybe I will dismantle the device in the future, but for the moment I plan to install a system on it first.
This will also give a good chance to see what happens to the system when toggling the switch.

Rgds,
Stefan
*We are still interested in what the switch does..

13
Zaurus - Arch Linux ARM support / Need cross compile tutorials.
« on: March 17, 2020, 03:23:39 am »
Quote from: cain2pang
I think I find the key, I build kexec, kexecboot with klibc, and the size is correct now.

Yes that is the way, use klibc or glibc and make sure to "strip" the binary, too.  I have not tried musl for kexecboot, but should also work

14
Zaurus - Arch Linux ARM support / Linux Kernel 5.0
« on: March 17, 2020, 03:17:15 am »
Quote from: cain2pang
I build a rootfs with the latest ArchLinuxARM rootfs (http://archlinuxarm.org/os/ArchLinuxARM-armv5-latest.tar.gz) and the kernel 5.0 in https://www.oesf.org/forum/index.php?showtopic=35284

The builtin keyboard key mapping error. For example, The fn key is C.

Is keymap error in console or Xorg? there are two different config files, console should be fine, Xorg was not really maintained by anyone.

15
Zaurus - Arch Linux ARM support / Got LXDE worked.
« on: March 17, 2020, 03:15:40 am »
Quote from: cain2pang
Quote from: Varti
Impressive. How's the overall speed? Were all the dependencies available, or did you need to crosscompile one or more packages? Did you try any program with a GUI?

Varti
All the dependencies are installed by pacman, the X is very slow so it's just for fun.
Good stuff cain2pang,

 I had no time to continue on the kernel since 5.0
Did you need to patch the 5.4.23 kernel other than using the patches from the 5.0.0 release of the voidz kernel (https://github.com/greguu/voidz-packages/tree/voidz-packages-v03-(build8)/srcpkgs/linux5.0-zaurus) ?
If yes, please let us know what needed patching.
Thanks,
Greguu

Pages: [1] 2 3 ... 27