From: Tom Rini Date: Wed, 12 Mar 2014 13:18:28 -0400 Subject: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets. In-Reply-To: <53208E30.1010304@broadcom.com> References: <1394640241-14707-1-git-send-email-drambo@broadcom.com> <20140312162431.GT16805@bill-the-cat> <53208E30.1010304@broadcom.com> Message-ID: <20140312171828.GU16805@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 12, 2014 at 09:41:20AM -0700, Darwin Rambo wrote: > > > On 14-03-12 09:24 AM, Tom Rini wrote: > > On Wed, Mar 12, 2014 at 09:04:01AM -0700, Darwin Rambo wrote: [snip] > >> + /* Assumes kernel is lower in memory than fdt */ > >> + smh_load(CONFIG_KNLNAME, kernel_addr, fdt_addr - kernel_addr, 1); > >> + > >> + /* Load fdt to memory */ > >> + smh_load(CONFIG_FDTNAME, fdt_addr, 0x20000, 1); > >> + > >> + /* Load initrd to memory */ > >> + smh_load(CONFIG_RDNAME, initrd_addr, initrd_size, 1); > > > > Is there a reason we can't also get these from the environment? Or a > > limitation of (how we support) the simulator that we don't have > > persistent r/w environment right now? > These names can also come from the environment, there's r/w capability > there, just no physical eMMC. Thanks. I need to play more with the foundation model then, I didn't think we could talk with the "mmc" or anything on it. As you've got it coded now, you can't change what's loaded here :) But if we can have a file-backed storage used as the "disk" and keep env there, making this load files named in the environment and then fw_getenv/setenv can change the values from Linux too, if we don't boot into a full U-Boot at some point. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: