how to configure rootfs directory in ltib with mx233 ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to configure rootfs directory in ltib with mx233 ?

1,926 Views
Marc_ng
Contributor I

hi,

i have a problem with imx233 board.

i try to execute linux 2.6.28 from SDcard on ssp2 port.

 

i use freescale BSP guide to create bootable sdcard, i make 2 partitions :

1'st : bootlet with 16MB and ontrack DM6 aux3 and imx233_linux.sb.

2nd : Linux partition (id=83) with rootfs filesystems.

 

i set ltib to use mmc card on SSP2 :

 

package list -> (console=ttyAM0,115200 root=/dev/mmcblk0p2 rw rootwait ssp2=mmc ssp1=spi1)

 

but when i start imx233 with sd card, linux try to get rootfs on ssp1.

why linux try to use SSP1 ???

Tags (1)
0 Kudos
4 Replies

1,785 Views
SimonJohnson
Contributor I

Hi Marc,

 

did you find a solutrion to this problem. We are trying to do the same thing and cannot get past "Waiting for root device..." We have poked around in device.c file in mx23 arch path and changed SSP1 ref to SSP2 where it seems to be relevant but to no effect.

 

Did you find a solution?

 

Regards,

 

Simon

0 Kudos

1,785 Views
Balaji_ng
Contributor III

Hi,

I think it is configured using a structure called stmp3xxxmmc_platform_data. It accepts some function pointers. You may find it in the following file.

<ltib_directory>/rpm/BUILD/arch/arm/mach-stmp378x/stmp378x_devb.c

 

A simple cscope search will get the location of those function definitions.

 

Regards,

Balaji.V

0 Kudos

1,785 Views
Marc_ng
Contributor I

hi,

thanks for response.

i set  ssp2=mmc ssp1=spi1 on all lines.

i'ts looks the mmc code is hard writen inside code from freescale.

 

does someone have successfully start ltib compiled linux on imx233 with mmc card on SSP2 port ?

0 Kudos

1,785 Views
Balaji_ng
Contributor III

hi,

     there is another command line in your attachment, that takes ssp1=mmc (alternative kernel command line option-4). have you taken care of that?

Regards,

Balaji.V

0 Kudos