Skip to content

qcom-purwa: remove QCOM_VFAT_SECTOR_SIZE overwrite for IQ-X5121#2751

Open
Shoudi Li (shoudil) wants to merge 1 commit into
qualcomm-linux:masterfrom
shoudil:purwa-vfat-sector-4096
Open

qcom-purwa: remove QCOM_VFAT_SECTOR_SIZE overwrite for IQ-X5121#2751
Shoudi Li (shoudil) wants to merge 1 commit into
qualcomm-linux:masterfrom
shoudil:purwa-vfat-sector-4096

Conversation

@shoudil

Copy link
Copy Markdown
Contributor

Remove the overwrite to use sector size 4096 as UFS build is enabled by default.

Fix the efi mount failure on UFS build:
[ 2122.484676] FAT-fs (sda1): logical sector size too small for device (logical sector size = 512)

@koenkooi

Copy link
Copy Markdown
Contributor

Do we need to support non-UFS storage, like eMMC? And if so, would this change break that?

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown

Test run workflow

Test jobs for commit dd85584

qcom-distro_linux-qcom-6.18
Pass: 229 | Fail: 5 | Total: 259
qcom-distro
Pass: 10 | Fail: 1 | Total: 11
nodistro
Pass: 10 | Fail: 0 | Total: 10

@test-reporting-app

test-reporting-app Bot commented Jul 16, 2026

Copy link
Copy Markdown

Test Results

   67 files  +   46    318 suites  +297   3h 10m 42s ⏱️ + 2h 15m 15s
  153 tests +  142    140 ✅ +  136   1 💤 + 1  12 ❌ +5 
2 088 runs  +1 903  2 050 ✅ +1 873  25 💤 +25  13 ❌ +5 

For more details on these failures, see this check.

Results for commit dd85584. ± Comparison against base commit 2be91de.

♻️ This comment has been updated with latest results.

@shoudil

Shoudi Li (shoudil) commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Do we need to support non-UFS storage, like eMMC? And if so, would this change break that?

Good question, on Hamoa/Purwa, both UFS and NVMe need to be supported. but only one HLOS build is supported, currently UFS is enabled by default. we are also considering to support multiple builds for diff storages, details on PR: #1736.
From our validation, efi.bin with 4096 sector size works on both NVMe and UFS. we only hit mount issue for efi.bin with 512 sector size on UFS build. This PR remove the overwrite 512 and use 4096 sector size, then same efi.bin will work well on both eMMC and UFS build.

@qcomlnxci

Copy link
Copy Markdown

Test Coral run workflow

Test jobs for commit 92c9ce4

  • qcomdistro: multimedia image
    Pass: 10 | Fail: 0 | Total: 10
  • qcomdistro: multimedia image-prop
    Pass: 42 | Fail: 0 | Total: 42

@lumag Dmitry Baryshkov (lumag) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which conf are you changing? All of them at the same time? Which platform uses UFS? RB1? Write clear enough commit messages.

@shoudil

Copy link
Copy Markdown
Contributor Author

Which conf are you changing? All of them at the same time? Which platform uses UFS? RB1? Write clear enough commit messages.

Added board info in commit message.

@shoudil Shoudi Li (shoudil) changed the title conf: remove QCOM_VFAT_SECTOR_SIZE overwrite 512 conf: remove QCOM_VFAT_SECTOR_SIZE overwrite for IQ-X5121 Jul 17, 2026

@lumag Dmitry Baryshkov (lumag) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are you changing? Not just conf.

@ricardosalveti

Copy link
Copy Markdown
Contributor

You are actually changing qcom-purwa.inc, say that instead (e.g. conf: qcom-purwa: remove ...).

@qcomlnxci

Copy link
Copy Markdown

Test Coral run workflow

Test jobs for commit 216e789

  • qcomdistro: multimedia image
    Pass: 10 | Fail: 0 | Total: 10
  • qcomdistro: multimedia image-prop
    Pass: 53 | Fail: 3 | Total: 56

Remove the overwrite to use sector size 4096 as UFS build is enabled by
default.

Fix the efi mount failure on UFS build:
[ 2122.484676] FAT-fs (sda1): logical sector size too small for device (logical sector size = 512)

Signed-off-by: Shoudi Li <shoudil@qti.qualcomm.com>
@shoudil Shoudi Li (shoudil) changed the title conf: remove QCOM_VFAT_SECTOR_SIZE overwrite for IQ-X5121 qcom-purwa: remove QCOM_VFAT_SECTOR_SIZE overwrite for IQ-X5121 Jul 17, 2026
@shoudil

Shoudi Li (shoudil) commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

What are you changing? Not just conf.

Changed to qcom-purwa as conf will cause confusion between conf file and conf folder.

@qcomlnxci

Copy link
Copy Markdown

Test Coral run workflow

Test jobs for commit dd85584

  • qcomdistro: multimedia image
    Pass: 10 | Fail: 0 | Total: 10
  • qcomdistro: multimedia image-prop
    Pass: 53 | Fail: 0 | Total: 53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants