From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Fri, 26 Jul 2013 12:41:44 -0700 Subject: [U-Boot] [RFC] Remove static display data In-Reply-To: <51F28C69.9050406@wwwdotorg.org> References: <20130726095049.3ee4a02e@crub> <51F236CB.3060906@denx.de> <51F281E5.9010103@boundarydevices.com> <51F28AEC.3070909@denx.de> <51F28C69.9050406@wwwdotorg.org> Message-ID: <51F2D0F8.1060408@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Thanks Stephen, On 07/26/2013 07:49 AM, Stephen Warren wrote: > On 07/26/2013 08:42 AM, Stefano Babic wrote: >> On 26/07/2013 16:04, Eric Nelson wrote: >>> The real question we have regarding DT is the timing. We're shipping >>> DT files on secondary storage (SATA/SD card), and want/need something >>> local (i.e. env in SPI-NOR) to present a U/I if either no storage >>> available or if something goes wrong. >> >> ok, understood. > > For Tegra (and I assume the similar Exynos support), the DTB that's used > by U-Boot is considered part of the U-Boot binary, so whatever loads > that into RAM also automatically picks up the DTB, so there's no need to > do any kind of storage access to retrieve it > Interesting... and the fdtdec_X() routines give you a mini database you can query for the bits of interest, which can handle the interface-specific bits pretty nicely. > Of course, the U-Boot code apparently supports other methods, such as > hard-coding a memory-mapped address etc.; take a lok at the DT-related > config options. > Now if only there were a way to represent some DT data in an environment variable... I mean, there is, but somehow this just seems wrong: U-Boot > setenv mypanel ' > clock = <54030000>; > xres = <1024>; > yres = <600>; > ... > '