Re: [PATCH] tools: mkimage: Allow changing U-Boot image magic

2023-01-23 Thread Hauke Mehrtens
On 1/23/23 19:49, Simon Glass wrote: Hi, On Sun, 22 Jan 2023 at 07:20, Hauke Mehrtens wrote: Extend mkimage with a new optional option -M to specify a special U-Boot image magic number. OpenWrt ships images for about 30 different boards with vendor boot loaders which are expecting

[PATCH] tools: mkimage: Allow changing U-Boot image magic

2023-01-22 Thread Hauke Mehrtens
years. It was added by Gabor Juhos in this commit: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=f3d2056b81b7a92d28402c22736534d84fe23cfe Cc: Gabor Juhos Signed-off-by: Hauke Mehrtens --- tools/default_image.c | 4 ++-- tools/imagetool.h | 1 + tools/mkimage.c | 14

[U-Boot] [PATCH] sun50i: h5: Orange Pi Zero Plus: Fix SdCard detection

2019-01-13 Thread Hauke Mehrtens
is for the Wifi card. Fixes: 76d69eb01de ("sun50i: h5: Add initial Orange Pi Zero Plus support") Signed-off-by: Hauke Mehrtens --- configs/orangepi_zero_plus_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/orangepi_zero_plus_defconfig

[U-Boot] sun50i: h5: Add initial Orange Pi Zero Plus support

2018-06-09 Thread Hauke Mehrtens
+ power supply The device tree file is copied from the Linux kernel 4.17. Signed-off-by: Hauke Mehrtens --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun50i-h5-orangepi-zero-plus.dts | 145 ++ board/sunxi/MAINTAINERS | 5

[U-Boot] sun8i: h2: Add initial Orange Pi R1 support

2018-06-09 Thread Hauke Mehrtens
+ power supply This board is very similar to the Orange Pi Zero. The device tree file is copied from the Linux kernel 4.17. Signed-off-by: Hauke Mehrtens --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun8i-h2-plus-orangepi-r1.dts | 101 + board

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

2018-04-18 Thread Hauke Mehrtens
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 against libressl 2.6.4 and 2.7.2. Signed-off-by: Hauke Mehrtens <

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

2018-03-18 Thread Hauke Mehrtens
ersion < 2.7.0. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- tools/mxsimage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/mxsimage.c b/tools/mxsimage.c index 32a7978cae..c8f1f204e3 100644 --- a/tools/mxsimage.c +++ b/tools/mxsimage.c @@ -26,7 +26,8 @@

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

2018-03-18 Thread Hauke Mehrtens
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 Vasut wrote: >>>> On 03/17/2018 01:23 PM, Hauke Mehrtens wrote: >>>&

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

2018-03-18 Thread Hauke Mehrtens
ons in the future the version check should be adapted. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- tools/mxsimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mxsimage.c b/tools/mxsimage.c index 32a7978cae..0cbf007dff 100644 --- a/tools/mxsimage.c ++

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

2018-03-18 Thread Hauke Mehrtens
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 is OpenSSL 2.0, but it does not support the complete OpenSSL 1.1 >> interface. > > The mxsima

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

2018-03-18 Thread Hauke Mehrtens
The mxsimage utility fails to compile against LibreSSL because LibreSSL says it is OpenSSL 2.0, but it does not support the complete OpenSSL 1.1 interface. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- tools/mxsimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] sunxi: add orangepi R1 defconfig

2017-10-01 Thread Hauke Mehrtens
ea24a5..e4ad7dd033 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -312,6 +312,11 @@ M: Jagan Teki <ja...@amarulasolutions.com> S: Maintained F: configs/orangepi_prime_defconfig +ORANGEPI R1 BOARD +M: Hauke Mehrtens <ha...@hauke-m.de> +S: Maintain

[U-Boot] sunxi: add device tree for Orange Pi R1 board

2017-10-01 Thread Hauke Mehrtens
This board is very similar to the Orange Pi Zero boards, instead of the USB port it has an USB to Ethernet adapter connected to the USB port and by default it has a SPI flash, but this is still missing in the device tree. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- arch/arm/dts/Ma

Re: [U-Boot] [PATCH] mkimage: check environment for dtc binary location

2017-07-31 Thread Hauke Mehrtens
On 07/31/2017 04:45 PM, Simon Glass wrote: > Hi, > > On 19 July 2017 at 14:30, Hauke Mehrtens <ha...@hauke-m.de> wrote: >> Currently mkimage assumes the dtc binary is in the path and fails >> otherwise. This patch makes it check the DTC environment variable

[U-Boot] [PATCH] mkimage: check environment for dtc binary location

2017-07-19 Thread Hauke Mehrtens
binary not being the the default path. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> Cc: Simon Glass <s...@chromium.org> --- tools/fit_image.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/fit_image.c b/tools/fit_image.c index 4dc8bd8862..d7a7b