public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] imx_common: check for Serial Downloader in spl_boot_device
Date: Mon, 7 Dec 2015 12:59:32 +0100	[thread overview]
Message-ID: <566574A4.1070408@denx.de> (raw)
In-Reply-To: <5665579F.1080808@denx.de>

Hi Eric,

On 07/12/2015 10:55, Stefano Babic wrote:

> 
> I agree with you, in fact it does not work  - but I do not see a way to
> inform the ROM that next time it should run with USB as boot device.
> From the fusemap, I tried to set BOOT_CFG4 as 0x40 ("Reserved for serial
> ROM"), and fixing BOOT_CFG1 to 0x30, but it was only a try. In fact, we
> need to change BMODE from internal to serial, and I do not see a way in
> the "official" documentation.

Ok, it was quite confused - forget it ;-).

Anyway, the fact is that when "bmode usb" is issued, the board announces
itself correctly to the USB bus, but reading SBMR2 we get again internal
mode. It is like another information to be stored, we should require a
bit in some of the GPR registers to store it.

Regards,
Stefano


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2015-12-07 11:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04  9:02 [U-Boot] [PATCH] imx_common: check for Serial Downloader in spl_boot_device Stefano Babic
2015-12-04 10:51 ` Fabio Estevam
2015-12-04 11:49   ` Stefano Babic
2015-12-04 13:09     ` Stefan Roese
2015-12-04 14:30       ` Tim Harvey
2015-12-05  7:10       ` Stefano Babic
2015-12-05 20:13 ` Eric Nelson
2015-12-07  9:55   ` Stefano Babic
2015-12-07 11:59     ` Stefano Babic [this message]
2015-12-07 14:08     ` Eric Nelson
2015-12-07 14:24       ` Stefano Babic

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=566574A4.1070408@denx.de \
    --to=sbabic@denx.de \
    --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