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 - DiTBho

Pages: 1 ... 3 4 [5]
61
Zaurus - Arch Linux ARM support / Re: Archlinuxarm On C3x00
« on: January 30, 2021, 08:11:18 am »
TOUCHSCREEN : I guess we need to port the touch screen calibration tool from pdaxroom. It was outdated back then already, maybe there is another way to calibrate now.

I am working with my old Gentoo 2010 stage4-armv5tel-softfloat-gnueabi, and I have recently developed a raw and wield application that directly access /dev/input/event1 in order to extract (x,y) points from the touchscreen.

Code: [Select]
/dev/input/event0 
/dev/input/event1 <---------------- I am using this, at the low level
/dev/input/mice
/dev/input/mouse0

Coordinates are so noisy that I added an iterative mean-value filter to have more stable values.

I don't anything about the calibration tool, never used it, but yesterday I added this to my overlay

Code: [Select]
x11-libs/tslib v1.0

SDL-v1 can be compiled with support tslib, and tslib comes with some applications

Code: [Select]
/usr/bin/ts_test
/usr/bin/ts_calibrate <---------------- this one looks interesting
/usr/bin/ts_print
/usr/bin/ts_print_raw
/usr/bin/ts_harvest
/usr/bin/ts_finddev
/usr/bin/inputattach

62
Zaurus - Hardware discussion / Re: C1000, C3000, C3200: memory layout
« on: January 29, 2021, 05:50:11 am »
Thanks guys  :D

63
Zaurus - Hardware discussion / C1000, C3000, C3200: memory layout
« on: January 28, 2021, 10:10:46 am »
I have never investigated about the memory layout, but I'd like to know how the flash is organized and if it's possible to erase everything in order to install uboot with some of its "save config" area.

I prefer uboot on a serial console, bootstrapping a kernel from the network, or from the microdrive.

As well as I understand, the CPU boots from a ROM, is it correct? if so, where is it mapped? At which address? And where does it jump?

I did something 11 years ago, and since then I have been using my C1K as user, I have never touch kexecboot and similar since then. I remember there was a size limitation for kexecboot, I don't remember what was the reason.

Let me know. At the moment I am compiling Gcc, Go and Ada, and I am cleaning and updating my old 2010 Gentoo-stage4 rootfs in order to have something clean.

64
For Sale / Wanted / wtb: miniPCI USB2 EHCI, Nec chip
« on: January 25, 2021, 03:08:48 pm »
hi
I don't know if this is the right place to ask but ... I am really in a big trouble with a hobby project I am running because the project is based on the RB532 router and ... there is no USB port to connect an hard-drive.

The router has three 10/100 ethernet ports, they are all sued, and even if I had a fourth one available I couldn't use NFS for this stuff, and I cannot change the router with a modern model, long story about reasons, but at this point I'd better find a workaround.

I know there where some miniPCI USB2 ECHI modules around in the mid 2000s, with a NEC chip on them. Sadly I cannot find one on eBay (I have been looking daily for 1 year).

Does anyone, by any chance, have one for sale? Or does anyone know where to buy one?

Thanks :D

65
Zaurus - Arch Linux ARM support / Re: Update: C1000 / Akita support
« on: January 24, 2021, 04:43:12 pm »
hi
I have been using my C1K since 2008 with 2.6.23. I have recently acquired a secondhand C3200, and I'd like to know about kernel differences between these to models, if any.

Any special patch from C1K to C3K?

What is the status of modern (>2.6.23) kernels?

I remember I didn't update to 2.6.24/2.6.26 because they had problems with suspend, and problem with the battery recharge circuit

Have these bugs/issues been already fixed in the meanwhile?

Thanks  :D

66
Could this binary be of any help?

It seems so, thanks a lot  :D

67
Looking to include a couple of programs written in Go to the Zaurus userland.
Before trying to crosscompile GccGo to have native GccGo compiler, I'd like to know if there is already a bootstrapper.

Please let me know  :D

68
At the moment I have successfully built
  • Gnat for HPPA2/Linux
  • Gnat for PPC32be/Linux
  • Gnat for MIPS4be/Irix-6.5
  • Gnat for i686-32bit/Linux

In the near future, I will try to build
  • Gnat for Armv5tel/Linux
  • Gnat for MIPS32be/Linux

In the far future, I may consider to try to build
  • Gnat for MIPS32le/Linux (I don't own any MIPS32le platform, except my slow router)
  • Gnat for RISC-V/Linux (there is not yet any RISC-V platform able to run Linux)
  • Gnat for SH4/Linux (I don't own any SH4 platform, except my CASIO graphical calculator, which is not able to run Linux)


This was the most exciting moment because building this environment was entirely done on the workstation rather than on a fast i686 cross compiler

Code: [Select]
# catabuild dev-embedded/gnat-hppa2
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild     N  ] overaly::dev-embedded/gnat-test-minimal-1.0
[ebuild     N  ] overaly::dev-embedded/gnat-hppa2-4.3.4 test=minimal

56 hours later ... (being compiled and tested on a 550Mhz RISC machine)

Code: [Select]
2019-02-13--16-49-09---2019-02-13--16-59-56 - [ dev-embedded/gnat-hppa2 ] - success - @2.29.1/7.3.0

catabuild is like emerge, but lighter, it uses special ebuild classes (designed for gnat) and executes tests (in a chroot) before installing things on the final path and it only installs things if things have passed tests

69
this package is not available for Arch Linux ARM

The plan is to build it for Gentoo/armv5tel, and that binary helps a lot! Thanks  :D


70
In order to compile gnat you need a gnat compiler, it's the chicken and egg problem.

I have solved it for HPPA-v2(1) but it cost me one year of attempts (cross-compiling parts from x86 and somehow making them HPPA-native until everything was able to recompile itself autonomously) and before investing all this time for my old Zaurus C1K I'd like to hear if there is already around a gnat binary profiled as "armv5tel--linux-gnueabi".


(1) it's my daily RISC workstation. I know, I know ... x86/64 bit is better, faster, and cheaper, but I love my RISC workstation, especially now that's finally able to compile ada sources! And I also want my PDA to be able to compile ada sources  :D

71
Zaurus - Hardware discussion / Re: uboot as bootloader?
« on: January 10, 2021, 08:59:12 am »
That's cool! If possible, could you please share a tarball of it?

May be in the future. There is a lot of broken stuff at the moment.

My current stage4 is based on an old kernel 2.6.23 and a 2007-8 stage4 with some modern updates/patches/workarounds that I have made year after years, plus some personal applications written by me. For me it's "ok" as I have been using daily it since 2007 and I can coexist with all the problems it has, but with my recent needs I myself have reached the point where there are so many broken unstable things that the new plan for the 2021 is to prepare a full set of recipes for Catalyst and launch it to build a completely new stage4. But first I have to find a valid candidate for the kernel of which I I have to have to the full trust about mobility because I seriously need to use my PDA on traveling.

72
Zaurus - Hardware discussion / Re: uboot as bootloader?
« on: January 09, 2021, 05:41:16 pm »
what's your Zaurus model?

C1000  :D
(running an home built Gentoo armv5tel-softfloat-gnueabi-stage4)

isn't there any source repo about uboot/zaurus?

73
Zaurus - Hardware discussion / uboot as bootloader?
« on: January 08, 2021, 01:16:50 pm »
hi
is there any attempt to use uboot as bootloader?
I'd like to use the serial console.

Let me know.
Thanks!

Pages: 1 ... 3 4 [5]