testdata: replace mtk_mtkimage-boot.img (MR 2105)

Replace the previous mtkimage-boot.img file, which were only the first 4
KiB of a mediatek boot.img file, with a full one. I made this full image
with pmbootstrap install for fairphone-fp1, it contains the kernel
packaged in pmaports.git master.

Reason for the replacement is, that the previous image did not contain
the label for the ramdisk. The current code ignored this, but upcoming
refactoring will test this more strictly and the dummy image will not
pass the test anymore.
This commit is contained in:
Oliver Smith 2021-09-12 21:43:01 +02:00
parent 6fde1f0851
commit cd366859de
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
2 changed files with 4 additions and 4 deletions

View File

@ -73,13 +73,13 @@ def test_bootimg_qcdt(args):
def test_bootimg_mtk_mkimage(args):
path = pmb_test.const.testdata + "/bootimg/mtk_mkimage-boot.img"
output = {"base": "0x80000000",
output = {"base": "0x10000000",
"kernel_offset": "0x00008000",
"ramdisk_offset": "0x04000000",
"ramdisk_offset": "0x01000000",
"second_offset": "0x00f00000",
"tags_offset": "0x0e000000",
"tags_offset": "0x00000100",
"pagesize": "2048",
"cmdline": "bootopt=64S3,32S1,32S1",
"cmdline": "",
"qcdt": "false",
"mtk_mkimage": "true",
"dtb_second": "false"}

Binary file not shown.