qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Niek Linnenbank" <nieklinnenbank@gmail.com>,
	qemu-arm@nongnu.org, "Cleber Rosa" <crosa@redhat.com>,
	"Guenter Roeck" <linux@roeck-us.net>
Subject: [RFC PATCH 4/5] !fixup "hw: arm: add Xunlong Orange Pi PC machine"
Date: Tue, 17 Dec 2019 19:27:29 +0100	[thread overview]
Message-ID: <20191217182730.943-5-f4bug@amsat.org> (raw)
In-Reply-To: <20191217182730.943-1-f4bug@amsat.org>

Without this, the machine starts with default 128MB, and Ubuntu Bionic
fails:

[ ***  ] (2 of 4) A start job is running for…Persistent Storage (37s / 2min 1s)
[  *** ] (2 of 4) A start job is running for…Persistent Storage (38s / 2min 1s)
[  OK  ] Started Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories...
Starting Armbian ZRAM config...
[    **] (3 of 6) A start job is running for…s and Directories (55s / no limit)
[     *] (3 of 6) A start job is running for…s and Directories (55s / no limit)
[    **] (3 of 6) A start job is running for…s and Directories (56s / no limit)
[  OK  ] Started Create Volatile Files and Directories.
[***   ] (5 of 6) A start job is running for… ZRAM config (1min 10s / 1min 19s)
[**    ] (5 of 6) A start job is running for… ZRAM config (1min 12s / 1min 19s)
[*     ] (5 of 6) A start job is running for… ZRAM config (1min 13s / 1min 19s)
[FAILED] Failed to start Armbian ZRAM config.
See 'systemctl status armbian-zram-config.service' for details.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 hw/arm/orangepi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/arm/orangepi.c b/hw/arm/orangepi.c
index 119f370924..da758d7eba 100644
--- a/hw/arm/orangepi.c
+++ b/hw/arm/orangepi.c
@@ -122,6 +122,7 @@ static void orangepi_machine_init(MachineClass *mc)
     mc->max_cpus = AW_H3_NUM_CPUS;
     mc->default_cpus = AW_H3_NUM_CPUS;
     mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-a7");
+    mc->default_ram_size = 1 * GiB;
 }
 
 DEFINE_MACHINE("orangepi-pc", orangepi_machine_init)
-- 
2.21.0



  parent reply	other threads:[~2019-12-17 18:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-17 18:27 [PATCH 0/5] tests/boot_linux_console: Add various OrangePi PC tests Philippe Mathieu-Daudé
2019-12-17 18:27 ` [PATCH 1/5] tests/boot_linux_console: Add a quick test for the OrangePi PC board Philippe Mathieu-Daudé
2019-12-18 21:20   ` Niek Linnenbank
2019-12-19  1:05   ` Cleber Rosa
2019-12-19 18:25     ` Cleber Rosa
2019-12-21 18:22   ` Niek Linnenbank
2019-12-17 18:27 ` [PATCH 2/5] tests/boot_linux_console: Add initrd test for the Orange Pi " Philippe Mathieu-Daudé
2019-12-18 21:21   ` Niek Linnenbank
2019-12-19 18:22   ` Cleber Rosa
2019-12-17 18:27 ` [PATCH 3/5] tests/boot_linux_console: Add a SD card test for the OrangePi " Philippe Mathieu-Daudé
2019-12-18 21:22   ` Niek Linnenbank
2019-12-19 20:04   ` Cleber Rosa
2019-12-17 18:27 ` Philippe Mathieu-Daudé [this message]
2019-12-18 21:23   ` [RFC PATCH 4/5] !fixup "hw: arm: add Xunlong Orange Pi PC machine" Niek Linnenbank
2019-12-17 18:27 ` [RFC PATCH 5/5] tests/boot_linux_console: Add a SLOW test booting Ubuntu on OrangePi PC Philippe Mathieu-Daudé
2019-12-18 21:26   ` Niek Linnenbank
2019-12-19 22:54     ` Cleber Rosa

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=20191217182730.943-5-f4bug@amsat.org \
    --to=f4bug@amsat.org \
    --cc=crosa@redhat.com \
    --cc=linux@roeck-us.net \
    --cc=nieklinnenbank@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /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).