From: Mark Kettenis Date: Fri, 13 Apr 2018 10:24:02 +0200 (CEST) Subject: [U-Boot] [PATCH 1/1] rockchip: rk3288: provide ${fdtfile} In-Reply-To: <6370a33c-648a-c09c-c1c7-086159fa9970@rock-chips.com> (message from Kever Yang on Fri, 13 Apr 2018 15:54:07 +0800) References: <20180412224557.11090-1-xypron.glpk@gmx.de> <6370a33c-648a-c09c-c1c7-086159fa9970@rock-chips.com> Message-ID: <88d2f0891860ece3@bloch.sibelius.xs4all.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de > From: Kever Yang > Date: Fri, 13 Apr 2018 15:54:07 +0800 > > Hi Heinrich, > >     What kind of issue do you met without this patch? > > I think distro boot always work fine in my side without this patch. Without this, U-Boot won't load a new device tree from disk before starting the EFI application. This means the device tree provided by U-Boot will be used which doesn't work very well with newer kernels. > Thanks, > - Kever > On 04/13/2018 06:45 AM, Heinrich Schuchardt wrote: > > All rk3288 default configs define CONFIG_DEFAULT_DEVICE_TREE. > > So we can use it to define ${fdtfile} in rk3288_common.h. > > > > This variable is needed by the distro boot command. > > > > Signed-off-by: Heinrich Schuchardt > > --- > > include/configs/rk3288_common.h | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h > > index 78595b86ec..762a206143 100644 > > --- a/include/configs/rk3288_common.h > > +++ b/include/configs/rk3288_common.h > > @@ -73,6 +73,7 @@ > > #define CONFIG_EXTRA_ENV_SETTINGS \ > > "fdt_high=0x0fffffff\0" \ > > "initrd_high=0x0fffffff\0" \ > > + "fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ > > "partitions=" PARTS_DEFAULT \ > > ENV_MEM_LAYOUT_SETTINGS \ > > ROCKCHIP_DEVICE_SETTINGS \ > > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot >