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

Paul Kocialkowski contact at paulk.fr
Mon Mar 28 13:55:15 CEST 2016


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 <contact at paulk.fr>
> > ---
> >  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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160328/78ba7b09/attachment.sig>


More information about the U-Boot mailing list