Skip to contentSkip to conversation

board/freescale: Enable DHCP distro boot for Layerscape board

PATCH New Yunfeng Ding 2 participants 3 messages Feb 19, 2019 – Mar 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board/freescale: Enable DHCP distro boot for Layerscape board

Enable DHCP distro boot for Layerscape

---
 include/configs/ls1012a_common.h | 5 +++--
 include/configs/ls1021atwr.h     | 3 ++-
 include/configs/ls1043a_common.h | 3 ++-
 include/configs/ls1046a_common.h | 3 ++-
 include/configs/ls1088ardb.h     | 3 ++-
 include/configs/ls2080ardb.h     | 3 ++-
 6 files changed, 13 insertions(+), 7 deletions(-)
include/configs/ls1012a_common.h +3 -2
index 324dba2b7e..d6e0e0614f 100644
@@ -96,9 +96,10 @@
 
 #ifndef CONFIG_SPL_BUILD
 #define BOOT_TARGET_DEVICES(func) \
-	func(SCSI, scsi, 0) \
 	func(MMC, mmc, 0) \
-	func(USB, usb, 0)
+	func(USB, usb, 0) \
+	func(SCSI, scsi, 0) \
+	func(DHCP, dhcp, na)
 #include <config_distro_bootcmd.h>
 #endif
 
include/configs/ls1021atwr.h +2 -1
index 2c91ae783b..4b6760b600 100644
@@ -315,7 +315,8 @@
 
 #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>
 
 #ifdef CONFIG_LPUART
include/configs/ls1043a_common.h +2 -1
index 49b014181e..27bbfb4c95 100644
@@ -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
 
include/configs/ls1046a_common.h +2 -1
index 6e36c9339b..eb4c78f549 100644
@@ -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
 
include/configs/ls1088ardb.h +2 -1
index f52ea4d746..6387b19dd5 100644
@@ -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
 
include/configs/ls2080ardb.h +2 -1
index ef0f4ff48e..d3d759533d 100644
@@ -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.17.1
#1 lore raw

PATCH 1/1 board/freescale: Enable DHCP distro boot for Layerscape board

Dear Yunfeng,

Quoted 9 lines

-----Original Message-----
From: Yunfeng Ding <[email protected]>
Sent: Tuesday, February 19, 2019 12:14 PM
To: Prabhakar Kushwaha <[email protected]>; u-
boot at lists.denx.de
Cc: Yunfeng Ding <[email protected]>
Subject: [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board

Quoted 4 lines

Enable DHCP distro boot for Layerscape

In internal discussions, it was decided not to enable DHCP boot in distro. It take lots of time if DHCP server is not present for booting tiny Linux

Let's discuss again internally for this patch...

--pk

#2 lore raw

PATCH 1/1 board/freescale: Enable DHCP distro boot for Layerscape board

In reply to Yunfeng Ding
Quoted 10 lines

-----Original Message-----
From: Yunfeng Ding <[email protected]>
Sent: Tuesday, February 19, 2019 12:14 PM
To: Prabhakar Kushwaha <[email protected]>; u-
boot at lists.denx.de
Cc: Yunfeng Ding <[email protected]>
Subject: [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board

Quoted 4 lines

Enable DHCP distro boot for Layerscape

Updated patch only for ls1012a and ls1021a. Previous patch from other author has enabled same for LS1088A, LS2088A.

Applied to u-boot-fsl-qoriq, awaiting upstream

--pk