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 https://lists.denx.d

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

2022-08-29 Thread Jonathan Gray
mage: 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

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

2020-05-15 Thread Jonathan Gray
quot;) 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 "mkimag

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 3b4847cb

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 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 at

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 > comp

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 boa

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: > > https://www.mail-archive.com/u-boot@lists.de

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] 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: [U-Boot] [PATCH v2] efi_loader: Make RTS relocation more robust

2018-12-13 Thread Jonathan Gray
efi_loader: Align 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 ser

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

2018-09-03 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] 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] 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 EVP_MD_CT

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 so

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 (0xa22

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

2018-07-24 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] [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

[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] 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. > > >

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

[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 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 di

[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

[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] tools/file2include: don't use malloc.h for malloc

2018-11-17 Thread Jonathan Gray
ot defined 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

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 w

[U-Boot] kwbimage use after free

2016-10-21 Thread Jonathan Gray
I didn't see a dedicated list to send bug reports so sending it here: There is a use after free in kwbimage, found by building u-boot with the use after free detection enabled with OpenBSD's malloc. When building the clearfog target: MKIMAGE u-boot-spl.kwb Segmentation fault (core dumped) kwb

[U-Boot] [PATCH] compiler.h: use system endian macros on OpenBSD

2016-09-03 Thread Jonathan Gray
The u-boot endian macros map directly to system endian macros on OpenBSD. Signed-off-by: Jonathan Gray --- include/compiler.h | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/include/compiler.h b/include/compiler.h index 47c296e..65b826e 100644 --- a

[U-Boot] [PATCH] image-fit: switch ENOLINK to ENOENT

2016-09-03 Thread Jonathan Gray
ENOLINK is not required by POSIX and does not exist on OpenBSD and likely other systems. Signed-off-by: Jonathan Gray --- common/image-fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image-fit.c b/common/image-fit.c index d8d4e95..79c0375 100644 --- a/common

Re: [U-Boot] image-fit: switch ENOLINK to ENOENT

2016-09-08 Thread Jonathan Gray
On Wed, Sep 07, 2016 at 02:00:19PM -0400, Tom Rini wrote: > On Sat, Sep 03, 2016 at 08:30:14AM +1000, Jonathan Gray wrote: > > > ENOLINK is not required by POSIX and does not exist on OpenBSD > > and likely other systems. > > > > Signed-off-by: Jonathan Gray

Re: [U-Boot] image-fit: switch ENOLINK to ENOENT

2016-09-08 Thread Jonathan Gray
On Thu, Sep 08, 2016 at 08:48:53AM -0400, Tom Rini wrote: > On Thu, Sep 08, 2016 at 10:01:52PM +1000, Jonathan Gray wrote: > > On Wed, Sep 07, 2016 at 02:00:19PM -0400, Tom Rini wrote: > > > On Sat, Sep 03, 2016 at 08:30:14AM +1000, Jonathan Gray wrote: > > > > &g

Re: [U-Boot] image-fit: switch ENOLINK to ENOENT

2016-09-08 Thread Jonathan Gray
On Thu, Sep 08, 2016 at 09:15:45AM -0400, Tom Rini wrote: > On Thu, Sep 08, 2016 at 11:06:34PM +1000, Jonathan Gray wrote: > > On Thu, Sep 08, 2016 at 08:48:53AM -0400, Tom Rini wrote: > > > On Thu, Sep 08, 2016 at 10:01:52PM +1000, Jonathan Gray wrote: > > > > On W

Re: [U-Boot] image-fit: switch ENOLINK to ENOENT

2016-09-08 Thread Jonathan Gray
On Thu, Sep 08, 2016 at 11:17:12AM -0400, Tom Rini wrote: > On Thu, Sep 08, 2016 at 11:53:48PM +1000, Jonathan Gray wrote: > > On Thu, Sep 08, 2016 at 09:15:45AM -0400, Tom Rini wrote: > > > On Thu, Sep 08, 2016 at 11:06:34PM +1000, Jonathan Gray wrote: > > > > On T

Re: [U-Boot] [PATCH] image-fit: switch ENOLINK to ENOENT

2016-09-15 Thread Jonathan Gray
return 0; > else if (rd_noffset < 0) > return 1; > > So, yes, 2016.09 breaks Armada, apparently. The callers of the proposed/rejected kwboot.c errno diff were all checked but the test of the result in the caller of this one seems to have

Re: [U-Boot] [PATCH] Revert "image-fit: switch ENOLINK to ENOENT"

2016-09-16 Thread Jonathan Gray
commit bac17b78dace ("image-fit: switch ENOLINK to > ENOENT"). > > Signed-off-by: Paul Burton > Cc: Jonathan Gray > > --- > > common/image-fit.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/common/image-fit.c b/common/image-f

Re: [U-Boot] [PATCH] Revert "image-fit: switch ENOLINK to ENOENT"

2016-09-18 Thread Jonathan Gray
On Sun, Sep 18, 2016 at 03:14:30PM +0200, Marek Vasut wrote: > On 09/17/2016 05:42 AM, Jonathan Gray wrote: > > On Fri, Sep 16, 2016 at 10:21:43PM +0100, Paul Burton wrote: > >> Commit bac17b78dace ("image-fit: switch ENOLINK to ENOENT") changed > >> fit_get_no

Re: [U-Boot] [linux-sunxi] Re: [PATCH 14/17] sunxi: Pine64: defconfig: enable SPL FIT support

2017-03-04 Thread Jonathan Gray
On Fri, Mar 03, 2017 at 09:55:25AM +, Andre Przywara wrote: > Hi, > > On 03/03/17 09:22, Maxime Ripard wrote: > > On Thu, Mar 02, 2017 at 12:03:20AM +0800, Icenowy Zheng wrote: > >> > >> 2017???3???1??? 23:51??? Maxime Ripard > >> ? > >>> > >>> Hi Andre, > >>> > >>> On Wed, Mar 01, 2

[U-Boot] [PATCH 1/2] efi_loader: run CreateEvent() notify function based on flags

2017-03-12 Thread Jonathan Gray
. Signed-off-by: Jonathan Gray --- include/efi_api.h | 3 +++ lib/efi_loader/efi_boottime.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/efi_api.h b/include/efi_api.h index 5c3836a51b..f071b36b53 100644 --- a/include/efi_api.h +++ b/include/efi_api.h

[U-Boot] [PATCH 2/2] efi_loader: check CreateEvent() parameters

2017-03-12 Thread Jonathan Gray
Add some of the invalid parameter checks described in the UEFI specification for CreateEvent(). This does not include checking the validity of the type and tpl parameters. Signed-off-by: Jonathan Gray --- lib/efi_loader/efi_boottime.c | 10 ++ 1 file changed, 10 insertions(+) diff

Re: [U-Boot] am335x: musb: mass storage device issue

2017-02-13 Thread Jonathan Gray
On Mon, Feb 13, 2017 at 04:02:31PM +0100, Yegor Yefremov wrote: > On Mon, Feb 13, 2017 at 3:17 PM, Belisko Marek > wrote: > > Hi Yegor, > > > > On Mon, Feb 13, 2017 at 12:57 PM, Yegor Yefremov > > wrote: > >> > >> My am335x based board doesn't detect USB sticks: > >> > >> U-Boot 2017.03-rc1 (Feb

Re: [U-Boot] [PATCH 1/2] rsa: Fix build with OpenSSL 1.1.x

2017-02-15 Thread Jonathan Gray
These version tests should be #if (OPENSSL_VERSION_NUMBER < 0x1010L) || defined(LIBRESSL_VERSION_NUMBER) or better yet have tests based on functionality rather than version. opensslv.h on OpenBSD-current/LibreSSL portable master has /* $OpenBSD: opensslv.h,v 1.39 2017/02/14 03:50:25 bcook E

Re: [U-Boot] [PATCH] binman: Explicitly request python2 instead of python from env

2017-02-22 Thread Jonathan Gray
On Mon, Feb 20, 2017 at 07:41:34PM +0100, Paul Kocialkowski wrote: > We now live in a world where python cannot be assumed to be python2. > As a matter of fact, it is no longer the default for python on many > GNU/Linux distributions. > > Running binman with python3 fails, so explicitly request py

Re: [U-Boot] [PATCH] bch: Fix build on FreeBSD host

2017-07-18 Thread Jonathan Gray
On Tue, Jun 20, 2017 at 09:02:29AM +0200, Emmanuel Vadot wrote: > endian.h on FreeBSD system exist in sys/ subdirectory. > FreeBSD already have a fls function defined in strings.h which is included > in string.h if __BSD_VISIBLE is defined, as a check for this. This broke the build of u-boot on Op

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Add support for sata

2017-05-15 Thread Jonathan Gray
On Mon, May 15, 2017 at 06:24:46PM +0100, Peter Robinson wrote: > The Cubox-i and Hummingboard series of devices have an option of > SATA on board, and depending on how the fuses are blown even the > option to boot SPL from SATA. So enable support for it so it can > be used to boot the OS from if p

[U-Boot] [PATCH] compiler.h: use u-boot endian macros on OpenBSD

2016-11-25 Thread Jonathan Gray
define glibc __BYTE_ORDER __BIG_ENDIAN __LITTLE_ENDIAN names, as at least some parts of the non-cross build assumes those names are present (ie crc32.c). Signed-off-by: Jonathan Gray --- include/compiler.h | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a

[U-Boot] [PATCH] relocate-rela: use compiler.h endian macros

2016-12-10 Thread Jonathan Gray
Use the endian macros from u-boot's compiler.h instead of duplicating the definitions. This also avoids a build error on OpenBSD by removing swap64 which collides with a system definition in endian.h pulled in by inttypes.h. Signed-off-by: Jonathan Gray --- tools/relocate-rela.c

Re: [U-Boot] [PATCH] relocate-rela: use compiler.h endian macros

2016-12-23 Thread Jonathan Gray
Any objections to this? On Sun, Dec 11, 2016 at 02:51:13PM +1100, Jonathan Gray wrote: > Use the endian macros from u-boot's compiler.h instead of duplicating > the definitions. > > This also avoids a build error on OpenBSD by removing swap64 which > collides with a system de

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 : > > > > > > On Mon, Feb 05, 2018 at 11:31:42AM +0100, Mark Ket

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] [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 a

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 run

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 v2 1/1] efi_loader: correct efi_disk_register

2018-02-09 Thread Jonathan Gray
OpenBSD on system configured with > CONFIG_BLK=n (e.g. i.MX6). > > Reported-by: Jonathan Gray > Signed-off-by: Heinrich Schuchardt Thanks, this change resolves the problems I was seeing with master as of e24bd1e79e223aa89854c0be95a53e2d538144a5 on both mx6cuboxi and rpi_3. Tested-by: J

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

2018-02-09 Thread Jonathan Gray
masking the upper bits. > > This fixes a problem seen with QEmu emulating a vexpress-a15. > > Reported-by: Jonathan Gray > Signed-off-by: Jean-Jacques Hiblot With this change the emulated mmc controller can be accessed again here. Tested-by: Jonathan Gray > > --- > &

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 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 spl_mmc_load_image() function, > >

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 to > > > > choos

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, Luka

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 __hwconfig

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 > --- > drivers/net/designwa

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 > >> > >> This implementation manages several clocks, disable

[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 a/tools/kwbimage.c b/tools/kwbimage.c ind

Re: [U-Boot] [PULL] Please pull u-boot-rockchip/master

2018-02-25 Thread Jonathan Gray
On Sun, Feb 25, 2018 at 11:43:13AM +0100, Dr. Philipp Tomsich wrote: > Tom, > > we have additional fixes ready for you: > * the TPL-build process for the Vyasa board was fixed by Jagan (by > providing the correct TEXT_BASE) > * a regression on Ethernet for the RK3399 and RK3368 has be

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 cleanups. > > I would like

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] 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

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

2018-03-16 Thread Jonathan Gray
m FAT... Signed-off-by: Jonathan Gray Cc: Alexander Graf Cc: Peter Robinson --- arch/arm/mach-bcm283x/include/mach/msg.h | 3 ++- arch/arm/mach-bcm283x/msg.c | 4 ++-- drivers/mmc/bcm2835_sdhci.c | 2 +- drivers/mmc/bcm2835_sdhost.c | 3 ++- 4 files chang

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

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

2018-03-17 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] 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 > > --- > > include/configs/rk3399_common.h | 1 + > > 1 file changed, 1 insertion(+) > > >

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

2018-03-19 Thread Jonathan Gray
n 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 Reviewed-by: Jonathan Gray > --- > tools/mxsimage.c | 3 ++- > 1 file changed, 2 insertions(+), 1 delet

Re: [U-Boot] U-boot 2017.07 not working on Raspberry Pi

2017-08-03 Thread Jonathan Gray
On Wed, Aug 02, 2017 at 01:13:30PM +0100, Paul Barker wrote: > I'm currently testing U-boot 2017.07 on Raspberry Pi, both on a Model > B+ and a Raspberry Pi 3. On both devices I'm seeing two issues with > u-boot: > > * U-boot can't boot the Linux kernel, it just hangs at "Starting kernel ...". >

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-06 Thread Jonathan Gray
On Sun, Aug 06, 2017 at 11:34:15AM -0400, Rob Clark wrote: > On Sun, Aug 6, 2017 at 10:45 AM, Rob Clark wrote: > > > > I've started trying to hack up test_efi_loader.py to add a test that > > loads OpenBSD's bootloader.. kinda muddling through it at this point, > > since not a py expert or too fa

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-07 Thread Jonathan Gray
On Sun, Aug 06, 2017 at 11:34:15AM -0400, Rob Clark wrote: > On Sun, Aug 6, 2017 at 10:45 AM, Rob Clark wrote: > > > > I've started trying to hack up test_efi_loader.py to add a test that > > loads OpenBSD's bootloader.. kinda muddling through it at this point, > > since not a py expert or too fa

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-07 Thread Jonathan Gray
On Mon, Aug 07, 2017 at 12:16:54PM -0400, Rob Clark wrote: > On Mon, Aug 7, 2017 at 11:47 AM, Jonathan Gray wrote: > > On Sun, Aug 06, 2017 at 11:34:15AM -0400, Rob Clark wrote: > >> On Sun, Aug 6, 2017 at 10:45 AM, Rob Clark wrote: > >> > > >> > I'

Re: [U-Boot] [RFC] efi_loader: Add test to boot OpenBSD's efi bootloader

2017-08-09 Thread Jonathan Gray
On Sun, Aug 06, 2017 at 03:06:17PM -0400, Rob Clark wrote: > On Sun, Aug 6, 2017 at 2:54 PM, Mark Kettenis wrote: > >> From: Rob Clark > >> Date: Sun, 6 Aug 2017 12:10:28 -0400 > >> > >> Signed-off-by: Rob Clark > >> --- > >> Kinda works, but since we don't have an 'exit' command like grub, we

Re: [U-Boot] [PATCH] Makefile: honor PYTHON configuration properly

2017-08-13 Thread Jonathan Gray
On Sun, Aug 13, 2017 at 11:04:03PM +0200, Cl??ment B??sch wrote: > --- > Makefile | 2 +- > tools/Makefile | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) There is a similiar fragment in scripts/Makefile.spl with the checkdtoc target that should also be fixed. checkdtoc: tools

