Re: [U-Boot][bug report] clearfog: EMMC boot broken on clearfog pro

2023-01-27 Thread Petr Štetiar
Martin Rowe [2023-01-14 14:21:52]: [adding Stefan and Pali to the Cc: loop to make them aware] Hi, > I did try to bisect the eMMC issue, but there are a few related > breakages for different reasons over the last 2 years, so it's not one > commit that has done it. For example, just the 4

Re: [U-Boot][bug report] clearfog: EMMC boot broken on clearfog pro

2023-01-10 Thread Petr Štetiar
Martin Rowe [2023-01-10 06:01:08]: Hi, > > In other words, it would help to know, which commit after v2021.01 breaks > > booting of SD/SATA/eMMC for you. Could you help find it? > > The commit from the git bisect is one of dozens that are associated > with a major refactoring of kwboot and

Re: [U-Boot][bug report] clearfog: EMMC boot broken on clearfog pro

2023-01-09 Thread Petr Štetiar
Martin Rowe [2023-01-03 03:20:49]: [Adding Florian, Tomasz and Oli to the Cc: loop] Hi, > I'm following up on this bug report from September ( > https://lists.denx.de/pipermail/u-boot/2022-September/494811.html ) > I also hit this issue on my Clearfog Pro when booting with eMMC. FYI we've

Re: [PATCH 1/2] sunxi: Fix old GMAC pinmux setup

2022-03-21 Thread Petr Štetiar
; This fixes Ethernet operation for the A20 SoCs, which broke in > v2022.04-rc1, with the above mentioned commit. Tested-by: Petr Štetiar [a20-olinuxino-lime2] > Signed-off-by: Andre Przywara > --- > arch/arm/mach-sunxi/board.c | 1 - > board/sunxi/board.c | 3 +++ > 2

A20-OLinuXino-LIME2 network regression [Was: [PATCH v2 1/5] sunxi: move non-essential code out of s_init()]

2022-03-20 Thread Petr Štetiar
Andre Przywara [2022-02-01 01:41:12]: Hi Andre, > Since we have an SPL, which is called right after s_init(), move those > calls to our board_init_f() function. As we overwrite this only for > the SPL, this has the added benefit of not doing this setup *again* > shortly afterwards, when running

[PATCH] ARM: mvebu: dts: omnia: enable eMMC writes

2021-02-22 Thread Petr Štetiar
Currently it's not possible to write anything into eMMC from U-Boot, so fix this by disabling the default write protection. Cc: Marek Behún Signed-off-by: Petr Štetiar --- arch/arm/dts/armada-385-turris-omnia.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/armada-385

Re: [RFC PATCH 6/9] mkimage_fit_atf.sh: produce working binaries by default

2020-03-23 Thread Petr Štetiar
Michal Simek [2020-03-23 14:58:55]: Hi, > Plan is to merge all of these to one shell script because most of the > content in that script is very similar. to me it all just seems as values and templates hidden inside shell script called generator. Each of this generators uses/references 1-N

[PATCH 2/3] tools: add Dust based .its file templating

2020-03-23 Thread Petr Štetiar
github.com/mahmoud/ashes Signed-off-by: Petr Štetiar --- include/u-boot-its.mk | 37 + tools/ashes/ashes.py | 2723 + 2 files changed, 2760 insertions(+) create mode 100644 include/u-boot-its.mk create mode 100755 tools/ashes/ashes.py diff --git a/incl

[PATCH 0/3] sunxi: produce working binaries by default

2020-03-23 Thread Petr Štetiar
Ref: https://lists.denx.de/pipermail/u-boot/2019-December/393556.html Cc: Harald Seiler Cc: Tom Rini Cc: Michal Simek Petr Štetiar (3): Kconfig: add config options for automatic builds tools: add Dust based .its file templating sunxi: replace .its file generator with Dust template

[PATCH 1/3] Kconfig: add config options for automatic builds

2020-03-23 Thread Petr Štetiar
e binaries is preferred in favor of a green automatic builds. So lets try to fix this properly, add BUILDBOT config options which could be set on the build bots/CI and the codebase can use this new config option to workaround the issues in more clear manner. Signed-off-by: Petr Štetiar --- Kc

[PATCH 3/3] sunxi: replace .its file generator with Dust template

2020-03-23 Thread Petr Štetiar
error, just a warning. Signed-off-by: Petr Štetiar --- Kconfig| 5 +- Makefile | 8 board/sunxi/mksunxi_fit_atf.sh | 87 -- board/sunxi/u-boot-its.mk | 19 board/sunxi/u-boot.its.dust| 45

Re: [RFC PATCH 6/9] mkimage_fit_atf.sh: produce working binaries by default

2020-03-21 Thread Petr Štetiar
Michal Simek [2020-03-20 11:20:17]: > I think instead of fixing it on several places we should merge things > together and fix this issue there. What do you mean exactly? Checking for the deps one layer up, like this for example in sunxi? diff --git a/Makefile b/Makefile index

[PATCH] configs: a64-olinuxino-emmc: add eMMC boot part config commands

2020-03-18 Thread Petr Štetiar
mmc bootbus and partconf commands are needed in order to be able to configure booting from separate boot0/boot1 eMMC partitions. Signed-off-by: Petr Štetiar --- configs/a64-olinuxino-emmc_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/a64-olinuxino-emmc_defconfig b

[RFC PATCH 8/9] k3_fit_atf.sh: produce working binaries by default

2020-03-18 Thread Petr Štetiar
by default from now on. Signed-off-by: Petr Štetiar --- tools/k3_fit_atf.sh | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tools/k3_fit_atf.sh b/tools/k3_fit_atf.sh index 4e9f69c08789..8e342b46c97b 100755 --- a/tools/k3_fit_atf.sh +++ b/tools/k3_fit_atf.sh

[RFC PATCH 7/9] fit_spl_atf.sh: produce working binaries by default

2020-03-18 Thread Petr Štetiar
by default from now on. Signed-off-by: Petr Štetiar --- .../puma_rk3399/fit_spl_atf.sh| 20 +-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh b/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh

[RFC PATCH 9/9] mkimage_fit_opensbi.sh: produce working binaries by default

2020-03-18 Thread Petr Štetiar
on. Signed-off-by: Petr Štetiar --- arch/riscv/lib/mkimage_fit_opensbi.sh | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/riscv/lib/mkimage_fit_opensbi.sh b/arch/riscv/lib/mkimage_fit_opensbi.sh index d6f95e5bfd2c..bf0968e683d2 100755 --- a/arch/riscv/lib

[RFC PATCH 4/9] make_fit_atf.py: produce working binaries by default

2020-03-18 Thread Petr Štetiar
on. Signed-off-by: Petr Štetiar --- arch/arm/mach-rockchip/make_fit_atf.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-rockchip/make_fit_atf.py b/arch/arm/mach-rockchip/make_fit_atf.py index d15c32b30329..4c55a87b51f2 100755 --- a/arch/arm/mach-rockchip

[RFC PATCH 2/9] Makefile: export config options for automatic builds

2020-03-18 Thread Petr Štetiar
Make config options related to build bots accessible within the scripts. Signed-off-by: Petr Štetiar --- Makefile | 5 + 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index fa687f13a588..44776b8efcc4 100644 --- a/Makefile +++ b/Makefile @@ -426,6 +426,11 @@ KBUILD_AFLAGS

[RFC PATCH 5/9] fit_spl_optee.sh: produce working binaries by default

2020-03-18 Thread Petr Štetiar
-off-by: Petr Štetiar --- arch/arm/mach-rockchip/fit_spl_optee.sh | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-rockchip/fit_spl_optee.sh b/arch/arm/mach-rockchip/fit_spl_optee.sh index 4118472d9f22..bdf61c4ba16d 100755 --- a/arch/arm/mach-rockchip

[RFC PATCH 3/9] mksunxi_fit_atf.sh: produce working binaries by default

2020-03-18 Thread Petr Štetiar
on. Signed-off-by: Petr Štetiar --- board/sunxi/mksunxi_fit_atf.sh | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/board/sunxi/mksunxi_fit_atf.sh b/board/sunxi/mksunxi_fit_atf.sh index 88ad71974706..708b4248549d 100755 --- a/board/sunxi/mksunxi_fit_atf.sh +++ b/board/sunxi

[RFC PATCH 6/9] mkimage_fit_atf.sh: produce working binaries by default

2020-03-18 Thread Petr Štetiar
on. Signed-off-by: Petr Štetiar --- arch/arm/mach-zynqmp/mkimage_fit_atf.sh | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-zynqmp/mkimage_fit_atf.sh b/arch/arm/mach-zynqmp/mkimage_fit_atf.sh index 1e770ba111d3..5effe05abdee 100755 --- a/arch/arm/mach

[RFC PATCH 0/9] produce working binaries by default

2020-03-18 Thread Petr Štetiar
s prefered in favor of a green automatic builds. So lets try to fix this properly, add BUILDBOT config options which could be set on the build bots/CI and the codebase can use this new config option to workaround the issues in more clear manner. Petr Štetiar (9): Kconfig: add config options for automa

[RFC PATCH 1/9] Kconfig: add config options for automatic builds

