Re: [PATCH 1/1] efi_selftest: BitBlt test

2023-09-25 Thread Ilias Apalodimas
On Mon, 25 Sept 2023 at 00:23, Heinrich Schuchardt wrote: > > The BitBlt test leaves the serial console output in disarray. > > * Call ClearScreen() where needed. > * Test CheckEvent() for EFI_SIMPLE_TEXT_INPUT_PROTOCOL.WaitForKey > via adding navigation keys > * Correct timer comment > > For te

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Miquel Raynal
Hi Simon, s...@chromium.org wrote on Fri, 22 Sep 2023 13:51:14 -0600: > Hi Rob, > > On Fri, 22 Sept 2023 at 13:43, Rob Herring wrote: > > > > On Fri, Sep 22, 2023 at 1:12 PM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Fri, 22 Sept 2023 at 11:46, Rob Herring wrote: > > > > > > >

[PATCH 0/5] use .dtso for device tree overlay sources

2023-09-25 Thread Rasmus Villemoes
All device tree overlay sources in the kernel tree have been renamed to .dtso and, since v6.5 (commit 81d362732bac), the .dts -> .dtbo rules is gone from linux' Kbuild. Let's follow the lead of linux and do the renaming, and sooner rather than later to reduce the amount of churn. This is not quit

[PATCH 2/5] iot2050: rename overlay sources to .dtso

2023-09-25 Thread Rasmus Villemoes
Distinguish more clearly between source files meant for producing .dtb from those meant for producing .dtbo. No functional change, as we currently have rules for producing a foo.dtbo from either foo.dts or foo.dtso. Note that in the linux tree, all device tree overlay sources have been renamed to

[PATCH 1/5] arm: dts: imx8mm-cl-iot-gate: rename overlay sources to .dtso

2023-09-25 Thread Rasmus Villemoes
Distinguish more clearly between source files meant for producing .dtb from those meant for producing .dtbo. No functional change, as we currently have rules for producing a foo.dtbo from either foo.dts or foo.dtso. Note that in the linux tree, all device tree overlay sources have been renamed to

[PATCH 3/5] arm64: zynqmp: rename overlay sources to .dtso

2023-09-25 Thread Rasmus Villemoes
Distinguish more clearly between source files meant for producing .dtb from those meant for producing .dtbo. No functional change, as we currently have rules for producing a foo.dtbo from either foo.dts or foo.dtso. Note that in the linux tree, all device tree overlay sources have been renamed to

[PATCH 4/5] sandbox: rename overlay sources to .dtso

2023-09-25 Thread Rasmus Villemoes
Distinguish more clearly between source files meant for producing .dtb from those meant for producing .dtbo. No functional change, as we currently have rules for producing a foo.dtbo from either foo.dts or foo.dtso. Note that in the linux tree, all device tree overlay sources have been renamed to

[PATCH 5/5] doc: use .dtso as extension for device tree overlay sources

2023-09-25 Thread Rasmus Villemoes
Moving towards using .dtso for overlay sources, update the documentation examples to follow that pattern. Signed-off-by: Rasmus Villemoes --- doc/develop/uefi/uefi.rst | 4 ++-- doc/usage/fdt_overlays.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/develop/uefi/

Re: [PATCH] arm: mvebu: sata_mv: Add bootstd hook to enable sata_bootdev

2023-09-25 Thread Stefan Roese
On 9/6/23 07:22, Tony Dinh wrote: Add hook in sata_mv probe to enable bootstd bootdev. Note: bootdev_setup_for_sibling_blk() invocation is a noop if bootsd is not enabled for ahci sata yet. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/ata/sata_mv.c | 8

Re: [PATCH] scripts/Makefile.lib: also consider $(CONFIG_SYS_BOARD)-u-boot.dtsi

2023-09-25 Thread Rasmus Villemoes
On 04/05/2023 14.35, Rasmus Villemoes wrote: > On 03/05/2023 16.54, Tom Rini wrote: >> The one last problem now is on stm32mp15_dhcor_basic which is a >> defconfig missing one from OF_LIST but including it in the its file, so >> the above is the patch we need. >> > > Hm, well, for now I think at

Re: [PATCH 1/4] mkimage: also honour -B even without external data

2023-09-25 Thread Rasmus Villemoes
On 22/09/2023 17.26, Simon Glass wrote: >>> Shouldn't this be fdt_open_into()? >> >> I honestly just copy-pasted fit_extract_data() and shaved it down to the >> part that does the "align the FDT part of the file". >> >> I don't really understand your question. Are you saying this doesn't >> work (

Re: [PATCH 0/2] make CONFIG_SPL_SYS_MALLOC_SIMPLE && CONFIG_SYS_SPL_MALLOC actually work

2023-09-25 Thread Rasmus Villemoes
On 21/09/2023 03.02, Simon Glass wrote: > Hi Rasmus, > > On Fri, 15 Sept 2023 at 11:51, Rasmus Villemoes > wrote: >> >> Currently, setting both CONFIG_SPL_SYS_MALLOC_SIMPLE and >> CONFIG_SYS_SPL_MALLOC (but not CONFIG_SPL_STACK_R) doesn't work as >> expected: The SIMPLE option means that all mall

[PATCH V3 0/2] andes: rearrange defconfig and dts

2023-09-25 Thread Randolph
Changes in v3: - Drop the "SPL config option for itb layout" patch Changes in v2: - Split the original patch into three smaller ones Randolph (2): configs: andes: add vender prefix for target name configs: andes: rearrange SPL mode memory layout arch/riscv/Kconfig | 4 ++--

[PATCH V3 1/2] configs: andes: add vender prefix for target name

2023-09-25 Thread Randolph
Modify "CONFIG_TARGET_AE350" to "CONFIG_TARGET_ANDES_AE350" Signed-off-by: Randolph Reviewed-by: Tom Rini --- arch/riscv/Kconfig | 4 ++-- arch/riscv/dts/Makefile | 2 +- board/AndesTech/ae350/Kconfig| 2 +- configs/ae350_rv32_defconfig | 2 +- con

[PATCH V3 2/2] configs: andes: rearrange SPL mode memory layout

2023-09-25 Thread Randolph
Unify the memory layout for u-boot SPL mode Add "CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS" Signed-off-by: Randolph --- configs/ae350_rv32_spl_defconfig | 7 --- configs/ae350_rv32_spl_xip_defconfig | 5 +++-- configs/ae350_rv64_spl_defconfig | 7 --- configs/ae350_rv64_spl_xip_defconfi

[PATCH 0/7] riscv: spl: OpenSBI OS boot mode

2023-09-25 Thread Randolph
Introduce a shortcut boot mode for RISC-V. As we know, in ARM architecture has the Falcon mode to do the shortcut boot to the Linux kernel. (by enabling CONFIG_SPL_OS_BOOT) ARM Falcon mode boot flow would be as follows: u-boot SPL -> Linux kernel But for RISC-V, OpenSBI is required to allows the

[PATCH 1/7] riscv: dts: Introduce SPL_LOAD_FIT_CONFIG symbol

2023-09-25 Thread Randolph
Introduce common Kconfig symbol for riscv architecture This symbol SPL_LOAD_FIT_CONFIG for binman itb layout selection Default is using binman.dtsi Signed-off-by: Randolph --- arch/riscv/Kconfig | 7 +++ arch/riscv/dts/ae350-u-boot.dtsi | 1 + arch/riscv/dts/ae350_32.dts |

[PATCH 2/7] riscv: dts: add binman_linux.dtsi for opensbi os boot mode

2023-09-25 Thread Randolph
The binman_linux.dtsi is a fork of binman.dtsi, just change the first section image from the "u-boot" to "linux". Note that the filename is also changed. In binman.dtsi, the filename of u-boot section filename is called "u-boot-nodtb.bin". In binman_linux.dtsi, the filename should be called "Image"

[PATCH 3/7] spl: riscv: opensbi: change the default os_type as varible

2023-09-25 Thread Randolph
In order to introduce the Opensbi OS boot mode, the next stage boot image of OpenSBI should be configurable. Signed-off-by: Randolph --- common/spl/spl_opensbi.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/common/spl/spl_opensbi.c b/common/spl

[PATCH 4/7] riscv: dts: introduce SPL_LOAD_FIT_OPENSBI_OS_BOOT symbol

2023-09-25 Thread Randolph
Introduce common Kconfig symbol for riscv architecture. This symbol SPL_LOAD_FIT_OPENSBI_OS_BOOT is like falcon mode on ARM, the Falcon boot is a shortcut boot method for SD/eMMC targets. It skips the loading the RAM version U-Boot. Instead, it will loads the FIT image and boots directly to Linux.

[PATCH 5/7] spl: riscv: add os type for next booting stage

2023-09-25 Thread Randolph
If SPL_LOAD_FIT_OPENSBI_OS_BOOT is enabled, the function spl_invoke_opensbi should change the target OS type to IH_OS_LINUX. OpenSBI will load the Linux image as the next boot stage. The os_takes_devicetree function returns a value of true or false depending on whether or not SPL_LOAD_FIT_OPENSBI_O

[PATCH 6/7] andes: config: add riscv falcon mode for ae350 platform

2023-09-25 Thread Randolph
Fork from ae350_rv[32/64]_spl_[xip]_defconfig and append CONFIG_SPL_LOAD_FIT_OPENSBI_OS_BOOT=y Signed-off-by: Randolph --- configs/ae350_rv32_falcon_defconfig | 60 configs/ae350_rv32_falcon_xip_defconfig | 61 + configs/ae350_rv64_falcon_defc

[PATCH 7/7] riscv: spl: andes: Move the DTB in front of kernel

2023-09-25 Thread Randolph
Originally, u-boot SPL will place the DTB directly after the kernel, but the size of the kernel does not include the BSS section, This means that u-boot SPL places the DTB in the kernel BSS section causing the DTB to be cleared by the kernel BSS initialisation. Moving the DTB in front of the kerne

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-09-25 Thread Rogan Dawes
Hi Fabio, I used the following diff with "make mx28evk_defconfig", but unfortunately still get absolutely nothing on the DUART when running "mxsloader u-boot.sb". In fact, mxsloader returns immediately on trying to load my own u-boot.sb, whereas it hangs when running the vendor u-boot.sb, I assume

Re: [PATCH 30/32] fdt: Allow the devicetree to come from a bloblist

