From: Alexander Graf Date: Mon, 29 Jan 2018 11:17:45 +0100 Subject: [U-Boot] [U-Boot, v3, 01/15] serial: Use next serial device if probing fails In-Reply-To: <20180129032719.GA18349@ethiopia.woodsts.org> References: <20180125110556.76352-2-agraf@suse.de> <20180128185450.GD20149@bill-the-cat> <20180129032719.GA18349@ethiopia.woodsts.org> Message-ID: <4e9221e7-a3f7-2f58-7fa5-e710f1b96a73@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 29.01.18 04:27, Derald D. Woods wrote: > On Sun, Jan 28, 2018 at 01:54:50PM -0500, Tom Rini wrote: >> On Thu, Jan 25, 2018 at 12:05:42PM +0100, Alexander Graf wrote: >> >>> Currently our serial device search chokes on the fact that the serial >>> probe function could fail. If it does, instead of searching for the next >>> usable serial device, it just quits. >>> >>> This patch changes the fallback logic so that even when a serial device >>> was not probed correctly, we just try the next ones until we find one that >>> works. >>> >>> Signed-off-by: Alexander Graf >>> Reviewed-by: Simon Glass >> >> Applied to u-boot/master, thanks! >> >> -- >> Tom > > Is there something, at the board level, that needs to be coded to > support this patch? The omap3_evm fails to boot with this patch applied. > Reverting it allows omap3_evm to boot again. I am testing with the base > default config for omap3_evm. No, this should really be a nop for everyone who does not fail probe() in serial devices. I'll see if I can figure out what's causing the issue in the next hours. If I don't get down to the root cause by tonight, I'll send a small patch that simply conditionalizes the new/old code based on a config variable and turn it on only for the Rpis, so we have a working -rc1. Alex