device-samsung-m3: use msdos partition type

If a custom bl1 is used on sdcard, then it should be embedded at
0x200 (512). If a GPT filesystem is used, then the GPT header uses
roughly the first 0x500 bytes, and hence bl1 overwrites part of the
GPT header in that configuration.

Change to msdos partition type so that the filesystem works fine
whether or not we use stock bl1 or custom one.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6442
This commit is contained in:
Henrik Grimler 2025-04-22 15:56:02 +02:00 committed by Ferass El Hafidi
parent 5d9f009336
commit 95fe04886c
No known key found for this signature in database
GPG key ID: CAB5A5DBC11B967B
2 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Henrik Grimler <henrik@grimler.se>
pkgname=device-samsung-m3
pkgdesc="Samsung Galaxy S III LTE"
pkgver=9
pkgver=10
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -53,7 +53,7 @@ nonfree_firmware() {
}
sha512sums="
7f13c7960a9a68af17a31361d6eab8a54bcf3ecdc14473938e467d0889e7992913481d1fee3e509dbd9ecd35103d680af5769806ffb35356af77231f33b6212d deviceinfo
7b004bf4210adce30c8cac664688ca164353eb5747c132ff4b6d7efcbc393fadd08719202aa3d96f67bcab5734f0d2011ad2e0f4b1bcacebd137ab7e2ffba8cb deviceinfo
caa81e8ab6753c0ca24c22fb6742288765dfbf2469b8b8c35c5789edfcee546ef1c3b14ad6e540c417f434258399300f17d312b58157635eafab134587ef94cc Midas.conf
21f64c9104ec5780fffde8ba7ce57583592469694d07dd5e2de4173d7c9f99ba57fb28bb5bcfbbce921be9c4ead9d31980e948533162fe12424c2037145debb1 HiFi.conf
56a2bdffc273cb0a581192e65378ff50e71c7bc8a696af7d5e7c165a53c005aae104c4514c68afb668454c5a94ce78bd509f8a40e3401d67e16636b1ed81d051 modules-load.conf

View file

@ -36,3 +36,6 @@ deviceinfo_flash_pagesize="2048"
# Heimdall related
deviceinfo_flash_heimdall_partition_kernel="BOOT"
# If we use u-boot + custom bl1 embedded in sdcard, then bl1 location
# conflicts with GPT header, so use msdos.
deviceinfo_partition_type="msdos"