Skip to contentSkip to conversation

QorIQ SDK V2.0 patches - Part I

PATCH In review [email protected] 3 participants 17 messages Jun 17, 2016 – Jun 22, 2016

lore
Share & tools
lore
#3 lore raw

PATCH 3/13 u-boot-qoriq: switch to new UBOOT_CONFIG format

In reply to [email protected]

From: Ting Liu <[email protected]>

By using the new UBOOT_CONFIG format, the final u-boot binary will be configured in machine config file, and will be processed in upstream u-boot.inc.

Remove the codes to copy final u-boot binary, and append the special steps which need boot-format tool.

---
 recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb | 53 +++++++-----------------------
 1 file changed, 12 insertions(+), 41 deletions(-)
recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb +12 -41
index 55e5700..d43a4a6 100644
@@ -55,52 +55,23 @@ LOCALVERSION = "+fsl"
 EXTRA_OEMAKE = 'CROSS_COMPILE=${WRAP_TARGET_PREFIX} CC="${WRAP_TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"'
 
 do_compile_append_qoriq-ppc () {
-    # some board's final nand/spi/sdcard binary was not named as u-boot.bin
     unset i j
-    if [ "x${UBOOT_CONFIG}" != "x" ]; then
+    if [ -n "${UBOOT_CONFIG}" ];then
         for config in ${UBOOT_MACHINE}; do
             i=`expr $i + 1`;
-            UBOOT_SOURCE=${UBOOT_BINARY}
-            if echo ${config} |egrep -v "SECBOOT|SECURE" |egrep -qi "SDCARD|SPIFLASH|NAND"; then
-                if echo ${config} |egrep -qi "NAND";then
-                    if echo ${config} |egrep -qi "^(BSC|C29|P10|P2020RDB)";then
-                        UBOOT_SOURCE=u-boot-with-spl.bin
-                    elif echo ${config} |egrep -qi "^(B4|T1|T2|T4)";then
-                        UBOOT_SOURCE=u-boot-with-spl-pbl.bin
-                    elif echo ${config} |egrep -qi "^(P2041|P3|P4|P5)";then
-                        UBOOT_SOURCE=u-boot.pbl
-                    fi
-                elif echo ${config} |egrep -qi "SPIFLASH";then
-                    if echo ${config} |egrep -qi "^(P10|P2020RDB)";then
-                        UBOOT_SOURCE=u-boot-with-spl.bin
-                    elif echo ${config} |egrep -qi "^(T1|T2)";then
-                        UBOOT_SOURCE=u-boot-with-spl-pbl.bin
-                    elif echo ${config} |egrep -qi "^(B4|P2041|P3|P4|P5|T4)";then
-                        UBOOT_SOURCE=u-boot.pbl
-                    fi
-                elif echo ${config} |egrep -qi "SDCARD";then
-                    if echo ${config} |egrep -qi "^(P10|P2020RDB)";then
-                        UBOOT_SOURCE=u-boot-with-spl.bin
-                    elif echo ${config} |egrep -qi "^(B4|T1|T2|T4)";then
-                        UBOOT_SOURCE=u-boot-with-spl-pbl.bin
-                    elif echo ${config} |egrep -qi "^(P2041|P3|P4|P5)";then
-                        UBOOT_SOURCE=u-boot.pbl
-                    fi
-                fi
-                for type in ${UBOOT_CONFIG}; do
-                    j=`expr $j + 1`;
-                    if [ $j -eq $i ]; then
-                        cp ${S}/${config}/${UBOOT_SOURCE} ${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX}
-                        # use boot-format to regenerate spi image if BOOTFORMAT_CONFIG is not empty
-                        if echo ${config} |egrep -qi "SPIFLASH" && [ -n "${BOOTFORMAT_CONFIG}" ];then
-                            ${STAGING_BINDIR_NATIVE}/boot_format \
+            for type in ${UBOOT_CONFIG}; do
+                j=`expr $j + 1`;
+                if [ $j -eq $i ]; then
+                    # use boot-format to regenerate spi image if BOOTFORMAT_CONFIG is not empty
+                    if [ -n "${BOOTFORMAT_CONFIG}" ] && echo "${type}" |grep -q spi;then
+                        ${STAGING_BINDIR_NATIVE}/boot_format \
                             ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \
-                            ${S}/${config}/${UBOOT_SOURCE} -spi ${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX}
-                        fi
+                            ${config}/u-boot-${type}.${UBOOT_SUFFIX} -spi ${config}/u-boot.format.bin
+                        cp ${config}/u-boot.format.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX}
                     fi
-                done
-                unset  j
-            fi
+                fi
+            done
+            unset j
         done
         unset i
     fi
Signature · 1 line
1.9.2
#9 lore raw

PATCH 9/13 p5040: switch to new UBOOT_CONFIG format

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/p5040ds-64b.conf | 8 +++++---
 conf/machine/p5040ds.conf     | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)
conf/machine/p5040ds-64b.conf +5 -3
index 0ff19d3..32b4c3e 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e5500-64b.inc
 
 SOC_FAMILY = "p5040"
+
 UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P5040DS_config"
-UBOOT_CONFIG[nand] = "P5040DS_NAND_config"
+UBOOT_CONFIG[nand] = "P5040DS_NAND_config,,u-boot.pbl"
 UBOOT_CONFIG[secure-boot] = "P5040DS_SECURE_BOOT_config"
-UBOOT_CONFIG[sdcard] = "P5040DS_SDCARD_config"
-UBOOT_CONFIG[spi] = "P5040DS_SPIFLASH_config"
+UBOOT_CONFIG[sdcard] = "P5040DS_SDCARD_config,,u-boot.pbl"
+UBOOT_CONFIG[spi] = "P5040DS_SPIFLASH_config,,u-boot.pbl"
+
 KERNEL_DEVICETREE ?= "p5040ds.dtb p5040ds-usdpaa.dtb \
     p5040ds-usdpaa-shared-interfaces.dtb \
 "
conf/machine/p5040ds.conf +5 -3
index 48675ac..2ca3def 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e5500.inc
 
 SOC_FAMILY = "p5040"
+
 UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P5040DS_config"
-UBOOT_CONFIG[nand] = "P5040DS_NAND_config"
+UBOOT_CONFIG[nand] = "P5040DS_NAND_config,,u-boot.pbl"
 UBOOT_CONFIG[secure-boot] = "P5040DS_SECURE_BOOT_config"
-UBOOT_CONFIG[sdcard] = "P5040DS_SDCARD_config"
-UBOOT_CONFIG[spi] = "P5040DS_SPIFLASH_config"
+UBOOT_CONFIG[sdcard] = "P5040DS_SDCARD_config,,u-boot.pbl"
+UBOOT_CONFIG[spi] = "P5040DS_SPIFLASH_config,,u-boot.pbl"
+
 KERNEL_DEVICETREE ?= "p5040ds.dtb p5040ds-usdpaa.dtb \
     p5040ds-usdpaa-shared-interfaces.dtb \
 "
Signature · 1 line
1.9.2
#7 lore raw

PATCH 7/13 p4080ds: switch to new UBOOT_CONFIG format

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/p4080ds.conf | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
conf/machine/p4080ds.conf +4 -2
index c035fc6..f033869 100644
@@ -8,11 +8,13 @@
 require conf/machine/include/e500mc.inc
 
 SOC_FAMILY = "p4080"
+
 UBOOT_CONFIG ??= "secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P4080DS_config"
 UBOOT_CONFIG[secure-boot] = "P4080DS_SECURE_BOOT_config"
-UBOOT_CONFIG[sdcard] = "P4080DS_SDCARD_config"
-UBOOT_CONFIG[spi] = "P4080DS_SPIFLASH_config"
+UBOOT_CONFIG[sdcard] = "P4080DS_SDCARD_config,,u-boot.pbl"
+UBOOT_CONFIG[spi] = "P4080DS_SPIFLASH_config,,u-boot.pbl"
+
 KERNEL_DEVICETREE ?= "p4080ds.dtb p4080ds-usdpaa.dtb \
     p4080ds-usdpaa-shared-interfaces.dtb \
 "
Signature · 1 line
1.9.2
#6 lore raw

PATCH 6/13 p3041ds: switch to new UBOOT_CONFIG format

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/p3041ds.conf | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
conf/machine/p3041ds.conf +5 -3
index d2464e3..863a179 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e500mc.inc
 
 SOC_FAMILY = "p3041"
+
 UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P3041DS_config"
-UBOOT_CONFIG[nand] = "P3041DS_NAND_config"
+UBOOT_CONFIG[nand] = "P3041DS_NAND_config,,u-boot.pbl"
 UBOOT_CONFIG[secure-boot] = "P3041DS_SECURE_BOOT_config"
-UBOOT_CONFIG[sdcard] = "P3041DS_SDCARD_config"
-UBOOT_CONFIG[spi] = "P3041DS_SPIFLASH_config"
+UBOOT_CONFIG[sdcard] = "P3041DS_SDCARD_config,,u-boot.pbl"
+UBOOT_CONFIG[spi] = "P3041DS_SPIFLASH_config,,u-boot.pbl"
+
 KERNEL_DEVICETREE ?= "p3041ds.dtb p3041ds-usdpaa.dtb \
     p3041ds-usdpaa-shared-interfaces.dtb \
 "
Signature · 1 line
1.9.2
#0 lore raw

cover QorIQ SDK V2.0 patches - Part I

From: Ting Liu <[email protected]>

These changes need the below oe-core patch to be applied:
http://patchwork.openembedded.org/patch/124953/

Ting Liu (13):
remove not supported e500v2 machines
u-boot-qoriq: upgrade to 2016.01
u-boot-qoriq: switch to new UBOOT_CONFIG format
u-boot-qoriq: sync with u-boot.inc from poky
p2041rdb: switch to new UBOOT_CONFIG format
p3041ds: switch to new UBOOT_CONFIG format
p4080ds: switch to new UBOOT_CONFIG format
p5020: switch to new UBOOT_CONFIG format
p5040: switch to new UBOOT_CONFIG format
t1023: switch to new UBOOT_CONFIG format
t1024: switch to new UBOOT_CONFIG format
t104x: switch to new UBOOT_CONFIG format
t2080: switch to new UBOOT_CONFIG format

 conf/machine/bsc9131rdb.conf                       |  20 ----
 conf/machine/bsc9132qds.conf                       |  32 ------
 conf/machine/p1010rdb.conf                         |  29 ------
 conf/machine/p1020rdb.conf                         |  20 ----
 conf/machine/p1021rdb.conf                         |  27 -----
 conf/machine/p1022ds.conf                          |  36 -------
 conf/machine/p1023rdb.conf                         |  18 ----
 conf/machine/p1025twr.conf                         |  20 ----
 conf/machine/p2020rdb.conf                         |  24 -----
 conf/machine/p2041rdb.conf                         |   8 +-
 conf/machine/p3041ds.conf                          |   8 +-
 conf/machine/p4080ds.conf                          |   6 +-
 conf/machine/p5020ds-64b.conf                      |   9 +-
 conf/machine/p5020ds.conf                          |  10 +-
 conf/machine/p5040ds-64b.conf                      |   8 +-
 conf/machine/p5040ds.conf                          |   8 +-
 conf/machine/t1023rdb-64b.conf                     |  11 +-
 conf/machine/t1023rdb.conf                         |  11 +-
 conf/machine/t1024rdb-64b.conf                     |   8 +-
 conf/machine/t1024rdb.conf                         |   8 +-
 conf/machine/t1040d4rdb-64b.conf                   |   8 +-
 conf/machine/t1040d4rdb.conf                       |   8 +-
 conf/machine/t1042d4rdb-64b.conf                   |   8 +-
 conf/machine/t1042d4rdb.conf                       |   8 +-
 conf/machine/t2080qds-64b.conf                     |   9 +-
 conf/machine/t2080qds.conf                         |   8 +-
 conf/machine/t2080rdb-64b.conf                     |  11 +-
 conf/machine/t2080rdb.conf                         |   8 +-
 ...5xx-u-boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch |  77 --------------
 .../u-boot/files/Fix-the-depend-race-issue.patch   |  38 -------
 .../files/add-fgnu89-inline-option-for-gcc5.patch  |  39 -------
 recipes-bsp/u-boot/files/gcc5.patch                |  91 -----------------
 recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb         | 113 ---------------------
 recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb         |  74 ++++++++++++++
 34 files changed, 171 insertions(+), 650 deletions(-)
 delete mode 100644 conf/machine/bsc9131rdb.conf
 delete mode 100644 conf/machine/bsc9132qds.conf
 delete mode 100644 conf/machine/p1010rdb.conf
 delete mode 100644 conf/machine/p1020rdb.conf
 delete mode 100644 conf/machine/p1021rdb.conf
 delete mode 100644 conf/machine/p1022ds.conf
 delete mode 100644 conf/machine/p1023rdb.conf
 delete mode 100644 conf/machine/p1025twr.conf
 delete mode 100644 conf/machine/p2020rdb.conf
 delete mode 100644 recipes-bsp/u-boot/files/0001-u-boot-mpc85xx-u-boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch
 delete mode 100644 recipes-bsp/u-boot/files/Fix-the-depend-race-issue.patch
 delete mode 100644 recipes-bsp/u-boot/files/add-fgnu89-inline-option-for-gcc5.patch
 delete mode 100644 recipes-bsp/u-boot/files/gcc5.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb
Signature · 1 line
1.9.2
#11 lore raw

PATCH 11/13 t1024: switch to new UBOOT_CONFIG format

From: Ting Liu <[email protected]>

---
 conf/machine/t1024rdb-64b.conf | 8 +++++---
 conf/machine/t1024rdb.conf     | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)
conf/machine/t1024rdb-64b.conf +5 -3
index 9c86430..8691633 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e5500-64b.inc
 
 SOC_FAMILY = "t1:t1024"
+
 UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
 UBOOT_CONFIG[nor] = "T1024RDB_config"
-UBOOT_CONFIG[nand] = "T1024RDB_NAND_config"
-UBOOT_CONFIG[sdcard] = "T1024RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T1024RDB_SPIFLASH_config"
+UBOOT_CONFIG[nand] = "T1024RDB_NAND_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "T1024RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T1024RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[secure-boot] = "T1024RDB_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t1024rdb.dtb t1024rdb-usdpaa.dtb t1024rdb-usdpaa-capwap.dtb"
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"
 
conf/machine/t1024rdb.conf +5 -3
index 4f6c3aa..45c4764 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e5500.inc
 
 SOC_FAMILY = "t1:t1024"
+
 UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
 UBOOT_CONFIG[nor] = "T1024RDB_config"
-UBOOT_CONFIG[nand] = "T1024RDB_NAND_config"
-UBOOT_CONFIG[sdcard] = "T1024RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T1024RDB_SPIFLASH_config"
+UBOOT_CONFIG[nand] = "T1024RDB_NAND_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "T1024RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T1024RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[secure-boot] = "T1024RDB_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t1024rdb.dtb t1024rdb-usdpaa.dtb t1024rdb-usdpaa-capwap.dtb"
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig"
 
Signature · 1 line
1.9.2
#10 lore raw

PATCH 10/13 t1023: switch to new UBOOT_CONFIG format

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/t1023rdb-64b.conf | 11 +++++++----
 conf/machine/t1023rdb.conf     | 11 +++++++----
 2 files changed, 14 insertions(+), 8 deletions(-)
conf/machine/t1023rdb-64b.conf +7 -4
index 2d38bf8..2cfb4ef 100644
@@ -8,11 +8,14 @@
 require conf/machine/include/e5500-64b.inc
 
 SOC_FAMILY = "t1:t1023"
-UBOOT_CONFIG ??= "nand sdcard spi nor"
+
+UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
 UBOOT_CONFIG[nor] = "T1023RDB_config"
-UBOOT_CONFIG[nand] = "T1023RDB_NAND_config"
-UBOOT_CONFIG[sdcard] = "T1023RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T1023RDB_SPIFLASH_config"
+UBOOT_CONFIG[nand] = "T1023RDB_NAND_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "T1023RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T1023RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[secure-boot] = "T1023RDB_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t1023rdb.dtb t1023rdb-usdpaa.dtb t1023rdb-usdpaa-shared-interfaces.dtb"
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"
 
conf/machine/t1023rdb.conf +7 -4
index 4e7cc06..3715ad3 100644
@@ -8,11 +8,14 @@
 require conf/machine/include/e5500.inc
 
 SOC_FAMILY = "t1:t1023"
-UBOOT_CONFIG ??= "nand sdcard spi nor"
+
+UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
 UBOOT_CONFIG[nor] = "T1023RDB_config"
-UBOOT_CONFIG[nand] = "T1023RDB_NAND_config"
-UBOOT_CONFIG[sdcard] = "T1023RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T1023RDB_SPIFLASH_config"
+UBOOT_CONFIG[nand] = "T1023RDB_NAND_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "T1023RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T1023RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[secure-boot] = "T1023RDB_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t1023rdb.dtb t1023rdb-usdpaa.dtb t1023rdb-usdpaa-shared-interfaces.dtb"
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig"
 
Signature · 1 line
1.9.2
#8 lore raw

PATCH 8/13 p5020: switch to new UBOOT_CONFIG format

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/p5020ds-64b.conf |  9 +++++----
 conf/machine/p5020ds.conf     | 10 +++++-----
 2 files changed, 10 insertions(+), 9 deletions(-)
conf/machine/p5020ds-64b.conf +5 -4
index b02de94..a359130 100644
@@ -8,17 +8,18 @@
 require conf/machine/include/e5500-64b.inc
 
 SOC_FAMILY = "p5020"
+
 UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P5020DS_config"
-UBOOT_CONFIG[nand] = "P5020DS_NAND_config"
+UBOOT_CONFIG[nand] = "P5020DS_NAND_config,,u-boot.pbl"
 UBOOT_CONFIG[secure-boot] = "P5020DS_SECURE_BOOT_config"
-UBOOT_CONFIG[sdcard] = "P5020DS_SDCARD_config"
-UBOOT_CONFIG[spi] = "P5020DS_SPIFLASH_config"
+UBOOT_CONFIG[sdcard] = "P5020DS_SDCARD_config,,u-boot.pbl"
+UBOOT_CONFIG[spi] = "P5020DS_SPIFLASH_config,,u-boot.pbl"
+
 KERNEL_DEVICETREE ?= "p5020ds.dtb p5020ds-usdpaa.dtb \
     p5020ds-usdpaa-shared-interfaces.dtb \
 "
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw hypervisor hv-cfg"
conf/machine/p5020ds.conf +5 -5
index 95be344..5249f28 100644
@@ -8,18 +8,18 @@
 require conf/machine/include/e5500.inc
 
 SOC_FAMILY = "p5020"
