Skip to contentSkip to conversation

u-boot-qoriq: update to c249f5f

PATCH In review Chunrong Guo 2 participants 9 messages Nov 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 u-boot-qoriq: update to c249f5f

From: Chunrong Guo <[email protected]>

c249f5f - ls1088aqds: Add CONFIG_SGMII_PHYLIB in header file for QDS 64169db - armv8: ls1088: introduce CONFIG_SGMII_PHYLIB
002dc70 - driver: net: ldpaa_eth: Add PHY-less SGMII support 44a294b - drivers: net: ldpaa_eth: Correct error handler for qbman_swp_acquire() 0ca9091 - armv8: fsl-layerscape: Fix MC reserved memory calculation fbedf04 - armv8: Workaround for USB erratum A-009007 on LS1088A

---
 recipes-bsp/u-boot/u-boot-qoriq_2017.09.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-qoriq_2017.09.bb +1 -1
index ea9e7c8..63721a3 100644
@@ -20,7 +20,7 @@ DEPENDS_append_qoriq-ppc = " boot-format-native"
 
 SRC_URI = "git://github.com/qoriq-open-source/u-boot.git;nobranch=1 \
 "
-SRCREV = "fbedf04c1bad675eadbac86febdcf759441a02af"
+SRCREV = "c249f5f07214250195863b8ac76424abe94f64e3"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.9.0
#1 lore raw

PATCH 2/8 rcw: update to 43c79c9

From: Chunrong Guo <[email protected]>

43c79c9 - rcw: ls1088aqds: Add RCW PBL_QSPI_1600_700_2100_0x15_0x0d.bin

---
 recipes-bsp/rcw/rcw_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/rcw/rcw_git.bb +1 -1
index 66877a7..39e5a84 100644
@@ -8,7 +8,7 @@ DEPENDS += "change-file-endianess-native tcl-native"
 inherit deploy siteinfo
 
 SRC_URI = "git://github.com/qoriq-open-source/rcw.git;nobranch=1"
-SRCREV = "6719b046ee87b04026fe163e6c8fbbebba2186aa"
+SRCREV = "43c79c98d706a13572864bb4554df78c4fc24fe7"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.9.0
#2 lore raw

PATCH 3/8 ls1012afrdm: add ppfe-firmware to EXTRA_IMAGEDEPENDS

In reply to Chunrong Guo

From: Chunrong Guo <[email protected]>

---
 conf/machine/ls1012afrdm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls1012afrdm.conf +1 -1
index b366cdb..6b20c51 100644
@@ -16,5 +16,5 @@ UBOOT_CONFIG[qspi] = "ls1012afrdm_qspi_defconfig,,u-boot-dtb.bin"
 KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-frdm.dtb"
 KERNEL_DEFCONFIG ?= "${S}/arch/arm64/configs/defconfig"
 
-EXTRA_IMAGEDEPENDS += "ppa rcw"
+EXTRA_IMAGEDEPENDS += "ppa ppfe-firmware rcw"
 USE_VT = "0"
Signature · 1 line
1.9.0
#3 lore raw

PATCH 4/8 ls1012ardb: add ppfe-firmware to EXTRA_IMAGEDEPENDS

In reply to Chunrong Guo

From: Chunrong Guo <[email protected]>

---
 conf/machine/ls1012ardb.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/ls1012ardb.conf +1 -1
index c0b438a..def0870 100644
@@ -23,5 +23,5 @@ UBOOT_CONFIG[qspi-secure-boot] = "ls1012ardb_qspi_SECURE_BOOT_defconfig,,u-boot-
 KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb"
 KERNEL_DEFCONFIG ?= "${S}/arch/arm64/configs/defconfig"
 
-EXTRA_IMAGEDEPENDS += "ppa rcw"
+EXTRA_IMAGEDEPENDS += "ppa ppfe-firmware rcw"
 USE_VT = "0"
Signature · 1 line
1.9.0
#4 lore raw

PATCH 5/8 ls1012afrdm: add itbimage support

In reply to Chunrong Guo

From: Chunrong Guo <[email protected]>

*add KERNEL_CLASSES and KERNEL_IMAGETYPES

*add DTB_LOAD

*add UBOOT_ENTRYPOINT

---
 conf/machine/ls1012afrdm.conf | 6 ++++++
 1 file changed, 6 insertions(+)
conf/machine/ls1012afrdm.conf +6 -0
index 6b20c51..8f76609 100644
@@ -10,6 +10,12 @@ MACHINEOVERRIDES =. "fsl-lsch2:ls1012a:"
 require conf/machine/include/qoriq-arm64.inc
 require conf/machine/include/arm/arch-arm64.inc
 
+KERNEL_CLASSES  = " kernel-itbimage "
+KERNEL_IMAGETYPES = "itbImage"
+
+DTB_LOAD = "0x90000000"
+UBOOT_ENTRYPOINT = "0x80080000"
+
 UBOOT_CONFIG ??= "qspi"
 UBOOT_CONFIG[qspi] = "ls1012afrdm_qspi_defconfig,,u-boot-dtb.bin"
 
Signature · 1 line
1.9.0
#5 lore raw

PATCH 6/8 ppfe-firmware: update recipes

In reply to Chunrong Guo

From: Chunrong Guo <[email protected]>

*Deploy the binary in ls1012a/u-boot/ folder as it is standalone The ppfe-firmware is a standalone tool, deploy the binary like other images like u-boot/kernel/rcw.

*fix missing binary in ls1012a/u-boot/ folder

---
 recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb +12 -1
index ab0015a..9c93d33 100644
@@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://Freescale-Binary-EULA;md5=f1c407c0fccab5cd0bf9b92565f
 
 INHIBIT_DEFAULT_DEPS = "1"
 
+inherit deploy
+
 SRC_URI = "git://github.com/qoriq-open-source/engine-pfe-bin.git;nobranch=1"
 SRCREV = "97cd13d3070d7199e62881bc495b332194b67edd"
 
