diff options
Diffstat (limited to 'bsp/meta-freescale-3rdparty/recipes-bsp')
51 files changed, 1871 insertions, 0 deletions
diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm4329-nvram-config.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm4329-nvram-config.bb new file mode 100644 index 00000000..b03b5659 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm4329-nvram-config.bb @@ -0,0 +1,8 @@ +DESCRIPTION = "Nvram support for Broadcom BCM4329 wifi/bt device" +SECTION = "kernel" + +include broadcom-nvram-config.inc + +CHIP_MODEL = "4329" + +COMPATIBLE_MACHINE = "(wandboard|cubox-i)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm4330-nvram-config.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm4330-nvram-config.bb new file mode 100644 index 00000000..f812d5f2 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm4330-nvram-config.bb @@ -0,0 +1,8 @@ +DESCRIPTION = "Nvram support for Broadcom BCM4330 wifi/bt device" +SECTION = "kernel" + +include broadcom-nvram-config.inc + +CHIP_MODEL = "4330" + +COMPATIBLE_MACHINE = "(cubox-i|nitrogen6x-lite|wandboard|imx6sl-warp)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm4339-nvram-config.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm4339-nvram-config.bb new file mode 100644 index 00000000..bfd5ecf0 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm4339-nvram-config.bb @@ -0,0 +1,8 @@ +DESCRIPTION = "Nvram support for Broadcom BCM4339 wifi/bt device" +SECTION = "kernel" + +include broadcom-nvram-config.inc + +CHIP_MODEL = "4339" + +COMPATIBLE_MACHINE = "(imx7d-pico)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm43430-nvram-config.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm43430-nvram-config.bb new file mode 100644 index 00000000..8f99b411 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/bcm43430-nvram-config.bb @@ -0,0 +1,8 @@ +DESCRIPTION = "Nvram support for Broadcom 43430 wifi/bt device" +SECTION = "kernel" + +include broadcom-nvram-config.inc + +CHIP_MODEL = "43430" + +COMPATIBLE_MACHINE = "(imx7s-warp)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/broadcom-nvram-config.inc b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/broadcom-nvram-config.inc new file mode 100644 index 00000000..afc96b53 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/broadcom-nvram-config.inc @@ -0,0 +1,31 @@ +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc" + +SRC_URI = " \ + file://LICENCE.broadcom_bcm43xx \ +" + +S = "${WORKDIR}" +BRCM_FWDIR = "${nonarch_base_libdir}/firmware/brcm" +CHIP_MODEL ?= "Invalid" + +do_install() { + install -d ${D}${BRCM_FWDIR} + + cp -r ${WORKDIR}/brcmfmac${CHIP_MODEL}-sdio.txt \ + ${D}${BRCM_FWDIR} +} + +SRC_URI += " \ + file://brcmfmac${CHIP_MODEL}-sdio.txt \ +" + +FILES_${PN} = " \ + ${BRCM_FWDIR}/brcmfmac${CHIP_MODEL}-sdio.txt \ +" + +RDEPENDS_${PN} = " \ + linux-firmware-bcm${CHIP_MODEL} \ +" + +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/LICENCE.broadcom_bcm43xx b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/LICENCE.broadcom_bcm43xx new file mode 100644 index 00000000..ff26fdd7 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/LICENCE.broadcom_bcm43xx @@ -0,0 +1,65 @@ +SOFTWARE LICENSE AGREEMENT + +The accompanying software in binary code form (“Software”), is licensed to you, +or, if you are accepting on behalf of an entity, the entity and its affiliates +exercising rights hereunder (“Licensee”) subject to the terms of this software +license agreement (“Agreement”), unless Licensee and Broadcom Corporation +(“Broadcom”) execute a separate written software license agreement governing +use of the Software. ANY USE, REPRODUCTION, OR DISTRIBUTION OF THE SOFTWARE +CONSTITUTES LICENSEE’S ACCEPTANCE OF THIS AGREEMENT. + +1. License. Subject to the terms and conditions of this Agreement, +Broadcom hereby grants to Licensee a limited, non-exclusive, non-transferable, +royalty-free license: (i) to use and integrate the Software with any other +software; and (ii) to reproduce and distribute the Software complete, +unmodified, and as provided by Broadcom, solely for use with Broadcom +proprietary integrated circuit product(s) sold by Broadcom with which the +Software was designed to be used, or their successors. + +2. Restrictions. Licensee shall distribute Software with a copy of this +Agreement. Licensee shall not remove, efface or obscure any copyright or +trademark notices from the Software. Reproductions of the Broadcom copyright +notice shall be included with each copy of the Software, except where such +Software is embedded in a manner not readily accessible to the end user. +Licensee shall not: (i) use, license, sell or otherwise distribute the Software +except as provided in this Agreement; (ii) attempt to modify in any way, +reverse engineer, decompile or disassemble any portion of the Software; or +(iii) use the Software or other material in violation of any applicable law or +regulation, including but not limited to any regulatory agency. This Agreement +shall automatically terminate upon Licensee’s failure to comply with any of the +terms of this Agreement. In such event, Licensee will destroy all copies of the +Software and its component parts. + +3. Ownership. The Software is licensed and not sold. Title to and +ownership of the Software, including all intellectual property rights thereto, +and any portion thereof remain with Broadcom or its licensors. Licensee hereby +covenants that it will not assert any claim that the Software created by or for +Broadcom infringe any intellectual property right owned or controlled by +Licensee. + +4. Disclaimer. THE SOFTWARE IS OFFERED “AS IS,” AND BROADCOM PROVIDES AND +GRANTS AND LICENSEE RECEIVES NO SUPPORT AND NO WARRANTIES OF ANY KIND, EXPRESS +OR IMPLIED, BY STATUTE, COMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. +BROADCOM SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A SPECIFIC PURPOSE, OR NONINFRINGEMENT CONCERNING THE SOFTWARE OR +ANY UPGRADES TO OR DOCUMENTATION FOR THE SOFTWARE. WITHOUT LIMITATION OF THE +ABOVE, BROADCOM GRANTS NO WARRANTY THAT THE SOFTWARE IS ERROR-FREE OR WILL +OPERATE WITHOUT INTERRUPTION, AND GRANTS NO WARRANTY REGARDING ITS USE OR THE +RESULTS THEREFROM INCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY, OR +RELIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM +OR ANY OF ITS LICENSORS HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER FOR BREACH OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR +OTHERWISE, ARISING OUT OF THIS AGREEMENT OR USE, REPRODUCTION, OR DISTRIBUTION +OF THE SOFTWARE, INCLUDING BUT NOT LIMITED TO LOSS OF DATA AND LOSS OF PROFITS, +EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THESE +LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF ANY +LIMITED REMEDY. + +5. Export Laws. LICENSEE UNDERSTANDS AND AGREES THAT THE SOFTWARE IS +SUBJECT TO UNITED STATES AND OTHER APPLICABLE EXPORT-RELATED LAWS AND +REGULATIONS AND THAT LICENSEE MAY NOT EXPORT, RE-EXPORT OR TRANSFER THE +SOFTWARE OR ANY DIRECT PRODUCT OF THE SOFTWARE EXCEPT AS PERMITTED UNDER THOSE +LAWS. WITHOUT LIMITING THE FOREGOING, EXPORT, RE-EXPORT, OR TRANSFER OF THE +SOFTWARE TO CUBA, IRAN, NORTH KOREA, SUDAN, AND SYRIA IS PROHIBITED. + diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4329-sdio.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4329-sdio.txt new file mode 100644 index 00000000..d0fa0f55 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4329-sdio.txt @@ -0,0 +1,70 @@ +# bcm4329 NVRAM +# $Copyright (C) 2008 Broadcom Corporation$ +# $id$ + +sromrev=3 +vendid=0x14e4 +devid=0x432f +boardtype=0x53e + +boardrev=0x41 + +#boardflags=0x1200 +boardflags=0x200 + +# Specify the xtalfreq if it is otherthan 38.4MHz +xtalfreq=37400 + +aa2g=3 +aa5g=0 + +ag0=255 +#tri2g=0x64 + +# 11g paparams +pa0b0=5542,5542,5542 +pa0b1=64244,64244,64244 +pa0b2=65202,65202,65202 + +pa0itssit=62 +pa0maxpwr=74 +opo=0 +mcs2gpo0=0x6666 +mcs2gpo1=0x6666 + +# 11g rssi params +rssismf2g=0xa,0xa,0xa +rssismc2g=0xb,0xb,0xb +rssisav2g=0x3,0x3,0x3 +bxa2g=0 + +# country code +ccode=ALL +cctl=0x0 +cckdigfilttype=0 +ofdmdigfilttype=1 + +rxpo2g=0 + +boardnum=1 +macaddr=00:90:4c:c5:00:34 + +# xtal pu and pd time control variable +# pu time is driver default (0x1501) +#r13t=0x1501 + +####### +nocrc=1 + +#for mfgc +otpimagesize=182 + +# sdio extra configs +hwhdr=0x05ffff031030031003100000 + +#This generates empty F1, F2 and F3 tuple chains, and may be used if the host SDIO stack does not require the standard tuples. +#RAW1=80 02 fe ff + +#This includes the standard FUNCID and FUNCE tuples in the F1, F2, F3 and common CIS. +RAW1=80 32 fe 21 02 0c 00 22 2a 01 01 00 00 c5 0 e6 00 00 00 00 00 40 00 00 ff ff 80 00 00 00 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 20 04 D0 2 29 43 21 02 0c 00 22 04 00 20 00 5A +nvramver=4.218.214.0 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4330-sdio.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4330-sdio.txt new file mode 100644 index 00000000..09a044f7 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/cubox-i/brcmfmac4330-sdio.txt @@ -0,0 +1,118 @@ +manfid=0x2d0 +prodid=0x0532 +vendid=0x14e4 +devid=0x4360 +boardtype=0x0532 +boardrev=0x20 +boardflags=0x10080201 + +nocrc=1 +xtalfreq=37400 +xtalmode=0x20,0x4,0 +boardnum=22 +macaddr=00:90:4c:c5:12:38 +ag0=252 +ag1=252 +aa2g=1 +aa5g=1 +ccode=EU +regrev=5 + +#for BT-coexistence +btc_params80=0 +btc_params6=10 +btc_params8=10000 + +sd_gpout=0 +# sd_oobonly=1 +muxenab=0x10 + +# 2G PA param_B42R 110927 +pa0b0=0x12E4 +pa0b1=0xFE09 +pa0b2=0xFF9A +#pa0itssit=62 +rssismf2g=0xa +rssismc2g=0x3 +rssisav2g=0x7 + +# rssi params for 5GHz B42R_110803 +#rssismf5g=0x4 +rssismf5g=0xa +rssismc5g=0x7 +rssisav5g=0x1 +#PA parameters for lower band +pa1lob0=0x144F +pa1lob1=0xFD6B +pa1lob2=0xFF3B +#PA parameters for midband +pa1b0=0x139C +pa1b1=0xFD87 +pa1b2=0xFF4F +#PA parameters for high band +pa1hib0=0x12CA +pa1hib1=0xFD9A +pa1hib2=0xFF4E + +# 2G PA offset +maxp2ga0=64 +sromrev=3 +cckpo=0 +ofdm2gpo=0x66666666 +mcs2gpo0=0xaaaa +mcs2gpo1=0xaaaa + +# 5G PA offset +maxp5ga0=66 +maxp5gla0=66 +maxp5gha0=66 +ofdm5gpo=0x22222222 +ofdm5glpo=0x11111111 +ofdm5ghpo=0x22222222 +mcs5gpo0=0x6666 +mcs5gpo1=0x6666 +mcs5glpo0=0x5555 +mcs5glpo1=0x5555 +mcs5ghpo0=0x6666 +mcs5ghpo1=0x6666 + +cckPwrOffset=4 +cckdigfilttype=22 +ofdmdigfilttype=2 +extpagain5g=2 +#wl0id=0x431b + +# For 2GHz Tx EVM/SM +rfreg033=0x19 +rfreg033_cck=0x1d +pacalidx2g=65 +dacrate2g=160 +txalpfbyp2g=1 +bphyscale=17 + +# 5GHz LOFT and IQ CAL +txgaintbl5g=1 +txiqlopapu5g=1 +txiqlopag5g=0x10 +iqlocalidx5g=24 + +# 5GHz Noise CAL parameter +noise_cal_po_5g=5 +noise_cal_enable_5g=0 + +# 2GHz RxPER at low rates +noise_cal_ref_2g=56 +noise_cal_po_bias_2g=-4 +noise_cal_enable_2g=1 + +# Max input level on a-band +triso5g=9 + +# Tx power control, especially temp. +tssitime=1 + +#fc+1.7GHz Spur Elimination +loidacmode5g=1 + +swctrlmap_2g=0x84048404, 0x82028202, 0x84048404, 0x010202, 0x1ff +swctrlmap_5g=0xC040C040, 0xB030A020, 0xA020C040, 0x010A02, 0x2F8 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/imx6sl-warp/brcmfmac4330-sdio.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/imx6sl-warp/brcmfmac4330-sdio.txt new file mode 100644 index 00000000..09a044f7 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/imx6sl-warp/brcmfmac4330-sdio.txt @@ -0,0 +1,118 @@ +manfid=0x2d0 +prodid=0x0532 +vendid=0x14e4 +devid=0x4360 +boardtype=0x0532 +boardrev=0x20 +boardflags=0x10080201 + +nocrc=1 +xtalfreq=37400 +xtalmode=0x20,0x4,0 +boardnum=22 +macaddr=00:90:4c:c5:12:38 +ag0=252 +ag1=252 +aa2g=1 +aa5g=1 +ccode=EU +regrev=5 + +#for BT-coexistence +btc_params80=0 +btc_params6=10 +btc_params8=10000 + +sd_gpout=0 +# sd_oobonly=1 +muxenab=0x10 + +# 2G PA param_B42R 110927 +pa0b0=0x12E4 +pa0b1=0xFE09 +pa0b2=0xFF9A +#pa0itssit=62 +rssismf2g=0xa +rssismc2g=0x3 +rssisav2g=0x7 + +# rssi params for 5GHz B42R_110803 +#rssismf5g=0x4 +rssismf5g=0xa +rssismc5g=0x7 +rssisav5g=0x1 +#PA parameters for lower band +pa1lob0=0x144F +pa1lob1=0xFD6B +pa1lob2=0xFF3B +#PA parameters for midband +pa1b0=0x139C +pa1b1=0xFD87 +pa1b2=0xFF4F +#PA parameters for high band +pa1hib0=0x12CA +pa1hib1=0xFD9A +pa1hib2=0xFF4E + +# 2G PA offset +maxp2ga0=64 +sromrev=3 +cckpo=0 +ofdm2gpo=0x66666666 +mcs2gpo0=0xaaaa +mcs2gpo1=0xaaaa + +# 5G PA offset +maxp5ga0=66 +maxp5gla0=66 +maxp5gha0=66 +ofdm5gpo=0x22222222 +ofdm5glpo=0x11111111 +ofdm5ghpo=0x22222222 +mcs5gpo0=0x6666 +mcs5gpo1=0x6666 +mcs5glpo0=0x5555 +mcs5glpo1=0x5555 +mcs5ghpo0=0x6666 +mcs5ghpo1=0x6666 + +cckPwrOffset=4 +cckdigfilttype=22 +ofdmdigfilttype=2 +extpagain5g=2 +#wl0id=0x431b + +# For 2GHz Tx EVM/SM +rfreg033=0x19 +rfreg033_cck=0x1d +pacalidx2g=65 +dacrate2g=160 +txalpfbyp2g=1 +bphyscale=17 + +# 5GHz LOFT and IQ CAL +txgaintbl5g=1 +txiqlopapu5g=1 +txiqlopag5g=0x10 +iqlocalidx5g=24 + +# 5GHz Noise CAL parameter +noise_cal_po_5g=5 +noise_cal_enable_5g=0 + +# 2GHz RxPER at low rates +noise_cal_ref_2g=56 +noise_cal_po_bias_2g=-4 +noise_cal_enable_2g=1 + +# Max input level on a-band +triso5g=9 + +# Tx power control, especially temp. +tssitime=1 + +#fc+1.7GHz Spur Elimination +loidacmode5g=1 + +swctrlmap_2g=0x84048404, 0x82028202, 0x84048404, 0x010202, 0x1ff +swctrlmap_5g=0xC040C040, 0xB030A020, 0xA020C040, 0x010A02, 0x2F8 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/imx7d-pico/brcmfmac4339-sdio.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/imx7d-pico/brcmfmac4339-sdio.txt new file mode 100644 index 00000000..1ddd9295 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/imx7d-pico/brcmfmac4339-sdio.txt @@ -0,0 +1,99 @@ +#AP6335_NVRAM_V1.5_03112014 +NVRAMRev=$Rev: 410316 $ +sromrev=11 +boardrev=0x1203 +boardtype=0x06c5 +boardflags=0x00000c01 +boardflags2=0x00002000 +boardflags3=0x101188 +macaddr=00:90:4c:c5:12:38 +ccode=0 +regrev=0 +antswitch=0 +pdgain2g=7 +pdgain5g=7 +tworangetssi2g=0 +tworangetssi5g=0 +femctrl=7 +pcieingress_war=15 +vendid=0x14e4 +devid=0x43ae +manfid=0x2d0 +nocrc=1 +otpimagesize=502 +xtalfreq=37400 +extpagain2g=2 +pdetrange2g=2 +extpagain5g=2 +pdetrange5g=2 +rxgains2gelnagaina0=0 +rxgains2gtrisoa0=7 +rxgains2gtrelnabypa0=0 +rxgains5gelnagaina0=0 +rxgains5gtrisoa0=11 +rxgains5gtrelnabypa0=0 +rxchain=1 +txchain=1 +aa2g=1 +aa5g=1 +tssipos5g=0 +tssipos2g=0 +pa2ga0=-161,6269,-723 +pa2gccka0=-116,7568,-852 +pa5ga0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D +pa5gbw40a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D +pa5gbw80a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D +pdoffset40ma0=0 +pdoffset80ma0=0 +pdoffsetcckma0=0 +maxp2ga0=75 +maxp5ga0=64,64,72,72 +cckbw202gpo=0x0000 +cckbw20ul2gpo=0x0 +mcsbw202gpo=0x99445533 +mcsbw402gpo=0x99775533 +dot11agofdmhrbw202gpo=0x2233 +ofdmlrbw202gpo=0x0000 +tssifloor2g=500 +mcsbw205glpo=0x66333330 +mcsbw405glpo=0x66665530 +mcsbw805glpo=0xAA555530 +mcsbw1605glpo=0x99555530 +mcsbw205gmpo=0x99BB5530 +mcsbw405gmpo=0x99BB5530 +mcsbw805gmpo=0xEE555530 +mcsbw1605gmpo=0x99555530 +mcsbw205ghpo=0x99995530 +mcsbw405ghpo=0x99BB5530 +mcsbw805ghpo=0xEE555530 +mcsbw1605ghpo=0x99555530 +mcslr5glpo=0x0000 +mcslr5gmpo=0x0000 +mcslr5ghpo=0x0000 +sb20in40hrrpo=0x0 +sb20in80and160hr5glpo=0x0 +sb40and80hr5glpo=0x0 +sb20in80and160hr5gmpo=0x0 +sb40and80hr5gmpo=0x0 +sb20in80and160hr5ghpo=0x0 +sb40and80hr5ghpo=0x0 +sb20in40lrpo=0x0 +sb20in80and160lr5glpo=0x0 +sb40and80lr5glpo=0x0 +sb20in80and160lr5gmpo=0x0 +sb40and80lr5gmpo=0x0 +sb20in80and160lr5ghpo=0x0 +sb40and80lr5ghpo=0x0 +dot11agduphrpo=0x0 +dot11agduplrpo=0x0 +phycal_tempdelta=25 +cckdigfilttype=2 +pacalidx2g=65 +dacrate2g=160 +swctrlmap_5g=0x00000008,0x00000010,0x00000008,0x000000,0x038 +swctrlmap_2g=0x00000001,0x00000002,0x00000001,0x040002,0x0ff +swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000 +swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000 +rssicorrnorm_c0=3,3 +rssicorrnorm5g_c0=2,3,4,2,3,3,0,1,2,0,1,2 +muxenab=0x10 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/imx7s-warp/brcmfmac43430-sdio.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/imx7s-warp/brcmfmac43430-sdio.txt new file mode 100644 index 00000000..a1dc2035 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/imx7s-warp/brcmfmac43430-sdio.txt @@ -0,0 +1,42 @@ +# 2.4 GHz, 20 MHz BW mode +manfid=0x2d0 +prodid=0x0726 +vendid=0x14e4 +devid=0x43e2 +boardtype=0x0726 +boardrev=0x1202 +boardnum=22 +macaddr=00:90:4c:c5:12:38 +sromrev=11 +boardflags=0x00404201 +boardflags3=0x08000000 +xtalfreq=37400 +nocrc=1 +ag0=0 +aa2g=1 +ccode=ALL +#pa0itssit=0x20 +extpagain2g=0 +pa2ga0=-168,7161,-820 +AvVmid_c0=0x0,0xc8 +cckpwroffset0=5 +maxp2ga0=90 +#txpwrbckof=6 +cckbw202gpo=0 +legofdmbw202gpo=0x66111111 +mcsbw202gpo=0x77711111 +propbw202gpo=0xdd +ofdmdigfilttype=18 +ofdmdigfilttypebe=18 +papdmode=1 +papdvalidtest=1 +pacalidx2g=48 +papdepsoffset=-22 +papdendidx=58 +il0macaddr=00:90:4c:c5:12:38 +wl0id=0x431b +#muxenab=0x10 +#BT COEX deferral limit setting +#btc_params 8 45000 +#btc_params 10 20000 +#spurconfig=0x3 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/nitrogen6x-lite/brcmfmac4330-sdio.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/nitrogen6x-lite/brcmfmac4330-sdio.txt new file mode 100644 index 00000000..de2662fd --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/nitrogen6x-lite/brcmfmac4330-sdio.txt @@ -0,0 +1,79 @@ +# +# Board configuration for Boundary Devices Nitrogen6-Lite +# +manfid=0x2d0 +prodid=0x0547 +vendid=0x14e4 +devid=0x4360 +boardtype=0x05e1 +boardrev=0x1202 +boardflags=0x0080200 +nocrc=1 +xtalfreq=37400 +boardnum=22 +ag0=254 +aa2g=1 +ccode=ALL +pa0itssit=0x20 +pa0b0=5367 +pa0b1=-633 +pa0b2=-158 +rssismf2g=0xa +rssismc2g=0x3 +rssisav2g=0x7 +#rssi params for 5GHz +rssismf5g=0x4 +rssismc5g=0x3 +rssisav5g=0x7 +#PA parameters for lower a-band +pa1lob0=4378 +pa1lob1=-596 +pa1lob2=-180 +#PA parameters for midband +pa1b0=4672 +pa1b1=-603 +pa1b2=-172 +#PA parameters for high band +pa1hib0=4752 +pa1hib1=-609 +pa1hib2=-173 +rxpo5g=0 +maxp2ga0=76 +maxp5ga0=0x42 +maxp5gla0=0x42 +maxp5gha0=0x42 +# 2.4G Tx Power offsets +cck2gpo=0x4444 +ofdm2gpo=0x66666666 +mcs2gpo0=0x8888 +mcs2gpo1=0x8888 +# 5G Tx Power offsets +ofdm5gpo=0x44444444 +ofdm5glpo=0x44444444 +ofdm5ghpo=0x44444444 +mcs5gpo0=0x6666 +mcs5gpo1=0x6666 +mcs5glpo0=0x6666 +mcs5glpo1=0x6666 +mcs5ghpo0=0x6666 +mcs5ghpo1=0x46666 +sromrev=3 +# il0macaddr=00:90:4c:c5:12:38 +wl0id=0x431b +cckPwrOffset=4 +swctrlmap_2g=0x44844484,0x42824282,0x40804484,0x18282,0x1ff +triso5g=0 +swctrlmap_5g=0x00100010,0x20202020,0x20202020,0x14202,0x0f0 +rfreg033=0x19 +rfreg033_cck=0x1f +dacrate2g=160 +dacrate5g=160 +txalpfbyp2g=1 +bphyscale=17 +cckPwrIdxCorr=-15 +pacalidx2g=50 +#pacalidx5g=20 +noise_cal_ref_2g=53 +noise_cal_po_2g=0 +noise_cal_ref_5g=52 +noise_cal_po_5g=5,0,0 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/wandboard/brcmfmac4329-sdio.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/wandboard/brcmfmac4329-sdio.txt new file mode 100644 index 00000000..53e4bba3 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/wandboard/brcmfmac4329-sdio.txt @@ -0,0 +1,70 @@ +# bcm4329 NVRAM file for Wandboard Dual +# $Copyright (C) 2008 Broadcom Corporation$ +# $id$ + +sromrev=3 +vendid=0x14e4 +devid=0x432f +boardtype=0x53e + +boardrev=0x41 + +#boardflags=0x1200 +boardflags=0x200 + +# Specify the xtalfreq if it is otherthan 38.4MHz +xtalfreq=37400 + +aa2g=3 +aa5g=0 + +ag0=255 +#tri2g=0x64 + +# 11g paparams +pa0b0=5542,5542,5542 +pa0b1=64244,64244,64244 +pa0b2=65202,65202,65202 + +pa0itssit=62 +pa0maxpwr=74 +opo=0 +mcs2gpo0=0x6666 +mcs2gpo1=0x6666 + +# 11g rssi params +rssismf2g=0xa,0xa,0xa +rssismc2g=0xb,0xb,0xb +rssisav2g=0x3,0x3,0x3 +bxa2g=0 + +# country code +ccode=ALL +cctl=0x0 +cckdigfilttype=0 +ofdmdigfilttype=1 + +rxpo2g=0 + +boardnum=1 +macaddr=00:90:4c:c5:00:34 + +# xtal pu and pd time control variable +# pu time is driver default (0x1501) +#r13t=0x1501 + +####### +nocrc=1 + +#for mfgc +otpimagesize=182 + +# sdio extra configs +hwhdr=0x05ffff031030031003100000 + +#This generates empty F1, F2 and F3 tuple chains, and may be used if the host SDIO stack does not require the standard tuples. +#RAW1=80 02 fe ff + +#This includes the standard FUNCID and FUNCE tuples in the F1, F2, F3 and common CIS. +RAW1=80 32 fe 21 02 0c 00 22 2a 01 01 00 00 c5 0 e6 00 00 00 00 00 40 00 00 ff ff 80 00 00 00 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 20 04 D0 2 29 43 21 02 0c 00 22 04 00 20 00 5A +nvramver=4.218.214.0 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/wandboard/brcmfmac4330-sdio.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/wandboard/brcmfmac4330-sdio.txt new file mode 100644 index 00000000..09a044f7 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/files/wandboard/brcmfmac4330-sdio.txt @@ -0,0 +1,118 @@ +manfid=0x2d0 +prodid=0x0532 +vendid=0x14e4 +devid=0x4360 +boardtype=0x0532 +boardrev=0x20 +boardflags=0x10080201 + +nocrc=1 +xtalfreq=37400 +xtalmode=0x20,0x4,0 +boardnum=22 +macaddr=00:90:4c:c5:12:38 +ag0=252 +ag1=252 +aa2g=1 +aa5g=1 +ccode=EU +regrev=5 + +#for BT-coexistence +btc_params80=0 +btc_params6=10 +btc_params8=10000 + +sd_gpout=0 +# sd_oobonly=1 +muxenab=0x10 + +# 2G PA param_B42R 110927 +pa0b0=0x12E4 +pa0b1=0xFE09 +pa0b2=0xFF9A +#pa0itssit=62 +rssismf2g=0xa +rssismc2g=0x3 +rssisav2g=0x7 + +# rssi params for 5GHz B42R_110803 +#rssismf5g=0x4 +rssismf5g=0xa +rssismc5g=0x7 +rssisav5g=0x1 +#PA parameters for lower band +pa1lob0=0x144F +pa1lob1=0xFD6B +pa1lob2=0xFF3B +#PA parameters for midband +pa1b0=0x139C +pa1b1=0xFD87 +pa1b2=0xFF4F +#PA parameters for high band +pa1hib0=0x12CA +pa1hib1=0xFD9A +pa1hib2=0xFF4E + +# 2G PA offset +maxp2ga0=64 +sromrev=3 +cckpo=0 +ofdm2gpo=0x66666666 +mcs2gpo0=0xaaaa +mcs2gpo1=0xaaaa + +# 5G PA offset +maxp5ga0=66 +maxp5gla0=66 +maxp5gha0=66 +ofdm5gpo=0x22222222 +ofdm5glpo=0x11111111 +ofdm5ghpo=0x22222222 +mcs5gpo0=0x6666 +mcs5gpo1=0x6666 +mcs5glpo0=0x5555 +mcs5glpo1=0x5555 +mcs5ghpo0=0x6666 +mcs5ghpo1=0x6666 + +cckPwrOffset=4 +cckdigfilttype=22 +ofdmdigfilttype=2 +extpagain5g=2 +#wl0id=0x431b + +# For 2GHz Tx EVM/SM +rfreg033=0x19 +rfreg033_cck=0x1d +pacalidx2g=65 +dacrate2g=160 +txalpfbyp2g=1 +bphyscale=17 + +# 5GHz LOFT and IQ CAL +txgaintbl5g=1 +txiqlopapu5g=1 +txiqlopag5g=0x10 +iqlocalidx5g=24 + +# 5GHz Noise CAL parameter +noise_cal_po_5g=5 +noise_cal_enable_5g=0 + +# 2GHz RxPER at low rates +noise_cal_ref_2g=56 +noise_cal_po_bias_2g=-4 +noise_cal_enable_2g=1 + +# Max input level on a-band +triso5g=9 + +# Tx power control, especially temp. +tssitime=1 + +#fc+1.7GHz Spur Elimination +loidacmode5g=1 + +swctrlmap_2g=0x84048404, 0x82028202, 0x84048404, 0x010202, 0x1ff +swctrlmap_5g=0xC040C040, 0xB030A020, 0xA020C040, 0x010A02, 0x2F8 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/formfactor/formfactor/cfa10057/machconfig b/bsp/meta-freescale-3rdparty/recipes-bsp/formfactor/formfactor/cfa10057/machconfig new file mode 100644 index 00000000..b69ddd23 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/formfactor/formfactor/cfa10057/machconfig @@ -0,0 +1,2 @@ +# Display options +HAVE_TOUCHSCREEN=1 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/formfactor/formfactor/cfa10058/machconfig b/bsp/meta-freescale-3rdparty/recipes-bsp/formfactor/formfactor/cfa10058/machconfig new file mode 100644 index 00000000..b69ddd23 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/formfactor/formfactor/cfa10058/machconfig @@ -0,0 +1,2 @@ +# Display options +HAVE_TOUCHSCREEN=1 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/formfactor/formfactor_0.0.bbappend b/bsp/meta-freescale-3rdparty/recipes-bsp/formfactor/formfactor_0.0.bbappend new file mode 100644 index 00000000..72d991c7 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/formfactor/formfactor_0.0.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc/libmcc/build-Fix-symlink-generation.patch b/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc/libmcc/build-Fix-symlink-generation.patch new file mode 100644 index 00000000..0aebe00b --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc/libmcc/build-Fix-symlink-generation.patch @@ -0,0 +1,32 @@ +From adef7a71a3bd40650685183c8a023000423ec880 Mon Sep 17 00:00:00 2001 +From: Otavio Salvador <otavio@ossystems.com.br> +Date: Tue, 6 Jan 2015 12:03:27 -0200 +Subject: [PATCH] build: Fix symlink generation +Organization: O.S. Systems Software LTDA. + +Upstream-Status: Pending + +Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> +--- + Makefile | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index ac46f5c..248b2eb 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,9 +14,8 @@ install: + mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib + cp -f build/libmcc.so.* build/libmcc.a $(DESTDIR)/usr/lib + cp -f include/*.h $(DESTDIR)/usr/include +- cd $(DESTDIR)/usr/lib/ +- ln -sf libmcc.so.1.0 libmcc.so.1 +- ln -sf libmcc.so.1 libmcc.so ++ ln -sf libmcc.so.1.0 $(DESTDIR)/usr/lib/libmcc.so.1 ++ ln -sf libmcc.so.1 $(DESTDIR)/usr/lib/libmcc.so + + clean: + rm -rf build +-- +2.1.4 + diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc/libmcc/build-with-versioned-soname.patch b/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc/libmcc/build-with-versioned-soname.patch new file mode 100644 index 00000000..d004b78a --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc/libmcc/build-with-versioned-soname.patch @@ -0,0 +1,18 @@ +libmcc: build with versioned soname + +This adds a versioned soname to the shared library during linking. +Otherwise an application linked with '-lmcc' needs libmcc.so for execution, +having libmcc.so.1 would not be enough. + +Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> +--- a/Makefile 2015-01-07 17:09:13.657675270 +0100 ++++ b/Makefile 2015-01-07 17:21:19.457545709 +0100 +@@ -8,7 +8,7 @@ + $(AR) rcs $@ $< + + build/libmcc.so.1.0: build/libmcc.o +- $(CC) -shared -o $@ $< ++ $(CC) -shared -Wl,-soname,libmcc.so.1 -o $@ $< -lc + + install: + mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc/libmcc_1.05.1.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc/libmcc_1.05.1.bb new file mode 100644 index 00000000..5837dae2 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc/libmcc_1.05.1.bb @@ -0,0 +1,29 @@ +# Copyright (C) 2013 Timesys Corporation +SUMMARY = "Multicore communication Library" +LICENSE = "GPL-2.0 | BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d \ + file://BSD_LICENSE;md5=10695b8f86532e5e44640acf4d92a2ef" + +DEPENDS = "virtual/kernel-module-mcc" + +SRC_URI = "http://repository.timesys.com/buildsources/l/libmcc/libmcc-${PV}/libmcc-${PV}.tar.bz2 \ + file://build-Fix-symlink-generation.patch \ + file://build-with-versioned-soname.patch" + +SRC_URI[md5sum] = "7a35d9804bdcebdfcd7a3b717de50d31" +SRC_URI[sha256sum] = "5d6d85f2f17ba1016c24e3a1c1c934a9267021edaed67b63879112151f48562c" + +S = "${WORKDIR}/libmcc-${PV}" + +CFLAGS += "-I${STAGING_KERNEL_DIR}/include" + +RDEPENDS_${PN} = "virtual/kernel-module-mcc" + +COMPATIBLE_MACHINE = "(vf60)" + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} + +RDEPENDS_${PN}-dev += "virtual/kernel-module-mcc-dev" +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc2/libmcc2_2.0.1.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc2/libmcc2_2.0.1.bb new file mode 100644 index 00000000..ce49b8b4 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/libmcc2/libmcc2_2.0.1.bb @@ -0,0 +1,26 @@ +# Copyright (C) 2013 Timesys Corporation +SUMMARY = "Multicore communication Library" +LICENSE = "GPL-2.0 | BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d \ + file://BSD_LICENSE;md5=10695b8f86532e5e44640acf4d92a2ef" + +DEPENDS = "virtual/kernel-module-mcc" + +SRC_URI = "http://repository.timesys.com/buildsources/l/libmcc2/libmcc2-${PV}/libmcc2-${PV}.tar.bz2" + +SRC_URI[md5sum] = "bd47714eb44ad67915ed51994e3af096" +SRC_URI[sha256sum] = "3bcbd9f3092c3be6edc6ab725346e822f05f303ce1dc5482fb320f4a1754f52d" + +S = "${WORKDIR}/libmcc2-${PV}" + +CFLAGS += "-I${STAGING_KERNEL_DIR}/include/uapi" + +RDEPENDS_${PN} = "virtual/kernel-module-mcc" + +COMPATIBLE_MACHINE = "(vf60)" + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} + +RDEPENDS_${PN}-dev += "virtual/kernel-module-mcc-dev" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/mqxboot/mqxboot_1.0.1.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/mqxboot/mqxboot_1.0.1.bb new file mode 100644 index 00000000..7465fa88 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/mqxboot/mqxboot_1.0.1.bb @@ -0,0 +1,24 @@ +# Copyright (C) 2013 Timesys Corporation +SUMMARY = "MQX Image loader - starts an MQX image on the M4" +LICENSE = "GPL-2.0 | BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d \ + file://BSD_LICENSE;md5=10695b8f86532e5e44640acf4d92a2ef" + +DEPENDS = "virtual/kernel-module-mcc" + +SRC_URI = "http://repository.timesys.com/buildsources/m/mqxboot/mqxboot-${PV}/mqxboot-${PV}.tar.bz2" + +SRC_URI[md5sum] = "f74755548041d50ca178448ee3e478d4" +SRC_URI[sha256sum] = "32444409de5e809b9347e275a3bf78623a89e9ecce3188ebac79318b2b7c39b3" + +S = "${WORKDIR}/mqxboot-${PV}" + +CFLAGS += "-I${STAGING_KERNEL_DIR}/include" + +RDEPENDS_${PN} = "virtual/kernel-module-mcc" + +COMPATIBLE_MACHINE = "(vf60)" + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-common_2018.07.inc b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-common_2018.07.inc new file mode 100644 index 00000000..59b17cce --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-common_2018.07.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "U-Boot for Boundary Devices boards" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e" + +PV = "v2018.07+git${SRCPV}" + +SRCREV = "ca185fc7406207da613c728935f534a4054674f1" +SRCBRANCH = "boundary-v2018.07" +SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils/aarch64/fw_env.config b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils/aarch64/fw_env.config new file mode 100644 index 00000000..eccfb0f4 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils/aarch64/fw_env.config @@ -0,0 +1 @@ +/dev/mmcblk0boot0 0x1fe000 0x2000 0x1000 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils/arm/fw_env.config b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils/arm/fw_env.config new file mode 100644 index 00000000..571e829c --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils/arm/fw_env.config @@ -0,0 +1 @@ +/dev/mtd1 0x00000 0x2000 0x1000 2 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb new file mode 100644 index 00000000..6b8fb867 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary-fw-utils_2018.07.bb @@ -0,0 +1,46 @@ +require u-boot-boundary-common_${PV}.inc + +SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" +DEPENDS += "mtd-utils bison-native" + +FILESEXTRAPATHS_prepend_mx6 := "${THISDIR}/${PN}/arm:" +FILESEXTRAPATHS_prepend_mx7 := "${THISDIR}/${PN}/arm:" +FILESEXTRAPATHS_prepend_mx8 := "${THISDIR}/${PN}/aarch64:" + +SRC_URI += " \ + file://fw_env.config \ +" + +INSANE_SKIP_${PN} = "already-stripped" +EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1' +EXTRA_OEMAKE_class-cross = 'ARCH=${TARGET_ARCH} CC="${CC} ${CFLAGS} ${LDFLAGS}" V=1' + +inherit uboot-config + +do_compile () { + oe_runmake ${UBOOT_MACHINE} + oe_runmake envtools +} + +do_install () { + install -Dm 0755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv + install -Dm 0755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv + install -Dm 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config +} + +do_install_class-cross () { + install -d ${D}${bindir_cross} + install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv + install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv +} + +SYSROOT_PREPROCESS_FUNCS_class-cross = "uboot_fw_utils_cross" +uboot_fw_utils_cross() { + sysroot_stage_dir ${D}${bindir_cross} ${SYSROOT_DESTDIR}${bindir_cross} +} + +RPROVIDES_${PN} += "u-boot-fw-utils" + +BBCLASSEXTEND = "cross" + +COMPATIBLE_MACHINE = "(imx)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary_2018.07.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary_2018.07.bb new file mode 100644 index 00000000..d9417f54 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary_2018.07.bb @@ -0,0 +1,17 @@ +require recipes-bsp/u-boot/u-boot.inc +require recipes-bsp/u-boot/u-boot-boundary-common_${PV}.inc + +DEPENDS += "bison-native" + +PROVIDES += "u-boot" + +BOOT_TOOLS = "imx-boot-tools" + +do_deploy_append_mx8mq () { + install -d ${DEPLOYDIR}/${BOOT_TOOLS} + install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} + install -m 0777 ${B}/${config}/tools/mkimage ${DEPLOYDIR}/${BOOT_TOOLS}/mkimage_uboot + install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS} +} + +COMPATIBLE_MACHINE = "(nitrogen6x-lite|nitrogen6x|nitrogen6sx|nitrogen7|nitrogen8m)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-compulab_2014.10.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-compulab_2014.10.bb new file mode 100644 index 00000000..02651e09 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-compulab_2014.10.bb @@ -0,0 +1,17 @@ +require recipes-bsp/u-boot/u-boot.inc + +DESCRIPTION = "u-boot which includes support for CompuLab boards." +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://configs/cm_fx6_defconfig;md5=549452418e9e099e5fe19ef1ac65e892" + +PROVIDES += "u-boot" + +SRCBRANCH = "utilite/master" +SRCREV = "6803a75f3d40bee3b53f56e7b49c70465819b7ca" +SRC_URI = "git://github.com/utilite-computer/u-boot.git;branch=${SRCBRANCH}" +SRC_URI[md5sum] = "fd8234c5b3a460430689848c1f16acef" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "cm-fx6" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec/0001-uboot-congatec-Change-environment-variables.patch b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec/0001-uboot-congatec-Change-environment-variables.patch new file mode 100644 index 00000000..ffc55cdc --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec/0001-uboot-congatec-Change-environment-variables.patch @@ -0,0 +1,42 @@ +From ad2098dc02be32e15d1dcf0662d38b148157a62c Mon Sep 17 00:00:00 2001 +From: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com> +Date: Thu, 16 Feb 2017 09:00:46 +0100 +Subject: [PATCH] uboot-congatec: Change environment variables + +Changes the loadfdt, loaduimage and mmcroot variables to be +Yocto community standard compatible +--- + include/configs/cgtqmx6eval.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h +index 34118a2..802c5dc 100644 +--- a/include/configs/cgtqmx6eval.h ++++ b/include/configs/cgtqmx6eval.h +@@ -162,7 +162,7 @@ + + #define CONFIG_MXC_UART_BASE UART2_BASE + #define CONFIG_CONSOLE_DEV "ttymxc1" +-#define CONFIG_MMCROOT "/dev/mmcblk0p1" ++#define CONFIG_MMCROOT "/dev/mmcblk0p2" + #define CONFIG_SYS_MMC_ENV_DEV 0 + + #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG +@@ -202,11 +202,11 @@ + "video=mxcfb1:dev=${vid_dev1} " \ + "root=${mmcroot}\0" \ + "loadbootscript=" \ +- "ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ ++ "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ + "bootscript=echo Running bootscript from mmc ...; " \ + "source\0" \ +- "loadimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} boot/${image}\0" \ +- "loadfdt=ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} boot/${fdtfile}\0" \ ++ "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ ++ "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}\0" \ + "mmcboot=echo Booting from mmc ...; " \ + "run mmcargs; " \ + "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ +-- +1.9.1 + diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec/Fix-the-compile-issue-under-gcc6.patch b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec/Fix-the-compile-issue-under-gcc6.patch new file mode 100644 index 00000000..3d080b63 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec/Fix-the-compile-issue-under-gcc6.patch @@ -0,0 +1,92 @@ +From 5d39bd421fc093e2c852316080538cef85a9e1a0 Mon Sep 17 00:00:00 2001 +From: yocto <yocto@yocto.org> +Date: Thu, 2 Jun 2016 00:18:33 -0500 +Subject: [PATCH] Fix the compile issue under gcc6 + +Fix the following build error: +| .../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory +| #include gcc_header(__GNUC__) + +Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> + +Upstream-Status: Pending +--- + include/linux/compiler-gcc6.h | 66 +++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + create mode 100644 include/linux/compiler-gcc6.h + +diff --git a/include/linux/compiler-gcc6.h b/include/linux/compiler-gcc6.h +new file mode 100644 +index 0000000..cdd1cc2 +--- /dev/null ++++ b/include/linux/compiler-gcc6.h +@@ -0,0 +1,66 @@ ++#ifndef __LINUX_COMPILER_H ++#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead." ++#endif ++ ++#define __used __attribute__((__used__)) ++#define __must_check __attribute__((warn_unused_result)) ++#define __compiler_offsetof(a, b) __builtin_offsetof(a, b) ++ ++/* Mark functions as cold. gcc will assume any path leading to a call ++ to them will be unlikely. This means a lot of manual unlikely()s ++ are unnecessary now for any paths leading to the usual suspects ++ like BUG(), printk(), panic() etc. [but let's keep them for now for ++ older compilers] ++ ++ Early snapshots of gcc 4.3 don't support this and we can't detect this ++ in the preprocessor, but we can live with this because they're unreleased. ++ Maketime probing would be overkill here. ++ ++ gcc also has a __attribute__((__hot__)) to move hot functions into ++ a special section, but I don't see any sense in this right now in ++ the kernel context */ ++#define __cold __attribute__((__cold__)) ++ ++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ++ ++#ifndef __CHECKER__ ++# define __compiletime_warning(message) __attribute__((warning(message))) ++# define __compiletime_error(message) __attribute__((error(message))) ++#endif /* __CHECKER__ */ ++ ++/* ++ * Mark a position in code as unreachable. This can be used to ++ * suppress control flow warnings after asm blocks that transfer ++ * control elsewhere. ++ * ++ * Early snapshots of gcc 4.5 don't support this and we can't detect ++ * this in the preprocessor, but we can live with this because they're ++ * unreleased. Really, we need to have autoconf for the kernel. ++ */ ++#define unreachable() __builtin_unreachable() ++ ++/* Mark a function definition as prohibited from being cloned. */ ++#define __noclone __attribute__((__noclone__)) ++ ++/* ++ * Tell the optimizer that something else uses this function or variable. ++ */ ++#define __visible __attribute__((externally_visible)) ++ ++/* ++ * GCC 'asm goto' miscompiles certain code sequences: ++ * ++ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 ++ * ++ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. ++ * Fixed in GCC 4.8.2 and later versions. ++ * ++ * (asm goto is automatically volatile - the naming reflects this.) ++ */ ++#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) ++ ++#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP ++#define __HAVE_BUILTIN_BSWAP32__ ++#define __HAVE_BUILTIN_BSWAP64__ ++#define __HAVE_BUILTIN_BSWAP16__ ++#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ +-- +2.5.0 + diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec/fix-build-for-gcc7.patch b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec/fix-build-for-gcc7.patch new file mode 100644 index 00000000..0ee0642e --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec/fix-build-for-gcc7.patch @@ -0,0 +1,100 @@ +From 81ae0fca9b92cb9e02568a5777f83d8b8eb69104 Mon Sep 17 00:00:00 2001 +From: Trevor Woerner <twoerner@gmail.com> +Date: Tue, 20 Jun 2017 13:25:20 -0400 +Subject: [PATCH] fix build for gcc7 + +| In file included from .../include/linux/compiler.h:54:0, +| from .../include/uapi/linux/stddef.h:1, +| from .../include/linux/stddef.h:4, +| from .../include/uapi/linux/posix_types.h:4, +| from .../include/uapi/linux/types.h:13, +| from .../include/linux/types.h:5, +| from .../include/linux/mod_devicetable.h:11, +| from .../scripts/mod/devicetable-offsets.c:2: +| .../include/linux/compiler-gcc.h:121:1: fatal error: linux/compiler-gcc7.h: No such file or directory +| #include gcc_header(__GNUC__) + +Upstream-Status: Pending + +Signed-off-by: Trevor Woerner <twoerner@gmail.com> +Signed-off-by: Fabio Berton <fabio.berton@gmail.com> +--- + include/linux/compiler-gcc7.h | 66 +++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 66 insertions(+) + create mode 100644 include/linux/compiler-gcc7.h + +diff --git a/include/linux/compiler-gcc7.h b/include/linux/compiler-gcc7.h +new file mode 100644 +index 000000000000..cdd1cc202d51 +--- /dev/null ++++ b/include/linux/compiler-gcc7.h +@@ -0,0 +1,66 @@ ++#ifndef __LINUX_COMPILER_H ++#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead." ++#endif ++ ++#define __used __attribute__((__used__)) ++#define __must_check __attribute__((warn_unused_result)) ++#define __compiler_offsetof(a, b) __builtin_offsetof(a, b) ++ ++/* Mark functions as cold. gcc will assume any path leading to a call ++ to them will be unlikely. This means a lot of manual unlikely()s ++ are unnecessary now for any paths leading to the usual suspects ++ like BUG(), printk(), panic() etc. [but let's keep them for now for ++ older compilers] ++ ++ Early snapshots of gcc 4.3 don't support this and we can't detect this ++ in the preprocessor, but we can live with this because they're unreleased. ++ Maketime probing would be overkill here. ++ ++ gcc also has a __attribute__((__hot__)) to move hot functions into ++ a special section, but I don't see any sense in this right now in ++ the kernel context */ ++#define __cold __attribute__((__cold__)) ++ ++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ++ ++#ifndef __CHECKER__ ++# define __compiletime_warning(message) __attribute__((warning(message))) ++# define __compiletime_error(message) __attribute__((error(message))) ++#endif /* __CHECKER__ */ ++ ++/* ++ * Mark a position in code as unreachable. This can be used to ++ * suppress control flow warnings after asm blocks that transfer ++ * control elsewhere. ++ * ++ * Early snapshots of gcc 4.5 don't support this and we can't detect ++ * this in the preprocessor, but we can live with this because they're ++ * unreleased. Really, we need to have autoconf for the kernel. ++ */ ++#define unreachable() __builtin_unreachable() ++ ++/* Mark a function definition as prohibited from being cloned. */ ++#define __noclone __attribute__((__noclone__)) ++ ++/* ++ * Tell the optimizer that something else uses this function or variable. ++ */ ++#define __visible __attribute__((externally_visible)) ++ ++/* ++ * GCC 'asm goto' miscompiles certain code sequences: ++ * ++ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 ++ * ++ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. ++ * Fixed in GCC 4.8.2 and later versions. ++ * ++ * (asm goto is automatically volatile - the naming reflects this.) ++ */ ++#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) ++ ++#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP ++#define __HAVE_BUILTIN_BSWAP32__ ++#define __HAVE_BUILTIN_BSWAP64__ ++#define __HAVE_BUILTIN_BSWAP16__ ++#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ +-- +2.12.3 + diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec_2016.01.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec_2016.01.bb new file mode 100644 index 00000000..e886f547 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-congatec_2016.01.bb @@ -0,0 +1,25 @@ +# Congatec QMX6 u-boot + +require recipes-bsp/u-boot/u-boot.inc + +DESCRIPTION = "u-boot which includes support for Congatec Boards." +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://README;md5=587d8d939ae351bb11910921b1eafd42" + +PROVIDES += "u-boot" + +PV = "2016.01" + +SRCREV = "2a24305837eccdec7de18a18688ead9d3fefe94c" +SRCBRANCH = "cgt_imx_v2016.01_1.0.0" + +SRC_URI = "git://git.congatec.com/arm/qmx6_uboot.git;protocol=http;branch=${SRCBRANCH} \ + file://Fix-the-compile-issue-under-gcc6.patch \ + file://fix-build-for-gcc7.patch \ + file://0001-uboot-congatec-Change-environment-variables.patch \ +" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(cgtumx6|cgtqmx6|cgtimx6)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt new file mode 100644 index 00000000..06b42bed --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt @@ -0,0 +1,7 @@ +# +# U-Boot bootscript for NAND images created by Yocto. +# + +setenv fdt_file imx6ul-ccimx6ulsbcexpress.dtb +setenv zimage zImage-ccimx6ulsbcexpress.bin +dboot linux nand ${mtdbootpart} diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-digi_2017.03.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-digi_2017.03.bb new file mode 100644 index 00000000..aa775727 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-digi_2017.03.bb @@ -0,0 +1,40 @@ +# Copyright (C) 2018 Digi International +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Bootloader for Digi platforms" +SECTION = "bootloaders" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" + +require recipes-bsp/u-boot/u-boot.inc + +DEPENDS = "u-boot-mkimage-native" + +PROVIDES += "u-boot" + +SRCBRANCH = "v2017.03/maint" +SRCREV = "8d60f536d2063ac6a0676bdf34c4c8c8807371c5" + +SRC_URI = "\ + git://github.com/digi-embedded/u-boot.git;protocol=git;nobranch=1 \ + file://bootscript.txt \ +" + +LOCALVERSION ?= "-${SRCBRANCH}" + +S = "${WORKDIR}/git" + +inherit dtc-145 fsl-u-boot-localversion + +UBOOT_ENV = "boot" +UBOOT_ENV_SUFFIX = "scr" + +do_compile_append () { + uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ + -n "boot script" -d ${WORKDIR}/bootscript.txt \ + ${WORKDIR}/${UBOOT_ENV_BINARY} +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +COMPATIBLE_MACHINE = "(ccimx6ul)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-fslc_%.bbappend b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-fslc_%.bbappend new file mode 100644 index 00000000..a1f0e56b --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-fslc_%.bbappend @@ -0,0 +1,2 @@ +COMPATIBLE_MACHINE_imx6sl-warp = "(.)" +COMPATIBLE_MACHINE_imx6dl-riotboard = "(.)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-gateworks-imx_2015.04.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-gateworks-imx_2015.04.bb new file mode 100644 index 00000000..2923d06c --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-gateworks-imx_2015.04.bb @@ -0,0 +1,16 @@ +require recipes-bsp/u-boot/u-boot.inc + +DESCRIPTION = "U-Boot for Gateworks Ventana Family SBC's" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=c7383a594871c03da76b3707929d2919" +DEPENDS = "u-boot-mkimage-native" + +PV = "v2015.04+git${SRCPV}" + +SRCREV = "040377aefd06c8eef41763868fc9c6df2cbf9b1c" +SRC_URI = "git://github.com/Gateworks/u-boot-imx6.git;branch=gateworks_v2015.04" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(ventana)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-karo_git.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-karo_git.bb new file mode 100644 index 00000000..2e1f7bb1 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-karo_git.bb @@ -0,0 +1,19 @@ +require recipes-bsp/u-boot/u-boot.inc + +DESCRIPTION = "u-boot for Ka-Ro electronics TX Computer-On-Modules." +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95" + +PROVIDES = "u-boot" + +PV = "v2015.10-rc2+git${SRCPV}" + +SRCREV = "047997571bf2c5bd43058c8e9da8052e09d9111f" +SRCBRANCH = "karo-tx6" +SRC_URI = "git://git.karo-electronics.de/karo-tx-uboot.git;branch=${SRCBRANCH}" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +COMPATIBLE_MACHINE = "(tx6[qsu]-.*)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-boundary_2018.07.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-boundary_2018.07.bb new file mode 100644 index 00000000..ef47d5f4 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-boundary_2018.07.bb @@ -0,0 +1,45 @@ +require recipes-bsp/u-boot/u-boot-boundary-common_${PV}.inc + +DEPENDS = "u-boot-mkimage-native" + +inherit deploy + +BOOTSCRIPT ??= "${S}/board/boundary/bootscripts/bootscript-yocto.txt" +BOOTSCRIPT_use-mainline-bsp ??= "${S}/board/boundary/bootscripts/bootscript-mainline.txt" + +UPGRADESCRIPT = "${S}/board/boundary/bootscripts/upgrade.txt" + +do_mkimage () { + uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ + -n "boot script" -d ${BOOTSCRIPT} ${S}/boot.scr + + uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ + -n "upgrade script" -d ${UPGRADESCRIPT} ${S}/upgrade.scr +} + +addtask mkimage after do_compile before do_install + +do_compile[noexec] = "1" + +do_install () { + install -D -m 644 ${S}/boot.scr ${D}/boot.scr + install -D -m 644 ${S}/upgrade.scr ${D}/upgrade.scr +} + +do_deploy () { + install -D -m 644 ${D}/boot.scr \ + ${DEPLOYDIR}/boot.scr-${MACHINE}-${PV}-${PR} + install -D -m 644 ${D}/upgrade.scr \ + ${DEPLOYDIR}/upgrade.scr-${MACHINE}-${PV}-${PR} + + cd ${DEPLOYDIR} + rm -f boot.scr-${MACHINE} upgrade.scr-${MACHINE} + ln -sf boot.scr-${MACHINE}-${PV}-${PR} boot.scr-${MACHINE} + ln -sf upgrade.scr-${MACHINE}-${PV}-${PR} upgrade.scr-${MACHINE} +} + +addtask deploy after do_install before do_build + +FILES_${PN} += "/" + +COMPATIBLE_MACHINE = "(nitrogen6x-lite|nitrogen6x|nitrogen6sx|nitrogen7|nitrogen8m)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-gateworks-imx.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-gateworks-imx.bb new file mode 100644 index 00000000..5023f377 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-gateworks-imx.bb @@ -0,0 +1,30 @@ +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" +DEPENDS = "u-boot-mkimage-native" + +SRC_URI = "file://6x_bootscript-yocto.txt" + +DESTDIR = "/boot" +S = "${WORKDIR}" + +do_compile() { + bootscript="${WORKDIR}/6x_bootscript-yocto.txt" + echo "bootscript == $bootscript" + + uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ + -n "boot script" -d $bootscript \ + 6x_bootscript +} + +do_install() { + install -d ${D}/${DESTDIR} + install ${S}/6x_bootscript ${D}${DESTDIR}/6x_bootscript-${MACHINE}-${PV}-${PR} + + cd ${D}${DESTDIR} + ln -sf 6x_bootscript-${MACHINE}-${PV}-${PR} 6x_bootscript-${MACHINE} +} + +FILES_${PN} = "${DESTDIR}/*" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(ventana)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-gateworks-imx/6x_bootscript-yocto.txt b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-gateworks-imx/6x_bootscript-yocto.txt new file mode 100644 index 00000000..df6f6215 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-gateworks-imx/6x_bootscript-yocto.txt @@ -0,0 +1,144 @@ +setenv _bscriptver "v1.07" + +echo "## Gateworks Ventana Yocto Bootscript ${_bscriptver} ####################" + +## First: Memory Allocations ################################################### +if test -z "${mem}" ; then + echo "Detected ${mem_mb}MB DRAM - adjusting CMA memory allocation..." + + # Freescale doesn't provide a 'best practice' for choosing CMA. We determine + # it using following formula (please customize mem to your own req's): + # cma=min(((${mem_mb}/2) - round(${mem_mb}*.125))M, 384M) + if itest.s "x${mem_mb}" == "x256" ; then + setenv mem "cma=96M" + elif itest.s "x${mem_mb}" == "x512" ; then + setenv mem "cma=192M" + else + setenv mem "cma=384M" + fi +fi + +if itest.s "x${mem}" == "xNA" ; then + echo "Leaving CMA alone..." +else + setenv extra "${extra}" "${mem}" + echo "Memory configuration used from env mem: $mem" +fi + +## Second: Video Options ####################################################### +if test -z "${video}" ; then + # locally used variables + setenv fb_num 0 + setenv lvds_flag + setenv hdmi_flag + setenv cvbs_flag + setenv max_disp 3 # 0-3 displays + + # Default displays to display if displays is empty + if test -z "${displays}"; then + setenv displays "${display}" + fi + + # Detect HDMI if displays is empty (HDMI) + if test -z "${displays}" ; then + i2c dev 2 + if hdmidet ; then # HDMI + setenv displays "HDMI" + echo "HDMI Detected" + fi + fi + + echo "Display(s) to configure: ${displays}" + + # Configure displays + for disp in ${displays} ; do + if itest.s "x${disp}" == "xHDMI" ; then + if test -z "${hdmi_flag}" ; then # Only allow one HDMI display + setenv hdmi_flag 1 + test -n "${hdmi}" || hdmi=1080p + if itest.s "x${hdmi}" == "x1080p" ; then + setenv hdmi "1920x1080M@60" + elif itest.s "x${hdmi}" == "x720p" ; then + setenv hdmi "1280x720M@60" + elif itest.s "x${hdmi}" == "x480p" ; then + setenv hdmi "720x480M@60" + fi + setenv video "${video}" "video=mxcfb${fb_num}:dev=hdmi,${hdmi},if=RGB24,bpp=32" + + echo "Setting HDMI Display to mxcfb${fb_num}" + setexpr fb_num ${fb_num} + 1 + fi + + # Freescale MCIMX-LVDS1 10" XGA Touchscreen Display + elif itest.s "x${disp}" == "xHannstar-XGA" ; then + if test -z "${lvds_flag}" ; then # Only allow one LVDS display + setenv lvds_flag 1 + setenv video "${video}" "video=mxcfb${fb_num}:dev=ldb,bpp=32,LDB-XGA,if=RGB666" + + # Configure timings + setenv display "Hannstar-XGA" + + echo "Setting Hannstar-XGA Display to mxcfb${fb_num}" + setexpr fb_num ${fb_num} + 1 + fi + + # GW17029 DLC700JMGT4 7" WSVGA Touchscreen Display + elif itest.s "x${disp}" == "xDLC700JMGT4" ; then + if test -z "${lvds_flag}" ; then # Only allow one LVDS display + setenv lvds_flag 1 + setenv video "${video}" "video=mxcfb${fb_num}:dev=ldb,bpp=32,LDB-WSVGA,if=RGB666" + + # Configure timings + setenv display "DLC700JMGT4" + + echo "Setting DLC700JMGT4 Display to mxcfb${fb_num}" + setexpr fb_num ${fb_num} + 1 + fi + + # GW17030 DLC800FIGT3 8" XGA Touchscreen Display" + elif itest.s "x${disp}" == "xDLC800FIGT3" ; then + if test -z "${lvds_flag}" ; then # Only allow one LVDS display + setenv lvds_flag 1 + setenv video "${video}" "video=mxcfb${fb_num}:dev=ldb,bpp=32,LDB-XGA,if=RGB666" + + # Configure timings + setenv display "DLC800FIGT3" + + echo "Setting DLC800FIGT3 Display to mxcfb${fb_num}" + setexpr fb_num ${fb_num} + 1 + fi + + elif itest.s "x${disp}" == "xCVBS" ; then + if test -z "${cvbs_flag}" ; then # Only allow one CVBS display + setenv cvbs_flag 1 + setenv video "${video}" "video=mxcfb${fb_num}:dev=adv739x,BT656-NTSC,if=BT656,fbpix=RGB565,bpp=32" + + echo "Setting CVBS Display to mxcfb${fb_num}" + setexpr fb_num ${fb_num} + 1 + fi + + elif itest.s "x${disp}" == "xnone" ; then + # Reset fb_num to mark all displays to 'off' + setenv fb_num 0 + + else + echo "${disp} is an unsupported display type" + echo "Valid Displays: HDMI|Hannstar-XGA|DLC700JMGT4|DLC800FIGT3|CVBS" + fi + done + + # Mark the rest of the displays to 'off' + while test "${fb_num}" -le "${max_disp}" ; do + setenv video "${video}" "video=mxcfb${fb_num}:off" + setexpr fb_num ${fb_num} + 1 + done + + # Set only if video is set + if test -n "${video}" ; then + setenv video "${video}" + fi +fi +setenv extra "${extra}" galcore.initgpu3DMinClock=3 +echo "Video configuration used from env video: ${video}" + +echo "## End Gateworks Ventana Yocto Bootscript ${_bscriptver} ################" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-timesys_2011.12.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-timesys_2011.12.bb new file mode 100644 index 00000000..5912423b --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-timesys_2011.12.bb @@ -0,0 +1,24 @@ +# Copyright (C) 2013-2014 Timesys Corporation +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "bootloader for Vybrid platforms" +require recipes-bsp/u-boot/u-boot.inc + +PROVIDES += "u-boot" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" + +SRCBRANCH = "2011.12-pcl052" +SRC_URI = "git://github.com/Timesys/u-boot-timesys.git;protocol=git;branch=${SRCBRANCH}" +SRCREV = "dca5026484c69628be9b9618e5795c635cefe110" + +SRCBRANCH_quartz = "2011.12-quartz" +SRCREV_quartz = "2dc3859b8274b45fb6336d9713b4b07e42dfb4cb" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(vf60)" + +PV = "v2011.12" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/0001-tools-fix-cross-compiling-tools-when-HOSTCC-is-overr.patch b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/0001-tools-fix-cross-compiling-tools-when-HOSTCC-is-overr.patch new file mode 100644 index 00000000..2c087e85 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/0001-tools-fix-cross-compiling-tools-when-HOSTCC-is-overr.patch @@ -0,0 +1,54 @@ +From 3b0825296aeba69c2cbfd3e179db2e9cbe5e70d7 Mon Sep 17 00:00:00 2001 +From: Masahiro Yamada <yamada.masahiro@socionext.com> +Date: Mon, 13 Mar 2017 17:43:16 +0900 +Subject: [PATCH] tools: fix cross-compiling tools when HOSTCC is overridden + +Upstream-Status: Backport + +Richard reported U-Boot tools issues in OpenEmbedded/Yocto project. + +OE needs to be able to change the default compiler. If we pass in +HOSTCC through the make command, it overwrites all HOSTCC instances, +including ones in tools/Makefile and tools/env/Makefile, which breaks +"make cross_tools" and "make env", respectively. + +Add "override" directives to avoid overriding HOSTCC instances that +really need to point to the cross-compiler. + +Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> +Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org> +Reviewed-by: Simon Glass <sjg@chromium.org> +--- + tools/Makefile | 2 +- + tools/env/Makefile | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tools/Makefile b/tools/Makefile +index 1c840d7..a894b5c 100644 +--- a/tools/Makefile ++++ b/tools/Makefile +@@ -262,7 +262,7 @@ $(LOGO_DATA_H): $(obj)/bmp_logo $(LOGO_BMP) + subdir- += env + + ifneq ($(CROSS_BUILD_TOOLS),) +-HOSTCC = $(CC) ++override HOSTCC = $(CC) + + quiet_cmd_crosstools_strip = STRIP $^ + cmd_crosstools_strip = $(STRIP) $^; touch $@ +diff --git a/tools/env/Makefile b/tools/env/Makefile +index 38ad118..95b28c0 100644 +--- a/tools/env/Makefile ++++ b/tools/env/Makefile +@@ -8,7 +8,7 @@ + # fw_printenv is supposed to run on the target system, which means it should be + # built with cross tools. Although it may look weird, we only replace "HOSTCC" + # with "CC" here for the maximum code reuse of scripts/Makefile.host. +-HOSTCC = $(CC) ++override HOSTCC = $(CC) + + # Compile for a hosted environment on the target + HOST_EXTRACFLAGS = $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \ +-- +2.7.4 + diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/colibri-imx6ull/fw_env.config b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/colibri-imx6ull/fw_env.config new file mode 100644 index 00000000..930bceee --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/colibri-imx6ull/fw_env.config @@ -0,0 +1,10 @@ +# Configuration file for fw_(printenv/setenv) utility. +# Up to two entries are valid, in this case the redundant +# environment sector is assumed present. +# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. +# Futhermore, if the Flash sector size is ommitted, this value is assumed to +# be the same as the Environment size, which is valid for NOR and SPI-dataflash + +# MTD device name Device offset Env. size Flash sector size Number of sectors +# Colibri iMX6ULL +/dev/mtd3 0x00000000 0x00020000 0x20000 4 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/colibri-imx7/fw_env.config b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/colibri-imx7/fw_env.config new file mode 100644 index 00000000..b59116d4 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/colibri-imx7/fw_env.config @@ -0,0 +1,10 @@ +# Configuration file for fw_(printenv/setenv) utility. +# Up to two entries are valid, in this case the redundant +# environment sector is assumed present. +# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. +# Futhermore, if the Flash sector size is ommitted, this value is assumed to +# be the same as the Environment size, which is valid for NOR and SPI-dataflash + +# MTD device name Device offset Env. size Flash sector size Number of sectors +# Colibri iMX7 +/dev/mtd3 0x00000000 0x00020000 0x20000 4 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/fw_env.config b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/fw_env.config new file mode 100644 index 00000000..e054ccbb --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/fw_env.config @@ -0,0 +1,22 @@ +# Configuration file for fw_(printenv/setenv) utility. +# Up to two entries are valid, in this case the redundant +# environment sector is assumed present. +# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. +# Futhermore, if the Flash sector size is ommitted, this value is assumed to +# be the same as the Environment size, which is valid for NOR and SPI-dataflash + +# NOR example +# MTD device name Device offset Env. size Flash sector size Number of sectors +#/dev/mtd1 0x0000 0x4000 0x4000 +#/dev/mtd2 0x0000 0x4000 0x4000 + +# MTD SPI-dataflash example +# MTD device name Device offset Env. size Flash sector size Number of sectors +#/dev/mtd5 0x4200 0x4200 +#/dev/mtd6 0x4200 0x4200 + +# NAND example +#/dev/mtd0 0x4000 0x4000 0x20000 2 + +# Block device example +#/dev/mmcblk0 0xc0000 0x20000 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/mx6/fw_env.config b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/mx6/fw_env.config new file mode 100644 index 00000000..a9e724e4 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/mx6/fw_env.config @@ -0,0 +1,17 @@ +# Configuration file for fw_(printenv/setenv) utility. +# Up to two entries are valid, in this case the redundant +# environment sector is assumed present. +# Device offset must be prefixed with 0x to be parsed as a hexadecimal value. +# On a block device a negative offset is treated as a backwards offset from the +# end of the device/partition, rather than a forwards offset from the start. + +# Colibri iMX6/Apalis iMX6 +# U-Boot environment is stored at the end of the first eMMC boot partition +# hence use a negative value. The environment is just in front of the config +# block which occupies the last sector (hence -0x200) +# Note that /dev/mmcblk0boot0 by default is read only +# To use fw_setenv you have to first make it writeable, on the cmdline e.g. by +# $ echo 0 > /sys/block/mmcblk0boot0/force_ro + +# Block device name Device offset Env. size +/dev/mmcblk0boot0 -0x2200 0x2000 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/vf/fw_env.config b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/vf/fw_env.config new file mode 100644 index 00000000..51f09d1d --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils/vf/fw_env.config @@ -0,0 +1,10 @@ +# Configuration file for fw_(printenv/setenv) utility. +# Up to two entries are valid, in this case the redundant +# environment sector is assumed present. +# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash. +# Futhermore, if the Flash sector size is ommitted, this value is assumed to +# be the same as the Environment size, which is valid for NOR and SPI-dataflash + +# MTD device name Device offset Env. size Flash sector size Number of sectors +# Colibri VF61 +/dev/mtd2 0x00000000 0x00020000 0x20000 4 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils_2016.11.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils_2016.11.bb new file mode 100644 index 00000000..727c0a84 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex-fw-utils_2016.11.bb @@ -0,0 +1,42 @@ +require recipes-bsp/u-boot/u-boot-toradex_${PV}.inc + +SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" + +SRC_URI += "file://0001-tools-fix-cross-compiling-tools-when-HOSTCC-is-overr.patch \ + file://fw_env.config \ +" + +DEPENDS += "mtd-utils" + +INSANE_SKIP_${PN} = "already-stripped" +EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1' +EXTRA_OEMAKE_class-cross = 'ARCH=${TARGET_ARCH} CC="${CC} ${CFLAGS} ${LDFLAGS}" V=1' + +inherit uboot-config + +do_compile () { + oe_runmake ${UBOOT_MACHINE} + oe_runmake env +} + +do_install () { + install -d ${D}${base_sbindir} + install -d ${D}${sysconfdir} + install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv + install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv + install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config +} + +do_install_class-cross () { + install -d ${D}${bindir_cross} + install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv + install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv +} + +SYSROOT_DIRS_append_class-cross = " ${bindir_cross}" + +PROVIDES += "u-boot-fw-utils" +RPROVIDES_${PN} += "u-boot-fw-utils" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +BBCLASSEXTEND = "cross" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex_2016.11.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex_2016.11.bb new file mode 100644 index 00000000..e409131d --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex_2016.11.bb @@ -0,0 +1,8 @@ +require recipes-bsp/u-boot/u-boot.inc +require recipes-bsp/u-boot/u-boot-toradex_${PV}.inc + +LOCALVERSION = "-2.8.3" + +PROVIDES += "u-boot" + +inherit fsl-u-boot-localversion dtc-145 diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex_2016.11.inc b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex_2016.11.inc new file mode 100644 index 00000000..dd8c9215 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex_2016.11.inc @@ -0,0 +1,20 @@ +# Copyright (C) 2015 Toradex AG +# Based on u-boot-fslc.inc Copyright (C) 2012-2014 O.S. Systems Software LTDA +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "U-Boot bootloader with support for Toradex Computer on Modules" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" + +SRC_URI = "git://git.toradex.com/u-boot-toradex.git;branch=${SRCBRANCH}" + +SRCREV ?= "aca804c9ddadbf34a8ff82779e5598ec5e319f23" +SRCBRANCH ?= "2016.11-toradex" + +S = "${WORKDIR}/git" + +PV = "2016.11+git${SRCPV}" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +COMPATIBLE_MACHINE = "(mx6|mx7|vf|use-mainline-bsp)" diff --git a/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-variscite_2017.03.bb b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-variscite_2017.03.bb new file mode 100644 index 00000000..818e03e4 --- /dev/null +++ b/bsp/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-variscite_2017.03.bb @@ -0,0 +1,21 @@ +require recipes-bsp/u-boot/u-boot.inc + +SUMMARY = "U-Boot for Variscite i.MX6Q/DL VAR-SOM-MX6" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" +COMPATIBLE_MACHINE = "(imx6qdl-variscite-som)" + +PROVIDES += "u-boot" + +SPL_BINARY = "SPL" + +SRCREV = "3b5f889cb501c9fbe44c750c657dcd9ea4875176" +SRCBRANCH = "imx_v2017.03_4.9.11_1.0.0_ga_var01" + +SRC_URI = "\ + git://github.com/varigit/uboot-imx.git;protocol=git;branch=${SRCBRANCH} \ +" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" |