With some old toolchain not all values should be available that's why
better to define all of them to avoid compilation issues.
Signed-off-by: Michal Simek
---
tools/relocate-rela.c | 24
1 file changed, 24 insertions(+)
diff --git a/tools/relocate-rela.c b/tools/reloc
In code you can find out this fragment:
19 #ifndef R_AARCH64_RELATIVE
20 #define R_AARCH64_RELATIVE 1027
21 #endif
which means that R_AARCH64_RELATIVE is defined all the time that's why
ifdef is not needed.
Signed-off-by: Michal Simek
---
tools/relocate-rela.c | 2 --
1 file changed, 2
Hi Joel,
> -Original Message-
> From: Joel Stanley
> Sent: Thursday, July 7, 2022 1:37 PM
> Subject: Re: [v4 03/12] spi: aspeed: Add ASPEED SPI controller driver
>
> Hi Chin-Ting,
>
> On Tue, 24 May 2022 at 05:58, Chin-Ting Kuo
> wrote:
> >
> > Add ASPEED BMC FMC/SPI memory controller
On 7/6/22 12:58, Harald Seiler wrote:
When attempting to load images from multiple MMC devices in sequence,
spl_mmc_load() chooses the wrong device from the second attempt onwards.
The reason is that MMC initialization is only done on its first call and
spl_mmc_load() will then continue using th
On Sat, Jun 25, 2022 at 11:02:31AM -0400, Tom Rini wrote:
> This converts the following to Kconfig:
> CONFIG_SYS_OHCI_SWAP_REG_ACCESS
> CONFIG_SYS_USB_OHCI_CPU_INIT
> CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS
> CONFIG_SYS_USB_OHCI_SLOT_NAME
> CONFIG_USB_ATMEL
> CONFIG_USB_ATMEL_CL
On Fri, Jun 10, 2022 at 11:03:09PM -0400, Tom Rini wrote:
> Tighten up symbol dependencies in a number of places. Ensure that a SPL
> specific option has at least a direct dependency on SPL. In places
> where it's clear that we depend on something more specific, use that
> dependency instead. T
On Fri, Jun 10, 2022 at 11:03:00PM -0400, Tom Rini wrote:
> This converts the following to Kconfig:
>CONFIG_USB_XHCI_EXYNOS
>CONFIG_USB_EHCI_EXYNOS
>
> Signed-off-by: Tom Rini
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP signature
Given the sometimes oddly formatted data that can come through when
removing code, we need to be as flexible as possible when handling it.
Set our encoding to unicode_escape and if we still run in to a problem,
it's likely going to be OK to ignore it.
Signed-off-by: Tom Rini
---
I've emailed this
Bring us up to commit 0b8875225750 ("Allow multiple spaces within an
email address") of the upstream gitdm project.
Signed-off-by: Tom Rini
---
So this isn't a real patch exactly. This shows what the single merge
error would need to be corrected as, in order to bring our tree up to
the abo
On Thu, Jul 7, 2022 at 7:45 AM Mamta Shukla
wrote:
>
> Add struct with Flex SPI Configuration Block and enable generating
> fspi header using mkimage.
>
> Refer i.MX 8M Mini Application Processor Reference Manual for
> detailed information about parameters for FlexSPI Configuration block.
>
I tes
I am running fit_check_sig on windows to understand in more details how it
works.
What I really want, is a _precise_ description of exactly which bytes of a
FIT image are fed into the hash function (and in which order) in order to
calculate the hash value. I then want to reproduce that hash funct
I'd like it so that when you do "patman send --help" and you're using
Linux that it show it the proper defaults for Linux.
Signed-off-by: Douglas Anderson
Tested-by: Brian Norris
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Make comment about parsing three times less no
When you pass "--no-tree" to checkpatch it disables some extra checks
that are important for Linux. Specifically I want checks like:
warning: DT compatible string "boogie,woogie" appears un-documented
check ./Documentation/devicetree/bindings/
Let's make the default for Linux to _not_ pass --
For boolean arguments it's convenient to be able to specify both the
argument and its opposite on the command line. This is especially
convenient because you can change the default via the settings file
and being able express the opposite can be the only way to override
things.
Luckily python hand
If you call the parser and tell it to parse but don't pass arguments
in then it will default to looking at sys.argv. This isn't really what
was intended and seems to have some side effects. Let's not do it.
NOTE: to see some of the side effects, note that this patch breaks
"patman -c1" if you don'
The logic to insert an implicit command has always been a bit broken
but it was masked by another bug fixed in the patch ("patman: Don't
look at sys.argv when parsing settings"). Specifically, imagine that
you're just calling patman like this:
patman -c1
After the parse_known_args() command the
The whole point of this series is really to make it so that when we're
using patman for sending Linux patches that we don't pass "--no-tree"
to checkpatch. While doing that, though, I found a number of bugs
including an explanation about why recent version of patman have been
yelling about "tags" w
Hi,
On Thu, Jul 7, 2022 at 8:11 AM Sean Anderson wrote:
>
> On 7/6/22 8:07 PM, Doug Anderson wrote:
> > Hi,
> >
> > On Tue, Jul 5, 2022 at 11:16 AM Sean Anderson
> > wrote:
> >>
> >> Hi Doug,
> >>
> >> On 7/1/22 4:23 PM, Douglas Anderson wrote:
> >> > Ever since commit 4600767d294d ("patman: Re
On 7/6/22 8:07 PM, Doug Anderson wrote:
> Hi,
>
> On Tue, Jul 5, 2022 at 11:16 AM Sean Anderson wrote:
>>
>> Hi Doug,
>>
>> On 7/1/22 4:23 PM, Douglas Anderson wrote:
>> > Ever since commit 4600767d294d ("patman: Refactor how the default
>> > subcommand works"), when I use patman on the Linux
On 4/26/22 2:31 PM, Sean Anderson wrote:
> These frequency calculations depend on the RCW format, which is not
> dependent on any particular board. Switch to using ARCH symbols instead
> of TARGET.
>
> This whole function could probably use less ifdefs, but for now just do
> a minimal conversio
The size of the dynamic stack allocation here is bounded by the if()
statement. However, just allocating the maximum size up-front and
doing malloc() if necessary avoids code duplication (the
i2c_setup_offset() until the invocation of ->xfer), and generates much
better (smaller) code:
bloat-o-mete
Add instructions to build and boot from QSPI Flash
Signed-off-by: Mamta Shukla
Signed-off-by: Thomas Haemmerle
Tested-by: Adam Ford
Reviewed-by: Fabio Estevam
---
v2:
-No changes
v3:
-Fix Checkpatch Error for trailing whitespace
v4:
-No changes
doc/board/nxp/imx8mm_evk.rst | 37 +
The macro `CONFIG_SYS_UBOOT_BASE` is used by SPL loaders `"NOR"` and
`"XIP"` to determine the base address of u-boot.
For `"NOR"` on i.MX8MM it is the base address of QSPI0 plus the offset
of the flattened image tree blob.
Although `QSPI0_AMBA_BASE` is used to define CONFIG_SYS_UBOOT_BASE in
multi
Add entry for imx8mm_evk_fspi_defconfig in
board/freescale/imx8mm_evk/MAINTAINERS
Signed-off-by: Mamta Shukla
Signed-off-by: Thomas Haemmerle
Tested-by: Adam Ford
Reviewed-by: Fabio Estevam
---
v2:
-No changes
v3:
-No changes
v4:
-No changes
board/freescale/imx8mm_evk/MAINTAINERS | 1 +
Add QSPI Boot option in u-boot-spl for i.MX8m EVK.
Signed-off-by: Mamta Shukla
Signed-off-by: Thomas Haemmerle
Tested-by: Adam Ford
Reviewed-by: Fabio Estevam
---
v2:
-No changes
v3:
-No changes
v4:
-No changes
board/freescale/imx8mm_evk/spl.c | 2 ++
1 file changed, 2 insertions(+)
dif
Add imx8mm_evk_fspi_defconfig to build QSPI boot image.
This config is based on imx8mm_evk_defconfig with addtional config options for
FSPI Header,SPL offset and imx-image config to boot from FSPI.
Signed-off-by: Mamta Shukla
Signed-off-by: Thomas Haemmerle
Tested-by: Adam Ford
Reviewed-by: Fa
Add definition for FSPI configuration block and subsequently new offsets for
u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option.
Signed-off-by: Mamta Shukla
Signed-off-by: Thomas Haemmerle
Tested-by: Adam Ford
Reviewed-by: Fabio Estevam
---
v2:
-No changes
v3:
-Fix Checkpatch ERROR: co
Add struct with Flex SPI Configuration Block and enable generating
fspi header using mkimage.
Refer i.MX 8M Mini Application Processor Reference Manual for
detailed information about parameters for FlexSPI Configuration block.
Signed-off-by: Mamta Shukla
Signed-off-by: Thomas Haemmerle
Tested-b
This series of patch adds support for generating FlexSPI Header file
and booting from QSPI on i.MX8m.
Changes in v2:
-Add check for error in case open() for fspi_fd in imx8mkimage.c fails
-Remove extra line in commit message
-Remove extra line in imx8mm_evk_fspi_defconfig
-New patch in series to a
Hi Tom,
On 7/7/22 14:31, Tom Rini wrote:
On Thu, Jul 07, 2022 at 12:50:10PM +0200, Michal Simek wrote:
From: Christian Kohn
The fclk-enable property is set to 0 which disables all FCLKs.
Enable all FCLKs so they can be used as clock sources in the
programmable logic.
Signed-off-by: Christia
On Thu, Jul 07, 2022 at 10:47:16AM +0200, Michal Simek wrote:
> CONFIG_OF_LIBFDT is used twice for guarding the same code. It is enough to
> do it once that's why remove additional ifdefs from arm and risc-v code.
>
> Fixes: 0c303f9a6628 ("image: Drop IMAGE_ENABLE_OF_LIBFDT")
> Signed-off-by: Mic
On Thu, Jul 07, 2022 at 12:50:10PM +0200, Michal Simek wrote:
> From: Christian Kohn
>
> The fclk-enable property is set to 0 which disables all FCLKs.
> Enable all FCLKs so they can be used as clock sources in the
> programmable logic.
>
> Signed-off-by: Christian Kohn
> Signed-off-by: Michal
From: qianfan Zhao
Not all Android tools use the id field for signing the image with sha1,
so make this feature as optional and disabled default.
Signed-off-by: qianfan Zhao
---
common/Kconfig.boot| 14 +++
common/image-android.c | 55 +-
2 f
From: qianfan Zhao
Not all Android tools use the id field for signing the image with sha1,
so make this feature as optional and disabled default.
Signed-off-by: qianfan Zhao
---
common/Kconfig.boot| 14 +++
common/image-android.c | 55 +-
2 f
The same file is already the part of Linux kernel that's why add it also to
u-boot to be able to use it in source code and DT files.
Signed-off-by: Michal Simek
---
.../dt-bindings/reset/xlnx-versal-resets.h| 105 ++
1 file changed, 105 insertions(+)
create mode 100644 incl
Dear Dev of denx.de
I'm trying to create a custom os which is based on Alpine linux 3.16 with
your u-boot-2022.04 for my raspberry pi 4. Unfortunately, I got the
following error, please see the attached file(u-boot-bootloader-error.txt).
And I attached 3 Makefiles. main-makefile, common-makefile
Some PE image has gap between sections. These gaps could be kernel
symbol table that does not belong to any sections.
For such kind of image, after the last section is added into the
hashing, the bytes_hashed is less than the (PE file size - Size of
AttributeCertificateTable). According to Step 14
PMIO_NODE_ID_BASE is defined twice that's why remove one instance.
Fixes: 248fe9f302df ("spi: cadence_qspi: Enable apb linear mode for apb read &
write operations")
Signed-off-by: Michal Simek
---
include/zynqmp_firmware.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/zynqmp_fir
From: Michal Simek
Just to make sure that dm commands can operate.
This was the problem on Microblaze in past without fixing manual
relocation.
Signed-off-by: Michal Simek
Signed-off-by: Michal Simek
---
test/py/tests/test_dm.py | 8
1 file changed, 8 insertions(+)
diff --git a/tes
On 6/22/22 10:26, Michal Simek wrote:
From: Ayan Kumar Halder
"#stream-id-cells" was being used with "mmu-masters" for Xen specific
device trees.
With Xen commit 2278d2cbb0b7c1b48b298c6c4c6a7de2271ac928 (Link below)
Xen is able to support smmu bindings in both formats ie :
1. Using iommus (l
From: Michal Simek
Disable test to run on any other platform than sandbox.
Signed-off-by: Michal Simek
Signed-off-by: Michal Simek
---
test/py/tests/test_bind.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/py/tests/test_bind.py b/test/py/tests/test_bind.py
inde
Description OCM with mmio-sram driver. In 99% use cases OCM is mapped high
that's why it is placed on fixed location.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynq-7000.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi
in
From: Christian Kohn
The fclk-enable property is set to 0 which disables all FCLKs.
Enable all FCLKs so they can be used as clock sources in the
programmable logic.
Signed-off-by: Christian Kohn
Signed-off-by: Michal Simek
---
arch/arm/dts/zynq-7000.dtsi | 2 +-
1 file changed, 1 insertion(+
FYI, Gmail marked this as Spam - no idea why!
Martin
On Thu, 7 Jul 2022 at 02:48, Weijie Gao (高惟杰)
wrote:
> Hi Daniel,
>
> I've tested these changes and they work fine on both NOR and NAND boards.
>
> Best Regards,
> Weijie
>
> -邮件原件-
> 发件人: Daniel Schwierzeck
> 发送时间: 2022年7月7日 6:12
>
CONFIG_OF_LIBFDT is used twice for guarding the same code. It is enough to
do it once that's why remove additional ifdefs from arm and risc-v code.
Fixes: 0c303f9a6628 ("image: Drop IMAGE_ENABLE_OF_LIBFDT")
Signed-off-by: Michal Simek
---
arch/arm/lib/bootm.c | 2 --
arch/riscv/lib/bootm.c |
From: Michal Simek
There is no need to have LMB enabled that's why save some space by
disabling it.
aarch64: (for 8/8 boards) all -1168.5 rodata -105.5 text -1063.0
xilinx_zynqmp_mini: all -2013 rodata -185 text -1828
xilinx_zynqmp_mini_qspi: all -2013 rodata -185 text
From: Ashok Reddy Soma
With commit ce39ee28ec31 ("zynqmp: Do not place u-boot to reserved memory
location"), the function board_get_usable_ram_top() is allocating
MMU_SECTION_SIZE of about 2MB using lmb_alloc(). But we dont have this
much memory in case of mini U-Boot.
Keep these functions which
From: Ashok Reddy Soma
Under struct lmb {} the lmb property's should be defined only if
CONFIG_LMB_MEMORY_REGIONS is defined.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Michal Simek
Signed-off-by: Michal Simek
---
(no changes since v2)
Changes in v2:
- Also fix lib/lmb.c
include/lmb.
Hello,
this causes regression on pinebook pro:
resetting ...
System reset not supported on this platform
### ERROR ### Please RESET the board ###
Is there something missing in the DT for this board?
Or perhaps a fallback should be provided in absence of the PMIC?
Thanks
Michal
On Fri, May 27
For some reason the flash cannot be probed as is - the u-boot DT lookup
code fails to find the definition, and sf complains about invalid cs.
Fixes: 280294c5df ("sunxi: boards: Enable SPI flash support in U-Boot proper")
Signed-off-by: Michal Suchanek
---
arch/arm/dts/sun8i-h2-plus-orangepi-zero
Hi,
On Wed, 6 Jul 2022 11:36:49 +0200, Neil Armstrong wrote:
> This is a preliminary documentation introducing different
> boot sequences, and notably the recovery mode.
>
>
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic
(u-boot-amlogic-test)
[1/1] doc: board: amlo
The boards that come with a flash memory pre-soldered have a Macronix
flash chip.
Fixes: 280294c5df ("sunxi: boards: Enable SPI flash support in U-Boot proper")
Signed-off-by: Michal Suchanek
---
configs/orangepi_zero_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/orange
Hi Patrick
On 7/5/22 16:55, Patrick Delaunay wrote:
> Add a "secure" version of STM32 boards based on SCMI when RCC_TZCR.TZEN=1.
>
> Only boards provided by STMicroelectronics are concerned:
> -STM32MP157A-DK1
> -STM32MP157C-DK2
> -STM32MP157C-ED1
> -STM32MP157C-EV1
>
> The resources secured by
Hi Patrick
On 7/5/22 16:55, Patrick Delaunay wrote:
> With support of SCMI in OP-TEE, the early malloc usage
> increase, the associated defined CONFIG_SYS_MALLOC_F_LEN
> need to be increased.
>
> For example, for stm32mp15_defconfig and
> stm32mp157c-dk2-scmi.dtsi, we have:
>
> Early malloc usag
Hi PAtrick
On 7/5/22 16:55, Patrick Delaunay wrote:
> Add support for new compatible st,stm32mp1-rcc-secure used when the
> RCC resource is managed by secured world (RCC_TZCR.TZEN=1)
> iand when SCMI is used.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> drivers/misc/stm32_rcc.c | 1 +
> 1 fil
Hi Patrick
On 7/5/22 16:55, Patrick Delaunay wrote:
> Device tree alignment with Linux kernel v5.19-rc1
>
> - ARM: dts: stm32: Add alternate pinmux for ethernet0 pins
> - ARM: dts: stm32: Add alternate pinmux for mco2 pins
> - ARM: dts: stm32: fix pinctrl node name warnings (MPU soc)
> - ARM: dts
Hi Patrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> Activate useful commands in STM32MP13x config, already activated in
> stm32mp15_defconfig.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> (no changes since v1)
>
> configs/stm32mp13_defconfig | 16
> 1 file changed, 16 ins
Hi Patrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> Activate the I2C driver in STM32MP13x config.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> (no changes since v1)
>
> configs/stm32mp13_defconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/configs/stm32mp13_defconfig b/c
Hi Patrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> Activate the RTC driver in STM32MP13x config.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> (no changes since v1)
>
> configs/stm32mp13_defconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/configs/stm32mp13_defconfig b/co
Hi PAtrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> Activate the RNG driver provided by OP-TEE.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> (no changes since v1)
>
> configs/stm32mp13_defconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/configs/stm32mp13_defconfig b/con
Hi Patrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> On STM32MP13x STMicroelectronics boards, the UART can reliably go up to
> 400 bauds when connected to the external ST-LINKV3.
>
> This patch adds the support of higher baudrates on STMicroelectronics
> STM32MP13x boards with ST-LINKV3.
>
Hi Patrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> Activate the led managed in stm32mp1 board for U-Boot indication
> in STM32MP13F-DK device tree.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> (no changes since v1)
>
> arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 10 ++
> 1 file cha
Hi Patrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> Device tree alignment with Linux kernel v5.19-rc1 with:
> - ARM: dts: stm32: add UserPA13 button on stm32mp135f-dk
> - ARM: dts: stm32: add blue led (Linux heartbeat) on stm32mp135f-dk
> - ARM: dts: stm32: add EXTI interrupt-parent to pinctrl
Hi Patrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> Add support of STM32MP13x Rev.Y for the Silicon revision REV_ID = 0x1003.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> Changes in v2:
> - fix value of CPU_REV1_2 = 0x1003, because minor version in REV_ID
> is bitfield at SoC level (0 = 0
Hi Patrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> From: Lionel Debieve
>
> New IP adds a conditional reset that impact the clock
> error management. It is now linked to a new compatible.
>
> Signed-off-by: Lionel Debieve
> Signed-off-by: Patrick Delaunay
> ---
>
> (no changes since v1)
Hi Patrick
On 6/30/22 10:20, Patrick Delaunay wrote:
> The stm32mp13 soc differs from the stm32mp15 in terms of
> clear register offset for controlling the FMP (Fast Mode Plus).
>
> Signed-off-by: Patrick Delaunay
> ---
>
> (no changes since v1)
>
> drivers/i2c/stm32f7_i2c.c | 5 +
> 1 fi
Hi Patrick
On 6/30/22 10:01, Patrick Delaunay wrote:
> Add the uclass ops of_to_plat to parse the device tree properties
> to respect the expected sequence by the driver model.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> (no changes since v1)
>
> drivers/mmc/stm32_sdmmc2.c | 95
Hi Patrick
On 6/30/22 10:01, Patrick Delaunay wrote:
> All the elements of privdata are static and build from device tree,
> they are moved in platdata to prepare the support of ops
> of_to_plat.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> (no changes since v1)
>
> drivers/mmc/stm32_sdmmc2.
Hi Doug,
On Wed, 6 Jul 2022 at 18:08, Doug Anderson wrote:
>
> Hi,
>
> On Tue, Jul 5, 2022 at 11:16 AM Sean Anderson wrote:
> >
> > Hi Doug,
> >
> > On 7/1/22 4:23 PM, Douglas Anderson wrote:
> > > Ever since commit 4600767d294d ("patman: Refactor how the default
> > > subcommand works"), when I
69 matches
Mail list logo