Update of /cvsroot/linux-mips/linux/arch/mips/zboot/utils
In directory usw-pr-cvs1:/tmp/cvs-serv26774/arch/mips/zboot/utils
Added Files:
entry offset size
Log Message:
Alchemy PB1000 zImage support.
Most of this work is portable to other embedded mips boards. The board
specific code is in the pb1000 directory and it's just head.S and the
Makefile and linker script.
The common code was ported with very few modifications from the PPC
boot code.
--- NEW FILE: entry ---
#!/bin/sh
# grab the kernel_entry address from the vmlinux elf image
echo "0x"`$1 $2 | grep kernel_entry | cut -c9- | awk '{print $1}'`
--- NEW FILE: offset ---
#!/bin/sh
echo "0x"`$1 -h $2 | grep $3 | grep -v zvmlinux| awk '{print $6}'`
--- NEW FILE: size ---
#!/bin/sh
OFFSET=`$1 -h $2 | grep $3 | grep -v zvmlinux | awk '{print $3}'`
echo "0x"$OFFSET
|