[PATCH v5 1/1] sf: Provide a command to access memory-mapped SPI

2021-12-03 Thread Simon Glass
Add a new 'sf mmap' function to show the address of a SPI offset, if the hardware supports it. This is useful on x86 systems. Signed-off-by: Simon Glass --- (no changes since v4) Changes in v4: - Drop patches previously applied - Fix succeded typo Changes in v3: - Add configuration and return

[PATCH v5 0/1] sf: Add documentation and an 'sf mmap' command

2021-12-03 Thread Simon Glass
This little series adds documentation and a few other tidy-ups to the 'sf' command. It also provides a way to access memory-mapped SPI via the command line. NOTE: I am resending this as I didn't get a response to the question on the review. I suggest we apply it as is unless there is a better

Re: [PATCH 08/15] rtc: pcf2127: remove U-Boot specific compatible string

2021-12-03 Thread Simon Glass
On Fri, 3 Dec 2021 at 15:09, Vladimir Oltean wrote: > > Hi Simon, > > On Fri, Dec 03, 2021 at 01:13:15PM -0700, Simon Glass wrote: > > Hi Vladimir, > > > > On Thu, 2 Dec 2021 at 07:54, Vladimir Oltean > > wrote: > > > > > > Now that all in-tree boards have been converted to the compatible > > >

Re: [PATCH v6 01/25] doc: Add documentation about devicetree usage

2021-12-03 Thread Simon Glass
Hi Heinrich, On Fri, 3 Dec 2021 at 13:28, Heinrich Schuchardt wrote: > > On 12/3/21 9:13 PM, Simon Glass wrote: > > Hi Heinrich, > > > > On Fri, 3 Dec 2021 at 06:09, Heinrich Schuchardt wrote: > >> > >> On 12/3/21 13:34, Heinrich Schuchardt wrote: > >>> On 12/2/21 16:58, Simon Glass wrote: >

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Simon Glass
Hi Tom, On Fri, 3 Dec 2021 at 13:43, Tom Rini wrote: > > On Thu, Dec 02, 2021 at 07:03:30PM -0700, Simon Glass wrote: > > Hi Andre, > > > > On Thu, 2 Dec 2021 at 18:59, Andre Przywara wrote: > > > > > > On Thu, 2 Dec 2021 13:34:07 -0500 > > > Tom Rini wrote: > > > > > > Hi, > > > > > > > On

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Simon Glass
Hi Tom, On Fri, 3 Dec 2021 at 12:25, Tom Rini wrote: > > On Fri, Dec 03, 2021 at 09:45:12AM -0700, Simon Glass wrote: > > is generallyHi Tom, > > > > On Fri, 3 Dec 2021 at 09:31, Tom Rini wrote: > > > > > > On Fri, Dec 03, 2021 at 09:18:27AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > >

Re: [PATCH 08/15] rtc: pcf2127: remove U-Boot specific compatible string

2021-12-03 Thread Vladimir Oltean
Hi Simon, On Fri, Dec 03, 2021 at 01:13:15PM -0700, Simon Glass wrote: > Hi Vladimir, > > On Thu, 2 Dec 2021 at 07:54, Vladimir Oltean wrote: > > > > Now that all in-tree boards have been converted to the compatible > > strings from Linux, delete the support for the ad-hoc "pcf2127-rtc" one. >

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Tom Rini
On Thu, Dec 02, 2021 at 07:03:30PM -0700, Simon Glass wrote: > Hi Andre, > > On Thu, 2 Dec 2021 at 18:59, Andre Przywara wrote: > > > > On Thu, 2 Dec 2021 13:34:07 -0500 > > Tom Rini wrote: > > > > Hi, > > > > > On Thu, Dec 02, 2021 at 11:17:38AM -0700, Simon Glass wrote: > > > > Hi Tom, > > >

Re: [PATCH v2 1/2] binman: Do not pollute source tree when build with `make O=...`

