linux2.6.35 porting on S3C2416 (USB Host controller driver is not comming Up.)
Dear All,
I am trying to port linux-2.6.35.12 on s3c2416 based board(kit2416).I was sucessfully able to port kernal,device driver for watchdog,RTC,serialport,LCD and NAND flash(256MB).
I followed these steps to call these device at boot time.
Include 's3c_device_ohci' in smdk2416_devices structure.
a. static struct platform_device *smdk2416_devices[] __initdata = {
&s3c_device_i2c0,
&s3c_device_lcd, //s3c_device_lcd,
&s3c_device_rtc,
&s3c_device_adc,
&s3c_device_iis,
&s3c_device_usbgadget,
&s3c_device_ohci, //USB related config
//&s3c_device_usb,
&s3c_device_hsmmc1,
&s3c_device_smc911x,
};2. in kernel menuconfig
[*] USB support --->
[*] OHCI HCD support
3.menu "S3C2416 Machines"
config MACH_SMDK2416
bool "SMDK2416"
select CPU_S3C2416
select S3C_DEV_FB
select S3C_DEV_HSMMC
select S3C_DEV_HSMMC1
select MACH_SMDK #essl_patch
select S3C_DEV_NAND #essl_patch
select S3C_DEV_USB_HOST # essl_patch
For the above config I am not able to call the driver of USB HOST Controller Interface.
Ravi
Hi Ravi,
I'm also using this board, with kernel 2.6.38, but I'm stuck with
the LAN9221 driver. I haven't tried to use the USB interface yet, but I do see my kernel detecting the USB host system in the boot messages. The CD image I got with the kit had an ancient 2.6.2x based kernel, do you have any newer one?
Kind Regards,
Thiago A. Correa
Quoted 49 lines · Ravi
Dear All,
I am trying to port linux-2.6.35.12 on s3c2416 based board(kit2416).I was sucessfully able to port kernal,device driver for watchdog,RTC,serialport,LCD and NAND flash(256MB).
I followed these steps to call these device at boot time.
Include '
s3c_device_ohci' insmdk2416_devicesstructure. a. static structplatform_device*smdk2416_devices[]__initdata= { ? ? ? ?&s3c_device_i2c0,
? ? ? ?&s3c_device_lcd, //s3c_device_lcd,
? ? ? ?&s3c_device_rtc,
? ? ? ?&s3c_device_adc,
? ? ? ?&s3c_device_iis,
? ? ? ?&s3c_device_usbgadget,
? ? ? ?&s3c_device_ohci, //USB related config
? ? ? ?//&s3c_device_usb,
? ? ? ?&s3c_device_hsmmc1,
? ? ? ?&s3c_device_smc911x,
};
2. in kernel menuconfig
? ?[*] USB support ?--->
? ?[*] ? ? OHCI HCD support3.menu "S3C2416 Machines"
?configMACH_SMDK2416
? ? ? ?bool "SMDK2416"
? ? ? ?selectCPU_S3C2416
? ? ? ?selectS3C_DEV_FB
? ? ? ?selectS3C_DEV_HSMMC
? ? ? ?selectS3C_DEV_HSMMC1
? ? ? ?selectMACH_SMDK#essl_patch
? ? ? ?selectS3C_DEV_NAND#essl_patch
? ? ? ?selectS3C_DEV_USB_HOST?#essl_patchFor the above config I am not able to call the driver of USB HOST Controller Interface.
Ravi
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel