All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board
@ 2019-02-19  6:44 Yunfeng Ding
  2019-02-20  3:54 ` Prabhakar Kushwaha
  2019-03-04  8:55 ` Prabhakar Kushwaha
  0 siblings, 2 replies; 4+ messages in thread
From: Yunfeng Ding @ 2019-02-19  6:44 UTC (permalink / raw)
  To: u-boot

Enable DHCP distro boot for Layerscape

Signed-off-by: Yunfeng Ding <yunfeng.ding@nxp.com>

---
 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(-)

diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 324dba2b7e..d6e0e0614f 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -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
 
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 2c91ae783b..4b6760b600 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -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
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 49b014181e..27bbfb4c95 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -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
 
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
index 6e36c9339b..eb4c78f549 100644
--- a/include/configs/ls1046a_common.h
+++ b/include/configs/ls1046a_common.h
@@ -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
 
diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h
index f52ea4d746..6387b19dd5 100644
--- a/include/configs/ls1088ardb.h
+++ b/include/configs/ls1088ardb.h
@@ -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
 
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index ef0f4ff48e..d3d759533d 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -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
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board
  2019-02-19  6:44 [U-Boot] [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board Yunfeng Ding
@ 2019-02-20  3:54 ` Prabhakar Kushwaha
  2019-03-04  8:55 ` Prabhakar Kushwaha
  1 sibling, 0 replies; 4+ messages in thread
From: Prabhakar Kushwaha @ 2019-02-20  3:54 UTC (permalink / raw)
  To: u-boot

Dear Yunfeng, 

> -----Original Message-----
> From: Yunfeng Ding <yunfeng.ding@nxp.com>
> Sent: Tuesday, February 19, 2019 12:14 PM
> To: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>; u-
> boot at lists.denx.de
> Cc: Yunfeng Ding <yunfeng.ding@nxp.com>
> Subject: [PATCH] board/freescale: Enable DHCP distro boot for Layerscape
> board
> 
> Enable DHCP distro boot for Layerscape
> 
> Signed-off-by: Yunfeng Ding <yunfeng.ding@nxp.com>
> 

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board
  2019-02-19  6:44 [U-Boot] [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board Yunfeng Ding
  2019-02-20  3:54 ` Prabhakar Kushwaha
@ 2019-03-04  8:55 ` Prabhakar Kushwaha
  1 sibling, 0 replies; 4+ messages in thread
From: Prabhakar Kushwaha @ 2019-03-04  8:55 UTC (permalink / raw)
  To: u-boot


> -----Original Message-----
> From: Yunfeng Ding <yunfeng.ding@nxp.com>
> Sent: Tuesday, February 19, 2019 12:14 PM
> To: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>; u-
> boot at lists.denx.de
> Cc: Yunfeng Ding <yunfeng.ding@nxp.com>
> Subject: [PATCH] board/freescale: Enable DHCP distro boot for Layerscape
> board
> 
> Enable DHCP distro boot for Layerscape
> 
> Signed-off-by: Yunfeng Ding <yunfeng.ding@nxp.com>
> 

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board
@ 2019-02-19  6:55 Yunfeng Ding
  0 siblings, 0 replies; 4+ messages in thread
From: Yunfeng Ding @ 2019-02-19  6:55 UTC (permalink / raw)
  To: u-boot

Enable DHCP distro boot for Layerscape

Signed-off-by: Yunfeng Ding <yunfeng.ding@nxp.com>

---
 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(-)

diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 324dba2b7e..d6e0e0614f 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -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
 
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 2c91ae783b..4b6760b600 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -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
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 49b014181e..27bbfb4c95 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -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
 
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
index 6e36c9339b..eb4c78f549 100644
--- a/include/configs/ls1046a_common.h
+++ b/include/configs/ls1046a_common.h
@@ -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
 
diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h
index f52ea4d746..6387b19dd5 100644
--- a/include/configs/ls1088ardb.h
+++ b/include/configs/ls1088ardb.h
@@ -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
 
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index ef0f4ff48e..d3d759533d 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -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
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-04  8:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19  6:44 [U-Boot] [PATCH] board/freescale: Enable DHCP distro boot for Layerscape board Yunfeng Ding
2019-02-20  3:54 ` Prabhakar Kushwaha
2019-03-04  8:55 ` Prabhakar Kushwaha
2019-02-19  6:55 Yunfeng Ding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.