public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot 2016.01-rc2 detects BeagleBone Black incorrectly
Date: Sun, 20 Dec 2015 08:22:29 -0500	[thread overview]
Message-ID: <20151220132229.GI11783@bill-the-cat> (raw)
In-Reply-To: <CAJs94Eazt_DqwBkq4=kGjfn7afz+D5aTr7KRr=nTPM8iZcG2_w@mail.gmail.com>

On Sun, Dec 20, 2015 at 12:57:33PM +0300, Matwey V. Kornilov wrote:
> 2015-12-20 1:29 GMT+03:00 Robert Nelson <robertcnelson@gmail.com>:
> >>> ah, it's tripping on the "." = "0a" character..
> >>>
> >>> Do you happen to remember where you purchased it and what it was
> >>> called.. (for git commit)
> >>>
> >>> This patch should work:
> >>>
> >>> https://gist.github.com/RobertCNelson/21f44591c78daed7c637
> >>>
> >>
> >> The patch works good.
> >> But could you please explain me? I thought the problem was in 'test' operator.
> >> Unlikely
> >> test '\0x74\0x0a\0x75\0x65' = BBG1
> >> should be true.
> >
> > I saw this when i first booted the Green with the production eeprom,
> > "test" doesn't seem to like non printable characters..
> 
> Seems, issue is in command parser, not in test itself.

Yeah.  You may be able to instead use 'cmp.w' and mw to try and keep all
of this inside just the script side of things and outside of C.  That
also however may end up being even uglier.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151220/88c583c0/attachment.sig>

      reply	other threads:[~2015-12-20 13:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-12  9:14 [U-Boot] u-boot 2016.01-rc2 detects BeagleBone Black incorrectly Matwey V. Kornilov
2015-12-17  0:53 ` Robert Nelson
2015-12-17 17:54   ` Matwey V. Kornilov
2015-12-17 18:08     ` Robert Nelson
2015-12-19  9:46       ` Matwey V. Kornilov
2015-12-19 22:29         ` Robert Nelson
2015-12-20  9:57           ` Matwey V. Kornilov
2015-12-20 13:22             ` Tom Rini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151220132229.GI11783@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox