Re: [PATCH v3 58/76] Drop ubsha1 tool

2023-02-22 Thread Peter Robinson
On Tue, Feb 21, 2023 at 7:42 PM Simon Glass wrote: > > Hi Peter, > > On Mon, 20 Feb 2023 at 03:16, Peter Robinson wrote: > > > > On Wed, Feb 1, 2023 at 8:46 PM Simon Glass wrote: > > > > > > This seems to have been used by ppc4xx which was removed a wh

[PATCH] rpi: Update the RPi Zero 2W DT filename

2023-02-28 Thread Peter Robinson
Update the Raspberry Pi Zero 2W device tree file name to match what landed upstream. Signed-off-by: Peter Robinson --- board/raspberrypi/rpi/rpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 8603c93de77

[PATCH] rpi: Use OF_BOARD rather than OF_EMBED

2023-02-28 Thread Peter Robinson
e the upstream kernel DT. Signed-off-by: Peter Robinson --- configs/rpi_0_w_defconfig | 2 +- configs/rpi_2_defconfig| 2 +- configs/rpi_3_32b_defconfig| 2 +- configs/rpi_3_b_plus_defconfig | 2 +- configs/rpi_3_defconfig| 2 +- configs/rpi_4_32b_defconfig| 1 + co

Re: [PATCH 5/9] drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL

2023-03-13 Thread Peter Robinson
On Mon, Mar 13, 2023 at 10:17 AM Nikhil M Jain wrote: > > To enable TIDSS driver only at SPL stage add rule to compile the TIDSS > video driver, for SPL stage only if CONFIG_SPL_VIDEO_TIDSS is > defined. > > Signed-off-by: Nikhil M Jain > Reviewed-by: Devarsh Thakkar > --- > drivers/video/Makef

Re: [PATCH 2/3] rockchip: Disable DISTRO_DEFAULTS for rockpro64

2023-03-16 Thread Peter Robinson
On Wed, Feb 22, 2023 at 7:17 PM Tom Rini wrote: > > On Wed, Feb 22, 2023 at 12:03:58PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 22 Feb 2023 at 12:01, Tom Rini wrote: > > > > > > On Wed, Feb 22, 2023 at 11:58:37AM -0700, Simon Glass wrote: > > > > Hi, > > > > > > > > On Wed, 22 Feb 20

Re: [RFC] rockchip: rk3308: fix "same-as-spl" bug in boot devices order

2023-07-03 Thread Peter Robinson
On Mon, Jul 3, 2023 at 6:59 PM Pegorer Massimo wrote: > > Value "same-as-spl" in uboot,spl-boot-order attribute is not working for > boards based on rk3308 due to mismatch between definitions in rk3308.c > and those in rk3308.dtsi: in the first file boot devices are defined as > "/mcc@ff4", wh

Re: Uboot uefi problem

2023-07-25 Thread Peter Robinson
On Tue, Jul 25, 2023 at 7:55 PM Mr Academia Euforia wrote: > > Hi there, > > I am playing around with qemu arm image of UBoot, and I'm trying to figure > out how much of UEFI work actually works. > > I don't currently have any real arm machine I could use for that, so I > chose qemu. > In any case

Re: U-Boot 2023.10 does not boot from uSD on RPi4

2023-10-13 Thread Peter Robinson
On Tue, Oct 10, 2023 at 3:58 PM Simon Glass wrote: > > Hi, > > On Tue, 10 Oct 2023 at 04:39, Guillaume Gardet > wrote: > > > > > > > > > -----Original Message- > > > From: Peter Robinson > > > Sent: Tuesday, October 10, 2023 12:2

Re: U-Boot 2023.10 does not boot from uSD on RPi4

2023-10-13 Thread Peter Robinson
On Fri, Oct 13, 2023 at 5:09 PM Peter Robinson wrote: > > On Tue, Oct 10, 2023 at 3:58 PM Simon Glass wrote: > > > > Hi, > > > > On Tue, 10 Oct 2023 at 04:39, Guillaume Gardet > > wrote: > > > > > > > > > > > > > ---

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-19 Thread Peter Robinson
On Wed, Oct 18, 2023 at 4:29 PM Simon Glass wrote: > > Hi Tom, > > On Wed, 18 Oct 2023 at 07:37, Tom Rini wrote: > > > > On Mon, Oct 16, 2023 at 04:28:13PM -0600, Simon Glass wrote: > > > > > Since efi_device_path.c calls eth_get_dev() and assumes that Ethernet is > > > available, add it as an ex

Re: U-Boot 2023.10 does not boot from uSD on RPi4

2023-10-19 Thread Peter Robinson
On Fri, Oct 13, 2023 at 6:48 PM Tom Rini wrote: > > On Fri, Oct 13, 2023 at 05:22:03PM +0100, Peter Robinson wrote: > > On Fri, Oct 13, 2023 at 5:09 PM Peter Robinson wrote: > > > > > > On Tue, Oct 10, 2023 at 3:58 PM Simon Glass wrote: > > > > > >

Re: Branches in uboot-imx

2023-10-19 Thread Peter Robinson
On Thu, Oct 19, 2023 at 3:58 PM Grzegorz Borowiak wrote: > > Hello! > > I just cloned the repository: > > https://github.com/nxp-imx/uboot-imx > > and I encountered a rather large amount of branches (listed below). > > Are these branches somehow described, so I could read what they are about? > Es

Re: [PATCH v2 1/3] net: Get pxe config file from dhcp option 209

2023-10-24 Thread Peter Robinson
On Tue, Oct 24, 2023 at 1:30 PM Heinrich Schuchardt wrote: > > On 10/24/23 02:21, seanedm...@linux.microsoft.com wrote: > > From: Sean Edmond > > > > Allow dhcp server pass pxe config file full path by using option 209 > > > > Signed-off-by: Sean Edmond > > --- > > cmd/Kconfig | 4 > >

Re: [PATCH] fixup! usb: xhci: Guard all calls to xhci_wait_for_event

2023-10-29 Thread Peter Robinson
On Sun, Oct 29, 2023 at 9:25 PM Marek Vasut wrote: > > On 10/27/23 08:03, Hector Martin wrote: > > On 27/10/2023 09.36, Marek Vasut wrote: > >> On 10/27/23 01:26, Hector Martin wrote: > >>> Gah, I should've paid more attention to that rebase. Here's a dumb > >>> fixup for this patch. I'll squash i

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-11-06 Thread Peter Robinson
Hi Svyatoslav, > Since the proposed PMIC patches have been accepted, I see the need > to convert boards which I maintain to use DM drivers instead of board hacks. > > Svyatoslav Ryhel (5): > board: lg-x3: convert LG Optimus 4X and Vu to use DM PMIC > board: endeavoru: convert HTC One X to use

Re: [PATCH v2 0/3] Implement GPIO cells for PALMAS and MAX77663 PMICs

2023-11-06 Thread Peter Robinson
On Mon, Nov 6, 2023 at 10:18 AM Svyatoslav Ryhel wrote: > > This patchset adds support for gpio-uclass to work with pmic gpio childrens > properly and implements MAX77663 and PALMAS GPIO cells/children as a > reference and to be further used in devices I am currently maintaining. > > All drivers a

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-11-06 Thread Peter Robinson
On Mon, Nov 6, 2023 at 11:58 AM Svyatoslav Ryhel wrote: > > пн, 6 лист. 2023 р. о 13:46 Peter Robinson пише: > > > > Hi Svyatoslav, > > > > > Since the proposed PMIC patches have been accepted, I see the need > > > to convert boards which I m

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-11-06 Thread Peter Robinson
On Mon, Nov 6, 2023 at 1:28 PM Svyatoslav Ryhel wrote: > > пн, 6 лист. 2023 р. о 15:13 Peter Robinson пише: > > > > On Mon, Nov 6, 2023 at 11:58 AM Svyatoslav Ryhel wrote: > > > > > > пн, 6 лист. 2023 р. о 13:46 Peter Robinson пише: > > > > &g

Re: [RESEND PATCH v3 0/3] rpi: Convert to standard boot

2023-08-22 Thread Peter Robinson
On Mon, Aug 21, 2023 at 8:13 PM Simon Glass wrote: > > Hi Peter, > > On Sat, 19 Aug 2023 at 07:53, Peter Robinson wrote: > > > > On Wed, Aug 16, 2023 at 4:08 PM Simon Glass wrote: > > > > > > Hi Matthias, Peter, > > > > > > On Thu, 27

Re: RPi Zero 2 W usb keyboard support?

2023-08-22 Thread Peter Robinson
Hi, > > Hi, > >is supposed usb keyboard to work in u-boot 2023.04 on RPi Zero 2 W? > > Configured as rpi_arm64_defconfig, no usb devices found but subsequent > > kernel works as expected. > > > > > > [pi02] > > kernel=u-boot.bin > > otg_mode=0 > > dtoverlay=dwc2,dr_mode=host > > > > > > > Hell

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Peter Robinson
On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > Hi, > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > > > > > Provide a way for removing certain devicetree nodes and/or properties > > from the devicetree. This is needed to purge certain nodes and > > properties which may be relevan

Re: [PATCH v3 5/9] board: qualcomm: Add support for dragonboard845c

2023-08-28 Thread Peter Robinson
On Mon, Aug 28, 2023 at 6:55 PM Simon Glass wrote: > > Hi Sumit, > > On Thu, 24 Aug 2023 at 04:44, Sumit Garg wrote: > > > > Hi Simon, > > > > On Thu, 24 Aug 2023 at 05:29, Simon Glass wrote: > > > > > > Hi Sumit, > > > > > > On Tue, 12 Jul 2022 at 01:12, Sumit Garg wrote: > > > > > > > > Add s

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Peter Robinson
On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > Hi Peter, > > On Mon, 28 Aug 2023 at 10:37, Peter Robinson wrote: > > > > On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > > > > > Hi, > > > > > &

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-29 Thread Peter Robinson
> > > > > > Provide a way for removing certain devicetree nodes and/or > > > > > > properties > > > > > > from the devicetree. This is needed to purge certain nodes and > > > > > > properties which may be relevant only in U-Boot. Such nodes and > > > > > > properties are then removed from the devi

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-30 Thread Peter Robinson
> > > > > I have started the process to upstream the binman bindings. > > > > > > > > I don't think they should be in DT at all, they don't describe > > > > anything to do with hardware, or generally even the runtime of a > > > > device, they don't even describe the boot/runtime state of the > > >

Updates for RPi for 2023.10:

2023-09-04 Thread Peter Robinson
The following changes since commit 8999257f219d1e371c2fd66f255b8782897944d9: Merge tag 'doc-2023-10-rc4-2' of https://source.denx.de/u-boot/custodians/u-boot-efi (2023-09-02 09:08:54 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-raspberrypi/ t

Re: [PATCH v4 09/22] Move fdt_simplefb to boot/

2023-09-08 Thread Peter Robinson
On Thu, Sep 7, 2023 at 5:02 PM Simon Glass wrote: > > This relates to booting, so move it there. Create a new Kconfig menu for > things related to devicetree fixup. Is simplefb booting or video? > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > boot/Kconfig|

Re: [PATCH v6 2/2] schemas: memory: Add ECC properties

2023-09-08 Thread Peter Robinson
On Thu, Sep 7, 2023 at 11:57 PM Simon Glass wrote: > > Some memories provide ECC detection and/or correction. For software which > wants to check memory, it is helpful to see which regions provide this > feature. > > Add this as a property of the /memory nodes, since it presumably follows > the ha

Re: [PATCHv8 00/15] net/lwip: add lwip library for the network stack

2023-09-13 Thread Peter Robinson
> >> Then if for development you need to pull he history of lwip, you can do > >> it with: > >> git pull -s subtree lwip master --allow-unrelated-histories > >> (but I think nobody will need this.) > >> > >> New update of the lwip net/lwip/lwip-external dir will be done with: > >> git pull -s su

Re: [PATCH v2 1/3] rockpi4: capsule: Add functions needed for supporting capsule updates

2022-09-09 Thread Peter Robinson
Hi Sughosh, Small nit of the subject, it should substitute rockpi for rockchip: if the functions are generic. > Add functions needed to support the UEFI capsule update feature on > rockchip boards. Currently, the feature is being enabled on the > RockPi4 boards with firmware images residing on GP

Re: [PATCH v2 2/3] rockpi4: board: Add firmware image information needed for capsule updates

2022-09-09 Thread Peter Robinson
On Tue, Sep 6, 2022 at 7:59 AM Sughosh Ganu wrote: > > Add information that will be needed for enabling the UEFI capsule > update feature on the RockPi4 boards. With the feature enabled, it > would be possible to update the idbloader and u-boot.itb images on the > RockPi4B and RockPi4C variants. >

Re: [PATCH 2/2] rpi: Copy eth PHY address from fw DT to loaded DT

2022-09-09 Thread Peter Robinson
On Mon, Sep 5, 2022 at 8:16 PM Antoine Mazeas wrote: > > Le 05/09/2022 à 15:19, Peter Robinson a écrit : > > On Wed, Aug 10, 2022 at 1:58 PM Antoine Mazeas > > wrote: > >> > >> Some Raspberry Pi 400 boards, specifically rev 1.1, have a different > >

Re: [PATCH 1/2] rpi: Copy properties from firmware dtb to the loaded dtb

2022-09-09 Thread Peter Robinson
r rev of the SoC that affects some things, there's various threads about it around the place and how to address it. The Pi firmware live patches the DT basically. > Le 05/09/2022 à 15:41, Peter Robinson a écrit : > > Tested on RPi400 and it solves the issues with the kernel DT I&#

Re: [PATCH 1/2] rpi: Copy properties from firmware dtb to the loaded dtb

2022-09-09 Thread Peter Robinson
; >>stored. Copy those over so it can be enabled. > >> * /chosen/kaslr-seed: The firmware generates a kaslr seed, take advantage > >>of that. > > > > U-Boot has a rpi4 iproc_rng200 driver for this and provides it via the > > UEFI random seed as

Re: [PATCH] lib: zlib: Use post-increment only in inffast.c.

2022-09-12 Thread Peter Robinson
> > > An old inffast.c optimization turns out to not be optimal anymore > > > with modern compilers, and furthermore was not compliant with the > > > C standard, for which decrementing a pointer before its allocated > > > memory is undefined. Per the recommendation of a security audit of > > > the

Re: [PATCH 1/2] smbios: Simplify reporting of unknown values

2022-09-20 Thread Peter Robinson
Hi Simon, Adding Rob for information around putting things in device tree. > > If a value is not valid during the DT or SYSINFO parsing, we explicitly > > set that to "Unknown Product" and "Unknown" for the product and > > manufacturer respectively. It's cleaner if we move the checks insisde >

Re: [PATCH 1/2] smbios: Simplify reporting of unknown values

2022-09-20 Thread Peter Robinson
Information > Manufacturer: Unknown > Product Name: Unknown > Version: Unknown > Serial Number: Not Specified > Asset Tag: Unknown > Features: > Board is a hosting board > Location In Chassis: Not Speci

Re: [PATCH 2/2] smbios: Fallback to the default DT if sysinfo nodes are missing

2022-09-20 Thread Peter Robinson
; Handle 0x0003, DMI type 3, 21 bytes > Chassis Information > Manufacturer: socionext,developer-box > Type: Desktop > Lock: Not Present > Version: Not Specified > Serial Number: Not Specified > Asset Tag: Not Specified > Bo

Re: [RESEND PATCH 0/2] rpi: Copy eth PHY address from fw DT to loaded DT

2022-08-19 Thread Peter Robinson
Why did you need to resend it? On Fri, Aug 19, 2022 at 3:08 PM Antoine Mazeas wrote: > > Sjoerd Simons submitted the original patch (0001) to carry over some > firmware-provided properties into the loaded device tree. This did not fix > an issue with Raspberry Pi 400 rev 1.1 boards which would no