2020-03-18 Thread Petr Štetiar
s prefered in favor of a green automatic builds. So lets try to fix this properly, add BUILDBOT config options which could be set on the build bots/CI and the codebase can use this new config option to workaround the issues in more clear manner. Signed-off-by: Petr Štetiar --- Kconfig | 12 ++

Re: [PATCH] Revert "mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing"

2020-03-17 Thread Petr Štetiar
Tom Rini [2020-03-17 09:20:38]: Hi, > On Tue, Mar 17, 2020 at 02:12:55PM +0100, Petr Štetiar wrote: > > > This reverts commit 4c78028737c3185f49f5691183aeac3478b5f699. > > > > bl31.bin file is mandatory for functional, usable and bootable binaries, > > thus it sh

[PATCH] Revert "mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing"

2020-03-17 Thread Petr Štetiar
cases. Cc: Simon Glass Cc: Tom Rini Cc: Andre Przywara Cc: Maxime Ripard Signed-off-by: Petr Štetiar --- I've just spent some time hunting eMMC boot issue on a64-olinuxino. It's really easy to miss that warning message on fast build hosts as the message is scrolled out very quickly out

Re: [U-Boot] Regression in 2019.01-rc2 for eMMC boot on mxs board?

2019-01-07 Thread Petr Štetiar
Simon Glass [2019-01-07 17:38:31]: > Yes, I believe these is a patch to fix this. https://patchwork.ozlabs.org/patch/1014381/ -- ynezz ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2] mmc: bring back partition init for non-DM MMC drivers

2019-01-06 Thread Petr Štetiar
Soeren Moch [2019-01-05 18:31:09]: > This also fixes MMC support on a tbs2910 board. And also for Apalis board with i.MX6[1]. Thanks Andre! Tested-by: Petr Štetiar 1. https://lists.denx.de/pipermail/u-boot/2018-December/352210.html -- ynezz __

[U-Boot] [PATCH v2] imx6: apalis: Make the boot process more generic

2018-12-16 Thread Petr Štetiar
everything from the `f086812a mx6sxsabresd: Use PARTUUID to specify the rootfs location` commit, so credits for the rest of this patch belongs to Fabio. Cc: Stefan Agner Cc: Max Krummenacher Signed-off-by: Petr Štetiar --- configs/apalis_imx6_defconfig | 2 ++ include/configs/apalis_imx6.h | 26

Re: [U-Boot] U-Boot 2019.01-rc1-00337-g42cc2cf partition table issues on imx6

2018-12-16 Thread Petr Štetiar
Petr Štetiar [2018-12-16 01:20:07]: > U-Boot 2019.01-rc1-00337-g42cc2cf (Dec 16 2018 - 01:02:22 +0100) > Model: Toradex Apalis iMX6 Quad 2GB IT V1.1A, Serial# 04875944 > > # mmc dev 0 > switch to partitions #0, OK > mmc0(part 0) is current device

[U-Boot] U-Boot 2019.01-rc1-00337-g42cc2cf partition table issues on imx6

2018-12-15 Thread Petr Štetiar
Hi, I'm having problems with my bootscript which works on 2018.03 but is having problems on latest master. I need to run `mmc part` to get it working. U-Boot 2019.01-rc1-00337-g42cc2cf (Dec 16 2018 - 01:02:22 +0100) Model: Toradex Apalis iMX6 Quad 2GB IT V1.1A, Serial# 04875944

[U-Boot] [PATCH] imx6: apalis: Make the boot process more generic

2018-12-01 Thread Petr Štetiar
-by: Petr Štetiar --- board/toradex/apalis_imx6/Kconfig | 15 +++ configs/apalis_imx6_defconfig | 2 ++ include/configs/apalis_imx6.h | 29 - 3 files changed, 41 insertions(+), 5 deletions(-) diff --git a/board/toradex/apalis_imx6/Kconfig b/board

[U-Boot] [PATCH v2] usb: gadget: f_sdp: Provide filesize env variable for downloaded images

2018-11-24 Thread Petr Štetiar
Vasut Cc: Stefan Agner Signed-off-by: Petr Štetiar --- Changes since v1: * added more details to the commit message drivers/usb/gadget/f_sdp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/usb/gadget/f_sdp.c b/drivers/usb/gadget/f_sdp.c index 00a9f88..ae97ab2 100644

[U-Boot] [PATCH] usb: gadget: f_sdp: Provide filesize env variable for downloaded images

2018-11-23 Thread Petr Štetiar
Currently it's not possible to get filesize of downloaded images and it's impossible to automate some tasks in scripts. Cc: Lukasz Majewski Cc: Marek Vasut Cc: Stefan Agner Signed-off-by: Petr Štetiar --- drivers/usb/gadget/f_sdp.c | 5 + 1 file changed, 5 insertions(+) diff --git