From: Bernhard Beschow <shentey@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org,
Andrey Smirnov <andrew.smirnov@gmail.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH v2 16/18] hw/arm/fsl-imx8mp: Add boot ROM
Date: Mon, 17 Feb 2025 22:48:23 +0000 [thread overview]
Message-ID: <382AF9A2-4339-42F8-9C32-E7F6960CD4A8@gmail.com> (raw)
In-Reply-To: <CAFEAcA_Kasz0jMTQO1F32bMwSh6tRoDTaS2DE0sSruLENdcu8g@mail.gmail.com>
Am 17. Februar 2025 13:28:42 UTC schrieb Peter Maydell <peter.maydell@linaro.org>:
>On Tue, 4 Feb 2025 at 09:21, Bernhard Beschow <shentey@gmail.com> wrote:
>>
>> On a real device, the boot ROM contains the very first instructions the CPU
>> executes. Also, U-Boot calls into the ROM to determine the boot device. While
>> we're not actually implementing this here, let's create the infrastructure and
>> add a dummy ROM with all zeros. This allows for implementing a ROM later without
>> touching the source code and even allows for users to provide their own ROMs.
>>
>> The imx8mp-boot.rom was created with
>> `dd if=/dev/zero of=imx8mp-boot.rom bs=1 count=258048`.
>
>If it's all zeroes, we don't need to commit it to git as a binary,
>we can generate it at build time. (We should avoid having
>binaries in git as much as we can manage.)
I went with this solution since it trivially works on any build platform. Any idea how to generate the file in a portable way?
Thanks,
Bernhard
>
>thanks
>-- PMM
next prev parent reply other threads:[~2025-02-17 22:49 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 9:20 [PATCH v2 00/18] Add i.MX 8M Plus EVK machine Bernhard Beschow
2025-02-04 9:20 ` [PATCH v2 01/18] hw/usb/hcd-dwc3: Align global registers size with Linux Bernhard Beschow
2025-02-04 9:20 ` [PATCH v2 02/18] hw/pci-host/designware: Prevent device attachment on internal PCIe root bus Bernhard Beschow
2025-02-17 13:36 ` Peter Maydell
2025-02-04 9:20 ` [PATCH v2 03/18] hw/gpio/pca955*: Move Kconfig switches next to implementations Bernhard Beschow
2025-02-17 13:35 ` Peter Maydell
2025-02-17 19:39 ` Bernhard Beschow
2025-02-18 10:33 ` Peter Maydell
2025-02-19 21:43 ` Bernhard Beschow
2025-02-04 9:20 ` [PATCH v2 04/18] hw/arm: Add i.MX 8M Plus EVK board Bernhard Beschow
2025-02-10 17:30 ` Peter Maydell
2025-02-10 22:44 ` Bernhard Beschow
2025-02-11 10:06 ` Peter Maydell
2025-02-11 23:40 ` Bernhard Beschow
2025-02-23 11:40 ` Bernhard Beschow
2025-02-04 9:20 ` [PATCH v2 05/18] hw/arm/fsl-imx8mp: Implement clock tree Bernhard Beschow
2025-02-04 23:15 ` Bernhard Beschow
2025-02-04 9:21 ` [PATCH v2 06/18] hw/arm/fsl-imx8mp: Add SNVS Bernhard Beschow
2025-02-04 9:21 ` [PATCH v2 07/18] hw/arm/fsl-imx8mp: Add USDHC storage controllers Bernhard Beschow
2025-02-06 17:25 ` Peter Maydell
2025-02-04 9:21 ` [PATCH v2 08/18] hw/arm/fsl-imx8mp: Add PCIe support Bernhard Beschow
2025-02-17 13:40 ` Peter Maydell
2025-02-17 16:33 ` Bernhard Beschow
2025-02-04 9:21 ` [PATCH v2 09/18] hw/arm/fsl-imx8mp: Add GPIO controllers Bernhard Beschow
2025-02-06 17:26 ` Peter Maydell
2025-02-04 9:21 ` [PATCH v2 10/18] hw/arm/fsl-imx8mp: Add I2C controllers Bernhard Beschow
2025-02-06 17:26 ` Peter Maydell
2025-02-04 9:21 ` [PATCH v2 11/18] hw/arm/fsl-imx8mp: Add SPI controllers Bernhard Beschow
2025-02-06 17:26 ` Peter Maydell
2025-02-04 9:21 ` [PATCH v2 12/18] hw/arm/fsl-imx8mp: Add watchdog support Bernhard Beschow
2025-02-06 17:27 ` Peter Maydell
2025-02-04 9:21 ` [PATCH v2 13/18] hw/arm/fsl-imx8mp: Implement gneral purpose timers Bernhard Beschow
2025-02-06 17:29 ` Peter Maydell
2025-02-07 8:08 ` Bernhard Beschow
2025-02-04 9:21 ` [PATCH v2 14/18] hw/arm/fsl-imx8mp: Add Ethernet controller Bernhard Beschow
2025-02-06 17:30 ` Peter Maydell
2025-02-04 9:21 ` [PATCH v2 15/18] hw/arm/fsl-imx8mp: Add USB support Bernhard Beschow
2025-02-06 17:31 ` Peter Maydell
2025-02-04 9:21 ` [PATCH v2 16/18] hw/arm/fsl-imx8mp: Add boot ROM Bernhard Beschow
2025-02-17 13:28 ` Peter Maydell
2025-02-17 22:48 ` Bernhard Beschow [this message]
2025-02-23 11:04 ` Bernhard Beschow
2025-02-04 9:21 ` [PATCH v2 17/18] hw/arm/fsl-imx8mp: Add on-chip RAM Bernhard Beschow
2025-02-06 17:31 ` Peter Maydell
2025-02-04 9:21 ` [PATCH v2 18/18] hw/rtc: Add Ricoh RS5C372 RTC emulation Bernhard Beschow
2025-02-06 17:32 ` Peter Maydell
2025-02-06 21:58 ` Bernhard Beschow
2025-02-10 14:26 ` Philippe Mathieu-Daudé
2025-02-10 22:48 ` Bernhard Beschow
2025-02-23 10:57 ` Bernhard Beschow
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 11:46 [PATCH v2 00/18] Add i.MX 8M Plus EVK machine Bernhard Beschow
2025-02-23 11:47 ` [PATCH v2 16/18] hw/arm/fsl-imx8mp: Add boot ROM Bernhard Beschow
2025-02-25 14:29 ` Peter Maydell
2025-02-25 18:48 ` Bernhard Beschow
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=382AF9A2-4339-42F8-9C32-E7F6960CD4A8@gmail.com \
--to=shentey@gmail.com \
--cc=andrew.smirnov@gmail.com \
--cc=pbonzini@redhat.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).