2021-12-03 Thread Andy Shevchenko
On Fri, Dec 03, 2021 at 01:13:12PM -0700, Simon Glass wrote: > On Fri, 3 Dec 2021 at 00:55, Andy Shevchenko > wrote: > > On Friday, December 3, 2021, Simon Glass wrote: > >> On Tue, 30 Nov 2021 at 12:04, Andy Shevchenko > >> wrote: ... > >> This look useful, but we cannot rely on 'srcdir'

Re: [PATCH v6 01/25] doc: Add documentation about devicetree usage

2021-12-03 Thread Heinrich Schuchardt
On 12/3/21 9:13 PM, Simon Glass wrote: Hi Heinrich, On Fri, 3 Dec 2021 at 06:09, Heinrich Schuchardt wrote: On 12/3/21 13:34, Heinrich Schuchardt wrote: On 12/2/21 16:58, Simon Glass wrote: At present some of the ideas and techniques behind devicetree in U-Boot are assumed, implied or

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-03 Thread François Ozog
Le ven. 3 déc. 2021 à 21:14, Simon Glass a écrit : > Hi François, > > On Fri, 3 Dec 2021 at 10:03, François Ozog > wrote: > > > > > > > > On Fri, 3 Dec 2021 at 17:04, Simon Glass wrote: > >> > >> Hi Tom, > >> > >> On Fri, 3 Dec 2021 at 05:14, Tom Rini wrote: > >> > > >> > On Thu, Dec 02, 2021

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-03 Thread Tom Rini
On Fri, Dec 03, 2021 at 01:14:04PM -0700, Simon Glass wrote: > Hi François, > > On Fri, 3 Dec 2021 at 10:03, François Ozog wrote: > > > > > > > > On Fri, 3 Dec 2021 at 17:04, Simon Glass wrote: > >> > >> Hi Tom, > >> > >> On Fri, 3 Dec 2021 at 05:14, Tom Rini wrote: > >> > > >> > On Thu, Dec

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-03 Thread Simon Glass
Hi François, On Fri, 3 Dec 2021 at 10:03, François Ozog wrote: > > > > On Fri, 3 Dec 2021 at 17:04, Simon Glass wrote: >> >> Hi Tom, >> >> On Fri, 3 Dec 2021 at 05:14, Tom Rini wrote: >> > >> > On Thu, Dec 02, 2021 at 12:23:10PM -0700, Simon Glass wrote: >> > > Hi François, >> > > >> > > On

Re: [PATCH v6 01/25] doc: Add documentation about devicetree usage

2021-12-03 Thread Simon Glass
Hi Heinrich, On Fri, 3 Dec 2021 at 06:09, Heinrich Schuchardt wrote: > > On 12/3/21 13:34, Heinrich Schuchardt wrote: > > On 12/2/21 16:58, Simon Glass wrote: > >> At present some of the ideas and techniques behind devicetree in U-Boot > >> are assumed, implied or unsaid. Add some documentation

Re: [PATCH 0/4] rockchip: Improve support for Bob chromebook and add support for Kevin

2021-12-03 Thread Simon Glass
Hi Peter, On Fri, 3 Dec 2021 at 05:20, Peter Robinson wrote: > > On Fri, Dec 3, 2021 at 3:32 AM Simon Glass wrote: > > > > Hi Peter, > > > > On Wed, 1 Dec 2021 at 07:23, Peter Robinson wrote: > > > > > > On Thu, Nov 25, 2021 at 5:39 PM Alper Nebi Yasak > > > wrote: > > > > > > > > I have

Re: [PATCH v6 07/25] arm: rpi: Add a devicetree file for rpi_4

2021-12-03 Thread Simon Glass
Hi Peter, Taking another look at https://github.com/raspberrypi/firmware.git I see that the README says that the .dtb files are build from Linux. So it seems I can simply grab them from there. Regards, Simon On Fri, 3 Dec 2021 at 05:16, Peter Robinson wrote: > > On Thu, Dec 2, 2021 at 6:26 PM

Re: [PATCH 08/15] rtc: pcf2127: remove U-Boot specific compatible string

