Hello Philippe, sorry to keep you waiting.
> -----Ursprüngliche Nachricht----- > Von: Philippe Mathieu-Daudé <philippe.mathieu.da...@gmail.com> Im Auftrag > von Philippe Mathieu-Daudé > Gesendet: Dienstag, 12. Mai 2020 10:40 > An: Konopik, Andreas (EFS-GH2) <andreas.kono...@efs-auto.de>; qemu- > de...@nongnu.org > Cc: kbast...@mail.uni-paderborn.de; Brenken, David (EFS-GH5) > <david.bren...@efs-auto.de>; Hofstetter, Georg (EFS-GH2) > <georg.hofstet...@efs-auto.de>; Rasche, Robert (EFS-GH2) > <robert.ras...@efs-auto.de>; Biermanski, Lars (EFS-GH3) > <lars.bierman...@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é <phi...@redhat.com> > >> Gesendet: Montag, 11. Mai 2020 15:48 > >> An: David Brenken <david.bren...@efs-auto.org>; qemu-devel@nongnu.org > >> Cc: kbast...@mail.uni-paderborn.de; Biermanski, Lars (EFS-GH3) > >> <lars.bierman...@efs-auto.de>; Hofstetter, Georg (EFS-GH2) > >> <georg.hofstet...@efs-auto.de>; Brenken, David (EFS-GH5) > >> <david.bren...@efs-auto.de>; Rasche, Robert (EFS-GH2) > >> <robert.rasche@efs- auto.de>; Konopik, Andreas (EFS-GH2) > >> <andreas.kono...@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.kono...@efs-auto.de> > >>> > >>> Signed-off-by: Andreas Konopik <andreas.kono...@efs-auto.de> > >>> Signed-off-by: David Brenken <david.bren...@efs-auto.de> > >>> Signed-off-by: Georg Hofstetter <georg.hofstet...@efs-auto.de> > >>> Signed-off-by: Robert Rasche <robert.ras...@efs-auto.de> > >>> Signed-off-by: Lars Biermanski <lars.bierman...@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 > [...]