OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Capn_Fish on April 18, 2007, 08:40:18 pm

Title: Building Dm9601 For 2.6
Post by: Capn_Fish on April 18, 2007, 08:40:18 pm
I am trying to build the dm9601 module for a 2.6 kernel, but am having difficulties. I managed to get the source (from Davicom, attached) and the kernel source (available here (http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/src/linux-2.6.16.tar.bz2)), but when I try to build it, I get lots of warnings and errors, the last few of which are

Code: [Select]
include/linux/fs/h:xxx storage size of 'xxxxx' isn't known
Could somebody try to build it? You need to do a "make config" in the kernel source dir, then symlink it to /lib/modules/2.6.16/build.

Thanks in advance, and I'm really looking forward to getting my USB to ethernet dongle to work.

EDIT: It appears I can't attach stuff, so please PM me if you would like to try and want the 2.6 kernel source code.

EDIT2: Just saw that the source had a wrong file extension. It should be attached now.
Title: Building Dm9601 For 2.6
Post by: Capn_Fish on April 23, 2007, 10:37:10 am
Anybody tried this?
Title: Building Dm9601 For 2.6
Post by: koen on April 23, 2007, 11:24:41 am
Quote
Could somebody try to build it? You need to do a "make config" in the kernel source dir, then symlink it to /lib/modules/2.6.16/build.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159251\"][{POST_SNAPBACK}][/a][/div]

That has 2 problems:

1) it isn't the kernel source you're running on your target
2) it breaks horribly when crosscompling

The module builds fine in OE:

dm9601.ko:    ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), not stripped
Title: Building Dm9601 For 2.6
Post by: InSearchOf on April 23, 2007, 11:27:25 am
Use the builder

Late
Title: Building Dm9601 For 2.6
Post by: Capn_Fish on April 23, 2007, 11:58:43 am
Quote
Use the builder

Late
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=159571\")
Is this the right ISO, or am I even looking in the right spot/for the right thing?

[a href=\"http://mirror1.pdaxrom.org/pdaX86/]http://mirror1.pdaxrom.org/pdaX86/[/url]
Title: Building Dm9601 For 2.6
Post by: Capn_Fish on April 25, 2007, 07:28:19 pm
That link isn't even up any more. Is there a working link/up-to-date docs anywhere?
Title: Building Dm9601 For 2.6
Post by: InSearchOf on April 25, 2007, 07:38:56 pm
Latest Docs
http://www.pdaxrom.org/?q=docs/development (http://www.pdaxrom.org/?q=docs/development)

The newest builder iso is in the process of being restored due to the ibiblio issues...

Late
Title: Building Dm9601 For 2.6
Post by: Capn_Fish on April 25, 2007, 07:48:14 pm
Quote
Latest Docs
http://www.pdaxrom.org/?q=docs/development (http://www.pdaxrom.org/?q=docs/development)

The newest builder iso is in the process of being restored due to the ibiblio issues...

Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159807\"][{POST_SNAPBACK}][/a][/div]
Any idea when it will be available? Or a rough guess (Weeks? Days? Hours?)? A URL?

Thanks, and sorry for all of the questions.

EDIT: Just to add in another question, can I build pdaX for my iPAQ h1910? I believe I saw iPAQ  in the svn I got some time ago, but I don't know if that refers to the less-supported h19xx models.
Title: Building Dm9601 For 2.6
Post by: Capn_Fish on April 28, 2007, 10:01:01 pm
How about moving to the 2.6.21 kernel, now with the dm9601 driver built in?