2440 sdio WiFi driver porting notes in wince System

Source: Internet
Author: User

The Development Board is the mini2440 friendly. The wifi module is a friendly SDWIFI-YS09 module for tiny6410, which uses the Marvell 8686 chip. Drivers are available on 6410 CDs and can be easily downloaded online. The first step is to modify the source file of the original driver so that the driver can be compiled. The second step is to modify the BSP configuration file and package the driver into the kernel.

1. Modify the driver source file

Copy the driver folder to the \ SRC \ drivers folder of BSP. Modify the sources. CEN file and change wifi_hosttype to S3C2440.

Modify the source file in \ If \ if_sdio and modify the header file in file_view_includes_folder according to the header file in the folder.

Note that "setsd4bit" under [HKEY_LOCAL_MACHINE \ comm \ sdio86861 \ parms] In sdio8686.reg is set to 1, and "sdgpiointenable" is set to 1 (for the parameter meanings of these two items, refer to the annotations ).

Ii. Modify the BSP configuration file

Add the. BAT file in the BSP root directory:

Set bsp_sdiowifi = 1

Add the platform. bib file:

If bsp_sdiowifi

Sdio8686.dll $ (_ flatreleasedir) \ sdio8686.dll NK Shk

Endif bsp_sdiowifi

Add the platform. reg file:

If bsp_sdiowifi

# Include "$ (_ targetplatroot) \ SRC \ drivers \ wifi_sdio \ sdio8686.reg"

Endif bsp_sdiowifi

Then compile...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.