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.
Solved! Go to Solution.
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
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
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