@@ -11,11 +13,20 @@ S = "${WORKDIR}/git"
 
 do_install () {
     install -d ${D}/lib/firmware
+    install -d ${D}/boot/engine-pfe-bin
     install -m 644 ${S}/Freescale-Binary-EULA ${D}/lib/firmware
     install -m 755 ${S}/ls1012a/slow_path/*.elf ${D}/lib/firmware
+    install -m 755 ${S}/ls1012a/u-boot/* ${D}/boot/engine-pfe-bin
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/engine-pfe-bin
+    cp -r ${D}/boot/engine-pfe-bin/* ${DEPLOYDIR}/engine-pfe-bin
 }
 
-FILES_${PN} += "/lib/firmware"
+addtask deploy after do_install
+
+FILES_${PN} += "/lib/firmware /boot/"
 INSANE_SKIP_${PN} += "arch already-stripped"
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_SYSROOT_STRIP = "1"
Signature · 1 line
1.9.0
#6 lore raw

PATCH 7/8 linux-qoriq_4.9: merge config fragments with make config

In reply to Chunrong Guo

From: Chunrong Guo <[email protected]>

*kernel configure option is missing if merge kernel config fragments with merge_config.sh so make config instead of merge_config.sh

---
 recipes-kernel/linux/linux-qoriq_4.9.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
recipes-kernel/linux/linux-qoriq_4.9.bb +3 -4
index c237c87..d5be20f 100644
@@ -37,12 +37,11 @@ do_merge_delta_config() {
     # add config fragments
     for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do
         if [ -f "${deltacfg}" ]; then
-            ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg}
+            make ${deltacfg}
         elif [ -f "${WORKDIR}/${deltacfg}" ]; then
-            ${S}/scripts/kconfig/merge_config.sh -m .config ${WORKDIR}/${deltacfg}
+            make ${WORKDIR}/${deltacfg}
         elif [ -f "${S}/arch/${ARCH}/configs/${deltacfg}" ]; then
-            ${S}/scripts/kconfig/merge_config.sh -m .config \
-                ${S}/arch/${ARCH}/configs/${deltacfg}
+            make ${S}/arch/${ARCH}/configs/${deltacfg}
         fi
     done
     cp .config ${WORKDIR}/defconfig
Signature · 1 line
1.9.0
#7 lore raw

PATCH 8/8 linux-qoriq_4.4: merge config fragments with make config

In reply to Chunrong Guo

From: Chunrong Guo <[email protected]>

*kernel configure option is missing if merge kernel config fragments with merge_config.sh
so make config instead of merge_config.sh

---
 recipes-kernel/linux/linux-qoriq_4.4.bb | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)
recipes-kernel/linux/linux-qoriq_4.4.bb +12 -13
index 72177a3..abad2ee 100644
@@ -37,12 +37,11 @@ do_merge_delta_config() {
     # add config fragments
     for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do
         if [ -f "${deltacfg}" ]; then
-            ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg}
+            make ${deltacfg}
         elif [ -f "${WORKDIR}/${deltacfg}" ]; then
-            ${S}/scripts/kconfig/merge_config.sh -m .config ${WORKDIR}/${deltacfg}
+            make ${WORKDIR}/${deltacfg}
         elif [ -f "${S}/arch/${ARCH}/configs/${deltacfg}" ]; then
-            ${S}/scripts/kconfig/merge_config.sh -m .config \
-                ${S}/arch/${ARCH}/configs/${deltacfg}
+            make ${S}/arch/${ARCH}/configs/${deltacfg}
         fi
     done
     cp .config ${WORKDIR}/defconfig
@@ -58,16 +57,16 @@ do_install_prepend_fsl-lsch2-32b() {
     rm -f ${STAGING_KERNEL_DIR}/arch/arm/boot/dts/freescale
 }
 
-do_install_append_qoriq-arm() {
-    install -m 0644 arch/${ARCH}/boot/zImage ${D}/boot/zImage-${KERNEL_VERSION}
-    ln -sf zImage-${KERNEL_VERSION} ${D}/boot/zImage
-}
+#do_install_append_qoriq-arm() {
+#    install -m 0644 arch/${ARCH}/boot/zImage ${D}/boot/zImage-${KERNEL_VERSION}
+#    ln -sf zImage-${KERNEL_VERSION} ${D}/boot/zImage
+#}
 
-do_deploy_append_qoriq-arm() {
-    install -m 0644 arch/${ARCH}/boot/zImage ${DEPLOYDIR}/${ZIMAGE_BASE_NAME}.bin
-    ln -sf ${ZIMAGE_BASE_NAME}.bin ${DEPLOYDIR}/zImage-${MACHINE}.bin
-    ln -sf ${ZIMAGE_BASE_NAME}.bin ${DEPLOYDIR}/zImage
-}
+#do_deploy_append_qoriq-arm() {
+#    install -m 0644 arch/${ARCH}/boot/zImage ${DEPLOYDIR}/${ZIMAGE_BASE_NAME}.bin
+#    ln -sf ${ZIMAGE_BASE_NAME}.bin ${DEPLOYDIR}/zImage-${MACHINE}.bin
+#    ln -sf ${ZIMAGE_BASE_NAME}.bin ${DEPLOYDIR}/zImage
+#}
 
 FILES_kernel-image += "/boot/zImage*"
 COMPATIBLE_MACHINE = "(qoriq)"
Signature · 1 line
1.9.0
#8 lore raw
In reply to Chunrong Guo

please ignore these patches.

-----Original Message-----
From: Chunrong Guo [mailto:[email protected]]
Sent: Tuesday, November 07, 2017 1:09 PM
To: [email protected]
Cc: Zhenhua Luo <[email protected]>; C.r. Guo <[email protected]>
Subject: [PATCH 1/8] u-boot-qoriq: update to c249f5f

From: Chunrong Guo <[email protected]>

c249f5f - ls1088aqds: Add CONFIG_SGMII_PHYLIB in header file for QDS 64169db - armv8: ls1088: introduce CONFIG_SGMII_PHYLIB 002dc70 - driver: net: ldpaa_eth: Add PHY-less SGMII support 44a294b - drivers: net: ldpaa_eth: Correct error handler for qbman_swp_acquire() 0ca9091 - armv8: fsl-layerscape: Fix MC reserved memory calculation
fbedf04 - armv8: Workaround for USB erratum A-009007 on LS1088A

---
 recipes-bsp/u-boot/u-boot-qoriq_2017.09.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-qoriq_2017.09.bb +1 -2
index ea9e7c8..63721a3 100644
@@ -20,7 +20,7 @@ DEPENDS_append_qoriq-ppc = " boot-format-native"
 
 SRC_URI = "git://github.com/qoriq-open-source/u-boot.git;nobranch=1 \  "
-SRCREV = "fbedf04c1bad675eadbac86febdcf759441a02af"
+SRCREV = "c249f5f07214250195863b8ac76424abe94f64e3"
 
 S = "${WORKDIR}/git"
 
--

1.9.0