PalmTX WiFi Complete / Cocoboot 0.6.1

Hi, just a fast note to inform you that I completed PalmTX WiFi support. You need new Cocoboot to extract firmware (that was actually the biggest blocker here). For downloads read on.

Get patches here:
http://marc.info/?l=linux-wireless&m=123768163910712&w=2
or here:
http://lists.infradead.org/pipermail/libertas-dev/2009-March/002330.html

Get Cocoboot 0.6.1 here:
http://marex.hackndev.com/cocoboot.prc

In Cocoboot tap menu -> Dump Marvell WiFi FW -> wait ... -> you'll get two files, copy them into /lib/firmware and boot. NOTE: You need latest arm:devel kernel, 2.6.21-hnd isn't supported.

You might also need the following patch:

diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index 639dd02..ce32bc9 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -123,7 +123,7 @@ int lbs_update_hw_spec(struct lbs_private *priv)
* only ever be 8-bit, even though the field size is 16-bit. Some firmware
* returns non-zero high 8 bits here.
*/
- priv->regioncode = le16_to_cpu(cmd.regioncode) & 0xFF;
+ priv->regioncode = (le16_to_cpu(cmd.regioncode) & 0xFF00) >> 8;

for (i = 0; i < MRVDRV_MAX_REGION_CODE; i++) {
/* use the region code to search for the index */

If we can get the Marvell

If we can get the Marvell firmware on the TX, will a similar approach work on other Palms? Or is this particular to that version of the Marvell WiFi chip?

You mean palmld ? The chip

You mean palmld ? The chip in palmld is pretty ancient and the firmware palm supplies with it is v.3.something (tx has v.4.something, the most recent fw available for CF8385 is v.5.0.16 and USB8388 has v.5.something too). v.4 and v.5 are apparently mostly the same so it works with palmtx with that little patch above, but it seems there are noticable differencies between v.3 and v.4 (I got some command timeouts on palmld and the card basically crashed).

Please give me a tip on how

Please give me a tip on how to apply a patch, I've never patched kernel before, and nothing happen if I make patch -p1 *patch*

Thanks for all your hard

Thanks for all your hard work on the wifi. I'm looking forward to trying it. However, I did have one question. Since the 2.6.21-hnd kernel isn't supported, can you provide a link to the development kernel that is needed? I did look around a bit this afternoon, but wasn't able to locate the arm development kernel that you mentioned.I thought it might be the 2.6.27 kernel in the hackndev git repository, but I wasn't sure that was the one I should use.

Regards,

LMH

Try this

Hey there! I'm starting to

Hey there!

I'm starting to use linux at my PamlTX and i'm a bit lost here about patching the files and upgrading the kernel.

When i try to patch the files i get this error:

Patching file if_cs.c
patch: bad src file

How do i fix it?

And How to change the kernel too?

Tanks a lot!

Rumour has it that |miska|

Rumour has it that |miska| is preparing a bootpack for the T|X to show at the LinuxEXPO. (Which is today, I believe.) Mebe if we wait a couple of days he will upload it.
~(0__0)~

Hi from Argentina, anybody

Hi from Argentina, anybody sucessfully using the patch? Does wifi really work?!?!?!?. Not even tried to load opie on my tx because of the wifi problem. I first read about this 7 months ago, and today while i was tuning a linux laptop i thought about this. Please o please add wifi support, this is a deal-breaker for me. By the way, great work you guys, never gave up on the TX potential.

Marex, Your work on this has

Marex,

Your work on this has been great. I am new to the Opie TX environment. I have successfully loaded the original Opie on the palm and can't wait to try your patch. Over 3000 students will get the chance to learn about the open source environment at an early age, and you gave them the key. Unfortunately I still need your help. I have two questions about your post.

1) How and were do I place the patch in order to run the dump.

2) I can not find the correct kernel. I would truly appreciate the location of a post were I can download.

We are converting the palms to linux at the cost of a SD chip. This is truly for the kids and open source movement. I am new to development, and would appreciate further guidance. Help us to impact the kids future.

notone1

I think I can partially

I think I can partially answer your questions. I have been trying to compile and deploy the kernel myself.
1) The correct kernel is at:
http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm.g...

So in an Ubuntu terminal you would type:

git clone http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm.g...

After it's done, type:
git checkout -t -b devel origin/devel
so that you have the right files.

Save the patch(es?) and pop open another terminal. ( Don't think extensions matter ) cd to the source directory and type:
patch -p0 < /full/path/to/patch.file

And there's your patched kernel source. I'm still trying to figure out what to do beyond that though. :P

Good Luck!

Thanks bug, Let me

Thanks bug,

Let me understand you on my Linux box download the kernel and patches. Run the patch command and save it in a patch.file.

Is the next step to place the patch file on the palm tx, and upload the patch? If so how would someone do this.

natwrkz

I have no idea. That's what

I have no idea.
That's what I'm trying to figure out. /c:<
(Also: The name really doesn't matter. I just wanted to get the info into the file path. (; )

Has anyone been able to

Has anyone been able to compile the recommended kernel? Tried but got an error message the kernel.config was missing any ideas what this file contains or how to create it?

Yo! I don`t know if i`m

Yo!

I don`t know if i`m right, but i got a kernel and opie at the testing page of Miska. I looked at the kernel config and i saw something about the liberta driver been loaded. I didn`t had time to test it, but i downloaded tx-vanilla-kernel, initrd, and config-tx-vanilla. I also got the latest opie-large ext2.

If anyone would like to test it, here`s the files:

http://atrey.karlin.mff.cuni.cz/~miska/testing

Hi I've a problem. I don't

Hi
I've a problem. I don't now how I connect my TX to wifi? In TX have I kernel-Vanila and i n network is wlan but it have any errors. Thanks

Marvell Claims Fastest Wi-Fi

Marvell Claims Fastest Wi-Fi Chipset

Semiconductor maker Marvell on Wednesday introduced a Wi-Fi chipset that the company claims can reach an industry-leading maximum speed of 450 Mbps.
The TopDog 11n-450 delivers its high speeds through the use of three transmitters and three receivers, according to Marvell. The chipset supports multiple Wi-Fi standards, including 802.11n, which can stream high-quality video.

Marvell claimed the chipset increases signal range by 500% (when comes to the web hosting) over competing 802.11g chips, and 160% over 802.11n supporting products. In terms of speed, the latest TopDog product is 50% faster than current 802.11n products, which max out at 300 Mbps, according to Marvell.
Even with the extended range, Marvell's chipset doesn't come close of WiMax's 4- to 5-mile range. The new product, however, is multiples faster; given WiMax's 70Mbps. WiMax is also a wireless standard for high-speed Internet access for desktops, notebooks, and other devices.

"Marvell is first to market with an 802.11n 450-Mbps solution so manufacturers can deliver industry-leading wireless range and (register domain name) performance to consumers who are seeking faster and more powerful Wi-Fi capabilities," Sameer Bidichandani, senior director of technology strategy at Marvell, said in a statement.

Marvell didn't offer any equipment manufacturers as customers for the new product, which is scheduled to ship in volume in the second quarter. The chipset is for use in notebooks and desktop PCs, printers, routers, set-top boxes, digital TVs, gaming devices, and DVD players and recorders.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.