[U-Boot] [PATCH v1 3/3] colibri_imx6: configs: remove legacy usbboot command
Igor Opaniuk
igor.opaniuk at toradex.com
Wed Jul 10 11:57:17 UTC 2019
+ Oleksandr
On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk <igor.opaniuk at toradex.com> wrote:
>
> Remove obsolete legacy usbboot wrapper, as distroboot can handle
> booting from USB drivers.
>
> Signed-off-by: Igor Opaniuk <igor.opaniuk at 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)
More information about the U-Boot
mailing list