+
 UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P5020DS_config"
-UBOOT_CONFIG[nand] = "P5020DS_NAND_config"
+UBOOT_CONFIG[nand] = "P5020DS_NAND_config,,u-boot.pbl"
 UBOOT_CONFIG[secure-boot] = "P5020DS_SECURE_BOOT_config"
-UBOOT_CONFIG[sdcard] = "P5020DS_SDCARD_config"
-UBOOT_CONFIG[spi] = "P5020DS_SPIFLASH_config"
+UBOOT_CONFIG[sdcard] = "P5020DS_SDCARD_config,,u-boot.pbl"
+UBOOT_CONFIG[spi] = "P5020DS_SPIFLASH_config,,u-boot.pbl"
+
 KERNEL_DEVICETREE ?= "p5020ds.dtb p5020ds-usdpaa.dtb \
     p5020ds-usdpaa-shared-interfaces.dtb \
 "
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw hypervisor hv-cfg"
Signature · 1 line
1.9.2
#1 lore raw

PATCH 1/13 remove not supported e500v2 machines

In reply to [email protected]

From: Ting Liu <[email protected]>

Remove the below machines which are not supported/tested:
bsc9131rdb, bsc9132qds, p1010rdb, p1020rdb, p1021rdb, p1022ds p1023rdb, p1025twr, p2020rdb

---
 conf/machine/bsc9131rdb.conf | 20 --------------------
 conf/machine/bsc9132qds.conf | 32 --------------------------------
 conf/machine/p1010rdb.conf   | 29 -----------------------------
 conf/machine/p1020rdb.conf   | 20 --------------------
 conf/machine/p1021rdb.conf   | 27 ---------------------------
 conf/machine/p1022ds.conf    | 36 ------------------------------------
 conf/machine/p1023rdb.conf   | 18 ------------------
 conf/machine/p1025twr.conf   | 20 --------------------
 conf/machine/p2020rdb.conf   | 24 ------------------------
 9 files changed, 226 deletions(-)
 delete mode 100644 conf/machine/bsc9131rdb.conf
 delete mode 100644 conf/machine/bsc9132qds.conf
 delete mode 100644 conf/machine/p1010rdb.conf
 delete mode 100644 conf/machine/p1020rdb.conf
 delete mode 100644 conf/machine/p1021rdb.conf
 delete mode 100644 conf/machine/p1022ds.conf
 delete mode 100644 conf/machine/p1023rdb.conf
 delete mode 100644 conf/machine/p1025twr.conf
 delete mode 100644 conf/machine/p2020rdb.conf
conf/machine/bsc9131rdb.conf deleted +0 -20
deleted file mode 100644
index c40f492..0000000
@@ -1,20 +0,0 @@
-#@TYPE: Machine
-#@NAME: Freescale BSC9131RDB
-#@SOC: bsc9131
-#@DESCRIPTION: Machine configuration for Freescale QorIQ Qonverge BSC9131
-#              Reference Design Board with ppce500v2 core
-#@MAINTAINER: Chunrong Guo <[email protected]>
-
-require conf/machine/include/e500v2.inc
-
-SOC_FAMILY = "bsc9131"
-UBOOT_CONFIG ??= "nand nand-sysclk100 spi spi-sysclk100"
-UBOOT_CONFIG[nand] = "BSC9131RDB_NAND_config"
-UBOOT_CONFIG[nand-sysclk100] = "BSC9131RDB_NAND_SYSCLK100_config"
-UBOOT_CONFIG[spi] = "BSC9131RDB_SPIFLASH_config"
-UBOOT_CONFIG[spi-sysclk100] = "BSC9131RDB_SPIFLASH_SYSCLK100_config"
-
-KERNEL_DEVICETREE ?= "bsc9131rdb.dtb"
-KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/85xx/bsc913x_defconfig"
-
-JFFS2_ERASEBLOCK = "0x10000"
conf/machine/bsc9132qds.conf deleted +0 -32
deleted file mode 100644
index 48545bc..0000000
@@ -1,32 +0,0 @@
-#@TYPE: Machine
-#@NAME: Freescale BSC9132QDS
-#@SOC: bsc9132
-#@DESCRIPTION: Machine configuration for Freescale QorIQ Qonverge BSC9132
-#              Qonverge Development System with ppce500v2 core
-#@MAINTAINER: Chunrong Guo <[email protected]>
-
-require conf/machine/include/e500v2.inc
-
-SOC_FAMILY = "bsc9132"
-UBOOT_CONFIG ??= "nand-ddrclk133 nand-ddrclk100 nor-ddrclk100 nor-ddrclk133 sdcard-ddrclk100 sdcard-ddrclk133 spi-ddrclk100 spi-ddrclk133 nand-ddrclk100-secure nand-ddrclk133-secure nor-ddrclk100-secure nor-ddrclk133-secure sdcard-ddrclk100-secure sdcard-ddrclk133-secure spi-ddrclk100-secure spi-ddrclk133-secure"
-UBOOT_CONFIG[nand-ddrclk133] = "BSC9132QDS_NAND_DDRCLK133_config"
-UBOOT_CONFIG[nand-ddrclk100] = "BSC9132QDS_NAND_DDRCLK100_config"
-UBOOT_CONFIG[nor-ddrclk100] = "BSC9132QDS_NOR_DDRCLK100_config"
-UBOOT_CONFIG[nor-ddrclk133] = "BSC9132QDS_NOR_DDRCLK133_config"
-UBOOT_CONFIG[sdcard-ddrclk100] = "BSC9132QDS_SDCARD_DDRCLK100_config"
-UBOOT_CONFIG[sdcard-ddrclk133] = "BSC9132QDS_SDCARD_DDRCLK133_config"
-UBOOT_CONFIG[spi-ddrclk100] = "BSC9132QDS_SPIFLASH_DDRCLK100_config"
-UBOOT_CONFIG[spi-ddrclk133] = "BSC9132QDS_SPIFLASH_DDRCLK133_config"
-UBOOT_CONFIG[nand-ddrclk100-secure] = "BSC9132QDS_NAND_DDRCLK100_SECURE_config"
-UBOOT_CONFIG[nand-ddrclk133-secure] = "BSC9132QDS_NAND_DDRCLK133_SECURE_config"
-UBOOT_CONFIG[nor-ddrclk100-secure] = "BSC9132QDS_NOR_DDRCLK100_SECURE_config"
-UBOOT_CONFIG[nor-ddrclk133-secure] = "BSC9132QDS_NOR_DDRCLK133_SECURE_config"
-UBOOT_CONFIG[sdcard-ddrclk100-secure] = "BSC9132QDS_SDCARD_DDRCLK100_SECURE_config"
-UBOOT_CONFIG[sdcard-ddrclk133-secure] = "BSC9132QDS_SDCARD_DDRCLK133_SECURE_config"
-UBOOT_CONFIG[spi-ddrclk100-secure] = "BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_config"
-UBOOT_CONFIG[spi-ddrclk133-secure] = "BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_config"
-
-KERNEL_DEVICETREE ?= "bsc9132qds.dtb"
-KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/85xx/bsc913x_smp_defconfig"
-
-JFFS2_ERASEBLOCK = "0x10000"
conf/machine/p1010rdb.conf deleted +0 -29
deleted file mode 100644
index abb4076..0000000
@@ -1,29 +0,0 @@
-#@TYPE: Machine
-#@Name: Freescale P1010RDB
-#@SOC: p1010
-#@DESCRIPTION: Machine configuration for Freescale QorIQ P1010 Reference
-#              Design Board with ppce500v2 core
-#@MAINTAINER: Chunrong Guo <[email protected]>
-
-require conf/machine/include/e500v2.inc
-
-SOC_FAMILY = "p1010"
-BOOTFORMAT_CONFIG = "config_sram_p1010rdb.dat"
-UBOOT_CONFIG ??= "nand spi 36bit-nor 36bit-nand 36bit-spi 36bit-nand-secboot 36bit-nor-secboot 36bit-spi-secboot nand-secboot nor-secboot spi-secboot nor"
-UBOOT_CONFIG[nor] = "P1010RDB-PB_NOR_config"
-UBOOT_CONFIG[nand] = "P1010RDB-PB_NAND_config"
-UBOOT_CONFIG[spi] = "P1010RDB-PB_SPIFLASH_config"
-UBOOT_CONFIG[36bit-nor] = "P1010RDB-PB_36BIT_NOR_config"
-UBOOT_CONFIG[36bit-nand] = "P1010RDB-PB_36BIT_NAND_config"
-UBOOT_CONFIG[36bit-spi] = "P1010RDB-PB_36BIT_SPIFLASH_config"
-UBOOT_CONFIG[36bit-nand-secboot] = "P1010RDB-PB_36BIT_NAND_SECBOOT_config"
-UBOOT_CONFIG[36bit-nor-secboot] = "P1010RDB-PB_36BIT_NOR_SECBOOT_config"
-UBOOT_CONFIG[36bit-spi-secboot] = "P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_config"
-UBOOT_CONFIG[nand-secboot] = "P1010RDB-PB_NAND_SECBOOT_config"
-UBOOT_CONFIG[nor-secboot] = "P1010RDB-PB_NOR_SECBOOT_config"
-UBOOT_CONFIG[spi-secboot] = "P1010RDB-PB_SPIFLASH_SECBOOT_config"
-
-KERNEL_DEVICETREE ?= "p1010rdb-pa.dtb p1010rdb-pb.dtb"
-KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/mpc85xx_defconfig"
-
-JFFS2_ERASEBLOCK = "0x20000"
conf/machine/p1020rdb.conf deleted +0 -20
deleted file mode 100644
index adfa02f..0000000
@@ -1,20 +0,0 @@
-#@TYPE: Machine
-#@NAME: Freescale P1020RDB
-#@SOC: p1020
-#@DESCRIPTION: Machine configuration for Freescale QorIQ P1020 Reference
-#              Design Board, revD with ppce500v2 core
-#@MAINTAINER: Chunrong Guo <[email protected]>
-
-require conf/machine/include/e500v2.inc
-
-SOC_FAMILY = "p1020"
-BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
-UBOOT_CONFIG ??= "nand sdcard spi nor"
-UBOOT_CONFIG[nor] = "P1020RDB-PD_config"
-UBOOT_CONFIG[nand] = "P1020RDB-PD_NAND_config"
-UBOOT_CONFIG[sdcard] = "P1020RDB-PD_SDCARD_config"
-UBOOT_CONFIG[spi] = "P1020RDB-PD_SPIFLASH_config"
-KERNEL_DEVICETREE ?= "p1020rdb-pd_32b.dtb"
-KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
-
-JFFS2_ERASEBLOCK = "0x20000"
conf/machine/p1021rdb.conf deleted +0 -27
deleted file mode 100644
index f587d46..0000000
@@ -1,27 +0,0 @@
-#@TYPE: Machine
-#@Name: Freescale P1021RDB
-#@SOC: p1021
-#@DESCRIPTION: Machine configuration for Freescale QorIQ P1021 Reference
-#              Design Board, revC with ppce500v2 core
-#@MAINTAINER: Chunrong Guo <[email protected]>
-
-require conf/machine/include/e500v2.inc
-
-SOC_FAMILY = "p1021"
-BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
-UBOOT_CONFIG ??= "nand sdcard spi 36bit-nor 36bit-spi 36bit-nand 36bit-sdcard nor"
-UBOOT_CONFIG[nor] = "P1021RDB-PC_config"
-UBOOT_CONFIG[nand] = "P1021RDB-PC_NAND_config"
-UBOOT_CONFIG[sdcard] = "P1021RDB-PC_SDCARD_config"
-UBOOT_CONFIG[spi] = "P1021RDB-PC_SPIFLASH_config"
-UBOOT_CONFIG[36bit-nor] = "P1021RDB-PC_36BIT_config"
-UBOOT_CONFIG[36bit-spi] = "P1021RDB-PC_36BIT_SPIFLASH_config"
-UBOOT_CONFIG[36bit-nand] = "P1021RDB-PC_36BIT_NAND_config"
-UBOOT_CONFIG[36bit-sdcard] = "P1021RDB-PC_36BIT_SDCARD_config"
-
-KERNEL_DEVICETREE ?= "p1021rdb-pc_32b.dtb"
-KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
-
-JFFS2_ERASEBLOCK = "0x20000"
-QE_UCODE ?= "fsl_qe_ucode_1021_10_A.bin"
-EXTRA_IMAGEDEPENDS += "qe-ucode"
conf/machine/p1022ds.conf deleted +0 -36
deleted file mode 100644
index 8c7dcf6..0000000
@@ -1,36 +0,0 @@
-#@TYPE: Machine
-#@NAME: Freescale P1022DS
-#@SOC: p1022
-#@DESCRIPTION: Machine configuration for Freescale QorIQ P1022 Development
-#              System, revB with ppce500v2 core
-#@MAINTAINER: Chunrong Guo <[email protected]>
-
-require conf/machine/include/e500v2.inc
-
-SOC_FAMILY = "p1022"
-BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
-
-UBOOT_CONFIG ??= "nand spi sdcard 36bit-nor 36bit-spi 36bit-nand 36bit-sdcard nor"
-UBOOT_CONFIG[nor] = "P1022DS_config"
-UBOOT_CONFIG[nand] = "P1022DS_NAND_config"
-UBOOT_CONFIG[spi] = "P1022DS_SPIFLASH_config"
-UBOOT_CONFIG[sdcard] = "P1022DS_SDCARD_config"
-UBOOT_CONFIG[36bit-nor] = "P1022DS_36BIT_config"
-UBOOT_CONFIG[36bit-spi] = "P1022DS_36BIT_SPIFLASH_config"
-UBOOT_CONFIG[36bit-nand] = "P1022DS_36BIT_NAND_config"
-UBOOT_CONFIG[36bit-sdcard] = "P1022DS_36BIT_SDCARD_config"
-
-KERNEL_DEVICETREE ?= "p1022ds_32b.dtb"
-KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
-
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
-
-XSERVER = " \
-    xserver-xorg \
-    xf86-input-evdev \
-    xf86-input-mouse \
-    xf86-input-keyboard \
-    xf86-video-fbdev \
-"
-
-JFFS2_ERASEBLOCK = "0x20000"
conf/machine/p1023rdb.conf deleted +0 -18
deleted file mode 100644
index af93d1e..0000000
@@ -1,18 +0,0 @@
-#@TYPE: Machine
-#@NAME: Freescale P1023RDB
-#@SOC: p1023
-#@DESCRIPTION: Machine configuration for Freescale QorIQ P1023 Reference
-#              Design Board, revA with ppce500v2 core
-#@MAINTAINER: Chunrong Guo <[email protected]>
-
-require conf/machine/include/e500v2.inc
-
-SOC_FAMILY = "p1023"
-UBOOT_CONFIG ??= "nor"
-UBOOT_CONFIG[nor] = "P1023RDB_config"
-KERNEL_DEVICETREE ?= "p1023rdb.dtb"
-KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/85xx/p1023_defconfig"
-
-JFFS2_ERASEBLOCK = "0x10000"
-
-EXTRA_IMAGEDEPENDS += "fm-ucode"
conf/machine/p1025twr.conf deleted +0 -20
deleted file mode 100644
index 8e7e7ab..0000000
@@ -1,20 +0,0 @@
-#@TYPE: Machine
-#@Name: Freescale P1025TWR
-#@SOC: p1025
-#@DESCRIPTION: Machine configuration for Freescale QorIQ P1025 MPU Tower
-#              System Module with ppce500v2 core
-#@MAINTAINER: Chunrong Guo <[email protected]>
-
-require conf/machine/include/e500v2.inc
-
-SOC_FAMILY = "p1025"
-BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_667M.dat"
-UBOOT_CONFIG ??= "nor"
-UBOOT_CONFIG[nor] = "TWR-P1025_config"
-KERNEL_DEVICETREE ?= "p1025twr_32b.dtb"
-KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
-
-JFFS2_ERASEBLOCK = "0x20000"
-QE_UCODE ?= "fsl_qe_ucode_1021_10_A.bin"
-
-EXTRA_IMAGEDEPENDS += "qe-ucode"
conf/machine/p2020rdb.conf deleted +0 -24
deleted file mode 100644
index 3621031..0000000
@@ -1,24 +0,0 @@
-#@TYPE: Machine
-#@Name: Freescale P2020RDB
-#@SOC: p2020
-#@DESCRIPTION: Machine configuration for Freescale QorIQ P2020 Reference
-#              Design Board with ppce500v2 core
-#@MAINTAINER: Chunrong Guo <[email protected]>
-
-require conf/machine/include/e500v2.inc
-
-SOC_FAMILY = "p2020"
-BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
-UBOOT_CONFIG ??= "nand sdcard spi 36bit-nor 36bit-spi 36bit-nand 36bit-sdcard nor"
-UBOOT_CONFIG[nor] = "P2020RDB-PC_config"
-UBOOT_CONFIG[nand] = "P2020RDB-PC_NAND_config"
-UBOOT_CONFIG[sdcard] = "P2020RDB-PC_SDCARD_config"
-UBOOT_CONFIG[spi] = "P2020RDB-PC_SPIFLASH_config"
-UBOOT_CONFIG[36bit-nor] = "P2020RDB-PC_36BIT_config"
-UBOOT_CONFIG[36bit-spi] = "P2020RDB-PC_36BIT_SPIFLASH_config"
-UBOOT_CONFIG[36bit-nand] = "P2020RDB-PC_36BIT_NAND_config"
-UBOOT_CONFIG[36bit-sdcard] = "P2020RDB-PC_36BIT_SDCARD_config"
-KERNEL_DEVICETREE ?= "p2020rdb-pc_32b.dtb"
-KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
-
-JFFS2_ERASEBLOCK = "0x20000"
Signature · 1 line
1.9.2
#4 lore raw

PATCH 4/13 u-boot-qoriq: sync with u-boot.inc from poky

In reply to [email protected]

From: Ting Liu <[email protected]>

* remove duplicate settings
* sync the definition of EXTRA_OEMAKE

---
 recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)
recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb +5 -13
index d43a4a6..9128c65 100644
@@ -2,9 +2,7 @@ require recipes-bsp/u-boot/u-boot.inc
 inherit fsl-u-boot-localversion
 
 DESCRIPTION = "U-boot provided by Freescale with focus on QorIQ boards"
