From: "Konopik, Andreas (EFS-GH2)" <andreas.konopik@efs-auto.de>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: "kbastian@mail.uni-paderborn.de" <kbastian@mail.uni-paderborn.de>,
"Biermanski, Lars \(EFS-GH3\)" <lars.biermanski@efs-auto.de>,
"Hofstetter, Georg \(EFS-GH2\)" <Georg.Hofstetter@efs-auto.de>,
"Brenken, David \(EFS-GH5\)" <david.brenken@efs-auto.de>,
"Rasche, Robert \(EFS-GH2\)" <robert.rasche@efs-auto.de>,
David Brenken <david.brenken@efs-auto.org>
Subject: AW: AW: [PATCH 1/1] tricore: added AURIX TC277 D-Step TriBoard
Date: Fri, 22 May 2020 10:40:18 +0000 [thread overview]
Message-ID: <F5B10EA5F04CF44F81B685A0E281578724EA6EF0@AUDIINSX0385.audi.vwg> (raw)
In-Reply-To: <4abd52d7-a30a-2d97-e754-75af25d7a019@amsat.org>
Hello Philippe,
sorry to keep you waiting.
> -----Ursprüngliche Nachricht-----
> Von: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Im Auftrag
> von Philippe Mathieu-Daudé
> Gesendet: Dienstag, 12. Mai 2020 10:40
> An: Konopik, Andreas (EFS-GH2) <andreas.konopik@efs-auto.de>; qemu-
> devel@nongnu.org
> Cc: kbastian@mail.uni-paderborn.de; Brenken, David (EFS-GH5)
> <david.brenken@efs-auto.de>; Hofstetter, Georg (EFS-GH2)
> <Georg.Hofstetter@efs-auto.de>; Rasche, Robert (EFS-GH2)
> <robert.rasche@efs-auto.de>; Biermanski, Lars (EFS-GH3)
> <lars.biermanski@efs-auto.de>
> Betreff: Re: AW: [PATCH 1/1] tricore: added AURIX TC277 D-Step TriBoard
>
> On 5/12/20 10:32 AM, Konopik, Andreas (EFS-GH2) wrote:
> > Hello Philippe,
> >
> > thank you for your feedback, implementing the TriBoard within an SoC
> structure seems to be best practice.
> > We will rewrite the patch accordingly.
> >
> > I also attached an elf with an empty main-function to test the Machine.
>
> Thanks, I am getting:
>
> $ qemu-system-tricore -M AURIX_TriBoard_TC277D \
> -kernel hello_world.elf -d unimp,in_asm
> qemu-system-tricore: function cpu_get_phys_page_attrs_debug not
> implemented, aborting
>
The current state of tricore target is in some areas more of a rudimentary implementation and lacks many features, especially disassembly.
Your error has something to do with the "in_asm" logging.
In our case we test tricore implementations using a dummy device which prints to the commandline.
The bare-metal elf then writes logging strings one char at a time into the dummy devices address.
If you like, I can send you patches for a "real" hello_world example including dummy device.
Best regards,
Andreas
> >
> > Best regards,
> >
> > Andreas
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: Philippe Mathieu-Daudé <philmd@redhat.com>
> >> Gesendet: Montag, 11. Mai 2020 15:48
> >> An: David Brenken <david.brenken@efs-auto.org>; qemu-devel@nongnu.org
> >> Cc: kbastian@mail.uni-paderborn.de; Biermanski, Lars (EFS-GH3)
> >> <lars.biermanski@efs-auto.de>; Hofstetter, Georg (EFS-GH2)
> >> <Georg.Hofstetter@efs-auto.de>; Brenken, David (EFS-GH5)
> >> <david.brenken@efs-auto.de>; Rasche, Robert (EFS-GH2)
> >> <robert.rasche@efs- auto.de>; Konopik, Andreas (EFS-GH2)
> >> <andreas.konopik@efs-auto.de>
> >> Betreff: Re: [PATCH 1/1] tricore: added AURIX TC277 D-Step TriBoard
> >>
> >> Hello David,
> >>
> >> On 5/11/20 2:21 PM, David Brenken wrote:
> >>> From: Andreas Konopik <andreas.konopik@efs-auto.de>
> >>>
> >>> Signed-off-by: Andreas Konopik <andreas.konopik@efs-auto.de>
> >>> Signed-off-by: David Brenken <david.brenken@efs-auto.de>
> >>> Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de>
> >>> Signed-off-by: Robert Rasche <robert.rasche@efs-auto.de>
> >>> Signed-off-by: Lars Biermanski <lars.biermanski@efs-auto.de>
> >>> ---
> >>> hw/tricore/Makefile.objs | 1 +
> >>> hw/tricore/aurix_triboard_tc277d.c | 240
> >> +++++++++++++++++++++++++++++
> >>> 2 files changed, 241 insertions(+)
> >>> create mode 100644 hw/tricore/aurix_triboard_tc277d.c
> >>>
> >>> diff --git a/hw/tricore/Makefile.objs b/hw/tricore/Makefile.objs
> >>> index
> >>> 5501f6c1a8..e4a2106dd9 100644
> >>> --- a/hw/tricore/Makefile.objs
> >>> +++ b/hw/tricore/Makefile.objs
> >>> @@ -1 +1,2 @@
> >>> obj-$(CONFIG_TRICORE) += tricore_testboard.o
> >>> +obj-$(CONFIG_TRICORE) += aurix_triboard_tc277d.o
> >>> diff --git a/hw/tricore/aurix_triboard_tc277d.c
> [...]
prev parent reply other threads:[~2020-05-22 10:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 12:21 [PATCH 0/1] tricore: added AURIX TC277 D-Step TriBoard David Brenken
2020-05-11 12:21 ` [PATCH 1/1] " David Brenken
2020-05-11 13:48 ` Philippe Mathieu-Daudé
2020-05-12 8:32 ` AW: " Konopik, Andreas (EFS-GH2)
2020-05-12 8:40 ` Philippe Mathieu-Daudé
2020-05-22 10:40 ` Konopik, Andreas (EFS-GH2) [this message]
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=F5B10EA5F04CF44F81B685A0E281578724EA6EF0@AUDIINSX0385.audi.vwg \
--to=andreas.konopik@efs-auto.de \
--cc=Georg.Hofstetter@efs-auto.de \
--cc=david.brenken@efs-auto.de \
--cc=david.brenken@efs-auto.org \
--cc=f4bug@amsat.org \
--cc=kbastian@mail.uni-paderborn.de \
--cc=lars.biermanski@efs-auto.de \
--cc=qemu-devel@nongnu.org \
--cc=robert.rasche@efs-auto.de \
/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).