[okl4-developer] Error on Building Image

Tsai, Tung-Chieh tsaitungchieh at gmail.com
Fri Aug 22 16:26:25 EST 2008


Dear all,

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 ?

Best Regards,
Tsai, Tung-Chieh



More information about the Developer mailing list