Re: [PATCH v2] tools: mkimage: fix build with recent LibreSSL

2022-08-29 Thread Jonathan Gray
: mkimage: fix build with LibreSSL") > Signed-off-by: Mark Kettenis Reviewed-by: Jonathan Gray > --- > > ChangeLog: > > v2: - Tweak version check and commit message to reflect that > LibreSSL 3.5.0 and later have the RSA_get0_* functions > > > tools/sunxi_toc0

Re: [PATCH] tools: mkimage: fix build with recent LibreSSL

2022-08-28 Thread Jonathan Gray
On Sat, Aug 27, 2022 at 07:23:44PM +0200, Mark Kettenis wrote: > Recent versions of LibreSSL, such as those shipped as part of > OpenBSD 7.1 and later have an opaque RSA object and do provide the > RSA_get0_* functions that OpenSSL provides. part of 3.5.0 / 0x305fL as well

Re: [PATCH] tools: mkimage: fix build with LibreSSL

2022-07-25 Thread Jonathan Gray
On Fri, Jul 22, 2022 at 07:55:53PM +0200, Michal Vasilek wrote: > RSA_get0_* functions are not available in LibreSSL added in January revision 1.41 date: 2022/01/05 20:44:12; author: tb; state: Exp; lines: +55 -1; commitid: b1ATkp4OhzL5p4XV; Prepare to provide a

Re: [PATCH 1/1] lib/ecdsa: Fix LibreSSL before v2.7.0

2021-07-28 Thread Jonathan Gray
On Wed, Jul 28, 2021 at 09:04:33PM +0300, Artem Panfilov wrote: > Fix LibreSSL compilation for versions before v2.7.0. Why 2.7.0? I had to disable CONFIG_FIT_SIGNATURE to get the qemu targets to build on OpenBSD-current (3.4.0) as there is no BN_bn2binpad(). 2.7.0 is also over three years old

Re: Boot failure triggered by USB on rockpro64-rk3399 and pinebook-pro-rk3399

2021-01-21 Thread Jonathan Gray
U-Boot 2020.07 worked, broken on rockpro64 by commit 3ae64582fb8ceead4fc464cd2055eb3eaef78ccc (refs/bisect/bad) Author: Jagan Teki Date: Mon Jul 20 14:53:09 2020 +0530 rockchip: rockpro64: Enable USB3.0 Host Enable USB3.0 Host support for RockPro64 boards. Signed-off-by:

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-15 Thread Jonathan Gray
On Sat, Nov 14, 2020 at 05:56:38AM +0100, Heinrich Schuchardt wrote: > On 09.11.20 18:08, Mark Kettenis wrote: > >> From: Heinrich Schuchardt > >> Date: Mon, 9 Nov 2020 15:36:33 +0100 > >> > >> On 09.11.20 14:51, Mark Kettenis wrote: > From: Paulo Alcantara > Date: Mon, 09 Nov 2020

Re: [PATCH] Fix MMC access on Sabrelite

2020-06-10 Thread Jonathan Gray
On Tue, May 26, 2020 at 06:02:23PM +0100, Martyn Welch wrote: > It appears that MMC access on the Sabrelite has been broken since > cdcaee9518: > > Loading Environment from MMC... Card did not respond to voltage select! > *** Warning - No block device, using default environment > > Remove the

Re: [PATCH 0/2] omap4: panda: convert to device model

2020-06-06 Thread Jonathan Gray
On Tue, Jun 02, 2020 at 02:19:07PM +0300, Tero Kristo wrote: > Hi, > > As there is looming death to OMAP4 Panda board u-boot support, I decided > to take a shot and convert it to device model myself. With these patches > it boots up fine, and there are no DM_SPL conversion complaints during >

Re: [PATCH] Azure: Add 'tools-only' build for macOS X hosts

2020-05-16 Thread Jonathan Gray
On Sat, May 16, 2020 at 02:54:39PM -0400, Tom Rini wrote: > Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully > this will catch changes to host tools that are incompatible on BSD style > environments. > > Signed-off-by: Tom Rini > > Note that at this time commit

[PATCH] rsa: don't use malloc.h in rsa-sign.c

2020-05-15 Thread Jonathan Gray
Signed-off-by: Jonathan Gray --- lib/rsa/rsa-sign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c index 580c744709..621ddc4350 100644 --- a/lib/rsa/rsa-sign.c +++ b/lib/rsa/rsa-sign.c @@ -4,7 +4,7 @@ */ #include "mkimage.h"

Re: Question about GPL v3 font

2020-01-13 Thread Jonathan Gray
On Sun, Jan 12, 2020 at 07:45:49PM +1300, Simon Glass wrote: > Hi Wolfgang, > > On Fri, 23 Aug 2019 at 21:51, Wolfgang Denk wrote: > > > > Dear Tom, > > > > In message <20190726170700.GQ20116@bill-the-cat> you wrote: > > > > > > > It was designed in 1987. A subset of Nimbus Sans L were

Re: [PATCH 33/33] video: Drop the Nimbus font

2020-01-13 Thread Jonathan Gray
On Sun, Jan 12, 2020 at 12:06:24PM -0700, Simon Glass wrote: > There is some concern that this font may be GPLv3 rather than GPLv2. This > is is not desirable in U-Boot. Replace it with Roboto which has an Apache > license. > > See discussion here: > >

Re: [U-Boot] mx6cuboxi fails to load u-boot.img

2019-09-27 Thread Jonathan Gray
On Thu, Sep 26, 2019 at 05:07:21PM -0300, Fabio Estevam wrote: > Hi Vagrant, > > On Thu, Sep 26, 2019 at 4:16 PM Vagrant Cascadian wrote: > > > > I just tested mx6cuboxi with 2019.10-rc4, and it fails to load > > u-boot.img from MMC: > > > > 1 2019-09-26_17:31:27.63089 U-Boot SPL

Re: [U-Boot] am335x_evm SPL no longer fits

2019-09-26 Thread Jonathan Gray
On Tue, Sep 24, 2019 at 04:58:48PM +1000, Jonathan Gray wrote: > As of v2019.10-rc3 am335x_evm builds fail here as SPL doesn't fit. > > v2019.10-rc2 builds. > v2019.10-rc4 still fails: > > LD spl/u-boot-spl > arm-none-eabi-ld.bfd: u-boot-spl section `.u_bo

[U-Boot] am335x_evm SPL no longer fits

2019-09-24 Thread Jonathan Gray
As of v2019.10-rc3 am335x_evm builds fail here as SPL doesn't fit. v2019.10-rc2 builds. v2019.10-rc4 still fails: LD spl/u-boot-spl arm-none-eabi-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram' arm-none-eabi-ld.bfd: region `.sram' overflowed by 100 bytes I

Re: [U-Boot] rk3288 (Tinkerboard) not booting【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-09-23 Thread Jonathan Gray
g some requirement of u-boot.bin on a FAT32 partition or > something? the tpl/spl and u-boot proper are at raw offsets in this case > > -- Alex > > September 23, 2019 8:31 AM, "Jonathan Gray" wrote: > > > On Mon, Sep 23, 2019 at 01:06:35PM +, Alexa

Re: [U-Boot] rk3288 (Tinkerboard) not booting【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-09-23 Thread Jonathan Gray
I Video output? no hdmi connected only serial > * GCC version? gcc-linaro-6.3.2017.02 binutils 2.27 arm-none-eabi target > > September 23, 2019 12:34 AM, "Jonathan Gray" wrote: > > > On Mon, Sep 23, 2019 at 01:17:40AM +, Alexander von Gluck IV wrote:

Re: [U-Boot] rk3288 (Tinkerboard) not booting【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-09-22 Thread Jonathan Gray
On Mon, Sep 23, 2019 at 01:17:40AM +, Alexander von Gluck IV wrote: > Hello! > > There is no uart output and no video with u-boot master. > The board works as expected booting the Asus Armbian image on an SD. > > At this point i'd be happy to get some u-boot uart output :-) > > -- Alex

Re: [U-Boot] [PATCH 3/3] config: enable DFU over USB on Raspberry Pi4 boards

2019-09-16 Thread Jonathan Gray
On Mon, Sep 16, 2019 at 02:53:30PM +0200, Marek Szyprowski wrote: > Hi Matthias, > > On 16.09.2019 14:45, Matthias Brugger wrote: > > On 16/09/2019 14:24, Marek Szyprowski wrote: > >> Enable support for DFU over USB. This requires to enable USB gadget, > >> DWC2 UDC OTG driver and DFU command.

Re: [U-Boot] [PATCH 1/1] efi_loader: remove efi_exit_caches()

2019-07-19 Thread Jonathan Gray
On Fri, Jul 19, 2019 at 08:25:45PM +0200, Heinrich Schuchardt wrote: > In GRUB before 2.04 a bug existed which did not allow booting some ARM32 > boards if U-Boot did not disable caches, cf. > https://lists.linaro.org/pipermail/cross-distro/2019-July/000933.html > > In ExitBootServices() we were

Re: [U-Boot] [PATCH v2 3/4] efi_loader: use efi_start_image() for bootefi

2019-07-19 Thread Jonathan Gray
On Fri, Jul 19, 2019 at 07:43:17AM +0200, Heinrich Schuchardt wrote: > On 7/19/19 1:07 AM, Mark Kettenis wrote: > > > From: Alexander Graf > > > Date: Thu, 18 Jul 2019 20:50:39 +0200 > > > > > > On 18.07.19 19:33, Heinrich Schuchardt wrote: > >

Re: [U-Boot] [PATCH v2 3/4] efi_loader: use efi_start_image() for bootefi

2019-07-18 Thread Jonathan Gray
On Thu, Jul 18, 2019 at 10:39:57AM +0200, Mark Kettenis wrote: > > Date: Thu, 18 Jul 2019 16:00:16 +1000 > > From: Jonathan Gray > > > > On Fri, Feb 08, 2019 at 07:46:49PM +0100, Heinrich Schuchardt wrote: > > > Remove the duplicate code in efi_do_enter() and use

Re: [U-Boot] [PATCH v2 3/4] efi_loader: use efi_start_image() for bootefi

2019-07-18 Thread Jonathan Gray
On Fri, Feb 08, 2019 at 07:46:49PM +0100, Heinrich Schuchardt wrote: > Remove the duplicate code in efi_do_enter() and use efi_start_image() to > start the image invoked by the bootefi command. > > Signed-off-by: Heinrich Schuchardt > --- > v2 > use EFI_CALL This commit broke booting

Re: [U-Boot] Bring tinker-rk3288 back into SPL size limit?????????????????????????u-boot-boun...@lists.denx.de?????????

2019-06-25 Thread Jonathan Gray
On Tue, Jun 25, 2019 at 06:09:32PM +0800, Kever Yang wrote: > Hi Tom, > > I got a Tinker board today and try to boot with SD card to enable TPL. > > The SPL for Tinker board is broken and the size is too big at v2019.04, > and v2019.01 is OK. > > Other than size limit, seems there are some

Re: [U-Boot] pull request: raspberry pi updates

2019-06-24 Thread Jonathan Gray
On Mon, Jun 24, 2019 at 02:11:43PM -0400, Tom Rini wrote: > On Wed, Jun 12, 2019 at 04:25:33PM -0400, Tom Rini wrote: > > On Wed, Jun 12, 2019 at 10:21:22PM +0200, Heinrich Schuchardt wrote: > > > On 6/12/19 10:08 PM, Tom Rini wrote: > > > >On Wed, Jun 12, 2019 at 10:07:31PM +0200, Heinrich

Re: [U-Boot] rk3288 SPL size

2019-04-16 Thread Jonathan Gray
On Tue, Apr 16, 2019 at 04:49:12PM +1000, Jonathan Gray wrote: > On Fri, Apr 05, 2019 at 12:10:21PM +0200, Wadim Egorov wrote: > > Hi, > > > > it seems the new common rockchip pinctrl driver does not really fit into > > our phycore-rk3288 SPL setup. It works for every o

Re: [U-Boot] rk3288 SPL size

2019-04-16 Thread Jonathan Gray
On Fri, Apr 05, 2019 at 12:10:21PM +0200, Wadim Egorov wrote: > Hi, > > it seems the new common rockchip pinctrl driver does not really fit into > our phycore-rk3288 SPL setup. It works for every other rk3288 based > board because they don't need special power configurations at the SPL stage. It

Re: [U-Boot] [PATCH v4 1/1] efi_loader: Patch non-runtime code out at ExitBootServices already

2019-03-12 Thread Jonathan Gray
On Mon, Mar 11, 2019 at 12:44:24PM +0100, Heinrich Schuchardt wrote: > On 3/11/19 9:03 AM, Ard Biesheuvel wrote: > > On Mon, 11 Mar 2019 at 01:16, Heinrich Schuchardt > > wrote: > >> > >> From: Alexander Graf > >> > >> While discussing something compeltely different, Ard pointed out > >> that

[U-Boot] [PATCH v2] rpi: add Compute Module 3+

2019-01-30 Thread Jonathan Gray
Add Raspberry Pi Compute Module 3+ to list of models, the revision code is 0x10 according to the list on raspberrypi.org. v2: Use the same dtb name as CM3 as CM3+ is a drop in replacement for CM3. Signed-off-by: Jonathan Gray --- board/raspberrypi/rpi/rpi.c | 5 + 1 file changed, 5

Re: [U-Boot] [PATCH] rpi: add Compute Module 3+

2019-01-30 Thread Jonathan Gray
On Wed, Jan 30, 2019 at 10:56:37PM +0100, Alexander Graf wrote: > > > > Am 30.01.2019 um 22:38 schrieb Jonathan Gray : > > > >> On Wed, Jan 30, 2019 at 04:13:44PM +0100, Alexander Graf wrote: > >> Hi Jonathan, > >> > >>> On 30.01.19 1

Re: [U-Boot] [PATCH] rpi: add Compute Module 3+

2019-01-30 Thread Jonathan Gray
On Wed, Jan 30, 2019 at 04:13:44PM +0100, Alexander Graf wrote: > Hi Jonathan, > > On 30.01.19 15:17, Jonathan Gray wrote: > > Add Raspberry Pi Compute Module 3+ to list of models, the revision code > > is 0x10 according to the list on raspberrypi.org. > > >

[U-Boot] [PATCH] rpi: add Compute Module 3+

2019-01-30 Thread Jonathan Gray
Add Raspberry Pi Compute Module 3+ to list of models, the revision code is 0x10 according to the list on raspberrypi.org. Signed-off-by: Jonathan Gray --- board/raspberrypi/rpi/rpi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi

Re: [U-Boot] [PATCH v2] efi_loader: Make RTS relocation more robust

2018-12-13 Thread Jonathan Gray
gn runtime section to 64kb") > Reported-by: Heinrich Schuchardt > Reported-by: Loic Devulder > Signed-off-by: Alexander Graf This fixes booting OpenBSD on qemu-system-aarch64 where previously it would drop into the kernel debugger when probing efi runtime services. Tested-

[U-Boot] [PATCH] tools/file2include: don't use malloc.h for malloc

2018-11-17 Thread Jonathan Gray
Signed-off-by: Jonathan Gray --- tools/file2include.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/file2include.c b/tools/file2include.c index b98af30a72..775440cba9 100644 --- a/tools/file2include.c +++ b/tools/file2include.c @@ -18,7 +18,6 @@ #include #include #include -#include

[U-Boot] [PATCH] rpi: add 3 Model A+

2018-11-16 Thread Jonathan Gray
Add Raspberry Pi 3 Model A+ to list of models, the revision code is 0xE according to the list on raspberrypi.org. Signed-off-by: Jonathan Gray --- board/raspberrypi/rpi/rpi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index

[U-Boot] [PATCH] rpi: add URL of official revision code list

2018-11-16 Thread Jonathan Gray
Replace various third party lists of Raspberry Pi revision codes in a comment with the list on raspberrypi.org. Signed-off-by: Jonathan Gray --- board/raspberrypi/rpi/rpi.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/board/raspberrypi/rpi/rpi.c b/board

Re: [U-Boot] [PATCH 1/1] efi_loader: remove efi_exit_caches()

2018-11-14 Thread Jonathan Gray
On Sun, Sep 23, 2018 at 02:33:47PM +0200, Heinrich Schuchardt wrote: > Since GRUB patch d0c070179d4d ("arm/efi: Switch to arm64 linux loader", > 2018-07-09) we do not need a workaround for GRUB on 32bit ARM anymore. > > So let's eliminate function efi_exit_caches(). > > This will require Linux

Re: [U-Boot] [PATCH v3 2/3] efi_loader: ARM: run EFI payloads non-secure

2018-09-22 Thread Jonathan Gray
On Sun, Sep 23, 2018 at 01:30:11AM +0200, Heinrich Schuchardt wrote: > On 09/01/2018 12:21 PM, Alexander Graf wrote: > > > > > > On 31.08.18 20:45, Mark Kettenis wrote: > >>> From: Heinrich Schuchardt > >>> Date: Fri, 31 Aug 2018 19:37:25 +0200 > >>> > >>> On 06/14/2018 12:41 AM, Mark Kettenis

Re: [U-Boot] [PATCH] ARM: qemu-arm: Fix qemu_arm64_defconfig for QEMU 3.0

2018-09-04 Thread Jonathan Gray
gt; unmapped ECAM memory area. > > Reported-by: Jonathan Gray > Signed-off-by: Tuomas Tynkkynen Thanks, qemu-system-aarch64 -M virt works without having to disable highmem with this. Tested-by: Jonathan Gray > --- > board/emulation/qemu-arm/qemu-arm.c | 18 +

Re: [U-Boot] [PATCH 3/3] doc: qemu-arm: Drop highmem=off references

2018-09-04 Thread Jonathan Gray
On Mon, May 14, 2018 at 06:47:52PM +0300, Tuomas Tynkkynen wrote: > Now that U-Boot works fine with highmem enabled, there is no need to > tell users to disable highmem. > > Signed-off-by: Tuomas Tynkkynen > --- > doc/README.qemu-arm | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-)

Re: [U-Boot] [PATCH v2] rsa: Fix LibreSSL before v2.7.0

2018-07-26 Thread Jonathan Gray
ings. Builds on OpenBSD -current with 2.8.0. bcm7445 config resulted in building it. Could be 0x207fL not 0x0207fL to match the other uses but that is just cosmetic. Reviewed-by: Jonathan Gray > > Changes for v2: > - fixed commit message conventions > - fixed coding

Re: [U-Boot] [PATCH] Fix LibreSSL before v2.7.0

2018-07-25 Thread Jonathan Gray
On Tue, Jul 24, 2018 at 07:47:48PM -0400, nom...@palism.com wrote: > From: Nomble > > Signed-off-by: Nomble > Signed-off-by: Caliph Nomble > --- > lib/rsa/rsa-sign.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c

Re: [U-Boot] raspberrypi compute module3 emmc not usable

2018-07-10 Thread Jonathan Gray
On Tue, Jul 10, 2018 at 10:37:19PM +0200, Belisko Marek wrote: > Hello, > > I'm trying to use u-boot on CM3 (which contains eMMC) to boot kernel. > I'm using u-boot 2018.05 and it can start fine like: > U-Boot 2018.05 (Jul 10 2018 - 20:32:05 +) > > DRAM: 948 MiB > RPI Compute Module 3

Re: [U-Boot] [PATCH v2] rsa: Support LibreSSL in rsa-sign.c

2018-06-27 Thread Jonathan Gray
On Wed, Jun 27, 2018 at 12:33:05PM +0200, parazyd wrote: > At present rsa-sign.c can not be compiled with LibreSSL older than > 2.7.0. This commit adjusts the guards in the rsa-sign.c to check for > LiBRESSL_VERSION_NUMBER where necessary. These tests are wrong, an undefined cpp macro will be 0

Re: [U-Boot] [PATCH] rsa: Support LibreSSL in rsa-sign.c

2018-06-26 Thread Jonathan Gray
On Tue, Jun 26, 2018 at 07:49:47AM +0200, parazyd wrote: > This commit will allow rsa-sign.c to be compiled when LibreSSL is used > instead of OpenSSL. It isn't clear what version of LibreSSL you are using but this is wrong. The latest LibreSSL has RSA_get0_key(), OPENSSL_init_ssl() and

Re: [U-Boot] rockchip: clk: rk3288: add clk_enable function and support USB HOST0/HSIC

2018-05-14 Thread Jonathan Gray
there are a few things missing in the designware/gmac part. > But someone is working on it right now :) > > Anyway, it looks like Jonathan fixed the problem, right? > > Regards, > Wadim The patch I sent out works for me. Hasn't landed in u-boot-rockchip or master yet though.

[U-Boot] [PATCH] rockchip: set SYS_NS16550_MEM32 for all SoCs

2018-05-08 Thread Jonathan Gray
<kever.y...@rock-chips.com> Signed-off-by: Jonathan Gray <j...@jsg.id.au> Cc: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- include/configs/rockchip-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/rockchip-common.h b/include/configs/rockc

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: enable SYS_NS16550 for all SoCs by default

2018-05-08 Thread Jonathan Gray
On Tue, May 08, 2018 at 09:41:32AM +0200, Dr. Philipp Tomsich wrote: > Kever, > > Could you analyse and provide (against master) a patch for this? > We???ll need to catch any left-overs from your changes at the start of the > cycle > before we try to merge any of the more invasive changes you

[U-Boot] [PATCH] rockchip: clk: rk3288: handle clk_enable requests for GMAC

2018-05-08 Thread Jonathan Gray
Since b0ba1e7e9d9b9441a18048ec67a3b3100c096975 (rockchip: clk: rk3288: add clk_enable function and support USB HOST0/HSIC) Ethernet no longer probes on RK3288. Add no-ops for GMAC clocks observed to be requested which match the clk_enable cases in RK3368 and RK3399. Signed-off-by: Jonathan Gray

Re: [U-Boot] rockchip: clk: rk3288: add clk_enable function and support USB HOST0/HSIC

2018-05-08 Thread Jonathan Gray
On Thu, Apr 26, 2018 at 09:05:33AM +0200, Philipp Tomsich wrote: > > The generic ehci-driver (ehci-generic.c) will try to enable the clocks > > listed in the DTSI. If this fails (e.g. due to clk_enable not being > > implemented in a driver and -ENOSYS being returned by the clk-uclass), > > the

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: enable SYS_NS16550 for all SoCs by default

2018-05-08 Thread Jonathan Gray
On Thu, Apr 26, 2018 at 09:05:37AM +0200, Philipp Tomsich wrote: > > All rockchip SoCs can use ns16550 driver, enable it for all > > and set SYS_NS16550_MEM32 for all SoCs. > > > > Version-changes: 2 > > - use imply instead of select > > > > Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH] rsa-sign: Fix build against libressl

2018-04-19 Thread Jonathan Gray
On Wed, Apr 18, 2018 at 10:37:43PM +0200, Hauke Mehrtens wrote: > Libressl implements the OpenSSL 1.1 API partially and improved the > support with version 2.7. For some code we have to take use the OpenSSL > 1.0 API and for some parts the OpenSSL 1.1 API can be used. > This was compile tested

[U-Boot] [PATCH] rpi: Complete table of models with new revision code scheme

2018-04-06 Thread Jonathan Gray
upstreamed in linux. When that happens the name will likely have to be adjusted in the table. Signed-off-by: Jonathan Gray <j...@jsg.id.au> --- board/raspberrypi/rpi/rpi.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c b

Re: [U-Boot] [PATCH v3] tools/mxsimage: Support building with LibreSSL

2018-03-19 Thread Jonathan Gray
ersion 1.1.0. > > This commit will activate the compatibility code meant for > OpenSSL < 1.1.0 also for LibreSSL version < 2.7.0. > > Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> Reviewed-by: Jonathan Gray <j...@jsg.id.au> > --- > tools/mxsimage.c | 3 ++- >

Re: [U-Boot] rockchip: rk3399: set fdtfile

2018-03-19 Thread Jonathan Gray
On Mon, Mar 19, 2018 at 08:17:49AM +0100, klaus.go...@theobroma-systems.com wrote: > > > On 17.03.2018, at 09:48, Mark Kettenis wrote: > > > > Signed-off-by: Mark Kettenis > > Acked-by: Philipp Tomsich > > ---

Re: [U-Boot] tools/mxsimage: Support building with LibreSSL

2018-03-18 Thread Jonathan Gray
On Sun, Mar 18, 2018 at 01:55:29AM +0100, Hauke Mehrtens wrote: > On 03/18/2018 01:33 AM, Jonathan Gray wrote: > > On Sat, Mar 17, 2018 at 05:24:47PM +0100, Marek Vasut wrote: > >> On 03/17/2018 04:09 PM, Hauke Mehrtens wrote: > >>> On 03/17/2018 03:47 PM, Marek Vas

Re: [U-Boot] tools/mxsimage: Support building with LibreSSL

2018-03-17 Thread Jonathan Gray
On Sat, Mar 17, 2018 at 05:24:47PM +0100, Marek Vasut wrote: > On 03/17/2018 04:09 PM, Hauke Mehrtens wrote: > > On 03/17/2018 03:47 PM, Marek Vasut wrote: > >> On 03/17/2018 01:23 PM, Hauke Mehrtens wrote: > >>> The mxsimage utility fails to compile against LibreSSL because LibreSSL > >>> says it

[U-Boot] [PATCH] mmc: use core clock frequency in bcm2835 sdhost

2018-03-16 Thread Jonathan Gray
... Signed-off-by: Jonathan Gray <j...@jsg.id.au> Cc: Alexander Graf <ag...@suse.de> Cc: Peter Robinson <pbrobin...@gmail.com> --- arch/arm/mach-bcm283x/include/mach/msg.h | 3 ++- arch/arm/mach-bcm283x/msg.c | 4 ++-- drivers/mmc/bcm2835_sdhci.c |

Re: [U-Boot] RPi3 Not autobooting from SD-card. {Scanned}

2018-03-06 Thread Jonathan Gray
On Tue, Mar 06, 2018 at 02:12:23PM +0100, Alexander Graf wrote: > On 03/06/2018 01:55 PM, Jonathan Gray wrote: > > On Mon, Mar 05, 2018 at 06:18:59PM +, Peter Robinson wrote: > > > > > > Hi! > > > > > > I'm trying to boot from u-boot on a Ras

Re: [U-Boot] RPi3 Not autobooting from SD-card. {Scanned}

2018-03-06 Thread Jonathan Gray
On Mon, Mar 05, 2018 at 06:18:59PM +, Peter Robinson wrote: > >>> Hi! > >>> I'm trying to boot from u-boot on a Raspberry Pi 3. But for some reason > >>> it > >>> isn't autobooting on the SD-card. > >>> > >>> Is it possible to get more debug output on the screen console? I don't > >>> have >

Re: [U-Boot] [ANN] U-Boot v2018.03-rc4 released

2018-03-06 Thread Jonathan Gray
On Tue, Mar 06, 2018 at 11:36:37AM +, Peter Robinson wrote: > On Tue, Mar 6, 2018 at 1:28 AM, Tom Rini wrote: > > Hey all, > > > > It's release day and I've released v2018.03-rc4. I've included a few > > different regression fixes I've seen along with some fixes and

[U-Boot] [PATCH] tools/kwbimage: fix LibreSSL build

2018-02-20 Thread Jonathan Gray
Fix build after addition of RSA_get0_key() to LibreSSL. Patch from Theo Buehler and Stuart Henderson. Signed-off-by: Theo Buehler Signed-off-by: Stuart Henderson --- tools/kwbimage.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [RESEND PATCH 2/2] net: designware: add clock support

2018-02-16 Thread Jonathan Gray
ml > > Regards > > Patrice > > > On 02/16/2018 08:17 AM, Jonathan Gray wrote: > > On Wed, Nov 29, 2017 at 09:06:11AM +0100, patrice.chot...@st.com wrote: > >> From: Patrice Chotard <patrice.chot...@st.com> > >> > >> This implementation manage

Re: [U-Boot] [RESEND PATCH 2/2] net: designware: add clock support

2018-02-15 Thread Jonathan Gray
On Wed, Nov 29, 2017 at 09:06:11AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This implementation manages several clocks, disable and > free all of them in case of error during probe and in remove > callback. > > Signed-off-by: Patrice Chotard

Re: [U-Boot] Please fix ls1046ardb

2018-02-14 Thread Jonathan Gray
On Wed, Feb 14, 2018 at 07:25:53PM +, York Sun wrote: > Mingkai, > > LS1046ARDB is broken for both QSPI and SD. For QSPI, I cannot use > environmental variables. For SD boot, it fails when trying to init SD > card. Partial log is > > Initializing DDRusing SPD > WARNING: Calling

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-10 Thread Jonathan Gray
On Sat, Feb 10, 2018 at 10:57:26AM +0100, Lukasz Majewski wrote: > Hi Jonathan, > > > On Sat, Feb 10, 2018 at 01:45:16AM +0100, Lukasz Majewski wrote: > > > Hi Jonathan, > > > > > > > On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam wrote: > > > > > On Sat, Feb 3, 2018 at 5:29 AM,

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-09 Thread Jonathan Gray
On Sat, Feb 10, 2018 at 01:45:16AM +0100, Lukasz Majewski wrote: > Hi Jonathan, > > > On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam wrote: > > > On Sat, Feb 3, 2018 at 5:29 AM, Lukasz Majewski > > > wrote: > > > > The goal of this patch is to clean up the code related

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-09 Thread Jonathan Gray
On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam wrote: > On Sat, Feb 3, 2018 at 5:29 AM, Lukasz Majewski wrote: > > The goal of this patch is to clean up the code related to choosing SPL > > MMC boot mode. > > > > The spl_boot_mode() now is called only in

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-09 Thread Jonathan Gray
On Sat, Feb 03, 2018 at 12:47:48PM +1100, Jonathan Gray wrote: > On Sun, Jan 28, 2018 at 01:54:25PM -0500, Tom Rini wrote: > > On Tue, Jan 23, 2018 at 06:05:21PM +0100, Alexander Graf wrote: > > > > > The bcm283x family of SoCs have a GPIO controller that also acts as

Re: [U-Boot] [PATCH v1 1/2] mmc: Fix bug in sd_set_card_speed()

2018-02-09 Thread Jonathan Gray
t by masking the upper bits. > > This fixes a problem seen with QEmu emulating a vexpress-a15. > > Reported-by: Jonathan Gray <j...@jsg.id.au> > Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com> With this change the emulated mmc controller can be accessed again here. T

Re: [U-Boot] [PATCH v2 1/1] efi_loader: correct efi_disk_register

2018-02-09 Thread Jonathan Gray
system configured with > CONFIG_BLK=n (e.g. i.MX6). > > Reported-by: Jonathan Gray <j...@jsg.id.au> > Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> Thanks, this change resolves the problems I was seeing with master as of e24bd1e79e223aa89854c0be95a53e2d538

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-08 Thread Jonathan Gray
On Fri, Feb 09, 2018 at 04:43:09AM +0100, Heinrich Schuchardt wrote: > On 02/09/2018 12:55 AM, Jonathan Gray wrote: > > On Thu, Feb 08, 2018 at 03:44:32PM +0100, Heinrich Schuchardt wrote: > > > On 02/08/2018 10:49 AM, Jonathan Gray wrote: > > > > On Thu, Feb 08, 2018

Re: [U-Boot] [PATCH v3 11/18] efi_loader: make efi_disk_create_partitions a global symbol

2018-02-08 Thread Jonathan Gray
On Fri, Jan 19, 2018 at 08:24:47PM +0100, Heinrich Schuchardt wrote: > Up to now we have been using efi_disk_create_partitions() to create > partitions for block devices that existed before starting an EFI > application. > > We need to call it for block devices created by EFI > applications at

Re: [U-Boot] [PATCH v2 10/26] mmc: refactor SD startup to make it easier to support new modes

2018-02-08 Thread Jonathan Gray
On Thu, Sep 21, 2017 at 04:29:57PM +0200, Jean-Jacques Hiblot wrote: > The SDcard startup process currently handles only 2 modes. To make it > easier to add support for more modes, let's make the process more generic > and use a list of the modes to try. > The major functional change is that when

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-08 Thread Jonathan Gray
On Thu, Feb 08, 2018 at 03:44:32PM +0100, Heinrich Schuchardt wrote: > On 02/08/2018 10:49 AM, Jonathan Gray wrote: > > On Thu, Feb 08, 2018 at 08:10:47PM +1100, Jonathan Gray wrote: > >> On Thu, Feb 08, 2018 at 09:11:20AM +0100, Alexander Graf wrote: > >>> >

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-08 Thread Jonathan Gray
On Thu, Feb 08, 2018 at 08:10:47PM +1100, Jonathan Gray wrote: > On Thu, Feb 08, 2018 at 09:11:20AM +0100, Alexander Graf wrote: > > > > > > > Am 08.02.2018 um 06:49 schrieb Jonathan Gray <j...@jsg.id.au>: > > > > > > On Mon, Feb 05, 2018 at 11:

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-08 Thread Jonathan Gray
On Thu, Feb 08, 2018 at 09:11:20AM +0100, Alexander Graf wrote: > > > > Am 08.02.2018 um 06:49 schrieb Jonathan Gray <j...@jsg.id.au>: > > > > On Mon, Feb 05, 2018 at 11:31:42AM +0100, Mark Kettenis wrote: > >>> Date: Mon, 5 Feb 2018 21:06:59 +1100

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-07 Thread Jonathan Gray
On Mon, Feb 05, 2018 at 11:31:42AM +0100, Mark Kettenis wrote: > > Date: Mon, 5 Feb 2018 21:06:59 +1100 > > From: Jonathan Gray <j...@jsg.id.au> > > > > > > booting sd0a:/bsd: open sd0a:/bsd: Device not configured > > > > failed(6). will try /bsd

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-05 Thread Jonathan Gray
On Mon, Feb 05, 2018 at 09:37:15AM +0100, Alexander Graf wrote: > > > On 03.02.18 12:38, Jonathan Gray wrote: > > On Sat, Feb 03, 2018 at 09:02:25AM +0100, Alexander Graf wrote: > >> > >> > >> On 03.02.18 02:47, Jonathan Gray wrote: > >>> On

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-03 Thread Jonathan Gray
On Sat, Feb 03, 2018 at 09:02:25AM +0100, Alexander Graf wrote: > > > On 03.02.18 02:47, Jonathan Gray wrote: > > On Sun, Jan 28, 2018 at 01:54:25PM -0500, Tom Rini wrote: > >> On Tue, Jan 23, 2018 at 06:05:21PM +0100, Alexander Graf wrote: > >> > >&g

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-02 Thread Jonathan Gray
On Sun, Jan 28, 2018 at 01:54:25PM -0500, Tom Rini wrote: > On Tue, Jan 23, 2018 at 06:05:21PM +0100, Alexander Graf wrote: > > > The bcm283x family of SoCs have a GPIO controller that also acts as > > pinctrl controller. > > > > This patch introduces a new pinctrl driver that can actually

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2018-01-31 Thread Jonathan Gray
On Fri, Dec 08, 2017 at 06:55:02AM +0100, Alexander Graf wrote: > > > On 07.12.17 12:45, Jonathan Gray wrote: > > On Thu, Dec 07, 2017 at 11:57:43AM +0100, Heinrich Schuchardt wrote: > >> On 12/07/2017 08:00 AM, Jonathan Gray wrote: > >>> On Fri, Dec 01, 2017

Re: [U-Boot] [PATCH v2 1/4] ARM: qemu-arm: Add support for AArch64

2018-01-13 Thread Jonathan Gray
On Sat, Jan 13, 2018 at 02:45:32PM +0200, Tuomas Tynkkynen wrote: > Hi Jonathan, > > On 01/13/2018 09:08 AM, Jonathan Gray wrote: > > On Thu, Jan 11, 2018 at 04:11:23PM +0200, Tuomas Tynkkynen wrote: > > > This adds support for '-machine virt' on AArch64. This is rather s

Re: [U-Boot] [PATCH v2 1/4] ARM: qemu-arm: Add support for AArch64

2018-01-12 Thread Jonathan Gray
On Thu, Jan 11, 2018 at 04:11:23PM +0200, Tuomas Tynkkynen wrote: > This adds support for '-machine virt' on AArch64. This is rather simple: > we just add TARGET_QEMU_ARM_xxBIT to select a few different Kconfig > symbols, provide the ARMv8 memory map from the board file and add a new > defconfig

Re: [U-Boot] [PULL] efi patch queue 2017-12-17

2017-12-18 Thread Jonathan Gray
On Sun, Dec 17, 2017 at 09:33:44PM +0100, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit 15616a0aa58173bce1efe47569bf2e10d023ae9c: > > Merge git://git.denx.de/u-boot-dm (2017-12-14 15:46:07 -0500) >

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-07 Thread Jonathan Gray
On Fri, Dec 08, 2017 at 08:09:46AM +0100, Heinrich Schuchardt wrote: > On 12/07/2017 08:00 AM, Jonathan Gray wrote: > > On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf wrote: > > > Commit 884bcf6f65 (efi_loader: use proper device-paths for partitions) > > &g

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-07 Thread Jonathan Gray
On Fri, Dec 08, 2017 at 06:55:02AM +0100, Alexander Graf wrote: > > > On 07.12.17 12:45, Jonathan Gray wrote: > > On Thu, Dec 07, 2017 at 11:57:43AM +0100, Heinrich Schuchardt wrote: > >> On 12/07/2017 08:00 AM, Jonathan Gray wrote: > >>> On Fri, Dec 01, 2017

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-07 Thread Jonathan Gray
On Thu, Dec 07, 2017 at 11:57:43AM +0100, Heinrich Schuchardt wrote: > On 12/07/2017 08:00 AM, Jonathan Gray wrote: > > On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf wrote: > >> Commit 884bcf6f65 (efi_loader: use proper device-paths for partitions) > >> tri

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-06 Thread Jonathan Gray
On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf wrote: > Commit 884bcf6f65 (efi_loader: use proper device-paths for partitions) tried > to introduce the el torito scheme to all partition table types: Spawn > individual disk objects for each partition on a disk. > > Unfortunately, that

Re: [U-Boot] [PATCH] efi_loader: initialise partition_signature memory

2017-11-30 Thread Jonathan Gray
On Thu, Nov 30, 2017 at 09:24:36AM -0500, Rob Clark wrote: > On Tue, Nov 21, 2017 at 7:24 AM, Jonathan Gray <j...@jsg.id.au> wrote: > > Zero partition_signature in the efi_device_path_hard_drive_path > > structure when signature_type is zero. > > > > This

[U-Boot] [PATCH v2] efi_loader: initialise partition_signature memory

2017-11-21 Thread Jonathan Gray
in the specification Signed-off-by: Jonathan Gray <j...@jsg.id.au> --- lib/efi_loader/efi_device_path.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index f6e368e029..12a81d311c

[U-Boot] [PATCH] efi_loader: initialise partition_signature memory

2017-11-21 Thread Jonathan Gray
with MEDIA_DEVICE causing the OpenBSD bootloader to fail on rpi_3 and other targets. Signed-off-by: Jonathan Gray <j...@jsg.id.au> --- lib/efi_loader/efi_device_path.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index f6e3

Re: [U-Boot] [PATCH] efi_loader: Fix disk dp's for pre-DM/legacy devices

2017-11-21 Thread Jonathan Gray
On Tue, Nov 21, 2017 at 04:59:33PM +1100, Jonathan Gray wrote: > On Sat, Nov 18, 2017 at 03:25:29PM +1100, Jonathan Gray wrote: > > > > While U-Boot 2017.11 release works with vexpress/qemu with the > > efi loader it is broken on at least rpi_3 and tinker-rk3288. > >

Re: [U-Boot] [PATCH] efi_loader: Fix disk dp's for pre-DM/legacy devices

2017-11-20 Thread Jonathan Gray
On Sat, Nov 18, 2017 at 03:25:29PM +1100, Jonathan Gray wrote: > > While U-Boot 2017.11 release works with vexpress/qemu with the > efi loader it is broken on at least rpi_3 and tinker-rk3288. > MEDIA_DEVICE is not found again. The loaded image paths look like the below. vexpress

Re: [U-Boot] [PATCH] efi_loader: Fix disk dp's for pre-DM/legacy devices

2017-11-17 Thread Jonathan Gray
On Tue, Oct 10, 2017 at 04:48:01AM +1100, Jonathan Gray wrote: > On Mon, Oct 09, 2017 at 01:06:26PM -0400, Rob Clark wrote: > > On Mon, Oct 9, 2017 at 12:41 PM, Jonathan Gray <j...@jsg.id.au> wrote: > > > On Mon, Oct 09, 2017 at 12:06:24PM -0400, Rob Clark wrote: > >

Re: [U-Boot] [PATCH 3/3] efi_loader: Do not enable it by default for sunxi

2017-10-19 Thread Jonathan Gray
On Thu, Oct 19, 2017 at 10:51:04AM +0200, Alexander Graf wrote: > On 10/19/2017 10:26 AM, Maxime Ripard wrote: > > The EFI loader support takes around 31kB on an ARMv7 board, which makes us > > trip across the size limit we've had on the U-Boot binary. > > > > Since it's not an essential feature,

[U-Boot] efi_loader triggers fec_mxc messages when booting off mmc

2017-10-14 Thread Jonathan Gray
After the recent changes to add SimpleNetworkProtocol to efi_loader when booting off mmc via an efi payload that doesn't use SimpleNetworkProtocol U-Boot's fec_mxc driver will now display various "error frame" messages. U-Boot SPL 2017.11-rc1-00277-g7b342d8c5d (Oct 15 2017 - 12:55:50) Trying to

Re: [U-Boot] efi_loader: search all possible disk partitions

2017-10-10 Thread Jonathan Gray
tching the other callers of > > part_get_info(). > > > > This allows OpenBSD to boot via the efi_loader on rpi_3 again after > > changes made after U-Boot 2017.09. With MBR partitioning OpenBSD will > > by default use the fourth partition for the 0xA6 (OpenBSD) partition.

[U-Boot] [PATCH] efi_loader: don't increment part twice per loop

2017-10-10 Thread Jonathan Gray
Correct a mistake in the part number handling of 16a73b249d138fedeb188710533902ed7aac1ddc and only increment part once per loop. Signed-off-by: Jonathan Gray <j...@jsg.id.au> --- lib/efi_loader/efi_disk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/efi_loader/efi_disk.c

[U-Boot] [PATCH] efi_loader: search all possible disk partitions

2017-10-09 Thread Jonathan Gray
changes made after U-Boot 2017.09. With MBR partitioning OpenBSD will by default use the fourth partition for the 0xA6 (OpenBSD) partition. Signed-off-by: Jonathan Gray <j...@jsg.id.au> --- lib/efi_loader/efi_disk.c | 20 1 file changed, 12 insertions(+), 8 deletions(-)

  1   2   >