From: Tom Rini Date: Sun, 11 Oct 2015 09:09:47 -0400 Subject: [U-Boot] [PATCH] common/image.c: Make boot_get_ramdisk() perform a check for Android images In-Reply-To: References: <1440704561-17015-1-git-send-email-trini@konsulko.com> <1441115429.4123.1.camel@collins> Message-ID: <20151011130947.GZ3829@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 Mon, Oct 05, 2015 at 02:23:40PM -0500, Rob Herring wrote: > On Tue, Sep 1, 2015 at 8:50 AM, Paul Kocialkowski wrote: > > Le jeudi 27 ao?t 2015 ? 15:42 -0400, Tom Rini a ?crit : > >> In 2dd4632 the check for where a ramdisk is found on an Android image > >> was got moved into the "normal" loop here, causing people to have to > >> pass the kernel address in the ramdisk address location in order to have > >> Android boot still. This changed previous behavior so perform a check > >> early in the function to see if we have an Android image and if so use > >> that as where to look for the ramdisk (which is what the rest of the > >> code here expects). > > > > That patch does fix my problem (the ramdisk is now correctly passed to > > the kernel). I suggest that you merge it ASAP. > > Doesn't look like this was ever merged or respun. I had some comments, > but have no issue if they addressed separately as part of some > refactoring. OK. With respect to the code flow, that's on the "someday, probably" list. I've shuffled things around so that you can still provide a separate ramdisk to override the image as that was the use-case I hadn't considered before. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: