On Sun, Mar 13, 2022 at 2:03 PM Simon Glass wrote:
>
> This enum is currently anonymous. Add a name so it can be used in the
> code.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Bin Meng
> ---
>
> Changes in v2:
> - Add some comments for the enum
>
> arch/x86/include/asm/intel_gnvs.h | 8 +
On Sun, Mar 13, 2022 at 2:04 PM Simon Glass wrote:
>
> This board has its own config header file. Correct it.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Bin Meng
> ---
>
> (no changes since v1)
>
> board/coreboot/coreboot/MAINTAINERS | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-
On Fri, Mar 4, 2022 at 8:48 PM Michal Simek wrote:
>
> From: T Karthik Reddy
>
> When usb PHY initialization is done, the PHY need to be reset.
>
> Signed-off-by: T Karthik Reddy
> Signed-off-by: Michal Simek
> ---
>
> Changes in v2:
> - Remove EBUSY checking which is not needed. Reported by Bi
On Wed, Mar 9, 2022 at 5:06 PM Michal Simek wrote:
>
> Allow to disable PHY driver in SPL because it checks the CONFIG_SPL_PHY
> variable for SPL builds.
>
> The same change was done for usb by commit fd09c205fc57 ("usb:
> s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/").
>
> Signed-off-by: Michal Sim
On Wed, Mar 9, 2022 at 5:06 PM Michal Simek wrote:
>
> When usb3-phy label is found, PHY driver is called and serdes line is
> initialized. This is preparation for serdes/psgtr driver to configure GT
> lines based on description in DT.
>
> Signed-off-by: Michal Simek
> ---
>
> Changes in v3:
> -
Hi Simon,
2022年3月14日(月) 15:45 Simon Glass :
>
> Hi Takahiro,
>
> On Sun, 13 Mar 2022 at 20:43, AKASHI Takahiro
> wrote:
> >
> > On Sun, Mar 13, 2022 at 08:15:02PM -0600, Simon Glass wrote:
> > > Hi Takahiro,
> > >
> > > On Sun, 13 Mar 2022 at 19:08, AKASHI Takahiro
> > > wrote:
> > > >
> > > > H
Hi Leonidas,
Thanks for your patch, please update the subject with below tags like:
rockchip: rk3328:
Thanks,
- Kever
Leonidas P. Papadakos 于2021年12月25日周六 21:57写道:
>
> This is very useful to access the LibreComputer eMMC as removable
> storage from a PC (e.g. like so `ums 0 mmc 0`). It has b
Hi Heiko,
Heiko Stuebner 于2021年12月26日周日 20:46写道:
>
> The rk3399-puma board needs a 950mV vdd_log to work stable.
> This was already added in
> commit 77012e79ffc3 ("rockchip: rk3399-puma: Set VDD_LOG to 950 mV")
> but lost again with
> commit 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from
Hi Johan,
Johan Jonker 于2022年1月13日周四 00:32写道:
>
> A comma at the end of a line gives sometimes strange
> effects in combination with some code formatters,
> so replace a comma by a semicolon in the sdram_rk3188.c
> and sdram_rk3288.c files.
>
> Signed-off-by: Johan Jonker
Reviewed-by: Kever Yan
Hi Dan,
Thanks for your patch.
Most of the board would like to boot from SD->MMC->NVME, only if
there no firmware found in the onboard storage, them the U-Boot try
with USB or network.
So I'm afraid this patch can not be applied.
Thanks,
- Kever
Dan Johansen 于2022年1月28日周五 05:56写道:
>
Hi Alper,
Alper Nebi Yasak 于2022年1月29日周六 23:28写道:
>
> U-Boot can be chainloaded from vendor firmware on ARM64 chromebooks from
> a GPT partition (roughly the same as in doc/chromium/chainload.rst), but
> an appropriate image header must be built-in to the U-Boot binary by
> enabling LINUX_KERNEL_
On Mon, Mar 14, 2022 at 04:35:45PM +0900, Masami Hiramatsu wrote:
> Hi Simon,
>
> 2022年3月14日(月) 15:45 Simon Glass :
> >
> > Hi Takahiro,
> >
> > On Sun, 13 Mar 2022 at 20:43, AKASHI Takahiro
> > wrote:
> > >
> > > On Sun, Mar 13, 2022 at 08:15:02PM -0600, Simon Glass wrote:
> > > > Hi Takahiro,
>
Hi Giulio,
Thanks for your patch, it's a good catching.
Could you please update the subject with "rockchip: adc: ", and
add a simple description in the commit message? Empy commit message is
not allowed according to U-Boot patch commit rules :(
Thanks,
- Kever
Giulio Benetti 于2022年2月4日周
Hi Peter,
Peter Cai 于2022年2月5日周六 21:49写道:
>
> Mirroring commit 97ab802aa36f ("adc: meson-saradc: add support for
> getting reference voltage value") for meson-saradc, this adds support
> for getting the "vref-supply" regulator and register it as the ADC's
> reference voltage regulator, so clients
Hi Peter,
Peter Griffin 于2022年2月22日周二 00:10写道:
>
> Allow u-boot to probe optee so we can access secure os
> from the bootloader.
>
> Signed-off-by: Peter Griffin
Reviewed-by: Kever Yang
Thanks,
- Kever
> ---
> arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi | 10 ++
> 1 file changed, 10 i
Hi Peter,
Thanks for your patch, could you add a description in the commit
message about why do we need to enable OPTEE in U-Boot, I think this
is the first commit for RK3399 to enable OPTEE.
Thanks,
- Kever
Peter Griffin 于2022年2月22日周二 00:13写道:
>
> Signed-off-by: Peter Griffin
> ---
> conf
This saves about 12 kBytes image size and helps to stay within the
size limit.
Suggested-by: Tom Rini
Signed-off-by: Soeren Moch
---
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Simon Glass
Cc: u-boot@lists.denx.de
Unfortunately we already are at the size limit for U-Boot v2022.04-rc3.
Maybe Tom
... to get rid of the build warning.
Unfortunately we still need the board specific serial pin init code.
Otherwise the first boot messages over the serial console are lost.
Signed-off-by: Soeren Moch
---
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Tom Rini
Cc: Simon Glass
Cc: u-boot@lists.denx.d
Hi Simon,
On 12.03.22 06:02, Simon Glass wrote:
Hi Soeren,
On Fri, 11 Mar 2022 at 15:43, Soeren Moch wrote:
On 09.03.22 16:33, Simon Glass wrote:
Hi Tom,
On Wed, 9 Mar 2022 at 07:25, Tom Rini wrote:
On Tue, Mar 08, 2022 at 08:10:38PM -0700, Simon Glass wrote:
Hi Tom,
On Tue, 8 Mar 202
Hi Peter,
On 2022/2/22 09:31, Peter Geis wrote:
Rockchip emmc devices have a similar issue to Rockchip dwmmc devices,
where performing dma to sram causes errors with suspend/resume.
Allow us to toggle sdma in spl for sdhci similar to adma support, so we
can ensure dma is not used when loading t
Hi Peter,
On 2022/2/22 09:31, Peter Geis wrote:
The rockchip-sfc driver is missing an include to build correctly.
I think this driver builds OK and has been tested by other developer,
could you share what kind of build environment do you using and what
issue did you meet?
Thanks,
- Keve
Hi Peter,
On 2022/2/22 09:31, Peter Geis wrote:
The reset handler for rk3568 is missing its private data. This leads to
an abort when a reset is triggered.
Add the missing dev_set_priv to the rk3568 clk driver.
Fixes: 4a262feba3a5 ("rockchip: rk3568: add clock driver")
Signed-off-by: Peter G
Hi Peter,
On 2022/2/22 09:31, Peter Geis wrote:
Enable automatic clock gating on rk3568, which solves a 7c temperature
difference on SoQuartz compared to downstream.
Signed-off-by: Peter Geis
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/mach-rockchip/rk3568/rk3568.c | 23 +
+ Jon Lin,
Hi Jon,
Please help to review this patch.
Thanks,
- Kever
On 2022/2/22 09:31, Peter Geis wrote:
The rockchip-sfc driver sanity checks the maximum frequency, but not the
minimum frequency.
This causes the probe to fail when a frequency isn't defined, such as
with `sf probe 0`.
C
Hi Peter,
Thanks for your patchset.
Seems like some of the driver module author does not include in the
patch cc list, I would suggest you to use scripts/get_maintainer.pl
instead of add cc manually
tools/patman/patman is a very wonderful tool, you can have a try :)
Thanks,
- Keve
On Tue, Feb 22, 2022 at 7:02 AM Peter Geis wrote:
>
> to: Simon Glass
> to: Philipp Tomsich
> to: Kever Yang
> to: Lukasz Majewski
> to: Sean Anderson
> to: Peng Fan
> to: Jaehoon Chung
> to: Heiko Stübner
> cc: u-boot@lists.denx.de
>
> Good Evening,
>
> The following is a few patches for
Hi Peter,
On 2022/2/22 09:31, Peter Geis wrote:
Fixup the bootrom recovery mode code to function in spl, so we can
handle recovery mode in case u-boot loading is broken.
I don't understand what do you mean about "Fixup the bootrom recovery
mode code"?
I would like to make SPL simple and small e
Remove double semi-colon that has been forgotten while adding the
driver. This is only a style fix since it doesn't change the
functionality of the driver.
Signed-off-by: Giulio Benetti
---
V1->V2:
* Improved commit log as suggested by Kever Yang
---
drivers/adc/rockchip-saradc.c | 2 +-
1 file
On 14/03/22 09:04, Kever Yang wrote:
Hi Giulio,
Thanks for your patch, it's a good catching.
Could you please update the subject with "rockchip: adc: ", and
add a simple description in the commit message? Empy commit message is
not allowed according to U-Boot patch commit rules :(
Oh
On 3/10/22 01:10, Tom Rini wrote:
> On Tue, Feb 22, 2022 at 11:28:18AM +0800, haibo.c...@nxp.com wrote:
>
>> From: Haibo Chen
>>
>> After commit f132aab40327 ("Revert "mmc: fsl_esdhc_imx: use
>> VENDORSPEC_FRC_SDCLK_ON to control card clock output""), it
>> involve issue in mmc_switch_voltage(),
On 2022/3/14 17:09, Giulio Benetti wrote:
Remove double semi-colon that has been forgotten while adding the
driver. This is only a style fix since it doesn't change the
functionality of the driver.
Signed-off-by: Giulio Benetti
Reviewed-by: Kever Yang
Thanks,
- Kever
---
V1->V2:
* Impr
On 3/12/22 03:14, Robert Marko wrote:
> Generic SDHCI driver received support for checking the busy status by
> polling the DAT[0] level instead of waiting for the worst MMC switch time.
>
> Unfortunately, it appears that this does not work for Xenon controllers
> despite being a part of the stand
On 3/14/22 09:32, Wolfgang Grandegger wrote:
dev_read_size() returns -EINVAL (-22) if the property "g-tx-fifo-size"
does not exist. If that's the case, we now keep the default value of 0.
Applied, thanks.
From: Matthias Brugger
Add documentation about the different configuration files for the
RaspberryPi board family.
Signed-off-by: Matthias Brugger
---
doc/board/raspberrypi/index.rst | 10 +
doc/board/raspberrypi/raspberrypi.rst | 53 +++
2 files changed, 63 i
hi Simon,
On Mon, 14 Mar 2022 at 03:53, Simon Glass wrote:
>
> Hi Sughosh,
>
> On Sun, 13 Mar 2022 at 08:49, Sughosh Ganu wrote:
> >
> > 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 mem
On 3/14/22 11:57, Wolfgang Grandegger wrote:
Hello,
Am 28.02.22 um 16:22 schrieb Marek Vasut:
On 2/28/22 16:18, Wolfgang Grandegger wrote:
Hi,
[...]
diff --git a/arch/arm/mach-socfpga/board.c
b/arch/arm/mach-socfpga/board.c
index 7267163222..a2eed73fe9 100644
--- a/arch/arm/mach-socfpga/boa
On Mon, Mar 14, 2022 at 4:47 AM Kever Yang wrote:
>
> Hi Peter,
Good Morning,
>
> On 2022/2/22 09:31, Peter Geis wrote:
> > The rockchip-sfc driver is missing an include to build correctly.
>
>
> I think this driver builds OK and has been tested by other developer,
> could you share what kind of
Greetings dears
,
/I use the repo u-boot-socfpga to make poky image but got the below error
the dtb files compiled but not found by Makefile.build
test -e arch/arm/dts/socfpga_arria10_socdk_sdmmc.dtb || ( \
| echo >&2; \
| echo >&2 "Device Tree Source (arch/arm/dts/socfpga_arria10_socdk_sdmmc.dtb
Hello.
https://lists.denx.de/pipermail/u-boot/2022-February/474887.html got
no answer, probably because it is trivial and has been lost among more
important topics, so I am submitting it again.
It is convenient for redistributors to add a build number to the
U-boot source version, which is displa
hi Simon,
On Mon, 14 Mar 2022 at 03:53, Simon Glass wrote:
>
> Hi Sughosh,
>
> On Sun, 13 Mar 2022 at 08:48, Sughosh Ganu wrote:
> >
> > 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 ca
On Mon, Mar 14, 2022 at 4:56 AM Kever Yang wrote:
>
> Hi Peter,
>
> Thanks for your patchset.
>
> Seems like some of the driver module author does not include in the
> patch cc list, I would suggest you to use scripts/get_maintainer.pl
> instead of add cc manually
I do use scripts/get_m
hi Simon,
On Mon, 14 Mar 2022 at 03:53, Simon Glass wrote:
>
> Hi Sughosh,
>
> On Sun, 13 Mar 2022 at 08:48, Sughosh Ganu wrote:
> >
> > 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 t
On Mon, Mar 14, 2022 at 5:10 AM Kever Yang wrote:
>
> Hi Peter,
Good Morning,
>
> On 2022/2/22 09:31, Peter Geis wrote:
> > Fixup the bootrom recovery mode code to function in spl, so we can
> > handle recovery mode in case u-boot loading is broken.
> I don't understand what do you mean about "F
On Tue, 22 Feb 2022 at 02:31, Peter Geis wrote:
>
> Fixup the bootrom recovery mode code to function in spl, so we can
> handle recovery mode in case u-boot loading is broken.
>
> Signed-off-by: Peter Geis
> ---
> arch/arm/mach-rockchip/Makefile| 6 +++---
> arch/arm/mach-rockchip/boot_
On 3/11/22 19:14, Robert Marko wrote:
Generic SDHCI driver received support for checking the busy status by
polling the DAT[0] level instead of waiting for the worst MMC switch time.
Unfortunately, it appears that this does not work for Xenon controllers
despite being a part of the standard SDHC
On Mon, Mar 14, 2022 at 7:59 AM Philipp Tomsich
wrote:
>
> On Tue, 22 Feb 2022 at 02:31, Peter Geis wrote:
> >
> > Fixup the bootrom recovery mode code to function in spl, so we can
> > handle recovery mode in case u-boot loading is broken.
> >
> > Signed-off-by: Peter Geis
> > ---
> > arch/arm
This patch configures U-Boot SPL for DHCOM SoM to permit DFU upload of
SPL and subsequent u-boot.itb for recovery or commissioning purposes.
The DFU usage procedure is identical to STM32MP1 DHCOR SoM, see commit
3919aa1722a ("ARM: dts: stm32: Add DFU support for DHCOR recovery") ,
except for switc
On Fri, Mar 11, 2022 at 12:10:01PM -0700, Simon Glass wrote:
> In some cases we do not want to enable partition support in SPL. Add an
> option to allow this.
>
> Signed-off-by: Simon Glass
> ---
>
> disk/Kconfig | 24
> disk/Makefile | 6 ++
On Sat, Mar 12, 2022 at 10:58:44AM -0700, Simon Glass wrote:
> Hi Tom,
>
> On Mon, 7 Mar 2022 at 07:33, Tom Rini wrote:
> >
> > On Fri, Mar 04, 2022 at 08:42:57AM -0700, Simon Glass wrote:
> >
> > > LTO (Link-Time Optimisation) is an very useful feature which can
> > > significantly reduce the si
On 2022/3/9 11:19, Marek Vasut wrote:
Add flexspi DT node matching Linux kernel as of commit
d7cd74466651e ("arm64: dts: imx8mp: Reorder flexspi clock-names entry")
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Reviewed-by: Peng Fan
---
arch/arm/dts/im
On 2022/3/9 11:18, Marek Vasut wrote:
The i.MX8M Mini and i.MX8M Plus flexspi IPs are compatible with one
another, however the linux kernel DT uses separate compatible string
for each SoC. Add the missing i.MX8MP compatible into this driver.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc:
On Fri, Mar 11, 2022 at 07:24:42PM -0700, Simon Glass wrote:
> Hi Tom,
>
> On Fri, 11 Mar 2022 at 13:21, Tom Rini wrote:
> >
> > On Fri, Mar 11, 2022 at 12:10:03PM -0700, Simon Glass wrote:
> >
> > > This board is too close to the limit to enable this feature. Drop it.
> > >
> > > Signed-off-by:
On Mon, Mar 14, 2022 at 09:27:40AM +0100, Soeren Moch wrote:
> Hi Simon,
>
> On 12.03.22 06:02, Simon Glass wrote:
> > Hi Soeren,
> >
> > On Fri, 11 Mar 2022 at 15:43, Soeren Moch wrote:
> >
> >
> >
> > On 09.03.22 16:33, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Wed, 9 Mar 2022
On Wed, Feb 16, 2022 at 06:23:22PM +1030, Joel Stanley wrote:
> Ensure the ASPEED related options are grouped together under the RAM
> option when enabling support.
>
> This also makes some minor grammar corrections and renames options so
> they present cleanly in menuconfig.
>
> There should be
On Tue, Feb 22, 2022 at 10:49:03AM +0530, Aswath Govindraju wrote:
> QSGMII PHY initialization should only be done for J721E EVMs and not for
> J721E-SK boards. Therefore, fix the environment variables accordingly.
>
> Also, by default remote processors should not be booted in U-Boot but
> rather
On Tue, Feb 22, 2022 at 10:49:04AM +0530, Aswath Govindraju wrote:
> Add the command "boot_rprocs" that is required for booting remote
> processors in U-Boot.
>
> Fixes: 5980925e2a5a ("include: configs: j721e_evm: Add support to boot ethfw
> core in j721e")
> Reported-by: Jesse Villarreal
> Sig
On Fri, Feb 25, 2022 at 12:18:31PM +0100, Romain Naour wrote:
> With DM_MMC working for both SPL and U-Boot, this patch removes
> the legacy style of initializing the MMC driver.
>
> Based on omap3_logic: 42140dd0962bc134c0aad27524d0f4cc3955f255.
>
> Signed-off-by: Romain Naour
Applied to u-bo
On Tue, Feb 22, 2022 at 10:49:05AM +0530, Aswath Govindraju wrote:
> QSGMII PHY present on the j721e common processor board requires
> to be initialized before the core boots up. Therefore, run the
> corresponding command during boot to do the same.
>
> Signed-off-by: Aswath Govindraju
Applied
On Fri, Feb 25, 2022 at 12:18:32PM +0100, Romain Naour wrote:
> The PMIC enables power to the MMC card by default, but depending
> on the state it was left when restarted, it's possible the MMC
> may be powered down.
>
> This patch patch explicitly tells the twl4030 to power the MMC.
>
> Based o
On Fri, Feb 25, 2022 at 12:18:33PM +0100, Romain Naour wrote:
> The simple pinctrl driver currently available works with the omap3.
> Enabling this will use the device tree to automatically set the
> pin-muxing for various drivers.
>
> Based on commit: 57dbf754e37d3347cad441f3869bf72c0d726a71
>
On Fri, Feb 25, 2022 at 12:18:34PM +0100, Romain Naour wrote:
> Enabling DM_PMIC, DM_REGULATOR_FIXED, and DM_REGULATOR_GPIO
> gives us the ability to better monitor voltages and enable
> hardware through the device tree. The TL4030 (TPS65950) is
> not yet migrated to DM, so this patch only enables
On Sat, Feb 26, 2022 at 10:13:09AM -0600, Adam Ford wrote:
> The ethernet controller is DM compliant, and the device tree
> defines it. There is no need to manually handle pulling
> the ethernet out of reset.
>
> Signed-off-by: Adam Ford
> Tested-by: Derald D. Woods
>
> diff --git a/board/log
On Sat, Feb 26, 2022 at 10:49:47AM -0600, Adam Ford wrote:
> Resync the DTS files for the Logic PD SOM-LV with Linux 5.17-rc5
> with some additional pending changes to address issues with
> wrong pin-muxing on the OMAP35.
>
> Signed-off-by: Adam Ford
>
> diff --git a/arch/arm/dts/logicpd-som-lv
On Sat, Feb 26, 2022 at 10:49:48AM -0600, Adam Ford wrote:
> With recent fixes to USB pinmuxing in the device trees, there
> is no need to hard-code the pinmuxing in this table. It is
> all handled in DM now.
>
> Signed-off-by: Adam Ford
>
> diff --git a/board/logicpd/omap3som/omap3logic.h
>
On Sat, Feb 26, 2022 at 11:01:21AM -0600, Adam Ford wrote:
> Resyc DTS files with Linux 5.17-rc5.
>
> Signed-off-by: Adam Ford
>
> diff --git a/arch/arm/dts/logicpd-torpedo-35xx-devkit.dts
> b/arch/arm/dts/logicpd-torpedo-35xx-devkit.dts
> index 7675bc3fa8..cb08aa62d9 100644
Applied to u-boot
On Sat, Feb 26, 2022 at 03:17:23PM -0600, Adam Ford wrote:
> Sync the am3517-evm device tree files with those from Linux
> 5.17-rc5 with some additional fixes for pinmuxing Ethernet and
> moving the pinmux references to the respective peripherals.
>
> Signed-off-by: Adam Ford
> Tested-by: Derald
On Wed, Mar 02, 2022 at 03:09:05PM +0800, nicholas_zh...@outlook.com wrote:
> From: weichangzheng
>
> This adds platform code and the device tree for the Phytium Pomelo Board.
> The initial support comprises the UART and the PCIE.
>
> Signed-off-by: weichangzheng
> Changes since v1:
>
On Sat, Mar 05, 2022 at 08:25:23AM -0600, Adam Ford wrote:
> get_osc_clk_speed and get_sys_clkin_sel are only used in
> one file. Make them static.
>
> Tested on OMAP3530, DM3730, AM3517.
>
> Signed-off-by: Adam Ford
>
> diff --git a/arch/arm/mach-omap2/omap3/clock.c
> b/arch/arm/mach-omap2/
On Mon, Mar 14, 2022 at 06:37:02PM +0900, Jaehoon Chung wrote:
> On 3/12/22 03:14, Robert Marko wrote:
> > Generic SDHCI driver received support for checking the busy status by
> > polling the DAT[0] level instead of waiting for the worst MMC switch time.
> >
> > Unfortunately, it appears that thi
On Sat, Feb 26, 2022 at 03:17:24PM -0600, Adam Ford wrote:
> With updated device trees now supporting pinmuxing for USB,
> ethernet, MMC, and other peripherals necessary to start MLO
> and U-Boot, the hard-coded pinmux options can be removed since
> they are now handed by DM and only muxed when th
Hello everyone,
sorry to dig out an old thread, but the below patch which was applied
upstream as 616f03dabacb causes a regression for me when trying to
attach an UBI volume with U-Boot 2022.01 on a board with i.MX6 Solo and
AMD/Spansion parallel NAND.
The failure looks like this:
ubi0: attachin
po 7. 3. 2022 v 16:48 odesílatel Michal Simek napsal:
>
> There is really no value to check empty spaces. That's why use
> ut_assert_nextlinen() instead of ut_assert_nextline().
> This change ensures that PINMUX_SIZE can be increased without changing
> tests.
>
> Signed-off-by: Michal Simek
> ---
po 7. 3. 2022 v 8:53 odesílatel Michal Simek napsal:
>
> After double checking some i2c addresses are not correct. It is visible
> from i2c dump
>
> ZynqMP> i2c bus
> Bus 3: i2c@ff02
>74: i2c-mux@74, offset len 1, flags 0
> Bus 5: i2c@ff02->i2c-mux@74->i2c@0
> Bus 6: i2c@ff02->i
Production SOM has emmc on it and make sense to describe pin description to
be able use EMMC if it is not configured via psu_init.
(Still some regs are not handled but this is one step in that direction)
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-sm-k26-revA.dts | 20 ++
Hi Tom,
This PR includes the following x86 changes for v2022.04:
- Trivial fixes for x86
Azure results: PASS
https://dev.azure.com/bmeng/GitHub/_build/results?buildId=463&view=results
The following changes since commit c96137000e4cf486dcb164fd67a1a0b5b2fb99c6:
Merge tag 'efi-2022-04-rc3-2' o
This serie adds a stage pre-load before launching an image.
This stage is used to read a header before the image and
this header contains the signature of the full image.
So u-boot may check the full image before using any
data of the image.
The support of this header is added to binman, and
a com
This commit adds the options:
- SPL_ASN1_DECODER
- SPL_OID_REGISTRY
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 19 +++
lib/Makefile | 4 ++--
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index e749826f
Enhance the help for configs ASN1_COMPILER
and ASN1_decoder.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index 3c6fa99b1a..b0e5d60b3d 100644
--- a/lib/Kconfig
To be able to use the tool binman on sandbox,
the config SANDBOX should imply BINMAN.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
arch/Kconfig | 1 +
arch/sandbox/dts/sandbox.dtsi | 3 +++
arch/sandbox/dts/test.dts | 3 +++
test/py
Set the variable pre-load-key-path with the shell variable
PRE_LOAD_KEY_PATH that contain the keys path (used for signature).
This variable pre-load-key-path is provided to binman.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff -
Enhance the help for the config OID_REGISTRY.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/lib/Kconfig b/lib/Kconfig
index b0e5d60b3d..e749826f22 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -812,6 +812,10 @@ co
This commit adds the option SPL_RSA_VERIFY_WITH_PKEY.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/rsa/Kconfig | 19 +++
1 file changed, 19 insertions(+)
diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
index be9775bcce..b773f17c26 100644
--- a/lib/rsa/Kconfig
Add the support of image pre load in spl or tpl
when loading an image from ram.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
common/spl/spl_ram.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/common/spl/spl_ram.c b/common/spl/spl_ram.c
Enable the support of stage pre-load in bootm.
For the moment, this stage allow to verify the
signature of the full image with a header.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
configs/sandbox_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/sandbox_d
This commit enhances mkimage to update the node
/image/pre-load/sig with the public key.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
include/image.h| 15 ++
tools/fit_image.c | 3 ++
tools/image-host.c | 114 +
3 files chan
This commit adds the options:
- SPL_ASYMMETRIC_KEY_TYPE
- SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
- SPL_RSA_PUBLIC_KEY_PARSER
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Makefile| 3 ++-
lib/crypto/Kconfig | 29 +
lib/crypto/Makefile | 19
Add the command pre_load_verify that check the signature of
an image with the pre-load header. If the check
succeed, the u-boot env variable 'loadaddr_verified'
is set to the address of the image (without the header).
It allows to run such commands:
tftp script.img && pre_load_verify $loadaddr &&
Adds the support of the pre-load header with the image signature
to binman.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
doc/usage/index.rst | 1 +
tools/binman/entries.rst | 38
tools/binman/etype/pre_load.py
Adds test units for the pre-load header signature.
Signed-off-by: Philippe Reynes
---
test/py/tests/test_vboot.py | 145 --
test/py/tests/vboot/sandbox-binman-pss.dts| 25 +++
test/py/tests/vboot/sandbox-binman.dts| 24 +++
.../tests/vboot/sandbox-
Add a stage pre-load that could
check or modify an image.
For the moment, only a header with a signature is
supported. This header has the following format:
- magic : 4 bytes
- version : 4 bytes
- header size : 4 bytes
- image size : 4 bytes
- offset image signature : 4 bytes
- flags : 4 bytes
- r
Add a stage pre-load to the command bootm.
Right now, this stage may be used to read a
header and check the signature of the full
image.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
boot/bootm.c| 33 +
cmd/Kconfig | 10 ++
cmd/bootm
Enable the command pre_load_verify on sandbox.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 46bf18bc98..35fd4e3f49 100644
--- a/configs/sandbo
On 3/7/22 19:03, Pali Rohár wrote:
Custom baudrate different than 115200 may be specified only when kwboot is
not going to send boot/debug message pattern or when it is going to send
boot message pattern with image file (in which case baudrate change happens
after sending kwbimage header). BootRO
On 3/7/22 19:03, Pali Rohár wrote:
The Globalscale Technologies Sheevaplug board has the network chip
Marvell 88E1116R. Use uclass mvgbe and the compatible driver M88E1310
driver to bring up Ethernet.
- Currently, CONFIG_RESET_PHY_R symbol is used in
arch/arm/mach-kirkwood/include/mach/config.h
On 3/7/22 19:03, Pali Rohár wrote:
Commit 9e6d71d2b55f ("tools: kwboot: Allow to use -b without image path as
the last getopt() option") broke usage of kwboot with following arguments:
kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl.kwb
Fix parsing of option -b with optional argument again.
On 3/7/22 19:12, Pali Rohár wrote:
Remap PCI I/O space to the bus address 0x0 in the Armada 37xx device-tree
in order to support legacy I/O port based cards which have hardcoded I/O
ports in low address space.
Some legacy PCI I/O based cards do not support 32-bit I/O addressing.
Signed-off-by:
Hi Tom,
please pull the next batch of Marvell MVEBU / kwboot related fixes:
- kwboot: Misc minor improvement and fixes, e.g. mix of arguments (Pali)
- PCI: a37xx: Remap IO space to bus address 0x0 (Pali)
---
On 3/12/22 15:39, Kever Yang wrote:
> Hi Johan,
>
> On 2022/3/12 18:01, Johan Jonker wrote:
>> On 3/12/22 09:51, Jagan Teki wrote:
>>> On Thu, Dec 30, 2021 at 10:18 PM Johan Jonker wrote:
Move ROCKCHIP_STIMER_BASE to Kconfig.
Signed-off-by: Johan Jonker
---
Change
On 3/11/22 9:25 PM, Simon Glass wrote:
> On Tue, 22 Feb 2022 at 10:20, Sean Anderson wrote:
>>
>> This adds support for using -Og when building U-Boot. According to the
>> gcc man page:
>>
>> > -Og should be the optimization level of choice for the standard
>> > edit-compile-debug cycle, offeri
On Mon, Mar 14, 2022 at 11:36:54AM -0400, Sean Anderson wrote:
>
>
> On 3/11/22 9:25 PM, Simon Glass wrote:
> > On Tue, 22 Feb 2022 at 10:20, Sean Anderson wrote:
> >>
> >> This adds support for using -Og when building U-Boot. According to the
> >> gcc man page:
> >>
> >> > -Og should be the opt
1 - 100 of 183 matches
Mail list logo