2009年11月11日 星期三

Integrate image

Integrate image: uboot and uImage
#dd if=u-boot of=ub bs=1M conv=sync
#vi ub
Then see the hex file by :%!xxd
verify it by see address
#ll
ex:477624
#dc
16o 477624
p
749B8

Integrate image: uboot and uImage
#cat ub uImage > image

-------------------------------
result:
#dd if=u-boot of=du bs=1M conv=sync
#cat ub uImage > image

----------------------------------------
;c code mkimage.c
;compile
#gcc -O2 -o mknandimg mknandimg.c
;make image
#./mknandimg u-boot.bin uImage image

#

沒有留言:

張貼留言