[U-Boot] [PATCH v1 2/3] apalis_imx6: configs: remove legacy usbboot command

2019-07-20 Thread sbabic
> Remove obsolete legacy usbboot wrapper, as distroboot can handle
> booting from USB drivers.
> Signed-off-by: Igor Opaniuk 
> Reviewed-by: Oleksandr Suvorov 

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: sba...@denx.de
=

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v1 2/3] apalis_imx6: configs: remove legacy usbboot command

2019-07-10 Thread Oleksandr Suvorov
On Wed, 10 Jul 2019 at 14:58, Igor Opaniuk  wrote:
>
> + Oleksandr
>
> On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk  wrote:
> >
> > Remove obsolete legacy usbboot wrapper, as distroboot can handle
> > booting from USB drivers.
> >
> > Signed-off-by: Igor Opaniuk 
> > ---
> >
> >  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@lists.denx.de
> https://lists.denx.de/listinfo/u-boot

Reviewed-by: Oleksandr Suvorov 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v1 2/3] apalis_imx6: configs: remove legacy usbboot command

2019-07-10 Thread Igor Opaniuk
+ Oleksandr

On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk  wrote:
>
> Remove obsolete legacy usbboot wrapper, as distroboot can handle
> booting from USB drivers.
>
> Signed-off-by: Igor Opaniuk 
> ---
>
>  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@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v1 2/3] apalis_imx6: configs: remove legacy usbboot command

2019-06-25 Thread Igor Opaniuk
Remove obsolete legacy usbboot wrapper, as distroboot can handle
booting from USB drivers.

Signed-off-by: Igor Opaniuk 
---

 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

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot