From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 14 Feb 2014 12:00:15 +0100 Subject: [U-Boot] U-Boot XML support In-Reply-To: <7914.213.33.116.113.1392373500.squirrel@petermaier.org> References: <7914.213.33.116.113.1392373500.squirrel@petermaier.org> Message-ID: <20140214120015.30fe6dc0@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Hannes, On Fri, 14 Feb 2014 10:25:00 -0000 (UTC), "Hannes Petermaier" wrote: > Hi folks, > > In future i have the need to fetch some settings (display timings, > mac-addresses) from an XML file stored in some flash. > This is necessary for having only one configuration space for the > bootloader and the OS. The OS is VxWorks which uses this information too. > > So my question, is there any support for reading XML in u-boot ? No, there isn't, as a 'git grep -i xml' shows: XML is only mentioned in the doc/DocBook and tools/kernel-doc directories. But since you'll need to provision the file onto the target anyway, you just need to pass it through script which will convert it into U-Boot environment variables. > Best regards, > Hannes Amicalement, -- Albert.