Skip to content

Commit

Permalink
Switch rootfs partition label and image name from system to rootfs
Browse files Browse the repository at this point in the history
'system' as rootfs partition label and image name is a definition that
comes from the Android world, switch to 'rootfs' which is more standard
in general embedded linux terminology.

Signed-off-by: Ricardo Salveti <[email protected]>
  • Loading branch information
ricardosalveti authored and quic-vkraleti committed Nov 30, 2024
1 parent 73fedbf commit a3518d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion classes-recipe/image_types_qcom.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ QCOM_ESP_FILE ?= "${@'efi.bin' if d.getVar('QCOM_ESP_IMAGE') else ''}"
QCOM_DTB_DEFAULT ?= "${@os.path.basename(d.getVar('KERNEL_DEVICETREE').split()[0][:-4]) if d.getVar('KERNEL_DEVICETREE') else ''}"
QCOM_DTB_FILE ?= "dtb.bin"

QCOM_ROOTFS_FILE ?= "system.img"
QCOM_ROOTFS_FILE ?= "rootfs.img"
IMAGE_QCOMFLASH_FS_TYPE ??= "ext4"

QCOMFLASH_DIR = "${WORKDIR}/qcomflash"
Expand Down
2 changes: 1 addition & 1 deletion conf/machine/include/qcom-base.inc
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ EXTRA_IMAGECMD:ext4 = "-i 4096 -b 4096"

SERIAL_CONSOLES ?= "115200;ttyMSM0"

QCOM_BOOTIMG_ROOTFS ?= "PARTLABEL=system"
QCOM_BOOTIMG_ROOTFS ?= "PARTLABEL=rootfs"

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#This is LUN 0 - HLOS LUN
--partition --lun=0 --name=efi --size=524288KB --type-guid=C12A7328-F81F-11D2-BA4B-00A0C93EC93B --filename=efi.bin
--partition --lun=0 --name=system --size=23099392KB --type-guid=B921B045-1DF0-41C3-AF44-4C6F280D3FAE --filename=system.img
--partition --lun=0 --name=rootfs --size=23099392KB --type-guid=B921B045-1DF0-41C3-AF44-4C6F280D3FAE --filename=rootfs.img

#This is LUN 1 - Boot LUN A
--partition --lun=1 --name=xbl_a --size=3604KB --type-guid=DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 --filename=xbl.elf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
--partition --lun=0 --name=reserved1_a --size=65536KB --type-guid=4ef7c492-d028-41c6-b47a-bbd33850cb31
--partition --lun=0 --name=reserved2_a --size=65536KB --type-guid=4e351956-aa2a-479e-b5f7-163da39f14f6
--partition --lun=0 --name=efi --size=524288KB --type-guid=c12a7328-f81f-11d2-ba4b-00a0c93ec93b --filename=efi.bin
--partition --lun=0 --name=system --size=29390848KB --type-guid=b921b045-1df0-41c3-af44-4c6f280d3fae --filename=system.img
--partition --lun=0 --name=rootfs --size=29390848KB --type-guid=b921b045-1df0-41c3-af44-4c6f280d3fae --filename=rootfs.img

# This is LUN 1 - Boot LUN A
--partition --lun=1 --name=xbl_a --size=5120KB --type-guid=DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 --filename=xbl.elf
Expand Down

0 comments on commit a3518d8

Please sign in to comment.