Environment variables on SD card

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Environment variables on SD card

4,048件の閲覧回数
arumugamramasam
Contributor II

Hi,

I am using iMX25PDK with a CPU board without Nand Flash. Aim is to boot using SD card in the personality board. I have loaded the u-boot, uImage and filesystem as per the procedure.

When i boot the board, its default boot location is from a server and I wanted to change it to SD card. I set bootargs and bootcmd etc to make the board boot from SD card as per the instructions given in the user guide. But while saving the env variables using saveenv command, i understand that the default storage of env variables are with nand flash which is not available in my CPU.

In this case i don't know what to do to make the env variables to store in sd card and boot from sd card.

Need help from anyone to move with my board bring up.

Thanks,

Arumugam R

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

2,417件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

Please try the latest U-boot from http://git.denx.de/?p=u-boot.git;a=summary .

I added mx25pdk support there by default the environment variables are stored into the SD card.

Regards,

Fabio Estevam

2,417件の閲覧回数
Yuri
NXP Employee
NXP Employee


Section 6.6.3 (MMC Driver and Commands) of app note AN4171 ("U-Boot for i.MX25 Based Designs")
defines MMC parameters, in particular :

#define CONFIG_ENV_IS_IN_MMC 1 //Environment variables will be stored in MMC card


So, please check MMC parameters and try to rebuild U-boot with needed MMC options.

http://cache.freescale.com/files/dsp/doc/app_note/AN4171.pdf