Commit 1bb8843cdc3ab5651278c2aa4ac44563fd954e1e

Authored by Eric Lee
1 parent 18a3103e76
Exists in master

Make changes to hardware revision 00E0

Showing 2 changed files with 2 additions and 2 deletions Inline Diff

recipes-bsp/u-boot/u-boot-smarcfimx7_2018.03.bb
1 # Copyright (C) 2013-2016 Freescale Semiconductor 1 # Copyright (C) 2013-2016 Freescale Semiconductor
2 # Copyright 2017-2018 NXP 2 # Copyright 2017-2018 NXP
3 3
4 DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards." 4 DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards."
5 require recipes-bsp/u-boot/u-boot.inc 5 require recipes-bsp/u-boot/u-boot.inc
6 inherit pythonnative 6 inherit pythonnative
7 7
8 PROVIDES += "u-boot" 8 PROVIDES += "u-boot"
9 DEPENDS_append = " python dtc-native" 9 DEPENDS_append = " python dtc-native"
10 10
11 LICENSE = "GPLv2+" 11 LICENSE = "GPLv2+"
12 LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" 12 LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
13 13
14 UBOOT_SRC ?= "${EMB_UBOOT_MIRROR};protocol=ssh" 14 UBOOT_SRC ?= "${EMB_UBOOT_MIRROR};protocol=ssh"
15 SRCBRANCH = "smarc-imx7_v2018.03_4.14.98_2.0.0_ga" 15 SRCBRANCH = "smarc-imx7_v2018.03_4.14.98_2.0.0_ga"
16 SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" 16 SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"
17 SRCREV = "afba354e268d048f9ccea126db89da5af75b45f6" 17 SRCREV = "65b2903f5f2e3abdfa2c03d24e6d2ff9362aa9f8"
18 18
19 S = "${WORKDIR}/git" 19 S = "${WORKDIR}/git"
20 20
21 inherit fsl-u-boot-localversion 21 inherit fsl-u-boot-localversion
22 22
23 LOCALVERSION ?= "-${SRCBRANCH}" 23 LOCALVERSION ?= "-${SRCBRANCH}"
24 24
25 BOOT_TOOLS = "imx-boot-tools" 25 BOOT_TOOLS = "imx-boot-tools"
26 26
27 do_deploy_append_mx8m () { 27 do_deploy_append_mx8m () {
28 # Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8mq-XX.dtb for mkimage to generate boot binary 28 # Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8mq-XX.dtb for mkimage to generate boot binary
29 if [ -n "${UBOOT_CONFIG}" ] 29 if [ -n "${UBOOT_CONFIG}" ]
30 then 30 then
31 for config in ${UBOOT_MACHINE}; do 31 for config in ${UBOOT_MACHINE}; do
32 i=$(expr $i + 1); 32 i=$(expr $i + 1);
33 for type in ${UBOOT_CONFIG}; do 33 for type in ${UBOOT_CONFIG}; do
34 j=$(expr $j + 1); 34 j=$(expr $j + 1);
35 if [ $j -eq $i ] 35 if [ $j -eq $i ]
36 then 36 then
37 install -d ${DEPLOYDIR}/${BOOT_TOOLS} 37 install -d ${DEPLOYDIR}/${BOOT_TOOLS}
38 install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} 38 install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
39 install -m 0777 ${B}/${config}/tools/mkimage ${DEPLOYDIR}/${BOOT_TOOLS}/mkimage_uboot 39 install -m 0777 ${B}/${config}/tools/mkimage ${DEPLOYDIR}/${BOOT_TOOLS}/mkimage_uboot
40 install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG} 40 install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG}
41 fi 41 fi
42 done 42 done
43 unset j 43 unset j
44 done 44 done
45 unset i 45 unset i
46 fi 46 fi
47 47
48 } 48 }
49 49
50 PACKAGE_ARCH = "${MACHINE_ARCH}" 50 PACKAGE_ARCH = "${MACHINE_ARCH}"
51 COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 51 COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
52 52
53 UBOOT_NAME_mx6 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" 53 UBOOT_NAME_mx6 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
54 UBOOT_NAME_mx7 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" 54 UBOOT_NAME_mx7 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
55 UBOOT_NAME_mx8 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" 55 UBOOT_NAME_mx8 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
56 56
recipes-kernel/linux/linux-smarcfimx7_4.14.98.bb
1 # Copyright (C) 2013-2016 Freescale Semiconductor 1 # Copyright (C) 2013-2016 Freescale Semiconductor
2 # Copyright 2017 NXP 2 # Copyright 2017 NXP
3 # Copyright 2018-2019 Embedian, Inc. 3 # Copyright 2018-2019 Embedian, Inc.
4 # Released under the MIT license (see COPYING.MIT for the terms) 4 # Released under the MIT license (see COPYING.MIT for the terms)
5 5
6 SUMMARY = "Linux kernel provided and supported by Embedian" 6 SUMMARY = "Linux kernel provided and supported by Embedian"
7 DESCRIPTION = "Linux kernel provided and supported by Embedian (based on the kernel imx_4.14.98_2.0.0_ga provided by NXP) \ 7 DESCRIPTION = "Linux kernel provided and supported by Embedian (based on the kernel imx_4.14.98_2.0.0_ga provided by NXP) \
8 with focus on i.MX Family SOMs. It includes support for many IPs such as GPU, VPU and IPU." 8 with focus on i.MX Family SOMs. It includes support for many IPs such as GPU, VPU and IPU."
9 9
10 require recipes-kernel/linux/linux-imx.inc 10 require recipes-kernel/linux/linux-imx.inc
11 11
12 DEPENDS += "lzop-native bc-native" 12 DEPENDS += "lzop-native bc-native"
13 13
14 DEFAULT_PREFERENCE = "1" 14 DEFAULT_PREFERENCE = "1"
15 15
16 SRCBRANCH = "smarc-imx7_4.14.98_2.0.0_ga" 16 SRCBRANCH = "smarc-imx7_4.14.98_2.0.0_ga"
17 17
18 LOCALVERSION = "-${SRCBRANCH}" 18 LOCALVERSION = "-${SRCBRANCH}"
19 KERNEL_DEFCONFIG = "${S}/arch/arm/configs/smarcfimx7_defconfig" 19 KERNEL_DEFCONFIG = "${S}/arch/arm/configs/smarcfimx7_defconfig"
20 20
21 KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git" 21 KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git"
22 SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}" 22 SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}"
23 SRCREV = "82e694ff81168f9c8b0d4227be269dc322c543c2" 23 SRCREV = "71a19f7e0d1d107830edd1d878ff56c8bc65a4da"
24 24
25 S = "${WORKDIR}/git" 25 S = "${WORKDIR}/git"
26 26
27 addtask copy_defconfig after do_unpack before do_preconfigure 27 addtask copy_defconfig after do_unpack before do_preconfigure
28 do_copy_defconfig () { 28 do_copy_defconfig () {
29 install -d ${B} 29 install -d ${B}
30 mkdir -p ${B} 30 mkdir -p ${B}
31 cp ${KERNEL_DEFCONFIG} ${B}/.config 31 cp ${KERNEL_DEFCONFIG} ${B}/.config
32 cp ${KERNEL_DEFCONFIG} ${B}/../defconfig 32 cp ${KERNEL_DEFCONFIG} ${B}/../defconfig
33 } 33 }
34 34
35 pkg_postinst_kernel-devicetree_append_mx8 () { 35 pkg_postinst_kernel-devicetree_append_mx8 () {
36 cd $D/boot 36 cd $D/boot
37 ln -s ${DEFAULT_DTB}.dtb ${UBOOT_DTB_NAME} 37 ln -s ${DEFAULT_DTB}.dtb ${UBOOT_DTB_NAME}
38 } 38 }
39 39
40 COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 40 COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
41 41