AnsweredAssumed Answered

Issues with SD Card & USB Interfaces on i.MX233

Question asked by GopiNagaBharath on Feb 25, 2013
Latest reply on Feb 27, 2013 by Nidal Prasovic
Branched to a new discussion

Hello Every one,

 

We want to be able to achieve the following through the imx233 EVK at one time:-

1)      Access the USB mass storage device

2)      Connect the EVK to the PC and access it as a mass storage device

3)      Access the SDCard

4)      Access the NAND Flash

 

We have made the following changes to the kernel.

 

For SPI Access

 

CONFIG _SPI = Y

CONFIG_SPI_MXS = [y | m]

 

FOR MMC Configuration

 

CONFIG_MMC

CONFIG_MMC_BLOCK

CONFIG_MMC_MXS

CONFIG_MMC_UNSAFE_RESUME

 

For USB Mass Storage and File Storage

 

CONFIG_USB

CONFIG_USB_EHCI_HCD

CONFIG_USB_EHCI_ARC

CONFIG_USB_EHCI_ARC_OTG

CONFIG_USB_EHCI_ROOT_HUB_TT

CONFIG_USB_STORAGE

CONFIG_USB_HID

CONFIG_USB_GADGET

CONFIG_USB_GADGET_ARC

CONFIG_USB_GADGET_ARC_OTG

ONFIG_USB_OTG

CONFIG_USB_FILE_STORAGE

 

After generating the kernel and rootfs with the above options the .sb images are burned to the nandflash and booted.

The command line give to boot is

initrd console=ttyAM0,115200 ssp1=spi1 ssp2=mmc ubi.mtd=1 root=ubi0:rootfs0 rootfstype=ubifs rw gpmi

 

Once the system boots I don’t see any

/dev/mmcblk# nodes in the rootfs

 

Once I insert the USB EHCI driver

insmod ehci-hcd

 

I don’t see any nodes like below when I connect the USB stick

/dev/sd#

 

Could you please help in with

a)      How to access SDCard when I am booting from NANDFlash

b)      How to access USB stick driver

 

Attached is the bootup log.

 

Regards,

Gopi

 

Original Attachment has been moved to: dmesg.txt.zip

Outcomes