From: Nikolay Dimitrov <picmaster@mail.bg>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V4] ARM: mx6: Add support for Kosagi Novena
Date: Sun, 28 Sep 2014 07:44:16 +0300 [thread overview]
Message-ID: <54279220.1090304@mail.bg> (raw)
In-Reply-To: <1411467483-5766-1-git-send-email-marex@denx.de>
Hi Marek,
Here are my last findings:
On 09/23/2014 01:18 PM, Marek Vasut wrote:
> +static void novena_spl_setup_iomux_sdhc(void)
> +{
> + imx_iomux_v3_setup_multiple_pads(usdhc2_pads, ARRAY_SIZE(usdhc2_pads));
> + imx_iomux_v3_setup_multiple_pads(usdhc3_pads, ARRAY_SIZE(usdhc3_pads));
> +
> + /* Micro SD card detect */
> + gpio_direction_input(IMX_GPIO_NR(7, 0));
> +
> + /* Big SD card detect */
> + gpio_direction_input(IMX_GPIO_NR(1, 4));
> +}
I think that you mentioned elsewhere in the source, that microSD card
doesn't have CD. Also, GPIO7_IO00 is not connected to anything.
> +#define NOVENA_USB_HUB_RESET IMX_GPIO_NR(7, 12)
Can you please double-check this one, it seems that GPIO7_IO12 is
actually connected as PCIE_PWRON on the schematic.
> +/*
> + * USB
> + */
> +#ifdef CONFIG_USB_EHCI_MX6
> +int board_ehci_hcd_init(int port)
> +{
> + /* Reset USB hub */
> + if (port == 1) {
> + gpio_set_value(NOVENA_USB_HUB_RESET, 0);
> + mdelay(2);
> + gpio_set_value(NOVENA_USB_HUB_RESET, 1);
> + }
> + return 0;
> +}
> +#endif
Can you verify this - USB hubs seems to be reset not by this pin, but
via RESETBMCU.
> +#define NOVENA_AUDIO_PWRON IMX_GPIO_NR(5, 17)
This signal is not connected to the audio power switch, because R30A is
marked as DNP. The audio power switch seems to be controlled by
KEY_ROW1, which is not configured by uboot, I think.
> +#define NOVENA_HDMI_GHOST_HPD IMX_GPIO_NR(5, 4)
...
> +static void novena_spl_setup_iomux_video(void)
> +{
> + imx_iomux_v3_setup_multiple_pads(hdmi_pads, ARRAY_SIZE(hdmi_pads));
> + gpio_direction_input(NOVENA_HDMI_GHOST_HPD);
> +}
Is there any added value of having this pin initialized? It should be
already configured as input on reset.
> + * Environment is on MMC, starting at offset 64KiB from start of the
card.
...
> +#define CONFIG_ENV_OFFSET (512 * 1024)
Comments and code say different things about the ENV offset - which one
is the correct value?
I don't have any more comments on v4. Sorry it took so long, but it
takes ages to cross-check the code, schematic and datasheets, you
know... Thanks for your patience. Please tell me if I can help more.
Kind regards,
Nikolay
prev parent reply other threads:[~2014-09-28 4:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 10:18 [U-Boot] [PATCH V4] ARM: mx6: Add support for Kosagi Novena Marek Vasut
2014-09-23 23:57 ` Nikolay Dimitrov
2014-09-24 9:37 ` Marek Vasut
2014-09-24 11:03 ` Nikolay Dimitrov
2014-09-24 11:15 ` Marek Vasut
2014-09-24 2:46 ` Nikolay Dimitrov
2014-09-24 9:40 ` Marek Vasut
2014-09-27 16:46 ` Sean Cross
2014-09-27 20:29 ` Marek Vasut
2014-10-06 15:35 ` Sean Cross
2014-10-06 15:57 ` Marek Vasut
2014-10-06 12:50 ` Nikolay Dimitrov
2014-10-06 14:00 ` Marek Vasut
2014-10-09 0:50 ` Nikolay Dimitrov
2014-10-09 0:54 ` Marek Vasut
2014-09-28 4:44 ` Nikolay Dimitrov [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=54279220.1090304@mail.bg \
--to=picmaster@mail.bg \
--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