Re: [PATCH v3 1/2] rockchip: rk3399: fix incorrect ifdef check on SPL_DM_REGULATOR

2022-08-21 Thread Peter Robinson
mmon spl_board_init") > Cc: Quentin Schulz > Signed-off-by: Quentin Schulz > --- For the series: Reviewed-by: Peter Robinson Tested-by: Peter Robinson # Rock960 > v2: > - use IS_ENABLED checks, > > arch/arm/mach-rockchip/rk3399/rk3399.c | 17 + > 1

Re: [PATCH 2/2] rpi: Copy eth PHY address from fw DT to loaded DT

2022-09-05 Thread Peter Robinson
into > the loaded device tree so that ethernet works on such boards. Minor nit: this should be properly wrapped. > Signed-off-by: Antoine Mazeas Reviewed-by: Peter Robinson Tested-by: Peter Robinson Tested on the RPi400 and a couple of different RPi4s > --- > board/raspberryp

Re: [PATCH 1/2] rpi: Copy properties from firmware dtb to the loaded dtb

2022-09-05 Thread Peter Robinson
kaslr seed, take advantage > of that. U-Boot has a rpi4 iproc_rng200 driver for this and provides it via the UEFI random seed as well, if you're booting using UEFI that takes precedence so providing this might not be useful but also it doesn't matter much. > Signed-off-by: Sjo

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Peter Robinson
On Fri, Mar 10, 2023 at 9:52 AM Christian Gmeiner wrote: > > This patch series adds support for NFSv1 and is more > or less a rebased version of an older series. > > During V1 there was a discussion if it really makes sense > to bring more features into the network stack of U-Boot as it > is just

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Peter Robinson
On Fri, Mar 24, 2023 at 9:35 AM Christian Gmeiner wrote: > > Hi Peter, > > > > > > > This patch series adds support for NFSv1 and is more > > > or less a rebased version of an older series. > > > > > > During V1 there was a discussion if it really makes sense > > > to bring more features into the

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Peter Robinson
On Fri, Mar 24, 2023 at 10:42 AM Christian Gmeiner wrote: > > Hi Peter, > > Am Fr., 24. März 2023 um 11:10 Uhr schrieb Peter Robinson > : > > > > On Fri, Mar 24, 2023 at 9:35 AM Christian Gmeiner > > wrote: > > > > > > Hi Peter, > > >

Re: [PATCH v2 0/4] NFSv1 support

2023-03-24 Thread Peter Robinson
On Fri, Mar 24, 2023 at 1:05 PM Christian Gmeiner wrote: > > Hi Peter > > > > > > > Hi Peter, > > > > > > Am Fr., 24. März 2023 um 11:10 Uhr schrieb Peter Robinson > > > : > > > > > > > > On Fri, Mar 24,

Pull request: rpi-2023.04

2023-03-24 Thread Peter Robinson
the clock divisor (2023-03-24 14:43:20 +) Antoine Mazeas (2): rpi: Copy properties from firmware dtb to the loaded dtb rpi: Copy eth PHY address from fw DT to loaded DT Peter Robinson (1): rpi: Update the RPi

Re: Status of dma-range issues with BCM2711

2023-03-27 Thread Peter Robinson
On Mon, Jan 9, 2023 at 12:16 PM Antoine Mazeas wrote: > > Dear all, > > Last time Peter tested this patch, he raised the issue of also copying the > CMA range of set by the firmware, this task being still outstanding today. > > I’m happy to resume refining this patch accordingly, unless it could

Re: [v4 0/7] Fix Rockchip RK3399 bootstd migration

2023-03-27 Thread Peter Robinson
(tm)". I suppose there is some perceived goal and improvement here but with both my "U-Boot device maintainer" and "distro maintainer" hats on, both of which I do in my own spare time, I currently fail to see it and I end up. All that said, thank you Tom for picking up th

Re: [v4 0/7] Fix Rockchip RK3399 bootstd migration

2023-03-29 Thread Peter Robinson
On Wed, Mar 29, 2023 at 3:54 PM Tom Rini wrote: > > On Mon, Mar 27, 2023 at 06:50:41PM +0100, Peter Robinson wrote: > > On Mon, Mar 27, 2023 at 5:02 AM Simon Glass wrote: > > > > > > Hi Tom, > > > > > > On Sat, 25 Mar 2023 at 09:58, Tom Rini w

Re: [v4 0/7] Fix Rockchip RK3399 bootstd migration

2023-03-31 Thread Peter Robinson
Hi Simon, > > > > > > I took a look at Simon's v3 series to fix the rk3399 bootstd > > > > > > migration, > > > > > > and it changed too much for everything else. I took about half of > > > > > > that > > > > > > series and then reworked a few things. Now only rk3399 platforms > > > > > > chang

Re: Binman for RK35xx

2023-04-03 Thread Peter Robinson
On Mon, Apr 3, 2023 at 2:30 PM Mark Kettenis wrote: > > > From: > > Date: Mon, 3 Apr 2023 12:27:36 +0300 > > > > Hi! > > > >Trying to build mainline U-Boot for Rockchip RK3568-based board (Forlinx > > RK3568), but I think it;s can be reproduced on all RK35 chips. The main > > problem is that

Re: [PATCH v2 0/3] rpi: Convert to standard boot

2023-04-19 Thread Peter Robinson
Hi Simon, On Wed, Apr 19, 2023 at 2:46 AM Simon Glass wrote: > > Hi Peter, > > On Sun, 2 Apr 2023 at 14:29, Simon Glass wrote: > > > > This series moves Raspberry Pi boards over to use standard boot. > > > > It also moves rpi over to use a text-based environment. Unfortunately it > > is not poss

Re: [PATCH v2 0/3] rpi: Convert to standard boot

2023-04-20 Thread Peter Robinson
On Wed, Apr 19, 2023 at 11:40 PM Simon Glass wrote: > > Hi Peter, > > On Wed, 19 Apr 2023 at 19:42, Peter Robinson wrote: > > > > Hi Simon, > > > > On Wed, Apr 19, 2023 at 2:46 AM Simon Glass wrote: > > > > > > Hi Peter, >

Re: [PATCH 0/3] BOOTP/DHCPv4 enhancements

2023-09-26 Thread Peter Robinson
Hi Sean, > In our datacenter application, a single DHCP server is servicing 36000+ > clients. > Improvements are required to the DHCPv4 retransmission behavior to align with > RFC and ensure less pressure is exerted on the server: > - retransmission backoff interval maximum is configurable > (e

Re: [PATCHv10 14/15] net/lwip: replace original net commands with lwip

2023-10-03 Thread Peter Robinson
On Tue, Oct 3, 2023 at 6:58 PM Sean Edmond wrote: > > > On 2023-09-26 2:41 a.m., Maxim Uvarov wrote: > > Replace original commands: ping, tftp, dhcp and wget. > > Signed-off-by: Maxim Uvarov > --- > boot/bootmeth_efi.c | 18 +++--- > boot/bootmeth_pxe.c | 21 ++- > cmd/net.c

Re: [RESEND PATCH v3 0/3] rpi: Convert to standard boot

2023-10-06 Thread Peter Robinson
Hi Simon, So with more testing of 2023.10 in Fedora we found a regression where the display dies when the vc4 module loads in the kernel. With further debug it was found that it was due to the new U-Boot and with bisecting it myself I have found this series is the cause of the regression. The tes

Re: [RESEND PATCH v3 0/3] rpi: Convert to standard boot

2023-10-08 Thread Peter Robinson
Hi Simon, > > So with more testing of 2023.10 in Fedora we found a regression where > > the display dies when the vc4 module loads in the kernel. With further > > debug it was found that it was due to the new U-Boot and with > > bisecting it myself I have found this series is the cause of the > >

Re: [PATCH] arm: rpi: explicitly enumerate mmc boot targets

2023-10-08 Thread Peter Robinson
On Sat, Oct 7, 2023 at 4:55 PM Ben Wolsieffer wrote: > > Using the unqualified "mmc" boot target causes the Raspberry Pi 4 to > fail to boot. c771e5b explains this approach as follows: > > > We don't need to specify the mmc devices individually, since they are > > used in order from 0 to 2, and st

Re: U-Boot 2023.10 does not boot from uSD on RPi4

2023-10-10 Thread Peter Robinson
On Tue, Oct 10, 2023 at 10:26 AM Guillaume Gardet wrote: > > Hi, > > U-Boot 2023.10 does not boot from uSD on RPi4. > This has been found on openSUSE Tumbleweed. The only diff we need is: > -CONFIG_OF_EMBED=y > +CONFIG_OF_BOARD=y > To use firmware provided Device Tree. But that should not affe

Re: [PATCH] arm: rpi: explicitly enumerate mmc boot targets

2023-10-10 Thread Peter Robinson
On Sun, Oct 8, 2023 at 11:32 PM Ben Wolsieffer wrote: > > Hi Peter, > > On Sun, Oct 08, 2023 at 07:21:57PM +0100, Peter Robinson wrote: > > On Sat, Oct 7, 2023 at 4:55 PM Ben Wolsieffer > > wrote: > > > > > > Using the unqualified "mmc" bo

Re: [PATCH] rockchip: Pinebook Pro: Fix emmc default configuration

2023-05-01 Thread Peter Robinson
On Mon, May 1, 2023 at 8:43 AM Wolfgang Zarre wrote: > > If u-boot is installed on the internal emmc, then this will > allow to boot without failure. > > Signed-off-by: Wolfgang Zarre > --- > > configs/pinebook-pro-rk3399_defconfig | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletio

Re: [RFC PATCH 1/5] add lwip-external submodule

2023-05-10 Thread Peter Robinson
On Wed, May 10, 2023 at 8:40 AM Ilias Apalodimas wrote: > > Hi Simon, > > On Mon, May 08, 2023 at 08:43:14AM -0600, Simon Glass wrote: > > Hi Maxim, > > > > On Fri, 5 May 2023 at 04:50, Maxim Uvarov wrote: > > > > > > Signed-off-by: Maxim Uvarov > > > --- > > > .gitmodules| 3 +++ >

Re: [RFC PATCH v8 00/23] Modernize U-Boot shell

2023-05-13 Thread Peter Robinson
On Fri, May 12, 2023 at 9:04 PM Francis Laniel wrote: > > Hi. > > > During 2021 summer, Sean Anderson wrote a contribution to add a new shell, > based > on LIL, to U-Boot [1, 2]. > While one of the goals of this contribution was to address the fact actual > U-Boot shell, which is based on Busybox

Re: [External] - Re: Issues with bcm2835-host: let firmware manage the clock divisor

2023-05-16 Thread Peter Robinson
On Mon, May 15, 2023 at 1:10 PM Vincent Fazio wrote: > > All > > > -Original Message- > > From: Stefan Wahren > > Sent: Sunday, May 14, 2023 1:55 PM > > To: Nuno Gonçalves ; u-boot@lists.denx.de; Vincent > > Fazio ; pbrobin...@gmail.com > > Subject: [External] - Re: Issues with bcm2835-ho

Re: [PATCH v2 0/5] rockchip: Fix eMMC performance regression

2023-05-17 Thread Peter Robinson
On Wed, May 17, 2023 at 7:40 PM Jonas Karlman wrote: > > The eMMC performance on RK3399 was reduced sigificant by the > commit 2cc6cde647e2 ("mmc: rockchip_sdhci: Limit number of blocks read > in a single command"). > > That workaround should only have been applied to RK3568 and RK3588. > This ser

Re: [PATCH v2 3/5] rockchip: rockpro64: Use SDMA to boost eMMC performance

2023-05-17 Thread Peter Robinson
On Wed, May 17, 2023 at 7:41 PM Jonas Karlman wrote: > > Enable the use of SDMA mode to boost eMMC performance on RockPro64. > Also add missing flags to indicate the supported MMC modes. > > Using mmc read command to read 32 MiB data shows following improvement: > > => time mmc read 1000 200

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-05-17 Thread Peter Robinson
On Wed, May 17, 2023 at 7:41 PM Jonas Karlman wrote: > > Enable CONFIG_ROCKCHIP_SPI_IMAGE to build u-boot-rockchip-spi.bin. > Define CONFIG_SYS_SPI_U_BOOT_OFFS to write u-boot.itb at the expected None of the other rk33* devices enable this offset yet my Pinebook Pro works fine booting from SPI fl

Re: [PATCH] Add support for Raspberry Pi 3B+(32bit)

2021-04-20 Thread Peter Robinson
On Tue, Apr 20, 2021 at 7:05 AM Toshifumi NISHINAGA wrote: > > Hello all. > > I will add rpi_3_32b_plus_defconfig to easy to build u-boot for > Raspberry Pi 3B+(32bit). What does this provide over rpi_3_32b_defconfig? As that config works just fine on all variants of the RPi3 inc the B, B+, A+ an

Re: [PATCH] Add support for Raspberry Pi 3B+(32bit)

2021-04-20 Thread Peter Robinson
examples of this in U-Boot already > This difference is hard to notice, > so I want to add a new defconfig for Raspberry Pi 3B+. > > > Regards, > Toshifumi NISHINAGA > > 2021年4月20日(火) 19:28 Peter Robinson : > > > > On Tue, Apr 20, 2021 at 7:05 A

[PATCH] Revert "usb: kbd: destroy device after console is stopped"

2021-04-22 Thread Peter Robinson
Reverts commit eb5fd9e46c1, it causes ARMv7 devices to stop booting Linux when a USB keyboard is attached. The kernels starts but there's no output. Reverting it makes things work again. Signed-off-by: Peter Robinson Cc: Nicolas Saenz Julienne Cc: Andy Shevchenko --- This has caused us i

Re: [PATCH] Revert "usb: kbd: destroy device after console is stopped"

2021-04-22 Thread Peter Robinson
On Thu, Apr 22, 2021 at 11:52 AM Andy Shevchenko wrote: > > On Thu, Apr 22, 2021 at 10:19:10AM +0100, Peter Robinson wrote: > > Thanks for the report. > > > Reverts commit eb5fd9e46c1, it causes ARMv7 devices to stop booting > > Linux when a USB keyboard is attac

Re: [PATCH v3] IOMUX: Fix buffer overflow in iomux_replace_device()

2021-04-27 Thread Peter Robinson
On Mon, Apr 26, 2021 at 12:08 AM Yuichiro Goto wrote: > > Use of strcat() against an uninitialized buffer would lead > to buffer overflow. This patch fixes it. > > Fixes: 694cd5618c ("IOMUX: Introduce iomux_replace_device()") > Signed-off-by: Yuichiro Goto >

Re: [PATCH] efi_loader: loosen buffer parameter check in efi_file_read_int

2021-04-28 Thread Peter Robinson
gned-off-by: Peng Fan > Cc: Heinrich Schuchardt > Cc: Stefan Sørensen Tested-by: Peter Robinson Tested on a patched 2021.04 with Fedora 34. Thanks! > --- > lib/efi_loader/efi_file.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/efi_loader/efi_f

Re: [PATCH] configs: rock64-rk3328_defconfig: Enable ROCKCHIP_EFUSE

2023-07-28 Thread Peter Robinson
On Thu, Jul 27, 2023 at 5:34 PM Matwey V. Kornilov wrote: > > Enable missed CONFIG_ROCKCHIP_EFUSE to use fixed Ethernet MAC address. I've already sent a patch to do that as part of a series for other improvements: http://patchwork.ozlabs.org/project/uboot/patch/20230614124329.244462-2-pbrobin...@

Re: [PATCHv4 1/5] net/lwip: add lwip-external submodule

2023-07-30 Thread Peter Robinson
On Fri, Jul 28, 2023 at 7:09 PM Tom Rini wrote: > > On Thu, Jul 27, 2023 at 03:34:48PM +0300, Ilias Apalodimas wrote: > > > Tom, Simon > > are you ok with submodules on this one? > > Still punting on that question and waiting for commentary from > distribution people. I would prefer not to have t

Re: [PATCH 1/4] config: rock64: start USB to make storage usable

2023-08-03 Thread Peter Robinson
On Tue, Aug 1, 2023 at 4:17 AM Kever Yang wrote: > > Hi Peter, > > Could you update the patchset with patches you still want to send? Can you just drop this patch and take the rest from the set? > > Thanks, > > - Kever > > On 2023/6/14 20:43, Peter Robinson

Re: [PATCH 1/4] config: rock64: start USB to make storage usable

2023-08-03 Thread Peter Robinson
On Fri, Aug 4, 2023 at 2:25 AM Kever Yang wrote: > > Hi Peter, > > On 2023/8/3 15:44, Peter Robinson wrote: > > On Tue, Aug 1, 2023 at 4:17 AM Kever Yang wrote: > >> Hi Peter, > >> > >> Could you update the patchset with patches you still want

Re: [PATCH v4 0/6] Introduce the sysinfo command

2023-08-08 Thread Peter Robinson
On Thu, Jul 20, 2023 at 3:50 PM Detlev Casanova wrote: > > The command can be used to show various information that can be used to > identify the running system. > > Currently supported subcommands are: > * model: A string representing the model > * id: The id of the board > * revision: The revisi

Re: [PATCH v4 0/6] Introduce the sysinfo command

2023-08-08 Thread Peter Robinson
On Tue, Aug 8, 2023 at 3:27 PM Detlev Casanova wrote: > > On Tuesday, August 8, 2023 10:21:11 A.M. EDT Peter Robinson wrote: > > On Thu, Jul 20, 2023 at 3:50 PM Detlev Casanova > > > > wrote: > > > The command can be used to show various information that can be u

Re: [PATCHv6 04/14] net/lwip: implement dhcp cmd

2023-08-17 Thread Peter Robinson
On Thu, Aug 17, 2023 at 2:46 PM Maxim Uvarov wrote: > > On Mon, 14 Aug 2023 at 21:29, Tom Rini wrote: > > > On Mon, Aug 14, 2023 at 09:18:19PM +0600, Maxim Uvarov wrote: > > > On Mon, 14 Aug 2023 at 20:21, Ilias Apalodimas < > > ilias.apalodi...@linaro.org> > > > wrote: > > > > > > > On Mon, Aug

Re: [PATCHv6 04/14] net/lwip: implement dhcp cmd

2023-08-18 Thread Peter Robinson
On Fri, Aug 18, 2023 at 10:39 AM Maxim Uvarov wrote: > > > > On Thu, 17 Aug 2023 at 21:10, Tom Rini wrote: >> >> On Thu, Aug 17, 2023 at 08:55:17PM +0600, Maxim Uvarov wrote: >> > On Thu, 17 Aug 2023 at 20:04, Peter Robinson wrote: >> > >>

[PATCH] boot: Fix reference to bootmenu doc

2023-08-18 Thread Peter Robinson
The Kconfig references a readme file that's moved and converted to rst so update the reference. Signed-off-by: Peter Robinson --- boot/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/Kconfig b/boot/Kconfig index e8fb03b8016..86c2787dc53 100644 --- a/boot/Kc

Re: [RESEND PATCH v3 0/3] rpi: Convert to standard boot

2023-08-19 Thread Peter Robinson
On Wed, Aug 16, 2023 at 4:08 PM Simon Glass wrote: > > Hi Matthias, Peter, > > On Thu, 27 Jul 2023 at 15:54, Simon Glass wrote: > > > > This series moves Raspberry Pi boards over to use standard boot. > > > > It also moves rpi over to use a text-based environment. Unfortunately it > > is not poss

Re: Pull request: u-boot-rockchip/for-next

2022-12-26 Thread Peter Robinson
On Mon, Dec 26, 2022 at 3:10 PM Tom Rini wrote: > > On Mon, Dec 26, 2022 at 08:36:02PM +0800, Kever Yang wrote: > > > Hi Tom, > > > > Please pull the updates for rockchip platform for next: > > - Add support for rv1126 soc and rv1126 neu2 io board; > > - Add support for rk3399 pine64 pinephone pro

[PATCH v2 0/2] Initial support for Pinephone Pro

2022-12-31 Thread Peter Robinson
ssues around clock/dram - Sync the Pinephone DT to 6.2-rc1 - Update for the CONFIG_SYS_TEXT_BASE -> CONFIG_TEXT_BASE change - usb: ohci: Use a flexible array member for portstatus - Rename CONFIG_DM_VIDEO to CONFIG_VIDEO - Enable DM_REGULATOR_FAN53555 - Don't initialize i2c before reloc

[PATCH v2 1/2] arm64: dts: rk3399: Add upstream Pinephone Pro dts

2022-12-31 Thread Peter Robinson
Initial support for the PinePhone Pro has now landed upstream in Linux 6.1 RC1 so sync the dts from 6.2-rc1 for initial support. Signed-off-by: Peter Robinson --- arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3399-pinephone-pro.dts | 474 ++ 2 files

[PATCH v2 2/2] rockchip: Add initial support for the PINE64 Pinephone Pro

2022-12-31 Thread Peter Robinson
) and PD charging - 4GB LPDDR4 RAM - 128GB eMMC - mSD card slot - An AP6255 module for 802.11ac WiFi and Bluetooth 5 - Quectel EG25-G 4G/LTE modem Signed-off-by: Peter Robinson --- arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi | 31 ++ arch/arm/mach-rockchip/rk3399/Kconfig | 8 ++

Re: Pull request: u-boot-rockchip/for-next

2022-12-31 Thread Peter Robinson
Hi Kever and Tom, > >> The build for pinephone-pro-rk3399 fails. Note that it's not that > >> CONFIG_SYS_TEXT_BASE became CFG_SYS_TEXT_BASE but rather it was renamed > >> too CONFIG_TEXT_BASE, as I see that's where the build fails: > >> $ make > >> CROSS_COMPILE=~/.buildman-toolchains/gcc-12.2.0-

Re: [PATCH 1/3] arm64: dts: rk3399: sync rk3399.dtsi from 6.1-rc1

2023-01-03 Thread Peter Robinson
Hi Quentin, > On 10/25/22 09:52, Peter Robinson wrote: > > Sync rk3399.dtsi and associated bindings includes. Fix up building > > of clk/rockchip/clk_rk3399.c for the changes as well as adjusting > > the rk3399-u-boot.dtsi for the new upstream pieces. > > > &

Re: Rockchip RK3328 4-byte addressing problem in SPI

2023-01-03 Thread Peter Robinson
Hi Kever, > > +Kever Yang > > > > On Thu, 22 Dec 2022 at 18:30, Marcin Woźniak > > wrote: > >> Hello, > >> > >> I would like to let you know how i've lost about 2 weeks because of lack > >> of Rockchip BOOTROM documentation. > >> > >> I tried to use Mainline Uboot to Boot NanoPI R2S using solder

Re: Pull request: u-boot-rockchip/for-next

2023-01-05 Thread Peter Robinson
al Compute Module 2(Neu2) IO > ARM: dts: rockchip: Add rv1126-u-boot.dtsi > board: rockchip: Add Edgeble Neu2 IO Board > > John Keeping (2): > rc4: mark key as const > rockchip: mkimage: make RC4 key const > > Peter Robinson (3): > arm64: dts:

Re: Pull request: u-boot-rockchip/for-next

2023-01-05 Thread Peter Robinson
On Thu, Jan 5, 2023 at 9:17 AM Kever Yang wrote: > > > On 2023/1/5 17:06, Peter Robinson wrote: > > Hi Kever, > > > > On Thu, Jan 5, 2023 at 9:02 AM Kever Yang wrote: > >> Hi Tom, > >> > >> Please pull the updates for rockchip platform for n

Re: [PATCH] SoC: sdm845: find and save KASLR to env variables

2023-01-10 Thread Peter Robinson
On Tue, Dec 27, 2022 at 7:47 PM Dzmitry Sankouski wrote: > > KASLR address is needed to boot fully functional Android. > KASLR is set by primary bootloader, and since u-boot is used > as a secondary bootloader(replacing kernel) on sdm845 platform, > KASLR may be found by comparing memory chunks at

Re: [PATCH v2 00/71] bootstd: Allow migration from distro_bootcmd scripts

2023-01-13 Thread Peter Robinson
On Fri, Jan 13, 2023 at 9:05 PM Simon Glass wrote: > > Hi Mark, Heinrich, > > On Fri, 13 Jan 2023 at 13:32, Mark Kettenis wrote: > > > > > Date: Fri, 13 Jan 2023 20:54:06 +0100 > > > From: Heinrich Schuchardt > > > > > > On 1/8/23 03:49, Simon Glass wrote: > > > > So far, standard boot does not

Re: [PATHv1 7/9] bcm_ns3: fix overlap define with lwip

2023-12-05 Thread Peter Robinson
u need to include the compile error in the commit. Code itself looks good so: Reviewed-by: Peter Robinson > aarch64: + bcm_ns3 > +In file included from net/lwip/lwip-external/src/include/lwip/etharp.h:53, > + from net/lwip/lwip-external/src/core/init.c:55: > +net/lwip/lw

[PATCH] maintainers: bcmns3: remove maintainer

2023-12-05 Thread Peter Robinson
Remove Bharat Gooty as a maintainer as his mail is bouncing. Signed-off-by: Peter Robinson Cc: Rayagonda Kokatanur --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9f74c0aacaa..87e5ee04978 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1528,7

Re: [PATCH] rockchip: rk3328: Set efuse auto mode and timing control

2023-12-05 Thread Peter Robinson
On Mon, Nov 27, 2023 at 7:31 PM Jonas Karlman wrote: > > Hi Quentin, > > On 2023-11-27 19:42, Quentin Schulz wrote: > > Hi Jonas, > > > > > > From: U-Boot on behalf of Jonas Karlman > > > > Sent: 26 November 2023 20:46 > > To: Kever Yang; Simon Glass; Ph

Re: [PATCH v2 0/3] rpi5: initial support

2023-12-05 Thread Peter Robinson
Hi Dmitry, > > I've given these a cursory look over, I have a system to test and will > > give them a whirl in the next few days, I was planning to start > > playing over the weekend so you've provided a great start :) > > Did you have any chance to test my patches? Not yet, apologies, work has b

Re: [PATCH v2 0/3] rpi5: initial support

2023-12-05 Thread Peter Robinson
Hi Dmitry, > First of all, thank you for all your reviews. I hope I can answer all > your questions here. If I forget something please let me know. Absolutely. > I don't have much experience with arm/arm64 and I don't have previous > experience with u-boot and contributing to it. So please guide

  1   2   3   4   5   6   7   8   9   10   >