New kernel linux-wandboard version 4.1.15_1.1.0_ga changed device tree name adding board revision on file name. The new names are:
- imx6dl-wandboard-revb1 - imx6dl-wandboard-revc1 - imx6q-wandboard-revb1 - imx6q-wandboard-revc1 Add condition to set correct fdt name based on board_rev and board_name. Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br> --- include/configs/wandboard.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h index 29b4be3..801be39 100644 --- a/include/configs/wandboard.h +++ b/include/configs/wandboard.h @@ -147,10 +147,14 @@ "fi; " \ "setenv bootargs ${bootargs} ${fbmem}\0" \ "findfdt="\ - "if test $board_rev = MX6Q ; then " \ - "setenv fdtfile imx6q-wandboard.dtb; fi; " \ - "if test $board_rev = MX6DL ; then " \ - "setenv fdtfile imx6dl-wandboard.dtb; fi; " \ + "if test $board_rev = MX6Q && test $board_name = B1 ; then " \ + "setenv fdtfile imx6q-wandboard-revb1.dtb; fi; " \ + "if test $board_rev = MX6Q && test $board_name = C1 ; then " \ + "setenv fdtfile imx6q-wandboard-revc1.dtb; fi; " \ + "if test $board_rev = MX6DL && test $board_name = B1; then " \ + "setenv fdtfile imx6dl-wandboard-revb1.dtb; fi; " \ + "if test $board_rev = MX6DL && test $board_name = C1; then " \ + "setenv fdtfile imx6dl-wandboard-revc1.dtb; fi; " \ "if test $fdtfile = undefined; then " \ "echo WARNING: Could not determine dtb to use; fi; \0" \ "kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \ -- 2.1.4 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale