Merge pull request #72 from mwohlert/feature/add-xradio
Add XRadio Support
This commit is contained in:
commit
7a8b7bfeac
2 changed files with 38 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
SUMMARY = "Xradio xr819 WiFi firmware"
|
||||
LICENSE = "CC0-1.0"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=0ceb3372c9595f0a8067e55da801e4a1"
|
||||
|
||||
SRCREV = "bddd21b7f895be9f0c37e435f0a7ac84405c6091"
|
||||
|
||||
SRC_URI = "git://github.com/armbian/firmware.git;protocol=https"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile () {
|
||||
exit 0
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware/xr819
|
||||
install -m 0644 ${S}/xr819/boot_xr819.bin ${D}${base_libdir}/firmware/xr819/
|
||||
install -m 0644 ${S}/xr819/sdd_xr819.bin ${D}${base_libdir}/firmware/xr819/
|
||||
install -m 0644 ${S}/xr819/fw_xr819.bin ${D}${base_libdir}/firmware/xr819/
|
||||
}
|
||||
|
||||
FILES_${PN} = "${base_libdir}/*"
|
16
layers/meta-resin-allwinner/recipes-kernel/xradio/xradio.bb
Normal file
16
layers/meta-resin-allwinner/recipes-kernel/xradio/xradio.bb
Normal file
|
@ -0,0 +1,16 @@
|
|||
SUMMARY = "Xradio WiFi driver for orangepi-zero"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a23a74b3f4caf9616230789d94217acb"
|
||||
|
||||
inherit module
|
||||
|
||||
SRCREV = "b7789c274091344eeff47cf34a48e0b225de852b"
|
||||
|
||||
SRC_URI = "git://github.com/fifteenhex/xradio.git;protocol=https \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE += "-C ${STAGING_KERNEL_DIR} M=${S}"
|
||||
|
||||
KERNEL_MODULE_AUTOLOAD += "xradio_wlan"
|
Loading…
Add table
Reference in a new issue