2021-12-03 Thread Simon Glass
Hi Vladimir, On Thu, 2 Dec 2021 at 07:54, Vladimir Oltean wrote: > > Now that all in-tree boards have been converted to the compatible > strings from Linux, delete the support for the ad-hoc "pcf2127-rtc" one. > > Cc: Simon Glass > Signed-off-by: Vladimir Oltean > --- > drivers/rtc/pcf2127.c

Re: [PATCH 02/15] rtc: pcf2127: sync with Linux compatible strings

2021-12-03 Thread Simon Glass
On Thu, 2 Dec 2021 at 07:54, Vladimir Oltean wrote: > > Allow this driver to be used by boards which inherit their device trees > from Linux. Compatibility is temporarily retained with the old > compatible string which is U-Boot specific, and will be removed after a > few changes. > > Cc: Simon

Re: [PATCH v2 1/2] binman: Do not pollute source tree when build with `make O=...`

2021-12-03 Thread Simon Glass
Hi Andy, On Fri, 3 Dec 2021 at 00:55, Andy Shevchenko wrote: > > > > On Friday, December 3, 2021, Simon Glass wrote: >> >> Hi Andy, >> >> On Tue, 30 Nov 2021 at 12:04, Andy Shevchenko >> wrote: >> > >> > Importing libraries in Python caches the bytecode by default. >> > Since we run scripts in

Re: [PATCH v2] RFC: gitlab: x86: Add a coreboot test

2021-12-03 Thread Simon Glass
Hi Tom, On Fri, 3 Dec 2021 at 09:05, Tom Rini wrote: > > On Fri, Dec 03, 2021 at 08:47:55AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 3 Dec 2021 at 08:00, Tom Rini wrote: > > > > > > On Thu, Dec 02, 2021 at 07:26:21PM -0700, Simon Glass wrote: > > > > > > > Coreboot supports U-Boot

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Tom Rini
On Fri, Dec 03, 2021 at 09:45:12AM -0700, Simon Glass wrote: > is generallyHi Tom, > > On Fri, 3 Dec 2021 at 09:31, Tom Rini wrote: > > > > On Fri, Dec 03, 2021 at 09:18:27AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 3 Dec 2021 at 08:57, Tom Rini wrote: > > > > > > > > On

Re: [u-boot-test-hooks PATCH v2] travis-ci: Add tests for booting from coreboot

2021-12-03 Thread Tom Rini
On Fri, Dec 03, 2021 at 09:17:20AM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 3 Dec 2021 at 09:02, Tom Rini wrote: > > > > On Fri, Dec 03, 2021 at 08:52:38AM -0700, Simon Glass wrote: > > > > > Add a means of testing a coreboot + U-Boot build using qemu. > > > > > > Signed-off-by: Simon

[PATCH] pinctrl: single: add support for pinctrl-single, pins when #pinctrl-cells = 2

2021-12-03 Thread AJ Bagwell
Changes to the am33xx device (33e9021a) trees have been merged in from the upstream linux kernel which now means the device tree uses the new pins format (as of 5.10) where the confinguration can be stores as a separate configuration value and pin mux mode which are then OR'd together. This patch

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-03 Thread François Ozog
On Fri, 3 Dec 2021 at 17:04, Simon Glass wrote: > Hi Tom, > > On Fri, 3 Dec 2021 at 05:14, Tom Rini wrote: > > > > On Thu, Dec 02, 2021 at 12:23:10PM -0700, Simon Glass wrote: > > > Hi François, > > > > > > On Thu, 2 Dec 2021 at 11:44, François Ozog > wrote: > > > > > > > > Hi Simon > > > > >

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-03 Thread Oleksandr Andrushchenko
Hi, Simon! On 03.12.21 18:23, Simon Glass wrote: > Hi Oleksandr, > > On Thu, 2 Dec 2021 at 22:41, Oleksandr Andrushchenko > wrote: >> Hi, Simon! >> >> On 02.12.21 19:57, Simon Glass wrote: >>> Hi Oleksandr, >>> >>> On Thu, 2 Dec 2021 at 10:40, Oleksandr Andrushchenko >>> wrote: Hi, Simon!

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Simon Glass
is generallyHi Tom, On Fri, 3 Dec 2021 at 09:31, Tom Rini wrote: > > On Fri, Dec 03, 2021 at 09:18:27AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 3 Dec 2021 at 08:57, Tom Rini wrote: > > > > > > On Fri, Dec 03, 2021 at 08:39:34AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > >

Re: [BUG] efi_loader: incorrect creation of device paths

2021-12-03 Thread Heinrich Schuchardt
On 11/25/21 06:44, AKASHI Takahiro wrote: Heinrich, On Wed, Nov 24, 2021 at 12:10:32PM +0900, AKASHI Takahiro wrote: On Sat, Nov 20, 2021 at 01:54:30PM +0100, Heinrich Schuchardt wrote: Hello Takahiro, in a prior mail we have discussed the creation of device paths for USB mass storage

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Tom Rini
On Fri, Dec 03, 2021 at 09:18:27AM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 3 Dec 2021 at 08:57, Tom Rini wrote: > > > > On Fri, Dec 03, 2021 at 08:39:34AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 3 Dec 2021 at 07:55, Tom Rini wrote: > > > > > > > > On Thu, Dec 02,

Re: Issue building flash.bin for imx8mq_evk

2021-12-03 Thread Fabio Estevam
Hi Angus, On Tue, Nov 30, 2021 at 2:40 PM Angus Ainslie wrote: > Are there binman updates for the imx8mq_evk ? Yes, Andrey has sent the following patch: https://lists.denx.de/pipermail/u-boot/2021-December/468983.html

Re: [PATCH v2] imx8mq_evk: switch board to use binman for images

2021-12-03 Thread Fabio Estevam
Hi Andrey, On Fri, Dec 3, 2021 at 1:18 PM Andrey Zhizhikin wrote: > > Currently i.MX8MQ EVK board still targeting the old image generation > approach for image generation, which relies on the FIT generator that > has been dropped from the tree. > > Switch the board to use binman instead, which

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-03 Thread Simon Glass
Hi Oleksandr, On Thu, 2 Dec 2021 at 22:41, Oleksandr Andrushchenko wrote: > > Hi, Simon! > > On 02.12.21 19:57, Simon Glass wrote: > > Hi Oleksandr, > > > > On Thu, 2 Dec 2021 at 10:40, Oleksandr Andrushchenko > > wrote: > >> Hi, Simon! > >> > >> Sorry for being late to the party > >> > >> On

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Simon Glass
Hi Tom, On Fri, 3 Dec 2021 at 08:57, Tom Rini wrote: > > On Fri, Dec 03, 2021 at 08:39:34AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 3 Dec 2021 at 07:55, Tom Rini wrote: > > > > > > On Thu, Dec 02, 2021 at 08:58:54AM -0700, Simon Glass wrote: > > > > > > > With Ilias' efforts we

[PATCH v2] imx8mq_evk: switch board to use binman for images

2021-12-03 Thread Andrey Zhizhikin
Currently i.MX8MQ EVK board still targeting the old image generation approach for image generation, which relies on the FIT generator that has been dropped from the tree. Switch the board to use binman instead, which is a standard image generator now. Update board documentation to correct build

Re: [u-boot-test-hooks PATCH v2] travis-ci: Add tests for booting from coreboot

2021-12-03 Thread Simon Glass
Hi Tom, On Fri, 3 Dec 2021 at 09:02, Tom Rini wrote: > > On Fri, Dec 03, 2021 at 08:52:38AM -0700, Simon Glass wrote: > > > Add a means of testing a coreboot + U-Boot build using qemu. > > > > Signed-off-by: Simon Glass > > --- > > As to what to do with people's labs, I think applying these

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-12-03 Thread Heinrich Schuchardt
On 12/3/21 08:16, AKASHI Takahiro wrote: Heinrich, On Tue, Nov 16, 2021 at 12:01:27PM +0900, AKASHI Takahiro wrote: On Tue, Nov 16, 2021 at 01:02:55AM +0100, Heinrich Schuchardt wrote: On 11/16/21 00:51, AKASHI Takahiro wrote: Is the patch good enough to include in the series? If not, you

Re: [PATCH v2] RFC: gitlab: x86: Add a coreboot test

2021-12-03 Thread Tom Rini
On Fri, Dec 03, 2021 at 08:47:55AM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 3 Dec 2021 at 08:00, Tom Rini wrote: > > > > On Thu, Dec 02, 2021 at 07:26:21PM -0700, Simon Glass wrote: > > > > > Coreboot supports U-Boot as a payload and this recently got a bit of a > > > facelist. Add a test

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-03 Thread Simon Glass
Hi Tom, On Fri, 3 Dec 2021 at 05:14, Tom Rini wrote: > > On Thu, Dec 02, 2021 at 12:23:10PM -0700, Simon Glass wrote: > > Hi François, > > > > On Thu, 2 Dec 2021 at 11:44, François Ozog wrote: > > > > > > Hi Simon > > > > > > On Thu, 2 Dec 2021 at 19:29, Simon Glass wrote: > > >> > > >> Hi

Re: [u-boot-test-hooks PATCH v2] travis-ci: Add tests for booting from coreboot

2021-12-03 Thread Tom Rini
On Fri, Dec 03, 2021 at 08:52:38AM -0700, Simon Glass wrote: > Add a means of testing a coreboot + U-Boot build using qemu. > > Signed-off-by: Simon Glass > --- > As to what to do with people's labs, I think applying these patches does > encourage them and provide people with examples. Having

Re: [PATCH] doc: usage: Fix command in fdt overlay apply sequence

2021-12-03 Thread Heinrich Schuchardt
On 12/3/21 15:46, Alexander Dahl wrote: Literally adhering to the docs gave this wrong output: U-Boot> setenv fdtaddr 0x87f0 U-Boot> fdtaddr $fdtaddr Unknown command 'fdtaddr' - try 'help' Fixes: d80162cfc559 ("doc: Document how to apply fdt overlays") Signed-off-by:

RE: [PATCH] imx8mq_evk: switch board to use binman for images

2021-12-03 Thread ZHIZHIKIN Andrey
Hello Fabio, > -Original Message- > From: Fabio Estevam > Sent: Friday, December 3, 2021 4:54 PM > To: ZHIZHIKIN Andrey > Cc: U-Boot-Denx ; Stefano Babic ; > dl-uboot- > imx ; Peng Fan ; Heiko Schocher > ; Teresa Remmet ; Jagan Teki > ; Marcel Ziswiler ; > Ilko > Iliev ; Heinrich

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Tom Rini
On Fri, Dec 03, 2021 at 08:39:34AM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 3 Dec 2021 at 07:55, Tom Rini wrote: > > > > On Thu, Dec 02, 2021 at 08:58:54AM -0700, Simon Glass wrote: > > > > > With Ilias' efforts we have dropped OF_PRIOR_STAGE and OF_HOSTFILE so > > > there are only three

Re: [PATCH] imx8mq_evk: switch board to use binman for images

2021-12-03 Thread Fabio Estevam
Hi Andrey, Thanks for the patch. On Fri, Dec 3, 2021 at 12:30 PM Andrey Zhizhikin wrote: > -Burn the flash.bin to MicroSD card offset 33KB: > +Burn the flash.bin (offset 33KB) and u-boot.itb (offset 384KB) to MicroSD > card: Could you please use the single flash.bin approach here too?

[u-boot-test-hooks PATCH v2] travis-ci: Add tests for booting from coreboot

2021-12-03 Thread Simon Glass
Add a means of testing a coreboot + U-Boot build using qemu. Signed-off-by: Simon Glass --- As to what to do with people's labs, I think applying these patches does encourage them and provide people with examples. Having 'no mainline' for these is going to be an impediment I think. Changes in

Re: [PATCH v2] RFC: gitlab: x86: Add a coreboot test

