| 1234567891011121314151617181920212223242526272829303132 |
- # SPDX-License-Identifier: GPL-2.0-only
- define Device/plasmacloud-common
- SOC := rtl9312
- UIMAGE_MAGIC := 0x93100000
- DEVICE_VENDOR := Plasma Cloud
- IMAGE_SIZE := 13376k
- BLOCKSIZE := 64k
- DEVICE_PACKAGES := kmod-hwmon-adt7475
- KERNEL_INITRAMFS := \
- kernel-bin | \
- append-dtb | \
- lzma | \
- uImage lzma
- KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | pad-to $$(BLOCKSIZE)
- IMAGES += factory.bin
- IMAGE/factory.bin := append-kernel | append-rootfs | pad-rootfs | check-size
- IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | sysupgrade-tar rootfs=$$$$@ | append-metadata
- endef
- define Device/plasmacloud_esx28
- $(Device/plasmacloud-common)
- DEVICE_MODEL := ESX28
- endef
- TARGET_DEVICES += plasmacloud_esx28
- define Device/plasmacloud_psx28
- $(Device/plasmacloud-common)
- DEVICE_MODEL := PSX28
- DEVICE_PACKAGES += poemgr
- endef
- TARGET_DEVICES += plasmacloud_psx28
|