IMX287: write U-Boot on SD-card

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

IMX287: write U-Boot on SD-card

ソリューションへジャンプ
2,003件の閲覧回数
BrilliantovKiri
Senior Contributor I

Hello!

Our board with IMX287 CPU should boot from SD-card.

I read MX28 EVK Linux User's guide (MX28EVKLUG, Rev. L2.6.35_1.10, 02/2013) from L2.6.35_1.1.0_130130_docs.tar.gz but not understand how can I write U-Boot on SD-card.

My steps:

1. according with 5.1.3.1 I create 3 partitions on SD-card

2. build u-boot-2009.08 and imx-bootlets-src-2.6.35.3-1.1.0

3. write imx28_ivt_uboot.sb on SD-card

$ bin/sdimage -f bin/imx28_ivt_uboot.sb -d /dev/sdd

write first firmware

write second firmware

done

But I can't found how can I write U-Boot on SD-card, I read ucl.xml from MFGTool IMX28 profile and also not found answer.

Can you help me?

Thank you and excuse my bad english.

ラベル(1)
タグ(2)
0 件の賞賛
1 解決策
1,276件の閲覧回数
gonfer
Contributor V

Hi Kirill,

there is a script (mk_mx28_sd) that does all of this for you: create partitions and write U-Boot, kernel and RFS to a SD-card.

I think you should find it in your LTIB installation directory, and you can also find it here:

https://github.com/embeddedarm/linux-2.6.35.3-imx28/blob/master/mk_mx28_sd

HTH,

Gonzalo

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,277件の閲覧回数
gonfer
Contributor V

Hi Kirill,

there is a script (mk_mx28_sd) that does all of this for you: create partitions and write U-Boot, kernel and RFS to a SD-card.

I think you should find it in your LTIB installation directory, and you can also find it here:

https://github.com/embeddedarm/linux-2.6.35.3-imx28/blob/master/mk_mx28_sd

HTH,

Gonzalo

0 件の賞賛
1,276件の閲覧回数
gonfer
Contributor V

Hi again,

forgot to mention that the script expects your SD-Card listed as /dev/sdX. In my Ubuntu 12.04 it's listed as /dev/mmcblkX so I had to tune the script. In the community you can find the script adapted to /dev/mmcblkX, but I haven´t been able to find it (this community is a mess, at least for me).

This will be also useful for you Running mk_mx28_sd on Ubuntu 12.04

Regards,

Gonzalo

P.D. I finally found it Re: Creating bootable SD for Linux on iMX28 EVM

0 件の賞賛