$ cat make_image.sh
#!/bin/sh
TARGET_IMAGE=MPkernel`grep "EXTRAVERSION =" Makefile | awk '{print $3}'` # ----> MPkernel이름에 Makefile에 있는 버전정보를 붙인다.
TARGET_IMAGE=${TARGET_IMAGE}-`date +%m-%d` # ---> 추가로 날짜를 붙인다.
mkimage -A arm -T kernel -C none -a 0x7fc0 -e 0x8000 -n MPCore -d arch/arm/boot/Image ${TARGET_IMAGE} && echo resulting image name = ${TARGET_IMAGE}
$ ./make_image.sh
Image Name: MPCore
Created: Tue Apr 8 14:54:37 2008
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2549424 Bytes = 2489.67 kB = 2.43 MB
Load Address: 0x00007FC0
Entry Point: 0x00008000
resulting image name = MPkernel-arm1-perfctr-04-08
실행하면 위와같이 생성된다.
개인적으로 나중에 보려고 올림.