[Qemu-devel] [PATCH v3 0/4] target-openrisc: Machine improvements take three

2014-10-05 Thread Valentin Manea
Hi, After some extra feedback I made a new version of the openrisc patches. However this time around I create a new advanced simulator that includes all the new peripherals. I would appreciate some feedback. Thanks, Valentin

[Qemu-devel] [PATCH v3 1/4] target-openrisc: New machine with IDE support

2014-10-05 Thread Valentin Manea
Create new OpenRISC machine(asim) with default IDE support. It will incude more peripherals in order to run a fully fledged Linux computer. Signed-off-by: Valentin Manea valentin.ma...@gmail.com --- default-configs/or32-softmmu.mak | 3 + hw/openrisc/Makefile.objs| 1 + hw/openrisc

[Qemu-devel] [PATCH v3 2/4] hw/display: Add OpenCores FB device support

2014-10-05 Thread Valentin Manea
From edfd91e325a8c1806140c7468e187781d0b20ea9 Mon Sep 17 00:00:00 2001 From: Valentin Manea valentin.ma...@gmail.com Date: Sun, 21 Sep 2014 10:57:55 +0300 Subject: [PATCH 2/4] target-openrisc: Add OpenCores FB device support Add support for the OpenCores Framebuffer device and enable

[Qemu-devel] [PATCH v3 3/4] hw/input: Add OpenCores keyboard device support

2014-10-05 Thread Valentin Manea
Add support for the OpenCores keyboard device to the default OpenRisc machine. The OpenCores keyboard device is a simple open source keyboard device created by the OpenCores project(http://opencores.org/). By default it just forwards Linux like keycodes. Signed-off-by: Valentin Manea valentin.ma

[Qemu-devel] [PATCH v3 4/4] hw/input: Add LPC32XX touchscreen device

2014-10-05 Thread Valentin Manea
The LPC32XX is a simple MMIO touch screen device with a Linux device driver. The device is suitable for small machines which require mouse input but have no suitable bus(SPI, I2C). Add the LPC32XX device to the default OpenRisc machine. Signed-off-by: Valentin Manea valentin.ma...@gmail.com

[Qemu-devel] Big Endian qemu_pixelformat_from_pixman and qemu_default_pixman_format

2014-09-14 Thread Valentin Manea
Hi Gerd, I'm working on improving the OpenRISC support for QEMU and recently I got in one problem with qemu_pixelformat_from_pixman(). It seems quite recently the ui/console.c code has started using it for big endian as well but the new change breaks my existing framebuffer patches. The

Re: [Qemu-devel] [PATCH] IDE: MMIO IDE device control should be little endian

2014-09-09 Thread Valentin Manea
Hi Kevin On 2014-09-09 11:58, Kevin Wolf wrote: Thanks, applied to the block branch. Thanks a lot Please make sure that your patch isn't corrupted by your mail client, like by this line wrap. I had to manually fix the patch before I could apply it. For larger patches, I would simply have

Re: [Qemu-devel] [PATCH] IDE: MMIO IDE device control should be little endian

2014-09-07 Thread Valentin Manea
Hi, Did anybody get the chance to review this patch? It would be quite nice to integrate it before all the other openrisc changes, to get the IDE working also. Thanks, Valentin On 2014-08-31 11:32, Valentin Manea wrote: Set the IDE MMIO memory type to little endian. The ATA specs

[Qemu-devel] [PATCH] IDE: MMIO IDE device control should be little endian

2014-08-31 Thread Valentin Manea
Set the IDE MMIO memory type to little endian. The ATA specs identify words part of the control commands encoded as little endian. While this has no impact on little endian systems, it's required for big endian systems(eg OpenRisc). Signed-off-by: Valentin Manea valentin.ma...@gmail.com --- hw

Re: [Qemu-devel] [Qemu-trivial] [PATCH] IDE: MMIO IDE device control should be little endian

2014-08-31 Thread Valentin Manea
On 2014-08-28 14:13, Stefan Hajnoczi wrote: Hi Valentin, Please resend the patch to qemu-devel@nongnu.org and CC Kevin Wolf kw...@redhat.com and Stefan Hajnoczi stefa...@redhat.com. All patches must go through the mailing list so the community has a chance to review and comment before a

[Qemu-devel] [PATCH 1/4] target-openrisc: Add IDE support to default machine

2014-08-22 Thread Valentin Manea
Add MMIO ide device support to the default openrisc machine. Base address and IRQ line are the same as the or1ksim. Signed-off-by: Valentin Manea valentin.ma...@gmail.com --- default-configs/or32-softmmu.mak | 3 +++ hw/openrisc/openrisc_sim.c | 32 2

[Qemu-devel] [PATCH 4/4] target-openrisc: Add LPC32XX touchscreen device

2014-08-22 Thread Valentin Manea
The LPC32XX is a simple MMIO touch screen device with a Linux device driver. The device is suitable for small machines which require mouse input but have no suitable bus(SPI, I2C). Add the LPC32XX device to the default OpenRisc machine. Signed-off-by: Valentin Manea valentin.ma...@gmail.com

[Qemu-devel] [PATCH 2/4] target-openrisc: Add OpenCores FB device support

2014-08-22 Thread Valentin Manea
Add support for the OpenCores Framebuffer device and enable it by default in the OpenRISC machine. The OpenCores display device is a simple open source framebuffer device created http://opencores.org/project,vgafb Signed-off-by: Valentin Manea valentin.ma...@gmail.com --- default-configs/or32

[Qemu-devel] [PATCH 3/4] target-openrisc: Add OpenCores keyboard device support

2014-08-22 Thread Valentin Manea
Add support for the OpenCores keyboard device to the default OpenRisc machine. The OpenCores keyboard device is a simple open source keyboard device created by the OpenCores project(http://opencores.org/). By default it just forwards Linux like keycodes. Signed-off-by: Valentin Manea valentin.ma

[Qemu-devel] [PATCH 0/4] target-openrisc: Some openrisc improvements

2014-08-22 Thread Valentin Manea
Hi, I would like to share this series of patches to improve the openrisc machine. Mostly my goal is to have the same features as the web based machine and be able to boot qemu with exactly the same images. Some feedback would be appreciated. Regards, Valentin

Re: [Qemu-devel] [PATCH 2/4] target-openrisc: Add OpenCores FB device support

2014-08-22 Thread Valentin Manea
Hi Jia, On 2014-08-22 19:00, Jia Liu wrote: Hi Valentin, Is here a line wrapped? I think it should looks like: + * Based on work by Sebastian Macke for jor1k + * http://s-macke.github.io/jor1k/ rather than + http://s-macke.github.io/jor1k/ Oh, you are completely right, I don't know

[Qemu-devel] [PATCH v2 0/4] target-openrisc: Machine improvements take two

2014-08-22 Thread Valentin Manea
Hi, Because of the wrapping errors in the previous set here is the set again. The purpose is to match the jor1k in functionality. For testing this vmlinux should work http://mrs.ro/dl/or1k/vmlinux and the hd images from jor1k(hdX is mirrored here http://mrs.ro/dl/or1k/hdX) Regards,

[Qemu-devel] [PATCH v2 0/4] target-openrisc: Machine improvements take two

2014-08-22 Thread Valentin Manea
Hi, Because of the wrapping errors in the previous set here is the set again. The purpose is to match the jor1k in functionality. For testing this vmlinux should work http://mrs.ro/dl/or1k/vmlinux and the hd images from jor1k(hdX is mirrored here http://mrs.ro/dl/or1k/hdX) Regards,

[Qemu-devel] [PATCH v2 1/4] target-openrisc: Add IDE support to default machine

2014-08-22 Thread Valentin Manea
Add MMIO ide device support to the default openrisc machine. Base address and IRQ line are the same as the or1ksim. Signed-off-by: Valentin Manea valentin.ma...@gmail.com --- default-configs/or32-softmmu.mak | 3 +++ hw/openrisc/openrisc_sim.c | 32 2

[Qemu-devel] [PATCH v2 2/4] target-openrisc: Add OpenCores FB device support

2014-08-22 Thread Valentin Manea
Add support for the OpenCores Framebuffer device and enable it by default in the OpenRISC machine. The OpenCores display device is a simple open source framebuffer device created http://opencores.org/project,vgafb Signed-off-by: Valentin Manea valentin.ma...@gmail.com --- default-configs/or32

[Qemu-devel] [PATCH v2 2/4] target-openrisc: Add OpenCores FB device support

2014-08-22 Thread Valentin Manea
Add support for the OpenCores Framebuffer device and enable it by default in the OpenRISC machine. The OpenCores display device is a simple open source framebuffer device created http://opencores.org/project,vgafb Signed-off-by: Valentin Manea valentin.ma...@gmail.com --- default-configs/or32

[Qemu-devel] [PATCH v2 3/4] target-openrisc: Add OpenCores keyboard device support

2014-08-22 Thread Valentin Manea
Add support for the OpenCores keyboard device to the default OpenRisc machine. The OpenCores keyboard device is a simple open source keyboard device created by the OpenCores project(http://opencores.org/). By default it just forwards Linux like keycodes. Signed-off-by: Valentin Manea valentin.ma

[Qemu-devel] [PATCH v2 4/4] target-openrisc: Add LPC32XX touchscreen device

2014-08-22 Thread Valentin Manea
The LPC32XX is a simple MMIO touch screen device with a Linux device driver. The device is suitable for small machines which require mouse input but have no suitable bus(SPI, I2C). Add the LPC32XX device to the default OpenRisc machine. Signed-off-by: Valentin Manea valentin.ma...@gmail.com

Re: [Qemu-devel] [PATCH 0/4] target-openrisc: Some openrisc improvements

2014-08-22 Thread Valentin Manea
Hi Jia, On 2014-08-22 19:11, Jia Liu wrote: Hi Valentin, Thank you very much! May you please upload the test linux image to somewhere, and tell us your test steps? Make me can test your change. I've resent the patches including the needed images(vmlinux and hdX). Please note that you also

Re: [Qemu-devel] [PATCH v2 4/4] target-openrisc: Add LPC32XX touchscreen device

2014-08-22 Thread Valentin Manea
Hi, On 2014-08-22 20:36, Eric Blake wrote: [meta-comment] We prefer shallow threading (git send-email's default, if you don't mess with configuration variables, where patch 4 is in-reply-to _only_ 0/4): 0/4 + 1/4 + 2/4 + 3/4 + 4/4 which also leads to nicer review tree layouts: