Port-arm archive

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

Re: netbsd-9, boot, EFI and device tree



On Sun, Apr 25, 2021 at 06:42:19PM +0200, Manuel Bouyer wrote:
> 
> My problem is that I need a custom device tree (activate SPI2, more
> devices on I2C2, and so on). For this I found that there is a
> fdtfile variable in u-boot, that contains a dts file name which will
> be loaded from /dts/ on the FAT. So this part is solved.
> 
> The second issue (but not for this project) is that I need some
> kernel command line parameters (console=xxx, root=yyy for example).
> With u-boot loading netbsd.ub, I can set this in an u-boot variable.
> But I don't know how to do this with the EFI second-stage boot loader.

Setting via U-Boot the environment variable "bootargs" should do it. (I
looked at the finger---the armv7 code---and not at the moon: the common
efiboot code. The env is read.)
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index