From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Fri, 20 Sep 2013 07:20:04 -0700 Subject: [U-Boot] [PATCH] mx6sabresd: Fix the fdt file for the mx6dl version In-Reply-To: <523C50F7.5080706@denx.de> References: <1379469359-19153-1-git-send-email-festevam@gmail.com> <5239AF39.1070008@boundarydevices.com> <523C50F7.5080706@denx.de> Message-ID: <523C5994.4090409@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, Stefano, On 09/20/2013 06:43 AM, Stefano Babic wrote: > Hi Eric, > > On 18/09/2013 15:48, Eric Nelson wrote: >> >> This allows the boot script to produce the DTB name as shown >> here: >> https://github.com/boundarydevices/u-boot-imx6/blob/staging/board/boundary/nitrogen6x/6x_bootscript.txt#L72 >> >> >> If/when you move to a single binary for DQ/DL, you won't have >> a separate choice as shown above. >> >> Let me know your thoughts on this. > > It would be helpful if we agree on a set of common variables (across > architectures) to be automatically set by u-boot at the startup. > > The proposed mechanism is already used in u-boot: see the "dieid#" > variable for TI's OMAP. > This maps to the get_imx_type() routine pretty nicely, though the hash in the environment variable seems weird. We'll want a board identifier as well, and see other boards using CONFIG_SYS_BOARD, which seems very reasonable, but the Nitrogen6x/SABRE Lite will need some additional logic.