cross compiling acx100 wifi kernel module

Here is information about customize your B series firmware..:!:This forum is NOT FOR USER questions or problems but DEVELOPER.

smartsmurf
Official SamyGO Developer
Posts: 111
Joined: Thu Jun 24, 2010 8:26 am
Location: Frankfurt, Germany

Re: cross compiling acx100 wifi kernel module

Post by smartsmurf »

Here is instruction from acx README:
* Create drivers/net/wireless/acx subdirectory inside
your kernel tree.
* BTW, if your kernel has drivers/net/wireless/tiacx directory,
you already may have acx driver (some different version).
Decide which one do you want.
* Unpack tarball into drivers/net/wireless/acx directory.
* Add a line to drivers/net/wireless/Makefile:
obj-m += acx/
* Build your modules as usual (perhaps "make modules modules_install").
I followed the steps and they worked out.
Please find the module attached. Disclaimer: try at your own risk!

Good luck!
SM
You do not have the required permissions to view the files attached to this post.
Last edited by smartsmurf on Tue Aug 03, 2010 7:28 pm, edited 1 time in total.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: cross compiling acx100 wifi kernel module

Post by arris69 »

smartsmurf wrote:Here is instruction from acx README:
* Create drivers/net/wireless/acx subdirectory inside
your kernel tree.
* BTW, if your kernel has drivers/net/wireless/tiacx directory,
you already may have acx driver (some different version).
Decide which one do you want.
* Unpack tarball into drivers/net/wireless/acx directory.
* Add a line to drivers/net/wireless/Makefile:
obj-m += acx/
* Build your modules as usual (perhaps "make modules modules_install").
I followed the steps and they worked out.
Please find the module attached. Disclaimer: try at your own risk!

Good luck!
SM
you saw?
WARNING: "request_firmware" undefined
WARNING: "release_firmware" undefined

arris

ps: just for fun, acx_20080210.bb

Code: Select all

DESCRIPTION = "Open Source Linux driver for wireless network cards (DWL-[G]520+ PCI, DWL-[G]650+ CardBus, GL-2422MP mini-PCI, DWL-120+ USB etc.) which use the entirely undocumented Texas Instruments (TI) ACX100/ACX111 chips, for 2.4.x to 2.6.x kernels."
HOMEPAGE = "http://http://acx100.sourceforge.net/"
SECTION = "kernel/modules"
LICENSE = "GPL"

SRC_URI = "${SOURCEFORGE_MIRROR}/acx100/acx100/20080210/acx-20080210.tar.bz2 \
        file://selp-disable_pcidev.patch;patch=1 \
"

KERNEL_MAJOR_VERSION = "2.6"
INHIBIT_PACKAGE_STRIP = "1"
inherit module

RDEPENDS = ""
PR = "r01"

S = "${WORKDIR}/acx-20080210"
EXTRA_OEMAKE = 'DEBUG=y KERNDIR="${STAGING_KERNEL_DIR}" KDIR="${STAGING_KERNEL_DIR}" KERNEL_SOURCE="${STAGING_KERNEL_DIR}"'

do_install() {
        install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net
        install -m 0644 *.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/
}

do_rm_work () {
        oenote "we keep data for now!"
        :
}
smartsmurf
Official SamyGO Developer
Posts: 111
Joined: Thu Jun 24, 2010 8:26 am
Location: Frankfurt, Germany

Re: cross compiling acx100 wifi kernel module

Post by smartsmurf »

arris69 wrote: you saw?
WARNING: "request_firmware" undefined
WARNING: "release_firmware" undefined
Yes, I did. However, I don't own that type of card and didn't take that warning into account - since the README states
You should not supply firmware_dir= parameter anymore. Driver will try
to load the following images via hotplug (not from /usr/share/acx
directory as older driver did, hotplug firmware directory location
varies for different distros, try /lib/firmware or
/usr/lib/hotplug/firmware):
Should I remove the compiled kernel driver?
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: cross compiling acx100 wifi kernel module

Post by arris69 »

smartsmurf wrote: ...
Should I remove the compiled kernel driver?
people just need to know that the driver won't work with samsung kernel (i guess).
but may it's usable on other arm based devices or with custom kernel.

arris
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: cross compiling acx100 wifi kernel module

Post by erdem_ua »

jogi10 wrote:damn, this will take a little longer. Someone updated to a CI+ FW and I don't get access to a shell (neither vie telnet trojan horse nor by console). I first have to find a way to downgrade the FW :(
No shell -> No revert back. Sorry.

Post Reply

Return to “[B] Firmware”