IMX287: write U-Boot on SD-card

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

IMX287: write U-Boot on SD-card

跳至解决方案
2,008 次查看
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,281 次查看
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,282 次查看
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,281 次查看
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 项奖励