Fix image creation scripts

This commit is contained in:
j1nx 2022-12-12 13:55:54 +01:00
parent c3be7ddd50
commit ad2e6f6199
4 changed files with 20 additions and 8 deletions

View File

@ -5,8 +5,8 @@
# and http://elinux.org/RPiconfig for a description of config.txt syntax # and http://elinux.org/RPiconfig for a description of config.txt syntax
# We always use the same names, the real used variant is selected by # We always use the same names, the real used variant is selected by
# BR2_PACKAGE_RPI_FIRMWARE_{DEFAULT,X,CD} choice # BR2_PACKAGE_RPI_FIRMWARE_{DEFAULT,X,CD} choice
start_file=startx.elf start_file=start_x.elf
fixup_file=fixupx.dat fixup_file=fixup_x.dat
kernel=Image kernel=Image

View File

@ -17,7 +17,15 @@ image boot.vfat {
"Image" "Image"
} }
} }
size = 96M size = 64M
}
image overlayfs.ext4 {
name = "overlayfs"
ext4 {
use-mke2fs = "true"
}
size = 64M
} }
image sdcard.img { image sdcard.img {
@ -26,7 +34,7 @@ image sdcard.img {
partition-table-type = "hybrid" partition-table-type = "hybrid"
} }
partition boot1 { partition boot {
partition-type = 0xC partition-type = 0xC
partition-uuid = 9262aee5-2d23-4e09-baac-280591e2e834 partition-uuid = 9262aee5-2d23-4e09-baac-280591e2e834
partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
@ -34,9 +42,15 @@ image sdcard.img {
image = "boot.vfat" image = "boot.vfat"
} }
partition rootfs1 { partition rootfs {
partition-uuid = c0932a41-44cf-463b-8152-d43188553ed4 partition-uuid = c0932a41-44cf-463b-8152-d43188553ed4
partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
image = "rootfs.ext4" image = "rootfs.squashfs"
}
partition overlayfs {
partition-uuid = f1326040-5236-40eb-b683-aaa100a9afcf
partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4
image = "overlayfs.ext4"
} }
} }

View File

@ -1 +0,0 @@
../raspberrypi/cmdline.txt

View File

@ -1 +0,0 @@
../raspberrypi/config.txt