xiaomi-ferrari: new device
Merge request reports
Activity
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
added category::device + 1 deleted label
Please create a new wiki page for your device on wiki.postmarketos.org and fill the checklist.
For things that does not work yet, please left them blank.
By Danct12 on 2020-05-04T08:37:12
- Resolved by Administrator
deviceinfo is missing the new
deviceinfo_chassis
property, see the wiki page or pmbootstrap!1933 (merged)By Stanislav Jakúbek on 2020-05-27T15:48:11
added 93 commits
-
f70144df...1ba5bbea - 88 commits from branch
postmarketOS:master
- 39676cdb - xiaomi-ferrai: new device
- f04ff2ef - resolve threads
- fecca44e - run tests again
- 4c28c822 - add wifi firmware and new deviceinfo var chassis
- ab998bf3 - merge
By Suraaj Vashisht on 2020-05-28T13:39:43
Toggle commit list-
f70144df...1ba5bbea - 88 commits from branch
I've done a few changes to finish this up:
- rebased on master
- squashed commits
- added
pmb:cross-native
option to the linux APKBUILD, as it is required now (and IIRC we do have a check for it, after rebasing on master). - added a description line to the patch to make the APKBUILD linting happy
- added
linux-headers
dependency, so it build withpmbootstrap build --strict
This merge request has been open since one month, has seen quite some reviewing and everything was resolved. It looks good to me as well. So I'll merge it with just one approval (instead of usual two), once it builds.
Thank you for the device port, @SUNGOLDSV!
For reference, my changes:
diff --git a/device/testing/linux-xiaomi-ferrari/01_prima_gcc6.patch b/device/testing/linux-xiaomi-ferrari/01_prima_gcc6.patch index 0550bb31..20c64c3e 100644 --- a/device/testing/linux-xiaomi-ferrari/01_prima_gcc6.patch +++ b/device/testing/linux-xiaomi-ferrari/01_prima_gcc6.patch @@ -1,3 +1,5 @@ +Fix compilation with GCC-6 + diff --git a/drivers/staging/prima/CORE/VOSS/src/wlan_nv_template_builtin.c b/drivers/staging/prima/CORE/VOSS/src/wlan_nv_template_builtin.c index 14c6eadf524..e26b697f793 100644 --- a/drivers/staging/prima/CORE/VOSS/src/wlan_nv_template_builtin.c diff --git a/device/testing/linux-xiaomi-ferrari/APKBUILD b/device/testing/linux-xiaomi-ferrari/APKBUILD index 63a850e8..be7da679 100644 --- a/device/testing/linux-xiaomi-ferrari/APKBUILD +++ b/device/testing/linux-xiaomi-ferrari/APKBUILD @@ -10,8 +10,8 @@ _carch="arm64" _flavor="xiaomi-ferrari" url="https://kernel.org" license="GPL-2.0-only" -options="!strip !check !tracedeps" -makedepends="bash bc bison devicepkg-dev flex openssl-dev perl dtbtool gcc6" +options="!strip !check !tracedeps pmb:cross-native" +makedepends="bash bc bison devicepkg-dev flex openssl-dev perl dtbtool gcc6 linux-headers" # Compiler: GCC 6 (doesn't boot when compiled with newer versions) if [ "${CC:0:5}" != "gcc6-" ]; then CC="gcc6-$CC" @@ -55,4 +55,4 @@ sha512sums="2cd2854045eaada791e912612ce609ca4cb5d7082a5019fc86effa92db3fe4a1df8b 1a7c0a9d56541d7d22e05914d6bbc8a6c06fca596c5aa700d2e83408510a5aa4b65da2312fa1c85f4101264d845fefa6c72943b3b498b970d4b4d8d72b9e2ad1 config-xiaomi-ferrari.aarch64 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch -184875cf13a180d1c4bbe27d8ad24a8d6bd2e36ec35f9c4326809f1c8938ecebf3844c36ef71f4a0af9077e2506a82b2b4383ffd020dd1918aba1689d77b0c01 01_prima_gcc6.patch" +a246e10cd979a7f5defb3a97049448b70cff892d667e41f998431ddbeb0e19a84687296b2456e807dd48090823bec63a340f07f3b4ba32121113914e41d299da 01_prima_gcc6.patch"
By Oliver Smith on 2020-06-05T11:52:10