Author Topic: kernel source for 6000  (Read 6762 times)

treke

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • http://
kernel source for 6000
« Reply #15 on: April 22, 2004, 11:03:33 am »
Quote
As it was already mentioned on the other thread, Sharp has released it @ http://developer.ezaurus.com/sl_j/source/source_dl.htm

Interesting thing, unless I\'m completely blind, I can\'t find sources for either bluetooth module or wi-fi in 6000\'s kernel tree
-albertr
Look for CONFIG_BLUEETOOTH_SL  in the patch. There\'s some bluetooth there. Dunno about wireless

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
kernel source for 6000
« Reply #16 on: April 22, 2004, 03:42:40 pm »
Quote
WiFi driver is a prism2_usb binary in root_fs tarball. There is no bluetooth driver though...

That brings more questions than answers... So they have a binary compiled, but no source code? Did they compile it out of the kernel tree?

Since it resides on usb bus, there must be a usb hub inside sl-6000?
-albertr

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
kernel source for 6000
« Reply #17 on: April 22, 2004, 03:57:48 pm »
Quote
Look for CONFIG_BLUEETOOTH_SL  in the patch. There\'s some bluetooth there. Dunno about wireless

Well, true, they have a kernel configuration option for that. But I don\'t see any specific code in the kernel source they released yesterday.
-albertr

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
kernel source for 6000
« Reply #18 on: April 22, 2004, 04:45:30 pm »
drivers/char/serial_pxa200.c seems to contain the low level code.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

treke

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • http://
kernel source for 6000
« Reply #19 on: April 22, 2004, 04:52:25 pm »
Quote
Quote
WiFi driver is a prism2_usb binary in root_fs tarball. There is no bluetooth driver though...

That brings more questions than answers... So they have a binary compiled, but no source code? Did they compile it out of the kernel tree?

Since it resides on usb bus, there must be a usb hub inside sl-6000?
-albertr

I think the marketing materials said that the 6000 was capable of being usb host. As far as Wireless goes, the driver looks to be the wlan-ng usb prism driver. The source code for it does exist, but there is no telling whether or not sharp has modified it for their device. The easiest way to find out is  to compile a new copy and see if it works.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
kernel source for 6000
« Reply #20 on: April 22, 2004, 07:47:56 pm »
Quote
drivers/char/serial_pxa200.c seems to contain the low level code.


Ahh, my bad... obviously overlooked it, sorry.
-albertr

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
kernel source for 6000
« Reply #21 on: April 23, 2004, 02:43:02 am »
Quote
Quote
There is no bluetooth driver though...

Do we know which (if any) drivers are compiled into the kernel?

I don\'t think there is a bluetooth driver at all. The kernel config is not set to build bluetooth driver and I can\'t see a binary...

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
kernel source for 6000
« Reply #22 on: April 24, 2004, 10:49:25 am »
Quote
The kernel config is not set to build bluetooth driver and I can\'t see a binary...

OK, I should probably remain silent and be thought a fool, but I\'ll open my mouth and remove all doubt:  Where did you find the configuration info that the kernel was built with?  I don\'t see a .config file in the source directory...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
kernel source for 6000
« Reply #23 on: April 24, 2004, 11:55:45 am »
Only Kernel 2.6.x has the ability to reconstruct the .config out of a running system, but Anton probably refers to arch/arm/def-configs/tosa-j

Note that this not necessarily is the config the Sharp folks used to build the kernel.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
kernel source for 6000
« Reply #24 on: April 24, 2004, 12:37:52 pm »
Now that we have the source, are the deficiencies of the default kernel irrelevant?  What are the other hurdles to building custom kernels that address the issues of missing/incompatible drivers?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
kernel source for 6000
« Reply #25 on: April 27, 2004, 10:57:53 am »
Quote
Only Kernel 2.6.x has the ability to reconstruct the .config out of a running system, but Anton probably refers to arch/arm/def-configs/tosa-j

Yes, that\'s where I looked into

Quote
Note that this not necessarily is the config the Sharp folks used to build the kernel.

Good point