[EXT] Re: [PATCH v2 2/2] board: imx8mp: add boot.cmd for distro boot on iMX8MP

Alice Guo (OSS) alice.guo at oss.nxp.com
Fri Dec 18 12:10:48 CET 2020



> -----Original Message-----
> From: Fabio Estevam <festevam at gmail.com>
> Sent: 2020年12月18日 19:03
> To: Alice Guo (OSS) <alice.guo at oss.nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>; Peng Fan <peng.fan at nxp.com>;
> dl-uboot-imx <uboot-imx at nxp.com>; Ye Li <ye.li at nxp.com>; U-Boot-Denx
> <u-boot at lists.denx.de>; Alice Guo <alice.guo at nxp.com>; Otavio Salvador
> <otavio at ossystems.com.br>; andrey.zhizhikin at leica-geosystems.com
> Subject: [EXT] Re: [PATCH v2 2/2] board: imx8mp: add boot.cmd for distro boot
> on iMX8MP
> 
> Caution: EXT Email
> 
> Hi Alice,
> 
> On Fri, Dec 18, 2020 at 4:20 AM Alice Guo (OSS) <alice.guo at oss.nxp.com>
> wrote:
> 
> > +++ b/board/freescale/imx8mp_evk/boot.cmd
> > @@ -0,0 +1,25 @@
> > +setenv bootargs console=${console} root=${mmcroot};
> > +
> > +for boot_target in ${boot_targets};
> 
> This is not how distro boot support works.
> 
> boot.scr or extlinux.conf scripts should be provided by the distro itself (Yocto,
> Buildroot, Debian, etc), and not from U-Boot.
> 
> Each distro has its own partitioning mechanism and may store the kernel, dtb in
> different locations.

Hi,
Can you tell me where I can see more details about boot.scr? I didn't see that " boot.scr or extlinux.conf scripts should be provided by the distro itself".
Thank you.

Alice


More information about the U-Boot mailing list