#/bin/bash

arm-linux-objcopy -O binary \
    -R .note -R .comment \
    -S vmlinux linux.bin

gzip -9 linux.bin

mkimage -A arm -O linux -T kernel -C gzip \
    -a 0x30f00000 -e 0x30f00000 -n "Linux Kernel Image" \
    -d linux.bin.gz uImage


