On Mon, Feb 20, 2023 at 10:06:14AM +0100, Michael Kopfensteiner wrote: > The Variscite DT8MCustomBoard is an eval board for the several Variscite > SOMs of their "DART" product line. This commit adds support for that > baseboard in combination with a DART-MX8M-PLUS SOM. The commit contains > an adapted version of the vendors device tree [1] and the vendors DDR > timings, taken from Variscite's public U-Boot sources [2]. > > Both files have been slightly changed to integrate well with barebox. > > The boardsupport added with this commit does not yet support every > feature of the DT8MCustomBoard. Yet it already supports all basic > necessities to make use of barebox. > > [1] https://github.com/varigit/linux-imx/tree/3f94f35bda827e8aa06beadb10c77358cfb6dad9 > [2] https://github.com/varigit/uboot-imx/tree/7cad2ff68a508c71c572151a85bc786711bab969 > > + > +#include "imx8mp-var-dart.dtsi" > + > +/ { > + model = "Variscite DART-MX8M-PLUS on DT8MCustomBoard 2.x"; > + > + // use the memory controller instead > + /delete-node/ memory@40000000; > + > + chosen { > + stdout-path = &uart1; > + > + environment-sd { > + compatible = "barebox,environment"; > + device-path = &usdhc2, "partname:0"; > + status = "disabled"; > + }; > + > + environment-emmc { > + compatible = "barebox,environment"; > + device-path = &usdhc2, "partname:0"; > + status = "disabled"; > + }; > + }; usdhc2 can't be both SD and eMMC. "partname:0" is the first MBR partition. Is that what you mean here? Normally we put the environment in an unpartitioned area before the first partition. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |