Re: [PATCH 0/4] Enable gigadevice and add new part #s

2023-01-04 Thread Michal Simek
On 1/4/23 19:50, Vlim wrote: Thanks, Michal, Thanks for the feedback. I do have some questions regarding the following comments, Second. When I run this for i in `ls configs/xilinx_*`; do NAME=`basename $i`; echo $NAME; make $NAME; make savedefconfig; cp defconfig $i; done I see that

[PATCH v3 3/3] eficonfig: add vertical scroll support

2023-01-04 Thread Masahisa Kojima
The current eficonfig menu does not support vertical scroll, so it can not display the menu entries greater than the console row size. This commit add the vertial scroll support. The console size is retrieved by SIMPLE_TEXT_OUTPUT_PROTOCOL.QueryMode() service, then calculates the row size for

[PATCH v3 2/3] eficonfig: refactor change boot order implementation

2023-01-04 Thread Masahisa Kojima
This commit removes the change boot order specific menu implementation. The change boot order implementation calls eficonfig_process_common() same as other menus. The change boot order menu requires own item_data_print and item_choice implementation, but display_statusline function can be a same

[PATCH v3 1/3] eficonfig: refactor eficonfig_process_common function

2023-01-04 Thread Masahisa Kojima
Current change boot order implementation does not call eficonfig_process_common() and call own menu functions for display_statusline, item_data_print and item_choice. Change boot order functionality should call eficonfig_process_common() to improve maintenanceability. This commit is a preparation

[PATCH v3 0/3] eficonfig: add vertical scroll support and refactoring

2023-01-04 Thread Masahisa Kojima
This series aims to add the vertical scroll for the eficonfig menu. Before adding scroll support, this series does the refactoring of change boot order implementation since it has own menu handling and it should be removed to improve maintenanceability. The eficonfig menu handles file selection

Re: [PATCH] rockchip: rk3328: Set VOP QoS to high priority

2023-01-04 Thread Kever Yang
Hi Nicolas,     I can understand this change can fix the problem you have met.     But this is likely a board specific setting instead of a soc platform setting, rockchip kernel have a qos dts node to set to qos priority for different IP master and this can be customize for different board.

Re: [PATCH v5 1/6] rockchip: px30: fix possibly unused grf and cru variables

2023-01-04 Thread Kever Yang
Hi Quentin,     Seems like this still not fix all the case for board ringneck-px30. I got below error after I fix the CFG_IRAM_BASE:    aarch64:  +   ringneck-px30 +/usr/lib/python3/dist-packages/setuptools/dist.py:473: UserWarning: Normalizing '2023.01' to '2023.1' +  warnings.warn( +In

[PATCH] sunxi: f1c100s: Drop no-MMC hack

2023-01-04 Thread Andre Przywara
When support for the Allwinner F1C100s SoC was originally introduced, its DT lacked any MMC nodes, which upset our sunxi-u-boot.dtsi overlay, when it tried to add an alias to the SD card. To quickly fix this back then, we guarded that alias with a preprocessor macro. Now the F1C100s family has

[PATCH] sunxi: f1c100s: re-enable SYSRESET

2023-01-04 Thread Andre Przywara
The SoC .dtsi originally submitted for the Allwinner F1C100s had the wrong compatible string for the watchdog, which broke U-Boot's reset functionality. To quickly fix this, we disable CONFIG_SYSRESET in cfcf1952c11e6ffcbbf88 ("sunxi: f1c100s: Drop SYSRESET to enable reset functionality"), so that

[PATCH] sunxi: eMMC: support TOC0 on boot partitions

2023-01-04 Thread Andre Przywara
To determine whether we have been booted from an eMMC boot partition, we replay some of the checks that the BROM must have done to successfully load the SPL. This involves a checksum check, which currently relies on the SPL being wrapped in an "eGON" header. If a board has secure boot enabled,

Re: [PATCH] arm: rmobile: rzg2_beacon: Enable alternative Ethernet PHY

2023-01-04 Thread Marek Vasut
On 1/4/23 19:05, Adam Ford wrote: Due to the part shortage, the AR8031 PHY was replaced with a Micrel KSZ9131. Enabling both config options keeps backward compatibility with either platform, and both appear to be auto-detected. Reviewed-by: Marek Vasut (is this material for 2023.01 release

[PATCH] distro_bootcmd: Fix copy-paste error

2023-01-04 Thread Marek Vasut
The "SCRIPT FAILED" string is copied from scan_dev_for_scripts script, update it so it prints "EXTLINUX FAILED" instead in scan_dev_for_extlinux script. Signed-off-by: Marek Vasut --- Cc: Frieder Schrempf Cc: Matwey V. Kornilov Cc: Pali Rohar Cc: Peter Hoyes Cc: Tom Rini ---

[PATCH] arm: stm32mp: Fix board_get_usable_ram_top() again

2023-01-04 Thread Marek Vasut
Do not access gd->ram_size and assume this is actual valid RAM size. Since commit 777706b ("common/memsize.c: Fix get_effective_memsize() to check for overflow") the RAM size may be less than gd->ram_size , call get_effective_memsize() to get the limited value instead. The aforementioned

[PATCH] Revert "time: add weak annotation to timer_read_counter declaration"

2023-01-04 Thread Harald Seiler
This reverts commit 65ba7add0d609bbd035b8d42fafdaf428ac24751. A weak extern is a nasty sight to behold: If the symbol is never defined, on ARM, the linker will replace the function call with a NOP. This behavior isn't well documented but there are at least some hints to it [1]. When

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-04 Thread Marek Vasut
On 1/5/23 00:48, Heinrich Schuchardt wrote: Am 5. Januar 2023 00:19:36 MEZ schrieb Adam Ford : On Wed, Jan 4, 2023 at 5:15 PM Heinrich Schuchardt wrote: On 1/4/23 22:35, Adam Ford wrote: ATF generates a couple memory nodes based on how it's compiled and generates a reserved-memory node, and

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-04 Thread Heinrich Schuchardt
Am 5. Januar 2023 00:19:36 MEZ schrieb Adam Ford : >On Wed, Jan 4, 2023 at 5:15 PM Heinrich Schuchardt wrote: >> >> On 1/4/23 22:35, Adam Ford wrote: >> > ATF generates a couple memory nodes based on how it's compiled and >> > generates a reserved-memory node, and I want to overlay it with the >>

Re: [PATCH 0/8] sunxi: Update H616 DRAM driver

2023-01-04 Thread Andre Przywara
On Wed, 04 Jan 2023 22:02:33 +0100 Jernej Škrabec wrote: Hi Jernej, > Dne sreda, 04. januar 2023 ob 01:47:16 CET je Andre Przywara napisal(a): > > On Sun, 11 Dec 2022 17:32:05 +0100 > > Jernej Skrabec wrote: > > > > Hi Jernej, > > > > > Current H616 DRAM driver is completely customized to

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-04 Thread Adam Ford
On Wed, Jan 4, 2023 at 5:15 PM Heinrich Schuchardt wrote: > > On 1/4/23 22:35, Adam Ford wrote: > > ATF generates a couple memory nodes based on how it's compiled and > > generates a reserved-memory node, and I want to overlay it with the > > device tree so Linux knows about this reserved memory.

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-04 Thread Heinrich Schuchardt
On 1/4/23 22:35, Adam Ford wrote: ATF generates a couple memory nodes based on how it's compiled and generates a reserved-memory node, and I want to overlay it with the device tree so Linux knows about this reserved memory. When I boot U-Boot, I can read the reserved-memory node: => fdt addr

[PATCH 1/1] efi_loader: make .data section of *_efi.so files RW

2023-01-04 Thread Heinrich Schuchardt
When building with binutils 2.39 warnings *_efi.so has a LOAD segment with RWX permissions occur. Use SHF_WRITE | SHF_ALLOC as section flags for the .data section. Signed-off-by: Heinrich Schuchardt --- arch/arm/lib/elf_aarch64_efi.lds | 8 +++- 1 file changed, 7 insertions(+), 1

Applying DTB Overlays from ATF on RZ/G2

2023-01-04 Thread Adam Ford
ATF generates a couple memory nodes based on how it's compiled and generates a reserved-memory node, and I want to overlay it with the device tree so Linux knows about this reserved memory. When I boot U-Boot, I can read the reserved-memory node: => fdt addr 0xe631e588 Working FDT set to

Re: [PATCH 8/8] sunxi: Parameterize H616 DRAM code some more

2023-01-04 Thread Jernej Škrabec
Dne sreda, 04. januar 2023 ob 01:38:12 CET je Andre Przywara napisal(a): > On Sun, 11 Dec 2022 17:32:13 +0100 > > Jernej Skrabec wrote: > > Part of the code, previously known as "unknown feature" also doesn't > > have constant values. They are derived from TPR0 parameter in vendor > > DRAM code.

Re: [PATCH 7/8] sunxi: Parameterize bit delay code in H616 DRAM driver

2023-01-04 Thread Jernej Škrabec
Dne sreda, 04. januar 2023 ob 01:37:47 CET je Andre Przywara napisal(a): > On Sun, 11 Dec 2022 17:32:12 +0100 > Jernej Skrabec wrote: > > Hi Jernej, > > > These values are highly board specific and thus make sense to add > > parameter for them. To ease adding support for new boards, let's make

Re: [PATCH 5/8] sunxi: Always configure ODT on H616 DRAM

2023-01-04 Thread Jernej Škrabec
Dne sreda, 04. januar 2023 ob 01:37:17 CET je Andre Przywara napisal(a): > On Sun, 11 Dec 2022 17:32:10 +0100 > > Jernej Skrabec wrote: > > Vendor H616 DRAM code always configure part which we call ODT > > configuration. Let's reflect that here too. > > I wonder if we need this patch at all.

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-04 Thread Tony Dinh
Hello, On Wed, Jan 4, 2023 at 9:44 AM Pali Rohár wrote: > > On Wednesday 04 January 2023 23:41:05 Chris Packham wrote: > > On Wed, 4 Jan 2023, 8:52 PM Pali Rohár, wrote: > > > > > On Wednesday 04 January 2023 08:50:28 Pali Rohár wrote: > > > > Hello! > > > > > > > > On Tuesday 03 January 2023

Re: [PATCH 0/8] sunxi: Update H616 DRAM driver

2023-01-04 Thread Jernej Škrabec
Hi Andre! Dne sreda, 04. januar 2023 ob 01:47:16 CET je Andre Przywara napisal(a): > On Sun, 11 Dec 2022 17:32:05 +0100 > Jernej Skrabec wrote: > > Hi Jernej, > > > Current H616 DRAM driver is completely customized to Orange Pi Zero2 > > board, which is currently the only H616 board supported

Re: Pull request for efi-2023-01-rc5-3

2023-01-04 Thread Tom Rini
On Wed, Jan 04, 2023 at 02:39:54PM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 582e3c9fb2337c2f49faa73ac86dde25f4d56901: > > Merge https://source.denx.de/u-boot/custodians/u-boot-marvell > (2023-01-02 09:36:13 -0500) > > are available in the Git

Re: [PATCH 0/4] Enable gigadevice and add new part #s

2023-01-04 Thread Vlim
Thanks, Michal, Thanks for the feedback. I do have some questions regarding the following comments, Second. When I run this for i in `ls configs/xilinx_*`; do NAME=`basename $i`; echo $NAME; make $NAME; make savedefconfig; cp defconfig $i; done I see that locations your added entries are not

Re: [PATCH 2/5] video console: refactoring and optimization

2023-01-04 Thread Simon Glass
Hi Dzmitry, On Wed, 4 Jan 2023 at 04:17, Dzmitry Sankouski wrote: > > Regarding code-size there's a gain with CONFIG_CONSOLE_ROTATION > enabled, and penalty with disabled: > > New: > CONFIG_VIDEO_CONSOLE=y > CONFIG_CONSOLE_ROTATION=y > dzmitry@debian:~/side/u-boot$ du --bytes

Re: [PATCH 3/3] bootm: Support boot measurement

2023-01-04 Thread Simon Glass
Hi Eddie, On Tue, 3 Jan 2023 at 13:42, Eddie James wrote: > > Add a configuration option to measure the boot through the bootm > function. > > Signed-off-by: Eddie James > --- > boot/bootm.c| 53 + > cmd/bootm.c | 2 ++ > common/Kconfig

Re: [PATCH 1/2] clk: Allow clk_get_by_name() with NULL name

2023-01-04 Thread Simon Glass
Hi Samuel, On Sun, 27 Nov 2022 at 22:54, Samuel Holland wrote: > > This allows devm_clock_get(dev, NULL) to work and get the first clock, > which is common in code ported from Linux. > > Signed-off-by: Samuel Holland > --- > > drivers/clk/clk-uclass.c | 5 +++-- > 1 file changed, 3

Re: [PATCH 2/2] reset: Allow reset_get_by_name() with NULL name

2023-01-04 Thread Simon Glass
Hi Samuel, On Sun, 27 Nov 2022 at 22:54, Samuel Holland wrote: > > This allows devm_reset_control_get(dev, NULL) to work and get the first > reset control, which is common in code ported from Linux. > > Signed-off-by: Samuel Holland > --- > > drivers/reset/reset-uclass.c | 5 +++-- > 1 file

Re: [PATCH v8 09/13] rockchip: Use multiple-images for rk3399

2023-01-04 Thread Simon Glass
Hi Quentin, On Mon, 2 Jan 2023 at 09:42, Quentin Schulz wrote: > > Hi Simon, > > On 12/22/22 00:07, Simon Glass wrote: > > Enable multiple-images so we can generate more than one image. Also > > add a comment for the end of the #if block. > > > > Signed-off-by: Simon Glass > > --- > > > > (no

Re: [PATCH 0/3] tpm: Support boot measurements

2023-01-04 Thread Simon Glass
Hi Eddie, On Wed, 4 Jan 2023 at 07:55, Eddie James wrote: > > > On 1/4/23 01:47, Ilias Apalodimas wrote: > > Hi Eddie, > > Thanks for the patch > > > > Looking at the patch there's a lot of code duplication with > > lib/efi_loader/efi_tcg2.c. > > Any reason why we aren't reusing that ? > > > Hi,

Re: [PATCH 00/17] Support android boot image v3/v4

2023-01-04 Thread Simon Glass
Hi Safae, On Wed, 4 Jan 2023 at 02:02, safae ouajih wrote: > > On 30/12/2022 02:48, Tom Rini wrote: > > On Sat, 26 Nov 2022 17:59:14 +0100, Safae Ouajih wrote: > > > >> * This is based on Roman Stratiienko's work to support boot image header > >> version 3 and 4. > >> > >> * This supports the

Re: [PATCH] rockchip: Fix the broken Video out for rk3288 boards

2023-01-04 Thread Simon Glass
On Mon, 2 Jan 2023 at 11:24, Jagan Teki wrote: > > Video out on RK3288 boards has been broken since from few > releases due to the adding of reset support on vop but > missed enabling DM_RESET on associated boards. > > This patch fixes those RK3288 boards. > > Cc: Simon Glass > Cc: Lin Huang >

Re: [PATCH] pylibfdt: Fix disable version normalization

2023-01-04 Thread Simon Glass
Hi Philippe, On Wed, 4 Jan 2023 at 07:44, Philippe Schenker wrote: > > From: Philippe Schenker > > On Arch Linux based systems python setuptools does not contain > "setuptools.extern" hence it is failing with the following > error-message: > " > ModuleNotFoundError: No module named

Re: [PATCH v1 15/17] riscv: dts: jh7110: Add initial u-boot device tree

2023-01-04 Thread Sean Anderson
On 12/11/22 21:50, Yanhong Wang wrote: Add initial u-boot device tree for the JH7110 RISC-V SoC. Signed-off-by: Yanhong Wang --- arch/riscv/dts/jh7110-u-boot.dtsi | 86 +++ 1 file changed, 86 insertions(+) create mode 100644 arch/riscv/dts/jh7110-u-boot.dtsi

[PATCH] arm: rockchip: Fix binman_init failure on RK3568

2023-01-04 Thread Jagan Teki
For some newer SoCs like RK3568, the Rockchip has not released any DDR drivers yet so idbloader needs to create manually using DDR binaries offered by rkbin. This indeed no requirement to enable TPL in the U-Boot source code. If we mark TPL disabled and mark BINMAN enabled by default then there

Re: [PATCH v1 10/17] board: starfive: add StarFive VisionFive v2 board support

2023-01-04 Thread Sean Anderson
On 12/11/22 21:50, Yanhong Wang wrote: Add board support for StarFive VisionFive v2. Signed-off-by: Yanhong Wang --- board/starfive/visionfive2/MAINTAINERS| 7 ++ board/starfive/visionfive2/Makefile | 7 ++ board/starfive/visionfive2/spl.c | 119

Re: [PATCH v1 06/17] clk: starfive: Add StarFive JH7110 clock driver

2023-01-04 Thread Sean Anderson
On 12/11/22 21:50, Yanhong Wang wrote: Add a DM clock driver for StarFive JH7110 SoC. Signed-off-by: Yanhong Wang --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/starfive/Kconfig | 15 +

[PATCH 2/2] configs: verdin-imx8mm: Add bootaux command

2023-01-04 Thread Philippe Schenker
From: Philippe Schenker The i.MX 8M Mini SoC does incorporate an additional M-Core. To be able to load it with a firmware, enable bootaux command as other Toradex modules also have it enabled to be consistent. Signed-off-by: Philippe Schenker --- configs/verdin-imx8mm_defconfig | 1 + 1

[PATCH 1/2] imx: bootaux: Fix build warning when LTO is enabled

2023-01-04 Thread Philippe Schenker
From: Francesco Dolcini Fix conflicting declaration of hostmap[] variable. When building with CONFIG_LTO=y we get the following warning: KSLCC keep-syms-lto.o LTO u-boot arch/arm/mach-imx/imx_bootaux.c:24:31: warning: type of ‘hostmap’ does not match original declaration

Re: [PATCH v1 01/11] clk: rockchip: rk3568: fix reset handler

2023-01-04 Thread Jagan Teki
On Tue, Feb 22, 2022 at 7:01 AM 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") > >

[PATCH] arm: rmobile: rzg2_beacon: Enable alternative Ethernet PHY

2023-01-04 Thread Adam Ford
Due to the part shortage, the AR8031 PHY was replaced with a Micrel KSZ9131. Enabling both config options keeps backward compatibility with either platform, and both appear to be auto-detected. Signed-off-by: Adam Ford diff --git a/configs/rzg2_beacon_defconfig b/configs/rzg2_beacon_defconfig

Re: [PATCH v5 04/19] clk: at91: pmc: export clock setup to pmc

2023-01-04 Thread Sean Anderson
On 12/22/22 05:53, Sergiu Moga wrote: From: Claudiu Beznea Clock setup was intended for setting clocks at boot time on SAMA7G5, e.g. for root clocks like PLLs, that were used to feed IPs needed alive in u-boot (e.g. Ethernet clock feed by a PLL). Export this functionality to all at91 clocks as

Re: [PATCH v5 05/19] clk: at91: sam9x60: Add initial setup of UPLL and USBCK rates

2023-01-04 Thread Sean Anderson
On 12/22/22 05:53, Sergiu Moga wrote: In order for some of the functionalities, such as the USB clocks, to work properly we need some clocks to be properly initialised at the very beginning of booting. Signed-off-by: Sergiu Moga --- v1 -> v2: - Adapted according to the additional 04/19

Re: [PATCH v5 03/19] clk: at91: sam9x60: Register the required clocks for USB

2023-01-04 Thread Sean Anderson
On 12/22/22 05:53, Sergiu Moga wrote: Register into DM the clocks required to properly enable USB functionality within the bootloader. Signed-off-by: Sergiu Moga --- v1 -> v2: - No change v2 -> v3: - Remove the no longer required #if CONFIG_IS_ENABLED(AT91_SAM9X60_USB) v3 -> v5: - No

Re: [PATCH v5 02/19] clk: at91: Add support for sam9x60 USB clock

2023-01-04 Thread Sean Anderson
On 12/22/22 05:53, Sergiu Moga wrote: Implement sam9x60 USB clock driver. This clock has three parents: PLLA, UPLL and MAINXTAL. The driver is aware of the three possible parents with the help of the two mux tables provied to the driver during the registration of the clock. Signed-off-by:

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-04 Thread Pali Rohár
On Wednesday 04 January 2023 23:41:05 Chris Packham wrote: > On Wed, 4 Jan 2023, 8:52 PM Pali Rohár, wrote: > > > On Wednesday 04 January 2023 08:50:28 Pali Rohár wrote: > > > Hello! > > > > > > On Tuesday 03 January 2023 17:55:41 Tony Dinh wrote: > > > > Hi Pali, > > > > > > > > I'm building a

Re: [PATCH] clk: sunxi: Add an A31/A23/A33 legacy PRCM MFD driver

2023-01-04 Thread Sean Anderson
On 11/18/22 23:47, Samuel Holland wrote: When the CCU binding and driver for the PRCM were written, it seems the intention was to convert the A31 and A23/A33 devicetrees to use them. However, that never happened, so those SoCs still use the old binding, with an MFD for the PRCM, and separate DT

Re: [PATCH 3/3] clk: imx8mn: fix imx8mn_enet_phy_sels clocks list

2023-01-04 Thread Sean Anderson
On 12/19/22 06:31, Dario Binacchi wrote: [backport from linux commit 2626cf67f20b28446dfc3a5b9493dd535cdb747b] According to the "Clock Root" table of the reference manual (document IMX8MNRM Rev 2, 07/2022): Clock Root offset Source Select (CCM_TARGET_ROOTn[MUX]) ...

Re: [PATCH 2/3] clk: imx: rename video_pll1 to video_pll

2023-01-04 Thread Sean Anderson
On 12/19/22 06:31, Dario Binacchi wrote: [backport from linux commit bedcf9d1dcf88ed38731f0ac9620e5a421e1e9d6] Unlike audio_pll1 and audio_pll2, there is no video_pll2. Further, the name used in the RM is video_pll. So, let's rename "video_pll1" to "video_pll" to be consistent with the RM and

Re: [PATCH 1/3] clk: imx8mn: rename vpu_pll to m7_alt_pll

2023-01-04 Thread Sean Anderson
On 12/19/22 06:31, Dario Binacchi wrote: [backport from linux commit a429c60baefd95ab43a2ce7f25d5b2d7a2e431df] The IMX8MN platform does not have any video processing unit (VPU), and indeed in the reference manual (document IMX8MNRM Rev 2, 07/2022) there is no occurrence of its pll. From an

Re: [PATCH 2/2] reset: Allow reset_get_by_name() with NULL name

2023-01-04 Thread Sean Anderson
On 11/28/22 00:53, Samuel Holland wrote: This allows devm_reset_control_get(dev, NULL) to work and get the first reset control, which is common in code ported from Linux. Signed-off-by: Samuel Holland --- drivers/reset/reset-uclass.c | 5 +++-- 1 file changed, 3 insertions(+), 2

Re: [PATCH 1/2] clk: Allow clk_get_by_name() with NULL name

2023-01-04 Thread Sean Anderson
On 11/28/22 00:53, Samuel Holland wrote: This allows devm_clock_get(dev, NULL) to work and get the first clock, nit: devm_clk_get which is common in code ported from Linux. Signed-off-by: Samuel Holland --- drivers/clk/clk-uclass.c | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH v2] usb: gadget: fastboot: detach usb just before rebooting

2023-01-04 Thread Dario Binacchi
The patch fixes the following error when updating a BSH SMM S2 board: 3:72>Start Cmd:FB[-t 8000]: ucmd nand write ${loadaddr} nanddtb ${filesize} 3:72>Okay (0.023s) 3:72>Start Cmd:FB: reboot 3:72>Fail Bulk(R):LIBUSB_ERROR_IO(0s) The "fastboot reboot" command detaches the USB when it still needs

Re: riscv64 regression

2023-01-04 Thread Heinrich Schuchardt
On 1/4/23 16:49, Heinrich Schuchardt wrote: On 1/4/23 16:34, Alex wrote: Seeing a regression in functionality across multiple devices. I did a bit of bisecting, here's the path: Thu May 5 19:37:22 2022 -0400 working: 03b873b4f41010e4f85a72dd59016bb0b123dde1 gcc 11.1.0 no build:

[PATCH v2] arm: dts: imx8mn-u-boot: fix DDR3 only support

2023-01-04 Thread Dario Binacchi
In case the CONFIG_IMX8M_LPDDR4 and CONFIG_IMX8M_DDR4 options are both disabled (i. e. BSH boards), binmain fails because DDR4 bin files are missing. Fixes: 93c4c0e4dd1e75 ("arm: dts: imx8mn-u-boot: Create common imx8mn-u-boot.dtsi") Signed-off-by: Dario Binacchi Reviewed-by: Michael Trimarchi

Re: [PATCH] arm: dts: imx8mn-u-boot: fix DD3 only support

2023-01-04 Thread Michael Nazzareno Trimarchi
Hi On Wed, Jan 4, 2023 at 5:17 PM Dario Binacchi wrote: > > In case the CONFIG_IMX8M_LPDDR4 and CONFIG_IMX8M_DDR4 options are both > disabled (i. e. BSH boards), binmain fails because DD4 bin files are DD4 DDR4 > missing. > > Fixes: 93c4c0e4dd1e75 ("arm: dts: imx8mn-u-boot: Create common >

Re: [PATCH] usb: gadget: fastboot: detach usb just before rebooting

2023-01-04 Thread Marek Vasut
On 1/4/23 17:16, Dario Binacchi wrote: The patch fixes the following error when updating a BSH SMM S2 board: 3:72>Start Cmd:FB[-t 8000]: ucmd nand write ${loadaddr} nanddtb ${filesize} 3:72>Okay (0.023s) 3:72>Start Cmd:FB: reboot 3:72>Fail Bulk(R):LIBUSB_ERROR_IO(0s) The "fastboot reboot"

[PATCH] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-01-04 Thread Dario Binacchi
The Linux kernel device tree already specifies the device to be used for boot console output with a stdout-path property under /chosen. Fixes: 36b661dc919da ("Merge branch 'next'") Signed-off-by: Dario Binacchi --- include/configs/imx8mn_bsh_smm_s2.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] arm: dts: imx8mn-u-boot: fix DD3 only support

2023-01-04 Thread Dario Binacchi
In case the CONFIG_IMX8M_LPDDR4 and CONFIG_IMX8M_DDR4 options are both disabled (i. e. BSH boards), binmain fails because DD4 bin files are missing. Fixes: 93c4c0e4dd1e75 ("arm: dts: imx8mn-u-boot: Create common imx8mn-u-boot.dtsi") Signed-off-by: Dario Binacchi ---

[PATCH] usb: gadget: fastboot: detach usb just before rebooting

2023-01-04 Thread Dario Binacchi
The patch fixes the following error when updating a BSH SMM S2 board: 3:72>Start Cmd:FB[-t 8000]: ucmd nand write ${loadaddr} nanddtb ${filesize} 3:72>Okay (0.023s) 3:72>Start Cmd:FB: reboot 3:72>Fail Bulk(R):LIBUSB_ERROR_IO(0s) The "fastboot reboot" command detaches the USB when it still needs

Re: [PATCH] arm: dts: rz-g2-beacon-u-boot: Fix QSPI Regression

2023-01-04 Thread Marek Vasut
On 1/4/23 16:53, Adam Ford wrote: The QSPI is accessed via the RPC-IF, but the compatible flags previously used a different name. This compatibel name was changed which broke the ability to access the QSPI. Fix this by removing the custom naming reference. Fixes: 68083b897b57 ("renesas: Fix

[PATCH] arm: dts: rz-g2-beacon-u-boot: Fix QSPI Regression

2023-01-04 Thread Adam Ford
The QSPI is accessed via the RPC-IF, but the compatible flags previously used a different name. This compatibel name was changed which broke the ability to access the QSPI. Fix this by removing the custom naming reference. Fixes: 68083b897b57 ("renesas: Fix RPC-IF compatible values")

Re: riscv64 regression

2023-01-04 Thread Heinrich Schuchardt
On 1/4/23 16:34, Alex wrote: Seeing a regression in functionality across multiple devices. I did a bit of bisecting, here's the path: Thu May 5 19:37:22 2022 -0400 working: 03b873b4f41010e4f85a72dd59016bb0b123dde1 gcc 11.1.0 no build: 03b873b4f41010e4f85a72dd59016bb0b123dde1 gcc 12.2.0

Re: [PATCH 1/6] ARM: dts: sam9x60: Add OHCI and EHCI DT nodes

2023-01-04 Thread Marek Vasut
On 1/4/23 11:11, eugen.hris...@microchip.com wrote: On 1/4/23 11:38, Marek Vasut wrote: On 1/4/23 08:30, eugen.hris...@microchip.com wrote: On 1/3/23 01:12, Marek Vasut wrote: On 12/23/22 13:33, Sergiu Moga wrote: Add the OHCI and EHCI DT nodes for the sam9x60 boards. Signed-off-by: Sergiu

Re: [PATCH] pylibfdt: Fix disable version normalization

2023-01-04 Thread Tom Rini
On Wed, Jan 04, 2023 at 03:51:08PM +0100, Marek Vasut wrote: > On 1/4/23 15:43, Philippe Schenker wrote: > > From: Philippe Schenker > > > > On Arch Linux based systems python setuptools does not contain > > "setuptools.extern" hence it is failing with the following > > error-message: > > " > >

Re: riscv64 regression

2023-01-04 Thread Alexander von Gluck IV
January 4, 2023 9:35 AM, "Alex" wrote: > Seeing a regression in functionality across multiple devices. I did a bit of > bisecting, here's the > path: EEh. Just added another data point. The breakage for us happens on the gcc 11.3.0 upgrade of u-boot, not the 12.2.0 upgrade of u-boot. Thu

riscv64 regression

2023-01-04 Thread Alex
Seeing a regression in functionality across multiple devices. I did a bit of bisecting, here's the path: Thu May 5 19:37:22 2022 -0400 working: 03b873b4f41010e4f85a72dd59016bb0b123dde1 gcc 11.1.0 no build: 03b873b4f41010e4f85a72dd59016bb0b123dde1 gcc 12.2.0 unrecognized opcode `csrs

Re: [PATCH V4 00/12] AM68: Add support for AM68 Starter Kit

2023-01-04 Thread Sinthu Raja M
On Wed, Jan 4, 2023 at 3:14 PM Sinthu Raja wrote: > > From: Sinthu Raja > > Hi All, > This series of patch add initial support for AM68 starter kit. > Design files can be referrred from https://www.ti.com/lit/zip/SPRR463 > > Refer below link to J721S2/AM68 Technical Reference Manual for further

Re: [PATCH 3/3] bootm: Support boot measurement

2023-01-04 Thread Eddie James
On 1/4/23 03:56, Etienne Carriere wrote: Hello Eddie and all, On Tue, 3 Jan 2023 at 21:42, Eddie James wrote: Add a configuration option to measure the boot through the bootm function. Signed-off-by: Eddie James --- boot/bootm.c| 53 +

Re: [PATCH 0/3] tpm: Support boot measurements

2023-01-04 Thread Eddie James
On 1/4/23 01:47, Ilias Apalodimas wrote: Hi Eddie, Thanks for the patch Looking at the patch there's a lot of code duplication with lib/efi_loader/efi_tcg2.c. Any reason why we aren't reusing that ? Hi, Well the EFI code can't be used directly without configuring to include the EFI

Re: [PATCH] pylibfdt: Fix disable version normalization

2023-01-04 Thread Marek Vasut
On 1/4/23 15:43, Philippe Schenker wrote: From: Philippe Schenker On Arch Linux based systems python setuptools does not contain "setuptools.extern" hence it is failing with the following error-message: " ModuleNotFoundError: No module named 'setuptools.extern' " According to a eschwartz

[PATCH] pylibfdt: Fix disable version normalization

2023-01-04 Thread Philippe Schenker
From: Philippe Schenker On Arch Linux based systems python setuptools does not contain "setuptools.extern" hence it is failing with the following error-message: " ModuleNotFoundError: No module named 'setuptools.extern' " According to a eschwartz `setuptools.extern` is not a public API and

Re: [PATCH v3 3/3] usb: ohci-at91: Add USB PHY functionality

2023-01-04 Thread Marek Vasut
On 1/4/23 15:08, Sergiu Moga wrote: Add the ability to enable/disable whatever USB PHY's are passed to the AT91 OHCI driver through DT. Signed-off-by: Sergiu Moga Tested-by: Mihai Sain Reviewed-by: Marek Vasut Thanks

Re: [PATCH v3 6/9] ARM: dts: sama7g5: Add USB and UTMI DT nodes

2023-01-04 Thread Marek Vasut
On 1/4/23 15:04, Sergiu Moga wrote: Define the USB and UTMI DT nodes for the sama7g5 SoC's. Since these have not yet been defined in upstream Linux, place them in the U-Boot specific DT file. Signed-off-by: Sergiu Moga Reviewed-by: Marek Vasut

Re: [PATCH v3 1/9] ARM: dts: sam9x60: Add OHCI and EHCI DT nodes

2023-01-04 Thread Marek Vasut
On 1/4/23 15:04, Sergiu Moga wrote: Add the OHCI and EHCI DT nodes for the sam9x60 SoC's. Signed-off-by: Sergiu Moga Reviewed-by: Marek Vasut

Re: [PATCH v2 1/9] ARM: dts: sam9x60: Add OHCI and EHCI DT nodes

2023-01-04 Thread Marek Vasut
On 1/4/23 11:17, sergiu.m...@microchip.com wrote: On 04.01.2023 11:56, Marek Vasut wrote: On 1/4/23 08:24, eugen.hris...@microchip.com wrote: On 1/3/23 18:00, Marek Vasut wrote: On 1/3/23 16:56, sergiu.m...@microchip.com wrote: On 03.01.2023 17:47, Marek Vasut wrote: On 1/3/23 16:35, Sergiu

[PATCH v3 3/3] usb: ohci-at91: Add USB PHY functionality

2023-01-04 Thread Sergiu Moga
Add the ability to enable/disable whatever USB PHY's are passed to the AT91 OHCI driver through DT. Signed-off-by: Sergiu Moga Tested-by: Mihai Sain --- v1 -> v2: - use *_bulk API's v2 -> v3: - use if (CONFIG_IS_ENABLED(...)) drivers/usb/host/ohci-at91.c | 28

[PATCH v3 2/3] usb: ohci-at91: Enable OHCI functionality and register into DM

2023-01-04 Thread Sergiu Moga
Register the OHCI driver into DM by properly initializing the required clocks and pins required by the DT node of OHCI. In order for the VBUS to stay enabled, a `child_pre_probe` method has been added to overcome the DM core disabling it in `usb_scan_device`: when the generic `device_probe` method

[PATCH v3 1/3] phy: at91: Add support for the USB 2.0 PHY's of SAMA7

2023-01-04 Thread Sergiu Moga
In order to have USB functionality, drivers for SAMA7's USB 2.0 PHY's have been added. There is one driver for UTMI clock's SFR and RESET required functionalities and one for its three possible subclocks of the phy's themselves. In order for this layout to properly work in conjunction with CCF and

[PATCH v3 0/3] Register at91 OHCI into DM and add SAMA7 USB PHY's

2023-01-04 Thread Sergiu Moga
This patch series originates from a bigger patch series: https://lists.denx.de/pipermail/u-boot/2022-December/502865.html Register ohci-at91 driver into Driver Model. In order for the VBUS to stay enabled, a `child_pre_probe` method has been added to overcome the DM core disabling it in

[PATCH v3 4/9] dt-bindings: reset: add sama7g5 definitions

2023-01-04 Thread Sergiu Moga
Upstream linux commit 5994f58977e0. Add reset bindings for SAMA7G5. At the moment only USB PHYs are included. The three reset USB phy's have their ID's mapped from 4 to 6. There are no USB phy's with ID's numbered from 0 to 3. Signed-off-by: Sergiu Moga --- v1 -> v2: - nothing v2 -> v3: -

[PATCH v3 9/9] ARM: dts: sama5d27_wlsom1_ek: Add pinctrl nodes for USB DT nodes

2023-01-04 Thread Sergiu Moga
Add the pinctrl nodes required by the USB related DT nodes. Signed-off-by: Sergiu Moga --- v1 -> v3: - nothing arch/arm/dts/at91-sama5d27_wlsom1_ek.dts | 25 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/at91-sama5d27_wlsom1_ek.dts

[PATCH v3 8/9] ARM: dts: sama5d2_icp: Add pinctrl nodes for USB related DT nodes

2023-01-04 Thread Sergiu Moga
Add the pinctrl subnodes required by the USB related DT nodes. Signed-off-by: Sergiu Moga --- v1 -> v3: - nothing arch/arm/dts/at91-sama5d2_icp.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_icp.dts

[PATCH v3 7/9] ARM: dts: sama7g5ek: Add pinctrl, gpio and phy properties for USB

2023-01-04 Thread Sergiu Moga
Add the required pinctrl, gpio and phy properties required by the USB DT nodes of the sama7g5ek boards. Since these have not yet been defined in upstream Linux, place them in the U-Boot specific DT file. Signed-off-by: Sergiu Moga --- v1 -> v2: - this patch was not here, previously split from

[PATCH v3 6/9] ARM: dts: sama7g5: Add USB and UTMI DT nodes

2023-01-04 Thread Sergiu Moga
Define the USB and UTMI DT nodes for the sama7g5 SoC's. Since these have not yet been defined in upstream Linux, place them in the U-Boot specific DT file. Signed-off-by: Sergiu Moga --- v1 -> v2: - use usb@ v2 -> v3: - place definitions in the U-Boot specific file and mention it in the

[PATCH v3 3/9] ARM: dts: sam9x60ek: Add pinctrl and gpio properties for USB

2023-01-04 Thread Sergiu Moga
Add the required pinctrl and gpio properties required by the USB DT nodes of the sam9x60ek boards. Signed-off-by: Sergiu Moga --- v1 -> v2: - this patch was not here, previously split from 1/6 of v1 v2 -> v3: - nothing arch/arm/dts/sam9x60ek.dts | 21 + 1 file changed,

[PATCH v3 5/9] dt-bindings: clk: at91: Define additional UTMI related clocks

2023-01-04 Thread Sergiu Moga
Add definitions for an additional main UTMI clock as well as its respective subclocks. Signed-off-by: Sergiu Moga --- v1 -> v2: - nothing v2 -> v3: - added USB_ prefix include/dt-bindings/clk/at91.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/dt-bindings/clk/at91.h

[PATCH v3 2/9] ARM: dts: sam9x60_curiosity: Add pinctrl and gpio properties for USB

2023-01-04 Thread Sergiu Moga
Add the required pinctrl and gpio properties needed by the USB DT nodes of the sam9x60_curiosity boards. Signed-off-by: Sergiu Moga --- v1 -> v2: - this patch was not here, previously split from 1/6 of v1 v2 -> v3: - nothing arch/arm/dts/at91-sam9x60_curiosity.dts | 21

[PATCH v3 0/9] Add DT USB definitions for SAM9X60, SAMA5D2 and SAMA7

2023-01-04 Thread Sergiu Moga
This patch series originates from the bigger patch series: https://lists.denx.de/pipermail/u-boot/2022-December/502865.html Add the basic DT USB definitions for SAM9X60, SAMA5D2 and SAMA7. The required pinctrl definitions have been added as well as additional definitions for the UTMI related

[PATCH v3 1/9] ARM: dts: sam9x60: Add OHCI and EHCI DT nodes

2023-01-04 Thread Sergiu Moga
Add the OHCI and EHCI DT nodes for the sam9x60 SoC's. Signed-off-by: Sergiu Moga --- v1 -> v2: - use usb@ v2 -> v3: - Nothing arch/arm/dts/sam9x60.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi index

[PATCH v2 2/2] reset: at91: Add reset driver for basic assert/deassert operations

2023-01-04 Thread Sergiu Moga
Add support for at91 reset controller's basic assert/deassert operations. Since this driver conflicts with the SYSRESET driver because they both bind to the same RSTC node, implement a custom bind hook that would manually bind the sysreset driver, if enabled, to the same RSTC DT node. Furthermore,

[PATCH v2 1/2] ARM: at91: add sama7 SFR definitions

2023-01-04 Thread Sergiu Moga
From: Cristian Birsan Special Function Registers(SFR) definitions for SAMA7 product family. Signed-off-by: Cristian Birsan Signed-off-by: Sergiu Moga --- v1 -> v2: - nothing arch/arm/mach-at91/include/mach/sama7-sfr.h | 59 + 1 file changed, 59 insertions(+) create

[PATCH v2 0/2] Add basic reset driver for assert/deassert operations

2023-01-04 Thread Sergiu Moga
This patch series originates from: https://lists.denx.de/pipermail/u-boot/2022-December/502865.html Implement a basic driver to enable assert/deassert operations. v1 -> v2: - rebase on u-boot next Cristian Birsan (1): ARM: at91: add sama7 SFR definitions Sergiu Moga (1): reset: at91: Add

Re: Pull request for u-boot-nand-20230103

2023-01-04 Thread Tom Rini
On Wed, Jan 04, 2023 at 08:15:02AM +0100, Dario Binacchi wrote: > Hi Tom, > > The following changes since commit 582e3c9fb2337c2f49faa73ac86dde25f4d56901: > > Merge https://source.denx.de/u-boot/custodians/u-boot-marvell > (2023-01-02 09:36:13 -0500) > > are available in the Git repository

Pull request for efi-2023-01-rc5-3

2023-01-04 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 582e3c9fb2337c2f49faa73ac86dde25f4d56901: Merge https://source.denx.de/u-boot/custodians/u-boot-marvell (2023-01-02 09:36:13 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git

Re: [PATCH v2 1/4] doc: man-page for the part command

2023-01-04 Thread Heinrich Schuchardt
On 12/22/22 11:30, Enric Balletbo i Serra wrote: Provide a man-page for the part command. Signed-off-by: Enric Balletbo i Serra --- Changes in v2: - New patch (1) in the series to fix a trivial type - New patch (2) in the series to introduce the documentation of the part type command

  1   2   >