as we all know, we call use ltib to compile all src code, and get the image,
but if i want to compile uboot or kernel or rootfs respectivly, without using ltib,
ex: i patched kernel by hand, after configuring the kernel, run "make uImage",
but the uImage i get seems to be different from the one compiled with ltib,
i use mfg tools burn two uImage into flash, but the one compiled by hand can not work,
while the one compiled with ltib works well.
so if i want to compile uboot or kernel or rootfs respectivly, without using ltib, what should be paid attention to ?
When compiling u-boot or kernel for i.MX28 one thing to especially consier is that i.MX28 internal ROM does not boot u-boot.bin or uImage directly. Instead those have to package in a special binary format called bootstream.
So, every time you build u-boot or kernel, you will have to rebuild bootstream as well, so that it takes latest u-boot and/or kernel image!
Easiest to do this with LTIB:
./ltib -m prep -p kernel //will unpack to <ltib>/rpm/BUILD/linux-.... ; patch as needed
./ltib -m scbuild -p kernel //will build kernel
./ltib -m scdeploy -p kernel //will deploy built kernel binary to <ltib>/rootfs
./ltib -p boot_stream.spec -f
Last command forces rebuild of bootstream. Do similar for u-boot as well.
I think it is easier to boot a mainline U-boot on mx28, so that you do not have to worry about the bootlets.
Instructions are here: