All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage
@ 2019-06-25 14:06 Igor Opaniuk
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 1/3] apalis-tk1: configs: remove legacy usbboot command Igor Opaniuk
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Igor Opaniuk @ 2019-06-25 14:06 UTC (permalink / raw)
  To: u-boot

This patch-series removes obsolete usbboot wrapper usage in Apalis
TK1/iMX6 and Colibri iMX6 platforms.

Igor Opaniuk (3):
  apalis-tk1: configs: remove legacy usbboot command
  apalis_imx6: configs: remove legacy usbboot command
  colibri_imx6: configs: remove legacy usbboot command

 include/configs/apalis-tk1.h   | 19 -------------------
 include/configs/apalis_imx6.h  | 22 ----------------------
 include/configs/colibri_imx6.h | 20 --------------------
 3 files changed, 61 deletions(-)

-- 
2.17.1

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

* [U-Boot] [PATCH v1 1/3] apalis-tk1: configs: remove legacy usbboot command
  2019-06-25 14:06 [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage Igor Opaniuk
@ 2019-06-25 14:06 ` Igor Opaniuk
  2019-07-10 11:57   ` Igor Opaniuk
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 2/3] apalis_imx6: " Igor Opaniuk
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 13+ messages in thread
From: Igor Opaniuk @ 2019-06-25 14:06 UTC (permalink / raw)
  To: u-boot

Remove obsolete legacy usbboot wrapper, as distroboot can handle
booting from USB drivers.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
---

 include/configs/apalis-tk1.h | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h
index b4ddd1bdc6..cead0412cf 100644
--- a/include/configs/apalis-tk1.h
+++ b/include/configs/apalis-tk1.h
@@ -90,23 +90,6 @@
 	"sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
 	"sdrootpart=2\0"
 
-#define USB_BOOTCMD \
-	"set_usbargs=setenv usbargs ip=off root=PARTUUID=${uuid} ro " \
-		"rootfstype=ext4 rootwait\0" \
-	"usbboot=run setup; usb start; run usbfinduuid; run set_usbargs; " \
-		"setenv bootargs ${defargs} ${setupargs} " \
-		"${usbargs} ${vidargs}; echo Booting from USB stick...; " \
-		"run usbdtbload; load usb ${usbdev}:${usbbootpart} " \
-		"${kernel_addr_r} ${boot_file} && run fdt_fixup && " \
-		"bootm ${kernel_addr_r} - ${dtbparam}\0" \
-	"usbbootpart=1\0" \
-	"usbdev=0\0" \
-	"usbdtbload=setenv dtbparam; load usb ${usbdev}:${usbbootpart} " \
-		"${fdt_addr_r} ${soc}-apalis-${fdt_board}.dtb " \
-		"&& setenv dtbparam ${fdt_addr_r}\0" \
-	"usbfinduuid=part uuid usb ${usbdev}:${usbrootpart} uuid\0" \
-	"usbrootpart=2\0"
-
 #define BOARD_EXTRA_ENV_SETTINGS \
 	"boot_file=uImage\0" \
 	"console=ttyS0\0" \
@@ -118,7 +101,6 @@
 	"fdt_fixup=;\0" \
 	NFS_BOOTCMD \
 	SD_BOOTCMD \
-	USB_BOOTCMD \
 	"setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
 		"00:14:2d:00:00:00; fi; pci enum && tftpboot ${loadaddr} " \
 		"flash_eth.img && source ${loadaddr}\0" \
@@ -135,7 +117,6 @@
 	"setusbupdate=usb start && setenv interface usb; setenv drive 0; " \
 		"load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \
 		"source ${loadaddr}\0" \
-	USB_BOOTCMD \
 	"vidargs=video=tegrafb0:640x480-16 at 60 fbcon=map:1\0"
 
 /* Increase console I/O buffer size */
-- 
2.17.1

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

