nxp: fix dhcp and efi boot support for various socs
cover nxp: fix dhcp and efi boot support for various socs
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: fix fsl-mc search path
Revert "ls1088a: remove dhcp function from u-boot env as boot source"
nxp: ls1088a: use default scan_dev_for_boot
Revert "ls2080ardb: remove dhcp function from env as boot source"
nxp: ls2080a: use default scan_dev_for_boot
nxp: ls1046a: enable EFI_LOADER_BOUNCE_BUFFER
nxp: ls1046a: enable dhcp boot
nxp: ls1046a: use default scan_dev_for_boot
nxp: ls1043a: enable EFI_LOADER_BOUNCE_BUFFER
nxp: ls1043a: enable dhcp boot
nxp: ls1043a: use default scan_dev_for_boot
board/freescale/ls1088a/ls1088a.c | 12 +++++++----- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig | 1 + configs/ls1043aqds_nor_ddr3_defconfig | 1 + configs/ls1043aqds_qspi_defconfig | 1 + configs/ls1043aqds_sdcard_ifc_defconfig | 1 + configs/ls1043aqds_sdcard_qspi_defconfig | 1 + configs/ls1043aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1043aqds_tfa_defconfig | 1 + configs/ls1043ardb_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_defconfig | 1 + configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_nand_defconfig | 1 + configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_sdcard_defconfig | 1 + configs/ls1043ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_tfa_defconfig | 1 + configs/ls1046aqds_SECURE_BOOT_defconfig | 1 + configs/ls1046aqds_defconfig | 1 + configs/ls1046aqds_lpuart_defconfig | 1 + configs/ls1046aqds_nand_defconfig | 1 + configs/ls1046aqds_qspi_defconfig | 1 + configs/ls1046aqds_sdcard_ifc_defconfig | 1 + configs/ls1046aqds_sdcard_qspi_defconfig | 1 + configs/ls1046aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1046aqds_tfa_defconfig | 1 + configs/ls1046ardb_emmc_defconfig | 1 + configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 1 + configs/ls1046ardb_qspi_defconfig | 1 + configs/ls1046ardb_qspi_spl_defconfig | 1 + configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig | 1 + configs/ls1046ardb_sdcard_defconfig | 1 + configs/ls1046ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1046ardb_tfa_defconfig | 1 + include/configs/ls1043a_common.h | 9 ++------- include/configs/ls1046a_common.h | 10 ++-------- include/configs/ls1088ardb.h | 15 ++------------- include/configs/ls2080ardb.h | 15 ++------------- 39 files changed, 49 insertions(+), 46 deletions(-)
Signature · 1 line
2.11.0
PATCH 1/12 nxp: ls1088a: fix dppa exit when using efi boot
Same issue for ls2080a was fixed by following patch:b7b8410a8f ls2080: Exit dpaa only right before exiting U-Boot
--- board/freescale/ls1088a/ls1088a.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
board/freescale/ls1088a/ls1088a.c +6 -4
@@ -643,6 +643,11 @@ int arch_misc_init(void)#endif #ifdef CONFIG_FSL_MC_ENET +void board_quiesce_devices (void ) +{ +fsl_mc_ldpaa_exit (gd->bd); +} +void fdt_fixup_board_enet (void *fdt) {int offset;
@@ -732,7 +737,7 @@ void fsl_fdt_fixup_flash(void *fdt)int ft_board_setup (void *blob,bd_t *bd) { -int err, i; +int i;u64 base[CONFIG_NR_DRAM_BANKS ];u64 size[CONFIG_NR_DRAM_BANKS ];
@@ -762,9 +767,6 @@ int ft_board_setup(void *blob, bd_t *bd)#ifdef CONFIG_FSL_MC_ENET fdt_fixup_board_enet (blob); - err =fsl_mc_ldpaa_exit (bd); -if (err) -return err;#endif if (is_pb_board ())fixup_ls1088ardb_pb_banner (blob);
Signature · 1 line
2.11.0
PATCH 1/12 nxp: ls1088a: fix dppa exit when using efi boot
Quoted 9 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Mian Yousaf Kaukab
Sent: Tuesday, January 29, 2019 9:09 PM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>
Subject: [U-Boot] [PATCH 01/12] nxp: ls1088a: fix dppa exit when using efi boot
Quoted 4 lines
Same issue for ls2080a was fixed by following patch:
b7b8410a8fls2080: Exit dpaa only right before exiting U-BootSigned-off-by Mian Yousaf Kaukab <[email protected]>
Patch is good to go.
Regards
Ashish
Quoted 50 lines
--- board/freescale/ls1088a/ls1088a.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)board/freescale/ls1088a/ls1088a.c +6
-5@@ -643,6 +643,11 @@ int arch_misc_init(void) #endif#ifdef CONFIG_FSL_MC_ENET +void board_quiesce_devices (void ) +{ +fsl_mc_ldpaa_exit (gd->bd); +} +void fdt_fixup_board_enet (void *fdt) {int offset;@@ -732,7 +737,7 @@ void fsl_fdt_fixup_flash(void *fdt)int ft_board_setup (void *blob,bd_t *bd) { -int err, i; +int i;u64 base[CONFIG_NR_DRAM_BANKS ];u64 size[CONFIG_NR_DRAM_BANKS ];@@ -762,9 +767,6 @@ int ft_board_setup(void *blob, bd_t *bd)#ifdef CONFIG_FSL_MC_ENET fdt_fixup_board_enet (blob); - err =fsl_mc_ldpaa_exit (bd); -if (err) -return err;#endif if (is_pb_board ())fixup_ls1088ardb_pb_banner (blob); --2.11.0
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.de
nx.de%2Flistinfo%2Fu- boot&data=02%7C01%7CAshish.Kumar%40nxp.com%7C0dcdee6f35204c 1d80b408d6860013cf%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0% 7C636843732233772401&sdata=47xZKLsi8ISbyaNswO0vr4WhOwkNl7lzX QZ7AoK0KnU%3D&reserved=0
PATCH 2/12 nxp: ls1088a: fix fsl-mc search path
In reply to Mian Yousaf KaukabPath 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)
--- board/freescale/ls1088a/ls1088a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/freescale/ls1088a/ls1088a.c +1 -1
@@ -655,7 +655,7 @@ void fdt_fixup_board_enet(void *fdt) offset =fdt_path_offset (fdt,"/fsl-mc" );if (offset <0 ) - offset =fdt_path_offset (fdt,"/fsl,dprc@0" ); + offset =fdt_path_offset (fdt,"/soc/fsl-mc" );if (offset <0 ) { printf("%s: ERROR: fsl-mc node not found in device tree (error %d)\n",
Signature · 1 line
2.11.0
PATCH 3/12 Revert "ls1088a: remove dhcp function from u-boot env as boot source"
In reply to Mian Yousaf Kaukabdhcp 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.
--- include/configs/ls1088ardb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/configs/ls1088ardb.h +2 -1
@@ -577,7 +577,8 @@#define BOOT_TARGET_DEVICES (func) \ func(MMC, mmc, 0) \ - func(SCSI, scsi, 0) + func(SCSI, scsi, 0) \ + func(DHCP, dhcp, na)#include <config_distro_bootcmd.h> #endif
Signature · 1 line
2.11.0
PATCH 4/12 nxp: ls1088a: use default scan_dev_for_boot
In reply to Mian Yousaf KaukabDefault environment variable is more complete. Also scans for efi binaries for example.
--- include/configs/ls1088ardb.h | 12 ------------ 1 file changed, 12 deletions(-)
include/configs/ls1088ardb.h +0 -12
@@ -393,12 +393,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
@@ -466,12 +460,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
Signature · 1 line
2.11.0
PATCH 5/12 Revert "ls2080ardb: remove dhcp function from env as boot source"
In reply to Mian Yousaf Kaukabdhcp 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 aea5cd75e63c20de4c00ce24a93eeee8542f923e.
--- include/configs/ls2080ardb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/configs/ls2080ardb.h +2 -1
@@ -333,7 +333,8 @@ unsigned long get_board_sys_clk(void);#define BOOT_TARGET_DEVICES (func) \ func(USB, usb, 0) \ func(MMC, mmc, 0) \ - func(SCSI, scsi, 0) + func(SCSI, scsi, 0) \ + func(DHCP, dhcp, na)#include <config_distro_bootcmd.h> #ifdef CONFIG_TFABOOT
Signature · 1 line
2.11.0
PATCH 6/12 nxp: ls2080a: use default scan_dev_for_boot
In reply to Mian Yousaf KaukabDefault environment variable is more complete. Also scans for efi binaries for example.
--- include/configs/ls2080ardb.h | 12 ------------ 1 file changed, 12 deletions(-)
include/configs/ls2080ardb.h +0 -12
@@ -429,12 +429,6 @@ unsigned long get_board_sys_clk(void);"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
@@ -498,12 +492,6 @@ unsigned long get_board_sys_clk(void);"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
Signature · 1 line
2.11.0
PATCH 7/12 nxp: ls1046a: enable EFI_LOADER_BOUNCE_BUFFER
In reply to Mian Yousaf KaukabEFI applications need bounce buffers to work properly on these platforms.
--- configs/ls1046aqds_SECURE_BOOT_defconfig | 1 + configs/ls1046aqds_defconfig | 1 + configs/ls1046aqds_lpuart_defconfig | 1 + configs/ls1046aqds_nand_defconfig | 1 + configs/ls1046aqds_qspi_defconfig | 1 + configs/ls1046aqds_sdcard_ifc_defconfig | 1 + configs/ls1046aqds_sdcard_qspi_defconfig | 1 + configs/ls1046aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1046aqds_tfa_defconfig | 1 + configs/ls1046ardb_emmc_defconfig | 1 + configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 1 + configs/ls1046ardb_qspi_defconfig | 1 + configs/ls1046ardb_qspi_spl_defconfig | 1 + configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig | 1 + configs/ls1046ardb_sdcard_defconfig | 1 + configs/ls1046ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1046ardb_tfa_defconfig | 1 + 17 files changed, 17 insertions(+)
configs/ls1046aqds_SECURE_BOOT_defconfig +1 -0
@@ -52,3 +52,4 @@ CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046aqds_defconfig +1 -0
@@ -55,3 +55,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046aqds_lpuart_defconfig +1 -0
@@ -54,3 +54,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046aqds_nand_defconfig +1 -0
@@ -59,3 +59,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046aqds_qspi_defconfig +1 -0
@@ -49,3 +49,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046aqds_sdcard_ifc_defconfig +1 -0
@@ -68,3 +68,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046aqds_sdcard_qspi_defconfig +1 -0
@@ -64,3 +64,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046aqds_tfa_SECURE_BOOT_defconfig +1 -0
@@ -57,3 +57,4 @@ CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046aqds_tfa_defconfig +1 -0
@@ -61,3 +61,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046ardb_emmc_defconfig +1 -0
@@ -60,3 +60,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046ardb_qspi_SECURE_BOOT_defconfig +1 -0
@@ -46,3 +46,4 @@ CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046ardb_qspi_defconfig +1 -0
@@ -49,3 +49,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046ardb_qspi_spl_defconfig +1 -0
@@ -63,3 +63,4 @@ CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_SPL_GZIP=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig +1 -0
@@ -61,3 +61,4 @@ CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y CONFIG_SPL_RSA=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046ardb_sdcard_defconfig +1 -0
@@ -59,3 +59,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046ardb_tfa_SECURE_BOOT_defconfig +1 -0
@@ -47,3 +47,4 @@ CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1046ardb_tfa_defconfig +1 -0
@@ -51,3 +51,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
Signature · 1 line
2.11.0
PATCH 8/12 nxp: ls1046a: enable dhcp boot
In reply to Mian Yousaf Kaukabdhcp boot is a useful feature and works out-of-the-box on these platforms. Enable it as a boot source.
--- include/configs/ls1046a_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/configs/ls1046a_common.h +2 -1
@@ -213,7 +213,8 @@#define BOOT_TARGET_DEVICES (func) \ func(SCSI, scsi, 0) \ func(MMC, mmc, 0) \ - func(USB, usb, 0) + func(USB, usb, 0) \ + func(DHCP, dhcp, na)#include <config_distro_bootcmd.h> #endif
Signature · 1 line
2.11.0
PATCH 9/12 nxp: ls1046a: use default scan_dev_for_boot
In reply to Mian Yousaf KaukabDefault environment variable is more complete. Also scans for efi binaries for example.
--- include/configs/ls1046a_common.h | 7 ------- 1 file changed, 7 deletions(-)
include/configs/ls1046a_common.h +0 -7
@@ -260,13 +260,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
Signature · 1 line
2.11.0
PATCH 10/12 nxp: ls1043a: enable EFI_LOADER_BOUNCE_BUFFER
In reply to Mian Yousaf KaukabEFI applications need bounce buffers to work properly on these platforms.
--- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig | 1 + configs/ls1043aqds_nor_ddr3_defconfig | 1 + configs/ls1043aqds_qspi_defconfig | 1 + configs/ls1043aqds_sdcard_ifc_defconfig | 1 + configs/ls1043aqds_sdcard_qspi_defconfig | 1 + configs/ls1043aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1043aqds_tfa_defconfig | 1 + configs/ls1043ardb_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_defconfig | 1 + configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_nand_defconfig | 1 + configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_sdcard_defconfig | 1 + configs/ls1043ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_tfa_defconfig | 1 + 17 files changed, 17 insertions(+)
configs/ls1043aqds_defconfig +1 -0
@@ -53,3 +53,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043aqds_lpuart_defconfig +1 -0
@@ -52,3 +52,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043aqds_nand_defconfig +1 -0
@@ -65,3 +65,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043aqds_nor_ddr3_defconfig +1 -0
@@ -51,3 +51,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043aqds_qspi_defconfig +1 -0
@@ -46,3 +46,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043aqds_sdcard_ifc_defconfig +1 -0
@@ -65,3 +65,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043aqds_sdcard_qspi_defconfig +1 -0
@@ -59,3 +59,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043aqds_tfa_SECURE_BOOT_defconfig +1 -0
@@ -55,3 +55,4 @@ CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y CONFIG_SPL_RSA=y CONFIG_RSA_SOFTWARE_EXP=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043aqds_tfa_defconfig +1 -0
@@ -56,3 +56,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043ardb_SECURE_BOOT_defconfig +1 -0
@@ -48,3 +48,4 @@ CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y CONFIG_SPL_RSA=y CONFIG_RSA_SOFTWARE_EXP=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043ardb_defconfig +1 -0
@@ -46,3 +46,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043ardb_nand_SECURE_BOOT_defconfig +1 -0
@@ -65,3 +65,4 @@ CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y CONFIG_SPL_RSA=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043ardb_nand_defconfig +1 -0
@@ -63,3 +63,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig +1 -0
@@ -63,3 +63,4 @@ CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y CONFIG_SPL_RSA=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043ardb_sdcard_defconfig +1 -0
@@ -61,3 +61,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043ardb_tfa_SECURE_BOOT_defconfig +1 -0
@@ -50,3 +50,4 @@ CONFIG_USB_XHCI_DWC3=y CONFIG_RSA=y CONFIG_SPL_RSA=y CONFIG_RSA_SOFTWARE_EXP=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
configs/ls1043ardb_tfa_defconfig +1 -0
@@ -50,3 +50,4 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y +CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
Signature · 1 line
2.11.0
PATCH 11/12 nxp: ls1043a: enable dhcp boot
In reply to Mian Yousaf Kaukabdhcp boot is a useful feature and works out-of-the-box on these platforms. Enable it as a boot source.
--- include/configs/ls1043a_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/configs/ls1043a_common.h +2 -1
@@ -239,7 +239,8 @@#ifndef CONFIG_SPL_BUILD #define BOOT_TARGET_DEVICES (func) \ func(MMC, mmc, 0) \ - func(USB, usb, 0) + func(USB, usb, 0) \ + func(DHCP, dhcp, na)#include <config_distro_bootcmd.h> #endif
Signature · 1 line
2.11.0
PATCH 12/12 nxp: ls1043a: use default scan_dev_for_boot
In reply to Mian Yousaf KaukabDefault environment variable is more complete. Also scans for efi binaries for example.
--- include/configs/ls1043a_common.h | 6 ------ 1 file changed, 6 deletions(-)
include/configs/ls1043a_common.h +0 -6
@@ -281,12 +281,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
Signature · 1 line
2.11.0
PATCH 12/12 nxp: ls1043a: use default scan_dev_for_boot
Quoted 9 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Mian Yousaf Kaukab
Sent: Tuesday, January 29, 2019 9:09 PM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>
Subject: [U-Boot] [PATCH 12/12] nxp: ls1043a: use defaultscan_dev_for_boot
Quoted 4 lines
Default environment variable is more complete. Also scans for efi binaries for example.
Signed-off-by Mian Yousaf Kaukab <[email protected]>
Patch-set is good to go.
Regards
Ashish
Quoted 34 lines
--- include/configs/ls1043a_common.h | 6 ------ 1 file changed, 6 deletions(-)include/configs/ls1043a_common.h +0
-7@@ -281,12 +281,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \ --2.11.0
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.de
nx.de%2Flistinfo%2Fu- boot&data=02%7C01%7CAshish.Kumar%40nxp.com%7C5a14ead970604e d4495308d68600ba6c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0% 7C636843735039456923&sdata=NrQOamGGbtmlkwhE%2BuS7FawEyJjP Wt3hjkplZC3m%2Bb4%3D&reserved=0
cover nxp: fix dhcp and efi boot support for various socs
In reply to Mian Yousaf KaukabQuoted 13 lines
-----Original Message-----
From: Mian Yousaf Kaukab <[email protected]>
Sent: Tuesday, January 29, 2019 9:08 PM
To: u-boot at lists.denx.de
Cc: Prabhakar Kushwaha <[email protected]>; Priyanka Jain <[email protected]>; York Sun <[email protected]>; Mian Yousaf Kaukab <[email protected]>
Subject: [PATCH 00/12] nxp: fix dhcp and efi boot support for various socsThis patch series fixes dhcp and efi boot support for nxp ls1043a, ls1046a, ls1088a and ls208xa platforms.
Quoted 7 lines
Patches are independent and can be cherry-picked individually.
Thank you,
Best regards,
Yousaf
Subject change in all patches and fix checkpatch warnings for 2 patches
This patch set has been applied to fsl-qoriq master, awaiting upstream.
--pk