correction bug sur dts et autres recettes

This commit is contained in:
2023-01-27 17:38:39 +00:00
parent 6a0a24d766
commit cf419902d8
5 changed files with 6682 additions and 49 deletions
File diff suppressed because it is too large Load Diff
@@ -4,11 +4,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += " \
file://0001-dtc-lexer-extern-yylloc.patch \
file://configs/pengwyn_defconfig \
file://defconfig \
"
KCONFIG_MODE = "pengwyn_defconfig"
#
#do_configure:append() {
# cp ${WORKDIR}/am335x-pengwyn.dts ${S}/arch/arm/boot/dts/
#}
+5 -10
View File
@@ -16,8 +16,7 @@ DTSI_LIST:append:k2l = " k2l-uio.dtsi"
DTSI_LIST:append:k2e = " k2e-uio.dtsi"
do_setup_uio() {
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
then
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]; then
for dtsi in ${DTSI_LIST}
do
cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
@@ -32,8 +31,7 @@ do_setup_uio() {
do_setup_uio:append:dra7xx() {
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
then
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]; then
dtsi="am57xx-pru-uio.dtsi"
cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
@@ -55,8 +53,7 @@ do_setup_uio:append:dra7xx() {
do_setup_uio:append:ti33x() {
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
then
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]; then
dts="am335x-icev2-pru-excl-uio.dts"
dtsi="am335x-pru-uio.dtsi"
cp ${S}/arch/arm/boot/dts/am335x-icev2-prueth.dts ${S}/arch/arm/boot/dts/$dts
@@ -67,8 +64,7 @@ do_setup_uio:append:ti33x() {
do_setup_uio:append:ti43x() {
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
then
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]; then
dts="am437x-idk-pru-excl-uio.dts"
dtsi="am437x-pru-uio.dtsi"
cp ${S}/arch/arm/boot/dts/am437x-idk-evm.dts ${S}/arch/arm/boot/dts/$dts
@@ -79,8 +75,7 @@ do_setup_uio:append:ti43x() {
do_setup_uio:append:k2g() {
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
then
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]; then
dts="keystone-k2g-ice-pru-excl-uio.dts"
dtsi="keystone-k2g-pru-uio.dtsi"
cp ${S}/arch/arm/boot/dts/keystone-k2g-ice.dts ${S}/arch/arm/boot/dts/$dts