SD Card Boot Error - help needed

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

SD Card Boot Error - help needed

ソリューションへジャンプ
2,515件の閲覧回数
arumugamramasam
Contributor II

Hi,

I am trying to run the OS from SD card instead of the on board nand flash in iMX25PDK. I have erased the contents of the Nand flash using ATK tool erase option. Then loaded the uBoot, uImage and Files system on a 4 GB SD Card using a linux machine. When I change the dip switch settings to SD Card and placed the SD card in to the personality board slot and power on, it detects the uBoot and tries to run. But throwing an error when loading the kernel. I don't know what setting will bypass the Nand flash and load the kernel from SD Card, where I have already loaded uImage and File sysem.

 

The error message is attached with this thread.

 

Kindly help me to solve this issue.

 

Thanks,

Arumugam R

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

ラベル(1)
0 件の賞賛
返信
1 解決策
2,106件の閲覧回数
Yuri
NXP Employee
NXP Employee

Please configure U-boot for SD boot.

For example (under U-boot):

setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 ip=none rootfstype=ext2'

setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmcinit;cp.b 0x100000 ${loadaddr} 0x200000;bootm ${loadaddr}'

setenv bootcmd 'run bootcmd_mmc'

saveenv

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,107件の閲覧回数
Yuri
NXP Employee
NXP Employee

Please configure U-boot for SD boot.

For example (under U-boot):

setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 ip=none rootfstype=ext2'

setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmcinit;cp.b 0x100000 ${loadaddr} 0x200000;bootm ${loadaddr}'

setenv bootcmd 'run bootcmd_mmc'

saveenv

0 件の賞賛
返信
2,106件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

The error message says that 'serverip' environment variable has not beem set, which means it is trying to get the kernel via TFTP.

If you want to retrieve uImage via SD card you need to set your boot script to do so.

Regards,

Fabio Estevam

0 件の賞賛
返信