Environment variables on SD card

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

Environment variables on SD card

3,294 Views
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

Labels (1)
0 Kudos
Reply
2 Replies

1,663 Views
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

1,663 Views
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