[okl4-developer] getting started with OKL4
Claudiu-Dan Gheorghe
claudiugh at gmail.com
Wed Mar 3 00:33:54 EST 2010
Hello,
I am trying to get started with OKL4 kernel and I have a few
questions, even if they will probably sound quite silly.
Firstly, I can't find documentation about the kernel itself and not
only the SDK. I am searching something to start with, for example
explaining how the kernel's source tree is organized, how I can build
it, how I can simulate it, and so on. The tutorials from the OKL4 wiki
are oriented only on the SDK. Am I looking for the wrong thing?
Anyway, I've tried to follow one of the SDK tutorials (Hello World
example) to see that something is working. When I'm building the
example with 'make' I get the following message several times:
'import site' failed; use -v for traceback
but the image it being built successfully.
When I try to run it with Skyeye simulator, I get the following output:
Your elf file is little endian.
arch: arm
cpu info: xscale, pxa25x, 69052100, fffffff0, 2
mach info: name pxa_lubbock, mach_init addr 0x80688a0
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use xscale mmu ops
exec file "build.micro-debug/images/image.sim"'s format is elf32-little.
load section echo.text: lma = 0xa0010000 (vma = 0x80000000) size = 0x00006684.
load section echo.rodata: lma = 0xa0016688 (vma = 0x80006688) size =
0x00001d98.
load section initscript: lma = 0xa0007000 (vma = 0x80009000) size = 0x00001000.
load section echo.got: lma = 0xa0005430 (vma = 0x80010430) size = 0x00000010.
load section echo.data: lma = 0xa0005440 (vma = 0x80010440) size = 0x00000148.
not load section echo.bss: addr = 0x80010588 size = 0x0000032c .
load section echo.cell_environment: lma = 0xa0019000 (vma =
0x80011000) size = 0x00000a1b.
load section chatterbox.text: lma = 0xa0020000 (vma = 0x90000000)
size = 0x00006594.
SKYEYE:NumInstrs 0, mem_write_byte addr = 90000000 no bank
and that probably means that something went wrong.
To be noted that I am using Ubuntu 9.10 (2.6.31) and libbfd-2.20. When
I first run the Skyeye simulator it was throwing error when searching
for libbfd-2.19.90.20090909.so and I've made a symbolic link from
libbfd-2.20.so to the requested one as indicated in [1].
Do you have any suggestions to help me get a more clear idea on OKL4?
[1] http://www.mail-archive.com/universe-bugs@lists.ubuntu.com/msg150576.html
--
Claudiu Gheorghe
MSc Politehnica University of Bucharest
More information about the Developer
mailing list