[okl4-developer] Error on Building Image

Nelson Tam nelson at ok-labs.com
Fri Aug 22 16:51:24 EST 2008


Hi,

It sounds like you are trying to port to the Android platform but  
using a configuration for s3c2410.  That explains why elfweaver works  
when you replaces certain variables with arm920t.

It is likely that there is some configuration variable that needs to  
be changed for goldfish.  I would starting looking at platform/x/tools/ 
machines.py and build/images/weaver.xml and see if anything looks  
suspicious.

Nelson.

On 22/08/2008, at 4:26 PM, Tsai, Tung-Chieh wrote:

>
> I've watched the video of porting okl4 to Android QEMU from :
>  http://benno.id.au/blog/2008/05/21/porting-okl4-to-a-new-soc
> and then I'm trying to do it. I use okl4_2.1.1-patch.9( from okl4  
> offical
> website), it seen quite different to the okl4 version used in the  
> video.
> I viewed the source of s3c2410, and put some 'empty' function to my
> implementation. It seems all right in compiling and linking, but
> finally I got problem in building ELF image. The output message is  
> below :
>
> [XML ] build/images/weaver.xml
> scons: building `build/images/image.elf' because it doesn't exist
> [ELF ] build/images/image.elf
> Error: Could not find address f0021044 in Image.
> scons: *** [build/images/image.elf] Error 1
> scons: building terminated because of errors.
>
> I think there is something I miss to this version of okl4,but I'm  
> not sure what
> it is. Initially, I think I miss something in 'machine.py', so I  
> change my
> machine.py to s3c2410's version, and change the name and value in  
> it, but I
> got the same result. Accidentally, I found that if I change the cpu
> of goldfish
> to arm920t, this problem will disappear.
>
> I found the scons setting of arm926ejs in `.../arch/arm/tools/ 
> machines.py`,
> try to see if any thing I can do for it. Finally I think the problem
> is not here,
> because I found that if I only change the value of variable cpu in
> 'class arm926ejs(armv5tej):' to 'arm920t'( without modify any other  
> thing),
> this problem disapear again.
>
> So, I have no idea to deal with this problem. Could anyone give me  
> some
> advice about what may cause this problem ?

--
(nt)

Nelson Tam




More information about the Developer mailing list