Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171237127
D43849.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
821 B
Referenced Files
None
Subscribers
None
D43849.diff
View Options
diff --git a/release/riscv/GENERICSD.conf b/release/riscv/GENERICSD.conf
--- a/release/riscv/GENERICSD.conf
+++ b/release/riscv/GENERICSD.conf
@@ -1,6 +1,4 @@
#!/bin/sh
-#
-#
EMBEDDED_TARGET_ARCH="riscv64"
EMBEDDED_TARGET="riscv"
@@ -11,4 +9,18 @@
KERNEL="GENERIC"
MD_ARGS="-x 63 -y 255"
PART_SCHEME="GPT"
+EFIPART_SUFFIX=p3
+ROOTFSPART_SUFFIX=p4
export BOARDNAME="GENERICSD"
+
+arm_create_partitions() {
+ # Create two partitions for firmware, preceding EFI and ROOTFS:
+ # 1. u-boot SPL
+ # 2. u-boot loader
+ #
+ # The exact partition types can be rewritten by the user, but they should
+ # be reserved now.
+
+ chroot ${CHROOTDIR} gpart add -t hifive-fsbl -l spl -a 512k -b 2m -s 2m ${mddev}
+ chroot ${CHROOTDIR} gpart add -t hifive-bbl -l uboot -a 512k -b 4m -s 4m ${mddev}
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 10, 6:16 PM (8 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38660067
Default Alt Text
D43849.diff (821 B)
Attached To
Mode
D43849: riscv: add firmware partitions to GENERICSD.conf
Attached
Detach File
Event Timeline
Log In to Comment