Some partitions are sparse (DATAFS, FACTORYFS), but the largest partition, UMS, needs to be non-sparse. DATAFS partition also expects some special images with a magic header (or something), simply trying to flash a sparse or non-sparse image to it gives an error from device bootloader: ``` [ ... ] erase completed(from 73728 to 90111). . mmc_pwrite: partition[6] written successfully. ...set_nps_update_start: set nps start flag successfully. process_packet: id=102, data=0 process_packet: id=102, data=2 process_packet: id=102, data=3 pda completed: id=11, size=31457280, final=0 Invalid Magic Code! 0x 0 [ ... ] ``` Therefore set UMS as default rootfs partition and create non-sparse images. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8877>
25 lines
723 B
Plaintext
25 lines
723 B
Plaintext
# Reference: <https://postmarketos.org/deviceinfo>
|
|
# Please use double quotes only. You can source this file in shell scripts.
|
|
|
|
deviceinfo_format_version="0"
|
|
deviceinfo_name="Samsung Galaxy SII"
|
|
deviceinfo_manufacturer="Samsung"
|
|
deviceinfo_codename="samsung-i9100"
|
|
deviceinfo_year="2011"
|
|
deviceinfo_append_dtb="true"
|
|
deviceinfo_dtb="exynos4210-i9100"
|
|
deviceinfo_uboot_boardname="trats"
|
|
deviceinfo_getty="ttySAC2;115200"
|
|
deviceinfo_arch="armv7"
|
|
|
|
# Device related
|
|
deviceinfo_drm="true"
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_screen_width="480"
|
|
deviceinfo_screen_height="800"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_heimdall_partition_rootfs="UMS"
|
|
deviceinfo_generate_extlinux_config="true"
|