Re: [PATCH v2] sunxi: add board documentation

2021-12-27 Thread Heinrich Schuchardt
On 12/27/21 16:07, Andre Przywara wrote: Add some long overdue instructions for building and installing U-Boot on Allwinner SoC based boards. This describes the building process, including TF-A and crust, plus installation to SD card, eMMC and SPI flash, both from Linux and U-Boot itself. Also

Possiable memory conflict with fdt memory region

2021-12-27 Thread Fangsuo Wu
Hi, in image_setup_linux(), stage 1: Boot_fdt_add_mem_rsv_regions() is called first to add the mem reserve regions which prevents u-boot from using them to store the initrd or the fdt blob; stage 2: Then boot_relocate_fdt() is called to reserve or alloc fdt blob from the avaiable lmb region. But

[PATCH v2] sunxi: add board documentation

2021-12-27 Thread Andre Przywara
Add some long overdue instructions for building and installing U-Boot on Allwinner SoC based boards. This describes the building process, including TF-A and crust, plus installation to SD card, eMMC and SPI flash, both from Linux and U-Boot itself. Also describe FEL booting. Signed-off-by: Andre

Re: [PATCH v2 1/4] xea: dts: Update the SPI-NOR flash memory partitions description

2021-12-27 Thread Tom Rini
On Mon, Dec 27, 2021 at 03:59:28PM +0100, Lukasz Majewski wrote: > Hi Tom, > > > On Mon, Dec 27, 2021 at 02:20:04PM +0100, Lukasz Majewski wrote: > > > Hi Tom, > > > > > > > On Mon, Dec 27, 2021 at 11:46:38AM +0100, Lukasz Majewski wrote: > > > > > > > > > Now the dts information

Re: [PATCH v2 1/4] xea: dts: Update the SPI-NOR flash memory partitions description

2021-12-27 Thread Lukasz Majewski
Hi Tom, > On Mon, Dec 27, 2021 at 02:20:04PM +0100, Lukasz Majewski wrote: > > Hi Tom, > > > > > On Mon, Dec 27, 2021 at 11:46:38AM +0100, Lukasz Majewski wrote: > > > > > > > Now the dts information corresponds to the one available in the > > > > kernel. With this patch applied the 'mtd

Re: Pull request: u-boot-spi/master

2021-12-27 Thread Tom Rini
On Mon, Dec 27, 2021 at 12:27:54AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit 4a14bfffd42f968ed9d72a780a8d44a9053c5b95: > > Merge https://source.denx.de/u-boot/custodians/u-boot-marvell (2021-11-30 > 08:59:22

Re: [PATCH v2 1/4] xea: dts: Update the SPI-NOR flash memory partitions description

2021-12-27 Thread Tom Rini
On Mon, Dec 27, 2021 at 02:20:04PM +0100, Lukasz Majewski wrote: > Hi Tom, > > > On Mon, Dec 27, 2021 at 11:46:38AM +0100, Lukasz Majewski wrote: > > > > > Now the dts information corresponds to the one available in the > > > kernel. With this patch applied the 'mtd list' shows proper names > >

Re: [PATCH v2 1/4] xea: dts: Update the SPI-NOR flash memory partitions description

2021-12-27 Thread Lukasz Majewski
Hi Tom, > On Mon, Dec 27, 2021 at 11:46:38AM +0100, Lukasz Majewski wrote: > > > Now the dts information corresponds to the one available in the > > kernel. With this patch applied the 'mtd list' shows proper names > > and offsets for MTD partitions. > > > > Signed-off-by: Lukasz Majewski >

Re: [PATCH v2 1/4] xea: dts: Update the SPI-NOR flash memory partitions description

2021-12-27 Thread Tom Rini
On Mon, Dec 27, 2021 at 11:46:38AM +0100, Lukasz Majewski wrote: > Now the dts information corresponds to the one available in the kernel. > With this patch applied the 'mtd list' shows proper names and > offsets for MTD partitions. > > Signed-off-by: Lukasz Majewski And this has been

Re: [PATCH v2 3/3] power: domain: Add Apple pmgr driver

2021-12-27 Thread Jaehoon Chung
On 12/24/21 6:34 AM, Mark Kettenis wrote: > This driver supports power domains for the power management > controller found on Apple SoCs. > > Signed-off-by: Mark Kettenis Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > arch/arm/Kconfig | 3 + >

Re: [PATCH v2 2/3] arm: dts: apple: Add u-boot,dm-pre-reloc properties

2021-12-27 Thread Jaehoon Chung
On 12/24/21 6:34 AM, Mark Kettenis wrote: > These are necessary to make sure the power domains needed for the > serial console are availble in the pre-relocation phase. > > Signed-off-by: Mark Kettenis Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- >

Re: [PATCH v2 1/3] arm: dts: apple: Update Apple M1 device trees

2021-12-27 Thread Jaehoon Chung
On 12/24/21 6:34 AM, Mark Kettenis wrote: > This synchronizes the device trees with those that are in the > process of being upstreamed into Linux 5.16 or proposed for > Linux 5.17. This includes device trees for machines that were > still missing. > > There are still some differences that

Re: [PATCH] fs/btrfs: fix a bug that U-boot fs btrfs implementation doesn't handle NO_HOLE feature correctly

2021-12-27 Thread Qu Wenruo
On 2021/12/27 14:11, Qu Wenruo wrote: [BUG] When passing a btrfs with NO_HOLE feature to U-boot, and if one file contains holes, then the hash of the file is not correct in U-boot: # mkfs.btrfs -f test.img # Since v5.15, mkfs defaults to NO_HOLES # mount test.img /mnt/btrfs #

[PATCH v2 4/4] arm: dts: Enable support for USB on XEA (imx28) board

2021-12-27 Thread Lukasz Majewski
This change enables the support for USB with DM on the XEA (imx28) board. Signed-off-by: Lukasz Majewski --- (no changes since v1) arch/arm/dts/imx28-xea.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/imx28-xea.dts b/arch/arm/dts/imx28-xea.dts index

[PATCH v2 3/4] arm: xea: config: Provide special defconfig for a single binary u-boot

2021-12-27 Thread Lukasz Majewski
The new configs/imx28_xea_sb_defconfig is introduced to facilitate building the single binary u-boot.sb fox XEA board. The biggest distinction from "normal" XEA imx28_xea_sb_defconfig is support for USB mass storage devices (pen drives). To achieve that, the CONFIG_DM_USB is enabled and

[PATCH v2 2/4] xea: defconfig: Update defconfig to support mtd partitions r/w by name

2021-12-27 Thread Lukasz Majewski
After this change it would be possible to use 'mtd' command to get access to XEA's SPI-NOR partitions by name (e.g. SPL), not by offsets. To enable this feature the CONFIG_SPI_FLASH_MTD needs to be defined in the Kconfig, not in xea.h. => mtd list => mtd read spl-boot-data1 ${loadaddr} 0x0 4 =>

[PATCH v2 1/4] xea: dts: Update the SPI-NOR flash memory partitions description

2021-12-27 Thread Lukasz Majewski
Now the dts information corresponds to the one available in the kernel. With this patch applied the 'mtd list' shows proper names and offsets for MTD partitions. Signed-off-by: Lukasz Majewski --- (no changes since v1) arch/arm/dts/imx28-xea.dts | 55 +++--- 1

[PATCH v3] arm: xea: Modify board code to generate single binary u-boot

2021-12-27 Thread Lukasz Majewski
This change provides the possibility to build XEA (imx287 based) board U-Boot as a single binary (without support for CONFIG_SPL_FRAMEWORK). The generated u-boot.sb can be used in the factory environment to for example perform initial setup or HW testing. It can be used with 'uuu' utility (SDPS:

Re: [PATCH v2] efi_loader: Don't limit the StMM buffer size explicitly

2021-12-27 Thread Heinrich Schuchardt
Am 27. Dezember 2021 09:29:32 MEZ schrieb Ilias Apalodimas : >Hi Jens, > >On Mon, 27 Dec 2021 at 10:26, Jens Wiklander wrote: >> >> Hi Ilias, >> >> On Sat, Dec 25, 2021 at 8:39 PM Ilias Apalodimas >> wrote: >> > >> > On Sat, Dec 25, 2021 at 05:13:23PM +0100, Heinrich Schuchardt wrote: >> > > On

Re: [PATCH v2] efi_loader: Don't limit the StMM buffer size explicitly

2021-12-27 Thread Ilias Apalodimas
Hi Jens, On Mon, 27 Dec 2021 at 10:26, Jens Wiklander wrote: > > Hi Ilias, > > On Sat, Dec 25, 2021 at 8:39 PM Ilias Apalodimas > wrote: > > > > On Sat, Dec 25, 2021 at 05:13:23PM +0100, Heinrich Schuchardt wrote: > > > On 12/25/21 16:04, Ilias Apalodimas wrote: > > > > > > > > > > > > On Sat,

Re: [PATCH v2] efi_loader: Don't limit the StMM buffer size explicitly

2021-12-27 Thread Jens Wiklander
Hi Ilias, On Sat, Dec 25, 2021 at 8:39 PM Ilias Apalodimas wrote: > > On Sat, Dec 25, 2021 at 05:13:23PM +0100, Heinrich Schuchardt wrote: > > On 12/25/21 16:04, Ilias Apalodimas wrote: > > > > > > > > > On Sat, 25 Dec 2021, 16:28 Heinrich Schuchardt, > > > wrote: > >

[PATCH] doc: Fix usage of CFG_RPMB_WRITE_KEY

2021-12-27 Thread Ilias Apalodimas
This is a 'y/n' selection, so fix it. While at it remove the duplicate usage of CFG_CORE_HEAP_SIZE Signed-off-by: Ilias Apalodimas --- doc/develop/uefi/uefi.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst index

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

2021-12-27 Thread Weijie Gao
On Wed, 2021-12-15 at 11:11 -0500, Sean Anderson wrote: > Hi Weijie, > > (sorry for the delayed response) > > On 12/3/21 5:06 AM, Weijie Gao wrote: > > 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