> >Here my code to prepend an AIF header to zImage for EBSA285
> >Please tell me if I'm doing something wrong
> 
> The code itself looks OK but you might not be taking sufficient care over the 
> memory layout.  If the idea is that this works in the same way as the CATS 
> bootstrap (ie you load it at address 0), you need to have enough padding that 
> zImage starts at 0x8000.  This is what the .align and .space directives were 
> for in the source I sent you.  Alternatively you could load the code at 
> 0x8000-sizeof(hdr) but Angel might not be too keen on that.
> 

According to the doc, you  cannot use memory under 0x8000. So, 
I've prepend an AIF header that tells the boot loader to copy image 
to 0x8000, then I've put into zero-init zone the part of code to set 
r0,r1 and put off mmu, then I should jump to 0x8000

But I'm not sure zero-init code is executed in that case.

Anyway, by initialisiing UART in uncomp_setup_arch() , I now get
"Uncompressing Linux...done"
and "now booting the kernel.",
but then .... nothing

I've also tried by adding the bootstrap instructions to the beginning 
of head.S, but It doesn't work neither better nor bader

Christophe
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to