From: Antony Pavlov <antonynpavlov@gmail.com>
To: Condello <condellog@gmail.com>
Cc: Alex Dumitrache <broscutamaker@gmail.com>,
Peter Crosthwaite <peter.crosthwaite@xilinx.com>,
g3gg0 <georg.hofstetter@lx-networking.de>,
Peter Maydell <peter.maydell@linaro.org>,
qemu-devel@nongnu.org, Paul Brook <paul@codesourcery.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [RFC 2/5] hw/arm: add very initial support for Canon DIGIC SoC
Date: Thu, 29 Aug 2013 20:22:42 +0400 [thread overview]
Message-ID: <20130829202242.2b40e280add3b150eefeb9ce@gmail.com> (raw)
In-Reply-To: <CANyvUMASe9icBkmDk_U0kRF0+2PO-DkJZRaOBEYuZOTJM4TzJQ@mail.gmail.com>
On Thu, 29 Aug 2013 16:29:30 +0200
Condello <condellog@gmail.com> wrote:
> On Thu, Aug 29, 2013 at 11:33 AM, Antony Pavlov <antonynpavlov@gmail.com> wrote:
> > diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
> > index ac0815d..0d1d783 100644
> > --- a/default-configs/arm-softmmu.mak
> > +++ b/default-configs/arm-softmmu.mak
> > @@ -63,6 +63,7 @@ CONFIG_FRAMEBUFFER=y
> > CONFIG_XILINX_SPIPS=y
> >
> > CONFIG_A9SCU=y
> > +CONFIG_DIGIC=y
>
> IMHO CONFIG_DIGIC should really be CONFIG_DIGIC_4. We don't know how
> the DIGIC package will change in the future but it doesn't hurt since
> everything else references digic4 already.
There are two reasons to use CONFIG_DIGIC, but not CONFIG_DIGIC4:
1. CONFIG_DIGIC is used not only for SoC support enabling but for IP-block (UART and TIMER) enabling too. But this blocks are used not only in DIGIC4, so if you use
CONFIG_DIGIC4 for SoC enabling you need use something like CONFIG_DIGIC_UART and
CONFIG_DIGIC_TIMER for IP-block enabling. But if you enable your CONFIG_DIGIC4
but CONFIG_DIGIC_UART is disabled then qemu fails to start digic board
(I unintentionally checked this fact yesterday :).
Does we really need this overcomplication?
Just now it is not evident how to make the partition of the code.
2. AFAIR the digic chips are different but the core functionality is the same.
I have red in CHDK forum about a programm for DIGIC3 that run well on DIGIC4.
--
Best regards,
Antony Pavlov
next prev parent reply other threads:[~2013-08-29 16:25 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-29 9:33 [Qemu-devel] [RFC 0/5] add initial support for Canon DIGIC SoC Antony Pavlov
2013-08-29 9:33 ` [Qemu-devel] [RFC 1/5] target-arm: add ARM946E-S CPU Antony Pavlov
2013-08-29 10:44 ` Peter Maydell
2013-08-29 10:52 ` Antony Pavlov
2013-08-29 18:17 ` Antony Pavlov
2013-08-30 5:09 ` Peter Crosthwaite
2013-08-30 7:29 ` Peter Maydell
2013-08-30 8:06 ` Antony Pavlov
2013-08-29 9:33 ` [Qemu-devel] [RFC 2/5] hw/arm: add very initial support for Canon DIGIC SoC Antony Pavlov
2013-08-29 12:15 ` Andreas Färber
2013-08-29 19:36 ` Antony Pavlov
2013-08-29 20:16 ` Peter Maydell
2013-08-30 5:07 ` Peter Crosthwaite
2013-08-30 8:10 ` Antony Pavlov
2013-08-30 17:53 ` Andreas Färber
2013-08-30 16:27 ` Andreas Färber
2013-08-29 14:29 ` Condello
2013-08-29 16:22 ` Antony Pavlov [this message]
2013-08-29 9:33 ` [Qemu-devel] [RFC 3/5] hw/arm/digic: add timer support Antony Pavlov
2013-08-29 9:33 ` [Qemu-devel] [RFC 4/5] hw/arm/digic: add UART support Antony Pavlov
2013-08-30 5:16 ` Peter Crosthwaite
2013-08-30 8:31 ` Antony Pavlov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130829202242.2b40e280add3b150eefeb9ce@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=broscutamaker@gmail.com \
--cc=condellog@gmail.com \
--cc=georg.hofstetter@lx-networking.de \
--cc=paul@codesourcery.com \
--cc=pbonzini@redhat.com \
--cc=peter.crosthwaite@xilinx.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).