forked from Mirror/pmbootstrap
test: aportgen: device: add tests for boot img with exynos qcdt
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2638
This commit is contained in:
parent
9662fcfb24
commit
53f050ef14
1 changed files with 57 additions and 0 deletions
|
@ -91,6 +91,63 @@ test_data: dict[str, tuple[Bootimg | None, list[str], list[str]]] = {
|
||||||
"flash_offset_base",
|
"flash_offset_base",
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
"header_exynos_qcdt": (
|
||||||
|
Bootimg(
|
||||||
|
cmdline="console=ttySAC1,115200",
|
||||||
|
header_version="2",
|
||||||
|
bootimg_qcdt="true",
|
||||||
|
base="",
|
||||||
|
kernel_offset="",
|
||||||
|
tags_offset="",
|
||||||
|
bootimg_qcdt_type="exynos",
|
||||||
|
bootimg_qcdt_exynos_platform="",
|
||||||
|
bootimg_qcdt_exynos_subtype="",
|
||||||
|
dtb_offset="",
|
||||||
|
dtb_second="",
|
||||||
|
pagesize="2048",
|
||||||
|
ramdisk_offset="",
|
||||||
|
second_offset="",
|
||||||
|
mtk_label_kernel="",
|
||||||
|
mtk_label_ramdisk="",
|
||||||
|
),
|
||||||
|
[
|
||||||
|
'kernel_cmdline="console=ttySAC1,115200"',
|
||||||
|
'bootimg_qcdt="true"',
|
||||||
|
'bootimg_qcdt_type="exynos"',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"bootimg_qcdt_exynos_platform",
|
||||||
|
"bootimg_qcdt_exynos_subtype",
|
||||||
|
],
|
||||||
|
),
|
||||||
|
"header_exynos_custom_qcdt": (
|
||||||
|
Bootimg(
|
||||||
|
cmdline="console=ttySAC1,115200",
|
||||||
|
header_version="2",
|
||||||
|
bootimg_qcdt="true",
|
||||||
|
base="",
|
||||||
|
kernel_offset="",
|
||||||
|
tags_offset="",
|
||||||
|
bootimg_qcdt_type="exynos",
|
||||||
|
bootimg_qcdt_exynos_platform="0x347e",
|
||||||
|
bootimg_qcdt_exynos_subtype="0x88668650",
|
||||||
|
dtb_offset="",
|
||||||
|
dtb_second="",
|
||||||
|
pagesize="2048",
|
||||||
|
ramdisk_offset="",
|
||||||
|
second_offset="",
|
||||||
|
mtk_label_kernel="",
|
||||||
|
mtk_label_ramdisk="",
|
||||||
|
),
|
||||||
|
[
|
||||||
|
'kernel_cmdline="console=ttySAC1,115200"',
|
||||||
|
'bootimg_qcdt="true"',
|
||||||
|
'bootimg_qcdt_type="exynos"',
|
||||||
|
'bootimg_qcdt_exynos_platform="0x347e"',
|
||||||
|
'bootimg_qcdt_exynos_subtype="0x88668650"',
|
||||||
|
],
|
||||||
|
[],
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue