Hello, Brenden!
29.01.2019, 07:08, "Brenden Lai" <brenden_lai@jabil.com>:
You describe the needed device tree in the machine config file:
KERNEL_DEVICETREE = "${KMACHINE}-bmc-yandex-${MACHINE}.dtb"
- if there are no suitable dts file in github , it should be made by myself , where should I put my dts file in working space source tree?
To do so you can create an append recipe to linux-aspeed, and copy the needed file to the kernel source tree:
========================================================================
$cat linux-aspeed_%.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://aspeed-bmc-yandex-my70.dts"
SRC_URI += "file://my70.cfg"
do_patch_append() {
install -m 0644 ${WORKDIR}/aspeed-bmc-yandex-my70.dts ${STAGING_KERNEL_DIR}/arch/arm/boot/dts/aspeed-bmc-yandex-my70.dts
}
========================================================================
Brenden Lai
SR. BMC Design Engineer
E&I, Jabil Design Services
--
Best regards,
Konstantin Klubnichkin,
lead firmware engineer,
server hardware R&D group,
Yandex Moscow office.
tel: +7-903-510-33-33