Re: [PATCH] configs: layerscape: Disable the EFI_LOADER feature

2021-08-03 Thread Mian Yousaf Kaukab
On Mon, Jul 26, 2021 at 07:37:53AM +, Z.Q. Hou wrote: > Hi Micheal, > > Pasted the log below, the direct cause seems the u-boot DTB doesn't have > /cpus node. > > => run bootcmd_mmc0 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > libfdt fdt_check_header():

[PATCH] ls1012a: net: pfe: remove pfe stop from bootcmd

2021-04-14 Thread Mian Yousaf Kaukab
ected port" messages. Implement board_quiesce_devices() for ls1012a boards and call pfe_command_stop() from it instead of calling 'pfe stop' from *_bootcmd and bootcmd. Tested-by: Anji Jagarlmudi Signed-off-by: Mian Yousaf Kaukab --- board/freescale/ls1012afrdm/ls1012afrdm.c | 8 +

[PATCH] ls1012a: use default scan_dev_for_boot

2021-03-30 Thread Mian Yousaf Kaukab
From: Mian Yousaf Kaukab scan_dev_for_efi is supposed to be called from scan_dev_for_boot. However, this call is missing for ls1012a boards. As a result EFI boot doesn’t work. Fix this issue by removing custom definition of scan_dev_for_boot and use the default definition instead. Signed-off

Re: [EXT] [PATCH v2] ls1028a: use default scan_dev_for_boot

2020-08-13 Thread Mian Yousaf Kaukab
On Fri, Jul 24, 2020 at 02:43:48AM +, Andy Tang wrote: > > > > -Original Message- > > From: Mian Yousaf Kaukab > > Sent: 2020年7月23日 21:41 > > To: u-boot@lists.denx.de; Andy Tang > > Cc: Priyanka Jain ; Rajesh Bhagat > > ; harninder@nx

[PATCH v2] ls1028a: use default scan_dev_for_boot

2020-07-23 Thread Mian Yousaf Kaukab
Yousaf Kaukab --- Change-log: v2: -Rename. was: ls1028a: fix EFI boot https://patchwork.ozlabs.org/project/uboot/patch/20200721143354.14382-1-ykau...@suse.de/ -Remove custom definition of scan_dev_for_boot include/configs/ls1028aqds.h | 7 --- include/configs/ls1028ardb.h | 7

Re: [PATCH] ls1028a: fix EFI boot

2020-07-23 Thread Mian Yousaf Kaukab
On Thu, Jul 23, 2020 at 06:26:38AM +, Andy Tang wrote: > Hi Yousaf, Hi Andy, > > Could you please try removing entire environment variable "scan_dev_for_boot" > in the ls1028aqds/rdb header file? > In this way, the default value for scan_dev_for_boot could be used and meet > your

[PATCH] ls1028a: fix EFI boot

2020-07-21 Thread Mian Yousaf Kaukab
scan_dev_for_efi is supposed to be called from scan_dev_for_boot. However this call is missing for ls1028ardb and ls1028aqds boards. As a result EFI boot doesn’t work. Fix this issue by adding scan_dev_for_efi call. Signed-off-by: Mian Yousaf Kaukab --- include/configs/ls1028aqds.h | 1

[U-Boot] [PATCH] Revert "ARM: tegra: reserve unmapped RAM so EFI doesn't use it"

2019-09-24 Thread Mian Yousaf Kaukab
This reverts commit 0797f7f0b7e1d7853e2842ddc235ffef139fa792. Tegra specific solution is not required any more as efi core has been made aware of ram_top with the following commit: 7b78d6438a efi_loader: Reserve unaccessible memory Signed-off-by: Mian Yousaf Kaukab --- arch/arm/mach-tegra

[U-Boot] [PATCH v1] fs: do_load: pass device path for efi payload

