Here my code to prepend an AIF header to zImage for EBSA285
Please tell me if I'm doing something wrong
# Makefile
SIZE := $(shell wc -c zImage | gawk '{print $$1}')
hdr: hdr.S zImage
arm-linux-as --defsym size=$(SIZE) hdr.S -o hdr.o
arm-linux-objcopy -O binary hdr.o hdr
cat hdr zImage > linux.axf
/* hdr.S */
.text
mov r0,r0
mov r0,r0
bl init
.word 0
swi 0x11
.word size
.word 0
.word 0
.word 0
.word 0
.word 0x8000
.word 0
.word 32
.word 0
.word 0
.word 0
mov r0,r0
init: mov r0,#0
mov r1,#4 /* EBSA285 */
mov r4,#0
orr r4,r4,#0x8000
mov r5,#0x130 /* turns MMU off */
mcr p15,0,r5,c1,c0
mov r0,r0
mov pc,r4
mov r0,r0
mov r0,r0
mov r0,r0
mov r0,r0
mov r0,r0
mov r0,r0
mov r0,r0
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
- Re: transform zImage to AIF christophe . leroy5
- Re: transform zImage to AIF Philip Blundell
- Re: transform zImage to AIF christophe . leroy5
- Re: transform zImage to AIF Philip Blundell
- Re: transform zImage to AIF christophe . leroy5
- Re: transform zImage to AIF Philip Blundell
- Re: transform zImage to AIF christophe . leroy5
- Re: transform zImage to ... Philip Blundell
- Re: transform zImage to ... Andrew Thomas
- Re: transform zImage to ... Philip Blundell
- Re: transform zImage to ... Dave Baukus
