mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
91fa4826b9
The BDFs for the: Aruba AP-303 ASUS RT-AC42U AVM FRITZ!Repeater 1200 Buffalo WTR-M2133HP Cell C RTL30VW D-Link DAP-2610 EnGenius EAP2200 EnGenius EMD1 EnGenius EMR3500 EnGenius EMR5000 EZVIZ CS-W3-WD1200G EUP Google Wifi Linksys MR8300 V1.0 Luma WRTQ-329ACN MobiPromo CM520-79F NEC Platforms WG2600HP3 Plasma Cloud PA1200 (updated version) Plasma Cloud PA2200 ZTE MF286D were upstreamed to the ath10k-firmware repository and landed in linux-firmware.git. Furthermore the BDFs for the: 8devices Habanero OpenMesh A62 OpenMesh A42 AVM FRITZ!Box 4040 have been updated. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
define Build/cros-gpt
|
|
cp $@ $@.tmp 2>/dev/null || true
|
|
ptgen -o $@.tmp -g \
|
|
-T cros_kernel -N kernel -p $(CONFIG_TARGET_KERNEL_PARTSIZE)m \
|
|
-N rootfs -p $(CONFIG_TARGET_ROOTFS_PARTSIZE)m
|
|
cat $@.tmp >> $@
|
|
rm $@.tmp
|
|
endef
|
|
|
|
define Build/append-kernel-part
|
|
dd if=$(IMAGE_KERNEL) bs=$(CONFIG_TARGET_KERNEL_PARTSIZE)M conv=sync >> $@
|
|
endef
|
|
|
|
# NB: Chrome OS bootloaders replace the '%U' in command lines with the UUID of
|
|
# the kernel partition it chooses to boot from. This gives a flexible way to
|
|
# consistently build and sign kernels that always use the subsequent
|
|
# (PARTNROFF=1) partition as their rootfs.
|
|
define Build/cros-vboot
|
|
$(STAGING_DIR_HOST)/bin/cros-vbutil \
|
|
-k $@ -c "root=PARTUUID=%U/PARTNROFF=1" -o $@.new
|
|
@mv $@.new $@
|
|
endef
|
|
|
|
define Device/google_wifi
|
|
DEVICE_VENDOR := Google
|
|
DEVICE_MODEL := WiFi (Gale)
|
|
SOC := qcom-ipq4019
|
|
KERNEL_SUFFIX := -fit-zImage.itb.vboot
|
|
KERNEL = kernel-bin | fit none $$(DTS_DIR)/$$(DEVICE_DTS).dtb | cros-vboot
|
|
KERNEL_NAME := zImage
|
|
IMAGES += factory.bin
|
|
IMAGE/factory.bin := cros-gpt | append-kernel-part | append-rootfs
|
|
DEVICE_PACKAGES := partx-utils mkf2fs e2fsprogs \
|
|
kmod-fs-ext4 kmod-fs-f2fs kmod-google-firmware
|
|
endef
|
|
TARGET_DEVICES += google_wifi
|