Skip to contentSkip to conversation

t1024: update dtb

PATCH New [email protected] 1 participant 3 messages Aug 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 t1024: update dtb

From: Ting Liu <[email protected]>

* remove capwap dtb as it is not supported now
* add usdpaa-shared-interfaces dtb

---
 conf/machine/t1024rdb-64b.conf | 4 +++-
 conf/machine/t1024rdb.conf     | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
conf/machine/t1024rdb-64b.conf +3 -1
index 6f575ad..569fa88 100644
@@ -16,7 +16,9 @@ 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_DEVICETREE ?= "t1024rdb.dtb t1024rdb-usdpaa.dtb \
+    t1024rdb-usdpaa-shared-interfaces.dtb \
+"
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
conf/machine/t1024rdb.conf +3 -1
index cda31da..49572fa 100644
@@ -16,7 +16,9 @@ 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_DEVICETREE ?= "t1024rdb.dtb t1024rdb-usdpaa.dtb \
+    t1024rdb-usdpaa-shared-interfaces.dtb \
+"
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
Signature · 1 line
1.9.2
#1 lore raw

PATCH 2/3 t104x: build dsar dtb

From: Ting Liu <[email protected]>

---
 conf/machine/t1040d4rdb-64b.conf | 1 +
 conf/machine/t1040d4rdb.conf     | 1 +
 conf/machine/t1042d4rdb-64b.conf | 1 +
 conf/machine/t1042d4rdb.conf     | 1 +
 4 files changed, 4 insertions(+)
conf/machine/t1040d4rdb-64b.conf +1 -0
index b78c8f2..68ce8eb 100644
@@ -17,6 +17,7 @@ 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-dsar.dtb \
     t1040d4rdb-usdpaa-lag.dtb t1040d4rdb-usdpaa-shared-interfaces.dtb \
 "
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"
conf/machine/t1040d4rdb.conf +1 -0
index 0896887..3673160 100644
@@ -17,6 +17,7 @@ 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-dsar.dtb \
     t1040d4rdb-usdpaa-lag.dtb t1040d4rdb-usdpaa-shared-interfaces.dtb \
 "
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig"
conf/machine/t1042d4rdb-64b.conf +1 -0
index 961423e..42d5ca6 100644
@@ -17,6 +17,7 @@ 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-dsar.dtb \
     t1042d4rdb-usdpaa-shared-interfaces.dtb \
 "
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"
conf/machine/t1042d4rdb.conf +1 -0
index 3950831..00931d4 100644
@@ -17,6 +17,7 @@ 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-dsar.dtb \
     t1042d4rdb-usdpaa-shared-interfaces.dtb \
 "
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet32_fmanv3l_smp_defconfig"
Signature · 1 line
1.9.2
#2 lore raw

PATCH 3/3 adjust UBOOT_CONFIG order to let nor as the last one

In reply to [email protected]

From: Ting Liu <[email protected]>

The symlink u-boot.bin and u-boot-${MACHINE}.bin will be linked to binary of the last UBOOT_CONFIG. Put nor u-boot as the last one.

---
 conf/machine/b4860qds-64b.conf | 5 ++---
 conf/machine/b4860qds.conf     | 5 ++---
 conf/machine/c293pcie.conf     | 2 +-
 conf/machine/t4160qds-64b.conf | 5 +----
 conf/machine/t4160qds.conf     | 3 ---
 conf/machine/t4240qds-64b.conf | 4 +---
 conf/machine/t4240qds.conf     | 4 +---
 conf/machine/t4240rdb-64b.conf | 2 --
 conf/machine/t4240rdb.conf     | 2 --
 9 files changed, 8 insertions(+), 24 deletions(-)
conf/machine/b4860qds-64b.conf +2 -3
index 6ace643..b3ef4e6 100644
@@ -9,7 +9,8 @@
 require conf/machine/include/e6500-64b.inc
 
 SOC_FAMILY = "b4:b4860"
-UBOOT_CONFIG ??= "nor secure-boot"
+
+UBOOT_CONFIG ??= "secure-boot nor"
 UBOOT_CONFIG[nor] = "B4860QDS_config"
 UBOOT_CONFIG[secure-boot] = "B4860QDS_SECURE_BOOT_config"
 
@@ -19,7 +20,5 @@ KERNEL_DEVICETREE ?= "b4860qds.dtb b4860qds-usdpaa.dtb \
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw hypervisor hv-cfg"
-
 USE_VT ?= "0"
conf/machine/b4860qds.conf +2 -3
index b8b4623..eb8ea1a 100644
@@ -9,7 +9,8 @@
 require conf/machine/include/e6500.inc
 
 SOC_FAMILY = "b4:b4860"
-UBOOT_CONFIG ??= "nor secure-boot"
+
+UBOOT_CONFIG ??= "secure-boot nor"
 UBOOT_CONFIG[nor] = "B4860QDS_config"
 UBOOT_CONFIG[secure-boot] = "B4860QDS_SECURE_BOOT_config"
 
@@ -19,7 +20,5 @@ KERNEL_DEVICETREE ?= "b4860qds.dtb b4860qds-usdpaa.dtb \
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw lib64-hypervisor hv-cfg"
-
 USE_VT ?= "0"
conf/machine/c293pcie.conf +1 -1
index a6ddb4c..82c7153 100644
@@ -10,7 +10,7 @@ require conf/machine/include/e500v2.inc
 SOC_FAMILY = "c293pcie"
 BOOTFORMAT_CONFIG = "config_ddr3_512m_c29xpcie_800M.dat"
 
-UBOOT_CONFIG ??= "nor spi secboot spi-secboot"
+UBOOT_CONFIG ??= "spi secboot spi-secboot nor"
 UBOOT_CONFIG[nor] = "C29XPCIE_config"
 UBOOT_CONFIG[spi] = "C29XPCIE_SPIFLASH_config"
 UBOOT_CONFIG[secboot] = "C29XPCIE_NOR_SECBOOT_config"
conf/machine/t4160qds-64b.conf +1 -4
index d18d900..75e4d0f 100644
@@ -9,16 +9,13 @@ require conf/machine/include/e6500-64b.inc
 
 SOC_FAMILY = "t4:t4160"
 
-UBOOT_CONFIG ??= "nor secure-boot"
+UBOOT_CONFIG ??= "secure-boot nor"
 UBOOT_CONFIG[nor] = "T4160QDS_config"
 UBOOT_CONFIG[secure-boot] = "T4160QDS_SECURE_BOOT_config"
 
-
 KERNEL_DEVICETREE ?= "t4240qds.dtb t4240qds-usdpaa.dtb"
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode"
-
 USE_VT ?= "0"
conf/machine/t4160qds.conf +0 -3
index 48dacb3..9c79ad5 100644
@@ -13,12 +13,9 @@ UBOOT_CONFIG ??= "secure-boot nor"
 UBOOT_CONFIG[nor] = "T4160QDS_config"
 UBOOT_CONFIG[secure-boot] = "T4160QDS_SECURE_BOOT_config"
 
-
 KERNEL_DEVICETREE ?= "t4240qds.dtb t4240qds-usdpaa.dtb"
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode"
-
 USE_VT ?= "0"
conf/machine/t4240qds-64b.conf +1 -3
index 1b960c2..c5fbe49 100644
@@ -9,7 +9,7 @@ require conf/machine/include/e6500-64b.inc
 
 SOC_FAMILY = "t4:t4240"
 
-UBOOT_CONFIG ??= "nor secure-boot"
+UBOOT_CONFIG ??= "secure-boot nor"
 UBOOT_CONFIG[nor] = "T4240QDS_config"
 UBOOT_CONFIG[secure-boot] = "T4240QDS_SECURE_BOOT_config"
 
@@ -19,7 +19,5 @@ KERNEL_DEVICETREE ?= "t4240qds.dtb t4240qds-usdpaa.dtb \
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw hypervisor hv-cfg"
-
 USE_VT ?= "0"
conf/machine/t4240qds.conf +1 -3
index 2840ac6..d8ca3cf 100644
@@ -9,7 +9,7 @@ require conf/machine/include/e6500.inc
 
 SOC_FAMILY = "t4:t4240"
 
-UBOOT_CONFIG ??= "nor secure-boot"
+UBOOT_CONFIG ??= "secure-boot nor"
 UBOOT_CONFIG[nor] = "T4240QDS_config"
 UBOOT_CONFIG[secure-boot] = "T4240QDS_SECURE_BOOT_config"
 
@@ -19,7 +19,5 @@ KERNEL_DEVICETREE ?= "t4240qds.dtb t4240qds-usdpaa.dtb \
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw lib64-hypervisor hv-cfg"
-
 USE_VT ?= "0"
conf/machine/t4240rdb-64b.conf +0 -2
index 6399c94..c9a2da6 100644
@@ -18,7 +18,5 @@ KERNEL_DEVICETREE ?= "t4240rdb.dtb t4240rdb-usdpaa.dtb \
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw hypervisor hv-cfg"
-
 USE_VT ?= "0"
conf/machine/t4240rdb.conf +0 -2
index 1e51a40..fa4c0b0 100644
@@ -18,7 +18,5 @@ KERNEL_DEVICETREE ?= "t4240rdb.dtb t4240rdb-usdpaa.dtb \
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 EXTRA_IMAGEDEPENDS += "fm-ucode rcw lib64-hypervisor hv-cfg"
-
 USE_VT ?= "0"
Signature · 1 line
1.9.2