Commit 58013d7f15d2e057de53e8384b8b19a1e79b66bb
1 parent
d714f4db5f
Exists in
8m_4.19.35_1.0.0_warrior
Make changes to hardware revision 00F0: Replace Ethernet PHY by RTL8211FD-CG
Showing 2 changed files with 2 additions and 2 deletions Inline Diff
recipes-bsp/u-boot/u-boot-smarcimx8m_2019.04.bb
1 | # Copyright (C) 2013-2016 Freescale Semiconductor | 1 | # Copyright (C) 2013-2016 Freescale Semiconductor |
2 | # Copyright 2017-2019 NXP | 2 | # Copyright 2017-2019 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-common.inc | 5 | require recipes-bsp/u-boot/u-boot-common.inc |
6 | require recipes-bsp/u-boot/u-boot.inc | 6 | require recipes-bsp/u-boot/u-boot.inc |
7 | inherit pythonnative | 7 | inherit pythonnative |
8 | 8 | ||
9 | PROVIDES += "u-boot" | 9 | PROVIDES += "u-boot" |
10 | DEPENDS_append = " python dtc-native" | 10 | DEPENDS_append = " python dtc-native" |
11 | 11 | ||
12 | LICENSE = "GPLv2+" | 12 | LICENSE = "GPLv2+" |
13 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 13 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
14 | 14 | ||
15 | UBOOT_SRC ?= "${EMB_UBOOT_MIRROR};protocol=ssh" | 15 | UBOOT_SRC ?= "${EMB_UBOOT_MIRROR};protocol=ssh" |
16 | SRCBRANCH = "smarc_8m-imx_v2019.04_4.19.35_1.1.0" | 16 | SRCBRANCH = "smarc_8m-imx_v2019.04_4.19.35_1.1.0" |
17 | SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" | 17 | SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" |
18 | SRCREV = "98ddf5324018cd67bc8c65e706b1c9ba23b53533" | 18 | SRCREV = "437727199bf07f2c77d8b6bbca7eabe7621994d7" |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
21 | 21 | ||
22 | inherit fsl-u-boot-localversion | 22 | inherit fsl-u-boot-localversion |
23 | 23 | ||
24 | LOCALVERSION ?= "-${SRCBRANCH}" | 24 | LOCALVERSION ?= "-${SRCBRANCH}" |
25 | 25 | ||
26 | BOOT_TOOLS = "imx-boot-tools" | 26 | BOOT_TOOLS = "imx-boot-tools" |
27 | 27 | ||
28 | do_deploy_append_mx8m () { | 28 | do_deploy_append_mx8m () { |
29 | # Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8mq-XX.dtb for mkimage to generate boot binary | 29 | # Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8mq-XX.dtb for mkimage to generate boot binary |
30 | if [ -n "${UBOOT_CONFIG}" ] | 30 | if [ -n "${UBOOT_CONFIG}" ] |
31 | then | 31 | then |
32 | for config in ${UBOOT_MACHINE}; do | 32 | for config in ${UBOOT_MACHINE}; do |
33 | i=$(expr $i + 1); | 33 | i=$(expr $i + 1); |
34 | for type in ${UBOOT_CONFIG}; do | 34 | for type in ${UBOOT_CONFIG}; do |
35 | j=$(expr $j + 1); | 35 | j=$(expr $j + 1); |
36 | if [ $j -eq $i ] | 36 | if [ $j -eq $i ] |
37 | then | 37 | then |
38 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 38 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
39 | install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} | 39 | install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} |
40 | install -m 0777 ${B}/${config}/tools/mkimage ${DEPLOYDIR}/${BOOT_TOOLS}/mkimage_uboot | 40 | install -m 0777 ${B}/${config}/tools/mkimage ${DEPLOYDIR}/${BOOT_TOOLS}/mkimage_uboot |
41 | install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG} | 41 | install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG} |
42 | fi | 42 | fi |
43 | done | 43 | done |
44 | unset j | 44 | unset j |
45 | done | 45 | done |
46 | unset i | 46 | unset i |
47 | fi | 47 | fi |
48 | 48 | ||
49 | } | 49 | } |
50 | 50 | ||
51 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 51 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
52 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 52 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" |
53 | 53 | ||
54 | UBOOT_NAME_mx6 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" | 54 | UBOOT_NAME_mx6 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" |
55 | UBOOT_NAME_mx7 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" | 55 | UBOOT_NAME_mx7 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" |
56 | UBOOT_NAME_mx8 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" | 56 | UBOOT_NAME_mx8 = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" |
57 | 57 |
recipes-kernel/linux/linux-smarcimx8m_4.19.35.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.19.35_1.1.0 provided by NXP) \ | 7 | DESCRIPTION = "Linux kernel provided and supported by Embedian (based on the kernel imx_4.19.35_1.1.0 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 | LICENSE = "GPLv2" | 12 | LICENSE = "GPLv2" |
13 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" |
14 | DEPENDS += "lzop-native bc-native" | 14 | DEPENDS += "lzop-native bc-native" |
15 | 15 | ||
16 | DEFAULT_PREFERENCE = "1" | 16 | DEFAULT_PREFERENCE = "1" |
17 | 17 | ||
18 | SRCBRANCH = "smarc_8m_imx_4.19.35_1.1.0" | 18 | SRCBRANCH = "smarc_8m_imx_4.19.35_1.1.0" |
19 | 19 | ||
20 | LOCALVERSION = "-${SRCBRANCH}" | 20 | LOCALVERSION = "-${SRCBRANCH}" |
21 | KERNEL_DEFCONFIG = "${S}/arch/arm64/configs/smarcimx8m_defconfig" | 21 | KERNEL_DEFCONFIG = "${S}/arch/arm64/configs/smarcimx8m_defconfig" |
22 | DEFAULT_DTB = "fsl-smarcimx8mq" | 22 | DEFAULT_DTB = "fsl-smarcimx8mq" |
23 | 23 | ||
24 | KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git" | 24 | KERNEL_SRC ?= "git@git.embedian.com:developer/smarc-fsl-linux-kernel.git;protocol=git" |
25 | SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}" | 25 | SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${SRCBRANCH}" |
26 | SRCREV = "314102822fd9da8a7b29e20f801b258727cb3249" | 26 | SRCREV = "a24d6757302c3b6a254a5bc408f91f1d2110c7a4" |
27 | 27 | ||
28 | S = "${WORKDIR}/git" | 28 | S = "${WORKDIR}/git" |
29 | 29 | ||
30 | addtask copy_defconfig after do_patch before do_preconfigure | 30 | addtask copy_defconfig after do_patch before do_preconfigure |
31 | do_copy_defconfig () { | 31 | do_copy_defconfig () { |
32 | cp ${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig | 32 | cp ${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig |
33 | } | 33 | } |
34 | 34 | ||
35 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 35 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" |
36 | EXTRA_OEMAKE_append_mx8 = " ARCH=arm64" | 36 | EXTRA_OEMAKE_append_mx8 = " ARCH=arm64" |
37 | 37 |