Hi Michael, On 21.02.22 14:04, Michael Graichen wrote: > Hey, > > I was just wondering if it is possibe to read the Barebox log messages or the Barebox version from within Linux? That's what CONFIG_FS_PSTORE_CONSOLE does, see https://www.barebox.org/doc/latest/filesystems/pstore.html > Barebox version from within Linux? Yes, check out /proc/device-tree/chosen/barebox-version If you are curious what else barebox is fixing up into the device tree, try of_diff - + This will apply all DT fixups to a copy of the barebox device tree and show a diff before and after, e.g. chosen { + barebox-version = "barebox-2021.05.0-20220126-2"; + bootargs = "console=ttymxc1,115200n8"; + reset-source = "POR"; + reset-source-instance = <0x0>; + bootsource = "/soc/bus@2100000/mmc@2198000"; }; Cheers, Ahmad > > Best regards > Michael > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- 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 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox