Assistance adding new system into openbmc project
Shay Slobodkin
shays at mellanox.com
Fri Mar 11 00:03:22 AEDT 2016
Hello,
We are newbies for the openbmc project, read through the manuals and would like to work under the ast2520 system.
We have several questions regarding the tree structure and building.
Reading the manuals and from our understanding, we suggest the following tree additions to support our system.
Please let us know if you find the below as the complete and correct additions.
=========
root
|-- meta-openbmc-bsp
| `-- meta-aspeed
| |-- conf
| | `-- layer.conf
| `-- meta-ast2520 (New SoC)
| |-- conf
| | |-- layer.conf
| | `-- machine
| | `-- include
| | `-- ast2520.inc
| |-- recipes-bsp
| | `-- u-boot
| | |-- files
| | | |-- config.patch
| | | |-- fw_env.config
| | | `-- patch-2013.07
| | | |-- 0000-u-boot-aspeed-064.patch (Exist)
| | | |-- 0001-u-boot-openbmc.patch (Exist)
| | | `-- 0002-u-boot-aspeed_2520_2500.patch (Patch with 2500-2520 u-boot support)
| | |-- u-boot-fw-utils_2013.07%.bbappend
| | `-- u-boot_2013.07%.bbappend
| |-- recipes-kernel
| | `-- linux
| | |-- linux-obmc
| | | |-- defconfig
| | | |-- files
| | | `-- patch-4.3-dev (Or later, temporary till code upstream)
| | | |-- 0000-kernel-aspeed_soc_2520.patch (Patch with 2520 SoC support)
| | | |-- 0001-kernel-aspeed_2500_2520_dts.patch (Patch with basic dts support)
| | | `-- hwmon.cfg
| | `-- linux-obmc_%.bbappend
| `-- recipes.txt
|-- meta-openbmc-x86-machines
| `-- meta-mellanox
| | |-- conf
| | | |-- layer.conf
| | | `-- machine
| | | `-- include
| | | `-- mellanox.inc
| | `-- meta-mellanox-edr
| | |-- conf
| | | |-- layer.conf
| | | `-- machine
| | | `-- include
| | | `-- mellanox.inc
| | |-- recipes-kernel
| | | `-- linux
| | | |-- linux-obmc
| | | | |-- files
| | | | `-- patch-4.3-dev (Or later, temporary till code upstream)
| | | | |-- 0002-kernel-mellanox-dts.patch (Patch with Mellanox dts support)
| | | | |-- mellanox-edr.cfg
| | | | `-- mellanox-edr.dts
| | | `-- linux-obmc_%.bbappend
| | `-- recipes.txt
=========
Also, should we add a "local.conf.sample" file under the "meta-openbmc-x86-machines/conf" path?
If so, we were wondering about the following variables under the local.conf.sample file (we took the phosphor one as example):
PACKAGE_CLASSES ?= "package_rpm"
SANITY_TESTED_DISTROS_append ?= " RedHatEnterpriseWorkstation-6.*"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
Guess we should use the "genericx86-64" as MACHINE variable
We were wondering what specific "oe-init-build-env" and similar files we should change, in order for the project to compile.
Cheers,
Shay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160310/4e1c60b8/attachment-0001.html>
More information about the openbmc
mailing list