From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0Mel-0001JP-Q7 for qemu-devel@nongnu.org; Sun, 03 Mar 2019 03:39:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0Mek-00066R-Pw for qemu-devel@nongnu.org; Sun, 03 Mar 2019 03:39:35 -0500 Received: from mail01.asahi-net.or.jp ([202.224.55.13]:44524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0Mei-0005sK-Nh for qemu-devel@nongnu.org; Sun, 03 Mar 2019 03:39:34 -0500 Date: Sun, 03 Mar 2019 17:39:21 +0900 Message-ID: <87o96s4aiu.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato In-Reply-To: References: <20190122121413.31437-1-ysato@users.sourceforge.jp> <20190302062138.10713-1-ysato@users.sourceforge.jp> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH RFC v3 00/11] Add RX archtecture support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?ISO-8859-1?Q?Mathieu-Daud=E9?= Cc: qemu-devel@nongnu.org, peter.maydell@linaro.org, richard.henderson@linaro.org On Sun, 03 Mar 2019 03:51:14 +0900, Philippe Mathieu-Daud=E9 wrote: >=20 > Hi Yoshinori, >=20 > On 3/2/19 7:21 AM, Yoshinori Sato wrote: > > Hello. > > This patch series is added Renesas RX target emulation. > >=20 > > My git repository is bellow. > > git://git.pf.osdn.net/gitroot/y/ys/ysato/qemu.git > >=20 > > Since my understanding is not enough, > > I want many comments to make this a good one. >=20 > OK :) >=20 > Can you provide notes about how to test your port? > Such: links to toolchains, how to build, what firmware/OS we can run... OK. toolchain - rx-unknown-linux binutils-2.32 include rx-unknown-linux support. $ configure --target=3Drx-unknown-linux $ make gcc - please use my git repo. git://git.pf.osdn.net/gitroot/y/ys/ysato/gcc.git rx-trunk $ configure --target=3Drx-unknown-linux --enable-languages=3Dc --disable-sh= ared \ --disable-threads --with-uclibc --disable-libssp --disable-libquadmath \ --disable-libgomp --disable-libatomic $ make This toolchain can build u-boot / linux. target program. u-boot git://git.pf.osdn.net/gitroot/y/ys/ysato/uboot.git rx pre build binary in bellow. https://osdn.net/users/ysato/pf/qemu/dl/u-boot.bin linux git://git.osdn.net/gitroot/uclinux-h8/linux.git rx https://osdn.net/users/ysato/pf/qemu/dl/zImage Since linux is still incomplete, it may be problematic. > >=20 > > Thanks. > >=20 > > Changes v2 > > Rewrite translate. using decodetree.py > >=20 > > Yoshinori Sato (11): > > target/rx: TCG Translation > > target/rx: TCG helper > > target/rx: CPU definition > > target/rx: RX disassembler > > target/rx: miscellaneous functions > > RX62N interrupt contorol uint > > RX62N internal timer modules > > RX62N internal serial communication interface > > RX Target hardware definition > > Add rx-softmmu > > MAINTAINERS: Add RX entry. > >=20 > > MAINTAINERS | 20 + > > arch_init.c | 2 + > > configure | 8 + > > default-configs/rx-softmmu.mak | 7 + > > hw/char/Makefile.objs | 2 +- > > hw/char/renesas_sci.c | 288 ++++++ > > hw/intc/Makefile.objs | 1 + > > hw/intc/rx_icu.c | 323 ++++++ > > hw/rx/Makefile.objs | 1 + > > hw/rx/rx62n.c | 227 ++++ > > hw/rx/rxqemu.c | 100 ++ > > hw/timer/Makefile.objs | 2 + > > hw/timer/renesas_cmt.c | 235 +++++ > > hw/timer/renesas_tmr.c | 412 ++++++++ > > include/disas/bfd.h | 5 + > > include/hw/char/renesas_sci.h | 42 + > > include/hw/intc/rx_icu.h | 49 + > > include/hw/rx/rx.h | 7 + > > include/hw/rx/rx62n.h | 54 + > > include/hw/timer/renesas_cmt.h | 33 + > > include/hw/timer/renesas_tmr.h | 42 + > > include/sysemu/arch_init.h | 1 + > > target/rx/Makefile.objs | 11 + > > target/rx/cpu-qom.h | 52 + > > target/rx/cpu.c | 224 ++++ > > target/rx/cpu.h | 214 ++++ > > target/rx/disas.c | 1570 ++++++++++++++++++++++++++++ > > target/rx/gdbstub.c | 113 ++ > > target/rx/helper.c | 252 +++++ > > target/rx/helper.h | 39 + > > target/rx/insns.decode | 336 ++++++ > > target/rx/monitor.c | 38 + > > target/rx/op_helper.c | 602 +++++++++++ > > target/rx/translate.c | 2220 ++++++++++++++++++++++++++++++++= ++++++++ > > 34 files changed, 7531 insertions(+), 1 deletion(-) > > create mode 100644 default-configs/rx-softmmu.mak > > create mode 100644 hw/char/renesas_sci.c > > create mode 100644 hw/intc/rx_icu.c > > create mode 100644 hw/rx/Makefile.objs > > create mode 100644 hw/rx/rx62n.c > > create mode 100644 hw/rx/rxqemu.c > > create mode 100644 hw/timer/renesas_cmt.c > > create mode 100644 hw/timer/renesas_tmr.c > > create mode 100644 include/hw/char/renesas_sci.h > > create mode 100644 include/hw/intc/rx_icu.h > > create mode 100644 include/hw/rx/rx.h > > create mode 100644 include/hw/rx/rx62n.h > > create mode 100644 include/hw/timer/renesas_cmt.h > > create mode 100644 include/hw/timer/renesas_tmr.h > > create mode 100644 target/rx/Makefile.objs > > create mode 100644 target/rx/cpu-qom.h > > create mode 100644 target/rx/cpu.c > > create mode 100644 target/rx/cpu.h > > create mode 100644 target/rx/disas.c > > create mode 100644 target/rx/gdbstub.c > > create mode 100644 target/rx/helper.c > > create mode 100644 target/rx/helper.h > > create mode 100644 target/rx/insns.decode > > create mode 100644 target/rx/monitor.c > > create mode 100644 target/rx/op_helper.c > > create mode 100644 target/rx/translate.c > >=20 >=20 --=20 Yosinori Sato