Skip to contentSkip to conversation

ls1012ardb: add qds dtb

PATCH In review C.r. Guo 2 participants 9 messages Nov 8, 2019

lore
Share & tools
lore

C.r. Guo

author
#0 lore raw

PATCH 1/8 ls1012ardb: add qds dtb

From: Chunrong Guo <[email protected]>

---
 conf/machine/ls1012ardb.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls1012ardb.conf +1 -1
index 6dbb1bda..6efd6b3d 100644
@@ -25,7 +25,7 @@ UBOOT_CONFIG[tfa-secure-boot] = "ls1012ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dt
 RCWQSPI ?= "R_SPNH_3508/rcw_1000"
 RCWQSPISEC ?= "R_SPNH_3508/rcw_1000"
 
-KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb"
+KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb freescale/fsl-ls1012a-qds.dtb"
 KERNEL_DEFCONFIG ?= "defconfig"
 
 EXTRA_IMAGEDEPENDS += "ppfe-firmware rcw atf"
Signature · 1 line
2.23.0
author
#1 lore raw

PATCH 2/8 ls1028ardb : add qds dtb

From: Chunrong Guo <[email protected]>

---
 conf/machine/ls1028ardb.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls1028ardb.conf +1 -1
index cde6bccf..288f9457 100644
@@ -21,7 +21,7 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa"
 UBOOT_CONFIG[tfa-secure-boot] = "ls1028ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
 UBOOT_CONFIG[tfa] = "ls1028ardb_tfa_defconfig,,u-boot-dtb.bin"
 
-KERNEL_DEVICETREE ?= "freescale/fsl-ls1028a-rdb.dtb"
+KERNEL_DEVICETREE ?= "freescale/fsl-ls1028a-rdb.dtb freescale/fsl-ls1028a-qds.dtb"
 KERNEL_DEFCONFIG ?= "defconfig"
 
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
Signature · 1 line
2.23.0
author
#2 lore raw

PATCH 3/8 ls1043ardb: add qds dtb

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 conf/machine/ls1043ardb.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls1043ardb.conf +1 -1
index 64891b28..ee961cc3 100644
@@ -22,7 +22,7 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa"
 UBOOT_CONFIG[tfa] = "ls1043ardb_tfa_defconfig,,u-boot-dtb.bin"
 UBOOT_CONFIG[tfa-secure-boot] = "ls1043ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
 
-KERNEL_DEVICETREE ?= "freescale/fsl-ls1043a-rdb-sdk.dtb freescale/fsl-ls1043a-rdb-usdpaa.dtb"
+KERNEL_DEVICETREE ?= "freescale/fsl-ls1043a-rdb-sdk.dtb freescale/fsl-ls1043a-rdb-usdpaa.dtb freescale/fsl-ls1043a-qds.dtb freescale/fsl-ls1043a-qds-sdk.dtb"
 KERNEL_DEFCONFIG ?= "defconfig"
 
 UEFI_NORBOOT ?= "LS1043ARDB_EFI_NORBOOT.fd"
Signature · 1 line
2.23.0
author
#3 lore raw

PATCH 4/8 ls1046ardb: add qds dtb

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 conf/machine/ls1046ardb.conf | 2 ++
 1 file changed, 2 insertions(+)
conf/machine/ls1046ardb.conf +2 -0
index baf24c01..7efb91f1 100644
@@ -24,6 +24,8 @@ UBOOT_CONFIG[tfa-secure-boot] = "ls1046ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dt
 KERNEL_DEVICETREE ?= "\
     freescale/fsl-ls1046a-rdb-sdk.dtb \
     freescale/fsl-ls1046a-rdb-usdpaa.dtb \
+    freescale/fsl-ls1046a-qds.dtb \
+    freescale/fsl-ls1046a-qds-sdk.dtb \
 "
 KERNEL_DEFCONFIG ?= "defconfig"
 
Signature · 1 line
2.23.0
author
#4 lore raw

PATCH 5/8 ls2088ardb: add qds dtb

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 conf/machine/ls2088ardb.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls2088ardb.conf +1 -1
index de9f279f..f920d601 100644
@@ -25,7 +25,7 @@ RCWNOR ?= "FFFFFFFF_PP_HH_0x2a_0x41/rcw_1800"
 RCWQSPI?= "FFFFFFFF_PP_HH_0x2a_0x41/rcw_2000_qspi"
 UEFI_NORBOOT ?= "LS2088ARDB_EFI_NORBOOT.fd"
 
