qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: AW: [PATCH 1/1] tricore: added AURIX TC277 D-Step TriBoard


From: Konopik, Andreas (EFS-GH2)
Subject: AW: AW: [PATCH 1/1] tricore: added AURIX TC277 D-Step TriBoard
Date: Fri, 22 May 2020 10:40:18 +0000

Hello Philippe,

sorry to keep you waiting.

> -----Ursprüngliche Nachricht-----
> Von: Philippe Mathieu-Daudé <address@hidden> Im Auftrag
> von Philippe Mathieu-Daudé
> Gesendet: Dienstag, 12. Mai 2020 10:40
> An: Konopik, Andreas (EFS-GH2) <address@hidden>; qemu-
> address@hidden
> Cc: address@hidden; Brenken, David (EFS-GH5)
> <address@hidden>; Hofstetter, Georg (EFS-GH2)
> <address@hidden>; Rasche, Robert (EFS-GH2)
> <address@hidden>; Biermanski, Lars (EFS-GH3)
> <address@hidden>
> 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é <address@hidden>
> >> Gesendet: Montag, 11. Mai 2020 15:48
> >> An: David Brenken <address@hidden>; address@hidden
> >> Cc: address@hidden; Biermanski, Lars (EFS-GH3)
> >> <address@hidden>; Hofstetter, Georg (EFS-GH2)
> >> <address@hidden>; Brenken, David (EFS-GH5)
> >> <address@hidden>; Rasche, Robert (EFS-GH2)
> >> <robert.rasche@efs- auto.de>; Konopik, Andreas (EFS-GH2)
> >> <address@hidden>
> >> 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 <address@hidden>
> >>>
> >>> Signed-off-by: Andreas Konopik <address@hidden>
> >>> Signed-off-by: David Brenken <address@hidden>
> >>> Signed-off-by: Georg Hofstetter <address@hidden>
> >>> Signed-off-by: Robert Rasche <address@hidden>
> >>> Signed-off-by: Lars Biermanski <address@hidden>
> >>> ---
> >>>    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
> [...]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]