Re: [PATCH 1/6 v5] serial: qcom: add support for GENI serial driver

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:44:27PM +0300, Dzmitry Sankouski wrote: > Generic Interface (GENI) Serial Engine (SE) based uart > can be found on newer qualcomm SOCs, starting from SDM845. > Tested on Samsung SM-G9600(starqltechn) > by chain-loading u-boot with stock bootloader. > > Signed-off-by:

Re: [PATCH] arm: mvebu: Fix booting from SATA

2021-10-31 Thread Tom Rini
On Fri, Oct 29, 2021 at 02:09:48PM +0200, Pali Rohár wrote: > Use proper SATA macro for boot_device switch in spl_boot_device() function. > > Signed-off-by: Pali Rohár > Fixes: 2226ca173486 ("arm: mvebu: Load U-Boot proper binary in SPL code based > on kwbimage header") Applied to

Re: [PATCH 2/2] Revert "arch: arm: use dt and UCLASS_SYSCON to get gic lpi details"

2021-10-31 Thread Tom Rini
On Wed, Oct 27, 2021 at 06:54:54PM +0200, Michael Walle wrote: > Stop using the device tree as a source for ad-hoc information. > > This reverts commit 2ae7adc659f7fca9ea65df4318e5bca2b8274310. > > Signed-off-by: Michael Walle With a quick change to make ns3 build but note the problem at

Re: [PATCH 1/2] Revert "arm64: Layerscape: Survive LPI one-way reset workaround"

2021-10-31 Thread Tom Rini
On Wed, Oct 27, 2021 at 06:54:53PM +0200, Michael Walle wrote: > From: Tom Rini > > Ad-hoc bindings that are not part of the upstream device tree / bindings > are not allowed in-tree. Only bindings that are in-progress with > upstream and then re-synced once agreed upon are. > > This reverts

Re: [PATCH 2/5] env: Fix env_get() when returning empty string using env_get_f()

2021-10-31 Thread Marek Behún
On Sun, 31 Oct 2021 07:07:47 -0600 Simon Glass wrote: > Hi, > > On Fri, 29 Oct 2021 at 03:03, Pali Rohár wrote: > > > > On Thursday 28 October 2021 21:17:38 Simon Glass wrote: > > > Hi Marek, > > > > > > On Wed, 27 Oct 2021 at 21:28, Marek Behún wrote: > > > > > > > > From: Marek Behún >

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Michael Walle
Am 2021-10-31 13:51, schrieb Mark Kettenis: Date: Sun, 31 Oct 2021 13:04:40 +0100 From: Michael Walle Am 2021-10-31 12:44, schrieb Mark Kettenis: >> Date: Sun, 31 Oct 2021 11:43:38 +0100 >> From: Michael Walle >> >> Hi, >> >> I sometimes see a corrupted initrd during kernel boot on my board

Re: [PATCH v1 3/3] rockchip: rk3568: add arch_cpu_init()

2021-10-31 Thread Alper Nebi Yasak
On 09/10/2021 18:24, Kever Yang wrote: > On 2021/10/9 上午1:33, Philipp Tomsich wrote: >> Could you point me to a public version of the TRM (and >> ideally also of the datasheet), so I can review this series? > > I believe there is no public TRM or datasheet for rk3568 is available > for now. I

[PATCH v5 1/2] arm: dts: add imx8mp-rsb3720-a1 dts file

2021-10-31 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Add board dts for Advantech's imx8mp-rsb3720-a1 Signed-off-by: Darren Huang Signed-off-by: Kevin12.Chen Signed-off-by: Phill.Liu Signed-off-by: Tim Liang Signed-off-by: wei.zeng Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: uboot-imx --- v2: update dts v4:

[PATCH v5 0/2] arm: imx8m: add support for Advantech RSB-3720

2021-10-31 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Add initial support for Advantech RSB-3720 board. The initial support includes: - MMC - eMMC - I2C - FEC - Serial console Ying-Chun Liu (PaulLiu) (2): arm: dts: add imx8mp-rsb3720-a1 dts file arm: imx8m: add support for Advantech RSB-3720 v2: update dts

RE: [PATCH v5 23/28] pci: layerscape: add official ls1028a binding support

2021-10-31 Thread Z.Q. Hou
> -Original Message- > From: Michael Walle [mailto:mich...@walle.cc] > Sent: 2021年10月14日 0:14 > To: u-boot@lists.denx.de > Cc: Jagan Teki ; Priyanka Jain > ; Vladimir Oltean ; Tom Rini > ; Peter Griffin ; Manivannan > Sadhasivam ; Michael Walle > ; Z.Q. Hou > Subject: [PATCH v5 23/28]

RE: [PATCH v4 23/29] pci: layerscape: add official ls1028a binding support

2021-10-31 Thread Z.Q. Hou
> -Original Message- > From: Michael Walle [mailto:mich...@walle.cc] > Sent: 2021年10月13日 15:49 > To: Z.Q. Hou > Cc: u-boot@lists.denx.de; Jagan Teki ; Priyanka > Jain ; Vladimir Oltean ; Tom > Rini ; Peter Griffin ; > Manivannan > Sadhasivam > Subject: Re: [PATCH v4 23/29] pci:

Re: [PATCH 2/5] env: Fix env_get() when returning empty string using env_get_f()

2021-10-31 Thread Simon Glass
Hi, On Fri, 29 Oct 2021 at 03:03, Pali Rohár wrote: > > On Thursday 28 October 2021 21:17:38 Simon Glass wrote: > > Hi Marek, > > > > On Wed, 27 Oct 2021 at 21:28, Marek Behún wrote: > > > > > > From: Marek Behún > > > > > > The env_get_f() function returns -1 on failure. Returning 0 means

Re: [PATCH 4/5] env: Add support for board specific special default environment

2021-10-31 Thread Simon Glass
Hi Marek, On Fri, 29 Oct 2021 at 02:58, Marek Behún wrote: > > On Thu, 28 Oct 2021 21:17:41 -0600 > Simon Glass wrote: > > > Hi Marek, > > > > On Wed, 27 Oct 2021 at 21:28, Marek Behún wrote: > > > > > > From: Marek Behún > > > > > > The default_environment[] buffer is built at compile time,

Re: [PATCH 11/14] board: synquacer: developerbox: Don't set gd->env_addr to default_environment

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > This board sets gd->env_addr to default_environment in board_init(), but > the board has environment in SPI flash according to defconfig. Let the > env API handle environment automatically. > > Signed-off-by: Marek Behún

Re: [PATCH 06/14] env: nvram: Cosmetic fix in env_nvram_init()

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > Use spaces consistently in assignments instead of tabs. > > Signed-off-by: Marek Behún > --- > env/nvram.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Simon Glass Applied to u-boot-dm,

Re: [PATCH] image.h: make image_sign_info.fit point to const

2021-10-31 Thread Simon Glass
On Sun, 17 Oct 2021 at 23:49, Hannu Lounento wrote: > > 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.

Re: [PATCH] sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig

2021-10-31 Thread Simon Glass
On Tue, 19 Oct 2021 at 19:17, Tom Rini wrote: > > Move this from a hard-coded define in config.mk to Kconfig. > > Signed-off-by: Tom Rini > --- > arch/sandbox/Kconfig | 3 +++ > arch/sandbox/config.mk | 1 - > 2 files changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass Applied

Re: [PATCH] x86: Fix linking u-boot with ld.lld

2021-10-31 Thread Simon Glass
On Wed, 20 Oct 2021 at 15:31, Alistair Delva wrote: > > When linking the final u-boot binary with LLD, the following link errors > are seen: > > ld.lld: error: can't create dynamic relocation R_386_32 against local >symbol in readonly segment; recompile object files with >

Re: [PATCH v8 1/8] binman: Allow timeout to occur in the image or its section

2021-10-31 Thread Simon Glass
On Mon, 18 Oct 2021 12:13:15 -0600 Simon Glass wrote: > 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

Re: [PATCH 02/14] env: sf: Use ENV_VALID enum names instead of literals

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > The function env_sf_init_addr() assigns number literals (1) instead of > ENV_VALID to gd->env_valid. Fix this. > > Signed-off-by: Marek Behún > --- > env/sf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 01/14] env: sf: Cosmetic fix in env_sf_init_addr()

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > In the if clause we use tabs and in the else clause spaces. Let's use > spaces in the if clause too. > > Signed-off-by: Marek Behún > --- > env/sf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 04/14] env: nand: Put ENV_INVALID into gd->env_valid if default environment

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > env_nand_init() says the environment is valid even if it is assigning > default environment due to not being able to access nand pre-reloaction > (determined by macro values). Change this to ENV_INVALID and let the >

Re: [PATCH 05/14] env: nvram: Let generic env_init() assign default environment

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > env_nvram_init() assigns default environment if ENV_INVALID, but this is > done in the generic env_init() function, which calls this initializer, > so drop it from here. > > Signed-off-by: Marek Behún > --- >

Re: [PATCH 07/14] env: nowhere: Let generic env_init() assign default environment

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > env_nowhere_init() assigns default environment if ENV_INVALID, but this > is done in the generic env_init() function, which calls this > initializer, so drop it from here. > > Signed-off-by: Marek Behún > --- >

Re: [PATCH 08/14] env: nowhere: Cosmetic fix

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > Use spaces instead of tabs in assignments, since there are no lines to > align assignment values to. > > Signed-off-by: Marek Behún > --- > env/nowhere.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 10/14] env: flash: Cosmetic fix

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > Change tab to space in env_flash_init(). > > Signed-off-by: Marek Behún > --- > env/flash.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass Feel free to do these code-style all in

Re: [PATCH 12/14] board: freescale: various boards: Let env subsystem set gd->env_addr

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > Various freescale boards set gd->env_addr to default_environment in > board_init(), conditional on CONFIG_ENV_IS_NOWHERE, but this is > redundant, since it is done by env_init() before board_init() is called. > > Let the

Re: [PATCH 13/14] env: Always use char for default_environment

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:47, Marek Behún wrote: > > From: Marek Behún > > Sometimes we use uchar and sometimes char for the default environment > array. By always using char, we can get rid of some explicit casts. > > Signed-off-by: Marek Behún > --- > board/Marvell/mvebu_armada-37xx/board.c

Re: [PATCH] patman: Add "postfix" support to patch subjects

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 17:07, Sean Anderson wrote: > > In some communities, it may be necessary to append something after PATCH > in the subject line. For example, the Linux networking subsystem > expects [1] patch subject prefixes like [RFC PATCH net-next 0/99]. This > adds support for such

Re: [PATCH 14/14] env: Use static_assert() to check if default_environment is too large

2021-10-31 Thread Simon Glass
On Fri, 22 Oct 2021 at 07:48, Marek Behún wrote: > > From: Marek Behún > > Check sizeof(default_environment) against ENV_SIZE in a static_assert() > instead of runtime. > Only check if !USE_HOSTCC (for in fw_env tool ENV_SIZE expands to a > variable, and cannot be checked statically) nad >

Re: [PATCH v2] bootstage: Add SPL support

2021-10-31 Thread Simon Glass
Hi Marek, On Sun, 24 Oct 2021 at 14:44, Marek Vasut wrote: > > On 10/24/21 9:54 PM, Simon Glass wrote: > > On Fri, 22 Oct 2021 at 19:06, Marek Vasut wrote: > >> > >> Allow usage of the bootstage facilities in SPL. > >> > >> Signed-off-by: Marek Vasut > >> Cc: Simon Glass > >> --- > >> V2: Fix

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Mark Kettenis
> Date: Sun, 31 Oct 2021 13:04:40 +0100 > From: Michael Walle > > Am 2021-10-31 12:44, schrieb Mark Kettenis: > >> Date: Sun, 31 Oct 2021 11:43:38 +0100 > >> From: Michael Walle > >> > >> Hi, > >> > >> I sometimes see a corrupted initrd during kernel boot on my board > >> (kontron_sl28).

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Michael Walle
Am 2021-10-31 12:44, schrieb Mark Kettenis: Date: Sun, 31 Oct 2021 11:43:38 +0100 From: Michael Walle Hi, I sometimes see a corrupted initrd during kernel boot on my board (kontron_sl28). Debugging showed that in this case the spin table for the secondary CPUs overlaps with the lmb initrd

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Mark Kettenis
> Date: Sun, 31 Oct 2021 11:43:38 +0100 > From: Michael Walle > > Hi, > > I sometimes see a corrupted initrd during kernel boot on my board > (kontron_sl28). Debugging showed that in this case the spin table > for the secondary CPUs overlaps with the lmb initrd allocations > (initrd_high is

Re: [PATCH v4 1/2] net: brcm: netXtreme driver

2021-10-31 Thread Marek Behún
On Sat, 30 Oct 2021 08:48:05 -0700 Roman Bacik wrote: > The mac address can be read from bp only after bnxt_bring_chip is > called, which is after read_rom_hwaddr is called. Theoretically we can > call bnxt_bring_chip in bind or in read_rom_hwaddr and then one can > use this method if desired.

(overlapping) lmb allocations during boot

2021-10-31 Thread Michael Walle
Hi, I sometimes see a corrupted initrd during kernel boot on my board (kontron_sl28). Debugging showed that in this case the spin table for the secondary CPUs overlaps with the lmb initrd allocations (initrd_high is set). I had a look at how the fdt and initrd are relocated (if enabled). In

Fwd: [PATCH1/1]sqfs: sqfs_tokenize() should fill the tokens list instead of free items

2021-10-31 Thread Jincheng Wang
-- Forwarded message - 发件人: Jincheng Wang Date: 2021年10月31日周日 下午6:23 Subject: Re: [PATCH1/1]sqfs: sqfs_tokenize() should fill the tokens list instead of free items To: Miquel Raynal Hello, Apologize for a late reply ,and I made a mistake in wirting mail. Here is the email

[PULL] u-boot-usb/master

2021-10-31 Thread Marek Vasut
The following changes since commit a09929cc6c5a108f89e91660f37d745ed119385b: Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2021-10-29 08:27:32 -0400) are available in the Git repository at: git://source.denx.de/u-boot-usb.git master for you to fetch changes up to

[PULL] u-boot-sh/master

2021-10-31 Thread Marek Vasut
The following changes since commit a09929cc6c5a108f89e91660f37d745ed119385b: Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2021-10-29 08:27:32 -0400) are available in the Git repository at: git://source.denx.de/u-boot-sh.git master for you to fetch changes up to

<    1   2