Environment variables on SD card

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Environment variables on SD card

4,027 次查看
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,396 次查看
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,396 次查看
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