From: Alexander Graf Date: Mon, 17 Oct 2016 08:54:00 +0200 Subject: [U-Boot] [PATCH v5 4/7] ls2080ardb: Convert to distro boot In-Reply-To: References: <1476525795-27483-1-git-send-email-agraf@suse.de> <1476525795-27483-5-git-send-email-agraf@suse.de> Message-ID: <6e5c1a46-a375-175e-156a-7f1fb6893007@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 15.10.16 18:56, york sun wrote: > On 10/15/2016 03:03 AM, Alexander Graf wrote: >> Most new systems in U-Boot these days make use of the generic "distro" >> framework which allows a user to have U-Boot scan for a bootable OS >> on all available media types. >> >> This patch extends the LS2080ARDB board to use that framework if the >> hard coded NOR flash location does not contain a bootable image. >> >> Signed-off-by: Alexander Graf >> >> --- >> >> v1 -> v2: >> >> - Boot NOR flash before distro boot >> >> v2 -> v3: >> >> - Actually run distro boot (s/&&/||/ after bootm) >> >> v3 -> v4: >> >> - Add CONFIG_CMD_FS_GENERIC to defconfig >> >> v4 -> v5: >> >> - Add qspi board >> - Don't overwrite ethact > > Alex, > > Don't we have an issue to run distro boot right after this patch? I > think this patch should be the last in this set. Don't you agree? Distro boot is much more than just efi_loader boot. It also has extlinux support for example. So while at this point efi_loader doesn't work yet, the other bits do indeed work :). It doesn't hurt to move this patch at the end of the queue though, so I'll do that nevertheless. Alex