Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
image sdcard.img {
hdimage {
partition-table-type = "gpt"
}
partition u-boot-spl {
image = "u-boot-spl.bin"
offset = 17K
partition-type-uuid = 5b193300-fc78-40cd-8002-e86c45580b47
}
partition u-boot {
image = "u-boot.itb"
offset = 1041K
partition-type-uuid = 2e54b353-1271-4842-806f-e436d6af6985
}
partition rootfs {
image = "rootfs.ext4"
offset = 4076K
partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4
bootable = true
}
}

View File

@@ -0,0 +1,19 @@
image spi-nor.img {
size = 32M
hdimage {
partition-table-type = "gpt"
}
partition u-boot-spl {
image = "u-boot-spl.bin"
offset = 20K
partition-type-uuid = 5b193300-fc78-40cd-8002-e86c45580b47
}
partition u-boot {
image = "u-boot.itb"
offset = 1044K
partition-type-uuid = 2e54b353-1271-4842-806f-e436d6af6985
}
}

View File

@@ -0,0 +1,10 @@
CONFIG_HZ_100=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_SYSFS=y
CONFIG_GPIO_SIFIVE=y
CONFIG_POWER_RESET_GPIO_RESTART=y
CONFIG_MTD=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_SPI_NOR=y
CONFIG_PWM=y
CONFIG_PWM_SIFIVE=y

View File

@@ -0,0 +1,2 @@
#!/bin/sh
cp "$BINARIES_DIR/boot.scr" "$TARGET_DIR/boot/boot.scr"