fly-iq4404: new device
My port is ready to merge, but pmbootstrap creates a broken boot.img. I have to do mtkimg repack newboot.img -n -k vmlinuz-fly-iq4404 -r initramfs-fly-iq4404
It also requires image.cfg
image.cfg
Merge request reports
Activity
My mtkimg aport is ready: https://gitlab.com/LibrePhone/pmaports/tree/mtkimg
By Михалыч on 2020-01-06T14:47:39
- device/linux-fly-iq4404/APKBUILD 0 → 100644
1 # Reference: <https://postmarketos.org/vendorkernel> 2 # Kernel config based on: arch/arm/configs/(CHANGEME!) Replace
(CHANGEME!)
with the correct defconfig.By Danct12 on 2020-01-06T15:14:39
Edited by Administratorchanged this line in version 2 of the diff
By Михалыч on 2020-01-06T15:53:52
84 IC:[AL6]:APKBUILD:17:prefix custom variable with _: HOSTCC="${CC:-gcc}" 85 IC:[AL6]:APKBUILD:18:prefix custom variable with _: HOSTCC="${HOSTCC#${CROSS_COMPILE}}" 86 MC:[AL31]:APKBUILD:17:variables must not have capital letters 87 MC:[AL31]:APKBUILD:18:variables must not have capital letters 88 MP:[AL32]:APKBUILD:23:unnecesary usage of braces: ${_flavor} 89 MP:[AL32]:APKBUILD:23:unnecesary usage of braces: ${arch} 90 MP:[AL32]:APKBUILD:25:unnecesary usage of braces: ${_commit} 91 MP:[AL32]:APKBUILD:25:unnecesary usage of braces: ${_repository} 92 MP:[AL32]:APKBUILD:30:unnecesary usage of braces: ${_commit} 93 MP:[AL32]:APKBUILD:30:unnecesary usage of braces: ${_repository}
It seems to me or all this contradicts what you have written in the wiki and what I see in neighboring devices. And all these errors from the
pmbootstrap init
templateBy Михалыч on 2020-01-10T08:37:28
'/usr/share/devicepkg-dev/compiler-gcc.h' -> '/home/pmos/build/src/kernel-3.10-iq4404_mt6572-a619869f394bc2f00226efa230bc33894648af4e/include/linux/compiler-gcc.h' make: Entering directory '/home/pmos/build/src/kernel-3.10-iq4404_mt6572-a619869f394bc2f00226efa230bc33894648af4e' HOSTCC scripts/basic/fixdep /bin/sh: armv7-alpine-linux-musleabihf-gcc:-gcc#armv7-alpine-linux-musleabihf-: not found make[1]: *** [scripts/Makefile.host:118: scripts/basic/fixdep] Error 127 make: *** [Makefile:423: scripts_basic] Error 2 make: Leaving directory '/home/pmos/build/src/kernel-3.10-iq4404_mt6572-a619869f394bc2f00226efa230bc33894648af4e' >>> ERROR: linux-fly-iq4404: prepare failed (004103) [19:41:21] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
By Михалыч on 2020-01-10T14:45:23
added 6 commits
-
d67c6c9e...0bc495cf - 5 commits from branch
postmarketOS:master
- dc06ecee - Merge branch 'master' of https://gitlab.com/postmarketOS/pmaports into fly-iq4404
By Михалыч on 2020-01-12T09:19:09
-
d67c6c9e...0bc495cf - 5 commits from branch
added 2 commits
By Михалыч on 2020-01-13T15:55:12
but pmbootstrap creates a broken boot.img
@LibrePhone have you tried with the
deviceinfo_bootimg_mtk_mkimage=true
variable in thedeviceinfo
?maybe you have to also do something like this: https://gitlab.com/postmarketOS/pmaports/blob/f329c8f5ac69641787b296819f1977077552c3be/device/linux-fairphone-fp1/APKBUILD#L51-55
By Daniele Debernardi on 2020-01-14T12:18:43
Edited by Administrator
added 11 commits
- 2d542913 - add port from fly-iq4404
- d0f72761 - fix checksum device-fly-iq4404
- ff95a1bc - add config info
- a05c6368 - add msm-fb-refresher
- 0445166c - clear {}
- 3c11ccce - _hostcc
- 66e92c0f - pkgrel=0
- 5e1b74f6 - Revert "clear {}"
- 984051d3 - Revert "_hostcc"
- b78d50c5 - Revert "Revert "clear {}""
- c338fbb3 - Merge branch 'fly-iq4404' of https://gitlab.com/LibrePhone/pmaports into fly-iq4404
By Михалыч on 2020-01-15T05:05:21
Toggle commit list