2007-08-17 16:24:33

by Xu Yang

[permalink] [raw]
Subject: kernel 2.6.19 porting

Hi everyone,

I have built up a software virtual prototype system with ARM11MPCORE.
my system is similar with realview_eb_mpcore. but my system is
simpler, which has only a mpcore , uart0, console,timer0_1, and
memorys.

I want to run kernel 2.6.19 on it. I have done some modification, and
now I can just print out some information onto the console, and stuck
at

<7>Calibrating delay loop...

Could you guys give me some suggestion that what other adaptions
should I do according to my system?

any suggestion is welcome:)

thanks,

regards,

yang


2007-08-18 05:35:39

by Willy Tarreau

[permalink] [raw]
Subject: Re: kernel 2.6.19 porting

On Fri, Aug 17, 2007 at 06:24:17PM +0200, Xu Yang wrote:
> Hi everyone,
>
> I have built up a software virtual prototype system with ARM11MPCORE.
> my system is similar with realview_eb_mpcore. but my system is
> simpler, which has only a mpcore , uart0, console,timer0_1, and
> memorys.
>
> I want to run kernel 2.6.19 on it. I have done some modification, and
> now I can just print out some information onto the console, and stuck
> at
>
> <7>Calibrating delay loop...
>
> Could you guys give me some suggestion that what other adaptions
> should I do according to my system?

it's likely that one of your timers is not working. Adding a few
of printk() in the calibration function should help you.

> any suggestion is welcome:)

If you upgrade to a more recent kernel (eg: 2.6.22), you'll get
more feedback because it's fresher in people's mind.

Willy

2007-08-18 09:59:18

by Stefan Richter

[permalink] [raw]
Subject: Re: kernel 2.6.19 porting

Willy Tarreau wrote:
> On Fri, Aug 17, 2007 at 06:24:17PM +0200, Xu Yang wrote:
>> I have built up a software virtual prototype system with ARM11MPCORE.
>> my system is similar with realview_eb_mpcore. but my system is
>> simpler, which has only a mpcore , uart0, console,timer0_1, and
>> memorys.
>>
>> I want to run kernel 2.6.19 on it.
...
> If you upgrade to a more recent kernel (eg: 2.6.22), you'll get
> more feedback because it's fresher in people's mind.

Also, newer kernels apparently have updates which are relevant to EB MPCore.
--
Stefan Richter
-=====-=-=== =--- =--=-
http://arcgraph.de/sr/

2007-08-18 10:21:17

by Xu Yang

[permalink] [raw]
Subject: Re: kernel 2.6.19 porting

Hi Willy ,

thanks for your reply.

I am sure that my timer is working( TIMER0_1), because I checked the
register , it was counting , and the interrupt flag register also
gives out interrupts periodicly.
the problem is that it seems that the program just toggles here:
interrupt rountines, gic_ack(), interrupt handle
functions.............., my simulation enviorment also tells me that
invalid iqr id (0x21) is writen to EOI(end of interrupt).
I am also sure in the interrupt routine I clean the interrupt flag of the timer.

so this is roughly my situation.

does anyone have some idea?

thanks,

regards,

yang


2007/8/18, Stefan Richter <[email protected]>:
> Willy Tarreau wrote:
> > On Fri, Aug 17, 2007 at 06:24:17PM +0200, Xu Yang wrote:
> >> I have built up a software virtual prototype system with ARM11MPCORE.
> >> my system is similar with realview_eb_mpcore. but my system is
> >> simpler, which has only a mpcore , uart0, console,timer0_1, and
> >> memorys.
> >>
> >> I want to run kernel 2.6.19 on it.
> ...
> > If you upgrade to a more recent kernel (eg: 2.6.22), you'll get
> > more feedback because it's fresher in people's mind.
>
> Also, newer kernels apparently have updates which are relevant to EB MPCore.
> --
> Stefan Richter
> -=====-=-=== =--- =--=-
> http://arcgraph.de/sr/
>

2007-08-18 10:22:38

by Xu Yang

[permalink] [raw]
Subject: Re: kernel 2.6.19 porting

Ok I will try that.

thanks :)

2007/8/18, Stefan Richter <[email protected]>:
> Willy Tarreau wrote:
> > On Fri, Aug 17, 2007 at 06:24:17PM +0200, Xu Yang wrote:
> >> I have built up a software virtual prototype system with ARM11MPCORE.
> >> my system is similar with realview_eb_mpcore. but my system is
> >> simpler, which has only a mpcore , uart0, console,timer0_1, and
> >> memorys.
> >>
> >> I want to run kernel 2.6.19 on it.
> ...
> > If you upgrade to a more recent kernel (eg: 2.6.22), you'll get
> > more feedback because it's fresher in people's mind.
>
> Also, newer kernels apparently have updates which are relevant to EB MPCore.
> --
> Stefan Richter
> -=====-=-=== =--- =--=-
> http://arcgraph.de/sr/
>