Commit c553a59d965cc02d8308e3501cf508c8f55ed5c4

Authored by Eric Lee
1 parent 2c1f50da65

Fix U-Boot Ethernet PHY Address

Showing 1 changed file with 1 additions and 1 deletions Inline Diff

recipes-bsp/u-boot/u-boot-smarcimx8m_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_8m-imx_v2018.03_4.14.98_2.0.0_ga" 15 SRCBRANCH = "smarc_8m-imx_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 = "cb67adbef58c4cdd926a330bd70e9994a4c70017" 17 SRCREV = "53644801c560db5f7f98e7ef9a0c7a6ad559375f"
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