u-boot-2014.10 17th Day----Add DM9000 network card support (i)

Source: Internet
Author: User

Many readers of 2440 of the board should have a DM9000 network card. Take a look at these documents before porting:

DM9000 Chinese Manual (detail)

This article tells us some hardware knowledge of DM9000.

DM9000 and MINI2440 in-depth understanding

This article tells us that 2440 is how to achieve access to DM9000.

2440 dm9000 exactly how to determine the address

This article tells us how to determine the address of the address port and the address of the data port.

DM9000 Datasheet

Datasheet said that dm9000 has 4 K Dword (is 4K double word, that is 16Kbytes).

The DM9000 network card driver is located in drivers/net/dm9000x.c and can be seen in the Drivers/net/makefile file:

obj-$ (config_driver_dm9000) + = DM9000X.O
config_driver_dm9000 This is a macro definition that compiles the file if it has a definition, so we define the macro in the Include/configs/tq2440.h file:

#define NONE_FLAG 0#if none_flag  #define CONFIG_CS8900/       * We have a CS8900 on-board */#define Config_cs8900_base< C2/>0x19000300#define CONFIG_CS8900_BUS16/* The Linux driver does accesses as shorts */#else # define Config_driver_dm9000 #endif

The DM9000 on the tq2440 floor schematic diagram is connected to the nGCS4 on the 2440, on the 2440datasheet 5. In the Memory controller chapter, the base address of nGCS4 is 0x2000 0000.

Continue tomorrow!





u-boot-2014.10 17th Day----Add DM9000 network card support (i)

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.