From: Tom Rini Date: Thu, 14 Jan 2016 12:31:08 -0500 Subject: [U-Boot] [PATCH] At start of autoboot check, flush any pending RX bytes In-Reply-To: References: <1450663670-29212-1-git-send-email-craig.mcqueen@innerrange.com> Message-ID: <20160114173108.GD3359@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, Jan 11, 2016 at 09:59:18AM -0700, Simon Glass wrote: > Hi Craig, > > On 20 December 2015 at 19:07, Craig McQueen > wrote: > > This is to avoid the boot sequence halting due to initial "junk" > > received on serial input. > > > > Signed-off-by: Craig McQueen > > --- > > I have found that on the BeagleBone Black, U-Boot occasionally halts at > > the U-Boot prompt at boot-up, whether power-up, warm external > > reset or software reset. I have seen other people report the same issue. > > > > This seems to be due to U-Boot receiving "junk" data on the serial > > console. The BeagleBone Black has a pull-down resistor which was > > apparently added to try to mitigate this issue, but it doesn't entirely > > fix it. > > I wonder if this can be fixed for that board only? No, and it's not -exactly- a that board only problem. It's a HW design issue that can show up elsewhere too. I _think_ however in this case the answer would be to migrate to perhaps CONFIG_AUTOBOOT_KEYED_CTRLC as that's one of the reason various other boards use that set of options. I would suggest bringing this up on the beaglebone list to see what the various people that ship and support these boards think, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: