From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: Kristian Amlie <kristian.amlie@mender.io>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH v1] u-boot/beaglebone: Select Beaglebone Black target specifically.
Date: Mon, 19 Dec 2016 18:03:27 +0200 [thread overview]
Message-ID: <20161219160327.GA23950@linux.intel.com> (raw)
In-Reply-To: <eca5fc15-a45f-f320-6e7a-733cb752e322@mender.io>
On Mon, Dec 19, 2016 at 09:14:58AM +0100, Kristian Amlie wrote:
> On 16/12/16 15:28, Ed Bartosh wrote:
> > On Fri, Dec 16, 2016 at 08:32:48AM +0100, Kristian Amlie wrote:
> >> The am335x_evm_config target has a subtle problem which is not present
> >> in the am335x_boneblack_config target: When booting from an external
> >> MMC card, the internal MMC is not accessible using the former target.
> >>
> >> This problem was introduced in U-Boot in commit 80b24fcd3083515e6b961,
> >> due to the addition of the CONFIG_DM_MMC option, and the
> >> am335x_boneblack_config target does not have this problem.
> >>
> >> Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
> >> ---
> >> meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/meta-yocto-bsp/conf/machine/beaglebone.conf b/meta-yocto-bsp/conf/machine/beaglebone.conf
> >> index fc6a527..24a95b4 100644
> >> --- a/meta-yocto-bsp/conf/machine/beaglebone.conf
> >> +++ b/meta-yocto-bsp/conf/machine/beaglebone.conf
> >> @@ -31,7 +31,7 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
> >>
> >> SPL_BINARY = "MLO"
> >> UBOOT_SUFFIX = "img"
> >> -UBOOT_MACHINE = "am335x_evm_config"
> >> +UBOOT_MACHINE = "am335x_boneblack_config"
> >> UBOOT_ENTRYPOINT = "0x80008000"
> >> UBOOT_LOADADDRESS = "0x80008000"
> >>
> >
> > Would this work for Beaglebone white?
>
> I don't have one, so unfortunately I can't test it. However, the
> beagleboard.org site states that the differences between the two are the
> on-board USB JTAG and serial adapters. Looking at the differences of the
> two configs I can't find anything obvious that would influence this
> (I'll admit that I don't fully understand all the options though).
>
I don't understand it neither. I'm just worrying that we can break
support for BBW, which is mentioned in README.hardware as poky reference hardware.
> Below is the (sorted) difference. I can't spot anything bad, can you?
>
>
> --- configs/am335x_evm_defconfig.sort 2016-12-19 08:50:26.674878278 +0100
> +++ configs/am335x_boneblack_defconfig.sort 2016-12-19
> 08:50:39.163314913 +0100
> @@ -1,6 +1,9 @@
> CONFIG_AM33XX=y
> CONFIG_ARM=y
> -# CONFIG_BLK is not set
> +CONFIG_AUTOBOOT_DELAY_STR="d"
> +CONFIG_AUTOBOOT_KEYED=y
> +CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
> +CONFIG_AUTOBOOT_STOP_STR=" "
> CONFIG_CMD_ASKENV=y
> CONFIG_CMD_BOOTZ=y
> CONFIG_CMD_DFU=y
> @@ -21,38 +24,27 @@
> CONFIG_CMD_SF=y
> CONFIG_CMD_SPI=y
> CONFIG_CMD_USB=y
> -CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
> CONFIG_DFU_MMC=y
> -CONFIG_DFU_NAND=y
> CONFIG_DFU_RAM=y
> -CONFIG_DM_ETH=y
> -CONFIG_DM_I2C=y
> -# CONFIG_DM_MMC_OPS is not set
> -CONFIG_DM_MMC=y
> +CONFIG_DFU_TFTP=y
> CONFIG_FIT=y
> CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
> CONFIG_G_DNL_PRODUCT_NUM=0xd022
> CONFIG_G_DNL_VENDOR_NUM=0x0451
> CONFIG_HUSH_PARSER=y
> -CONFIG_OF_CONTROL=y
> -CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk
> am335x-bonegreen am335x-icev2"
> -CONFIG_OMAP_TIMER=y
> -CONFIG_RSA=y
> +CONFIG_OF_LIBFDT=y
> CONFIG_SPI_FLASH_WINBOND=y
> CONFIG_SPI_FLASH=y
> -CONFIG_SPL_LOAD_FIT=y
> -CONFIG_SPL_MTD_SUPPORT=y
> CONFIG_SPL_MUSB_NEW_SUPPORT=y
> -CONFIG_SPL_OF_LIBFDT=y
> +# CONFIG_SPL_NAND_SUPPORT is not set
> CONFIG_SPL_OS_BOOT=y
> CONFIG_SPL_STACK_R_ADDR=0x82000000
> CONFIG_SPL_STACK_R=y
> CONFIG_SPL=y
> CONFIG_SYS_CONSOLE_INFO_QUIET=y
> -CONFIG_SYS_EXTRA_OPTIONS="NAND"
> +CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
> CONFIG_SYS_NS16550=y
> CONFIG_TARGET_AM335X_EVM=y
> -CONFIG_TIMER=y
> CONFIG_USB_GADGET_DOWNLOAD=y
> CONFIG_USB_GADGET=y
> CONFIG_USB_MUSB_GADGET=y
>
>
> I could also fire off an email to the U-Boot list if we're not confident
> in this fix.
>
> --
> Kristian
--
--
Regards,
Ed
next prev parent reply other threads:[~2016-12-19 16:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-16 7:32 [PATCH v1] u-boot/beaglebone: Select Beaglebone Black target specifically Kristian Amlie
2016-12-16 14:28 ` Ed Bartosh
2016-12-19 8:14 ` Kristian Amlie
2016-12-19 16:03 ` Ed Bartosh [this message]
2016-12-20 8:10 ` Kristian Amlie
2016-12-27 8:52 ` Kristian Amlie
-- strict thread matches above, loose matches on Subject: below --
2016-12-16 6:58 Kristian Amlie
2016-12-16 7:31 ` Kristian Amlie
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=20161219160327.GA23950@linux.intel.com \
--to=ed.bartosh@linux.intel.com \
--cc=kristian.amlie@mender.io \
--cc=poky@yoctoproject.org \
/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.