-KERNEL_DEVICETREE ?= "freescale/fsl-ls2088a-rdb.dtb"
+KERNEL_DEVICETREE ?= "freescale/fsl-ls2088a-rdb.dtb freescale/fsl-ls2088a-qds.dtb"
 KERNEL_DEFCONFIG ?= "defconfig"
 
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
Signature · 1 line
2.23.0
author
#5 lore raw

PATCH 6/8 lx2160ardb: add qds dtb

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

---
 conf/machine/lx2160ardb.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/lx2160ardb.conf +1 -1
index 80d1e8ea..6bdb2510 100644
@@ -21,7 +21,7 @@ UBOOT_CONFIG ??= "tfa-secure-boot tfa"
 UBOOT_CONFIG[tfa] = "lx2160ardb_tfa_defconfig,,u-boot-dtb.bin"
 UBOOT_CONFIG[tfa-secure-boot] = "lx2160ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
 
-KERNEL_DEVICETREE ?= "freescale/fsl-lx2160a-rdb.dtb"
+KERNEL_DEVICETREE ?= "freescale/fsl-lx2160a-rdb.dtb freescale/fsl-lx2160a-qds.dtb"
 KERNEL_DEFCONFIG ?= "defconfig"
 
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
Signature · 1 line
2.23.0
author
#6 lore raw

PATCH 7/8 linux-qoriq-rt/4.14: add recipes

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

*update to lsdk 1909 tag
include the following changes:
aa5285f449b1 - staging: fsl_ppfe/eth: Disable termination of CRC fwd. c71a77a1f281 - mtd: fsl-quadspi: Introduce variable to fix different invalid master Id 6138f4aaec07 - arm64: dts: ls1028a: fix dwc pci over smmu
b7f6872fca15 - arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep 4c9bd9b8dea0 - Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property 72e88baa77f1 - soc: fsl: handle RCPM errata A-008646 on SoC LS1021A 8c1e5a5996a2 - enetc: Fix deadlock during PTP RX timestamping ed206222df1f - felix: Remove unused include, fix compile warn 2e380e91c050 - ocelot: Warn if cpu side interfaces are not up 5bff7c69cf36 - ocelot: Fix NULL pointer on LAG slave removal
1e5b7fe43ff9 - ocelot: Don't handle netdev events for other netdevs 1b49a6c770ce - mmc: sdhci-of-esdhc: add erratum A011334 support in ls1028a 1.0 SoC 907205c7d550 - mmc: sdhci-of-esdhc: use 1/2 periperhal clock for ls1028a b448c680bd36 - mmc: sdhci-of-esdhc: set the sd clock divisor value above 3 179f53614b70 - iommu/arm-smmu: Enable bypass transaction caching for ARM SMMU 500 b8a4bb166cfc - drm: mali-dp: Set encoder possible_clones
d3e41fadb963 - drm/arm/malidp: Enable/disable interrupts in runtime pm 1bf8672fca85 - drm/modeset-helper: Add simple modeset suspend/resume helpers e3bf1aa5315a - drm/arm/malidp: Added the late system pm functions d71d53fa06ba - felix: skip probing if device is disabled in DT e71d52d39c78 - enetc: Handle USXGMII protocol
c8e7a8ebb222 - enetc: Fix 10G PCS PHY access
8e34b7334905 - drivers: net: phy: aquantia: enable USX AN for USXGMII protocol efaabe0aecbd - drivers: net: phy: aquantia: fix system side protocol misconfiguration f237e3b0c47e - irqchip/gic-v3-its: Fix command queue pointer comparison bug 2ee2bc14cc01 - irqchip/gic-v3-its: Add post-mortem info on command timeout 5454064dbdfd - arm64: defconfig: enable CONFIG_GPIO_MPC8XXX

---
 .../0001-Makfefile-add-cflags.patch           |  26 +
 ...0001-perf-tools-Add-Python-3-support.patch | 917 ++++++++++++++++++
 recipes-kernel/linux/linux-qoriq-rt_4.14.bb   |  71 ++
 3 files changed, 1014 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-qoriq-rt/0001-Makfefile-add-cflags.patch
 create mode 100644 recipes-kernel/linux/linux-qoriq-rt/0001-perf-tools-Add-Python-3-support.patch
 create mode 100644 recipes-kernel/linux/linux-qoriq-rt_4.14.bb
