summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-04-01 18:25:58 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-04-13 08:15:31 +0200
commitff2b468ccd00fe75762394e8cd61df535c9dc178 (patch)
tree6b07fa7cc85ed9c07b670008c094a3182e06d117 /mk
parentdc6786e6fb019e42b0b01011d1ca80f543e02978 (diff)
starfive-visionfive2: add basic support
Diffstat (limited to 'mk')
-rw-r--r--mk/image.mk8
-rw-r--r--mk/linux-ver.mk6
2 files changed, 12 insertions, 2 deletions
diff --git a/mk/image.mk b/mk/image.mk
index 8fe0bc3eb..364b80db3 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -342,8 +342,12 @@ ${FW_DIR}/${GENIMAGE}: ${TARGET_DIR} kernel-package
@mkdir -p ${FW_DIR}/temp
@$(CP) $(KERNEL) $(FW_DIR)/kernel
@dd if=/dev/zero of=${FW_DIR}/cfgfs.img bs=16384 count=1024 $(MAKE_TRACE)
- @mkdir -p ${FW_DIR}/extlinux
- @$(CP) $(EXTLINUX) $(FW_DIR)/extlinux
+ mkdir -p ${FW_DIR}/extlinux
+ $(CP) $(EXTLINUX) $(FW_DIR)/extlinux
+ mkdir -p $(TARGET_DIR)/boot/extlinux
+ $(CP) $(EXTLINUX) $(TARGET_DIR)/boot/extlinux
+ $(CP) $(FW_DIR)/kernel $(TARGET_DIR)/boot
+ -$(CP) $(FW_DIR)/*.dtb $(TARGET_DIR)/boot
ifeq ($(ADK_RUNTIME_FIX_PERMISSION),y)
echo '#!/bin/sh' > $(ADK_TOPDIR)/scripts/fakeroot.sh
echo "chown -R 0:0 $(TARGET_DIR)" >> $(ADK_TOPDIR)/scripts/fakeroot.sh
diff --git a/mk/linux-ver.mk b/mk/linux-ver.mk
index 55f8d1709..602ff7fcb 100644
--- a/mk/linux-ver.mk
+++ b/mk/linux-ver.mk
@@ -15,6 +15,12 @@ KERNEL_FILE_VER:= $(ADK_TARGET_LINUX_KERNEL_GIT)
KERNEL_RELEASE:= 1
KERNEL_VERSION:= $(ADK_TARGET_LINUX_KERNEL_GIT_VER)-$(KERNEL_RELEASE)
endif
+ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_6_8),y)
+KERNEL_FILE_VER:= 6.8.2
+KERNEL_RELEASE:= 1
+KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
+KERNEL_HASH:= 23e3e7b56407250f5411bdab95763d0bc4e3a19dfa431d951df7eacabd61a2f4
+endif
ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_6_6),y)
KERNEL_FILE_VER:= 6.6.22
KERNEL_RELEASE:= 1