Files
pmaports-rtwo/device/testing/device-pine64-pinenote/deviceinfo
T
Antoine Martin ba9a20264a device-pine64-pinenote: add partition-table
* add `partition-table.txt` which sets the partition table using
`rkdeveloptool`. Due to lack of support from pmbootstrap, currently has
to be done manually.  Comments are added in `deviceinfo` to make that clear.
* removes from `deviceinfo` `deviceinfo_sd_embed_firmware` as unused.
Due to lack of support from pmbootstrap for flashing u-bout using
pmbootstrap, currently has to be done manually. Comments are added
in `deviceinfo` to make that clear.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6711
2025-07-28 10:32:59 +02:00

50 lines
1.8 KiB
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="Pine64 PineNote"
deviceinfo_manufacturer="Pine64"
deviceinfo_codename="pine64-pinenote"
deviceinfo_year="2021"
deviceinfo_dtb="rockchip/rk3566-pinenote-v1.2"
deviceinfo_arch="aarch64"
deviceinfo_gpu_accelerated="true"
# Device related
deviceinfo_chassis="tablet"
deviceinfo_keyboard="false"
deviceinfo_external_storage="false"
deviceinfo_screen_width="1404"
deviceinfo_screen_height="1872"
deviceinfo_getty="ttyS2;1500000"
# initfs
# Flash related
deviceinfo_flash_method="rkdeveloptool"
deviceinfo_flash_rk_partition_kernel="boot"
deviceinfo_flash_rk_partition_rootfs="os1"
# Partition table
# pmbootstrap does not support flashing a partition table using rkdeveloptool, manual steps:
# enable `write-partition-table` commands
# > rkdeveloptool reboot-maskrom
# > rkdeveloptool boot $chroot/usr/share/u-boot/pine64-pinenote/rk356x_spl_loader_v1.12.112.bin
# >
# write new GPT partition table
# > rkdeveloptool write-partition-table partition_table.txt
# >
# deviceinfo_flash_rk_partition_table="partition-table.txt"
# Bootloader
# pmbootstrap does not support flashing u-boot using rkdeveloptool, manual steps:
# > rkdeveloptool write-partition idbloader $chroot/usr/share/u-boot/pine64-pinenote/idbloader.img
# > rkdeveloptool write-partition uboot $chroot/usr/share/u-boot/pine64-pinenote/uboot.img
# >
# deviceinfo_sd_embed_firmware="u-boot/pine64-pinenote/idbloader.img:64,u-boot/pine64-pinenote/u-boot.itb:16384"
# deviceinfo_sd_embed_firmware_step_size="512
deviceinfo_generate_extlinux_config="true"
deviceinfo_kernel_cmdline="drm.debug=0x0 vt.color=0xf earlycon console=tty0 console=ttyS2,1500000n8 PMOS_FORCE_PARTITION_RESIZE"