2021-12-03 Thread Simon Glass
Hi Tom, On Fri, 3 Dec 2021 at 08:00, Tom Rini wrote: > > On Thu, Dec 02, 2021 at 07:26:21PM -0700, Simon Glass wrote: > > > Coreboot supports U-Boot as a payload and this recently got a bit of a > > facelist. Add a test for this. > > > > For now this uses a binary build of coreboot (v4.15).

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Simon Glass
Hi Tom, On Fri, 3 Dec 2021 at 08:14, Tom Rini wrote: > > On Thu, Dec 02, 2021 at 03:55:03PM -0700, Simon Glass wrote: > > [snip] > > So now we find out the full horror of the fragmented mess that things > > are to become. No way does this make sense. > > > > It is already too hard to build

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Simon Glass
Hi Tom, On Fri, 3 Dec 2021 at 07:55, Tom Rini wrote: > > On Thu, Dec 02, 2021 at 08:58:54AM -0700, Simon Glass wrote: > > > With Ilias' efforts we have dropped OF_PRIOR_STAGE and OF_HOSTFILE so > > there are only three ways to obtain a devicetree: > > > >- OF_SEPARATE - the normal way, where

[PATCH] imx8mq_evk: switch board to use binman for images

2021-12-03 Thread Andrey Zhizhikin
Currently i.MX8MQ EVK board still targeting the old image generation approach for image generation, which relies on the FIT generator that has been dropped from the tree. Switch the board to use binman instead, which is a standard image generator now. Update board documentation to correct build

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Tom Rini
On Thu, Dec 02, 2021 at 03:55:03PM -0700, Simon Glass wrote: [snip] > So now we find out the full horror of the fragmented mess that things > are to become. No way does this make sense. > > It is already too hard to build things. Just look at the meson/binman > series I sent last week. We need

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Ilias Apalodimas
Hi Tom, > > > > > > > > > > > > > > > > This is the part that I too am still unhappy about. I do not > > > > > > > > want > > > > > > > > reference or fake or whatever device trees in the U-Boot source > > > > > > > > tree. > > > > > > > > We should be able to _remove_ the ones we have, that

Re: [PATCH v2] RFC: gitlab: x86: Add a coreboot test

2021-12-03 Thread Tom Rini
On Thu, Dec 02, 2021 at 07:26:21PM -0700, Simon Glass wrote: > Coreboot supports U-Boot as a payload and this recently got a bit of a > facelist. Add a test for this. > > For now this uses a binary build of coreboot (v4.15). Future work could > potentially build it from source, but we need to

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Tom Rini
On Thu, Dec 02, 2021 at 08:58:54AM -0700, Simon Glass wrote: > With Ilias' efforts we have dropped OF_PRIOR_STAGE and OF_HOSTFILE so > there are only three ways to obtain a devicetree: > >- OF_SEPARATE - the normal way, where the devicetree is built and > appended to U-Boot >-

[PATCH] doc: usage: Fix command in fdt overlay apply sequence

2021-12-03 Thread Alexander Dahl
Literally adhering to the docs gave this wrong output: U-Boot> setenv fdtaddr 0x87f0 U-Boot> fdtaddr $fdtaddr Unknown command 'fdtaddr' - try 'help' Fixes: d80162cfc559 ("doc: Document how to apply fdt overlays") Signed-off-by: Alexander Dahl --- doc/usage/fdt_overlays.rst | 2

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Tom Rini
On Fri, Dec 03, 2021 at 04:30:40PM +0200, Ilias Apalodimas wrote: > Hi Heinrich, > > On Fri, Dec 03, 2021 at 02:59:44PM +0100, Heinrich Schuchardt wrote: > > On 12/3/21 11:27, Mark Kettenis wrote: > > > > Date: Fri, 3 Dec 2021 09:50:44 +0200 > > > > From: Ilias Apalodimas > > > > > > > > Hi

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Ilias Apalodimas
Hi Heinrich, On Fri, Dec 03, 2021 at 02:59:44PM +0100, Heinrich Schuchardt wrote: > On 12/3/21 11:27, Mark Kettenis wrote: > > > Date: Fri, 3 Dec 2021 09:50:44 +0200 > > > From: Ilias Apalodimas > > > > > > Hi Mark, > > > > > > > > > > > > > > > > > [...] > > > > > > > > > > > Changes in

Re: [u-boot-test-hooks PATCH] travis-ci: Add tests for booting from coreboot

2021-12-03 Thread Tom Rini
On Thu, Dec 02, 2021 at 07:05:47PM -0700, Simon Glass wrote: > Add a means of testing a coreboot + U-Boot build using qemu. > > Signed-off-by: Simon Glass > --- > > bin/ellesmere/conf.coreboot_qemu | 1 + > bin/travis-ci/conf.coreboot_qemu | 28 > 2 files

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Heinrich Schuchardt
On 12/3/21 11:27, Mark Kettenis wrote: Date: Fri, 3 Dec 2021 09:50:44 +0200 From: Ilias Apalodimas Hi Mark, [...] Changes in v6: - Fix description of OF_BOARD so it refers just to the current state - Explain that the 'two devicetrees' refers to two *control* devicetrees - Expand the

Re: [PATCH v6 01/25] doc: Add documentation about devicetree usage

2021-12-03 Thread Heinrich Schuchardt
On 12/3/21 13:34, Heinrich Schuchardt wrote: On 12/2/21 16:58, Simon Glass wrote: At present some of the ideas and techniques behind devicetree in U-Boot are assumed, implied or unsaid. Add some documentation to cover how devicetree is build, how it can be modified and the rules about using the

Re: [PATCH v3] xilinx: Kconfig: add XILINX_OF_BOARD_DTB_ADDR default value for microblaze

2021-12-03 Thread Michal Simek
On 12/2/21 20:56, Ovidiu Panait wrote: The xilinx board_fdt_blob_setup() implementation makes use of XILINX_OF_BOARD_DTB_ADDR, but no default value is currently defined for microblaze. Add one so that microblaze could also work with CONFIG_OF_SEPARATE. Signed-off-by: Ovidiu Panait ---

Re: [PATCH v6 01/25] doc: Add documentation about devicetree usage

2021-12-03 Thread Heinrich Schuchardt
On 12/2/21 16:58, Simon Glass wrote: At present some of the ideas and techniques behind devicetree in U-Boot are assumed, implied or unsaid. Add some documentation to cover how devicetree is build, how it can be modified and the rules about using the various CONFIG_OF_... options.

Re: [PATCH 0/4] rockchip: Improve support for Bob chromebook and add support for Kevin

2021-12-03 Thread Peter Robinson
On Fri, Dec 3, 2021 at 3:32 AM Simon Glass wrote: > > Hi Peter, > > On Wed, 1 Dec 2021 at 07:23, Peter Robinson wrote: > > > > On Thu, Nov 25, 2021 at 5:39 PM Alper Nebi Yasak > > wrote: > > > > > > I have recently started testing booting U-Boot from SPI on my gru-kevin > > > (as opposed to

Re: [PATCH v6 07/25] arm: rpi: Add a devicetree file for rpi_4

2021-12-03 Thread Peter Robinson
On Thu, Dec 2, 2021 at 6:26 PM Simon Glass wrote: > > Hi Mark, > > On Thu, 2 Dec 2021 at 10:34, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Thu, 2 Dec 2021 08:59:01 -0700 > > > > > > Add this file, obtained from the Raspbian boot disk, so there is a > > > reference devicetree

Re: [PATCH v6 09/25] arm: xenguest_arm64: Add a fake devicetree file

2021-12-03 Thread Tom Rini
On Thu, Dec 02, 2021 at 12:23:10PM -0700, Simon Glass wrote: > Hi François, > > On Thu, 2 Dec 2021 at 11:44, François Ozog wrote: > > > > Hi Simon > > > > On Thu, 2 Dec 2021 at 19:29, Simon Glass wrote: > >> > >> Hi François, > >> > >> On Thu, 2 Dec 2021 at 11:17, François Ozog > >> wrote: >

Re: [RFC PATCH v3 7/8] mkimage: add public key for image pre-load stage

2021-12-03 Thread Philippe REYNES
Hi Simon, Le 25/11/2021 à 01:13, Simon Glass a écrit : Hi Philippe, On Wed, 17 Nov 2021 at 10:52, Philippe Reynes wrote: This commit enhances mkimage to update the node /image/pre-load/sig with the public key. Signed-off-by: Philippe Reynes --- include/image.h| 15 ++

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Mark Kettenis
> Date: Fri, 3 Dec 2021 09:50:44 +0200 > From: Ilias Apalodimas > > Hi Mark, > > > > > > > > > [...] > > > > > > > Changes in v6: > > > > > > - Fix description of OF_BOARD so it refers just to the current state > > > > > > - Explain that the 'two devicetrees' refers to two *control* > > > >

Re: [PATCH v2 03/14] clk: mtmips: add clock driver for MediaTek MT7621 SoC

2021-12-03 Thread Weijie Gao
On Fri, 2021-11-26 at 12:44 -0500, Sean Anderson wrote: > On 11/18/21 8:35 PM, Weijie Gao wrote: > > This patch adds a clock driver for MediaTek MT7621 SoC. > > This driver provides clock gate control as well as getting clock > > frequency > > for CPU/SYS/XTAL and some peripherals. > > > >

Re: [PATCH 00/15] Sync NXP LS1028A-RDB device trees between U-Boot and Linux

2021-12-03 Thread Vladimir Oltean
Hi Priyanka, On Thu, Dec 02, 2021 at 04:53:54PM +0200, Vladimir Oltean wrote: > The changes were intended to be minimal, but unfortunately I discovered > some other stuff as well: > - we need to make some changes to the compatible strings of RTC devices > and I2C muxes. This has ramifications

Re: [PATCH v6 00/25] fdt: Make OF_BOARD a boolean option

2021-12-03 Thread Heinrich Schuchardt
On 12/2/21 17:50, Simon Glass wrote: Hi Heinrich, On Thu, 2 Dec 2021 at 09:47, Heinrich Schuchardt wrote: On 12/2/21 16:58, Simon Glass wrote: With Ilias' efforts we have dropped OF_PRIOR_STAGE and OF_HOSTFILE so there are only three ways to obtain a devicetree: - OF_SEPARATE - the

[PATCH] mtd: cfi_mtd: populate mtd->dev with flash_info->dev

2021-12-03 Thread Patrice Chotard
Populate mtd->dev with flash_info->dev which allows to get full mtd information using the "mtd list" command. Before, "mtd list" command returns : List of MTD devices: * nor0 - type: NOR flash - block size: 0x4 bytes - min I/O: 0x1 bytes - 0x-0x0400 : "nor0" After

RE: a question about falcon mode

2021-12-03 Thread Chan Kim
Hi, Alex and Abder, Thank you for the comments. Those will be a good hint for me (especially CONFIG_SPL_RAM_SUPPORT , using FIT image etc..) in reading the document and doing the experiment later. Best regards Chan > -Original Message- > From: Abder > Sent: Wednesday, December 1, 2021

Re: Question/issues about i.MX6 DDR configuration

2021-12-03 Thread Francesco Dolcini
On Thu, Dec 02, 2021 at 05:56:38PM -0300, Fabio Estevam wrote: > The part that Francesco quoted: > > "A Precharge All command must be issued prior to the > MRW command to ensure robust DDR initialization. This > command is required to be issued to both chip selects if two > chip selects are

Re: Question/issues about i.MX6 DDR configuration

2021-12-03 Thread Francesco Dolcini
Hello Fabio and Michael, On Thu, Dec 02, 2021 at 09:36:44PM +0100, Michael Nazzareno Trimarchi wrote: > On Thu, Dec 2, 2021 at 9:14 PM Fabio Estevam wrote: > > On Thu, Dec 2, 2021 at 1:14 PM Francesco Dolcini > > wrote: > > > I'm a little bit puzzled at the moment, according to the iMX6

Re: [PATCH 1/2] clk: cdce9xx: Convert .of_xlate to .request

2021-12-03 Thread Tero Kristo
On 01/12/2021 22:10, Sean Anderson wrote: On 12/1/21 3:08 PM, Tom Rini wrote: On Wed, Dec 01, 2021 at 02:44:02PM -0500, Sean Anderson wrote: This xlate function just performs some checking. We can do this in request() instead and use the default xlate. Signed-off-by: Sean Anderson Hi