From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Date: Wed, 13 Apr 2016 14:55:28 +0200 Subject: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable In-Reply-To: <1460551699-30796-1-git-send-email-afaerber@suse.de> References: <1460551699-30796-1-git-send-email-afaerber@suse.de> Message-ID: <570E41C0.1010904@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 13.04.2016 um 14:48 schrieb Andreas F?rber: > The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the > distro boot commands are looking for $fdtfile, so provide it to avoid > having users supply a dumb boot.scr doing a setenv fdtfile ...; boot, > defeating the purpose of generic EFI boot. > > Cc: Stephen Warren > Cc: Alexander Graf > Signed-off-by: Andreas F?rber > --- > include/configs/jetson-tk1.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h > index 59dbb20..82a4be4 100644 > --- a/include/configs/jetson-tk1.h > +++ b/include/configs/jetson-tk1.h > @@ -63,6 +63,10 @@ > /* General networking support */ > #define CONFIG_CMD_DHCP > > +#define BOARD_EXTRA_ENV_SETTINGS \ > + "fdtfile=tegra124-jetson-tk1.dtb\0" \ > + "" Is there any more intelligent solution than doing this for each board? Andreas > + > #include "tegra-common-usb-gadget.h" > #include "tegra-common-post.h" > > -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)