From: Fabio Estevam <fabio.estevam@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] problem to boot i.MX28 custom platform
Date: Thu, 28 Feb 2013 11:39:36 -0300 [thread overview]
Message-ID: <512F6C28.70700@freescale.com> (raw)
In-Reply-To: <512E0233.1030004@digi.com>
Hi Hector,
Hector Palacios wrote:
> Apparently the problem was due to my platform suffering a hardware
> specific VDDD brownout during the initialization.
>
> Just in case it helps anybody, the reason why I was not able to see
> anything on the DUART port during SPL initialization, despite having
> enabled CONFIG_SPL_SERIAL_SUPPORT and having serial_puts() on the SPL
> code, was that my platform uses alternate pins for the DUART than the
> default used by the BOOT ROM and the EVK, so apart from configuring the
> correct IOMUX, I needed to unconfigure the pins used by BOOT ROM for the
> DUART (on board/<vendor>/iomux.c):
>
> @@ -33,8 +33,12 @@
>
> const iomux_cfg_t iomux_setup[] = {
> /* DUART */
> - MX28_PAD_PWM0__DUART_RX,
> - MX28_PAD_PWM1__DUART_TX,
> + /* Unconfigure BOOT ROM default DUART */
> + MX28_PAD_PWM0__GPIO_3_16,
> + MX28_PAD_PWM1__GPIO_3_17,
> + /* Configure DUART on alternate pins */
> + MX28_PAD_I2C0_SCL__DUART_RX,
> + MX28_PAD_I2C0_SDA__DUART_TX,
>
> /* MMC0 */
> MX28_PAD_SSP0_DATA0__SSP0_D0 | MUX_CONFIG_SSP0,
> @@ -159,9 +163,6 @@ const iomux_cfg_t iomux_setup[] = {
> MX28_PAD_SSP2_MISO__SSP2_D0 | MUX_CONFIG_SSP2,
> MX28_PAD_SSP2_SS0__SSP2_D3 |
> (MXS_PAD_3V3 | MXS_PAD_8MA | MXS_PAD_PULLUP),
> - /* I2C */
> - MX28_PAD_I2C0_SCL__I2C0_SCL,
> - MX28_PAD_I2C0_SDA__I2C0_SDA,
> };
>
> #define HW_DRAM_CTL29 (0x74 >> 2)
Thanks for sharing your solution. It seems that the other mx28 boards we currently have all use
MX28_PAD_PWM0__DUART_RX / MX28_PAD_PWM1__DUART_TX for DUART and then we never faced this issue.
It would be great if you can submit a patch for adding support to your board in U-boot.
Regards,
Fabio Estevam
prev parent reply other threads:[~2013-02-28 14:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-26 12:19 [U-Boot] problem to boot i.MX28 custom platform Hector Palacios
2013-02-26 22:26 ` Fabio Estevam
2013-02-27 12:55 ` Hector Palacios
2013-02-28 14:39 ` Fabio Estevam [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=512F6C28.70700@freescale.com \
--to=fabio.estevam@freescale.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.