[okl4-developer] Error building OKL 1.5.2 for imx31 on Fedora7 & python2.5

DeVico, Michael mdevico at qualcomm.com
Tue May 20 09:47:50 EST 2008


Hello,

I just downloaded OKL v1.5.2 and installed the arm cross-compiler from
http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.gz)

But when I tried to invoke an imx31 build as follows:

./tools/build.py project=iguana machine=kzm_arm11

I kept getting the following error:

scons: Reading SConscript files ...
projects/iguana/SConstruct:433 Error: KengeBuild instance has no attribute 'expect_test_data'

So I tried commenting out the following lines in projects/iguana/SConstruct:

elif machine.__name__ == 'kzm_arm11':
#    build.expect_test_data = [('KZM_ARM11 #', '^Ecfsetenv bootfile regression/kzm_arm11'), \
#        ('KZM_ARM11 #', 'dhcp'), ('KZM_ARM11 #', 'go 0x80000000')] + build.expect_test_data
    build.TestImage(boot_image)
    build.RunImage(boot_image)
    Default(boot_image)

After doing so, the build actually seemed to run. It got all the way to the end but then complained
with the following error:

[ELF ] build/images/image.elf
An error occurred: unpack requires a string argument of length 36
[ELF ] build/images/image.boot
An error occurred: [Errno 2] No such file or directory: 'build/images/image.elf'
scons: done building targets.

So what I am doing wrong?

I'm building on Fedora 7.

Also, note that I had to update the #!/bin/env line at the top of build.py to use python2.5 instead of
2.4 because that's the version installed on my box.

BTW: I'm completely new to OKL and SConstruct files, so if my question sounds extremely dumb I apologize in
advance!! :)

Thanks!

--Mike







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080519/2ff63048/attachment-0001.htm 


More information about the Developer mailing list