* dts file questions
@ 2019-01-29 4:07 Brenden Lai
2019-01-29 8:29 ` Konstantin Klubnichkin
0 siblings, 1 reply; 3+ messages in thread
From: Brenden Lai @ 2019-01-29 4:07 UTC (permalink / raw)
To: openbmc
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
Hi all ,
I have couple dts questions about porting OpenBMC into a new machine .
1. Although there are many dts file located in https://github.com/openbmc/linux/blob/dev-4.13/arch/arm/boot/dts/ ,
But , how does bitbake know which one should be applied .
1. 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?
Brenden Lai
SR. BMC Design Engineer
E&I, Jabil Design Services
[-- Attachment #2: Type: text/html, Size: 5244 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dts file questions
2019-01-29 4:07 dts file questions Brenden Lai
@ 2019-01-29 8:29 ` Konstantin Klubnichkin
2019-01-30 4:53 ` Brenden Lai
0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Klubnichkin @ 2019-01-29 8:29 UTC (permalink / raw)
To: Brenden Lai, openbmc
[-- Attachment #1: Type: text/html, Size: 3668 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: dts file questions
2019-01-29 8:29 ` Konstantin Klubnichkin
@ 2019-01-30 4:53 ` Brenden Lai
0 siblings, 0 replies; 3+ messages in thread
From: Brenden Lai @ 2019-01-30 4:53 UTC (permalink / raw)
To: Konstantin Klubnichkin, openbmc
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
Thanks Konstantin !
Bye the way ,
If I would like to access ast_2500 peripheral such as LPC , I2C in uboot,
Are there any specific file have to modify as well as dts for kernel ?
From: Konstantin Klubnichkin <kitsok@yandex-team.ru>
Sent: Tuesday, January 29, 2019 4:29 PM
To: Brenden Lai <Brenden_Lai@jabil.com>; openbmc@lists.ozlabs.org
Subject: Re: dts file questions
Hello, Brenden!
29.01.2019, 07:08, "Brenden Lai" <brenden_lai@jabil.com<mailto:brenden_lai@jabil.com>>:
Hi all ,
I have couple dts questions about porting OpenBMC into a new machine .
1. Although there are many dts file located in https://github.com/openbmc/linux/blob/dev-4.13/arch/arm/boot/dts/ ,
But , how does bitbake know which one should be applied .
You describe the needed device tree in the machine config file:
KERNEL_DEVICETREE = "${KMACHINE}-bmc-yandex-${MACHINE}.dtb"
1. 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
[-- Attachment #2: Type: text/html, Size: 7788 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-30 4:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-29 4:07 dts file questions Brenden Lai
2019-01-29 8:29 ` Konstantin Klubnichkin
2019-01-30 4:53 ` Brenden Lai
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.