okl4 3.0 for openmoko Neo FreeRunner(s3c2442)

3 messages Options
Embed this post
Permalink
Sean Chiang

okl4 3.0 for openmoko Neo FreeRunner(s3c2442)

Reply Threaded More More options
Print post
Permalink
Hi folks,

I have a gta02(Neo FreeRunner) on hand and I have been porting the okl4 3.0 to gta02 days ago.

First, I almost copied everything from platform/s3c2410/ to platform /s3c2442/ and did some gta02 specific modifications. Fortunately, it's workable, I mean at least I could see msg[1] from serial console or lcm and no exception happen so far.

But the booting process seems to be in trouble, if you look at the bootlog you would know what I mean. There's nothing happen after the msg "## Starting application at 0xf0000000 ..." displayed.

What's supposed to be displayed, run or happen after the msg "Starting..". I tried to dump the image.elf, dug into the source to see what might happen but still didn't find out where is the func definition of kernel_arch_init and init_memory. :(

I'm newbie to okl4 so any suggestion would be very appreciated.

Btw, You could reach machines.py and image file at here[2]. ;)

[1]
http://people.openmoko.org/sean_chiang/okl4_3/image.elf.bootlog
http://people.openmoko.org/sean_chiang/okl4_3/image.bin.bootlog

[2]
http://people.openmoko.org/sean_chiang/okl4_3/

-Sean Chiang


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Josh Matthews

Re: okl4 3.0 for openmoko Neo FreeRunner(s3c2442)

Reply Threaded More More options
Print post
Permalink
Hi Sean,

On Fri, January 16, 2009 1:37 am, Sean Chiang wrote:

> I have a gta02(Neo FreeRunner) on hand and I have been porting the okl4
> 3.0 to gta02 days ago.

Welcome to OKL4. That sounds like a great project!

> First, I almost copied everything from platform/s3c2410/ to platform
> /s3c2442/ and did some gta02 specific modifications. Fortunately, it's
> workable, I mean at least I could see msg[1] from serial console or lcm
> and no exception happen so far.
>
> But the booting process seems to be in trouble, if you look at the bootlog
> you would know what I mean. There's nothing happen after the msg "##
> Starting application at 0xf0000000 ..." displayed.
>
> What's supposed to be displayed, run or happen after the msg "Starting..".

The expected output depends on your build. Would you be able to let us
know the build line that you used to produce this build?

The output in image.elf.bootlog is from U-Boot only, so a first guess at
the problem would suspect your UART/serial driver. However, the output in
image.bin.bootlog at least shows the OKL4 hello message (which is printf'd
from init_hello(), called from startup_system_mmu() in
arch/arm/pistachio/src/init.cc). My advice would be to track execution
from there using printfs to see how far the kernel actually gets.

Best regards,

Josh


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Sean Chiang

Re: okl4 3.0 for openmoko Neo FreeRunner(s3c2442)

Reply Threaded More More options
Print post
Permalink
Josh,

Sorry for late, my internet got broken last weekend. :(

Here is the build argument,

./build.py machine=gta02 project=l4test project=iguana project=examples example=hello pistachio.TOOLC    HAIN=gnu_arm_toolchain PYFREEZE=False mutex_type=user enable_fastpaths=False


2009/1/17 Josh Matthews <[hidden email]>
Hi Sean,

On Fri, January 16, 2009 1:37 am, Sean Chiang wrote:

> I have a gta02(Neo FreeRunner) on hand and I have been porting the okl4
> 3.0 to gta02 days ago.

Welcome to OKL4. That sounds like a great project!

> First, I almost copied everything from platform/s3c2410/ to platform
> /s3c2442/ and did some gta02 specific modifications. Fortunately, it's
> workable, I mean at least I could see msg[1] from serial console or lcm
> and no exception happen so far.
>
> But the booting process seems to be in trouble, if you look at the bootlog
> you would know what I mean. There's nothing happen after the msg "##
> Starting application at 0xf0000000 ..." displayed.
>
> What's supposed to be displayed, run or happen after the msg "Starting..".

The expected output depends on your build. Would you be able to let us
know the build line that you used to produce this build?

The output in image.elf.bootlog is from U-Boot only, so a first guess at
the problem would suspect your UART/serial driver. However, the output in
image.bin.bootlog at least shows the OKL4 hello message (which is printf'd
from init_hello(), called from startup_system_mmu() in
arch/arm/pistachio/src/init.cc). My advice would be to track execution

Got it, will give it a try and see what happen. Thanks. ;)
 

from there using printfs to see how far the kernel actually gets.

Best regards,

Josh


-Sean Chiang

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer