[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using a custom device tree file



Am Sonntag, 11. Februar 2018, 13:20:07 CET schrieb Vagrant Cascadian:
> On 2018-02-11, Rainer Dorsch wrote:
> > I try to use a custom device tree file, but uEnv.txt does not have any
> > effect:
> > 
> > rd@mohot:~$ cat /boot/uEnv.txt
> > fdtfile=imx6dl-hummingboard-spi.dtb
> 
> ...
> 
> > Do I need to run flash-kernel or something else that uEnv.txt has any
> > effect?
> I don't believe the u-boot in Debian or mainline supports uEnv.txt for
> the hummingboard variants. Or any of the variants supported in Debian's
> u-boot package, though I haven't looked closely.
> 
> Try adding the following to /etc/flash-kernel/ubootenv.d/fdtfile:
> 
>   setenv fdtfile imx6dl-hummingboard-spi.dtb
> 
> And running flash-kernel to regenerate the boot script.
> 

Thanks for your quick answer Vagrant.

In case I try to boot a broken dtb (kernel does not boot), is there a way back 
to the previous dtb?

Thanks
Rainer


-- 
Rainer Dorsch
http://bokomoko.de/


Reply to: