All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shitalkumar Gandhi <shital_909@yahoo.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: SME : Please review and merge : hw/arm/aspeed: Added eMMC boot support for AST2600 image.
Date: Tue, 9 Nov 2021 17:25:14 +0000 (UTC)	[thread overview]
Message-ID: <253794259.1853610.1636478714403@mail.yahoo.com> (raw)
In-Reply-To: 253794259.1853610.1636478714403.ref@mail.yahoo.com


[-- Attachment #1.1: Type: text/plain, Size: 544 bytes --]



Hi SME's,

Please see the attached patch, which has been added to the boot eMMC image for AST2600 machine on QEMU.


qemu should be run as follows:

./qemu-system-arm -m 1G -M ast2600-evb -nographic -drive
file=mmc-evb-ast2600.img,format=raw,if=sd,index=2

Tested: Booted AST2600 eMMC image on QEMU.

Suggested-by: Troy Lee leetroy@gmail.com
Reviewed-by: Troy Lee leetroy@gmail.com
Reviewed-by: Andrew Jeffery andrew@aj.id.au
Signed-off-by: Shitalkumar Gandhi shitalkumar.gandhi@seagate.com



BR,
Shitalkumar Gandhi

[-- Attachment #1.2: Type: text/html, Size: 2713 bytes --]

[-- Attachment #2: 0001-hw-arm-aspeed-Added-eMMC-boot-support-for-AST2600-im.patch --]
[-- Type: application/octet-stream, Size: 1242 bytes --]

From 7a4856d07bad1a957b7f6d0836fbb2da6a8be5b4 Mon Sep 17 00:00:00 2001
From: Shitalkumar Gandhi <shitalkumar.gandhi@seagate.com>
Date: Fri, 24 Sep 2021 20:46:22 +0530
Subject: [PATCH] hw/arm/aspeed: Added eMMC boot support for AST2600 image.

This patch has been added to boot eMMC image for AST2600 machine on
QEMU.

Run quemu as follows:

./qemu-system-arm -m 1G -M ast2600-evb -nographic -drive
file=mmc-evb-ast2600.img,format=raw,if=sd,index=2

Tested: Booted AST2600 eMMC image on QEMU.

Suggested-by: Troy Lee <leetroy@gmail.com>
Reviewed-by: Troy Lee <leetroy@gmail.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Shitalkumar Gandhi <shitalkumar.gandhi@seagate.com>
---
 hw/arm/aspeed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
index ba5f1dc5af..6a890adb83 100644
--- a/hw/arm/aspeed.c
+++ b/hw/arm/aspeed.c
@@ -148,7 +148,7 @@ struct AspeedMachineState {
         SCU_AST2400_HW_STRAP_BOOT_MODE(AST2400_SPI_BOOT))
 
 /* AST2600 evb hardware value */
-#define AST2600_EVB_HW_STRAP1 0x000000C0
+#define AST2600_EVB_HW_STRAP1 (0x000000C0 | AST26500_HW_STRAP_BOOT_SRC_EMMC)
 #define AST2600_EVB_HW_STRAP2 0x00000003
 
 /* Tacoma hardware value */
-- 
2.30.2


       reply	other threads:[~2021-11-09 18:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <253794259.1853610.1636478714403.ref@mail.yahoo.com>
2021-11-09 17:25 ` Shitalkumar Gandhi [this message]
2021-11-29 17:20   ` SME : Please review and merge : hw/arm/aspeed: Added eMMC boot support for AST2600 image Peter Maydell
2021-11-29 17:41     ` Cédric Le Goater

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=253794259.1853610.1636478714403@mail.yahoo.com \
    --to=shital_909@yahoo.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.