On 9/25/21 2:30 AM, Simon Glass wrote:
Separate this out slightly from the payload, with a new entry.
We might consider renaming EFI PAYLOAD to EFI LOADER, but that would
require quite a lot of file changes.
Signed-off-by: Simon Glass
Reviewed-by: Heinrich Schuchardt
---
Changes in v2:
On 9/25/21 2:30 AM, Simon Glass wrote:
It is useful to see some basic EFI info with the command as it forms part
of the information about a board.
Add a hook for this and show the table address as a start.
While here, fix an invalid cast in setup_efi_info(). Note that this
function is using a
Hi Wolfgang,
On Mon, 18 Oct 2021 at 08:10, Wolfgang Denk wrote:
>
> Dear Tom,
>
> In message <20211018133728.GQ7964@bill-the-cat> you wrote:
> >
> > > And please see also my comments about changing the autostart
> > > functionality for the user.
> >
> > Perhaps we should just make "+" an illegal
Hi Zhaofeng,
On Sat, 16 Oct 2021 at 00:16, Zhaofeng Li wrote:
>
> bootm and zboot accept different arguments:
>
> > bootm [addr [arg ...]]
> >- boot application image stored in memory
> >passing arguments 'arg ...'; when booting a Linux kernel,
> >'arg' can be the address of
On Sun, 17 Oct 2021 at 09:37, Marek Behún wrote:
>
> From: Marek Behún
>
> In the past the env_match() function was used to match envs with
> - name, i.e. string "name"
> - variable assignment, i.e. string "name=other_value"
>
> The latter is not the case anymore, since the env_match() function
Hi Wolfgang,
On Mon, 18 Oct 2021 at 05:59, Wolfgang Denk wrote:
>
> Dear Simon,
>
> In message
> you
> wrote:
> >
> > > I really think your fixed filename proposal does not work well in
> > > reality. The file name should be Kconfig configurable. See [1]
> > > for details.
> > >
> > > [1]
Hi Wolfgang,
On Mon, 18 Oct 2021 at 06:07, Wolfgang Denk wrote:
>
> Dear Simon,
>
> In message <20211016003339.723169-1-...@chromium.org> you wrote:
> >
> > Add a feature that brings in a .env file associated with the board
> > config, if present. To use it, create a file board/.env or
> > use
Make various updates suggested during review of the rST conversion.
Signed-off-by: Simon Glass
Suggested-by: Wolfgang Denk
---
(no changes since v7)
Changes in v7:
- A few more tweaks
Changes in v6:
- Move all updates to a separate patch
- More updates and improvements
Changes in v5:
-
On Mon, Oct 18, 2021 at 3:02 PM Michal Simek wrote:
>
> There is no need to use u-boot.itb as name when this is already recorded in
> CONFIG_SPL_FS_LOAD_PAYLOAD_NAME macro.
>
> Signed-off-by: Michal Simek
Reviewed-by: Oleksandr Suvorov
> ---
>
> board/xilinx/zynqmp/zynqmp.c | 15
On 9/25/21 2:30 AM, Simon Glass wrote:
Add an extern declaration so that it is possible to use this macro in
files other than the one that defines it.
Signed-off-by: Simon Glass
Reviewed-by: Heinrich Schuchardt
---
(no changes since v1)
arch/x86/cpu/x86_64/cpu.c | 3 +++
On 9/25/21 2:30 AM, Simon Glass wrote:
It is quite complicating to run U-Boot on qemu since we have four
Nits:
%s/complicating/complicated/ %/qemu/QEMU/
different builds and they must use different versions of qemu and the
QEMU
UEFI binaries.
Add a script to help.
Signed-off-by:
Move this from the README to rST format.
Drop i2cfast since it is obviously obsolete and breaks the formatting.
Other changes and improvements are in a following patch.
Signed-off-by: Simon Glass
---
(no changes since v6)
Changes in v6:
- Move all updates to a separate patch
Changes in v5:
-
Use a text file for the environment instead of the #define settings.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to use a text-based environment for sandbox
board/sandbox/sandbox.env | 25 +
include/configs/sandbox.h | 29
One barrier to completing the 7-year-long Kconfig migration is that
the default environment is implemented using ad-hoc CONFIG options.
At present U-Boot environment variables, and thus scripts, are defined
by CONFIG_EXTRA_ENV_SETTINGS.
It is not really feasible to move the environment to Kconfig
At present testThreadTimeout() assumes that the expected timeout happens
first when building the section, but it can just as easily happen at the
top-level image. Update the test to cope with both.
Signed-off-by: Simon Glass
---
(no changes since v1)
tools/binman/ftest.py | 3 +--
1 file
Hi Heinrich,
On Mon, 18 Oct 2021 at 11:35, Heinrich Schuchardt wrote:
>
> On 9/25/21 2:30 AM, Simon Glass wrote:
> > It is quite complicating to run U-Boot on qemu since we have four
>
> Nits:
> %s/complicating/complicated/ %/qemu/QEMU/
>
> > different builds and they must use different
This is a complicated set of #defines and it is painful to convert to a
text file. We can (once pending patches are applied) provide the same
functionality with bootmethod. Drop this for sandbox to allow conversion
to a text-file environment.
Signed-off-by: Simon Glass
---
(no changes since v1)
On 9/25/21 2:30 AM, Simon Glass wrote:
The setup routines are called from zimage but don't really belong in the
zimage header. Add a new EFI header to house these. Add comments so it is
clear what the functions do.
Note that these functions are x86-specific. The zimage business is not
used on
At present U-Boot environment variables, and thus scripts, are defined
by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text
to this file and dealing with quoting and newlines is harder than it
should be. It would be better if we could just type the script into a
text file and
This has different semantics in different places. Go with the bootm method
and put it in a common function so that the behaviour is consistent in
U-Boot. Update the docs.
To be clear, this changes the way that 'bootelf' and standalone boot
work. Before, if autostart was set to "fred" or "YES",
Add mention of this option this it does a similar thing to the text
environment.
Suggested-by: Rasmus Villemoes
Signed-off-by: Simon Glass
---
Changes in v8:
- Fix ambiguity about what is ignored
Changes in v7:
- Add new patch to explain the relationship with DEFAULT_ENV_FILE
On 10/19/21 11:21 AM, Chan Kim wrote:
> Hello,
>
>
>
> With these commands,
>
> make ARCH=arm CROSS_COMPILE=aarch64-none-elf- qemu_arm64_defconfig
>
> make ARCH=arm CROSS_COMPILE=aarch64-none-elf-
>
> I see only u-boot.bin. How can I make u-boot.elf with debug info?
>
> I found
>
All the STM32MP1 based DHSOM have SPI NOR from which they boot,
enable DFU_SF support to make it possible to expose that SPI NOR
via the DFU.
Signed-off-by: Marek Vasut
Cc: Patrice Chotard
Cc: Patrick Delaunay
---
configs/stm32mp15_dhcom_basic_defconfig | 1 +
Hello, Jaehoon and all,
I tried setting in menuconfig TOOLS_DEBUG but no change. It's strainge, when I
add "V=1" in the make command, I can see the commands run during the make. The
cc command has -g options, a typical command being like this :
aarch64-none-elf-gcc
On Mon, Oct 18, 2021 at 2:30 PM Michal Simek wrote:
>
> Now intentional fallthrough in switch-case should be labelled that's why
> convert comment.
>
> Signed-off-by: Michal Simek
Reviewed-by: Oleksandr Suvorov
> ---
>
> board/xilinx/zynqmp/zynqmp.c | 2 +-
> 1 file changed, 1 insertion(+),
> Reviewed-by: Simon Glass
Simon, thanks. Will you be taking this through your tree or should I
change delegate to Tom?
Marek
Greetings,
There appears to be a few stack overflows in ubifs_findfile as present in:
https://github.com/u-boot/u-boot/blob/d990f7d75d3dcf45a9220abc900495f00792f414/fs/ubifs/ubifs.c#L468
Namely:
- strcpy @
On Mon, Oct 18, 2021 at 04:50:33PM -0400, Tom Rini wrote:
> On Fri, Oct 15, 2021 at 11:42:40AM +0300, Ilias Apalodimas wrote:
>
> > OF_HOSTFILE is used on sandbox configs only. Although it's pretty
> > unique and rarely causes confusion, we are better of having simpler
> > config options for
Hello,
With these commands,
make ARCH=arm CROSS_COMPILE=aarch64-none-elf- qemu_arm64_defconfig
make ARCH=arm CROSS_COMPILE=aarch64-none-elf-
I see only u-boot.bin. How can I make u-boot.elf with debug info?
I found https://lists.denx.de/pipermail/u-boot/2005-May/010240.html and
tried
Consulting to "NVM Express® Base Specification, revision 2.0".
If more PRP List pages are required, then the last entry of
the PRP List contains the Page Base Address of the next PRP
List page. The next PRP List page shall be memory page aligned.
Signed-off-by: Jon Lin
Reviewed-by: Shawn Lin
Most NVME devcies maintain data in internal cache for an uncertain
times, and u-boot has no method to force NVME to flush cache.
So this patch adds FUA to avoid data loss caused by power off after data
programming.
Signed-off-by: Jon Lin
Reviewed-by: Stefan Agner
---
Changes in v3:
Only
On Fri, Oct 15, 2021 at 11:42:40AM +0300, Ilias Apalodimas wrote:
> OF_HOSTFILE is used on sandbox configs only. Although it's pretty
> unique and rarely causes confusion, we are better of having simpler
> config options for the DTB.
>
> So let's replace that with the existing OF_BOARD.
On Wed, Oct 13, 2021 at 11:33 AM Simon Glass wrote:
>
> "
> Hi Rob,
>
> On Tue, 12 Oct 2021 at 09:05, Rob Herring wrote:
> >
> > On Tue, Oct 12, 2021 at 8:41 AM Simon Glass wrote:
> > >
> > > Hi Rob,
> > >
> > > On Mon, 4 Oct 2021 at 13:30, Rob Herring wrote:
> > > >
> > > > On Sun, Oct 03,
Hi,
+Cc Peng,
On 10/18/21 8:33 PM, Usama Arif wrote:
> There are 4 registers (PERIPHID{0-3}) that contain the ID of MCI.
> For MMCs' with peripheral id 0x02041180 and 0x03041180, H/W flow control
> needs to be enabled for multi block writes (MMC CMD 18).
>
> Signed-off-by: Usama Arif
>
On 9/25/21 2:30 AM, Simon Glass wrote:
At present only the backspace key is supported in U-Boot, when running as
an EFI app. Add support for arrows, home and end as well, to make the CLI
more friendly.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/serial/serial_efi.c | 11
Reviewed-by: Artem Lapkin
OK
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK its really needed!
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK nice
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK nice
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK nice
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK nice
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
Now intentional fallthrough in switch-case should be labelled that's why
convert comment.
Signed-off-by: Michal Simek
---
board/xilinx/zynqmp/zynqmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index
io read/write may cause wrong result because they may read/write data
from/to register instead of memory. Add 'volatile' to avoid it.
Signed-off-by: Nick Hu
---
arch/riscv/include/asm/io.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git
Follow patch "f6adec1af4b2f5d3012480c6cdce7743b74a6156" for adding
Macronix flash in Octal DTR mode.
Enable Octal DTR mode with 20 dummy cycles to allow running at the
maximum supported frequency.
-https://www.mxic.com.tw/Lists/Datasheet/Attachments/7841/MX25LM51245G,%203V,%20512Mb,%20v1.1.pdf
The data blob apparently does not need to be modified through the fit
field of the image_sign_info struct so make it point to const to avoid
the need to cast away constness in functions that assign a pointer to
const data to the field.
fit_image_setup_verify already had to cast away constness as
This series add support for Macronix octal DTR flash, add flag for
Softreset with "INVERT" command extension type on boot and follow
linux kernel to enable 4byte opcode when possible.
v4:
Add flag SPI_NOR_BOOT_SOFT_RESET_EXT_INVERT to seperate command extension
types.
Replace ifdef with
Dear Simon,
In message
you wrote:
>
> > I really think your fixed filename proposal does not work well in
> > reality. The file name should be Kconfig configurable. See [1]
> > for details.
> >
> > [1] https://lists.denx.de/pipermail/u-boot/2021-October/462668.html
>
> Yes I saw that but I
Dear Simon,
In message
<20211015183321.v7.3.Ie78bfbfca0d01d9cba501e127f446ec48e1f7afe@changeid> you
wrote:
>
> Add a feature that brings in a .env file associated with the board
> config, if present. To use it, create a file in a board//env
> directory called .env (or common.env if you want the
Adding Macronix Octal flash for Octal DTR support.
The octaflash series can be divided into the following types:
MX25 series : Serial NOR Flash.
MX66 series : Serial NOR Flash with stacked die.(Size larger than 1Gb)
LM/UM series : Up to 250MHz clock frequency with both DTR/STR operation.
LW/UW
Power-on-Reset is a method to restore flash back to 1S-1S-1S mode from 8D-8D-8D
in the begging of probe.
Command extension type is not standardized across flash vendors in DTR mode.
For suiting different vendor flash devices, adding a flag to seperate types for
soft reset on boot.
Following linux kernel to check address width and 4byte flag to enable
4byte opcode setting.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index
The mt25qu512a supports 4K or 64K sectors, so adding SECT_4K to enable 4K
sector usage.
Datasheet:
https://media-www.micron.com/-/media/client/global/documents/products/data-sheet/nor-flash/serial-nor/n25q/n25q_512mb_1ce_3v_65nm.pdf
Tested on Intel n5x hardware with QSPI carrier card
Add is25lp512 and is25wp512 devices to spi-nor id table
Tested on Intel n5x hardware with QSPI carrier card
Signed-off-by: Kris Chaplin
Tested-by: Kris Chaplin
---
drivers/mtd/spi/spi-nor-ids.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-ids.c
There are 4 registers (PERIPHID{0-3}) that contain the ID of MCI.
For MMCs' with peripheral id 0x02041180 and 0x03041180, H/W flow control
needs to be enabled for multi block writes (MMC CMD 18).
Signed-off-by: Usama Arif
Change-Id: Icc79e352db6305c232527c4a432f17b7a30fec8e
---
There is no need to use u-boot.itb as name when this is already recorded in
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME macro.
Signed-off-by: Michal Simek
---
board/xilinx/zynqmp/zynqmp.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/board/xilinx/zynqmp/zynqmp.c
Dear Simon,
In message <20211016003339.723169-1-...@chromium.org> you wrote:
>
> Add a feature that brings in a .env file associated with the board
> config, if present. To use it, create a file board/.env or
> use CONFIG_ENV_SOURCE_FILE to set a filename.
That should be board//.env , right?
On 10/18/21 4:02 AM, Jaehoon Chung wrote:
Hi Marek,
Hi,
On 10/18/21 2:23 AM, Marek Vasut wrote:
Currently the MMC environment driver supports storing redundant environment
only in one eMMC partition at different offsets. This is sub-optimal, since
if this one boot partition is erased, both
OK will be usefull
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK will be usefull
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK is clear
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
OK
Reviewed on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
OK nice its will be usefull
Reviewed and Tested on -master Mon 18 Oct 2021 04:40:29 PM CST
Reviewed-by: Artem Lapkin
Tested-by: Artem Lapkin
Hi all,
I see that in the NXP firmware-imx package different versions of the
LPDDR4 train firmware is included but I cannot find a Release Note or
something else that describes the differences. Does anyone know what
is the correct version to be used?
Here is the content of the latest NXP
On 15.10.2021 16:57, Michal Simek wrote:
> There are multiple errors what can happen in ipi_req but they are not
> propagated properly. That's why propage all error properly.
>
> Signed-off-by: Michal Simek
Reviewed-by: Adrian Fiergolski
Thanks,
Adrian
> ---
>
>
On 15.10.2021 16:57, Michal Simek wrote:
> When a caller is not interested in the returned message, the ret_payload
> pointer is set to NULL in the u-boot-sources. In this case, under EL3, the
> memory from address 0x0 would be overwritten by ipi_req() with the returned
> IPI message, damaging the
On Mon, Oct 18, 2021 at 04:10:34PM +0200, Wolfgang Denk wrote:
> Dear Tom,
>
> In message <20211018133728.GQ7964@bill-the-cat> you wrote:
> >
> > > And please see also my comments about changing the autostart
> > > functionality for the user.
> >
> > Perhaps we should just make "+" an illegal
Dear Simon,
In message <20211016003339.723169-4-...@chromium.org> you wrote:
> Add mention of this option this it does a similar thing to the text
> environment.
>
> Suggested-by: Rasmus Villemoes
>
> Signed-off-by: Simon Glass
...
> +The format is the same as accepted by the mkenvimage tool:
On 10/15/21 3:30 PM, Pali Rohár wrote:
On Friday 15 October 2021 09:35:43 Alex G. wrote:
On 10/15/21 6:34 AM, Pali Rohár wrote:
On Wednesday 06 October 2021 17:05:24 Alex G. wrote:
Hi Jernej,
On 10/6/21 4:27 PM, Jernej Škrabec wrote:
Hi everyone!
Commit cb9faa6f98ae ("tools: Use a single
On 10/14/21 10:19 PM, Samuel Holland wrote:
Some image types (kwbimage and mxsimage) always depend on OpenSSL, so
they can only be included in mkimage when TOOLS_LIBCRYPTO is selected.
Use Makefile logic to conditionally link the files.
When building for platforms which use those image types,
On Mon, Oct 18, 2021 at 09:11:03AM +0800, Kever Yang wrote:
> Hi Tom,
>
> Please pull the rockchip fixes:
> - Fix for Rockchip mmc HS400 mode;
> - Fix for px30 board Odroid Go;
> - rockchip_sfc update;
> - rk3568 clk update;
> - doc fix;
>
> Gitlab ci:
>
On Mon, Oct 18, 2021 at 01:58:57PM +0200, Wolfgang Denk wrote:
> Dear Simon,
>
> In message
> you
> wrote:
> >
> > > I really think your fixed filename proposal does not work well in
> > > reality. The file name should be Kconfig configurable. See [1]
> > > for details.
> > >
> > > [1]
Dear Tom,
In message <20211018133728.GQ7964@bill-the-cat> you wrote:
>
> > And please see also my comments about changing the autostart
> > functionality for the user.
>
> Perhaps we should just make "+" an illegal character in the variable
> name, for consistency?
And break backward
Hi Heinrich,
On Fri, 24 Sept 2021 at 18:31, Simon Glass wrote:
>
> At present U-Boot can be built as an EFI app, but it is really just for
> testing, with very few features. Instead, the payload build is used for
> booting on top of UEFI, where U-Boot takes over the machine immediately
> and
80 matches
Mail list logo