2023-09-25 Thread Ilias Apalodimas
Hi Simon, [...] > > > >> +config OF_BLOBLIST > > > >> + bool "DTB is provided by a bloblist" > > > >> + help > > > >> + Select this to read the devicetree from the bloblist. > > > >> This allows > > > >> + using a bloblist to tr

Re: [PATCH] sunxi: R528: add SMHC2 pin pull ups support

2023-09-25 Thread Andre Przywara
On Sun, 24 Sep 2023 13:21:16 +0300 Okhunjon Sobirjonov wrote: Hi Okhunjon, thanks for sending this! > Added support for on-chip EMMC(SMHC2) pin pull ups > for sunxi R528 board. Otherwise, "No pinmux setup > defined for MMC2" appears. Moreover, adding > CONFIG_MMC_SUNXI_SLOT_EXTRA=2 to defconfig

Re: [PATCH v4 1/8] net: wget: prevent overwriting reserved memory

2023-09-25 Thread Ilias Apalodimas
On Fri, Sep 22, 2023 at 04:11:12PM +0900, Masahisa Kojima wrote: > This introduces the valid range check to store the received > blocks using lmb. The same logic is implemented in tftp. > > Signed-off-by: Masahisa Kojima > Reviewed-by: Simon Glass > --- > net/wget.c | 80

Re: [PATCH v4 2/8] net: wget: add wget with dns utility function

2023-09-25 Thread Ilias Apalodimas
On Fri, Sep 22, 2023 at 04:11:13PM +0900, Masahisa Kojima wrote: > Current wget takes the target uri in this format: > ":" e.g.) 192.168.1.1:/bar > The http server ip address must be resolved before > calling wget. > > This commit adds the utility function runs wget with dhs. > User can call wget

[PATCH 0/2] serial: introduce CONFIG_CONSOLE_FLUSH_ON_NEWLINE

2023-09-25 Thread Rasmus Villemoes
1/2 is trivial prep. Commit log from that 2/2: When debugging, one sometimes only gets partial output lines or nothing at all from the last printf, because the uart has a largish buffer, and the code after the printf() may cause the CPU to hang before the uart IP has time to actually emit all the

[PATCH 1/2] serial: serial-uclass.c: move definition of _serial_flush up a bit

2023-09-25 Thread Rasmus Villemoes
Preparation for next patch. Signed-off-by: Rasmus Villemoes --- drivers/serial/serial-uclass.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c index 067fae2614..2f75ff878c 100644 --- a/

[PATCH 2/2] serial: introduce CONFIG_CONSOLE_FLUSH_ON_NEWLINE

2023-09-25 Thread Rasmus Villemoes
When debugging, one sometimes only gets partial output lines or nothing at all from the last printf, because the uart has a largish buffer, and the code after the printf() may cause the CPU to hang before the uart IP has time to actually emit all the characters. That can be very confusing, because

Re: [PATCH 1/1] starfive: visionfive2: add mmc0 and nvme boot targets

2023-09-25 Thread Leo Liang
On Sat, Sep 23, 2023 at 01:53:30PM -0600, Simon Glass wrote: > Hi Leo, > > On Wed, 20 Sept 2023 at 06:46, Leo Liang wrote: > > > > On Mon, Sep 18, 2023 at 10:32:29AM +0200, Milan P. Stanić wrote: > > > boot from SDIO3.0 (mmc sdcard) first if it is plugged. > > > If mmc is not plugged try to boot

Re: [PATCH 1/1] riscv: set fdtfile on VisionFive 2

2023-09-25 Thread Leo Liang
On Fri, Sep 22, 2023 at 09:54:23PM +0800, Shengyu Qu wrote: > Hello Leo, > > This patch seems only landed in next branch, not master. It is seriously > > needed to make visionfive 2 working properly. Could you merge it to > > master branch? > > Best regards, > > Shengyu > Hi Shengyu, Got i

Re: [PATCH v4 3/8] blk: blkmap: add ramdisk creation utility function

2023-09-25 Thread Ilias Apalodimas
On Fri, Sep 22, 2023 at 04:11:14PM +0900, Masahisa Kojima wrote: > User needs to call several functions to create the ramdisk > with blkmap. > This adds the utility function to create blkmap device and > mount the ramdisk. > > Signed-off-by: Masahisa Kojima > Reviewed-by: Simon Glass > --- > dri

Re: [PATCH 2/2] serial: introduce CONFIG_CONSOLE_FLUSH_ON_NEWLINE

2023-09-25 Thread Michal Suchánek
Hello, On Mon, Sep 25, 2023 at 01:01:01PM +0200, Rasmus Villemoes wrote: > When debugging, one sometimes only gets partial output lines or > nothing at all from the last printf, because the uart has a largish > buffer, and the code after the printf() may cause the CPU to hang > before the uart IP

Re: [PATCH v4 7/8] doc: uefi: add HTTP Boot support

2023-09-25 Thread Ilias Apalodimas
On Fri, Sep 22, 2023 at 04:11:18PM +0900, Masahisa Kojima wrote: > This adds the description about HTTP Boot. > > Signed-off-by: Masahisa Kojima > --- > doc/develop/uefi/uefi.rst | 30 ++ > 1 file changed, 30 insertions(+) > > diff --git a/doc/develop/uefi/uefi.rst b/d

[PATCH] fastboot: fix CRC32 chunk size checking

