Re: Boot from SD if SD-Card is present - Beaglebone Black

2022-05-02 Thread Ahmad Fatoum
Hello Konstantin, On 01.05.22 18:18, Konstantin Kletschke wrote: > Hi All, > > I have a Beaglebone Black whith internal MMC and external SD-Card > interface. > > I boot from internal MMC always. The system itself aways boots from > internal MMC. > > Is there a way - may be scriptable in boot

Re: [PATCH] firmware: zynqmp-fpga: do not load PL with ONLY_BIN flag unless necessary

2022-05-02 Thread Michael Tretter
On Sun, 01 May 2022 20:26:07 +0200, Matthias Fend wrote: > Since pmu-fw release 2018.3, the ZYNQMP_FPGA_BIT_ONLY_BIN flag is no > longer used. This wasn't a problem for a while, but in newer versions a > validation sequence will fail if this flag is set. This means that the PL > can no longer be

[PATCH master] ARM: rpi: fix CM3 breakage after multi-image rework

2022-05-02 Thread Ahmad Fatoum
barebox used to apply quirks by asking VideoCore firmware. If this was not possible, an error message is printed, but other initialization happened as expected. With the move to board driver matched by DT, we incur two breakages: - Compute Module 3/3+ used to be explicitly supported, but are

[PATCH master] Documentation: boards: stm32mp: elaborate on how to build

2022-05-02 Thread Ahmad Fatoum
The docs only show how to configure, not how to build the configuration. Add the missing info to make this more evident. Reported-by: https://stackoverflow.com/users/18074165/fila2016 Signed-off-by: Ahmad Fatoum --- Documentation/boards/stm32mp.rst | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH] firmware: zynqmp-fpga: do not load PL with ONLY_BIN flag unless necessary

2022-05-02 Thread Matthias Fend
Hi Michael, Am 02.05.2022 um 16:00 schrieb Michael Tretter: On Sun, 01 May 2022 20:26:07 +0200, Matthias Fend wrote: Since pmu-fw release 2018.3, the ZYNQMP_FPGA_BIT_ONLY_BIN flag is no longer used. This wasn't a problem for a while, but in newer versions a validation sequence will fail if

[PATCH v5 3/5] of: add generic of_fixup_machine_compatible()

2022-05-02 Thread Oleksij Rempel
Add generic function to extend/fixup machine compatible. Signed-off-by: Oleksij Rempel --- common/Kconfig | 5 + common/misc.c| 23 +++ common/oftree.c | 43 +++ include/common.h | 3 +++ include/of.h | 6 ++ 5

[PATCH v5 1/5] common: add $global.serial_number with device tree fixup

2022-05-02 Thread Oleksij Rempel
From: Ahmad Fatoum This new variable can be set by boards from C code or from the environment to change the serial number fixed up into the kernel device tree. Signed-off-by: Ahmad Fatoum Signed-off-by: Oleksij Rempel --- common/misc.c| 16 common/oftree.c | 5 +

[PATCH v5 2/5] ARM: boards: protonic-imx6: make use of barebox_set_serial_number()

2022-05-02 Thread Oleksij Rempel
Replace board specific serial-number fixup with common barebox_set_serial_number(). Signed-off-by: Oleksij Rempel --- arch/arm/boards/protonic-imx6/board.c | 20 +--- arch/arm/mach-imx/Kconfig | 1 + 2 files changed, 2 insertions(+), 19 deletions(-) diff --git

[PATCH v5 5/5] ARM: boards: protonic-imx6: add HW revision specific machine compatible

2022-05-02 Thread Oleksij Rempel
Currently we use generic/pinned machine compatible for different HW revisions. With this patch we extend this compatible string with HW revision specific. Signed-off-by: Oleksij Rempel --- arch/arm/boards/protonic-imx6/board.c | 22 ++ arch/arm/mach-imx/Kconfig |

[PATCH v5 0/5] add different OF board fixups

2022-05-02 Thread Oleksij Rempel
changes v5: - remove SERIAL_NUMBER_FIXUP Kconfig - s/of_fixup_machine_compatible/of_prepend_machine_compatible - remove bogus comment - check if the passed device tree already is compatible to @compat changes v4: - s/code info device/code into device/ changes v3: - rename

[PATCH v5 4/5] ARM: boards: skov-imx6: make use of of_fixup_machine_compatible()

2022-05-02 Thread Oleksij Rempel
Replace board specific fixup_machine_compatible() with generic of_fixup_machine_compatible() Signed-off-by: Oleksij Rempel --- arch/arm/boards/skov-imx6/board.c | 40 +++ 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/arch/arm/boards/skov-imx6/board.c