For loading linux OS on i.MX5X I need at least 3 images:
I wanted to know the locations of these images in the ltib directory.
I came to know that I have to copy some files to SD_Card, and some image file uboot.bin from terminal..
A DETAILED DESCRIPTION is always welcome.
Take a look on my super beautiful high technological draw of the sdcard.
When crafting sdcard, leave some unallocated space at sdcard beginning, for example, 20M. You can do that when you create EXT4 partition. Tell gparted you want some "free space preceding". It must have space for uboot and uImage binary files.
The complete yellow partition will be your rootfs.
Remember that first 512 k is for partition table
you will place uboot at 1K, for that use the no padding binary and the following command line:
$ sudo dd if=u-boot-no-padding.bin of=/dev/sdX bs=1K seek=1
If you use binary with padding (u-boot.bin) command line is different (and I don´t know it by heart)
You will place uImage at 1M, for that use the following command line;
$ sudo dd if=uImage of=/dev/sdX bs=1M seek=1
For rootfs, you should copy any rootfs file into the mounted ext4 partition. It´s just a cp command ;)
As Nico told:
/LTIB/boot/ -->here there are the kernel image and the bootloader image
/LTIB/rootfs --> here there's the file system
In fact I don´t know if you facing some problem in this step, but I think the picture can help someone else.....
Is it that I should copy all the file contents that account to something around 30+ MB to my SD Card,
Then plug it into respective port, and then execute the commands to copy that bootloader and kernel image to BootROM?
Thanks for your reponses @ Jovanovic & Nico
I found the boot-loader image to be @ ltib/rootfs/boot/uboot.bin
kernel image is @ ltib/rootfs/boot/uImage
then what about rootfs image?
I use LTIB on iMX28...if it's the same situation, the files you need are in the following directory:
/LTIB/boot/ -->here there are the kernel image and the bootloader image
/LTIB/rootfs --> here there's the file system
After you install LTIB and build the BSP, u-boot and kernel images will be in <LTIB FOLDER>/rootfs/boot
You can generate root file sytem tarball yourself from the rootfs folder, which contains full file target system.