Hi Quentin,
On Mon, 18 Jul 2022 at 03:39, Quentin Schulz
wrote:
>
> Hi Simon,
>
> On 7/16/22 13:58, Simon Glass wrote:
> > On Fri, 15 Jul 2022 at 09:37, Quentin Schulz wrote:
> >>
> >> From: Quentin Schulz
> >>
> >> Some image types handled by mkimage require the datafiles to be passed
> >> ind
Hi Tom,
On Mon, 18 Jul 2022 at 06:11, Tom Rini wrote:
>
> On Thu, Jul 14, 2022 at 04:21:57AM -0600, Simon Glass wrote:
> > Hi Tom,
> >
> > On Wed, 13 Jul 2022 at 12:21, Tom Rini wrote:
> > >
> > > On Wed, Jul 13, 2022 at 09:28:06AM -0600, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Tue
Hi Belisko,
On Tue, 19 Jul 2022 at 03:21, Belisko Marek wrote:
>
> Hi,
>
> I'm trying to compile an older u-boot (2017.03) with Ubuntu 20.04.
> Machine is sunxi. COmpilation went fine but when binman assembles
> u-boot-sunxi-with-spl.bin it stuck somewhere. I've enabled python
> traces and it loo
On Tue, 19 Jul 2022 at 16:00, Douglas Anderson wrote:
>
> When you pass "--no-tree" to checkpatch it disables some extra checks
> that are important for Linux. Specifically I want checks like:
>
> warning: DT compatible string "boogie,woogie" appears un-documented
> check ./Documentation/devic
The Radxa Rock Pi 4 board is sold from revision 1.4 with a soldered
4Mb SPI NOR Flash. This series allows to use it from U-Boot and boot
from it.
This series applies to u-boot/master.
Changes since v2:
- rebased on master
- droped 5th path, and enabled CONFIG_SPL_DM_SEQ_ALIAS instead
The Radxa Rock Pi 4 board is sold from revision 1.4 with a soldered
4Mb SPI NOR Flash. This series allows to use it from U-Boot and boot
from it.
This series applies to u-boot/master.
Changes since v2:
- rebased on master
- droped 5th path, and enabled CONFIG_SPL_DM_SEQ_ALIAS instead
Radxa Rock Pi 4B from version 1.4 on carries a 4MiB XTX Technology Inc
25F32B SPI NOR Flash. (previous versions had pads where users could
solder different chips).
Add its parameters to spi-nor-ids.c so U-Boot can discover it and
(after further changes) we can boot from SPI.
Note that the Flash
Configure Rock Pi 4 to boot from SPI NOR Flash.
Based on flash chip, board documentation and tests, this is the
fastest I could use it.
This seems to be the minimum necessary configuration for Rock Pi 4 to
be able to boot from SPI NOR Flash.
With the next patch, it works to sf probe 1:0, sf read
XTX25F32B does not use octal mode and accepts soft reset, despite its
SFDP tables. Soft reset at U-Boot exit seems to be required to write
to /dev/mtd0 from flashrom in linux. Soft reset at U-Boot start seems
to help booting from SPI (at least with the dts properties I'm using).
The first soft res
Trying to boot my Rock Pi 4B from its XTX SPI NOR Flash failed when my
custom compiled TF-A had a load address of 0.
The same TF-A booted correctly from MMC.
Add a local variable to spi_mem_exec_op() to determine operation
direction, instead of testing rx_buf or tx_buf for null value, so that
a b
Hi,
Am 19.07.22 um 06:44 schrieb Soma, Ashok Reddy:
Hi Stefan,
-Original Message-
From: Stefan Herbrechtsmeier
Sent: Saturday, July 16, 2022 4:48 PM
To: Simek, Michal ; Ashok Reddy Soma
; u-boot@lists.denx.de
Cc: adrian.fiergol...@fastree3d.com; jh80.ch...@samsung.com; s...@svenpeter
From: Michael Trimarchi
Upstream linux commit 29a198a1592d83.
Auto-detection functions are passed a busw parameter to retrieve the actual
NAND bus width and eventually set the correct value in chip->options.
Rework the nand_get_flash_type() function to get rid of this extra
parameter and let det
This adds the concept of a VBE method to U-Boot, along with an
implementation of the 'VBE simple' method, basically a simple way of
updating firmware in MMC from userspace and monitoring it from U-Boot.
VBE simple is implemented in fwupd. U-Boot's role is to set up the
device tree with the require
We want to use VBE to mean Verfiied Boot for Embedded in U-Boot. Rename
the existing VBE (Vesa BIOS extensions) to allow this.
Signed-off-by: Simon Glass
---
arch/x86/lib/bios.c | 2 +-
arch/x86/lib/coreboot_table.c | 2 +-
arch/x86/lib/fsp/fsp_graphics.c | 2 +-
cmd/elf.c
This is used by a lot of files, but ofnode.h needs to include a lot of
header files. This can create dependency cycles, particularly with
global_data.h which must include various declarations.
Split the core delcarations into a separate file to fix this.
Signed-off-by: Simon Glass
---
include/
Rename these to VESA, itself an abbreviation, to avoid a conflict with
Verified Boot for Embedded.
Rename this to avoid referencing VBE.
Signed-off-by: Simon Glass
---
arch/x86/lib/bios.c | 10 +-
arch/x86/lib/fsp/fsp_graphics.c | 2 +-
drivers/bios_emulator/atibios.c | 16
The unflattening algorithm results in a single block of memory being
allocated for the whole tree. When writing new properties, these are
allocated new memory outside that block. When the block is freed, the
allocated properties remain.
Document how this works and the potential memory leak, as wel
At present ofnode only works with a single device tree, for the most part.
This is the control FDT used by U-Boot.
When booting an OS we may obtain a different device tree and want to
modify it. Add some initial support for this into the ofnode API.
Note that we don't permit aliases in this other
It is normal for the length to come after the value in libfdt. Follow this
same convention with ofnode.
Signed-off-by: Simon Glass
---
drivers/core/ofnode.c | 6 +++---
include/dm/ofnode.h | 6 +++---
test/dm/ofnode.c | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git
This fits better in the ofnode tests, so move it.
Signed-off-by: Simon Glass
---
test/dm/ofnode.c | 56 ++
test/dm/test-fdt.c | 53 ---
2 files changed, 56 insertions(+), 53 deletions(-)
diff --git a/test/dm/
Update this test to use the livetree flag so that special check can be
avoided. Also drop a few blank lines.
Signed-off-by: Simon Glass
---
test/dm/ofnode.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/test/dm/ofnode.c b/test/dm/ofnode.c
index 0aeaaeb7f8c..ce9
Add some documentation and a new flag so that we can safely enabled using
the ofnode interface to write to the device tree.
Signed-off-by: Simon Glass
---
doc/develop/driver-model/livetree.rst | 26 ++
include/test/test.h | 2 ++
test/test-main.c
In generally it is not permitted to implement an ofnode function only for
flat tree or live tree. Both must be supported. Also the code for
live tree access should be in of_access.c rather than ofnode.c which is
really just for holding the API-conversion code.
Update ofnode_write_prop() accordingl
Update the 'read' command to work correctly with sandbox.
Signed-off-by: Simon Glass
---
cmd/read.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmd/read.c b/cmd/read.c
index 99c7e3854e1..fecfadaa1fa 100644
--- a/cmd/read.c
+++ b/cmd/read.c
@@ -10,6 +10,7 @@
#include
At present there is a confusing array of functions that handle the
device tree fix-ups needed for booting an OS. We should be able to switch
to using events to clean this up.
As a first step, create a new event type and call it from the standard
place.
Note that this event uses the ofnode interfa
Add a new function to write an integer to an ofnode (live tree or
flat tree).
Signed-off-by: Simon Glass
---
drivers/core/ofnode.c | 15 +++
include/dm/ofnode.h | 10 ++
test/dm/ofnode.c | 16
3 files changed, 41 insertions(+)
diff --git a/drivers/co
If the ordering produces no entries, this is an error. Report it, so that
the caller doesn't try to continue with a NULL bootmeth.
This fixes a crash in the bootflow_iter test when running with the sandbox
'default' device tree, instead of the required 'test' one.
Signed-off-by: Simon Glass
---
Some bootmeths can provide information about what is available to boot.
For example, VBE simple provides access to the firmware state.
Add a new method for this, along with a sandbox test.
Signed-off-by: Simon Glass
---
boot/bootmeth-uclass.c | 10 ++
boot/bootmeth_distro.c | 14 ++
Correct the comment at the top of this file.
Signed-off-by: Simon Glass
---
test/boot/bootmeth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/boot/bootmeth.c b/test/boot/bootmeth.c
index 07776c5368d..81421f550b5 100644
--- a/test/boot/bootmeth.c
+++ b/test/boot/bootm
Create a new bootmeth for VBE along with a library to handle finding the
VBE methods.
Signed-off-by: Simon Glass
---
boot/Kconfig | 9
boot/Makefile | 2 +
boot/vbe.c| 119 ++
include/bootstd.h | 2 +
include/vbe.h | 4
Add support for VBE simple, which permits firmware update of a single
image stored in MMC or another block device.
Signed-off-by: Simon Glass
---
boot/Kconfig | 12 ++
boot/Makefile| 1 +
boot/vbe_simple.c| 304 +
Add a command to look at VBE methods and their status. Provide a test for
all of this as well.
Signed-off-by: Simon Glass
---
arch/sandbox/dts/sandbox.dtsi | 13
arch/sandbox/dts/test.dts | 15 +
cmd/Kconfig | 10 +++
cmd/Makefile | 1 +
cmd/
Reviewed-by: Anastasiia Lukianenko
On Tue, Jul 19, 2022 at 5:55 PM Dmytro Firsov
wrote:
> This commit fixes issue with usage of Xen hypervisor shared info page.
> Previously U-boot did not unmap it at the end of OS boot process. Xen
> did not prevent guest from this. So, it worked, but caused w
On Wed, Jul 20, 2022 at 09:01:04AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Mon, 18 Jul 2022 at 06:11, Tom Rini wrote:
> >
> > On Thu, Jul 14, 2022 at 04:21:57AM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Wed, 13 Jul 2022 at 12:21, Tom Rini wrote:
> > > >
> > > > On Wed, Jul 13, 20
On Wed, Jul 20, 2022 at 09:02:41AM +0200, Heiko Schocher wrote:
> Hello Tom,
>
> please pull from:
>
> The following changes since commit fc97ff2695d6d7fbea7d5fda7b080f405d6ee744:
>
> Merge https://source.denx.de/u-boot/custodians/u-boot-sunxi (2022-07-19
> 10:52:15 -0400)
>
> are available
Reviewed-by: Anastasiia Lukianenko
On Mon, Jul 4, 2022 at 3:05 PM Dmytro Firsov wrote:
> Some setups do not use Xen hypervisor console for logging, e.g. they
> use emulated PL011 hardware or shared peripherals (real UART). In such
> cases Xen HVC will be disabled on a build time and will cause
Hi Pali/Marek,
I'm writing u-boot for the Synology DS116 (Armada 385, dual core, 1.8
Ghz). I could not seem to get the DM Regulator to power up the SATA
port on this board. I'm using Stefan ./board/Marvell/db-88f6820-gp as
the starting point, and using the latest DTS
https://github.com/torvalds/l
Hi,
while trying to port OEM u-boot (https://github.com/embeddedTS/u-boot) for
TS-7970 (https://www.embeddedts.com/products/TS-7970) to latest 2022.04, I
cannot get the init.S running.
Connecting GDB+JLink it appears at certain point the processor does not
execute:
```
0x17802200 : push{r3, l
Hi list,
We are having some difficulties getting USB-boot (for a starter with
SPL) to work on a imx8mm.
Doing this is part of a debug-session for another problem, which is
worth mentioning, as it has been discussed on this list in
January/February 2022.
The original problem: we have a "complete"
On Wed, Jul 20, 2022 at 11:00 PM Martin Bonner
wrote:
>
> I have recently build the u-boot tools on Windows and ran into
> difficulties. This patch to the documentation would have avoided
> those difficulties. Contentious points:
>
> * While I have run the document through a rst previewer, I hav
Hi Simon,
On Thu, Jul 21, 2022 at 1:00 AM Simon Glass wrote:
>
> We want to use VBE to mean Verfiied Boot for Embedded in U-Boot. Rename
typo: Verified
Is there a doc link to describe the Verified Boot for Embedded ? Just
want to make sure if this acronym is the correct one to replace
another e
On 7/4/22 13:11, Philip Oberfichtner wrote:
To reduce code duplication, let the imx6 based DH boards use the common
code for setting up their mac addresses.
Signed-off-by: Philip Oberfichtner
Tested-by: Marek Vasut
On 7/4/22 13:11, Philip Oberfichtner wrote:
To reduce code duplication, let the stm32 based DH boards use the common
code for setting up their mac addresses.
Signed-off-by: Philip Oberfichtner
"MAC address" is written in capitals , please fix the lowercase 'mac'
all over the place and make
On 7/4/22 13:11, Philip Oberfichtner wrote:
[...]
+++ b/board/dhelectronics/common/dh_common.c
@@ -0,0 +1,64 @@
[...]
+int dh_get_mac_from_eeprom(unsigned char *enetaddr, const char *alias)
+{
+ struct udevice *dev;
+ int ret, offset;
+
+ offset = fdt_path_offset(gd->fdt_b
On 7/4/22 13:11, Philip Oberfichtner wrote:
To reduce code duplication, let the imx8 based DH boards use the common
code for setting up their mac addresses.
Signed-off-by: Philip Oberfichtner
Tested-by: Marek Vasut
- We now have a new enough sbsigntools in the distro, stop building.
- Use the 20220531 tag for Jammy.
- Move to pygit2 1.9.2 (current version) as the old one doesn't build on
"Jammy".
- Add the working directory to the list of safe directories for git.
- Adjust where we have "exit on error" set i
Hi,
Please ignore this patch. I will send this as part of another patch series.
Thanks,
Ashok
-Original Message-
From: Ashok Reddy Soma
Sent: Wednesday, July 20, 2022 3:36 PM
To: u-boot@lists.denx.de
Cc: ja...@amarulasolutions.com; Simek, Michal ;
g...@xilinx.com; git (AMD-Xilinx) ; R
In preparation of re-sync of mtd stack, we opt to move the current stack
slowly in order to have a more easy sync and test. We would like to
prepare uboot to support no-jedec and no-onfi compliant nand so we need
to clean up a bit the code we have now and upstream some of the support.
In this serie
From: Michael Trimarchi
Upstream linux commit 29a198a1592d83.
Auto-detection functions are passed a busw parameter to retrieve the actual
NAND bus width and eventually set the correct value in chip->options.
Rework the nand_get_flash_type() function to get rid of this extra
parameter and let det
From: Michael Trimarchi
Upstream linux commit abbe26d144ec22.
A lot of NANDs are implementing generic features in a non-generic way,
or are providing advanced auto-detection logic where the NAND ID bytes
meaning changes with the NAND generation.
Providing this vendor specific initialization ste
From: Michael Trimarchi
Upstream linux commit 7f501f0a72036d.
Store the NAND ID in struct nand_chip to avoid passing id_data and id_len
as function parameters.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes in v3:
- Use commit sha1 with 13 digits.
- Fix code style
From: Michael Trimarchi
chip points to mtd. Passing chip is enough to have a reference
to mtd when is necessary
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes in v3:
- Fix code style warnings raised by patman.
drivers/mtd/nand/raw/nand_base.c | 25 +--
From: Michael Trimarchi
In preparation of moving specific nand support that are not jedec
or onfi
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
(no changes since v1)
drivers/mtd/nand/raw/nand_base.c | 3 ++-
include/linux/mtd/rawnand.h | 3 +++
2 files changed, 5 i
From: Michael Trimarchi
Upstream linux commit 01389b6bd2f4f7.
Move Hynix specific initialization and detection logic into
nand_hynix.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes in
From: Michael Trimarchi
Upstream linux commit c51d0ac59f2420.
Move Samsung specific initialization and detection logic into
nand_samsung.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Change
From: Michael Trimarchi
Upstream linux commit 9b2d61f80b060c.
Move Toshiba specific initialization and detection logic into
nand_toshiba.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Change
From: Michael Trimarchi
Upstream linux commit 10d4e75c36f6c1.
Move Micron specific initialization logic into nand_micron.c. This is
part of the "separate vendor specific code from core" cleanup process.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes in v3:
- Use c
From: Michael Trimarchi
Upstream linux commit 229204da53b31d.
Move AMD/Spansion specific initialization/detection logic into
nand_amd.c. This is part of the "separate vendor specific code from
core" cleanup process.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes i
From: Michael Trimarchi
Upstream linux commit 3b5206f4be9b65.
Move Macronix specific initialization logic into nand_macronix.c. This
is part of the "separate vendor specific code from core" cleanup
process.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes in v3:
- U
From: Michael Trimarchi
Upstream linux commit fb3bff5b407e58.
This patch enables support to read the ECC strength and size from the
NAND flash using Toshiba Memory SLC NAND extended-ID. This patch is
based on the information of the 6th ID byte of the Toshiba Memory SLC
NAND.
Signed-off-by: Mich
From: Michael Trimarchi
Upstream linux commit f7025a43a9da26.
The MTD subsystem has its own small museum of ancient NANDs in a form of
the CONFIG_MTD_NAND_MUSEUM_IDS configuration option. The museum contains
stone age NANDs with 256 bytes pages, as well as iron age NANDs with 512
bytes per page
101 - 161 of 161 matches
Mail list logo