Linux2.6.22 supports Network-Linux general technology-Linux programming and kernel information. The following is a detailed description. 1: The kernel supports ramdisk:
Three items are modified as follows:
① Modify Bootoptions
The Default kernel command string item is set to null and passed in by bootloader (u-boot, vivi.
② Select Float point emulation->
[*] NWFE math emnulaiton
③ Modify Driver device->
Block device->
(4096) Default RAM disk size (kbytes)
Change 4096 to 8192
2: net
Copy cs8900.c. h to/driver/net
Change make file to add obj-$ (CONFIG_CS8900) + = cs8900.o
Kconfig File
Config CS8900
Tristate "CS8900 support"
Depends on NET_PCI & (ISA | MACH_IXDP2351 | ARCH_IXDP2X01 | ARCH_PNX010X | MACH_F2410)
--- Help ---
Support for CS8900 chipset based Ethernet cards. If you have
Network (Ethernet) card of this type, say Y and read
Ethernet-HOWTO, available from
As well
.
To compile this driver as a module, choose M here and read
. The module will be
Called cs8900.
Add an arch/arm/mach-s3c2410/mach-f2410.c (copy a mach-smdk.c file)
Add # include "arch/arm/mach-f2410.h"
Static struct map_desc f2410_iodesc [] _ initdata = {
/* Nothing here yet */
/* Map the ethernet controller CS8900A */
{S3C24XX_VA_CS8900, S3C2410_PA_CS8900, S3C24XX_SZ_CS8900, MT_DEVICE}
};
Modify the partition information that is equal to that of vivi.
Edit arch/arm/tools/mach-types to add the board type.
Modify the arch/arm/mach-s3c2410/kconfig and Makefile files to add support for f2410.
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.