2023-09-25 Thread Wojciech Nizinski
genimage create android-sparse file with CRC32 chunk at end. When U-Boot's fastboot receives this chunk it returns error message: `Fail Bogus chunk size for chunk type Dont Care` According to reference implementation of Android's sparse file format:

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Simon Glass
Hi Miquel, On Mon, 25 Sept 2023 at 01:21, Miquel Raynal wrote: > > Hi Simon, > > s...@chromium.org wrote on Fri, 22 Sep 2023 13:51:14 -0600: > > > Hi Rob, > > > > On Fri, 22 Sept 2023 at 13:43, Rob Herring wrote: > > > > > > On Fri, Sep 22, 2023 at 1:12 PM Simon Glass wrote: > > > > > > > > Hi

Re: [PATCH v4 4/8] efi_loader: support boot from URI device path

2023-09-25 Thread Ilias Apalodimas
On Fri, Sep 22, 2023 at 04:11:15PM +0900, Masahisa Kojima wrote: > This supports to boot from the URI device path. > When user selects the URI device path, bootmgr downloads > the file using wget into the address specified by loadaddr > env variable. > If the file is .iso or .img file, mount the im

Re: [PATCH v4 5/8] efi_loader: set EFI HTTP Boot download buffer as reserved

2023-09-25 Thread Ilias Apalodimas
Kojima-san, [...] > /* Carve out DT reserved memory ranges */ > void efi_carve_out_dt_rsv(void *fdt); > /* Purge unused kaslr-seed */ > diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c > index 605be5041e..4991056946 100644 > --- a/lib/efi_loader/efi_bootmgr.c > +++ b/lib

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-09-25 Thread Fabio Estevam
Hi Rogan, On Mon, Sep 25, 2023 at 6:52 AM Rogan Dawes wrote: > > Hi Fabio, > > I used the following diff with "make mx28evk_defconfig", but unfortunately > still get absolutely nothing on the DUART when running "mxsloader u-boot.sb". > In fact, mxsloader returns immediately on trying to load my

Re: [PATCH 1/2] serial: serial-uclass.c: move definition of _serial_flush up a bit

2023-09-25 Thread Simon Glass
On Mon, 25 Sept 2023 at 05:01, Rasmus Villemoes wrote: > > Preparation for next patch. > > Signed-off-by: Rasmus Villemoes > --- > drivers/serial/serial-uclass.c | 24 > 1 file changed, 12 insertions(+), 12 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Simon Glass
Hi Michal, On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: > > Hi Simon, > > > On 9/23/23 20:13, Simon Glass wrote: > > Current alignment which is using 16 bytes is not correct in connection to > > trace_clocks description and it's length. > > That's why use start_addr variable and record prop

Re: [PATCH 5/5] doc: use .dtso as extension for device tree overlay sources

2023-09-25 Thread Simon Glass
On Mon, 25 Sept 2023 at 02:10, Rasmus Villemoes wrote: > > Moving towards using .dtso for overlay sources, update the > documentation examples to follow that pattern. > > Signed-off-by: Rasmus Villemoes > --- > doc/develop/uefi/uefi.rst | 4 ++-- > doc/usage/fdt_overlays.rst | 4 ++-- > 2 files

Re: [PATCH 1/4] mkimage: also honour -B even without external data

2023-09-25 Thread Simon Glass
Hi Rasmus, On Mon, 25 Sept 2023 at 02:47, Rasmus Villemoes wrote: > > On 22/09/2023 17.26, Simon Glass wrote: > > >>> Shouldn't this be fdt_open_into()? > >> > >> I honestly just copy-pasted fit_extract_data() and shaved it down to the > >> part that does the "align the FDT part of the file". > >

Re: [PATCH 4/5] sandbox: rename overlay sources to .dtso

2023-09-25 Thread Simon Glass
On Mon, 25 Sept 2023 at 02:10, Rasmus Villemoes wrote: > > Distinguish more clearly between source files meant for producing .dtb > from those meant for producing .dtbo. No functional change, as we > currently have rules for producing a foo.dtbo from either foo.dts or > foo.dtso. > > Note that in

Re: [PATCH v2] arm: rpi: remove boot_targets for default standard boot

2023-09-25 Thread Simon Glass
On Sat, 23 Sept 2023 at 20:59, Date Huang wrote: > > Raspberry pi supports standard boot without boot_targets > > Signed-off-by: Date Huang > --- > board/raspberrypi/rpi/rpi.env | 2 -- > 1 file changed, 2 deletions(-) Reviewed-by: Simon Glass > > diff --git a/board/raspberrypi/rpi/rpi.env b

Re: [PATCH 0/2] make CONFIG_SPL_SYS_MALLOC_SIMPLE && CONFIG_SYS_SPL_MALLOC actually work

2023-09-25 Thread Simon Glass
Hi Rasmus, On Mon, 25 Sept 2023 at 02:54, Rasmus Villemoes wrote: > > On 21/09/2023 03.02, Simon Glass wrote: > > Hi Rasmus, > > > > On Fri, 15 Sept 2023 at 11:51, Rasmus Villemoes > > wrote: > >> > >> Currently, setting both CONFIG_SPL_SYS_MALLOC_SIMPLE and > >> CONFIG_SYS_SPL_MALLOC (but not C

Re: Config fragments

2023-09-25 Thread Svyatoslav Ryhel
23 серпня 2023 р. 18:55:58 GMT+03:00, Tom Rini написав(-ла): >On Wed, Aug 23, 2023 at 09:30:31AM -0600, Simon Glass wrote: > >> Hi, >> >> Up until 2023.04 it has been possible to build all the defconfigs but >> with 2023.07 that changed. Tom mentioned this to me recently. > >I'm adding Svyato

Re: [PATCH 1/4] mkimage: also honour -B even without external data

2023-09-25 Thread Rasmus Villemoes
On 25/09/2023 15.10, Simon Glass wrote: > Hi Rasmus, > > On Mon, 25 Sept 2023 at 02:47, Rasmus Villemoes > wrote: >> Since patches 2,3,4 touch binman code, could you take all four? > > Yes, will do. I didn't pick them up in the most recent PR as I try to > have things sit for a week before appl

[PATCH 0/2] arm64: ti: k3-j7: Add the ESM nodes

2023-09-25 Thread Keerthy
Hi Tom, https://lore.kernel.org/linux-arm-kernel/5187c590-ee9a-4c46-b326-655f4c371...@linaro.org/T/#me178708007a6b3b9695ae0ff84475fa4f49f283c I have posted the ESM patches to the linux kernel device tree mailing list. These are neeeded in R5 SPL to enable watchdog support. Keerthy (2): arm64:

[PATCH 1/2] arm64: dts: ti: k3-j721s2: Add ESM instances

2023-09-25 Thread Keerthy
Patch adds the ESM instances for j721s2. It has 3 instances. One in the main domain and two in the mcu-wakeup domian. Signed-off-by: Keerthy --- arch/arm/dts/k3-j721s2-main.dtsi | 7 +++ arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi | 14 ++ 2 files changed, 21 insertions(+) dif

[PATCH 2/2] arm64: dts: ti: k3-j7200: Add MCU domain ESM instance

2023-09-25 Thread Keerthy
Patch adds the ESM instance for MCU domian of j7200. Signed-off-by: Keerthy --- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi index 1044ec6c4b..2b185fa350 100644 ---

Re: [PATCH v3] env: ti: ti_common.env: Fix get_overlaystring for FIT Image

2023-09-25 Thread Andrew Davis
On 9/25/23 1:23 AM, Manorit Chawdhry wrote: After the refactor with conf- nodes in fitImage, overlaystring wasn't didn't handle the new conf- nodes in FIT Booting. Fix get_overlaystring to handle conf- nodes. Fixes: 837833a724b7 ("environment: ti: Add get_fit_config command to get FIT config st

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Michal Simek
On 9/25/23 15:10, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: Hi Simon, On 9/23/23 20:13, Simon Glass wrote: Current alignment which is using 16 bytes is not correct in connection to trace_clocks description and it's length. That's why use start_addr

Re: [PATCH 0/2] arm64: ti: k3-j7: Add the ESM nodes

2023-09-25 Thread Nishanth Menon
On 18:56-20230925, Keerthy wrote: > Hi Tom, > > https://lore.kernel.org/linux-arm-kernel/5187c590-ee9a-4c46-b326-655f4c371...@linaro.org/T/#me178708007a6b3b9695ae0ff84475fa4f49f283c > > I have posted the ESM patches to the linux kernel device tree mailing > list. These are ne

Re: [PATCH] bmips: Add Inteno XG6846 board

2023-09-25 Thread Linus Walleij
On Thu, Sep 21, 2023 at 7:25 PM Tom Rini wrote: > On Thu, Sep 21, 2023 at 04:00:24PM +0200, Daniel Schwierzeck wrote: > > [snip] > > I just tested it, you can simply add an empty board/inteno/xg6846/Makefile > > and > > remove board/inteno/xg6846/xg6846.c. But you can also remove the Makefile. >

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-09-25 Thread Rogan Dawes
Hi Fabio, On Mon, 25 Sep 2023 at 15:04, Fabio Estevam wrote: > Hi Rogan, > > On Mon, Sep 25, 2023 at 6:52 AM Rogan Dawes wrote: > > > > Hi Fabio, > > > > I used the following diff with "make mx28evk_defconfig", but > unfortunately still get absolutely nothing on the DUART when running > "mxsloa

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Simon Glass
Hi Michal, On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: > > > > On 9/25/23 15:10, Simon Glass wrote: > > Hi Michal, > > > > On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: > >> > >> Hi Simon, > >> > >> > >> On 9/23/23 20:13, Simon Glass wrote: > >>> Current alignment which is using 16 b

Re: [PATCH 1/3] Fix code style for time functions

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 08:39:50PM -0600, Simon Glass wrote: > Fix the code style used for some time functions. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 6/6] arm: dts: k3-j721e: Sync with v6.6-rc1

2023-09-25 Thread Nishanth Menon
On 16:09-20230922, Neha Malcom Francis wrote: > Sync k3-j721e DTS with kernel.org v6.6-rc1. Give a summary of changes here - for example hbmc was disabled. > > Signed-off-by: Neha Malcom Francis > --- > .../k3-j721e-common-proc-board-u-boot.dtsi| 153 +-- > arch/arm/dts/k3-j721e-common-pr

Re: Please pull u-boot-dm

2023-09-25 Thread Tom Rini
On Sat, Sep 23, 2023 at 12:16:40PM -0600, Simon Glass wrote: > Hi Tom, > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/17830 > https://dev.azure.com/simon0972/u-boot/_build/results?buildId=48&view=results > > > The following changes since commit 4cb31a9f3560b293670de95e76c1f3

Re: Pull request: please pull u-boot-imx-20230905

2023-09-25 Thread Tom Rini
On Sat, Sep 23, 2023 at 08:56:14PM +0200, Stefano Babic wrote: > Hi Tom, > > some fixes for the release, please pull from u-boot-imx, thanks ! > > The following changes since commit 4cb31a9f3560b293670de95e76c1f3cf2f9e1ca8: > > Merge branch '2023-09-22-assorted-bugfixes' (2023-09-22 18:25:37

Re: [PATCH 2/3] common: Drop time.h from common header

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 08:39:51PM -0600, Simon Glass wrote: > Move this out of the common header and include it only where needed. > > Signed-off-by: Simon Glass [snip] > diff --git a/arch/arm/include/asm/arch-tegra/timer.h > b/arch/arm/include/asm/arch-tegra/timer.h > index 1c4decacd338..c5e9

Re: [PATCH 2/3] common: Drop time.h from common header

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 08:39:51PM -0600, Simon Glass wrote: > Move this out of the common header and include it only where needed. > > Signed-off-by: Simon Glass [snip] > diff --git a/cmd/cyclic.c b/cmd/cyclic.c > index 946f1d78184d..f12edfa6b727 100644 > --- a/cmd/cyclic.c > +++ b/cmd/cyclic.c

Re: [PATCH v3 3/6] drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up

2023-09-25 Thread Nishanth Menon
On 16:09-20230922, Neha Malcom Francis wrote: > When setting up boot media to load the TIFS binary in legacy boot flow > (followed by J721E), get_timer() is called which calls dm_timer_init() > which then gets the tick-timer: mcu_timer0. mcu_timer0 uses k3_clks > (clock controller) and k3_pds (powe

Re: [PATCH v3 2/6] arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS

2023-09-25 Thread Nishanth Menon
On 16:09-20230922, Neha Malcom Francis wrote: > When setting boot media to load the TIFS binary in legacy boot flow > (followed by J721E), get_timer() is called which eventually calls > dm_timer_init() to grab the tick-timer, which is mcu_timer0. Since we > need to set up the clocks before using th

Re: [PATCH v3 1/6] arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID

2023-09-25 Thread Nishanth Menon
On 16:09-20230922, Neha Malcom Francis wrote: > U-Boot uses mcu_timer0 as the tick-timer, so add it to device list. > > Signed-off-by: Neha Malcom Francis > Reviewed-by: Manorit Chawdhry Reviewed-by: Nishanth Menon [...] -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2

Re: [PATCH 0/3] common: Remove a few more header files

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 08:39:49PM -0600, Simon Glass wrote: > This series removes two more header files from the common.h header. It > also tidies up code style for time.h functions, to simplify similar > maintenance in future. > > > Simon Glass (3): > Fix code style for time functions > co

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Michal Simek
Hi Simon, On 9/25/23 16:01, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: On 9/25/23 15:10, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: Hi Simon, On 9/23/23 20:13, Simon Glass wrote: Current alignment which is

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 04:10:38PM +0200, Michal Simek wrote: > Hi Simon, > > On 9/25/23 16:01, Simon Glass wrote: > > Hi Michal, > > > > On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: > > > > > > > > > > > > On 9/25/23 15:10, Simon Glass wrote: > > > > Hi Michal, > > > > > > > > On Mon,

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Michal Simek
On 9/25/23 16:19, Tom Rini wrote: On Mon, Sep 25, 2023 at 04:10:38PM +0200, Michal Simek wrote: Hi Simon, On 9/25/23 16:01, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: On 9/25/23 15:10, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 00:06,

Re: [PATCH] bmips: Add Inteno XG6846 board

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 03:56:07PM +0200, Linus Walleij wrote: > On Thu, Sep 21, 2023 at 7:25 PM Tom Rini wrote: > > On Thu, Sep 21, 2023 at 04:00:24PM +0200, Daniel Schwierzeck wrote: > > > > [snip] > > > I just tested it, you can simply add an empty > > > board/inteno/xg6846/Makefile and > > >

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 08:01:41AM -0600, Simon Glass wrote: > Hi Michal, > > On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: > > > > > > > > On 9/25/23 15:10, Simon Glass wrote: > > > Hi Michal, > > > > > > On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: > > >> > > >> Hi Simon, > > >> > >

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 04:21:17PM +0200, Michal Simek wrote: > > > On 9/25/23 16:19, Tom Rini wrote: > > On Mon, Sep 25, 2023 at 04:10:38PM +0200, Michal Simek wrote: > > > Hi Simon, > > > > > > On 9/25/23 16:01, Simon Glass wrote: > > > > Hi Michal, > > > > > > > > On Mon, 25 Sept 2023 at 07:

Re: [PATCH 0/3] common: Remove a few more header files

2023-09-25 Thread Simon Glass
Hi Tom, On Mon, 25 Sept 2023 at 08:08, Tom Rini wrote: > > On Sun, Sep 24, 2023 at 08:39:49PM -0600, Simon Glass wrote: > > > This series removes two more header files from the common.h header. It > > also tidies up code style for time.h functions, to simplify similar > > maintenance in future. >

Re: [PATCH v2 3/3] trace: Fix alignment logic in flyrecord header

2023-09-25 Thread Michal Simek
On 9/25/23 16:28, Tom Rini wrote: On Mon, Sep 25, 2023 at 08:01:41AM -0600, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 07:38, Michal Simek wrote: On 9/25/23 15:10, Simon Glass wrote: Hi Michal, On Mon, 25 Sept 2023 at 00:06, Michal Simek wrote: Hi Simon, On 9/23/23 20:

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Miquel Raynal
Hi Simon, s...@chromium.org wrote on Mon, 25 Sep 2023 06:33:14 -0600: > Hi Miquel, > > On Mon, 25 Sept 2023 at 01:21, Miquel Raynal > wrote: > > > > Hi Simon, > > > > s...@chromium.org wrote on Fri, 22 Sep 2023 13:51:14 -0600: > > > > > Hi Rob, > > > > > > On Fri, 22 Sept 2023 at 13:43, Rob

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Simon Glass
Hi Miquel, On Mon, 25 Sept 2023 at 08:47, Miquel Raynal wrote: > > Hi Simon, > > s...@chromium.org wrote on Mon, 25 Sep 2023 06:33:14 -0600: > > > Hi Miquel, > > > > On Mon, 25 Sept 2023 at 01:21, Miquel Raynal > > wrote: > > > > > > Hi Simon, > > > > > > s...@chromium.org wrote on Fri, 22 Sep

Re: [PATCH v3 01/38] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...

2023-09-25 Thread Felix Brack
Hi Simon, On 24.09.23 21:24, Simon Glass wrote: > We like to put the SPL first so it is clear that it relates to SPL. Rename > various malloc-related options which have crept in, to stick to this > convention. > > Signed-off-by: Simon Glass > Reviewed-by: Marcel Ziswiler > Reviewed-by: Martyn W

Re: [PATCH v6 1/2] schemas: Add some common reserved-memory usages

2023-09-25 Thread Simon Glass
Hi Rob, On Thu, 21 Sept 2023 at 10:45, Simon Glass wrote: > > Hi Rob, > > On Thu, 21 Sept 2023 at 09:20, Rob Herring wrote: > > > > On Thu, Sep 21, 2023 at 9:38 AM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Thu, 21 Sept 2023 at 08:25, Rob Herring wrote: > > > > > > > > On Thu, Sep 7

Re: Config fragments

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 04:18:45PM +0300, Svyatoslav Ryhel wrote: > > > 23 серпня 2023 р. 18:55:58 GMT+03:00, Tom Rini > написав(-ла): > >On Wed, Aug 23, 2023 at 09:30:31AM -0600, Simon Glass wrote: > > > >> Hi, > >> > >> Up until 2023.04 it has been possible to build all the defconfigs but >

Re: Config fragments

2023-09-25 Thread Svyatoslav Ryhel
пн, 25 вер. 2023 р. о 18:05 Tom Rini пише: > > On Mon, Sep 25, 2023 at 04:18:45PM +0300, Svyatoslav Ryhel wrote: > > > > > > 23 серпня 2023 р. 18:55:58 GMT+03:00, Tom Rini > > написав(-ла): > > >On Wed, Aug 23, 2023 at 09:30:31AM -0600, Simon Glass wrote: > > > > > >> Hi, > > >> > > >> Up until

Re: [PATCH 0/3] common: Remove a few more header files

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 08:35:44AM -0600, Simon Glass wrote: > Hi Tom, > > On Mon, 25 Sept 2023 at 08:08, Tom Rini wrote: > > > > On Sun, Sep 24, 2023 at 08:39:49PM -0600, Simon Glass wrote: > > > > > This series removes two more header files from the common.h header. It > > > also tidies up code

Re: [PATCH 4/4] binman: update documentation for fit,align property

2023-09-25 Thread Jonas Karlman
Hi Rasmus, On 2023-09-19 13:37, Rasmus Villemoes wrote: > Eliminate the repetition "what alignment to use ... and provides the > alignment to use", and indicate that fit,align can both be used by > itself and together with fit,external-offset. > > Signed-off-by: Rasmus Villemoes > --- > tools/b

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Tom Rini
On Sun, Sep 24, 2023 at 04:48:32PM +0530, Udit Kumar wrote: > In case of new memory range to be added is coalesced > with any already added non last lmb region. > > And there is possibility that, then region in which new memory > range added is not adjacent to next region. But have some > section

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Miquel Raynal
Hi Simon, > > > > > > > > > I was assuming that I should create a top-level compatible = > > > > > > > > > "binman" > > > > > > > > > node, with subnodes like compatible = "binman,bl31-atf", for > > > > > > > > > example. > > > > > > > > > I should use the compatible string to indicate the conte

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Mark Kettenis
> Date: Mon, 25 Sep 2023 11:21:26 -0400 > From: Tom Rini > > On Sun, Sep 24, 2023 at 04:48:32PM +0530, Udit Kumar wrote: > > > In case of new memory range to be added is coalesced > > with any already added non last lmb region. > > > > And there is possibility that, then region in which new mem

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Tom Rini
On Mon, Sep 25, 2023 at 05:27:26PM +0200, Mark Kettenis wrote: > > Date: Mon, 25 Sep 2023 11:21:26 -0400 > > From: Tom Rini > > > > On Sun, Sep 24, 2023 at 04:48:32PM +0530, Udit Kumar wrote: > > > > > In case of new memory range to be added is coalesced > > > with any already added non last lmb

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-09-25 Thread Fabio Estevam
On Mon, Sep 25, 2023 at 11:00 AM Rogan Dawes wrote: > I see absolutely nothing in the console. > > I’m wondering whether I can possibly execute the vendor SPL with a modern > u-boot? The old U-Boot vendor does not use SPL. It uses an old mechanism called bootlets. I suggest that we start from

[PATCH v2 0/2] clk: amlogic: a1: Add Amlogic A1 clock driver

2023-09-25 Thread Igor Prusov
This series adds dt-bindings and driver implementation for Amlogic A1 PLL and Peripherals clock controllers. V1: https://lore.kernel.org/all/20230917101308.1250-1-ivpru...@salutedevices.com/ V1 -> V2: - Add more verbose comments for driver Igor Prusov (2): dt-bindings: clock: Add Amlogic A1

[PATCH v2 1/2] dt-bindings: clock: Add Amlogic A1 clock bindings

2023-09-25 Thread Igor Prusov
Add clock bindings for Amlogic A1 from linux-next next-20230821. Signed-off-by: Igor Prusov Reviewed-by: Simon Glass --- .../clock/amlogic,a1-peripherals-clkc.h | 168 ++ .../dt-bindings/clock/amlogic,a1-pll-clkc.h | 25 +++ 2 files changed, 193 insertions(+) create mo

[PATCH v2 2/2] clk: Add clock driver for Amlogic A1

2023-09-25 Thread Igor Prusov
This patch adds basic clock driver for Amlogic A1 Family which supports enabling/disabling some gates, getting frequencies and setting rate with limited reparenting. Signed-off-by: Igor Prusov Reviewed-by: Simon Glass --- arch/arm/include/asm/arch-meson/clock-a1.h | 23 + drivers/clk/meson/Kco

Re: Config fragments

2023-09-25 Thread Simon Glass
Hi, On Mon, 25 Sept 2023 at 09:12, Svyatoslav Ryhel wrote: > > пн, 25 вер. 2023 р. о 18:05 Tom Rini пише: > > > > On Mon, Sep 25, 2023 at 04:18:45PM +0300, Svyatoslav Ryhel wrote: > > > > > > > > > 23 серпня 2023 р. 18:55:58 GMT+03:00, Tom Rini > > > написав(-ла): > > > >On Wed, Aug 23, 2023 a

Re: [PATCH] lmb: remove overlapping region with next range

2023-09-25 Thread Simon Glass
Hi Udit, On Sun, 24 Sept 2023 at 22:10, Kumar, Udit wrote: > > On 9/24/2023 7:21 PM, Heinrich Schuchardt wrote: > > > > Am 24. September 2023 13:18:32 MESZ schrieb Udit Kumar : > >> In case of new memory range to be added is coalesced > >> with any already added non last lmb region. > >> > >> And

Re: [PATCH 0/3] common: Remove a few more header files

2023-09-25 Thread Simon Glass
Hi Tom, On Mon, 25 Sept 2023 at 09:13, Tom Rini wrote: > > On Mon, Sep 25, 2023 at 08:35:44AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 25 Sept 2023 at 08:08, Tom Rini wrote: > > > > > > On Sun, Sep 24, 2023 at 08:39:49PM -0600, Simon Glass wrote: > > > > > > > This series removes tw

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-25 Thread Simon Glass
Hi Miquel, On Mon, 25 Sept 2023 at 09:24, Miquel Raynal wrote: > > Hi Simon, > > > > > > > > > > > I was assuming that I should create a top-level compatible > > > > > > > > > > = "binman" > > > > > > > > > > node, with subnodes like compatible = "binman,bl31-atf", > > > > > > > > > > for examp

[PATCH] smegw01: Fix inverted CONFIG_SYS_BOOT_LOCKED logic

2023-09-25 Thread Fabio Estevam
From: Eduard Strehlau CONFIG_SYS_BOOT_LOCKED means that a restricted boot environment will be used. In this case, hab_auth_img_or_fail should be called to prevent U-Boot to continue running when the fitImage authentication fails. Fix the logic accordingly. Additionally, select CONFIG_SYS_BOOT_L

Re: [PATCH v3 01/38] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...

2023-09-25 Thread Simon Glass
Hi Felix, On Mon, 25 Sept 2023 at 08:56, Felix Brack wrote: > > Hi Simon, > > On 24.09.23 21:24, Simon Glass wrote: > > We like to put the SPL first so it is clear that it relates to SPL. Rename > > various malloc-related options which have crept in, to stick to this > > convention. > > > > Signe

Re: [PATCH v3 0/3] enable power and clock Kconfig conditionally

2023-09-25 Thread Kumar, Udit
Hi Tom, On 9/13/2023 10:09 AM, Udit Kumar wrote: This series, updates enabling mutually exclusive power and clock configs for TI SOCs. Sorry to push clock and power changes in one series, managed by two maintainers. But In my quick grep, I am not able to active PR raise from both trees. So cop

  1   2   >