Booting U-boot from SD

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

Booting U-boot from SD

ソリューションへジャンプ
1,644件の閲覧回数
pavankumarg
Contributor II

I have the prebuilt u-boot-sd-P1024RDB_SDCARD-git-r17.bin and tried copying it onto the SD card for booting it. I did the following: I created 3 partitions - 1 partition of 512MB in linux-swap format, 1 partition of 20MB in ext2 format and the remaining space of my 4GB SD card as ext3 format.

I also did the following:

Ran mkswap on /dev/mmcblk0p1

Ran mkfs.ext2fs on /dev/mmcblk0p2

Ran mkfs.ext3fs on /dev/mmcblk0p3

After which I copied the prebuilt u-boot binary on the ext2 format.

I also set the switch settings as given in the quick start guide for booting from SD/MMC.

Could you tell me where I am going wrong? Or should I do something in addition to this?

ラベル(1)
タグ(3)
0 件の賞賛
1 解決策
623件の閲覧回数
Pavel
NXP Employee
NXP Employee

Use the following command sequence for u-boot burning:

Under u-boot:

=>tftp 1000000 u-boot-sd-P1024RDB_SDCARD-git-r17.bin

=>mmc erase 8 0x800

=>mmc write 1000000 8 0x800

=>cpld reset sd

 

Program the image to SD card in Linux.

dd if= u-boot-sd-P1024RDB_SDCARD-git-r17.bin of=/dev/sdb bs=512 seek=8


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
1 返信
624件の閲覧回数
Pavel
NXP Employee
NXP Employee

Use the following command sequence for u-boot burning:

Under u-boot:

=>tftp 1000000 u-boot-sd-P1024RDB_SDCARD-git-r17.bin

=>mmc erase 8 0x800

=>mmc write 1000000 8 0x800

=>cpld reset sd

 

Program the image to SD card in Linux.

dd if= u-boot-sd-P1024RDB_SDCARD-git-r17.bin of=/dev/sdb bs=512 seek=8


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