2019-06-18 Thread Mian Yousaf Kaukab
. Since device path is now set in do_load() there is no need to set it in do_load_wrapper() for the load command. Signed-off-by: Mian Yousaf Kaukab --- Changes for v1: - Move efi_set_bootdev() call to do_load() - Rename patch from "cmd: fat: fatload: pass device path for efi payload" cm

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-17 Thread Mian Yousaf Kaukab
On Sun, Jun 16, 2019 at 07:34:57PM +0200, Martin Husemann wrote: > On Sun, Jun 16, 2019 at 09:27:12PM +0200, Mian Yousaf Kaukab wrote: > > > Hmm. Are you building your own copy of ATF (you mentioned 2.1; I can't > > > recall what version we ship)? > > No, I am using

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-16 Thread Mian Yousaf Kaukab
On Fri, Jun 14, 2019 at 05:26:05PM +, Varun Wadekar wrote: > >> ERROR: ARI request timed out: req 89 on CPU 4 > >> ASSERT: plat/nvidia/tegra/soc/t186/drivers/mce/ari.c <127> : retries > >> != 0U > > This time out means that TEGRA_ARI_ROC_FLUSH_CACHE_TRBITS ARI call timed out. > Looks like

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-16 Thread Mian Yousaf Kaukab
On Fri, Jun 14, 2019 at 11:40:49AM -0600, Stephen Warren wrote: > On 6/14/19 11:09 AM, Andreas Färber wrote: > > Am 14.06.19 um 18:41 schrieb Stephen Warren: > > > On 6/14/19 11:09 AM, Mian Yousaf Kaukab wrote: > > > > Hi, > > > > I am seeing a hang

[U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-14 Thread Mian Yousaf Kaukab
Hi, I am seeing a hang with dhcp boot on Jetson TX2. Its running firmware from L4T 32.1 with U-Boot from master branch (c2ea87883e) with [1] applied. I use following command sequence at u-boot prompt to boot: Tegra186 (P2771--500) # setenv ftdfile tegra186-p2771-.dtb Tegra186

[U-Boot] [PATCH] armv8: fix typo in LINUX_KERNEL_IMAGE_HEADER check

2019-06-13 Thread Mian Yousaf Kaukab
Fixes: 8163faf952 ARMv8: add optional Linux kernel image header Signed-off-by: Mian Yousaf Kaukab --- arch/arm/cpu/armv8/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S index fe52166e28..99d126660d 100644

[U-Boot] [PATCH] cmd: fat: fatload: pass device path for efi payload

2019-05-31 Thread Mian Yousaf Kaukab
set. load command (do_load_wrapper()) already calls efi_set_bootdev(). There is no need to move the call to do_load() as EFI system partition is always a FAT partition. Signed-off-by: Mian Yousaf Kaukab --- cmd/fat.c | 5 + 1 file changed, 5 insertions(+) diff --git a/cmd/fat.c b/cmd/fat.c

[U-Boot] [PATCH 2/2] board: lx2160a: use default scan_dev_for_boot

2019-05-23 Thread Mian Yousaf Kaukab
Default environment variable is more complete. Also scans for efi binaries for example. Signed-off-by: Mian Yousaf Kaukab --- include/configs/lx2160a_common.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/configs/lx2160a_common.h b/include/configs/lx2160a_common.h index

[U-Boot] [PATCH 1/2] board: lx2160a: fix fsl-mc status in fdt with bootefi

2019-05-23 Thread Mian Yousaf Kaukab
it by updating fdt earlier if fsl-mc lazyapply command is used. Signed-off-by: Mian Yousaf Kaukab --- board/freescale/lx2160a/lx2160a.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/lx2160a.c index 6109b280c6

[U-Boot] [PATCH 12/12] nxp: ls1043a: use default scan_dev_for_boot

2019-01-29 Thread Mian Yousaf Kaukab
Default environment variable is more complete. Also scans for efi binaries for example. Signed-off-by: Mian Yousaf Kaukab --- include/configs/ls1043a_common.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index

[U-Boot] [PATCH 08/12] nxp: ls1046a: enable dhcp boot

2019-01-29 Thread Mian Yousaf Kaukab
dhcp boot is a useful feature and works out-of-the-box on these platforms. Enable it as a boot source. Signed-off-by: Mian Yousaf Kaukab --- include/configs/ls1046a_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/ls1046a_common.h b/include/configs

[U-Boot] [PATCH 09/12] nxp: ls1046a: use default scan_dev_for_boot

2019-01-29 Thread Mian Yousaf Kaukab
Default environment variable is more complete. Also scans for efi binaries for example. Signed-off-by: Mian Yousaf Kaukab --- include/configs/ls1046a_common.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h index

[U-Boot] [PATCH 05/12] Revert "ls2080ardb: remove dhcp function from env as boot source"

2019-01-29 Thread Mian Yousaf Kaukab
dhcp boot is a useful feature and works out-of-the-box for ls2088a platforms. Moreover, no solid reason is given for disabling it. Revert the patch to re-enable it. This reverts commit aea5cd75e63c20de4c00ce24a938542f923e. Signed-off-by: Mian Yousaf Kaukab --- include/configs/ls2080ardb.h

[U-Boot] [PATCH 11/12] nxp: ls1043a: enable dhcp boot

2019-01-29 Thread Mian Yousaf Kaukab
dhcp boot is a useful feature and works out-of-the-box on these platforms. Enable it as a boot source. Signed-off-by: Mian Yousaf Kaukab --- include/configs/ls1043a_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/ls1043a_common.h b/include/configs

[U-Boot] [PATCH 10/12] nxp: ls1043a: enable EFI_LOADER_BOUNCE_BUFFER

2019-01-29 Thread Mian Yousaf Kaukab
EFI applications need bounce buffers to work properly on these platforms. Signed-off-by: Mian Yousaf Kaukab --- configs/ls1043aqds_defconfig| 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig | 1 + configs

[U-Boot] [PATCH 06/12] nxp: ls2080a: use default scan_dev_for_boot

2019-01-29 Thread Mian Yousaf Kaukab
Default environment variable is more complete. Also scans for efi binaries for example. Signed-off-by: Mian Yousaf Kaukab --- include/configs/ls2080ardb.h | 12 1 file changed, 12 deletions(-) diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h index

[U-Boot] [PATCH 07/12] nxp: ls1046a: enable EFI_LOADER_BOUNCE_BUFFER

2019-01-29 Thread Mian Yousaf Kaukab
EFI applications need bounce buffers to work properly on these platforms. Signed-off-by: Mian Yousaf Kaukab --- configs/ls1046aqds_SECURE_BOOT_defconfig| 1 + configs/ls1046aqds_defconfig| 1 + configs/ls1046aqds_lpuart_defconfig | 1 + configs

[U-Boot] [PATCH 03/12] Revert "ls1088a: remove dhcp function from u-boot env as boot source"

2019-01-29 Thread Mian Yousaf Kaukab
dhcp boot is a useful feature and works out-of-the-box for ls1088a platforms. Moreover, no solid reason is given for disabling it. Revert the patch to re-enable it. This reverts commit 863e42e8b1f9e97d87919e20e34a7b98089f7522. Signed-off-by: Mian Yousaf Kaukab --- include/configs/ls1088ardb.h

[U-Boot] [PATCH 04/12] nxp: ls1088a: use default scan_dev_for_boot

2019-01-29 Thread Mian Yousaf Kaukab
Default environment variable is more complete. Also scans for efi binaries for example. Signed-off-by: Mian Yousaf Kaukab --- include/configs/ls1088ardb.h | 12 1 file changed, 12 deletions(-) diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h index

[U-Boot] [PATCH 02/12] nxp: ls1088a: fix fsl-mc search path

2019-01-29 Thread Mian Yousaf Kaukab
Path for fsl-mc node in kernel device-tree is /soc/fsl-mc whereas in u-boot it is /fsl-mc. Fix the incorrect search path to fix following error: fdt_fixup_board_enet: ERROR: fsl-mc node not found in device tree (error -1) Signed-off-by: Mian Yousaf Kaukab --- board/freescale/ls1088a/ls1088a.c

[U-Boot] [PATCH 01/12] nxp: ls1088a: fix dppa exit when using efi boot

2019-01-29 Thread Mian Yousaf Kaukab
Same issue for ls2080a was fixed by following patch: b7b8410a8f ls2080: Exit dpaa only right before exiting U-Boot Signed-off-by: Mian Yousaf Kaukab --- board/freescale/ls1088a/ls1088a.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/board/freescale/ls1088a

[U-Boot] [PATCH 00/12] nxp: fix dhcp and efi boot support for various socs

2019-01-29 Thread Mian Yousaf Kaukab
This patch series fixes dhcp and efi boot support for nxp ls1043a, ls1046a, ls1088a and ls208xa platforms. Patches are independent and can be cherry-picked individually. Thank you, Best regards, Yousaf Mian Yousaf Kaukab (12): nxp: ls1088a: fix dppa exit when using efi boot nxp: ls1088a

[U-Boot] [PATCH] fsl-layerscape: dpaa: fix fsl-mc status in fdt with bootefi

2018-12-18 Thread Mian Yousaf Kaukab
it by updating fdt earlier if fsl-mc lazyapply command is used. Fixes: b7b8410a8f (ls2080: Exit dpaa only right before exiting U-Boot) Signed-off-by: Mian Yousaf Kaukab --- board/freescale/ls1088a/ls1088a.c | 3 ++- board/freescale/ls2080a/ls2080a.c | 3 ++- board/freescale/ls2080aqds

Re: [U-Boot] [PATCH RESEND 1/2] rockchip: make_fit_atf: use elf entry point

2018-06-13 Thread Mian Yousaf Kaukab
On 06/13/2018 08:45 AM, Kever Yang wrote: Hi Yousaf,     You patch looks good, but I don't know why the script always work for me, and I don't met the abort, where do you get the BL31? I am building it with the following command line: make -j4 CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399

Re: [U-Boot] [PATCH RESEND 1/2] rockchip: make_fit_atf: use elf entry point

2018-06-09 Thread Mian Yousaf Kaukab
On 06/08/2018 08:09 PM, Dr. Philipp Tomsich wrote: Mian, Did you change anything or is this just a resend with the same content? Its a resend with the same content. Just sending both patches together. I didn’t have a chance to review this yet, so wanted to make sure I work off the latest

[U-Boot] [PATCH RESEND 2/2] rockchip: make_fit_atf: make python3 compatible

2018-06-08 Thread Mian Yousaf Kaukab
Make script python3 compatible. No functional changes intended. Signed-off-by: Mian Yousaf Kaukab --- arch/arm/mach-rockchip/make_fit_atf.py | 89 +- 1 file changed, 45 insertions(+), 44 deletions(-) diff --git a/arch/arm/mach-rockchip/make_fit_atf.py b/arch

[U-Boot] [PATCH RESEND 1/2] rockchip: make_fit_atf: use elf entry point

2018-06-08 Thread Mian Yousaf Kaukab
adbeef x27: 04a0 x28: 009c x29: 0007fd90 Fix it by using the entry point from the elf header. Signed-off-by: Mian Yousaf Kaukab --- arch/arm/mach-rockchip/make_fit_atf.py | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-rockchip/make_

Re: [U-Boot] [PATCH] Makefile: build u-boot before running its generator

2018-05-30 Thread Mian Yousaf Kaukab
On 05/30/2018 03:14 PM, Mian Yousaf Kaukab wrote: SPL_FIT_GENERATOR may need to access u-boot binaries for generating u-boot.its file. For example arch/arm/mach-rockchip/make_fit_atf.py requires u-boot elf. Add u-boot-nodtb.bin as dependency for U_BOOT_ITS so that u-boot binaries are available

[U-Boot] [PATCH] Makefile: build u-boot before running its generator

2018-05-30 Thread Mian Yousaf Kaukab
. Suggested-by: Petr Tesarik Signed-off-by: Mian Yousaf Kaukab --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d08fb6a54d..54557d62b8 100644 --- a/Makefile +++ b/Makefile @@ -1060,7 +1060,7 @@ U_BOOT_ITS = $(subst ",,$(CONFIG_SPL_FIT_S

[U-Boot] [PATCH] rockchip: make_fit_atf: make python3 compatible

2018-05-21 Thread Mian Yousaf Kaukab
Make script python3 compatible. No functional changes intended. Signed-off-by: Mian Yousaf Kaukab <yousaf.kau...@suse.com> --- arch/arm/mach-rockchip/make_fit_atf.py | 89 +- 1 file changed, 45 insertions(+), 44 deletions(-) diff --git a/arch/arm/mach-ro

[U-Boot] [PATCH] rockchip: make_fit_atf: use elf entry point

2018-05-16 Thread Mian Yousaf Kaukab
adbeef x27: 04a0 x28: 009c x29: 0007fd90 Fix it by using the entry point from the elf header. Signed-off-by: Mian Yousaf Kaukab <yousaf.kau...@suse.com> --- arch/arm/mach-rockchip/make_fit_atf.py | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH] scsi: ceva: Start port in probe

2017-11-02 Thread Mian Yousaf Kaukab
o. Signed-off-by: Michal Simek<michal.si...@xilinx.com> Thanks Michal! Tested-by: Mian Yousaf Kaukab <yousaf.kau...@suse.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] efi_loader: provide efi_mem_desc version

2016-09-06 Thread Mian Yousaf Kaukab
EFI_MEMORY_DESCRIPTOR version 0 Signed-off-by: Mian Yousaf Kaukab <yousaf.kau...@gmail.com> --- Resending the patch as previous attempt was blocked for some reason. include/efi.h | 2 ++ lib/efi_loader/efi_memory.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/include/efi.h b/i

[U-Boot] [PATCH] efi_loader: provide efi_mem_desc version

2016-09-06 Thread Mian Yousaf Kaukab
EFI_MEMORY_DESCRIPTOR version 0 Signed-off-by: Mian Yousaf Kaukab <yousaf.kau...@gmail.com> --- include/efi.h | 2 ++ lib/efi_loader/efi_memory.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/include/efi.h b/include/efi.h index 83de2d4..5a3b8cf 100644 --- a/include/efi.h +++ b/i