mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
a254279a6c
At this moment layerscape images are ext4 only. It causes problem with save changes durring sysupgrade and make "firstboot" and failsafe mode useless. This patch changes sd-card images to squashfs + f2fs combined images. To make place, for saving config, kernel space ar now ext4 partition with fit kernel. This method of image generation is similar to rest of OpenWrt sd-card targets. Reviewed-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> [reword README, reword DEVICE_COMPAT_MESSAGE, keep original indent] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
25 lines
623 B
Makefile
25 lines
623 B
Makefile
#
|
|
# Copyright (C) 2016 Jiang Yutang <jiangyutang1978@gmail.com>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
BOARD:=layerscape
|
|
BOARDNAME:=NXP Layerscape
|
|
KERNEL_PATCHVER:=5.4
|
|
FEATURES:=squashfs nand usb pcie gpio fpu ubifs ext4 rootfs-part boot-part
|
|
SUBTARGETS:=armv8_64b armv7
|
|
|
|
define Target/Description
|
|
Build firmware images for NXP Layerscape based boards.
|
|
endef
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES += kmod-usb3 kmod-usb-dwc3 kmod-usb-storage \
|
|
mkf2fs e2fsprogs partx-utils
|
|
|
|
$(eval $(call BuildTarget))
|