]> code.ossystems Code Review - meta-freescale.git/commitdiff
rework machines to use dtb file in KERNEL_DEVICETREE variable
authorTing Liu <b28495@freescale.com>
Tue, 20 Aug 2013 07:14:19 +0000 (07:14 +0000)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Tue, 20 Aug 2013 09:50:04 +0000 (17:50 +0800)
The linux-dtb.inc has been rework to use the Linux kernel build system
to generate the DeviceTree binaries so now KERNEL_DEVICETREE variable
should has the /target/ name, not the file path.

Signed-off-by: Ting Liu <b28495@freescale.com>
25 files changed:
meta-fsl-ppc/conf/machine/b4420qds-64b.conf
meta-fsl-ppc/conf/machine/b4420qds.conf
meta-fsl-ppc/conf/machine/b4860qds-64b.conf
meta-fsl-ppc/conf/machine/b4860qds.conf
meta-fsl-ppc/conf/machine/bsc9131rdb.conf
meta-fsl-ppc/conf/machine/bsc9132qds.conf
meta-fsl-ppc/conf/machine/p1010rdb.conf
meta-fsl-ppc/conf/machine/p1020rdb.conf
meta-fsl-ppc/conf/machine/p1021rdb.conf
meta-fsl-ppc/conf/machine/p1022ds.conf
meta-fsl-ppc/conf/machine/p1023rdb.conf
meta-fsl-ppc/conf/machine/p1025twr.conf
meta-fsl-ppc/conf/machine/p2020ds.conf
meta-fsl-ppc/conf/machine/p2020rdb.conf
meta-fsl-ppc/conf/machine/p2041rdb.conf
meta-fsl-ppc/conf/machine/p3041ds.conf
meta-fsl-ppc/conf/machine/p4080ds.conf
meta-fsl-ppc/conf/machine/p5020ds-64b.conf
meta-fsl-ppc/conf/machine/p5020ds.conf
meta-fsl-ppc/conf/machine/p5040ds-64b.conf
meta-fsl-ppc/conf/machine/p5040ds.conf
meta-fsl-ppc/conf/machine/t4160qds-64b.conf
meta-fsl-ppc/conf/machine/t4160qds.conf
meta-fsl-ppc/conf/machine/t4240qds-64b.conf
meta-fsl-ppc/conf/machine/t4240qds.conf

index 8ab1d292e3499796731a3187218b3523a60f525e..9b4973e5fb00a7853ba16369594c4c2fcd594f79 100644 (file)
@@ -8,7 +8,7 @@ SOC_FAMILY = "b4420"
 
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "B4420QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4420qds.dts"
+KERNEL_DEVICETREE = "b4420qds.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index fe1a44ef954bdd0337ab9311f58fa80fe60154ee..ef8f97713b6d5b09f682715e25b0908cc2e55810 100644 (file)
@@ -6,7 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "b4420"
 UBOOT_MACHINES ?= "B4420QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4420qds.dts"
+KERNEL_DEVICETREE = "b4420qds.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index 7cd18f9e4332bd93246876a6d554e2dd527a8cf4..06268efb721416df8d429d9377f7a14b39771974 100644 (file)
@@ -7,8 +7,7 @@ require conf/machine/include/soc-family.inc
 SOC_FAMILY = "b4860"
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "B4860QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts \
-       ${S}/arch/powerpc/boot/dts/b4860qds-usdpaa.dts"
+KERNEL_DEVICETREE = "b4860qds.dtb b4860qds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index 1143a65791cc4914f2c46e2aeb29b3de1b8d5b52..6ca29e38becf062b1baf8b7e4867f05cce0a607a 100644 (file)
@@ -6,8 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "b4860"
 UBOOT_MACHINES ?= "B4860QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts \
-       ${S}/arch/powerpc/boot/dts/b4860qds-usdpaa.dts"
+KERNEL_DEVICETREE = "b4860qds.dtb b4860qds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index 39a73e593b59f21e36bcde87cd6e3aaa7b2e59bc..766d5d227deec0872988cc0d2ce3a9964aae665c 100644 (file)
@@ -6,7 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "bsc9131"
 UBOOT_MACHINES ?= "BSC9131RDB_SPIFLASH BSC9131RDB_NAND BSC9131RDB_NAND_SYSCLK100 BSC9131RDB_SPIFLASH_SYSCLK100"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/bsc9131rdb.dts"
+KERNEL_DEVICETREE = "bsc9131rdb.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/bsc913x_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index 90131a97342fcf3c9d559b31a20d9ee812d417b6..9baa49b50f8a03958058128908d3b53d93ef9b90 100644 (file)
@@ -6,7 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "bsc9132"
 UBOOT_MACHINES ?= " BSC9132QDS_NAND_DDRCLK133 BSC9132QDS_NAND_DDRCLK100 BSC9132QDS_NOR_DDRCLK100 BSC9132QDS_NOR_DDRCLK133 BSC9132QDS_SDCARD_DDRCLK100 BSC9132QDS_SDCARD_DDRCLK133 BSC9132QDS_SPIFLASH_DDRCLK100 BSC9132QDS_SPIFLASH_DDRCLK133"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/bsc9132qds.dts"
+KERNEL_DEVICETREE = "bsc9132qds.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/bsc913x_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index ccc5053c9872dcb66259e45c4ac03604c36f8ea6..2ee53fce92da525e00174e05aef91c5304da72e6 100644 (file)
@@ -7,7 +7,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p1010"
 UBOOT_MACHINES ?= "P1010RDB_NAND P1010RDB_NOR"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1010rdb.dts"
+KERNEL_DEVICETREE = "p1010rdb.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_defconfig"
 
 JFFS2_ERASEBLOCK = "0x20000"
index b17213c0af6f5966295b88d9f9674838b72fe26a..ced2d3758ad76938c48f158427a20caf31f75a08 100644 (file)
@@ -8,7 +8,7 @@ SOC_FAMILY = "p1020"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
 UBOOT_MACHINES ?= " P1020RDB-PD P1020RDB-PD_NAND P1020RDB-PD_SDCARD P1020RDB-PD_SPIFLASH"
 
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1020rdb-pd_32b.dts"
+KERNEL_DEVICETREE = "p1020rdb-pd_32b.dtb"
 
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
index c1657a41baefdb73c9664044865b6a869a1d15b8..2e62adb6c586461f148f0387e072b6fa1c80df92 100644 (file)
@@ -8,7 +8,7 @@ require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p1021"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_800M.dat"
 UBOOT_MACHINES ?= "P1021RDB-PC P1021RDB-PC_NAND P1021RDB-PC_SDCARD P1021RDB-PC_SPIFLASH P1021RDB-PC_36BIT P1021RDB-PC_36BIT_SPIFLASH P1021RDB-PC_36BIT_NAND P1021RDB-PC_36BIT_SDCARD"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1021rdb-pc_32b.dts"
+KERNEL_DEVICETREE = "p1021rdb-pc_32b.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x20000"
index f604ea1f0df5b6af3891a343b742b6da3aaf0051..624353fba1414bfea805c1f908514fa175bd3397 100644 (file)
@@ -7,7 +7,7 @@ require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p1022"
 BOOTFORMAT_CONFIG = "config_ddr3_2gb_p1022ds.dat"
 UBOOT_MACHINES ?= "P1022DS P1022DS_NAND P1022DS_SPIFLASH P1022DS_SDCARD P1022DS_36BIT P1022DS_36BIT_SPIFLASH P1022DS_36BIT_NAND P1022DS_36BIT_SDCARD"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1022ds_32b.dts"
+KERNEL_DEVICETREE = "p1022ds_32b.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
index e591e09458850b8ae5eab54bdf9384aea61f41b9..3422cbfddaab507f00cb3f1965008d120f0cd45c 100644 (file)
@@ -6,7 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p1023"
 UBOOT_MACHINES ?= "P1023RDB"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1023rdb.dts"
+KERNEL_DEVICETREE = "p1023rdb.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/p1023rds_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index d1d1db0df8e89beb17b1871114f89e1ad7831ce5..286ec6938204b4882bb5be7afa612da4849c5c7d 100644 (file)
@@ -8,7 +8,7 @@ require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p1025"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_667M.dat"
 UBOOT_MACHINES ?= "TWR-P1025"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1025twr_32b.dts"
+KERNEL_DEVICETREE = "p1025twr_32b.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x20000"
index 9ca161743397007596e70305aa95def1967cb4be..a69e62cd278dd277ab13abeae0e19a662d339f02 100644 (file)
@@ -7,7 +7,7 @@ require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p2020"
 BOOTFORMAT_CONFIG = "config_sram_p2020ds.dat"
 UBOOT_MACHINES ?= "P2020DS P2020DS_36BIT P2020DS_DDR2 P2020DS_SDCARD P2020DS_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2020ds.dts"
+KERNEL_DEVICETREE = "p2020ds.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x20000"
index b703b9f50443a6cb87d06d897a69d4da558e7855..b9d95903db682ac9a27788b8f4353d04986b630f 100644 (file)
@@ -8,7 +8,7 @@ require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p2020"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_64bit_p2020rdb_pc.dat"
 UBOOT_MACHINES ?= " P2020RDB-PC P2020RDB-PC_NAND P2020RDB-PC_SDCARD P2020RDB-PC_SPIFLASH P2020RDB-PC_36BIT P2020RDB-PC_36BIT_SPIFLASH P2020RDB-PC_36BIT_NAND P2020RDB-PC_36BIT_SDCARD"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2020rdb-pc_32b.dts"
+KERNEL_DEVICETREE = "p2020rdb-pc_32b.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x20000"
index 2f96ce6bc1acbf43b972d1a6ae7ab2c6fdd1b776..bc6764f81c1d555b9f7dd6c372230b1fe0f03b23 100644 (file)
@@ -6,8 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p2041"
 UBOOT_MACHINES ?= "P2041RDB P2041RDB_NAND P2041RDB_SECURE_BOOT P2041RDB_SDCARD P2041RDB_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2041rdb.dts \
-       ${S}/arch/powerpc/boot/dts/p2041rdb-usdpaa.dts"
+KERNEL_DEVICETREE = "p2041rdb.dtb p2041rdb-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index 6fb80e143ac034d8d8e32431a5db7551fdbff4c2..ced9590656ef55c8e3f85e967b9eaedaa886cc72 100644 (file)
@@ -6,8 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p3041"
 UBOOT_MACHINES ?= "P3041DS P3041DS_NAND P3041DS_SECURE_BOOT P3041DS_SDCARD P3041DS_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p3041ds.dts \
-       ${S}/arch/powerpc/boot/dts/p3041ds-usdpaa.dts"
+KERNEL_DEVICETREE = "p3041ds.dtb p3041ds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index daa929a187cadf0cbb53f17374ff1b4eb6702eb0..6f4a89e11ff77a411cd42ebdbdad2ec1fd807a80 100644 (file)
@@ -6,8 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p4080"
 UBOOT_MACHINES ?= "P4080DS P4080DS_SECURE_BOOT P4080DS_SDCARD P4080DS_SPIFLASH "
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p4080ds.dts \
-       ${S}/arch/powerpc/boot/dts/p4080ds-usdpaa.dts"
+KERNEL_DEVICETREE = "p4080ds.dtb p4080ds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index e67ad1eda5392692d72263f83ed45d1e8e153094..968deaa72d9296e1ca7c37a053836c7e62fb8e91 100644 (file)
@@ -7,8 +7,7 @@ require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p5020"
 # TODO: fix 32bit build of u-boot for p5020ds-64b
 UBOOT_MACHINES ?= "P5020DS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5020ds.dts \
-       ${S}/arch/powerpc/boot/dts/p5020ds-usdpaa.dts"
+KERNEL_DEVICETREE = "p5020ds.dtb p5020ds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index d4ce3d39e3b098134809e7d0bdaa06795bd73d8b..1a4055a09f8aac8870d9fc5d91a4ff09e15979fb 100644 (file)
@@ -6,8 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p5020"
 UBOOT_MACHINES ?= "P5020DS P5020DS_NAND P5020DS_SECURE_BOOT P5020DS_SDCARD P5020DS_SPIFLASH "
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5020ds.dts \
-       ${S}/arch/powerpc/boot/dts/p5020ds-usdpaa.dts"
+KERNEL_DEVICETREE = "p5020ds.dtb p5020ds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index 2a885b7c6e2e409165ed9a38e9e44af911875054..4fdc3d6ecd371194d70078d112e373f17b648e47 100644 (file)
@@ -6,8 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p5040"
 UBOOT_MACHINES ?= "P5040DS  P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
-       ${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
+KERNEL_DEVICETREE = "p5040ds.dtb p5040ds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index c7d253ff228e346d30268f8f205a9aeb9c782458..53a3f095422c1c7a23888123ca28d71d903ce717 100644 (file)
@@ -6,8 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p5040"
 UBOOT_MACHINES ?= "P5040DS P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
-       ${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
+KERNEL_DEVICETREE = "p5040ds.dtb p5040ds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index e8d4475a506a24bc50dead3bc68f1c7602f3b020..af07526b65294c631873e70ef85d5595718aa746 100644 (file)
@@ -7,8 +7,7 @@ require conf/machine/include/soc-family.inc
 SOC_FAMILY = "t4160"
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "T4160QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
-       ${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
+KERNEL_DEVICETREE = "t4240qds.dtb t4240qds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index 71b4efb7413c7ae9343e0d12b322dedf8bc46b2e..150bbcd33c061594dc7c564892b0901feced3c98 100644 (file)
@@ -6,8 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "t4160"
 UBOOT_MACHINES ?= "T4160QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
-       ${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
+KERNEL_DEVICETREE = "t4240qds.dtb t4240qds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index 31345b1e6a02e4d9ddad06d341b817a0947495a5..24a53ddaa843913be889f29dc331c8db8bed5756 100644 (file)
@@ -7,8 +7,7 @@ require conf/machine/include/soc-family.inc
 SOC_FAMILY = "t4240"
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "T4240QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
-       ${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
+KERNEL_DEVICETREE = "t4240qds.dtb t4240qds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
index a348fe1d19f504d06798ad3c17eadaaa08df2ef6..8066e2848aee6ac5b89394ac7b833769c740b4f1 100644 (file)
@@ -6,8 +6,7 @@ require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "t4240"
 UBOOT_MACHINES ?= "T4240QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
-       ${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
+KERNEL_DEVICETREE = "t4240qds.dtb t4240qds-usdpaa.dtb"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev1_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"