Hello Tom,
please pull from:
The following changes since commit fc97ff2695d6d7fbea7d5fda7b080f405d6ee744:
Merge https://source.denx.de/u-boot/custodians/u-boot-sunxi (2022-07-19
10:52:15 -0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-ubi.git
On Wednesday 20 July 2022 08:06:28 Heiko Thiery wrote:
> Hi,
>
>
> Am Di., 19. Juli 2022 um 21:20 Uhr schrieb Pali Rohár :
> >
> > On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote:
> > > Instead of hardcoding -ltinfo as the flags needed to build
> > > kwboot, use pkg-config when available.
> >
I have just spent a week reverse-engineering this, so I thought I'd
contribute the work back to the community
diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt
index 61a72db3c7..61cdd55e40 100644
--- a/doc/uImage.FIT/signature.txt
+++ b/doc/uImage.FIT/signature.txt
@@ -382,6
There are a couple of uncertainties still remaining:
- The "hashed-nodes" property is created by mkimage in image order.
What happens if somebody manipulates a signed image to change the
order? Does it make any difference? Do u-boot and fit_check_sign
handle it in the same way? (My preference wo
Hi
On Wed, Jul 20, 2022 at 9:29 AM Francesco Dolcini
wrote:
>
> From: Marcel Ziswiler
>
> Fix spurious ampersand in address print e.g.
>
> Find img info 0x&480331a0, size 855
>
> Signed-off-by: Marcel Ziswiler
> Signed-off-by: Francesco Dolcini
> ---
> arch/arm/mach-imx/spl_imx_romapi
Hi Sughosh,
>
> > + nimages = CONFIG_FWU_NUM_IMAGES_PER_BANK;
> > + active_bank = mdata->active_index;
> > + img_entry = &mdata->img_entry[0];
> > + for (i = 0; i < nimages; i++) {
> > + img_bank_info = &img_entry[i].img_bank_info[active_bank];
> > +
On 7/20/22 07:23, Takahiro Akashi wrote:
On Sun, Jul 17, 2022 at 01:23:41PM +0200, Heinrich Schuchardt wrote:
On 7/17/22 10:09, Heinrich Schuchardt wrote:
On 7/15/22 16:47, Masahisa Kojima wrote:
This is a preparation patch to provide the unified method
to access udevice pointer associated wit
On 7/19/22 13:46, Balamanikandan Gunasundar wrote:
> This patch series adds support for NAND flash. The series adds DM
> support and replaces the existing NAND driver NAND_ATMEL. The drivers
> are ported from Linux based on the work done by Boris brezillon
If you're going to resubmit, it would be
On 7/20/22 01:56, Takahiro Akashi wrote:
On Sun, Jul 17, 2022 at 10:09:42AM +0200, Heinrich Schuchardt wrote:
On 7/15/22 16:47, Masahisa Kojima wrote:
This is a preparation patch to provide the unified method
to access udevice pointer associated with the block io device.
The EFI handles of both
Hi
On Tue, Jul 19, 2022 at 12:46 PM Balamanikandan Gunasundar
wrote:
>
> This implementation is ported from the rework done by Boris Brezillon
> in Linux. The driver is tested in sam9x60ek, sama5d3_xplained,
> sam9x75eb and sama7g54-ddr3-eb.
>
The reference implementation come from linux-?? , pl
Hi Jassi,
On Tue, 19 Jul 2022 at 18:27, Jassi Brar wrote:
>
> On Mon, 18 Jul 2022 at 16:00, Tom Rini wrote:
> > On Mon, Jul 18, 2022 at 10:31:56AM -0500, Jassi Brar wrote:
>
> > > > > > >
> > > > > > > > > +
> > > > > > > > > +#define PLAT_METADATA_OFFSET 0x51
> > > > > > > > > +#define PLAT
Hi
On Wed, Jul 20, 2022 at 9:40 AM wrote:
>
> On 7/19/22 13:46, Balamanikandan Gunasundar wrote:
> > This patch series adds support for NAND flash. The series adds DM
> > support and replaces the existing NAND driver NAND_ATMEL. The drivers
> > are ported from Linux based on the work done by Bori
OK. I've just realized there is an important warning missing from
this (if you verify a configuration signature outside u-boot, you
_must_ verify the hashes for the kernel, fdt, and ramdisk images match
too). What is the protocol for handling that? Submit a new patch
with title "[Patch v2] ..."?
On Wed, 20 Jul 2022, 5:02 AM Dhananjay Phadke,
wrote:
>
>
> On Wed, 13 Jul 2022, Chris Packham wrote:
>
> > On Tue, Jul 12, 2022 at 7:40 PM Chris Packham
> wrote:
> >>
> >> Hi Sean and Dhananjay,
> >>
> >> Adding U-Boot ML to the Cc
> >>
>
> [...]
>
> >>
> >> IPv6 support is definitely something
From: T Karthik Reddy
Add support for versal platform by adding "xlnx,versal-reset"
compatible string in zynqmp-reset driver. Reset numbering schema
for versal is not same as zynqmp, so nr_reset and reset_id are
set to zero. In case of assert/dessert, required device reset id
is sent from respect
This patch series does following things
- Add reset driver support for Versal platform
- Enable reset driver support for ZynqMP and Versal platforms
Ashok Reddy Soma (1):
arm64: zynqmp: Enable reset driver
Michal Simek (1):
arm64: versal: Enable reset driver for versal
T Karthik Reddy (1):
From: Michal Simek
Add CONFIG_DM_RESET and CONFIG_RESET_ZYNQMP configs in versal default
configuration to enable support for reset driver for versal
platform.
Signed-off-by: Michal Simek
Signed-off-by: T Karthik Reddy
Signed-off-by: Ashok Reddy Soma
---
configs/xilinx_versal_virt_defconfig
Enable reset driver for ZynqMP platforms. This will enable us to reset
the IP's using generic reset_assert and reset_deassert calls.
Signed-off-by: T Karthik Reddy
Signed-off-by: Ashok Reddy Soma
---
configs/xilinx_zynqmp_virt_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/con
From: T Karthik Reddy
Add a new function to reset the ospi controller. Use reset_assert,
reset_deassert api's to reset the ospi controller. In mini U-Boot
case as ZYNQMP_FIRMWARE config is disabled, reset the controller
directly using register writes.
Signed-off-by: T Karthik Reddy
Signed-off-b
Instead of hardcoding -luuid -lgnutls as the flags needed to build
mkeficapsule, use pkg-config when available.
We gracefully fallback on the previous behavior of hardcoding -luuid
-lgnutls if pkg-config is not available or fails with an error.
Reviewed-by: Heinrich Schuchardt
Signed-off-by: Hei
Instead of hardcoding -ltinfo as the flags needed to build
kwboot, use pkg-config when available.
We gracefully fallback on the previous behavior of hardcoding -ltinfo
if pkg-config is not available or fails with an error.
Reviewed-by: Pali Rohár
Signed-off-by: Heiko Thiery
---
v3:
- remove cf
Hi,
in board_early_init_f(), i call a custom function get_som_revision() to read
some GPIOs that are used to determine the SOM revision. This function basically
sets the iomux, and then uses gpio_request/gpio_direction_input/gpio_get_value
functions to read the GPIOs. Then, this SOM revision inf
Hello,
I have an Allwinner suniv f1c100s and trying to boot the device from SPI-NAND.
Booting from SD-Cards works without problems.
I'm using "sunxi-next" branch from "sunxi U-Boot Custodian Tree". The SPI-NAND
device is detected with "mtd list", but when flashing u-boot with spl to the
SPI-NAN
On Wed, Jul 20, 2022 at 12:31:33PM +0200, Heiko Thiery wrote:
> Instead of hardcoding -luuid -lgnutls as the flags needed to build
> mkeficapsule, use pkg-config when available.
>
> We gracefully fallback on the previous behavior of hardcoding -luuid
> -lgnutls if pkg-config is not available or fa
On Tue, Jul 19, 2022 at 05:24:59PM +0200, Heiko Schocher wrote:
> Hello Tom,
>
> please pull from:
>
> The following changes since commit 26f6f7fb5c0651d65afdee6d8ed36063606179a8:
>
> Merge branch '2022-07-14-migrate-wiki-to-sphinx' (2022-07-14 18:43:51 -0400)
>
> are available in the Git re
On Tue, Jul 19, 2022 at 08:55:48PM +0200, Marek Vasut wrote:
> The following changes since commit 26f6f7fb5c0651d65afdee6d8ed36063606179a8:
>
> Merge branch '2022-07-14-migrate-wiki-to-sphinx' (2022-07-14 18:43:51
> -0400)
>
> are available in the Git repository at:
>
> git://source.denx.de
On Wed, Jul 20, 2022 at 09:02:41AM +0200, Heiko Schocher wrote:
> Hello Tom,
>
> please pull from:
>
> The following changes since commit fc97ff2695d6d7fbea7d5fda7b080f405d6ee744:
>
> Merge https://source.denx.de/u-boot/custodians/u-boot-sunxi (2022-07-19
> 10:52:15 -0400)
>
> are available
Hello Tom,
On 20.07.22 13:12, Tom Rini wrote:
> On Wed, Jul 20, 2022 at 09:02:41AM +0200, Heiko Schocher wrote:
>> Hello Tom,
>>
>> please pull from:
>>
>> The following changes since commit fc97ff2695d6d7fbea7d5fda7b080f405d6ee744:
>>
>> Merge https://source.denx.de/u-boot/custodians/u-boot-sun
On Wed, Jul 20, 2022 at 01:36:10PM +0200, Heiko Schocher wrote:
> Hello Tom,
>
> On 20.07.22 13:12, Tom Rini wrote:
> > On Wed, Jul 20, 2022 at 09:02:41AM +0200, Heiko Schocher wrote:
> >> Hello Tom,
> >>
> >> please pull from:
> >>
> >> The following changes since commit
> >> fc97ff2695d6d7fbea7
The TPM device provides the random number generator(RNG)
functionality, whereby sending a command to the TPM device results in
the TPM device responding with random bytes.
There was a discussion on the mailing list earlier[1], where it was
explained that platforms with a TPM device can install t
From: Simon Glass
These functions should really be available outside the TPM code, so that
other callers can find out which version the TPM is. Rename them to have
a tpm_ prefix() and add them to the header file.
Signed-off-by: Simon Glass
---
Changes since V6: None
include/tpm_api.h | 10 +++
The TPM device has a builtin random number generator(RNG)
functionality. Expose the RNG functions of the TPM device to the
driver model so that they can be used by the EFI_RNG_PROTOCOL if the
protocol is installed.
Also change the function arguments and return type of the random
number functions t
The TPM device comes with the random number generator(RNG)
functionality which is built into the TPM device. Add logic to add the
RNG child device in the TPM uclass post probe callback.
The RNG device can then be used to pass a set of random bytes to the
linux kernel, need for address space random
The 'rng' u-boot command is used for printing a select number of
random bytes on the console. Currently, the RNG device from which the
random bytes are read is fixed. However, a platform can have multiple
RNG devices, one example being qemu, which has a virtio RNG device and
the RNG pseudo device t
Use a statically allocated buffer on stack instead of using malloc for
reading the random bytes. Using a local array is faster than
allocating heap memory on every initiation of the command.
Signed-off-by: Sughosh Ganu
---
Changes since V6: None
cmd/rng.c | 17 +++--
1 file changed,
Add a usage document for the 'rng' u-boot command.
Signed-off-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
Reviewed-by: Simon Glass
---
Changes since V6: None
doc/usage/cmd/rng.rst | 26 ++
doc/usage/index.rst | 1 +
2 files changed, 27 insertions(+)
create mode
The 'rng' command dumps a number of random bytes on the console. Add a
set of tests for the 'rng' command. The test function performs basic
sanity testing of the command.
Since a unit test is being added for the command, enable it by default
in the sandbox platforms.
Signed-off-by: Sughosh Ganu
On Wed, Jul 20, 2022 at 2:50 PM Martin Bonner wrote:
>
> I have recently build the u-boot tools on Windows and ran into
> difficulties. This patch to the documentation would have avoided
> those difficulties. Contentious points:
>
> * While I have run the document through a rst previewer, I have
From: Peng Fan
This is to resend the pending patches [1,2,3] for Stefano to pick
Patchset base:
fc97ff2695d6d7fbea7d5fda7b080f405d6ee744
(origin/master, origin/HEAD, imx/master) Merge
https://source.denx.de/u-boot/custodians/u-boot-sunxi
Rebased patches to avoid buid break.
1.
https://patchwo
From: Peng Fan
All the SoCs use mach-imx has CONFIG_MACH_IMX selected, so
the macro could be the gate to build arch/arm/mach-imx to simplify
the rules.
Signed-off-by: Peng Fan
---
arch/arm/Makefile | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/arch/arm/Makef
From: Ye Li
The SPL SDP is configured as BOOT_DEVICE_BOARD, so when booting from
USB, change its type to BOOT_DEVICE_BOARD, so we can use SDP.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/
From: Peng Fan
The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE
set to 0x7E1000.
The DDR firmware max uses 96KB, there is a 4KB padding header before
SPL_TEXT_BASE, so the SPL MAX SIZE is `256KB - 96KB - 4KB`.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
comm
From: Ye Li
Move the default mapping of spl_boot_device to weak function of
spl_board_boot_device. So that every board of iMX7/8/8M can overwrite
this function to implement specific mapping.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl.c | 80 +
From: Peng Fan
For SoCs support ROM API, CONFIG_SPL_BOOTROM_SUPPORT is needed,
so use this macro to guard the code to avoid extend the list.
And drop the guard with structure definition, there is no need.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/sys_proto.h | 2 --
arch/arm/m
From: Peng Fan
i.MX8MN/P/ULP supports ROM API, they have almost same get_boot_device
implementation, so move to a common file. And when support i.MX9,
no need to include the other function copy.
Since sys_proto.h is included in imx_romapi.c, there will be build
warning for i.MX8M because wdog_re
From: Peng Fan
Most i.MX implements get_boot_device, move it to common header to
simplify code
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8/sys_proto.h| 1 -
arch/arm/include/asm/arch-imx8m/sys_proto.h | 1 -
arch/arm/include/asm/arch-imx8ulp/sys_proto.h | 1 -
arch/arm/inc
From: Peng Fan
i.MX9 shares same register layout as i.MX7ULP, so
add the i.MX9 define here.
Signed-off-by: Peng Fan
---
include/fsl_lpuart.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/fsl_lpuart.h b/include/fsl_lpuart.h
index 18e5cc15d61..93c996b764b 100644
---
From: Peng Fan
Support pcal6524 IO expander driver
Signed-off-by: Peng Fan
---
drivers/gpio/pca953x_gpio.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c
index e98e1e56dbc..4654f9e0989 100644
--- a/drivers/gpio/pca953x_gpio.c
+
From: Peng Fan
Select SPL_FIT_IMAGE_TINY for i.MX9
Signed-off-by: Peng Fan
---
common/spl/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 0867d18f290..8f7715f403c 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
From: Peng Fan
Add i.MX9 Kconfig and basic files for the new SoC
Signed-off-by: Peng Fan
---
arch/arm/Kconfig| 11 +
arch/arm/include/asm/arch-imx/cpu.h | 2 +
arch/arm/include/asm/arch-imx9/clock.h | 0
arch/arm/include/asm/arch-imx9/gpio.h
From: Jian Li
Add timer_init to update ARM arch timer with correct frequency
from system counter and enable system counter.
Signed-off-by: Jian Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 1 +
arch/arm/mach-imx/imx9/soc.c | 19 +++
From: Peng Fan
Add the pinctrl driver and pinfunc header file to support iMX93
Signed-off-by: Peng Fan
---
arch/arm/dts/imx93-pinfunc.h| 625
drivers/pinctrl/nxp/Kconfig | 13 +
drivers/pinctrl/nxp/Makefile| 1 +
drivers/pinctrl/nxp/pinct
From: Ye Li
Disable all 3 wdogs on AIPS2 and unmask SRC reset trigger for WDOG3-5
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 4 ++
arch/arm/mach-imx/imx9/soc.c | 45 ++-
2 files changed, 48 insertions(+), 1 de
From: Peng Fan
Support iMX93 communicate with Sentinel
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 30 +++
drivers/misc/sentinel/s4mu.c | 1 +
2 files changed, 31 insertions(+)
diff --git a/arch/arm/include/asm/arch-imx9/imx-regs.h
From: Peng Fan
Support i.MX9 for fsl_esdhc_imx driver
Signed-off-by: Peng Fan
---
drivers/mmc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 6ff00a7cbd3..6276593b3e7 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/
From: Ye Li
Since iMX9 uses S401 which shares the API with iMX8ULP. So move S400
MU driver and API to a common place and selected by CONFIG_IMX_SENTINEL
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 4 +
arch/arm/include/asm/global_data.h
From: Ye Li
To support more RDC instances on i.MX93, update API to latest
definition.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/s400_api.h | 2 +-
drivers/misc/sentinel/s400_api.c | 21 +
2 files changed, 18 insertions(+), 5 de
From: Alice Guo
i.MX93 fuse can be accessed through FSB and s400-api. Add mapping tables
for i.MX93. The offset address of FSB accessing OTP shadow registers is
different between i.MX8ULP and i.MX93, so use macro to define the offset
address instead of hardcode.
Signed-off-by: Alice Guo
Signed-
From: Ye Li
Add TRDC driver to iMX9. The TRDC init splits to two phases:
1. Early init phase will release TRDC from Sentinel and open write
permission to the memory where SPL image runs. Sentinel will set
the memory to RX only after ROM authentication for the OEM
closed part.
2. Init pha
From: Peng Fan
Introduce Sentinel API ahab_release_m33_trout to make sure sentinel
release M33 trout and make sure M33 could boot.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/s400_api.h | 1 +
drivers/misc/sentinel/s400_api.c | 25
2 files change
From: Peng Fan
Update the get chip revision methond to use S400 API, also record
other information like lifecycle and UID to global data.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/global_data.h | 3 ++
arch/arm/mach-imx/imx9/soc.c | 49 +-
2 files chan
From: Alice Guo
Sentinel have read access of OTP shadow register 0-511, and fsb have
read access of shadow 0-51/312-511.
Reviewed-by: Ye Li
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
drivers/misc/sentinel/fuse.c | 86 +++-
1 file changed, 74 insertio
From: Ye Li
Add GPIO registers structure for iMX93, so that we can enable lpgpio
driver
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/arch-imx9/gpio.h | 20
2 files changed, 21 insertions(+)
diff --git
From: Peng Fan
Add power init of MEDIAMIX, MLMIX and DDRMIX. And clear isolation
of MIPI DSI/CSI, USBPHY after the power up.
SPL should call the power init in its boot sequence before accessing
above three MIX and USB.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 1
From: Ye Li
Use more generic name for S40x msg structure
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/s400_api.h | 2 +-
arch/arm/mach-imx/imx8ulp/rdc.c | 2 +-
arch/arm/mach-imx/imx9/trdc.c| 2 +-
drivers/misc/sentinel/s400_api.c
From: Peng Fan
Add new API to get sentinel FW status and SoC chip info
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/s400_api.h | 13 +
drivers/misc/sentinel/s400_api.c | 61
2 files changed, 74 insertions(+)
diff --git a/
From: Ye Li
Add AHAB driver for iMX9 to do authentication by calling sentinel API
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/Kconfig | 5 +
arch/arm/mach-imx/imx9/Makefile | 1 +
arch/arm/mach-imx/imx9/ahab.c | 346
3 files
From: Alice Guo
The i.MX93 platform wants to reuse drivers/misc/imx8ulp/fuse.c. Moving
fuse.c from the folder imx8ulp to sentinel makes it can be used by other
platforms.
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
drivers/misc/Makefile | 2 --
drivers/misc/imx8ul
From: Peng Fan
To support on-demand booting M33 image from A core. SPL needs
to follow M33 kick up sequence to release M33 firstly,
then set M33 CPUWAIT signal. ATF will clear CPUWAIT to kick
M33 to run.
The prepare function also works around the M33 TCM ECC issue by
clean the TCM. Also enable s
From: Ye Li
Implement the DDR driver clock interfaces for set DDR rate and
bypass DDR PLL
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/clock.h | 3 ++
arch/arm/mach-imx/imx9/clock.c | 41 ++
2 files changed, 44 insertions(+)
From: Ye Li
Since i.MX9 uses same DDR PHY with i.MX8M, split the DDRPHY to a common
directory under imx, then use dedicated ddr controller driver for each
iMX9 and iMX8M.
The DDRPHY registers are space compressed, so it needs conversion to
access the DDRPHY address. Introduce a common PHY addres
From: Peng Fan
Add bootaux command to support on-demand booting M33 from u-boot.
It kicks M33 via ATF by "bootaux 0x201e 0"
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/Makefile | 4 +
arch/arm/mach-imx/imx9/imx_bootaux.c | 133 +++
arch/arm/mach-imx/im
From: Peng Fan
Move i.MX code to a standalone file to make it easy for adding new
platform support
Reviewed-by: Ramon Fried
Signed-off-by: Peng Fan
---
drivers/net/Makefile | 1 +
drivers/net/dwc_eth_qos.c | 92 --
drivers/net/dwc_eth_qos.h | 2 +
From: Peng Fan
Add the DTSi file and DT header files for i.MX93 SoC
Signed-off-by: Ye Li
Signed-off-by: Alice Guo
Signed-off-by: Peng Fan
---
arch/arm/dts/imx93.dtsi | 688
include/dt-bindings/clock/imx93-clock.h | 203 +++
include/dt-bindings/pow
From: Ye Li
Add Kconfig for enabling reference events counter in DDRC performance
monitor by default
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/ddr/imx/imx9/Kconfig| 6 ++
drivers/ddr/imx/imx9/ddr_init.c | 4
2 files changed, 10 insertions(+)
diff --git a/drivers/d
From: Peng Fan
Add ethernet support
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/imx-regs.h | 7 +
board/freescale/imx93_evk/imx93_evk.c | 32 +++
configs/imx93_11x11_evk_defconfig | 9 +++
3 files changed, 48 insertions(+)
diff --git a/
From: Peng Fan
By reading binman symbols, we no need hard coded IMEM_LEN/DMEM_LEN after
we update the binman dtsi to drop 0x8000/0x4000 length for the firmware.
And that could save binary size for many KBs.
Tested-by: Tim Harvey #imx8m[m,n,p]-venice
Signed-off-by: Peng Fan
Reviewed-by: Alper
From: Ye Li
Select env storages according to boot device at runtime
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx9/soc.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/arch/arm/mach-imx/imx9/soc.c b/arch/arm/mach-imx/imx9/soc.c
From: Peng Fan
When CONFIG_CLK is not enabled, there will be buil break:
"error: ‘eqos’ undeclared (first use in this function)"
Take eqos definition out the CONFIG_CLK ifdef.
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
From: Peng Fan
Set ARM clock to OD frequency 1.7Ghz, since we have set PMIC VDD_SOC
to Overdrive voltage 0.9V
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/clock.h | 4 +++-
arch/arm/mach-imx/imx9/clock.c | 9 +
board/freescale/imx93_evk/spl.c
From: Peng Fan
Move macros and structures to header file and make some functions
public, so that could used by other files, this is to
prepare split platform specific config to one file.
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 280 +-
drivers
From: Peng Fan
Support build i.MX93 container image with mkimage
Signed-off-by: Peng Fan
---
include/imx8image.h | 15 +++--
tools/imx8image.c | 79 +
2 files changed, 78 insertions(+), 16 deletions(-)
diff --git a/include/imx8image.h b/includ
From: Ye Li
Since new atheros PHY driver needs to access its PHY node through
phy device, we have to assign the phy node in ethernet controller
driver. Otherwise the PHY driver will fail to get some nodes
and properties.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos
From: Peng Fan
i.MX9 shares same ROM API with i.MX8ULP, so make the i.MX8ULP the function
prototype common and usable by i.MX9.
Also include mmc env functions that use ROM API.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8ulp/sys_proto.h | 4 --
arch/arm/include/asm/mach-imx/sys
From: Peng Fan
After we switch to use BINMAN_SYMBOLS, there is no need to pad
the file size to 0x8000 and 0x4000. After we use BINMAN_SYMBOLS,
the u-boot-spl-ddr.bin shrink about 36KB with i.MX8MP-EVK.
Tested-by: Tim Harvey #imx8m[m,n,p]-venice
Signed-off-by: Peng Fan
Reviewed-by: Alper Nebi Y
From: Peng Fan
Add clock API to support CCM root clock and LPCG setting
Set the CCM AUTHEN register to allow non-secure world to set
root clock and lpcg.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx9/ccm_regs.h | 266
arch/arm/include/asm/arch-imx9/c
From: Peng Fan
Add USB2_BOOT type for i.MX8ULP and i.MX9
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/boot_mode.h | 1 +
arch/arm/mach-imx/imx_romapi.c| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/mach-imx/boot_mode.h
b/arc
From: Peng Fan
Use BINMAN instead of imx specific packing method.
Signed-off-by: Peng Fan
Reviewed-by: Alper Nebi Yasak
---
arch/arm/mach-imx/imx8m/Kconfig | 1 +
arch/arm/mach-imx/imx8m/imximage-8mm-lpddr4.cfg | 10 +-
configs/imx8mm-icore-mx8mm-ctouch2_defconfig
From: Peng Fan
Add basic board codes and defconfig for i.MX93 11x11 EVK board.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/dts/Makefile |3 +
arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 157 +++
arch/arm/dts/imx93-11x11-evk.dts | 527 +++
Hi Kojima-san
[...]
> +
> + /* add non-existent boot option */
> + for (i = 0; i < count; i++) {
> + u32 boot_index;
> + u16 var_name[9];
> +
> + if (!opt[i].exist) {
> + ret = eficonfig_get_unused_bootoption(var_name,
>
On Wed, Jul 20, 2022 at 2:54 AM Ilias Apalodimas
wrote:
>
> Hi Jassi,
>
> On Tue, 19 Jul 2022 at 18:27, Jassi Brar wrote:
> >
> > On Mon, 18 Jul 2022 at 16:00, Tom Rini wrote:
> > > On Mon, Jul 18, 2022 at 10:31:56AM -0500, Jassi Brar wrote:
> >
> > > > > > > >
> > > > > > > > > > +
> > > > > >
Attempting to compile the latest master code for qemu (virt) and the unmatched
shows the following error:
arch/riscv/cpu/cpu.c: Assembler messages:
arch/riscv/cpu/cpu.c:96: Error: unrecognized opcode `csrs sstatus,a5'
arch/riscv/cpu/cpu.c:97: Error: unrecognized opcode `csrw 0x003,0'
Any
Hello.
Originally bcb and avb utilities implementation relay on mmc block devices.
This patch series adds an optional interface parameter to those utilities,
which gives the ability to use bcb and avb on various block devices.
The patch set was tested using xenguest_arm64 based board and pvblock i
From: Andrii Chepurnyi
From: Andrii Chepurnyi
Originally, bcb implementation relay on mmc block devices.
The interface parameter will give the ability to use bcb with
various block devices by choosing the exact interface type.
By default (if no interface parameter is provided) mmc interface
wil
I have recently build the u-boot tools on Windows and ran into
difficulties. This patch to the documentation would have avoided
those difficulties. Contentious points:
* While I have run the document through a rst previewer, I haven't run
the full test suite. I know, I know, everyone thinks _th
From: Andrii Chepurnyi
From: Andrii Chepurnyi
Originally, avb implementation relay on mmc block devices.
The interface parameter will give the ability to use avb with
various block devices by choosing the exact interface type.
By default (if no interface parameter is provided) mmc interface
wil
From: Andrii Chepurnyi
From: Andrii Chepurnyi
Part of avb code uses mmc notation, but in fact
it uses generic block functions.
Signed-off-by: Andrii Chepurnyi
---
common/avb_verify.c | 52 ++--
include/avb_verify.h | 13 +--
2 files changed, 3
Hi Hugo,
On Wed, 20 Jul 2022 at 04:54, Hugo Villeneuve wrote:
>
> Hi,
> in board_early_init_f(), i call a custom function get_som_revision() to read
> some GPIOs that are used to determine the SOM revision. This function
> basically sets the iomux, and then uses
> gpio_request/gpio_direction_i
Hi Martin,
On Wed, 20 Jul 2022 at 02:46, Martin Bonner wrote:
>
> OK. I've just realized there is an important warning missing from
> this (if you verify a configuration signature outside u-boot, you
> _must_ verify the hashes for the kernel, fdt, and ramdisk images match
> too). What is the pr
Hi Harald,
On Mon, 18 Jul 2022 at 09:08, Harald Seiler wrote:
>
> Hi Simon,
>
> On Wed, 2022-07-13 at 09:28 -0600, Simon Glass wrote:
> > Hi Harald,
> >
> > On Tue, 12 Jul 2022 at 05:58, Harald Seiler wrote:
> > >
> > > Hi Simon,
> > >
> > > On Tue, 2022-07-12 at 04:58 -0600, Simon Glass wrote:
1 - 100 of 161 matches
Mail list logo