i.MX21的板子,不能NFS,我修改了cs89x0.c里的驱动,因为这个版本内核(2.6.32)里网卡驱动没有MX21
具体改的地方是加上了netcart_portlist和irq_map,但是启动时一直说“Failed to open eth0”
cs89x0:cs89x0_probe(0x0)
cs89x0.c: v2.4.3-pre1 Russell Nelson , Andrew Morton
eth0: cs8900 rev K found at 0xe0000000
cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line
cs89x0 media IRQ 203, programmed I/Oeth0: Setting MAC address to 68:30:00:00:00:00.
, MAC 68:30:00:00:00:00
cs89x0_probe1() successful
cs89x0:cs89x0_probe(0x0)
cs89x0: request_region(0xe0000000, 0x10) failed
cs89x0: no cs8900 or cs8920 detected. Be sure to disable PnP with SETUP
i2c /dev entries driver
i.MX SDHC driver
mxc-mmc: probe of mxc-mmc.0 failed with error -2
TCP cubic registered
eth0: IRQ 203 is not in our map of allowable IRQs, which is 1c20
IP-Config: Failed to open eth0
IP-Config: No network devices available.
VFS: Cannot open root device "nfs" or unknown-block(0,255)
Please append a correct "root=" boot option; here are the available partitions:
1f00 128 mtdblock0 (driver?)
1f01 1920 mtdblock1 (driver?)
1f02 30720 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)
谢谢各位,问题解决了,原因是cs89x0.c里中断号问题,还有就是内核选项里CS89x0_NONISA_IRQ这个没选择上。