mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
328530c6e7
The LS1021A-IoT gateway reference design based on the QorIQ LS1021A processor is a purpose-built, small footprint hardware platform with a wide array of high-speed connectivity and low-speed serial interfaces to support secure delivery of IoT services for home, business or other commercial location. - Combines standards-based, open source software with a feature-rich IoT gateway design to establish a common, open framework for secured IoT service delivery and management. - Provides a wide assortment of high-speed and serial-based connectivity in a compact, highly secure design. - High efficiency through the use of the Arm-based QorIQ LS1021A embedded processor. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: Biwen Li <biwen.li@nxp.com>
64 lines
1.9 KiB
Makefile
64 lines
1.9 KiB
Makefile
#
|
|
# Copyright 2018 NXP
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
define Device/Default
|
|
PROFILES := Default
|
|
FILESYSTEMS := squashfs
|
|
IMAGES := firmware.bin
|
|
KERNEL := kernel-bin | uImage none
|
|
KERNEL_NAME := zImage
|
|
KERNEL_LOADADDR := 0x80008000
|
|
KERNEL_ENTRY_POINT := 0x80008000
|
|
endef
|
|
|
|
define Device/ls1021atwr
|
|
DEVICE_TITLE := LS1021ATWR
|
|
DEVICE_PACKAGES += layerscape-rcw-ls1021atwr
|
|
DEVICE_DTS := ls1021a-twr
|
|
IMAGE/firmware.bin := \
|
|
ls-clean | \
|
|
ls-append $(1)-rcw.bin | pad-to 1M | \
|
|
ls-append $(1)-uboot.bin | pad-to 3M | \
|
|
ls-append $(1)-uboot-env.bin | pad-to 15M | \
|
|
ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \
|
|
append-kernel | pad-to 32M | \
|
|
append-rootfs | pad-rootfs | check-size 67108865
|
|
endef
|
|
TARGET_DEVICES += ls1021atwr
|
|
|
|
define Device/ls1021atwr-sdboot
|
|
DEVICE_TITLE := LS1021ATWR (SD Card Boot)
|
|
DEVICE_DTS := ls1021a-twr
|
|
FILESYSTEMS := ext4
|
|
IMAGES := sdcard.img
|
|
IMAGE/sdcard.img := \
|
|
ls-clean | \
|
|
ls-append-sdhead $(1) | pad-to 4K | \
|
|
ls-append $(1)-uboot.bin | pad-to 3M | \
|
|
ls-append $(1)-uboot-env.bin | pad-to 15M | \
|
|
ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \
|
|
append-kernel | pad-to $(LS_SD_ROOTFSPART_OFFSET)M | \
|
|
append-rootfs | check-size $(LS_SD_IMAGE_SIZE)
|
|
endef
|
|
TARGET_DEVICES += ls1021atwr-sdboot
|
|
|
|
define Device/ls1021aiot-sdboot
|
|
DEVICE_TITLE := LS1021AIOT (SD Card Boot)
|
|
DEVICE_DTS := ls1021a-iot
|
|
FILESYSTEMS := ext4
|
|
IMAGES := sdcard.img
|
|
IMAGE/sdcard.img := \
|
|
ls-clean | \
|
|
ls-append-sdhead $(1) | pad-to 4K | \
|
|
ls-append $(1)-uboot.bin | pad-to 1M | \
|
|
ls-append $(1)-uboot-env.bin | pad-to 15M | \
|
|
ls-append-dtb $$(DEVICE_DTS) | pad-to 16M | \
|
|
append-kernel | pad-to $(LS_SD_ROOTFSPART_OFFSET)M | \
|
|
append-rootfs | check-size $(LS_SD_IMAGE_SIZE)
|
|
endef
|
|
TARGET_DEVICES += ls1021aiot-sdboot
|