Lines Matching refs:kernel
6 # This script takes a kernel binary and optionally an initrd image
17 # -c cache $kernel.strip.gz (use if present & newer, else make)
36 kernel=
162 # the kernel tree. So keeping this around for backwards compatibility.
170 [ -z "$kernel" ] || usage
171 kernel="$1"
188 if [ -z "$kernel" ]; then
189 kernel=vmlinux
192 LANG=C elfformat="`${CROSS}objdump -p "$kernel" | grep 'file format' | awk '{print $4}'`"
202 # this script (wrapper) is distributed separately from the kernel source.
227 ksection=.kernel:vmlinux.strip
228 isection=.kernel:initrd
229 esection=.kernel:esm_blob
313 ksection=.kernel:vmlinux.bin
314 isection=.kernel:initrd
368 vmz="$tmpdir/`basename \"$kernel\"`.$ext"
371 ${CROSS}objcopy $objflags "$kernel" "$vmz.$$"
374 if [ -z "$cacheit" -o ! -f "$vmz$compression" -o "$vmz$compression" -ot "$kernel" ]; then
415 echo "INFO: Uncompressed kernel (size 0x$(printf "%x\n" $strip_size))" \
422 # Extract kernel version information, some platforms want to include
424 version=`${CROSS}strings "$kernel" | grep '^Linux version [-0-9.]' | \
430 # physical offset of kernel image
431 membase=`${CROSS}objdump -p "$kernel" | grep -m 1 LOAD | awk '{print $7}'`
436 ${MKIMAGE} -A ppc -O linux -T kernel -C $uboot_comp -a $membase -e $membase \
481 addsec $tmp "$dtb" .kernel:dtb
521 ${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
536 # a binary image of the kernel to be at addr zero, and yet have a