* [U-Boot] [PATCH v1 2/3] apalis_imx6: configs: remove legacy usbboot command
  2019-06-25 14:06 [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage Igor Opaniuk
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 1/3] apalis-tk1: configs: remove legacy usbboot command Igor Opaniuk
@ 2019-06-25 14:06 ` Igor Opaniuk
  2019-07-10 11:57   ` Igor Opaniuk
  2019-07-20  8:46   ` sbabic at denx.de
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 3/3] colibri_imx6: " Igor Opaniuk
  2019-07-10 11:58 ` [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage Igor Opaniuk
  3 siblings, 2 replies; 13+ messages in thread
From: Igor Opaniuk @ 2019-06-25 14:06 UTC (permalink / raw)
  To: u-boot

Remove obsolete legacy usbboot wrapper, as distroboot can handle
booting from USB drivers.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
---

 include/configs/apalis_imx6.h | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index 4b0a3fb26b..3898d411c1 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -175,27 +175,6 @@
 	"sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
 	"sdrootpart=2\0"
 
-
-#define USB_BOOTCMD \
-	"set_usbargs=setenv usbargs ip=off root=PARTUUID=${uuid} ro,noatime " \
-		"rootfstype=ext4 rootwait\0" \
-	"usbboot=run setup; usb start; run usbfinduuid; run set_usbargs; " \
-		"setenv bootargs ${defargs} ${setupargs} " \
-		"${usbargs} ${vidargs}; echo Booting from USB stick...; " \
-		"run usbdtbload; load usb " \
-		"${usbdev}:${usbbootpart} ${kernel_addr_r} " \
-		"${boot_file} && run fdt_fixup && " \
-		"bootz ${kernel_addr_r} ${dtbparam}\0" \
-	"usbbootpart=1\0" \
-	"usbdev=0\0" \
-	"usbdtbload=setenv dtbparam; load usb ${usbdev}:${usbbootpart} "\
-		"${fdt_addr_r} " \
-		"${fdt_file} && setenv dtbparam \" - " \
-		"${fdt_addr_r}\" && true\0" \
-	"usbfinduuid=part uuid usb ${usbdev}:${usbrootpart} uuid\0" \
-	"usbrootpart=2\0"
-
-
 #ifndef CONFIG_TDX_APALIS_IMX6_V1_0
 #define FDT_FILE "imx6q-apalis-eval.dtb"
 #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb"
@@ -218,7 +197,6 @@
 	MEM_LAYOUT_ENV_SETTINGS \
 	NFS_BOOTCMD \
 	SD_BOOTCMD \
-	USB_BOOTCMD \
 	"setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
 		"00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \
 		"flash_eth.img && source ${loadaddr}\0" \
-- 
2.17.1

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

* [U-Boot] [PATCH v1 3/3] colibri_imx6: configs: remove legacy usbboot command
  2019-06-25 14:06 [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage Igor Opaniuk
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 1/3] apalis-tk1: configs: remove legacy usbboot command Igor Opaniuk
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 2/3] apalis_imx6: " Igor Opaniuk
@ 2019-06-25 14:06 ` Igor Opaniuk
  2019-07-10 11:57   ` Igor Opaniuk
  2019-07-20  8:45   ` sbabic at denx.de
  2019-07-10 11:58 ` [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage Igor Opaniuk
  3 siblings, 2 replies; 13+ messages in thread
From: Igor Opaniuk @ 2019-06-25 14:06 UTC (permalink / raw)
  To: u-boot

Remove obsolete legacy usbboot wrapper, as distroboot can handle
booting from USB drivers.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>

---

 include/configs/colibri_imx6.h | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
index 86f3f0d4fa..147f801353 100644
--- a/include/configs/colibri_imx6.h
+++ b/include/configs/colibri_imx6.h
@@ -165,25 +165,6 @@
 	"sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
 	"sdrootpart=2\0"
 
-#define USB_BOOTCMD \
-	"set_usbargs=setenv usbargs ip=off root=PARTUUID=${uuid} rw,noatime " \
-		"rootfstype=ext4 rootwait\0" \
-	"usbboot=run setup; usb start; run usbfinduuid; run set_usbargs; " \
-		"setenv bootargs ${defargs} ${setupargs} " \
-		"${usbargs} ${vidargs}; echo Booting from USB stick...; " \
-		"run usbdtbload; " \
-		"load usb ${usbdev}:${usbbootpart} ${kernel_addr_r} " \
-		"${boot_file} && run fdt_fixup && " \
-		"bootz ${kernel_addr_r} ${dtbparam}\0" \
-	"usbbootpart=1\0" \
-	"usbdev=0\0" \
-	"usbdtbload=setenv dtbparam; load usb ${usbdev}:${usbbootpart} " \
-		"${fdt_addr_r} " \
-		"${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && " \
-		"true\0" \
-	"usbfinduuid=part uuid usb ${usbdev}:${usbrootpart} uuid\0" \
-	"usbrootpart=2\0"
-
 #define FDT_FILE "imx6dl-colibri-eval-v3.dtb"
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	BOOTENV \
@@ -201,7 +182,6 @@
 	MEM_LAYOUT_ENV_SETTINGS \
 	NFS_BOOTCMD \
 	SD_BOOTCMD \
-	USB_BOOTCMD \
 	"setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
 		"00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \
 		"flash_eth.img && source ${loadaddr}\0" \
-- 
2.17.1

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

* [U-Boot] [PATCH v1 3/3] colibri_imx6: configs: remove legacy usbboot command
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 3/3] colibri_imx6: " Igor Opaniuk
@ 2019-07-10 11:57   ` Igor Opaniuk
  2019-07-10 12:20     ` Oleksandr Suvorov
  2019-07-20  8:45   ` sbabic at denx.de
  1 sibling, 1 reply; 13+ messages in thread
From: Igor Opaniuk @ 2019-07-10 11:57 UTC (permalink / raw)
  To: u-boot

+ Oleksandr

On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
>
> Remove obsolete legacy usbboot wrapper, as distroboot can handle
> booting from USB drivers.
>
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
>
> ---
>
>  include/configs/colibri_imx6.h | 20 --------------------
>  1 file changed, 20 deletions(-)
>
> diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
> index 86f3f0d4fa..147f801353 100644
> --- a/include/configs/colibri_imx6.h
> +++ b/include/configs/colibri_imx6.h
> @@ -165,25 +165,6 @@
>         "sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
>         "sdrootpart=2\0"
>
> -#define USB_BOOTCMD \
> -       "set_usbargs=setenv usbargs ip=off root=PARTUUID=${uuid} rw,noatime " \
> -               "rootfstype=ext4 rootwait\0" \
> -       "usbboot=run setup; usb start; run usbfinduuid; run set_usbargs; " \
> -               "setenv bootargs ${defargs} ${setupargs} " \
> -               "${usbargs} ${vidargs}; echo Booting from USB stick...; " \
> -               "run usbdtbload; " \
> -               "load usb ${usbdev}:${usbbootpart} ${kernel_addr_r} " \
> -               "${boot_file} && run fdt_fixup && " \
> -               "bootz ${kernel_addr_r} ${dtbparam}\0" \
> -       "usbbootpart=1\0" \
> -       "usbdev=0\0" \
> -       "usbdtbload=setenv dtbparam; load usb ${usbdev}:${usbbootpart} " \
> -               "${fdt_addr_r} " \
> -               "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && " \
> -               "true\0" \
> -       "usbfinduuid=part uuid usb ${usbdev}:${usbrootpart} uuid\0" \
> -       "usbrootpart=2\0"
> -
>  #define FDT_FILE "imx6dl-colibri-eval-v3.dtb"
>  #define CONFIG_EXTRA_ENV_SETTINGS \
>         BOOTENV \
> @@ -201,7 +182,6 @@
>         MEM_LAYOUT_ENV_SETTINGS \
>         NFS_BOOTCMD \
>         SD_BOOTCMD \
> -       USB_BOOTCMD \
>         "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
>                 "00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \
>                 "flash_eth.img && source ${loadaddr}\0" \
> --
> 2.17.1
>


-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Senior Development Engineer,
Igor Opaniuk

Toradex AG
Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48
00 (main line)

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

* [U-Boot] [PATCH v1 2/3] apalis_imx6: configs: remove legacy usbboot command
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 2/3] apalis_imx6: " Igor Opaniuk
@ 2019-07-10 11:57   ` Igor Opaniuk
  2019-07-10 12:02     ` Oleksandr Suvorov
  2019-07-20  8:46   ` sbabic at denx.de
  1 sibling, 1 reply; 13+ messages in thread
From: Igor Opaniuk @ 2019-07-10 11:57 UTC (permalink / raw)
  To: u-boot

+ Oleksandr

On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
>
> Remove obsolete legacy usbboot wrapper, as distroboot can handle
> booting from USB drivers.
>
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
> ---
>
>  include/configs/apalis_imx6.h | 22 ----------------------
>  1 file changed, 22 deletions(-)
>
> diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
> index 4b0a3fb26b..3898d411c1 100644
> --- a/include/configs/apalis_imx6.h
> +++ b/include/configs/apalis_imx6.h
> @@ -175,27 +175,6 @@
>         "sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
>         "sdrootpart=2\0"
>
> -
> -#define USB_BOOTCMD \
> -       "set_usbargs=setenv usbargs ip=off root=PARTUUID=${uuid} ro,noatime " \
> -               "rootfstype=ext4 rootwait\0" \
> -       "usbboot=run setup; usb start; run usbfinduuid; run set_usbargs; " \
> -               "setenv bootargs ${defargs} ${setupargs} " \
> -               "${usbargs} ${vidargs}; echo Booting from USB stick...; " \
> -               "run usbdtbload; load usb " \
> -               "${usbdev}:${usbbootpart} ${kernel_addr_r} " \
> -               "${boot_file} && run fdt_fixup && " \
> -               "bootz ${kernel_addr_r} ${dtbparam}\0" \
> -       "usbbootpart=1\0" \
> -       "usbdev=0\0" \
> -       "usbdtbload=setenv dtbparam; load usb ${usbdev}:${usbbootpart} "\
> -               "${fdt_addr_r} " \
> -               "${fdt_file} && setenv dtbparam \" - " \
> -               "${fdt_addr_r}\" && true\0" \
> -       "usbfinduuid=part uuid usb ${usbdev}:${usbrootpart} uuid\0" \
> -       "usbrootpart=2\0"
> -
> -
>  #ifndef CONFIG_TDX_APALIS_IMX6_V1_0
>  #define FDT_FILE "imx6q-apalis-eval.dtb"
>  #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb"
> @@ -218,7 +197,6 @@
>         MEM_LAYOUT_ENV_SETTINGS \
>         NFS_BOOTCMD \
>         SD_BOOTCMD \
> -       USB_BOOTCMD \
>         "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
>                 "00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \
>                 "flash_eth.img && source ${loadaddr}\0" \
> --
> 2.17.1
>


-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Senior Development Engineer,
Igor Opaniuk

Toradex AG
Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48
00 (main line)

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

* [U-Boot] [PATCH v1 1/3] apalis-tk1: configs: remove legacy usbboot command
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 1/3] apalis-tk1: configs: remove legacy usbboot command Igor Opaniuk
@ 2019-07-10 11:57   ` Igor Opaniuk
  2019-07-10 12:08     ` Oleksandr Suvorov
  0 siblings, 1 reply; 13+ messages in thread
From: Igor Opaniuk @ 2019-07-10 11:57 UTC (permalink / raw)
  To: u-boot

+ Oleksandr

On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
>
> Remove obsolete legacy usbboot wrapper, as distroboot can handle
> booting from USB drivers.
>
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
> ---
>
>  include/configs/apalis-tk1.h | 19 -------------------
>  1 file changed, 19 deletions(-)
>
> diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h
> index b4ddd1bdc6..cead0412cf 100644
> --- a/include/configs/apalis-tk1.h
> +++ b/include/configs/apalis-tk1.h
> @@ -90,23 +90,6 @@
>         "sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
>         "sdrootpart=2\0"
>
> -#define USB_BOOTCMD \
> -       "set_usbargs=setenv usbargs ip=off root=PARTUUID=${uuid} ro " \
> -               "rootfstype=ext4 rootwait\0" \
> -       "usbboot=run setup; usb start; run usbfinduuid; run set_usbargs; " \
> -               "setenv bootargs ${defargs} ${setupargs} " \
> -               "${usbargs} ${vidargs}; echo Booting from USB stick...; " \
> -               "run usbdtbload; load usb ${usbdev}:${usbbootpart} " \
> -               "${kernel_addr_r} ${boot_file} && run fdt_fixup && " \
> -               "bootm ${kernel_addr_r} - ${dtbparam}\0" \
> -       "usbbootpart=1\0" \
> -       "usbdev=0\0" \
> -       "usbdtbload=setenv dtbparam; load usb ${usbdev}:${usbbootpart} " \
> -               "${fdt_addr_r} ${soc}-apalis-${fdt_board}.dtb " \
> -               "&& setenv dtbparam ${fdt_addr_r}\0" \
> -       "usbfinduuid=part uuid usb ${usbdev}:${usbrootpart} uuid\0" \
> -       "usbrootpart=2\0"
> -
>  #define BOARD_EXTRA_ENV_SETTINGS \
>         "boot_file=uImage\0" \
>         "console=ttyS0\0" \
> @@ -118,7 +101,6 @@
>         "fdt_fixup=;\0" \
>         NFS_BOOTCMD \
>         SD_BOOTCMD \
> -       USB_BOOTCMD \
>         "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
>                 "00:14:2d:00:00:00; fi; pci enum && tftpboot ${loadaddr} " \
>                 "flash_eth.img && source ${loadaddr}\0" \
> @@ -135,7 +117,6 @@
>         "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \
>                 "load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \
>                 "source ${loadaddr}\0" \
> -       USB_BOOTCMD \
>         "vidargs=video=tegrafb0:640x480-16 at 60 fbcon=map:1\0"
>
>  /* Increase console I/O buffer size */
> --
> 2.17.1
>


-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Senior Development Engineer,
Igor Opaniuk

Toradex AG
Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48
00 (main line)

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

* [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage
  2019-06-25 14:06 [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage Igor Opaniuk
                   ` (2 preceding siblings ...)
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 3/3] colibri_imx6: " Igor Opaniuk
@ 2019-07-10 11:58 ` Igor Opaniuk
  3 siblings, 0 replies; 13+ messages in thread
From: Igor Opaniuk @ 2019-07-10 11:58 UTC (permalink / raw)
  To: u-boot

+ Oleksandr

On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
>
> This patch-series removes obsolete usbboot wrapper usage in Apalis
> TK1/iMX6 and Colibri iMX6 platforms.
>
> Igor Opaniuk (3):
>   apalis-tk1: configs: remove legacy usbboot command
>   apalis_imx6: configs: remove legacy usbboot command
>   colibri_imx6: configs: remove legacy usbboot command
>
>  include/configs/apalis-tk1.h   | 19 -------------------
>  include/configs/apalis_imx6.h  | 22 ----------------------
>  include/configs/colibri_imx6.h | 20 --------------------
>  3 files changed, 61 deletions(-)
>
> --
> 2.17.1
>


-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Senior Development Engineer,
Igor Opaniuk

Toradex AG
Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48
00 (main line)

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

* [U-Boot] [PATCH v1 2/3] apalis_imx6: configs: remove legacy usbboot command
  2019-07-10 11:57   ` Igor Opaniuk
@ 2019-07-10 12:02     ` Oleksandr Suvorov
  0 siblings, 0 replies; 13+ messages in thread
From: Oleksandr Suvorov @ 2019-07-10 12:02 UTC (permalink / raw)
  To: u-boot

On Wed, 10 Jul 2019 at 14:58, Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
>
> + Oleksandr
>
> On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
> >
> > Remove obsolete legacy usbboot wrapper, as distroboot can handle
> > booting from USB drivers.
> >
> > Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
> > ---
> >
> >  include/configs/apalis_imx6.h | 22 ----------------------
> >  1 file changed, 22 deletions(-)
> >
> > diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
> > index 4b0a3fb26b..3898d411c1 100644
> > --- a/include/configs/apalis_imx6.h
> > +++ b/include/configs/apalis_imx6.h
> > @@ -175,27 +175,6 @@
> >         "sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
> >         "sdrootpart=2\0"
> >
> > -
> > -#define USB_BOOTCMD \
> > -       "set_usbargs=setenv usbargs ip=off root=PARTUUID=${uuid} ro,noatime " \
> > -               "rootfstype=ext4 rootwait\0" \
> > -       "usbboot=run setup; usb start; run usbfinduuid; run set_usbargs; " \
> > -               "setenv bootargs ${defargs} ${setupargs} " \
> > -               "${usbargs} ${vidargs}; echo Booting from USB stick...; " \
> > -               "run usbdtbload; load usb " \
> > -               "${usbdev}:${usbbootpart} ${kernel_addr_r} " \
> > -               "${boot_file} && run fdt_fixup && " \
> > -               "bootz ${kernel_addr_r} ${dtbparam}\0" \
> > -       "usbbootpart=1\0" \
> > -       "usbdev=0\0" \
> > -       "usbdtbload=setenv dtbparam; load usb ${usbdev}:${usbbootpart} "\
> > -               "${fdt_addr_r} " \
> > -               "${fdt_file} && setenv dtbparam \" - " \
> > -               "${fdt_addr_r}\" && true\0" \
> > -       "usbfinduuid=part uuid usb ${usbdev}:${usbrootpart} uuid\0" \
> > -       "usbrootpart=2\0"
> > -
> > -
> >  #ifndef CONFIG_TDX_APALIS_IMX6_V1_0
> >  #define FDT_FILE "imx6q-apalis-eval.dtb"
> >  #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb"
> > @@ -218,7 +197,6 @@
> >         MEM_LAYOUT_ENV_SETTINGS \
> >         NFS_BOOTCMD \
> >         SD_BOOTCMD \
> > -       USB_BOOTCMD \
> >         "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
> >                 "00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \
> >                 "flash_eth.img && source ${loadaddr}\0" \
> > --
> > 2.17.1
> >
>
>
> --
> Best regards - Freundliche Grüsse - Meilleures salutations
>
> Senior Development Engineer,
> Igor Opaniuk
>
> Toradex AG
> Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48
> 00 (main line)
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>

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

* [U-Boot] [PATCH v1 1/3] apalis-tk1: configs: remove legacy usbboot command
  2019-07-10 11:57   ` Igor Opaniuk
@ 2019-07-10 12:08     ` Oleksandr Suvorov
  0 siblings, 0 replies; 13+ messages in thread
From: Oleksandr Suvorov @ 2019-07-10 12:08 UTC (permalink / raw)
  To: u-boot

On Wed, 10 Jul 2019 at 14:58, Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
>
> + Oleksandr
>
> On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
> >
> > Remove obsolete legacy usbboot wrapper, as distroboot can handle
> > booting from USB drivers.
> >
> > Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
> > ---
> >
> >  include/configs/apalis-tk1.h | 19 -------------------
> >  1 file changed, 19 deletions(-)
> >
> > diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h
> > index b4ddd1bdc6..cead0412cf 100644
> > --- a/include/configs/apalis-tk1.h
> > +++ b/include/configs/apalis-tk1.h
> > @@ -90,23 +90,6 @@
> >         "sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
> >         "sdrootpart=2\0"
> >
> > -#define USB_BOOTCMD \
> > -       "set_usbargs=setenv usbargs ip=off root=PARTUUID=${uuid} ro " \
> > -               "rootfstype=ext4 rootwait\0" \
> > -       "usbboot=run setup; usb start; run usbfinduuid; run set_usbargs; " \
> > -               "setenv bootargs ${defargs} ${setupargs} " \
> > -               "${usbargs} ${vidargs}; echo Booting from USB stick...; " \
> > -               "run usbdtbload; load usb ${usbdev}:${usbbootpart} " \
> > -               "${kernel_addr_r} ${boot_file} && run fdt_fixup && " \
> > -               "bootm ${kernel_addr_r} - ${dtbparam}\0" \
> > -       "usbbootpart=1\0" \
> > -       "usbdev=0\0" \
> > -       "usbdtbload=setenv dtbparam; load usb ${usbdev}:${usbbootpart} " \
> > -               "${fdt_addr_r} ${soc}-apalis-${fdt_board}.dtb " \
> > -               "&& setenv dtbparam ${fdt_addr_r}\0" \
> > -       "usbfinduuid=part uuid usb ${usbdev}:${usbrootpart} uuid\0" \
> > -       "usbrootpart=2\0"
> > -
> >  #define BOARD_EXTRA_ENV_SETTINGS \
> >         "boot_file=uImage\0" \
> >         "console=ttyS0\0" \
> > @@ -118,7 +101,6 @@
> >         "fdt_fixup=;\0" \
> >         NFS_BOOTCMD \
> >         SD_BOOTCMD \
> > -       USB_BOOTCMD \
> >         "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
> >                 "00:14:2d:00:00:00; fi; pci enum && tftpboot ${loadaddr} " \
> >                 "flash_eth.img && source ${loadaddr}\0" \
> > @@ -135,7 +117,6 @@
> >         "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \
> >                 "load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \
> >                 "source ${loadaddr}\0" \
> > -       USB_BOOTCMD \
> >         "vidargs=video=tegrafb0:640x480-16 at 60 fbcon=map:1\0"
> >
> >  /* Increase console I/O buffer size */
> > --
> > 2.17.1
> >
>
>
> --
> Best regards - Freundliche Grüsse - Meilleures salutations
>
> Senior Development Engineer,
> Igor Opaniuk
>
> Toradex AG
> Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48
> 00 (main line)
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>

--
Best regards
Oleksandr Suvorov
Toradex AG
Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500
4800 (main line)

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

* [U-Boot] [PATCH v1 3/3] colibri_imx6: configs: remove legacy usbboot command
  2019-07-10 11:57   ` Igor Opaniuk
@ 2019-07-10 12:20     ` Oleksandr Suvorov
  0 siblings, 0 replies; 13+ messages in thread
From: Oleksandr Suvorov @ 2019-07-10 12:20 UTC (permalink / raw)
  To: u-boot

On Wed, 10 Jul 2019 at 14:57, Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
>
> + Oleksandr
>
> On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk <igor.opaniuk@toradex.com> wrote:
> >
> > Remove obsolete legacy usbboot wrapper, as distroboot can handle
> > booting from USB drivers.
> >
> > Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
> >
> > ---
> >
> >  include/configs/colibri_imx6.h | 20 --------------------
> >  1 file changed, 20 deletions(-)
> >
> > diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
> > index 86f3f0d4fa..147f801353 100644
> > --- a/include/configs/colibri_imx6.h
> > +++ b/include/configs/colibri_imx6.h
> > @@ -165,25 +165,6 @@
> >         "sdfinduuid=part uuid mmc ${sddev}:${sdrootpart} uuid\0" \
> >         "sdrootpart=2\0"
> >
> > -#define USB_BOOTCMD \
> > -       "set_usbargs=setenv usbargs ip=off root=PARTUUID=${uuid} rw,noatime " \
> > -               "rootfstype=ext4 rootwait\0" \
> > -       "usbboot=run setup; usb start; run usbfinduuid; run set_usbargs; " \
> > -               "setenv bootargs ${defargs} ${setupargs} " \
> > -               "${usbargs} ${vidargs}; echo Booting from USB stick...; " \
> > -               "run usbdtbload; " \
> > -               "load usb ${usbdev}:${usbbootpart} ${kernel_addr_r} " \
> > -               "${boot_file} && run fdt_fixup && " \
> > -               "bootz ${kernel_addr_r} ${dtbparam}\0" \
> > -       "usbbootpart=1\0" \
> > -       "usbdev=0\0" \
> > -       "usbdtbload=setenv dtbparam; load usb ${usbdev}:${usbbootpart} " \
> > -               "${fdt_addr_r} " \
> > -               "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && " \
> > -               "true\0" \
> > -       "usbfinduuid=part uuid usb ${usbdev}:${usbrootpart} uuid\0" \
> > -       "usbrootpart=2\0"
> > -
> >  #define FDT_FILE "imx6dl-colibri-eval-v3.dtb"
> >  #define CONFIG_EXTRA_ENV_SETTINGS \
> >         BOOTENV \
> > @@ -201,7 +182,6 @@
> >         MEM_LAYOUT_ENV_SETTINGS \
> >         NFS_BOOTCMD \
> >         SD_BOOTCMD \
> > -       USB_BOOTCMD \
> >         "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \
> >                 "00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \
> >                 "flash_eth.img && source ${loadaddr}\0" \
> > --
> > 2.17.1
> >
>
>
> --
> Best regards - Freundliche Grüsse - Meilleures salutations
>
> Senior Development Engineer,
> Igor Opaniuk
>
> Toradex AG
> Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48
> 00 (main line)
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>

--
Best regards

Oleksandr Suvorov


Toradex AG
Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500
4800 (main line)

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

* [U-Boot] [PATCH v1 3/3] colibri_imx6: configs: remove legacy usbboot command
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 3/3] colibri_imx6: " Igor Opaniuk
  2019-07-10 11:57   ` Igor Opaniuk
@ 2019-07-20  8:45   ` sbabic at denx.de
  1 sibling, 0 replies; 13+ messages in thread
From: sbabic at denx.de @ 2019-07-20  8:45 UTC (permalink / raw)
  To: u-boot

> Remove obsolete legacy usbboot wrapper, as distroboot can handle
> booting from USB drivers.
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

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

* [U-Boot] [PATCH v1 2/3] apalis_imx6: configs: remove legacy usbboot command
  2019-06-25 14:06 ` [U-Boot] [PATCH v1 2/3] apalis_imx6: " Igor Opaniuk
  2019-07-10 11:57   ` Igor Opaniuk
@ 2019-07-20  8:46   ` sbabic at denx.de
  1 sibling, 0 replies; 13+ messages in thread
From: sbabic at denx.de @ 2019-07-20  8:46 UTC (permalink / raw)
  To: u-boot

> Remove obsolete legacy usbboot wrapper, as distroboot can handle
> booting from USB drivers.
> Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

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

end of thread, other threads:[~2019-07-20  8:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25 14:06 [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage Igor Opaniuk
2019-06-25 14:06 ` [U-Boot] [PATCH v1 1/3] apalis-tk1: configs: remove legacy usbboot command Igor Opaniuk
2019-07-10 11:57   ` Igor Opaniuk
2019-07-10 12:08     ` Oleksandr Suvorov
2019-06-25 14:06 ` [U-Boot] [PATCH v1 2/3] apalis_imx6: " Igor Opaniuk
2019-07-10 11:57   ` Igor Opaniuk
2019-07-10 12:02     ` Oleksandr Suvorov
2019-07-20  8:46   ` sbabic at denx.de
2019-06-25 14:06 ` [U-Boot] [PATCH v1 3/3] colibri_imx6: " Igor Opaniuk
2019-07-10 11:57   ` Igor Opaniuk
2019-07-10 12:20     ` Oleksandr Suvorov
2019-07-20  8:45   ` sbabic at denx.de
2019-07-10 11:58 ` [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage Igor Opaniuk

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.