mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-10 04:12:05 +08:00
rockchip: add default pacakge
This commit is contained in:
parent
9d43160389
commit
8c900f879c
@ -17,8 +17,8 @@ endef
|
|||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
DEFAULT_PACKAGES += uboot-envtools partx-utils e2fsprogs mkf2fs kmod-gpio-button-hotplug \
|
DEFAULT_PACKAGES += uboot-envtools partx-utils e2fsprogs mkf2fs kmod-gpio-button-hotplug \
|
||||||
automount autocore-arm fdisk e2fsprogs ethtool haveged htop lm-sensors \
|
automount autocore-arm autosamba fdisk cfdisk e2fsprogs ethtool haveged htop \
|
||||||
openssh-sftp-server luci-app-zerotier
|
luci-app-zerotier luci-app-ipsec-vpnd
|
||||||
|
|
||||||
KERNELNAME:=Image dtbs
|
KERNELNAME:=Image dtbs
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ define Build/pine64-img
|
|||||||
# http://opensource.rock-chips.com/wiki_Boot_option#Boot_flow
|
# http://opensource.rock-chips.com/wiki_Boot_option#Boot_flow
|
||||||
#
|
#
|
||||||
# U-Boot SPL expects the U-Boot ITB to be located at sector 0x4000 (8 MiB) on the MMC storage
|
# U-Boot SPL expects the U-Boot ITB to be located at sector 0x4000 (8 MiB) on the MMC storage
|
||||||
$(SCRIPT_DIR)/gen_image_generic.sh \
|
PADDING=1 $(SCRIPT_DIR)/gen_image_generic.sh \
|
||||||
$@ \
|
$@ \
|
||||||
$(CONFIG_TARGET_KERNEL_PARTSIZE) $@.boot \
|
$(CONFIG_TARGET_KERNEL_PARTSIZE) $@.boot \
|
||||||
$(CONFIG_TARGET_ROOTFS_PARTSIZE) $(IMAGE_ROOTFS) \
|
$(CONFIG_TARGET_ROOTFS_PARTSIZE) $(IMAGE_ROOTFS) \
|
||||||
@ -53,7 +53,7 @@ define Build/pine64-bin
|
|||||||
# Generate a new partition table in $@ with 32 MiB of alignment
|
# Generate a new partition table in $@ with 32 MiB of alignment
|
||||||
# padding for the idbloader, uboot and trust image to fit:
|
# padding for the idbloader, uboot and trust image to fit:
|
||||||
# http://opensource.rock-chips.com/wiki_Boot_option#Boot_flow
|
# http://opensource.rock-chips.com/wiki_Boot_option#Boot_flow
|
||||||
$(SCRIPT_DIR)/gen_image_generic.sh \
|
PADDING=1 $(SCRIPT_DIR)/gen_image_generic.sh \
|
||||||
$@ \
|
$@ \
|
||||||
$(CONFIG_TARGET_KERNEL_PARTSIZE) $@.boot \
|
$(CONFIG_TARGET_KERNEL_PARTSIZE) $@.boot \
|
||||||
$(CONFIG_TARGET_ROOTFS_PARTSIZE) $(IMAGE_ROOTFS) \
|
$(CONFIG_TARGET_ROOTFS_PARTSIZE) $(IMAGE_ROOTFS) \
|
||||||
|
@ -27,7 +27,7 @@ define Device/friendlyarm_nanopi-r4s
|
|||||||
DEVICE_MODEL := NanoPi R4S
|
DEVICE_MODEL := NanoPi R4S
|
||||||
SOC := rk3399
|
SOC := rk3399
|
||||||
UBOOT_DEVICE_NAME := nanopi-r4s-rk3399
|
UBOOT_DEVICE_NAME := nanopi-r4s-rk3399
|
||||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r4s | pine64-img | gzip | append-metadata
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r4s | pine64-bin | gzip | append-metadata
|
||||||
DEVICE_PACKAGES := kmod-r8169 -urngd
|
DEVICE_PACKAGES := kmod-r8169 -urngd
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += friendlyarm_nanopi-r4s
|
TARGET_DEVICES += friendlyarm_nanopi-r4s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user