Re: ramdisk

2007-09-05 Thread Xu Yang
then is there any new hint about that? I didn't do the memory patition , would this cause the problem? 2007/9/5, Xu Yang <[EMAIL PROTECTED]>: > Hi Uli, > > yes, it is my mistake. actually in the boot option line It was > root=/dev/ram0 . sorry for the misleading. > > rega

Re: ramdisk

2007-09-05 Thread Xu Yang
Hi Uli, yes, it is my mistake. actually in the boot option line It was root=/dev/ram0 . sorry for the misleading. regards, yang 2007/9/5, Uli Luckas <[EMAIL PROTECTED]>: > On Tuesday, 4. September 2007, linux-os (Dick Johnson) wrote: > > On Mon, 3 Sep 2007, Xu Yang wrote: &g

Re: ramdisk

2007-09-05 Thread Xu Yang
Hi Uli, yes, it is my mistake. actually in the boot option line It was root=/dev/ram0 . sorry for the misleading. regards, yang 2007/9/5, Uli Luckas [EMAIL PROTECTED]: On Tuesday, 4. September 2007, linux-os (Dick Johnson) wrote: On Mon, 3 Sep 2007, Xu Yang wrote: Hi everyone, I

Re: ramdisk

2007-09-05 Thread Xu Yang
then is there any new hint about that? I didn't do the memory patition , would this cause the problem? 2007/9/5, Xu Yang [EMAIL PROTECTED]: Hi Uli, yes, it is my mistake. actually in the boot option line It was root=/dev/ram0 . sorry for the misleading. regards, yang 2007/9/5, Uli

Re: ramdisk

2007-09-04 Thread Xu Yang
(Dick Johnson) <[EMAIL PROTECTED]>: > > On Mon, 3 Sep 2007, Xu Yang wrote: > > > Hi everyone, > > > > I want to use ramdisk to boot my filesystem, as I can't use NFS and > > harddisk. > > > > I have load the ramdisk into the ram memory (start ad

Re: ramdisk

2007-09-04 Thread Xu Yang
Hi Bill, OK I will try it. Thanks, 2007/9/4, Bill Davidsen <[EMAIL PROTECTED]>: > Xu Yang wrote: > > thanks for the reply. > > > > no , it is not decompressed. isn' t the kernel supposed to do that? As > > we have tried to load this filesystem on the pc, it

Re: ramdisk

2007-09-04 Thread Xu Yang
Hi Bill, OK I will try it. Thanks, 2007/9/4, Bill Davidsen [EMAIL PROTECTED]: Xu Yang wrote: thanks for the reply. no , it is not decompressed. isn' t the kernel supposed to do that? As we have tried to load this filesystem on the pc, it turns out the the kernel can recognize

Re: ramdisk

2007-09-04 Thread Xu Yang
(Dick Johnson) [EMAIL PROTECTED]: On Mon, 3 Sep 2007, Xu Yang wrote: Hi everyone, I want to use ramdisk to boot my filesystem, as I can't use NFS and harddisk. I have load the ramdisk into the ram memory (start address :0x400) and in the boot options I specified : root =dev

mutex vs cache coherency protocol(for multiprocessor )

2007-09-03 Thread Xu Yang
Hello everyone, Just got a rough question in my head. don't know whether anyone interested . mutex vs cache coherency protocol(for multiprocessor) both of these two can be used to protect shared resource in the memory. are both of them necessary? for example: in a multiprocessor system, if

Re: ramdisk

2007-09-03 Thread Xu Yang
. is this might be a problem? regards, 2007/9/3, Bill Davidsen <[EMAIL PROTECTED]>: > Xu Yang wrote: > > Hi everyone, > > > > I want to use ramdisk to boot my filesystem, as I can't use NFS and > > harddisk. > > > > I have load the ramdisk

ramdisk

2007-09-03 Thread Xu Yang
Hi everyone, I want to use ramdisk to boot my filesystem, as I can't use NFS and harddisk. I have load the ramdisk into the ram memory (start address :0x400) and in the boot options I specified : root =dev/ram0 initrd=0x400 but the kernel said it can not find any file system on it.

ramdisk

2007-09-03 Thread Xu Yang
Hi everyone, I want to use ramdisk to boot my filesystem, as I can't use NFS and harddisk. I have load the ramdisk into the ram memory (start address :0x400) and in the boot options I specified : root =dev/ram0 initrd=0x400 but the kernel said it can not find any file system on it.

Re: ramdisk

2007-09-03 Thread Xu Yang
. is this might be a problem? regards, 2007/9/3, Bill Davidsen [EMAIL PROTECTED]: Xu Yang wrote: Hi everyone, I want to use ramdisk to boot my filesystem, as I can't use NFS and harddisk. I have load the ramdisk into the ram memory (start address :0x400) and in the boot options I

