2014-02-19 15:09:32 +00:00
|
|
|
# Maintainer: CruX <crux@project-insanity.org>
|
|
|
|
# Contributor: pepedog at archlinuxarm dot com
|
2016-03-25 08:39:57 +00:00
|
|
|
# Contributor: Oleg Rakhmanov <oleg [at] archlinuxarm [dot] org>
|
2014-02-19 15:09:32 +00:00
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
pkgname=firmware-imx
|
2024-06-29 20:23:06 +00:00
|
|
|
pkgver=8.24.r0.fbe0a4c
|
|
|
|
pkgrel=1
|
2014-02-19 15:09:32 +00:00
|
|
|
pkgdesc="Freescale proprietary firmware for i.MX6 SoC"
|
|
|
|
url="https://community.freescale.com/docs/DOC-95560"
|
|
|
|
arch=('armv7h')
|
|
|
|
license=('proprietay')
|
2024-06-29 20:23:06 +00:00
|
|
|
source=("https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${pkgver//.r0./-}.bin")
|
|
|
|
sha256sums=('2e27962332197ebebbb30138f6dfb365361d48d7efa565df97c4f79285b1ca50')
|
2014-02-19 15:09:32 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}"
|
2015-04-24 11:28:32 +00:00
|
|
|
#extract the firmware
|
2024-06-29 20:23:06 +00:00
|
|
|
sh ${pkgname}-${pkgver//.r0./-}.bin --force --auto-accept
|
2014-02-19 15:09:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-04-04 08:23:49 +00:00
|
|
|
mkdir -p "${pkgdir}/usr/lib/firmware/vpu"
|
2024-06-29 20:23:06 +00:00
|
|
|
cp "${srcdir}/${pkgname}-${pkgver//.r0./-}/firmware/vpu/vpu_fw_imx6d.bin" "${pkgdir}/usr/lib/firmware/vpu"
|
|
|
|
cp "${srcdir}/${pkgname}-${pkgver//.r0./-}/firmware/vpu/vpu_fw_imx6q.bin" "${pkgdir}/usr/lib/firmware/vpu"
|
2022-01-20 19:25:04 +00:00
|
|
|
|
2024-06-29 20:23:06 +00:00
|
|
|
install -D -m0644 "${srcdir}/${pkgname}-${pkgver//.r0./-}/COPYING" "${pkgdir}/opt/fsl/licenses/LICENSE.${pkgname}"
|
2022-01-20 19:25:04 +00:00
|
|
|
|
2014-02-19 15:09:32 +00:00
|
|
|
mkdir -p "${pkgdir}/etc/ld.so.conf.d"
|
2024-06-29 20:23:06 +00:00
|
|
|
echo "/opt/fsl/lib" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
|
2022-02-10 02:14:47 +00:00
|
|
|
}
|