Add JH7110 target for 2403sp2
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DEVICE_NAME := StarFive-JH7110
|
||||
|
||||
$(foreach profile_dir,$(filter-out %.mk,$(wildcard $(CURRENT_DIR)*)),$(eval $(call add_device_profile,$(profile_dir))))
|
||||
@@ -0,0 +1 @@
|
||||
linux-firmware
|
||||
@@ -0,0 +1,24 @@
|
||||
OUTPUT_FORMAT=partitioned_disk
|
||||
PARTITION_TABLE_TYPE=GUID
|
||||
|
||||
PARTITION_1_OFFSET=1MB
|
||||
PARTITION_1_SIZE=499M
|
||||
PARTITION_1_NAME="oerv-boot"
|
||||
PARTITION_1_UUID=
|
||||
PARTITION_1_TYPE=bls_boot
|
||||
PARTITION_1_ATTRS=legacy_boot
|
||||
PARTITION_1_USAGE=MOUNTPOINT
|
||||
PARTITION_1_MOUNTPOINT="/boot"
|
||||
PARTITION_1_FS=vfat
|
||||
PARTITION_1_FS_UUID=
|
||||
|
||||
PARTITION_2_OFFSET=
|
||||
PARTITION_2_SIZE=
|
||||
PARTITION_2_NAME="oerv-root"
|
||||
PARTITION_2_UUID=
|
||||
PARTITION_2_TYPE=linux_root_riscv64
|
||||
PARTITION_2_ATTRS=
|
||||
PARTITION_2_USAGE=MOUNTPOINT
|
||||
PARTITION_2_MOUNTPOINT="/"
|
||||
PARTITION_2_FS=ext4
|
||||
PARTITION_2_FS_UUID=
|
||||
@@ -0,0 +1,2 @@
|
||||
dracut
|
||||
u-boot-menu
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cat << EOF | column -t | tee "${ROOTFS_DIR}/etc/fstab"
|
||||
UUID=$($get_fs_uuid_by_mountpoint /) / ext4 errors=remount-ro 0 1
|
||||
UUID=$($get_fs_uuid_by_mountpoint /boot) /boot vfat defaults 0 2
|
||||
EOF
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
. "${ROOTFS_DIR}/etc/os-release"
|
||||
|
||||
cat << EOF | tee "${ROOTFS_DIR}/etc/default/u-boot"
|
||||
U_BOOT_PROMPT="2"
|
||||
U_BOOT_MENU_LABEL="${PRETTY_NAME}"
|
||||
# tty enabled on both serial0
|
||||
U_BOOT_PARAMETERS="rootwait rw earlycon=sbi console=ttyS0,115200 rd.multipath=0"
|
||||
U_BOOT_ROOT=root=UUID="$($get_fs_uuid_by_mountpoint /)"
|
||||
U_BOOT_SEPARATE_BOOT="true"
|
||||
U_BOOT_FDT_DIR="/dtb-"
|
||||
EOF
|
||||
@@ -0,0 +1 @@
|
||||
oerv-firstboot
|
||||
@@ -0,0 +1,2 @@
|
||||
kernel
|
||||
kernel-headers
|
||||
@@ -0,0 +1 @@
|
||||
PROFILE_NAME := extlinux
|
||||
@@ -0,0 +1,13 @@
|
||||
[bsp-common]
|
||||
name=BSP-Common
|
||||
type=rpm-md
|
||||
baseurl=https://build-repo.tarsier-infra.isrc.ac.cn//home:/salimterryli:/bsp:/common/openeuler-24.03-sp2/
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
|
||||
[bsp-starfive-jh7110]
|
||||
name=BSP-K1
|
||||
type=rpm-md
|
||||
baseurl=https://build-repo.tarsier-infra.isrc.ac.cn//home:/salimterryli:/bsp:/starfive:/jh7110/openeuler-24.03-sp2/
|
||||
enabled=1
|
||||
gpgcheck=0
|
||||
Reference in New Issue
Block a user