mutex vs cache coherency protocol(for multiprocessor )

2007-09-03 Thread Xu Yang
Hello everyone, Just got a rough question in my head. don't know whether anyone interested . mutex vs cache coherency protocol(for multiprocessor) both of these two can be used to protect shared resource in the memory. are both of them necessary? for example: in a multiprocessor system, if

Re: parse_tag_ramdisk

2007-08-31 Thread Xu Yang
his enough? regards, Yang 2007/8/30, Uli Luckas <[EMAIL PROTECTED]>: > On Thursday, 30. August 2007, Xu Yang wrote: > > Hi Uli, > > > > > > thanks for your reply. > > > > just have a question, where is the tag list, how can i modify this? > >

Re: parse_tag_ramdisk

2007-08-31 Thread Xu Yang
, Yang 2007/8/30, Uli Luckas [EMAIL PROTECTED]: On Thursday, 30. August 2007, Xu Yang wrote: Hi Uli, thanks for your reply. just have a question, where is the tag list, how can i modify this? If you don't know where the list is created, how do you now that it contains a ramdisk

Re: parse_tag_ramdisk

2007-08-30 Thread Xu Yang
Hi Uli, thanks for your reply. just have a question, where is the tag list, how can i modify this? regards, yang 2007/8/30, Uli Luckas <[EMAIL PROTECTED]>: > On Thursday, 30. August 2007, Xu Yang wrote: > > Hi guys, > > > > > > I found that

parse_tag_ramdisk

2007-08-30 Thread Xu Yang
Hi guys, I found that in the function parse_tag_ramdisk , the setup_ramdisk is called. is it true that in the setup_ramdisk the location ot the initrd is specified? it seems that in my case the parse_tag_ramdisk is never accessed. what might cause this? in the parse_tag_ramdisk the tag should

Re: from which address does the kernel load initrd?

2007-08-30 Thread Xu Yang
hi peter, thanks for your reply. my platform is realview_eb_mpcore. the cpu is arm. not i386. and I check the booting file in the documentation /arm , it is not specified. do you have any idea about that? anyone knows? thanks, regards, 2007/8/29, H. Peter Anvin <[EMAIL PROTECTED]>

Re: from which address does the kernel load initrd?

2007-08-30 Thread Xu Yang
hi peter, thanks for your reply. my platform is realview_eb_mpcore. the cpu is arm. not i386. and I check the booting file in the documentation /arm , it is not specified. do you have any idea about that? anyone knows? thanks, regards, 2007/8/29, H. Peter Anvin [EMAIL PROTECTED]: Xu Yang

parse_tag_ramdisk

2007-08-30 Thread Xu Yang
Hi guys, I found that in the function parse_tag_ramdisk , the setup_ramdisk is called. is it true that in the setup_ramdisk the location ot the initrd is specified? it seems that in my case the parse_tag_ramdisk is never accessed. what might cause this? in the parse_tag_ramdisk the tag should

Re: parse_tag_ramdisk

2007-08-30 Thread Xu Yang
Hi Uli, thanks for your reply. just have a question, where is the tag list, how can i modify this? regards, yang 2007/8/30, Uli Luckas [EMAIL PROTECTED]: On Thursday, 30. August 2007, Xu Yang wrote: Hi guys, I found that in the function parse_tag_ramdisk , the setup_ramdisk

from which address does the kernel load initrd?

2007-08-29 Thread Xu Yang
does anyone know from which address does the kernel load the initrd? I mean the default value? I want to boot the filesystem using a ramdisk. but the I don't know where to put it in my ram? as I don't have flash , I can only load the ramdisk into the ram. and which boot option should I use?

from which address does the kernel load initrd?

2007-08-29 Thread Xu Yang
does anyone know from which address does the kernel load the initrd? I mean the default value? I want to boot the filesystem using a ramdisk. but the I don't know where to put it in my ram? as I don't have flash , I can only load the ramdisk into the ram. and which boot option should I use?

Re: lowlevel_init.c

2007-08-28 Thread Xu Yang
----- Original Message - > From: "Xu Yang" <[EMAIL PROTECTED]> > To: "Gavin Shan" <[EMAIL PROTECTED]> > Cc: > Sent: Tuesday, August 28, 2007 11:04 PM > Subject: Re: lowlevel_init.c > > > > Hi Gavin, > > > > yes, the file low

Re: lowlevel_init.c

2007-08-28 Thread Xu Yang
AIL PROTECTED]>: > > - Original Message ----- > From: "Xu Yang" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, August 28, 2007 10:49 PM > Subject: lowlevel_init.c > > > > Hello everyone, > > > > i am trying to run linux on realview_eb_mp

lowlevel_init.c

2007-08-28 Thread Xu Yang
Hello everyone, i am trying to run linux on realview_eb_mpcore. I read some articles about how to port linux and uboot to a new board, according to the article, when I am porting the uboot, i should modify a file called lowlevel_init.c , which is in the fold board/realview_eb. this file describes

lowlevel_init.c

2007-08-28 Thread Xu Yang
Hello everyone, i am trying to run linux on realview_eb_mpcore. I read some articles about how to port linux and uboot to a new board, according to the article, when I am porting the uboot, i should modify a file called lowlevel_init.c , which is in the fold board/realview_eb. this file describes

Re: lowlevel_init.c

2007-08-28 Thread Xu Yang
PROTECTED]: - Original Message - From: Xu Yang [EMAIL PROTECTED] To: linux-kernel@vger.kernel.org Sent: Tuesday, August 28, 2007 10:49 PM Subject: lowlevel_init.c Hello everyone, i am trying to run linux on realview_eb_mpcore. I read some articles about how to port linux

Re: lowlevel_init.c

2007-08-28 Thread Xu Yang
u-boot/board/realview_eb/lowlevel_init.S this is the exact path for the file. 2007/8/28, Gavin Shan [EMAIL PROTECTED]: I couldn't find out the file. oak:/home2/gshan/u-boot/board oakfind . -name lowlevel_init.c oak:/home2/gshan/u-boot/board - Original Message - From: Xu Yang

boot monitor of realview_eb_mpcore

2007-08-27 Thread Xu Yang
Is anyone using the realview_eb_mpcore? could you send me the boot monitor file for that if possible? I am using the software virtual prototype to simulate this platform , and I need this boot monitor first. I appreciate it very much. regards, yang - To unsubscribe from this list: send the

boot monitor of realview_eb_mpcore

2007-08-27 Thread Xu Yang
Is anyone using the realview_eb_mpcore? could you send me the boot monitor file for that if possible? I am using the software virtual prototype to simulate this platform , and I need this boot monitor first. I appreciate it very much. regards, yang - To unsubscribe from this list: send the

Re: how is the boot process of the multicore system

2007-08-22 Thread Xu Yang
the interrupt. they jump to the kernel? or sth eles? if they jump to the kernel, to what address? and these jump instructions are in the boot monitor? sorry for so many questions thanks a lot. 2007/8/22, Alan Cox <[EMAIL PROTECTED]>: > On Wed, 22 Aug 2007 16:53:41 +0200 > "

lists

2007-08-22 Thread Xu Yang
lists - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

how is the boot process of the multicore system

2007-08-22 Thread Xu Yang
Hi everyone, I am just wondering how is the boot process of the multicore system exactly. let's say there are 4 cores , what is the booting sequence? and how does linux realise the booting process? anyone has any idea? thanks regards, Yang - To unsubscribe from this list: send the line

how is the boot process of the multicore system

2007-08-22 Thread Xu Yang
Hi everyone, I am just wondering how is the boot process of the multicore system exactly. let's say there are 4 cores , what is the booting sequence? and how does linux realise the booting process? anyone has any idea? thanks regards, Yang - To unsubscribe from this list: send the line

lists

2007-08-22 Thread Xu Yang
lists - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: how is the boot process of the multicore system

2007-08-22 Thread Xu Yang
the interrupt. they jump to the kernel? or sth eles? if they jump to the kernel, to what address? and these jump instructions are in the boot monitor? sorry for so many questions thanks a lot. 2007/8/22, Alan Cox [EMAIL PROTECTED]: On Wed, 22 Aug 2007 16:53:41 +0200 Xu Yang [EMAIL PROTECTED

Re: warning in set_irq_chip, ARM port (was Re: bug information)

2007-08-20 Thread Xu Yang
, such as gic_ack_irq. gic_mask_irq, handle_level_irq, and so on. do you have any idea where could be the problem? Best regards, Yang 2007/8/18, Stefan Richter <[EMAIL PROTECTED]>: > Xu Yang wrote: > > When I was porting kernel 2.6.19 to my realview_eb_mpcore system, I > > got the

realview_timer_interrupt( ) problem

2007-08-20 Thread Xu Yang
Hi guys, I am running the kernel 2.6.21 on my realview_eb system I got problem at the realview_timer_interrupt(): this interrupt routine is executed 4 times, during one os timer interval. which means even the real interrupt doesn't happen, the interrupt routine is still executed. anyone have any

realview_timer_interrupt( ) problem

2007-08-20 Thread Xu Yang
Hi guys, I am running the kernel 2.6.21 on my realview_eb system I got problem at the realview_timer_interrupt(): this interrupt routine is executed 4 times, during one os timer interval. which means even the real interrupt doesn't happen, the interrupt routine is still executed. anyone have any

Re: warning in set_irq_chip, ARM port (was Re: bug information)

2007-08-20 Thread Xu Yang
, such as gic_ack_irq. gic_mask_irq, handle_level_irq, and so on. do you have any idea where could be the problem? Best regards, Yang 2007/8/18, Stefan Richter [EMAIL PROTECTED]: Xu Yang wrote: When I was porting kernel 2.6.19 to my realview_eb_mpcore system, I got the following information. ... does

TIMER0 interrupt's problem in kernel 2.6.21 ( realview-smp_defconfig)

2007-08-18 Thread Xu Yang
I am running kernel 2.6.21 on my realview_eb_mpcore system. at the beginning I found the program is stuck at calibrating loop, this is because that the timer0 didn't give out any interrupt. after enable the timer0's interrupt, I found that even when there is no timer interrupt

Re: how to add debug information into the vmlinux

2007-08-18 Thread Xu Yang
this vmlinux file is running on my software virtual prototype system. and my software enviorment can only load elf file, so I am using this real vmlinux file. regards, Yang 2007/8/18, Jan Engelhardt <[EMAIL PROTECTED]>: > > On Aug 18 2007 21:49, Xu Yang wrote: > > > >I t

Re: how to add debug information into the vmlinux

2007-08-18 Thread Xu Yang
-addresses 0x4000 to change the start address of the vmlinux, and the program goes further.but the debug information disappeared. how to handle this? (making the program running and debug information available) thanks, regards, yang 2007/8/17, Jesper Juhl <[EMAIL PROTECTED]>: > On 17/

Re: warning in set_irq_chip, ARM port (was Re: bug information)

2007-08-18 Thread Xu Yang
Hi Stefan, thanks for your explaination:) I will try the kernel 2.6.22 and reprot the results later. regards, yang 2007/8/18, Stefan Richter <[EMAIL PROTECTED]>: > Xu Yang wrote: > > When I was porting kernel 2.6.19 to my realview_eb_mpcore system, I > > got the

Re: kernel 2.6.19 porting

2007-08-18 Thread Xu Yang
, 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

Re: kernel 2.6.19 porting

2007-08-18 Thread Xu Yang
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 simila

Re: kernel 2.6.19 porting

2007-08-18 Thread Xu Yang
, 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

Re: kernel 2.6.19 porting

2007-08-18 Thread Xu Yang
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

Re: warning in set_irq_chip, ARM port (was Re: bug information)

2007-08-18 Thread Xu Yang
Hi Stefan, thanks for your explaination:) I will try the kernel 2.6.22 and reprot the results later. regards, yang 2007/8/18, Stefan Richter [EMAIL PROTECTED]: Xu Yang wrote: When I was porting kernel 2.6.19 to my realview_eb_mpcore system, I got the following information. ... does

Re: how to add debug information into the vmlinux

2007-08-18 Thread Xu Yang
-addresses 0x4000 to change the start address of the vmlinux, and the program goes further.but the debug information disappeared. how to handle this? (making the program running and debug information available) thanks, regards, yang 2007/8/17, Jesper Juhl [EMAIL PROTECTED]: On 17/08/07, Xu Yang

Re: how to add debug information into the vmlinux

2007-08-18 Thread Xu Yang
this vmlinux file is running on my software virtual prototype system. and my software enviorment can only load elf file, so I am using this real vmlinux file. regards, Yang 2007/8/18, Jan Engelhardt [EMAIL PROTECTED]: On Aug 18 2007 21:49, Xu Yang wrote: I tried as what you told me

TIMER0 interrupt's problem in kernel 2.6.21 ( realview-smp_defconfig)

2007-08-18 Thread Xu Yang
I am running kernel 2.6.21 on my realview_eb_mpcore system. at the beginning I found the program is stuck at calibrating loop, this is because that the timer0 didn't give out any interrupt. after enable the timer0's interrupt, I found that even when there is no timer interrupt

how to add debug information into the vmlinux

2007-08-17 Thread Xu Yang
Hello everyone, I am trying to port kernel 2.6.19 onto my system.so I need the c code , which can show me where the program is running. I add -g when I compile it. after I got the vmlinux( uncompressed) I used arm-none-eabi-objcopy --change-addresses 0x4000 to change the start address. it

kernel 2.6.19 porting

2007-08-17 Thread Xu Yang
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

kernel 2.6.19 porting

2007-08-17 Thread Xu Yang
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

how to add debug information into the vmlinux

2007-08-17 Thread Xu Yang
Hello everyone, I am trying to port kernel 2.6.19 onto my system.so I need the c code , which can show me where the program is running. I add -g when I compile it. after I got the vmlinux( uncompressed) I used arm-none-eabi-objcopy --change-addresses 0x4000 to change the start address. it