dunfell: utilize u-boot-aspeed.inc in sdk

The u-boot.inc from upstream has been moved into this repository as
its upstream version is no longer compatible with openbmc/u-boot.

See commit 9052e5b for more details.

Some notes on attempting to get upstream to work. Got to issue 3 and
decided that instead of trying to cherry-pick in specific fixes from
upstream, we're going to need a full rebase. Until this is possible, I
think our best option is to just use the .inc from the working version
of poky which is what u-boot-aspeed.inc is.

1) Build directory (B) def moved to common .inc
Define BUILD directory in u-boot-common-aspeed-sdk_2019.04.inc
recipes-bsp/u-boot/u-boot-common-aspeed-sdk_2019.04.inc
+B = "${WORKDIR}/build"

2) Support in Makefile for new u-boot-initial-env file
Pull in the following commit:
  https://github.com/u-boot/u-boot/commit/bdaa73a5b3923257add182b4ab8058dbfa33421b
Available in my fork:
  https://github.com/geissonator/u-boot/tree/v2019.04-aspeed-openbmc-u-boot-initial-env-fix

3) CONFIG_DEFAULT_DEVICE_TREE needed
|   arm-openbmc-linux-gnueabi-objcopy --gap-fill=0xff  -j .text -j .secure_text -j .secure_data -j .rodata -j .hash -j .data -j .got -j .got.plt -j .u_boot_list -j .rel.dyn -j .binman_sym_table -j .text_rest -j .dtb.init.rodata -j .efi_runtime -j .efi_runtime_rel -O binary   u-boot u-boot-nodtb.bin
| make -f /home/andrewg/Code/openbmc/build/tmp/work/witherspoon_tacoma-openbmc-linux-gnueabi/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+58583dd97d-r0/git/scripts/Makefile.build obj=arch/arm/dts dtbs
| test -e arch/arm/dts/unset.dtb || (						\
| echo >&2;							\
| echo >&2 "Device Tree Source is not correctly specified.";	\
| echo >&2 "Please define 'CONFIG_DEFAULT_DEVICE_TREE'";		\
| echo >&2 "or build with 'DEVICE_TREE=<device_tree>' argument";	\
| echo >&2;							\

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I6dd3980e1b0de8bd3dc520f5e470ccd59e0d560c
1 file changed
tree: 545888b4fd852096b3f06d3808532f355bf61341
  1. conf/
  2. recipes-aspeed/
  3. recipes-bsp/
  4. recipes-core/
  5. recipes-kernel/
  6. COPYING.apache-2.0
  7. COPYING.MIT
  8. LICENSE
  9. MAINTAINERS
  10. README.md
README.md

OpenEmbedded/Yocto BSP layer for Aspeed's platforms

This layer provides support for Aspeed's platforms for use with OpenEmbedded and/or Yocto.

This layer depends on:

URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
revision: HEAD

Contributing

meta-aspeed patches are reviewed using the Gerrit instance at https://gerrit.openbmc-project.xyz.

Please submit patches to Gerrit. More information on using Gerrit can be found here. https://github.com/openbmc/meta-aspeed is a hosting mirror only and GitHub pull requests are not monitored and will not be accepted.

Patch checklist. Please ensure patches adhere to the following guidelines:

For questions or help please come join us on the mailing list or in IRC.