Author Topic: Building Dm9601 For 2.6  (Read 3208 times)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Building Dm9601 For 2.6
« 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), 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.
« Last Edit: April 19, 2007, 07:33:26 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Building Dm9601 For 2.6
« Reply #1 on: April 23, 2007, 10:37:10 am »
Anybody tried this?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Building Dm9601 For 2.6
« Reply #2 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
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Building Dm9601 For 2.6
« Reply #3 on: April 23, 2007, 11:27:25 am »
Use the builder

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Building Dm9601 For 2.6
« Reply #4 on: April 23, 2007, 11:58:43 am »
Quote
Use the builder

Late
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
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]
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Building Dm9601 For 2.6
« Reply #5 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?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Building Dm9601 For 2.6
« Reply #6 on: April 25, 2007, 07:38:56 pm »
Latest Docs
http://www.pdaxrom.org/?q=docs/development

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

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Building Dm9601 For 2.6
« Reply #7 on: April 25, 2007, 07:48:14 pm »
Quote
Latest Docs
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.
« Last Edit: April 25, 2007, 08:26:45 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Building Dm9601 For 2.6
« Reply #8 on: April 28, 2007, 10:01:01 pm »
How about moving to the 2.6.21 kernel, now with the dm9601 driver built in?      
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo