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

2021-02-10 Thread Stefano Babic
Hi everybody, On 10.02.21 20:36, Fabio Estevam wrote: On Wed, Feb 10, 2021 at 4:28 PM Dennis Gilmore wrote: Hi Stefano, I really do not think that this patch should have been merged. It is not the preferred way to boot distros and is left in for legacy support only. We probably should make

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

2021-02-10 Thread Fabio Estevam
On Wed, Feb 10, 2021 at 4:28 PM Dennis Gilmore wrote: > > Hi Stefano, > > I really do not think that this patch should have been merged. It is > not the preferred way to boot distros and is left in for legacy > support only. We probably should make it as such. Yes, I agree with Dennis. We both p

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

2021-02-10 Thread Dennis Gilmore
Hi Stefano, I really do not think that this patch should have been merged. It is not the preferred way to boot distros and is left in for legacy support only. We probably should make it as such. Dennis On Sat, Jan 23, 2021 at 9:53 AM wrote: > > > From: Alice Guo > > Distro Boot requires a U-B

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

2021-01-23 Thread sbabic
> From: Alice Guo > Distro Boot requires a U-Boot-specific script named boot.scr or > boot.scr.uimg which contains boot commands to boot the system. The > boot.cmd is such a file. Use mkimage to generate boot.scr or > boot.scr.uimg from boot.cmd, and the command is: > mkimage -A arm -O linux -T sc

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

2020-12-18 Thread Dennis Gilmore
riginal Message- > > From: Fabio Estevam > > Sent: 2020年12月18日 19:03 > > To: Alice Guo (OSS) > > Cc: Stefano Babic ; Peng Fan ; > > dl-uboot-imx ; Ye Li ; U-Boot-Denx > > ; Alice Guo ; Otavio Salvador > > ; andrey.zhizhi...@leica-geosystems.com > >

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

2020-12-18 Thread Fabio Estevam
Hi Alice, On Fri, Dec 18, 2020 at 8:10 AM Alice Guo (OSS) wrote: > 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". I suppose you want to test it using Yocto, so take a look at wand

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

2020-12-18 Thread Alice Guo (OSS)
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) > wrote: > > > +++ b/board/freescale/imx8mp_evk/boot.cmd > > @@ -0,0 +1,25 @@ > > +setenv bo

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

2020-12-18 Thread Fabio Estevam
Hi Alice, On Fri, Dec 18, 2020 at 4:20 AM Alice Guo (OSS) 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

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

2020-12-17 Thread Alice Guo (OSS)
From: Alice Guo Distro Boot requires a U-Boot-specific script named boot.scr or boot.scr.uimg which contains boot commands to boot the system. The boot.cmd is such a file. Use mkimage to generate boot.scr or boot.scr.uimg from boot.cmd, and the command is: mkimage -A arm -O linux -T script -C non