Received: from eggs.gnu.org ([140.186.70.92]:34115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHFBw-00034C-Mw for qemu-devel@nongnu.org; Tue, 03 May 2011 08:59:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHFBv-00005j-Mp for qemu-devel@nongnu.org; Tue, 03 May 2011 08:59:04 -0400 Received: from nm15.bullet.mail.ukl.yahoo.com ([217.146.183.189]:36897) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QHFBv-00005W-8T for qemu-devel@nongnu.org; Tue, 03 May 2011 08:59:03 -0400 Message-ID: <120011.27501.qm@web26508.mail.ukl.yahoo.com> References: <533680.9209.qm@web26501.mail.ukl.yahoo.com> <285045.7413.qm@web26501.mail.ukl.yahoo.com> Date: Tue, 3 May 2011 13:59:00 +0100 (BST) From: Alessandro In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-72731845-1304427540=:27501" Subject: Re: [Qemu-devel] implementing ARM926EJ-S support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anton.kochkov@gmail.com Cc: qemu-devel@nongnu.org --0-72731845-1304427540=:27501 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Anton.=0AYour proposal is also interesting :-)=0A=0AIt is well-document= ed hardware?=0A=0AIT=0A=0A=0A=0A=0A________________________________=0ADa: = =D0=90=D0=BD=D1=82=D0=BE=D0=BD =D0=9A=D0=BE=D1=87=D0=BA=D0=BE=D0=B2 =0AA: Peter Maydell =0ACc: Ales= sandro ; qemu-devel@nongnu.org=0AInviato: Mar 3 m= aggio 2011, 00:04:13=0AOggetto: Re: [Qemu-devel] implementing ARM926EJ-S su= pport=0A=0AAlessandro, I think you can try add support for one of the Qualc= omm=0AMSM6100, MSM6125, MSM6225, MSM6245, MSM6250, MSM6255A, MSM6260,=0AMSM= 6275, MSM6280, MSM6300, MSM6500, MSM6800;=0AOf course, if you dont know yet= which you want.=0A=0ABest regards,=0AAnton Kochkov.=0A=0A=0A=0A=0AOn Tue, = May 3, 2011 at 01:04, Peter Maydell wrote:=0A> O= n 2 May 2011 13:46, Alessandro wrote:=0A>> ARM c= ore-related code appears to be located (mainly)under ARM directory;=0A>> pe= ripherals-related files should be located under "machine" dir.=0A>=0A> I'm = not sure what source tree you're looking at. Code for ARM core=0A> as a tar= get is in target-arm/. Device models are in hw/. (tcg/arm=0A> is support fo= r emulating other CPUs on an ARM host, so not relevant=0A> for you.)=0A>=0A= >> I still have some questions about QEMU ARM926 support:=0A>>=0A>> 1- What= standard extensions are supported? e.g Jazelle.=0A>=0A> We don't support J= azelle. We don't implement the TCMs (in the same=0A> way we don't implement= caches). We probably don't get all the=0A> device-specific cp15 registers = right. (None of that is likely to be=0A> of any practical importance.) I ca= n't see anything else missing from=0A> a quick scan.=0A>=0A> The rough rule= of thumb for support is "if Linux uses it it's almost=0A> certainly suppor= ted; otherwise it might be missing or broken" :-)=0A>=0A>> 2- Sometimes, So= C includes "inusual"(and _poorly_ documented) hardware: ISP,=0A>> video Cop= roc, and so on.=0A>> This increase significantly the final complexity of pr= oject. What are the=0A>> "guidelines" to follow? What must be implemented, = and what could be safely=0A>> ignored?=0A>=0A> Well, if you're just doing t= hings for your own amusement you can=0A> implement or leave out what you li= ke. For things to be included=0A> in QEMU my personal opinion (I don't have= a veto or anything) would=0A> be that the question is whether there's any = benefit to the new=0A> SoC model that the existing ones don't provide -- is= it some=0A> common piece of hardware that a lot of people own and might wa= nt=0A> to use a model of, for example? If you pass that hurdle then there= =0A> is presumably an OS and set of applications that run on the real=0A> h= ardware, and the minimum level of peripheral support would be=0A> "enough t= o run that".=0A>=0A> What SoC are you planning to model? I assume you have = one in=0A> mind since you were specific about wanting the ARM926 rather=0A>= than a more recent ARM core...=0A>=0A> -- PMM=0A>=0A> --0-72731845-1304427540=:27501 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi, Anton.
Your proposal is also interesting :-)
It is well-documented hardware?

IT


Da: =D0=90=D0=BD=D1=82=D0=BE=D0=BD =D0=9A=D0=BE=D1=87=D0=BA=D0= =BE=D0=B2 <anton.kochkov@gmail.com>
A: Peter Maydell <peter.maydell@linaro.org>
= Cc: Alessandro <hyperboreu= s2002@yahoo.it>; qemu-devel@nongnu.org
Inviato: Mar 3 maggio 2011, 00:04:13
Oggetto: Re: [Qemu-devel] implementing ARM926EJ-S support

Alessandro, I think you can = try add support for one of the Qualcomm
MSM6100, MSM6125, MSM6225, MSM62= 45, MSM6250, MSM6255A, MSM6260,
MSM6275, MSM6280, MSM6300, MSM6500, MSM6= 800;
Of course, if you dont know yet which you want.

Best regards= ,
Anton Kochkov.




On Tue, May 3, 2011 at 01:04, Peter = Maydell <peter.maydell@linaro.org> wrote:
> On= 2 May 2011 13:46, Alessandro <hyperboreus2002@yahoo.it= > wrote:
>> ARM core-related code appears to be located (mainly= )under ARM directory;
>> peripherals-related files should be locat= ed under "machine" dir.
>
> I'm not sure what source tree you'r= e looking at. Code for ARM core
> as a target is in target-arm/. Device models are in hw/. (tcg/arm
> is support for emulating other = CPUs on an ARM host, so not relevant
> for you.)
>
>> = I still have some questions about QEMU ARM926 support:
>>
>&= gt; 1- What standard extensions are supported? e.g Jazelle.
>
>= We don't support Jazelle. We don't implement the TCMs (in the same
>= way we don't implement caches). We probably don't get all the
> devi= ce-specific cp15 registers right. (None of that is likely to be
> of = any practical importance.) I can't see anything else missing from
> a= quick scan.
>
> The rough rule of thumb for support is "if Lin= ux uses it it's almost
> certainly supported; otherwise it might be m= issing or broken" :-)
>
>> 2- Sometimes, SoC includes "inusu= al"(and _poorly_ documented) hardware: ISP,
>> video Coproc, and s= o on.
>> This increase significantly the final complexity of project. What are the
>> "guidelines" to follow? What must be = implemented, and what could be safely
>> ignored?
>
> = Well, if you're just doing things for your own amusement you can
> im= plement or leave out what you like. For things to be included
> in QE= MU my personal opinion (I don't have a veto or anything) would
> be t= hat the question is whether there's any benefit to the new
> SoC mode= l that the existing ones don't provide -- is it some
> common piece o= f hardware that a lot of people own and might want
> to use a model o= f, for example? If you pass that hurdle then there
> is presumably an= OS and set of applications that run on the real
> hardware, and the = minimum level of peripheral support would be
> "enough to run that".<= br>>
> What SoC are you planning to model? I assume you have one i= n
> mind since you were specific about wanting the ARM926 rather
> than a more recent ARM core...
>
> -- PMM
&g= t;
>

=0A
--0-72731845-1304427540=:27501--