From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 9/9] ARM: Odroid XU3: Modify Odroid XU3 config to boot by default from SD card
Date: Fri, 27 Jul 2018 10:24:10 +0200 [thread overview]
Message-ID: <20180727102410.37621bb8@jawa> (raw)
In-Reply-To: <CANAwSgQKPcMGimbOZocdq6hrYt5zCgfRxeGwn+FwNEHNjH74Uw@mail.gmail.com>
On Fri, 27 Jul 2018 08:34:15 +0530
Anand Moon <linux.amoon@gmail.com> wrote:
> Hi Lukasz,
>
> On 26 July 2018 at 21:23, Lukasz Majewski <lukma@denx.de> wrote:
> > Hi Anand,
> >
> >> Hi Lukasz,
> >>
> >> On 26 July 2018 at 03:55, Lukasz Majewski <lukma@denx.de> wrote:
> >> > This commit allows by default booting Odroid XU3 from the SD card
> >> > (when e.g. eMMC module is not present).
> >> >
> >> > Signed-off-by: Lukasz Majewski <lukma@denx.de>
> >> >
> >> > ---
> >> >
> >> > include/configs/odroid_xu3.h | 7 +++++--
> >> > 1 file changed, 5 insertions(+), 2 deletions(-)
> >> >
> >> > diff --git a/include/configs/odroid_xu3.h
> >> > b/include/configs/odroid_xu3.h index f495f6219ba9..818a06515cb2
> >> > 100644 --- a/include/configs/odroid_xu3.h
> >> > +++ b/include/configs/odroid_xu3.h
> >> > @@ -94,6 +94,9 @@
> >> > #undef CONFIG_SYS_BOARD
> >> > #define CONFIG_SYS_BOARD "odroid"
> >> >
> >> > +#undef CONFIG_SYS_MMC_ENV_DEV
> >> > +#define CONFIG_SYS_MMC_ENV_DEV 2
> >> > +
> >> > /* Define new extra env settings, including DFU settings */
> >> > #undef CONFIG_EXTRA_ENV_SETTINGS
> >> > #define CONFIG_EXTRA_ENV_SETTINGS \
> >> > @@ -105,8 +108,8 @@
> >> > "console=" CONFIG_DEFAULT_CONSOLE "\0"\
> >> > "fdtfile=exynos5422-odroidxu3.dtb\0" \
> >> > "boardname=odroidxu3\0" \
> >> > - "mmcbootdev=0\0" \
> >> > - "mmcrootdev=0\0" \
> >> > + "mmcbootdev=2\0" \
> >> > + "mmcrootdev=1\0" \
> >> > "mmcbootpart=1\0" \
> >> > "mmcrootpart=2\0" \
> >> > "dfu_alt_system="CONFIG_DFU_ALT_SYSTEM \
> >> > --
> >> > 2.11.0
> >> >
> >>
> >> This changes probably breaks the booting from eMMC on Odroid-XU4
> >
> > I suppose, that XU4 is also equipped with SD card slot as XU3.
> >
> > Nonetheless, as I don't have eMMC card for mine XU3, the only way to
> > boot my device is SD card.
> >
> > If you believe that this may be a problem, then I can drop this
> > patch.
> >
> > Have you checked patches from 1-8?
> > Does it work for you? If yes, please send tested-by tag.
> >
>
> Yes you probably need to drop this patch,
> I had some tough time recovering my eMMC back to flash new u-boot.
>
> I have tested my eMMC with default boot.scr its boot good.
> Need to modify the boot.scr to boot into SD card.
SD card has different layout than eMMC.
Despite above - you just shall need to apply patch 9/9 to get the board
running from SD card.
>
> Best Regards
> -Anand
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180727/473f6810/attachment.sig>
next prev parent reply other threads:[~2018-07-27 8:24 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-25 22:25 [U-Boot] [PATCH v1 0/9] ARM: Odroid XU3: Enable DM_MMC support which is necessary for CONFIG_BLK Lukasz Majewski
2018-07-25 22:25 ` [U-Boot] [PATCH v1 1/9] ARM: dw_mmc: Exclude dwmci Exynos priv_data allocation from exynos_dwmci_get_config() Lukasz Majewski
2018-07-27 3:06 ` Anand Moon
2018-07-25 22:25 ` [U-Boot] [PATCH v1 2/9] ARM: Odroid XU3: config: Disable SDHCI support in the Odroid XU3 Lukasz Majewski
2018-07-27 3:07 ` Anand Moon
2018-07-25 22:25 ` [U-Boot] [PATCH v1 3/9] ARM: Odroid XU3: Enable driver model support for MMC (DM_MMC) Lukasz Majewski
2018-07-27 3:07 ` Anand Moon
2018-07-25 22:25 ` [U-Boot] [PATCH v1 4/9] ARM: Odroid XU3: Fix autoboot.cmd to use ${mmcbootdev} instead of hardcoded 0 Lukasz Majewski
2018-07-27 3:09 ` Anand Moon
2018-07-25 22:25 ` [U-Boot] [PATCH v1 5/9] ARM: Odroid XU3: Adjust BOOT_TARGET_DEVICES to allow booting from SD card (mmc2) Lukasz Majewski
2018-07-27 3:10 ` Anand Moon
2018-07-25 22:25 ` [U-Boot] [PATCH v1 6/9] ARM: Odroid XU3: MAINTAINERS: Add a co-maintainer for OdroidXU3 Lukasz Majewski
2018-07-25 22:25 ` [U-Boot] [PATCH v1 7/9] ARM: Odroid XU3: Fix the dwmci_exynos *priv data assignment for DM_MMC (sdr_timing) Lukasz Majewski
2018-07-27 3:12 ` Anand Moon
2018-07-25 22:25 ` [U-Boot] [PATCH v1 8/9] ARM: Odroid XU3: Modify exynos dw_mmc driver to support Odroid XU3 in DM MMC Lukasz Majewski
2018-07-27 3:13 ` Anand Moon
2018-07-25 22:25 ` [U-Boot] [PATCH v1 9/9] ARM: Odroid XU3: Modify Odroid XU3 config to boot by default from SD card Lukasz Majewski
2018-07-26 15:28 ` Anand Moon
2018-07-26 15:53 ` Lukasz Majewski
2018-07-27 3:04 ` Anand Moon
2018-07-27 8:24 ` Lukasz Majewski [this message]
2018-07-27 9:12 ` Anand Moon
2018-07-27 9:56 ` Lukasz Majewski
2018-07-31 18:10 ` Anand Moon
2018-08-01 7:51 ` Lukasz Majewski
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=20180727102410.37621bb8@jawa \
--to=lukma@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