Re: [U-Boot] [PATCH v3] Makefile: honor PYTHON configuration properly

2017-08-14 Thread Jonathan Gray
d from Python 3. > > Note on the libfdt imports: "@if ! PYTHONPATH=tools $(PYTHON) -c 'import > libfdt'; then..." is probably simpler than the currently sub-optimal > pipe. Reviewed-by: Jonathan Gray This is also helpful for OpenBSD where python 2 is not

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 wrote: > > > On Mon, Oct 09, 2017 at 12:06:24PM -0400, Rob Clark wrote: > > >> On Mon, Oct

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-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. > >

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

2017-11-21 Thread Jonathan Gray
MEDIA_DEVICE causing the OpenBSD bootloader to fail on rpi_3 and other targets. Signed-off-by: Jonathan Gray --- 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 f6e368e029..8045532a29 100644

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

2017-11-21 Thread Jonathan Gray
specification Signed-off-by: Jonathan Gray --- 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 100644 --- a/lib/efi_loader

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 wrote: > > Zero partition_signature in the efi_device_path_hard_drive_path > > structure when signature_type is zero. > > > > This is required so that efi_dp_ma

[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 --- board/raspberrypi/rpi/rpi.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c

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 agai

Re: [U-Boot] [PATCH] rpi: Enable USB keyboard support

2017-08-24 Thread Jonathan Gray
s with CONFIG_DM_KEYBOARD=y added. With CONFIG_DM_KEYBOARD=y having both HDMI and serial connected, input from serial and USB keyboard is output to both HDMI and serial as expected. Tested-by: Jonathan Gray > > Signed-off-by: Simon Glass > --- > > configs/rpi_2_defconfig

Re: [U-Boot] U-boot 2017.07 not working on Raspberry Pi

2017-08-25 Thread Jonathan Gray
On Fri, Aug 25, 2017 at 10:46:55AM +0100, Paul Barker wrote: > On Fri, Aug 25, 2017 at 2:46 AM, Simon Glass wrote: > > Hi, > > > > On 20 August 2017 at 20:59, Simon Glass wrote: > >> Hi Paul, > >> > >> On 3 August 2017 at 11:42, Tom Rini wrote: > >>> On Thu, Aug 03, 2017 at 09:42:13AM -0600, Ste

[U-Boot] [PATCH] bch: don't use __BSD_VISIBLE to test for fls

2017-08-27 Thread Jonathan Gray
__FreeBSD__ to unbreak the build on OpenBSD. Signed-off-by: Jonathan Gray --- lib/bch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bch.c b/lib/bch.c index 7a2d9d3b86..d0d7e25c4e 100644 --- a/lib/bch.c +++ b/lib/bch.c @@ -117,7 +117,7 @@ struct gf_poly_deg1

Re: [U-Boot] [ANN] U-Boot v2017.09-rc3 released

2017-08-28 Thread Jonathan Gray
On Mon, Aug 28, 2017 at 10:56:52PM -0400, Tom Rini wrote: > Hey all, > > It's release day and v2017.09-rc3 is out. I think there's still a few > outstanding important bugfixes that need to come in, and probably a few > more Kconfig migrations as well. The tag/changes not pushed to git yet? > >

Re: [U-Boot] [PATCH] Revert "dm: arm: rpi: Drop CONFIG_OF_EMBED"

2017-09-06 Thread Jonathan Gray
rk Kettenis tracked it down to that commit. Tested-by: Jonathan Gray > --- > configs/rpi_2_defconfig | 1 + > configs/rpi_3_32b_defconfig | 1 + > configs/rpi_3_defconfig | 1 + > configs/rpi_defconfig | 1 + > 4 files changed, 4 insertions(+) > > diff

Re: [U-Boot] [PATCH] disk: part_dos: Use the original allocation scheme for the SPL case

2017-10-04 Thread Jonathan Gray
On Wed, Oct 04, 2017 at 01:12:48PM -0400, Rob Clark wrote: > On Wed, Oct 4, 2017 at 12:29 PM, Fabio Estevam wrote: > > Since commit ff98cb90514d ("part: extract MBR signature from partitions") > > SPL boot on i.MX6 starts to fail: > > > > U-Boot SPL 2017.09-00221-g0d6ab32 (Oct 02 2017 - 15:13:19)

Re: [U-Boot] [PATCH] disk: part_dos: Use the original allocation scheme for the SPL case

2017-10-05 Thread Jonathan Gray
On Thu, Oct 05, 2017 at 05:05:49AM -0400, Rob Clark wrote: > On Thu, Oct 5, 2017 at 12:36 AM, Jonathan Gray wrote: > > On Wed, Oct 04, 2017 at 01:12:48PM -0400, Rob Clark wrote: > >> On Wed, Oct 4, 2017 at 12:29 PM, Fabio Estevam > >> wrote: > >> > Since

Re: [U-Boot] [PATCH] disk: part_dos: Use the original allocation scheme for the SPL case

2017-10-06 Thread Jonathan Gray
On Fri, Oct 06, 2017 at 08:21:26AM -0400, Rob Clark wrote: > On Fri, Oct 6, 2017 at 12:35 AM, Jonathan Gray wrote: > > On Thu, Oct 05, 2017 at 05:05:49AM -0400, Rob Clark wrote: > >> On Thu, Oct 5, 2017 at 12:36 AM, Jonathan Gray wrote: > >> > On Wed, Oct 04, 2017

Re: [U-Boot] [PATCH] disk: part_dos: Use the original allocation scheme for the SPL case

2017-10-07 Thread Jonathan Gray
On Sat, Oct 07, 2017 at 08:23:31AM -0400, Rob Clark wrote: > On Fri, Oct 6, 2017 at 10:08 PM, Jonathan Gray wrote: > > On Fri, Oct 06, 2017 at 08:21:26AM -0400, Rob Clark wrote: > >> On Fri, Oct 6, 2017 at 12:35 AM, Jonathan Gray wrote: > >> > On Thu, Oct 05, 2017

Re: [U-Boot] [PATCH] disk: part_dos: Use the original allocation scheme for the SPL case

2017-10-07 Thread Jonathan Gray
On Sat, Oct 07, 2017 at 02:46:04PM -0300, Fabio Estevam wrote: > Hi Jonathan, > > On Thu, Oct 5, 2017 at 1:36 AM, Jonathan Gray wrote: > > > This does not seem to be a complete fix, cubox is still broken when > > U-Boot proper loads, unless the efi loader comm

Re: [U-Boot] [PATCH] disk: part_dos: Use the original allocation scheme for the SPL case

2017-10-08 Thread Jonathan Gray
On Sun, Oct 08, 2017 at 09:56:15AM -0300, Fabio Estevam wrote: > On Sat, Oct 7, 2017 at 10:06 PM, Jonathan Gray wrote: > > > I wonder if you have the same kind of fat filesystem. > > No, I have only used ext4 file system. > > > Can you try writing > > ht

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

2017-10-08 Thread Jonathan Gray
gt; parent device. > > Reported-by: Jonathan Gray > Signed-off-by: Rob Clark Thanks for looking into this. While this lets armv7/bootarm.efi boot again on cubox-i and bbb it doesn't help rpi3. What is the easiest way to get U-Boot to display these paths to be able to compare the curren

  1   2   >