Subject: Re: gzboot booting problem
To: Danny Lau <liudengcs@gmail.com>
From: Allen Briggs <briggs@netbsd.org>
List: port-arm
Date: 05/26/2006 14:35:32
On Sat, May 27, 2006 at 12:19:16AM +0800, Danny Lau wrote:
>    The  develop  board  ---NOT  SMDK2410  board,  just engage the s3c2410
>    chip --- I  use  is booted from NAND Flash when power on, so I wrote a
>    piece  of  code  to  copy image from NAND Flash to SDRAM since I can't
>    find similar function in the gzboot.
> 
>    I'm sure the R15 is 0x30200000 (via Jtag) just before jumping, and the
>    plain    kernel   can   be successfully   executed   when   downloaded
>    directly into  that  address by some utilities. So I guess that gzboot
>    decompress  kernel  in  a  wrong  way,  or  the  code I wrote has some
>    problems.

Can you read the RAM as 0x30200000 via JTag?  If so, does it
correspond to the first bytes of the kernel?

Is there other system initialization happening when you boot
with "some utilities" ?

-allen

-- 
                  Use NetBSD!  http://www.NetBSD.org/