Re: [U-Boot] [PATCH 6/6] kc1: Add some sysboot and devicetree-related environment variables

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 01:55:15PM +0200, Paul Kocialkowski wrote:
> Le samedi 26 mars 2016 à 15:21 -0400, Tom Rini a écrit :
> > On Sat, Mar 26, 2016 at 12:20:04PM +0100, Paul Kocialkowski wrote:
> > 
> > > 
> > > This adds some environment variables for sysboot and devicetree.
> > > 
> > > Signed-off-by: Paul Kocialkowski 
> > > ---
> > >  include/configs/kc1.h | 2 ++
> > >  1 file changed, 2 insertions(+)
> > > 
> > > diff --git a/include/configs/kc1.h b/include/configs/kc1.h
> > > index 1e6b037..e19fa12 100644
> > > --- a/include/configs/kc1.h
> > > +++ b/include/configs/kc1.h
> > > @@ -233,6 +233,8 @@
> > >   "boot_mmc_dev=0\0" \
> > >   "kernel_mmc_part=7\0" \
> > >   "recovery_mmc_part=5\0" \
> > > + "fdtfile=omap4-kc1.dtb\0" \
> > > + "bootfile=/boot/extlinux/extlinux.conf\0" \
> > >   "bootargs=console=ttyO2,115200 mem=512M\0"
> > Maybe time to look in to config_distro_bootcmd too?
> 
> Well, both sniper and kc1 are mobile devices that people will likely want to 
> run
> Android on, so that's what I'm targetting as default.
> 
> At this point, there is no dt-enabled kernel capable of running Android for
> these devices, and mainline Linux is still a very early effort. Thus, I'm 
> making
> those variables available to make it easier to hack on mainline Linux, but I
> don't want it to be the default (yet).

OK, thanks.

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] kc1: Add some sysboot and devicetree-related environment variables

2016-03-28 Thread Paul Kocialkowski
Le samedi 26 mars 2016 à 15:21 -0400, Tom Rini a écrit :
> On Sat, Mar 26, 2016 at 12:20:04PM +0100, Paul Kocialkowski wrote:
> 
> > 
> > This adds some environment variables for sysboot and devicetree.
> > 
> > Signed-off-by: Paul Kocialkowski 
> > ---
> >  include/configs/kc1.h | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/include/configs/kc1.h b/include/configs/kc1.h
> > index 1e6b037..e19fa12 100644
> > --- a/include/configs/kc1.h
> > +++ b/include/configs/kc1.h
> > @@ -233,6 +233,8 @@
> >     "boot_mmc_dev=0\0" \
> >     "kernel_mmc_part=7\0" \
> >     "recovery_mmc_part=5\0" \
> > +   "fdtfile=omap4-kc1.dtb\0" \
> > +   "bootfile=/boot/extlinux/extlinux.conf\0" \
> >     "bootargs=console=ttyO2,115200 mem=512M\0"
> Maybe time to look in to config_distro_bootcmd too?

Well, both sniper and kc1 are mobile devices that people will likely want to run
Android on, so that's what I'm targetting as default.

At this point, there is no dt-enabled kernel capable of running Android for
these devices, and mainline Linux is still a very early effort. Thus, I'm making
those variables available to make it easier to hack on mainline Linux, but I
don't want it to be the default (yet).

-- 
Paul Kocialkowski, low-level free software developer on embedded devices

Website: https://www.paulk.fr/
Coding blog: https://code.paulk.fr/
Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/


signature.asc
Description: This is a digitally signed message part
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] kc1: Add some sysboot and devicetree-related environment variables

2016-03-26 Thread Tom Rini
On Sat, Mar 26, 2016 at 12:20:04PM +0100, Paul Kocialkowski wrote:

> This adds some environment variables for sysboot and devicetree.
> 
> Signed-off-by: Paul Kocialkowski 
> ---
>  include/configs/kc1.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/configs/kc1.h b/include/configs/kc1.h
> index 1e6b037..e19fa12 100644
> --- a/include/configs/kc1.h
> +++ b/include/configs/kc1.h
> @@ -233,6 +233,8 @@
>   "boot_mmc_dev=0\0" \
>   "kernel_mmc_part=7\0" \
>   "recovery_mmc_part=5\0" \
> + "fdtfile=omap4-kc1.dtb\0" \
> + "bootfile=/boot/extlinux/extlinux.conf\0" \
>   "bootargs=console=ttyO2,115200 mem=512M\0"

Maybe time to look in to config_distro_bootcmd too?

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 6/6] kc1: Add some sysboot and devicetree-related environment variables

2016-03-26 Thread Paul Kocialkowski
This adds some environment variables for sysboot and devicetree.

Signed-off-by: Paul Kocialkowski 
---
 include/configs/kc1.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/kc1.h b/include/configs/kc1.h
index 1e6b037..e19fa12 100644
--- a/include/configs/kc1.h
+++ b/include/configs/kc1.h
@@ -233,6 +233,8 @@
"boot_mmc_dev=0\0" \
"kernel_mmc_part=7\0" \
"recovery_mmc_part=5\0" \
+   "fdtfile=omap4-kc1.dtb\0" \
+   "bootfile=/boot/extlinux/extlinux.conf\0" \
"bootargs=console=ttyO2,115200 mem=512M\0"
 
 /*
-- 
2.7.4

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