Thanks Krishna,
To confirm John Reed's question - yes I am booting from sdcard.
And I don't understand this. First, section 7.1.2 is on bootloader image uboot, which I don't want to change, so I did not follow the instruction, correct?
Then 7.1.3 is the kernel image, yes, I did the dd.
But 7.1.4, I still want to use the existing rootfs, I download only the linaro kernel image and rebuild it for iMX53, but rootfs, to recreate it? is totally even puzzling to me.
Looking at the partition in the sdcard (original from the Freescale i.MX53 package) :
fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 3959 MB, 3959422976 bytes
19 heads, 48 sectors/track, 8479 cylinders
Units = cylinders of 912 * 512 = 466944 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a1287
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 16 6914 3145728 83 Linux
root@lucid-desktop:/proc#
So this means that the ext3 filesystem start from sector 16, and end in 6914 (sorry for the messed text).
But we earlier dd out the uImage starting from 2048th sector, which is inside the ext3 boundary. How can that be?
But the documentation 7.1.4 also confused me: it said first you do a fdisk starting offset 8192th sector, and then mkfs on that partition.
This is again in contrary with the default setting as I had analyzed in the default Freescale provided sdcard.
Problem is even if i followed the mkfs and copied all the rootfs there, after the uImage execute, (which itself always startup from 2048th sector) how does it execute the init command in the rootfs?
Please help me in my confusion.
Thank you.
PS:
This is a link which I have not pursue much, so is it useful:
http://blog.angrygoats.net/2011/05/28/linaro-and-i-mx53/