-HOMEPAGE = "http://u-boot.sf.net"
-SECTION = "bootloaders"
-PROVIDES = "virtual/bootloader u-boot"
+PROVIDES += "u-boot"
 LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1"
 LIC_FILES_CHKSUM = " \
     file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@@ -19,20 +17,19 @@ INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc"
 DEPENDS_append_qoriq-ppc = " boot-format-native"
 
-inherit deploy
-
 SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git;branch=sdk-v2.0.x \
     file://fix-build-error-under-gcc6.patch \
 "
 SRCREV = "a9b437f50e2051f8d42ec9e1a6df52de4bc00e1e"
 
+S = "${WORKDIR}/git"
+
 python () {
     if d.getVar("TCMODE", True) == "external-fsl":
         return
 
     ml = d.getVar("MULTILIB_VARIANTS", True)
     arch = d.getVar("OVERRIDES", True)
-
     if "e5500-64b:" in arch or "e6500-64b:" in arch:
         if not "lib32" in ml:
             raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled")
@@ -44,16 +41,11 @@ python () {
 }
 
 WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-USRC ?= ""
-S = '${@base_conditional("USRC", "", "${WORKDIR}/git", "${USRC}", d)}'
+EXTRA_OEMAKE = 'CROSS_COMPILE=${WRAP_TARGET_PREFIX} CC="${WRAP_TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" V=1'
+EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
 
 LOCALVERSION = "+fsl"
 
-EXTRA_OEMAKE = 'CROSS_COMPILE=${WRAP_TARGET_PREFIX} CC="${WRAP_TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"'
-
 do_compile_append_qoriq-ppc () {
     unset i j
     if [ -n "${UBOOT_CONFIG}" ];then
Signature · 1 line
1.9.2
#12 lore raw

PATCH 12/13 t104x: switch to new UBOOT_CONFIG format

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/t1040d4rdb-64b.conf | 8 +++++---
 conf/machine/t1040d4rdb.conf     | 8 +++++---
 conf/machine/t1042d4rdb-64b.conf | 8 +++++---
 conf/machine/t1042d4rdb.conf     | 8 +++++---
 4 files changed, 20 insertions(+), 12 deletions(-)
conf/machine/t1040d4rdb-64b.conf +5 -3
index f40dbcf..120e905 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e5500-64b.inc
 
 SOC_FAMILY = "t1:t1040"
+
 UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
 UBOOT_CONFIG[nor] = "T1040D4RDB_config"
-UBOOT_CONFIG[nand] = "T1040D4RDB_NAND_config"
-UBOOT_CONFIG[sdcard] = "T1040D4RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T1040D4RDB_SPIFLASH_config"
+UBOOT_CONFIG[nand] = "T1040D4RDB_NAND_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "T1040D4RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T1040D4RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[secure-boot] = "T1040D4RDB_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t1040d4rdb.dtb t1040d4rdb-usdpaa.dtb \
     t1040d4rdb-usdpaa-lag.dtb t1040d4rdb-usdpaa-shared-interfaces.dtb \
 "
conf/machine/t1040d4rdb.conf +5 -3
index 5a0faa4..a202daa 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e5500.inc
 
 SOC_FAMILY = "t1:t1040"
+
 UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
 UBOOT_CONFIG[nor] = "T1040D4RDB_config"
-UBOOT_CONFIG[nand] = "T1040D4RDB_NAND_config"
-UBOOT_CONFIG[sdcard] = "T1040D4RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T1040D4RDB_SPIFLASH_config"
+UBOOT_CONFIG[nand] = "T1040D4RDB_NAND_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "T1040D4RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T1040D4RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[secure-boot] = "T1040D4RDB_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t1040d4rdb.dtb t1040d4rdb-usdpaa.dtb \
     t1040d4rdb-usdpaa-lag.dtb t1040d4rdb-usdpaa-shared-interfaces.dtb \
 "
conf/machine/t1042d4rdb-64b.conf +5 -3
index 18e8b2b..c8814b5 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e5500-64b.inc
 
 SOC_FAMILY = "t1:t1042"
+
 UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
 UBOOT_CONFIG[nor] = "T1042D4RDB_config"
-UBOOT_CONFIG[nand] = "T1042D4RDB_NAND_config"
-UBOOT_CONFIG[sdcard] = "T1042D4RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T1042D4RDB_SPIFLASH_config"
+UBOOT_CONFIG[nand] = "T1042D4RDB_NAND_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "T1042D4RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T1042D4RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[secure-boot] = "T1042D4RDB_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t1042d4rdb.dtb t1042d4rdb-usdpaa.dtb \
     t1042d4rdb-usdpaa-shared-interfaces.dtb \
 "
conf/machine/t1042d4rdb.conf +5 -3
index 430cd42..3372302 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e5500.inc
 
 SOC_FAMILY = "t1:t1042"
+
 UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
 UBOOT_CONFIG[nor] = "T1042D4RDB_config"
-UBOOT_CONFIG[nand] = "T1042D4RDB_NAND_config"
-UBOOT_CONFIG[sdcard] = "T1042D4RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T1042D4RDB_SPIFLASH_config"
+UBOOT_CONFIG[nand] = "T1042D4RDB_NAND_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[sdcard] = "T1042D4RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T1042D4RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[secure-boot] = "T1042D4RDB_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t1042d4rdb.dtb t1042d4rdb-usdpaa.dtb \
     t1042d4rdb-usdpaa-shared-interfaces.dtb \
 "
Signature · 1 line
1.9.2
#2 lore raw

PATCH 2/13 u-boot-qoriq: upgrade to 2016.01

In reply to [email protected]

From: Ting Liu <[email protected]>

The main features are:
* Upgrade to 2016.01
* On ARM platforms, the U-Boot image includes the device tree
* Non-secure and Secure Boot (ESBC)
* Primary Protected Application (PPA) firmware integration [LS1043A]
* Clock, CPLD, DUART, DDR3, DDR4, DSPI, eSDHC, GIC-400, GIC-500, I2C, OCRAM, PCIe, USB 2 & 3, SATA, UART
* Networking support using eTSEC, FMAN Independent Mode or DPAA2 networking
* DCU, eMMC 4.5, I2C3, LPUART, QSPI [LS1021A]
* eLBC and IFC access to NOR and NAND flash
* Boot from NOR, NAND flash, eSPI, SDHC
* Boot from SRIO [B4860, P5020, P4080]
* Voltage ID (board specific)
* CodeWarrior debug patch for U-Boot

Detailed commit log can be found at:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/u-boot.git/log/?h=sdk-v2.0.x

---
 ...5xx-u-boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch | 77 ------------------
 .../u-boot/files/Fix-the-depend-race-issue.patch   | 38 ---------
 .../files/add-fgnu89-inline-option-for-gcc5.patch  | 39 ----------
 recipes-bsp/u-boot/files/gcc5.patch                | 91 ----------------------
 ...ot-qoriq_2015.01.bb => u-boot-qoriq_2016.01.bb} |  6 +-
 5 files changed, 2 insertions(+), 249 deletions(-)
 delete mode 100644 recipes-bsp/u-boot/files/0001-u-boot-mpc85xx-u-boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch
 delete mode 100644 recipes-bsp/u-boot/files/Fix-the-depend-race-issue.patch
 delete mode 100644 recipes-bsp/u-boot/files/add-fgnu89-inline-option-for-gcc5.patch
 delete mode 100644 recipes-bsp/u-boot/files/gcc5.patch
 rename recipes-bsp/u-boot/{u-boot-qoriq_2015.01.bb => u-boot-qoriq_2016.01.bb} (97%)
recipes-bsp/u-boot/files/0001-u-boot-mpc85xx-u-boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch deleted +0 -77
deleted file mode 100644
index e6b8d2e..0000000
@@ -1,77 +0,0 @@
-From 9ba002f1b1afc7af84a352f4ecab32a30d7ba353 Mon Sep 17 00:00:00 2001
-From: Zhenhua Luo <[email protected]>
-Date: Mon, 9 Feb 2015 18:33:56 +0800
-Subject: [PATCH] u-boot/mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_
- definition
-
-In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in
-u-boot.lds overrides the linker built-in symbols
-(https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=b893397a4b1316610f49819344817715e4305de9),
-so the linker is treating _GLOBAL_OFFSET_TABLE_ as a definition into the .reloc section.
-
-To align with the change of binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbol
-should not be defined in sections, and the symbols in linker generated .got
-section should be used(https://sourceware.org/ml/binutils/2008-09/msg00122.html).
-
-Fixed the following build errors with binutils-2.25:
-| powerpc-poky-linux-gnuspe-ld.bfd: _GLOBAL_OFFSET_TABLE_ not defined in linker created .got
-
-Signed-off-by: Zhenhua Luo <[email protected]>
----
- arch/powerpc/cpu/mpc85xx/u-boot-nand.lds     | 1 -
- arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds | 1 -
- arch/powerpc/cpu/mpc85xx/u-boot-spl.lds      | 1 -
- arch/powerpc/cpu/mpc85xx/u-boot.lds          | 1 -
- 4 files changed, 4 deletions(-)
-
-diff --git a/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds b/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
-index f933b21..0399f93 100644
---- a/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
-+++ b/arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
-@@ -44,7 +44,6 @@ SECTIONS
-     _GOT2_TABLE_ = .;
-     KEEP(*(.got2))
-     KEEP(*(.got))
--    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
-     _FIXUP_TABLE_ = .;
-     KEEP(*(.fixup))
-   }
-diff --git a/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds b/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds
-index b83c553..f044564 100644
---- a/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds
-+++ b/arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds
-@@ -22,7 +22,6 @@ SECTIONS
- 		_GOT2_TABLE_ = .;
- 		KEEP(*(.got2))
- 		KEEP(*(.got))
--		PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
- 		_FIXUP_TABLE_ = .;
- 		KEEP(*(.fixup))
- 	}
-diff --git a/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds b/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds
-index 5ae7b3e..889a4c2 100644
---- a/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds
-+++ b/arch/powerpc/cpu/mpc85xx/u-boot-spl.lds
-@@ -29,7 +29,6 @@ SECTIONS
- 		_GOT2_TABLE_ = .;
- 		KEEP(*(.got2))
- 		KEEP(*(.got))
--		PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
- 		_FIXUP_TABLE_ = .;
- 		KEEP(*(.fixup))
- 	}
-diff --git a/arch/powerpc/cpu/mpc85xx/u-boot.lds b/arch/powerpc/cpu/mpc85xx/u-boot.lds
-index 2cf0b25..f15eaf3 100644
---- a/arch/powerpc/cpu/mpc85xx/u-boot.lds
-+++ b/arch/powerpc/cpu/mpc85xx/u-boot.lds
-@@ -50,7 +50,6 @@ SECTIONS
-     _GOT2_TABLE_ = .;
-     KEEP(*(.got2))
-     KEEP(*(.got))
--    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
-     _FIXUP_TABLE_ = .;
-     KEEP(*(.fixup))
-   }
--- 
-2.1.0
-
recipes-bsp/u-boot/files/Fix-the-depend-race-issue.patch deleted +0 -38
deleted file mode 100644
index 1ddc667..0000000
@@ -1,38 +0,0 @@
-Upstream-Status: Pending
-
-From 301832414369b749918e0d5db850eed19b81c0fc Mon Sep 17 00:00:00 2001
-From: Zhenhua Luo <[email protected]>
-Date: Tue, 24 Sep 2013 00:54:40 -0500
-Subject: [PATCH] Fix the depend race issue
-
-| make[3]: Entering directory `/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-ppc/build/build/tmp/work/p1022ds-poky-linux-gnuspe/u-boot/git-r30/git/arch/powerpc/cpu/mpc85xx'
-| /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-ppc/build/build/tmp/work/p1022ds-poky-linux-gnuspe/u-boot/git-r30/git/P1022DS_NAND/spl/arch/powerpc/cpu/mpc85xx/.depend:125: *** missing separator.  Stop.
-| make[3]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-ppc/build/build/tmp/work/p1022ds-poky-linux-gnuspe/u-boot/git-r30/git/arch/powerpc/cpu/mpc85xx'
-| make[2]: *** [/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-ppc/build/build/tmp/work/p1022ds-poky-linux-gnuspe/u-boot/git-r30/git/P1022DS_NAND/spl/arch/powerpc/cpu/mpc85xx/start.o] Error 2
-| make[2]: *** Waiting for unfinished jobs....
-
-Signed-off-by: Zhenhua Luo <[email protected]>
----
- spl/Makefile | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/spl/Makefile b/spl/Makefile
-index 6dbb105..3156d87 100644
---- a/spl/Makefile
-+++ b/spl/Makefile
-@@ -185,7 +185,11 @@ $(eval $(call make_u_boot_list, $(obj)u-boot.lst, $(LIBS)))
- $(obj)u-boot-spl.lds: $(LDSCRIPT) $(obj)u-boot.lst depend
- 	$(CPP) $(CPPFLAGS) $(LDPPFLAGS) -I$(obj). -ansi -D__ASSEMBLY__ -P - < $< > $@
- 
--depend:	$(obj).depend
-+# Explicitly make _depend in subdirs containing multiple targets to prevent
-+# parallel sub-makes creating .depend files simultaneously.
-+depend dep:	$(obj).depend
-+		for dir in $(SUBDIRS) $(CPUDIR) $(LDSCRIPT_MAKEFILE_DIR) ; do \
-+			$(MAKE) -C $(SRCTREE)/$$dir _depend ; done
- .PHONY: depend
- 
- # defines $(obj).depend target
--- 
-1.8.2.1
-
recipes-bsp/u-boot/files/add-fgnu89-inline-option-for-gcc5.patch deleted +0 -39
deleted file mode 100644
index cfe1c07..0000000
@@ -1,39 +0,0 @@
-Upstream-Status: Pending
-
-From 4d4fcfc41288134b48b72ac69702f68741d7631f Mon Sep 17 00:00:00 2001
-From: Ting Liu <[email protected]>
-Date: Tue, 28 Jul 2015 16:29:26 +0800
-Subject: [PATCH] add -fgnu89-inline option for gcc5
-
-Fix the below build issues:
-  CC      drivers/crypto/fsl/sec.o
-  LD      arch/powerpc/cpu/mpc8xxx/built-in.o
-arch/powerpc/cpu/mpc8xxx/fdt.o: In function `ld_le16':
-../arch/powerpc/include/asm/byteorder.h:12: multiple definition of `ld_le16'
-
-The problem is the change of the default C standard from gnu89 to gnu11
-which changes the semantics of 'inline'. The issue is described in the
-Porting guide at https://gcc.gnu.org/gcc-5/porting_to.html. Adding the
-'-fgnu89-inline' option fixes the issue.
-
-Signed-off-by: Ting Liu <[email protected]>
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 9995e00..00497cc 100644
---- a/Makefile
-+++ b/Makefile
-@@ -349,7 +349,7 @@ CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
- 
- KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__
- 
--KBUILD_CFLAGS   := -Wall -Wstrict-prototypes \
-+KBUILD_CFLAGS   := -fgnu89-inline -Wall -Wstrict-prototypes \
- 		   -Wno-format-security \
- 		   -fno-builtin -ffreestanding
- KBUILD_AFLAGS   := -D__ASSEMBLY__
--- 
-1.9.2
-
recipes-bsp/u-boot/files/gcc5.patch deleted +0 -91

91 lines not on this page · raw message

recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb renamed from recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb +2 -4
similarity index 97%
rename from recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
rename to recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb
index 4a89b30..55e5700 100644
@@ -21,12 +21,10 @@ DEPENDS_append_qoriq-ppc = " boot-format-native"
 
 inherit deploy
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git;branch=sdk-v1.9.x \
-    file://gcc5.patch \
-    file://add-fgnu89-inline-option-for-gcc5.patch \
+SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git;branch=sdk-v2.0.x \
     file://fix-build-error-under-gcc6.patch \
 "
-SRCREV = "eb3d4fc5759729d7af71ac31ebf6a7e8d0e79da3"
+SRCREV = "a9b437f50e2051f8d42ec9e1a6df52de4bc00e1e"
 
 python () {
     if d.getVar("TCMODE", True) == "external-fsl":
Signature · 1 line
1.9.2
#13 lore raw

PATCH 13/13 t2080: switch to new UBOOT_CONFIG format

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/t2080qds-64b.conf |  9 +++++----
 conf/machine/t2080qds.conf     |  8 ++++----
 conf/machine/t2080rdb-64b.conf | 11 ++++++-----
 conf/machine/t2080rdb.conf     |  8 ++++----
 4 files changed, 19 insertions(+), 17 deletions(-)
conf/machine/t2080qds-64b.conf +5 -4
index 83babf5..b4316f6 100644
@@ -8,18 +8,19 @@
 require conf/machine/include/e6500-64b.inc
 
 SOC_FAMILY = "t2:t2080"
+
 UBOOT_CONFIG ??= "sdcard spi nand srio-pcie-boot secure-boot nor"
 UBOOT_CONFIG[nor] = "T2080QDS_config"
-UBOOT_CONFIG[sdcard] = "T2080QDS_SDCARD_config"
-UBOOT_CONFIG[spi] = "T2080QDS_SPIFLASH_config"
-UBOOT_CONFIG[nand] = "T2080QDS_NAND_config"
+UBOOT_CONFIG[sdcard] = "T2080QDS_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T2080QDS_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[nand] = "T2080QDS_NAND_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[srio-pcie-boot] = "T2080QDS_SRIO_PCIE_BOOT_config"
 UBOOT_CONFIG[secure-boot] = "T2080QDS_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t2080qds.dtb t2080qds-usdpaa.dtb \
     t2080qds-usdpaa-shared-interfaces.dtb \
 "
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw hypervisor hv-cfg"
conf/machine/t2080qds.conf +4 -4
index 790a60e..a14b6c9 100644
@@ -8,11 +8,12 @@
 require conf/machine/include/e6500.inc
 
 SOC_FAMILY = "t2:t2080"
+
 UBOOT_CONFIG ??= "sdcard spi nand srio-pcie-boot secure-boot nor"
 UBOOT_CONFIG[nor] = "T2080QDS_config"
-UBOOT_CONFIG[sdcard] = "T2080QDS_SDCARD_config"
-UBOOT_CONFIG[spi] = "T2080QDS_SPIFLASH_config"
-UBOOT_CONFIG[nand] = "T2080QDS_NAND_config"
+UBOOT_CONFIG[sdcard] = "T2080QDS_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T2080QDS_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[nand] = "T2080QDS_NAND_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[srio-pcie-boot] = "T2080QDS_SRIO_PCIE_BOOT_config"
 UBOOT_CONFIG[secure-boot] = "T2080QDS_SECURE_BOOT_config"
 
@@ -22,5 +23,4 @@ KERNEL_DEVICETREE ?= "t2080qds.dtb t2080qds-usdpaa.dtb \
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw lib64-hypervisor hv-cfg"
conf/machine/t2080rdb-64b.conf +6 -5
index 9421603..868056e 100644
@@ -8,18 +8,19 @@
 require conf/machine/include/e6500-64b.inc
 
 SOC_FAMILY = "t2:t2080"
-UBOOT_CONFIG ??= "nor sdcard spi nand srio-pcie-boot secure-boot nor"
+
+UBOOT_CONFIG ??= "sdcard spi nand srio-pcie-boot secure-boot nor"
 UBOOT_CONFIG[nor] = "T2080RDB_config"
-UBOOT_CONFIG[sdcard] = "T2080RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T2080RDB_SPIFLASH_config"
-UBOOT_CONFIG[nand] = "T2080RDB_NAND_config"
+UBOOT_CONFIG[sdcard] = "T2080RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T2080RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[nand] = "T2080RDB_NAND_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[srio-pcie-boot] = "T2080RDB_SRIO_PCIE_BOOT_config"
 UBOOT_CONFIG[secure-boot] = "T2080RDB_SECURE_BOOT_config"
+
 KERNEL_DEVICETREE ?= "t2080rdb.dtb t2080rdb-usdpaa.dtb \
     t2080rdb-usdpaa-shared-interfaces.dtb \
 "
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw hypervisor hv-cfg"
conf/machine/t2080rdb.conf +4 -4
index d1f8c09..7b0e241 100644
@@ -8,11 +8,12 @@
 require conf/machine/include/e6500.inc
 
 SOC_FAMILY = "t2:t2080"
+
 UBOOT_CONFIG ??= "sdcard spi nand srio-pcie-boot secure-boot nor"
 UBOOT_CONFIG[nor] = "T2080RDB_config"
-UBOOT_CONFIG[sdcard] = "T2080RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "T2080RDB_SPIFLASH_config"
-UBOOT_CONFIG[nand] = "T2080RDB_NAND_config"
+UBOOT_CONFIG[sdcard] = "T2080RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[spi] = "T2080RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
+UBOOT_CONFIG[nand] = "T2080RDB_NAND_config,,u-boot-with-spl-pbl.bin"
 UBOOT_CONFIG[srio-pcie-boot] = "T2080RDB_SRIO_PCIE_BOOT_config"
 UBOOT_CONFIG[secure-boot] = "T2080RDB_SECURE_BOOT_config"
 
@@ -22,5 +23,4 @@ KERNEL_DEVICETREE ?= "t2080rdb.dtb t2080rdb-usdpaa.dtb \
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw lib64-hypervisor hv-cfg"
Signature · 1 line
1.9.2
#5 lore raw

PATCH 5/13 p2041rdb: switch to new UBOOT_CONFIG format

In reply to [email protected]

From: Ting Liu <[email protected]>

---
 conf/machine/p2041rdb.conf | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
conf/machine/p2041rdb.conf +5 -3
index 41de1d4..aaa3804 100644
@@ -8,12 +8,14 @@
 require conf/machine/include/e500mc.inc
 
 SOC_FAMILY = "p2041"
+
 UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
 UBOOT_CONFIG[nor] = "P2041RDB_config"
-UBOOT_CONFIG[nand] = "P2041RDB_NAND_config"
+UBOOT_CONFIG[nand] = "P2041RDB_NAND_config,,u-boot.pbl"
 UBOOT_CONFIG[secure-boot] = "P2041RDB_SECURE_BOOT_config"
-UBOOT_CONFIG[sdcard] = "P2041RDB_SDCARD_config"
-UBOOT_CONFIG[spi] = "P2041RDB_SPIFLASH_config"
+UBOOT_CONFIG[sdcard] = "P2041RDB_SDCARD_config,,u-boot.pbl"
+UBOOT_CONFIG[spi] = "P2041RDB_SPIFLASH_config,,u-boot.pbl"
+
 KERNEL_DEVICETREE ?= "p2041rdb.dtb p2041rdb-usdpaa.dtb \
     p2041rdb-usdpaa-shared-interfaces.dtb \
 "
Signature · 1 line
1.9.2
#14 lore raw
In reply to [email protected]

Thank you Ting.

In which of the following repos will we find these patches? Please give us an idea when they will be applied and which branch(es).

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/

https://github.com/Freescale/meta-freescale.git

git://git.freescale.com/yocto/meta-freescale.git

Thank you,

Bob

Quoted 71 lines · On 06/17/2016 03:36 AM, [email protected] wrote:

From: Ting Liu <[email protected]>

These changes need the below oe-core patch to be applied:
http://patchwork.openembedded.org/patch/124953/

Ting Liu (13):
remove not supported e500v2 machines
u-boot-qoriq: upgrade to 2016.01
u-boot-qoriq: switch to new UBOOT_CONFIG format
u-boot-qoriq: sync with u-boot.inc from poky
p2041rdb: switch to new UBOOT_CONFIG format
p3041ds: switch to new UBOOT_CONFIG format
p4080ds: switch to new UBOOT_CONFIG format
p5020: switch to new UBOOT_CONFIG format
p5040: switch to new UBOOT_CONFIG format
t1023: switch to new UBOOT_CONFIG format
t1024: switch to new UBOOT_CONFIG format
t104x: switch to new UBOOT_CONFIG format
t2080: switch to new UBOOT_CONFIG format

  conf/machine/bsc9131rdb.conf                       |  20 ----
  conf/machine/bsc9132qds.conf                       |  32 ------
  conf/machine/p1010rdb.conf                         |  29 ------
  conf/machine/p1020rdb.conf                         |  20 ----
  conf/machine/p1021rdb.conf                         |  27 -----
  conf/machine/p1022ds.conf                          |  36 -------
  conf/machine/p1023rdb.conf                         |  18 ----
  conf/machine/p1025twr.conf                         |  20 ----
  conf/machine/p2020rdb.conf                         |  24 -----
  conf/machine/p2041rdb.conf                         |   8 +-
  conf/machine/p3041ds.conf                          |   8 +-
  conf/machine/p4080ds.conf                          |   6 +-
  conf/machine/p5020ds-64b.conf                      |   9 +-
  conf/machine/p5020ds.conf                          |  10 +-
  conf/machine/p5040ds-64b.conf                      |   8 +-
  conf/machine/p5040ds.conf                          |   8 +-
  conf/machine/t1023rdb-64b.conf                     |  11 +-
  conf/machine/t1023rdb.conf                         |  11 +-
  conf/machine/t1024rdb-64b.conf                     |   8 +-
  conf/machine/t1024rdb.conf                         |   8 +-
  conf/machine/t1040d4rdb-64b.conf                   |   8 +-
  conf/machine/t1040d4rdb.conf                       |   8 +-
  conf/machine/t1042d4rdb-64b.conf                   |   8 +-
  conf/machine/t1042d4rdb.conf                       |   8 +-
  conf/machine/t2080qds-64b.conf                     |   9 +-
  conf/machine/t2080qds.conf                         |   8 +-
  conf/machine/t2080rdb-64b.conf                     |  11 +-
  conf/machine/t2080rdb.conf                         |   8 +-
  ...5xx-u-boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch |  77 --------------
  .../u-boot/files/Fix-the-depend-race-issue.patch   |  38 -------
  .../files/add-fgnu89-inline-option-for-gcc5.patch  |  39 -------
  recipes-bsp/u-boot/files/gcc5.patch                |  91 -----------------
  recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb         | 113 ---------------------
  recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb         |  74 ++++++++++++++
  34 files changed, 171 insertions(+), 650 deletions(-)

delete mode 100644 conf/machine/bsc9131rdb.conf
delete mode 100644 conf/machine/bsc9132qds.conf
delete mode 100644 conf/machine/p1010rdb.conf
delete mode 100644 conf/machine/p1020rdb.conf
delete mode 100644 conf/machine/p1021rdb.conf
delete mode 100644 conf/machine/p1022ds.conf
delete mode 100644 conf/machine/p1023rdb.conf
delete mode 100644 conf/machine/p1025twr.conf
delete mode 100644 conf/machine/p2020rdb.conf
delete mode 100644 recipes-bsp/u-boot/files/0001-u-boot-mpc85xx-u-boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch delete mode 100644 recipes-bsp/u-boot/files/Fix-the-depend-race-issue.patch
delete mode 100644 recipes-bsp/u-boot/files/add-fgnu89-inline-option-for-gcc5.patch delete mode 100644 recipes-bsp/u-boot/files/gcc5.patch
delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
create mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb

author
#15 lore raw

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/
master branch

Quoted 100 lines

-----Original Message-----
From: Robert E. Cochran [mailto:[email protected]]
Sent: Tuesday, June 21, 2016 9:47 PM
To: Ting Liu <[email protected]>
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH 00/13] QorIQ SDK V2.0 patches - Part I

Thank you Ting.

In which of the following repos will we find these patches? Please give us an idea when they will be applied and which branch(es).

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/

https://github.com/Freescale/meta-freescale.git

git://git.freescale.com/yocto/meta-freescale.git

Thank you,

Bob

Quoted 55 lines · On 06/17/2016 03:36 AM, [email protected] wrote:

From: Ting Liu <[email protected]>

These changes need the below oe-core patch to be applied:
http://patchwork.openembedded.org/patch/124953/

Ting Liu (13):
remove not supported e500v2 machines
u-boot-qoriq: upgrade to 2016.01
u-boot-qoriq: switch to new UBOOT_CONFIG format
u-boot-qoriq: sync with u-boot.inc from poky
p2041rdb: switch to new UBOOT_CONFIG format
p3041ds: switch to new UBOOT_CONFIG format
p4080ds: switch to new UBOOT_CONFIG format
p5020: switch to new UBOOT_CONFIG format
p5040: switch to new UBOOT_CONFIG format
t1023: switch to new UBOOT_CONFIG format
t1024: switch to new UBOOT_CONFIG format
t104x: switch to new UBOOT_CONFIG format
t2080: switch to new UBOOT_CONFIG format

  conf/machine/bsc9131rdb.conf                       |  20 ----
  conf/machine/bsc9132qds.conf                       |  32 ------
  conf/machine/p1010rdb.conf                         |  29 ------
  conf/machine/p1020rdb.conf                         |  20 ----
  conf/machine/p1021rdb.conf                         |  27 -----
  conf/machine/p1022ds.conf                          |  36 -------
  conf/machine/p1023rdb.conf                         |  18 ----
  conf/machine/p1025twr.conf                         |  20 ----
  conf/machine/p2020rdb.conf                         |  24 -----
  conf/machine/p2041rdb.conf                         |   8 +-
  conf/machine/p3041ds.conf                          |   8 +-
  conf/machine/p4080ds.conf                          |   6 +-
  conf/machine/p5020ds-64b.conf                      |   9 +-
  conf/machine/p5020ds.conf                          |  10 +-
  conf/machine/p5040ds-64b.conf                      |   8 +-
  conf/machine/p5040ds.conf                          |   8 +-
  conf/machine/t1023rdb-64b.conf                     |  11 +-
  conf/machine/t1023rdb.conf                         |  11 +-
  conf/machine/t1024rdb-64b.conf                     |   8 +-
  conf/machine/t1024rdb.conf                         |   8 +-
  conf/machine/t1040d4rdb-64b.conf                   |   8 +-
  conf/machine/t1040d4rdb.conf                       |   8 +-
  conf/machine/t1042d4rdb-64b.conf                   |   8 +-
  conf/machine/t1042d4rdb.conf                       |   8 +-
  conf/machine/t2080qds-64b.conf                     |   9 +-
  conf/machine/t2080qds.conf                         |   8 +-
  conf/machine/t2080rdb-64b.conf                     |  11 +-
  conf/machine/t2080rdb.conf                         |   8 +-
  ...5xx-u-boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch |  77 --------------
  .../u-boot/files/Fix-the-depend-race-issue.patch   |  38 -------
  .../files/add-fgnu89-inline-option-for-gcc5.patch  |  39 -------
  recipes-bsp/u-boot/files/gcc5.patch                |  91 -----------------
  recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb         | 113 ---------------------
  recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb         |  74 ++++++++++++++
  34 files changed, 171 insertions(+), 650 deletions(-)
Quoted 10 lines

delete mode 100644 conf/machine/bsc9131rdb.conf
delete mode 100644 conf/machine/bsc9132qds.conf
delete mode 100644 conf/machine/p1010rdb.conf
delete mode 100644 conf/machine/p1020rdb.conf
delete mode 100644 conf/machine/p1021rdb.conf
delete mode 100644 conf/machine/p1022ds.conf
delete mode 100644 conf/machine/p1023rdb.conf
delete mode 100644 conf/machine/p1025twr.conf
delete mode 100644 conf/machine/p2020rdb.conf
delete mode 100644 recipes-bsp/u-boot/files/0001-u-boot-mpc85xx-u-

boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch

Quoted 1 line

delete mode 100644 recipes-bsp/u-boot/files/Fix-the-depend-race-

issue.patch

Quoted 1 line

delete mode 100644 recipes-bsp/u-boot/files/add-fgnu89-inline-option-

for-gcc5.patch

Quoted 4 lines

delete mode 100644 recipes-bsp/u-boot/files/gcc5.patch delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb create mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb

#16 lore raw

The patches are under review and testing, those patches plan to be merged by the end of this month.

BTW, the u-boot related patches depend on http://patchwork.openembedded.org/patch/124953/.

Best Regards,

Zhenhua

Quoted 119 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Ting Liu
Sent: Wednesday, June 22, 2016 10:00 AM
To: Robert E. Cochran <[email protected]>
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH 00/13] QorIQ SDK V2.0 patches - Part I

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/
master branch

Quoted 91 lines

-----Original Message-----
From: Robert E. Cochran [mailto:[email protected]]
Sent: Tuesday, June 21, 2016 9:47 PM
To: Ting Liu <[email protected]>
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH 00/13] QorIQ SDK V2.0 patches - Part I

Thank you Ting.

In which of the following repos will we find these patches? Please give us an idea when they will be applied and which branch(es).

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/

https://github.com/Freescale/meta-freescale.git

git://git.freescale.com/yocto/meta-freescale.git

Thank you,

Bob

Quoted 55 lines · On 06/17/2016 03:36 AM, [email protected] wrote:

From: Ting Liu <[email protected]>

These changes need the below oe-core patch to be applied:
http://patchwork.openembedded.org/patch/124953/

Ting Liu (13):
remove not supported e500v2 machines
u-boot-qoriq: upgrade to 2016.01
u-boot-qoriq: switch to new UBOOT_CONFIG format
u-boot-qoriq: sync with u-boot.inc from poky
p2041rdb: switch to new UBOOT_CONFIG format
p3041ds: switch to new UBOOT_CONFIG format
p4080ds: switch to new UBOOT_CONFIG format
p5020: switch to new UBOOT_CONFIG format
p5040: switch to new UBOOT_CONFIG format
t1023: switch to new UBOOT_CONFIG format
t1024: switch to new UBOOT_CONFIG format
t104x: switch to new UBOOT_CONFIG format
t2080: switch to new UBOOT_CONFIG format

  conf/machine/bsc9131rdb.conf                       |  20 ----
  conf/machine/bsc9132qds.conf                       |  32 ------
  conf/machine/p1010rdb.conf                         |  29 ------
  conf/machine/p1020rdb.conf                         |  20 ----
  conf/machine/p1021rdb.conf                         |  27 -----
  conf/machine/p1022ds.conf                          |  36 -------
  conf/machine/p1023rdb.conf                         |  18 ----
  conf/machine/p1025twr.conf                         |  20 ----
  conf/machine/p2020rdb.conf                         |  24 -----
  conf/machine/p2041rdb.conf                         |   8 +-
  conf/machine/p3041ds.conf                          |   8 +-
  conf/machine/p4080ds.conf                          |   6 +-
  conf/machine/p5020ds-64b.conf                      |   9 +-
  conf/machine/p5020ds.conf                          |  10 +-
  conf/machine/p5040ds-64b.conf                      |   8 +-
  conf/machine/p5040ds.conf                          |   8 +-
  conf/machine/t1023rdb-64b.conf                     |  11 +-
  conf/machine/t1023rdb.conf                         |  11 +-
  conf/machine/t1024rdb-64b.conf                     |   8 +-
  conf/machine/t1024rdb.conf                         |   8 +-
  conf/machine/t1040d4rdb-64b.conf                   |   8 +-
  conf/machine/t1040d4rdb.conf                       |   8 +-
  conf/machine/t1042d4rdb-64b.conf                   |   8 +-
  conf/machine/t1042d4rdb.conf                       |   8 +-
  conf/machine/t2080qds-64b.conf                     |   9 +-
  conf/machine/t2080qds.conf                         |   8 +-
  conf/machine/t2080rdb-64b.conf                     |  11 +-
  conf/machine/t2080rdb.conf                         |   8 +-
  ...5xx-u-boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch |  77 --------------
  .../u-boot/files/Fix-the-depend-race-issue.patch   |  38 -------
  .../files/add-fgnu89-inline-option-for-gcc5.patch  |  39 -------
  recipes-bsp/u-boot/files/gcc5.patch                |  91 -----------------
  recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb         | 113 ---------------------
  recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb         |  74 ++++++++++++++
  34 files changed, 171 insertions(+), 650 deletions(-)
Quoted 10 lines

delete mode 100644 conf/machine/bsc9131rdb.conf
delete mode 100644 conf/machine/bsc9132qds.conf
delete mode 100644 conf/machine/p1010rdb.conf
delete mode 100644 conf/machine/p1020rdb.conf
delete mode 100644 conf/machine/p1021rdb.conf
delete mode 100644 conf/machine/p1022ds.conf
delete mode 100644 conf/machine/p1023rdb.conf
delete mode 100644 conf/machine/p1025twr.conf
delete mode 100644 conf/machine/p2020rdb.conf
delete mode 100644 recipes-bsp/u-boot/files/0001-u-boot-mpc85xx-u-

Quoted 10 lines

boot-.lds-remove-_GLOBAL_OFFSET_TAB.patch

Quoted 1 line

delete mode 100644 recipes-bsp/u-boot/files/Fix-the-depend-race-

issue.patch

Quoted 2 lines

delete mode 100644
recipes-bsp/u-boot/files/add-fgnu89-inline-option-

for-gcc5.patch

Quoted 4 lines

delete mode 100644 recipes-bsp/u-boot/files/gcc5.patch delete mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb create mode 100644 recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb

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