recipes-kernel/linux/linux-qoriq-rt/0001-Makfefile-add-cflags.patch new file +26 -0
new file mode 100644
index 00000000..a93fdd7b
@@ -0,0 +1,26 @@
+From e2283cc7582ba82f346b05fdb38f0057e54de7fa Mon Sep 17 00:00:00 2001
+From: Chunrong Guo <[email protected]>
+Date: Tue, 12 Mar 2019 03:52:03 +0100
+Subject: [PATCH] Makfefile: add cflags
+
+Signed-off-by: C.r. Guo <[email protected]>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 967692b..ae395cd 100644
+--- a/Makefile
++++ b/Makefile
+@@ -417,7 +417,7 @@ LINUXINCLUDE    := \
+ KBUILD_AFLAGS   := -D__ASSEMBLY__
+ KBUILD_CFLAGS   := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
+ 		   -fno-strict-aliasing -fno-common -fshort-wchar \
+-		   -Werror-implicit-function-declaration \
++		   -Werror-implicit-function-declaration -Wno-address-of-packed-member -Wno-packed-not-aligned \
+ 		   -Wno-format-security \
+ 		   -std=gnu89
+ KBUILD_CPPFLAGS := -D__KERNEL__
+-- 
+2.7.4
+
recipes-kernel/linux/linux-qoriq-rt/0001-perf-tools-Add-Python-3-support.patch new file +917 -0

917 lines not on this page · raw message

recipes-kernel/linux/linux-qoriq-rt_4.14.bb new file +71 -0

71 lines not on this page · raw message

Signature · 1 line
2.23.0
author
#7 lore raw

PATCH 8/8 vpp-core: install startup.conf

In reply to C.r. Guo

From: Chunrong Guo <[email protected]>

* fix missing startup.conf

---
 recipes-extended/vpp-core/vpp-core.bb | 5 +++++
 1 file changed, 5 insertions(+)
recipes-extended/vpp-core/vpp-core.bb +5 -0
index b2b721a5..53437d1a 100644
@@ -38,6 +38,11 @@ EXTRA_OECONF = " \
 
 CFLAGS += " -mtls-dialect=trad -DCLIB_LOG2_CACHE_LINE_BYTES=6 -I${OPENSSL_PATH}/usr/include  -L${OPENSSL_PATH}/lib"
 
+do_install_append() {
+        mkdir -p ${D}/etc/vpp
+        cp ${S}/src/vpp/conf/startup.conf ${D}/etc/vpp/startup.conf
+}
+
 include vpp-pkgs.inc
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.23.0
#8 lore raw

Re: [zeus][PATCH 8/8] vpp-core: install startup.conf

Quoted 15 lines · C.r. Guo

From: Chunrong Guo <[email protected]>

* fix missing startup.conf

---
 recipes-extended/vpp-core/vpp-core.bb | 5 +++++
 1 file changed, 5 insertions(+)
recipes-extended/vpp-core/vpp-core.bb +0 -0
index b2b721a5..53437d1a 100644

recipes-extended/vpp-core/vpp-core.bb EXTRA_OECONF = " \ · line 45

Quoted 8 lines
recipes-extended/vpp-core/vpp-core.bb +5 -0
@@ -38,6 +38,11 @@ EXTRA_OECONF = " \
 
 CFLAGS += " -mtls-dialect=trad -DCLIB_LOG2_CACHE_LINE_BYTES=6 -I${OPENSSL_PATH}/usr/include  -L${OPENSSL_PATH}/lib"
 
+do_install_append() {
+        mkdir -p ${D}/etc/vpp
+        cp ${S}/src/vpp/conf/startup.conf ${D}/etc/vpp/startup.conf
+}
+

What is the reason install command not used here?

Quoted 11 lines
recipes-extended/vpp-core/vpp-core.bb +0 -1
 include vpp-pkgs.inc
 
 BBCLASSEXTEND = "native nativesdk"
--

2.23.0

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Signature · 2 lines
Regards,
Andrey.