mainline kernel

This commit is contained in:
MeexReay 2025-06-02 06:01:46 +03:00
parent c0e3e8e9fe
commit 50b033f21c
6 changed files with 3419 additions and 1981 deletions

View File

@ -4,13 +4,13 @@ This port also might work on angelica (without NFC) and other phones on MT6765 p
## Roadmap
- [x] Kernel compiling
- [x] Kernel booting
- [x] Debug shell
- [x] Framebuffer + boot logo
- [x] PMOS booting
- [x] SSH (use `ssh 172.16.42.1`)
- [x] Display + Toucscreen (i3wm works)
- [ ] Kernel compiling
- [ ] Kernel booting
- [ ] Debug shell
- [ ] Framebuffer + boot logo
- [ ] PMOS booting
- [ ] SSH (using of `ssh 172.16.42.1`)
- [ ] Display + Touchscreen
- [ ] Built-in llvmpipe
## How to install

View File

@ -11,8 +11,8 @@ depends="
linux-xiaomi-angelican
mkbootimg
postmarketos-base
msm-fb-refresher
"
# msm-fb-refresher
makedepends="devicepkg-dev"
source="
deviceinfo

4
environment Normal file
View File

@ -0,0 +1,4 @@
LIBGL_ALWAYS_SOFTWARE=true
LIBGL_DRI2_DISABLE=true
LIBGL_DRI3_DISABLE=true
GALLIUM_DRIVER=llvmpipe

5
install.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
source extract-paths.sh
ln -s $PWD/linux-xiaomi-angelican $PMAPORTS/device/testing
ln -s $PWD/device-xiaomi-angelican $PMAPORTS/device/testing

View File

@ -23,17 +23,17 @@ makedepends="
"
# Source
_repository="kernel-xiaomi-mt6765"
_commit="5b52fedbe4d7c6809b5040f7486a8b72812f3fba"
_repository="linux-mt6765"
_commit="44ef20baed8edcb1799bec1e7ad2debbc93eedd8"
_config="config-$_flavor.$arch"
source="
$pkgname-$_commit.tar.gz::https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-redmi-9c/$_repository/-/archive/$_commit/$_repository-$_commit.tar.gz
$pkgname-$_commit.tar.gz::https://github.com/adomerle/$_repository/archive/$_commit.tar.gz
$_config
001-touchscreen-firmware-loading-time.patch
002-battery-percentage.patch
003-fix-check-lxdialog-makefile.patch
004-fix-check-lxdialog.patch
"
# 001-touchscreen-firmware-loading-time.patch
# 002-battery-percentage.patch
# 003-fix-check-lxdialog-makefile.patch
# 004-fix-check-lxdialog.patch
builddir="$srcdir/$_repository-$_commit"
_outdir="out"
@ -63,10 +63,6 @@ package() {
}
sha512sums="
beeaa1b5b5d3e6f635508c6f421051080f7fdc296909db7448e4c706b6a54755badc2ea0c1316dbf0a1d394dbea15266a84dfa36d9818c8df99747484c9175b6 linux-xiaomi-angelican-5b52fedbe4d7c6809b5040f7486a8b72812f3fba.tar.gz
399dbdda808e8b6bce506ac34a7ad6a27bf5bcfcf24e62d13a7a6cfb08309e41388dfa4e001c3c9ee5265c4d69f60dfe453c5f62b43914675f1868963c95cdf7 config-xiaomi-angelican.aarch64
3fc36011ab030382f6b74e3821dcc75a236e12fe38bf18639fededc6c49a8c809d9ca1af5a9f2ed83f5f412a383918db14b4af48eda7087ec5997ca00e018152 001-touchscreen-firmware-loading-time.patch
2ed25978e3c91addf7e568b68ccb6036aa581da0981ec75527e25d15d0ee7dfed97100376e58ce6a6c07ef8a96210a30c0ad91b3cea29528aa89fc59980691bf 002-battery-percentage.patch
c33fad9de627e72f12e61e728fa1ec53ef15259c7790392a997cc7269e60e45da9534d58851c3b348a1729aaa134d1df305e33546e8a1f3654462f2c3c1d9563 003-fix-check-lxdialog-makefile.patch
182be3c596b9cc267ac108d7cf03fc8c328ccc6b36770800e4dcedea8d1bb65e3f5eacf590c2948f58b1418cc60a1670ba77dde8c259e428d158c31b6e1dbaf5 004-fix-check-lxdialog.patch
0d7d6a977b1c833459169e2add25888c2c2e75fb094a6201cbd87a925cdfd30765fff9570b6d19988c7ca1c9f30f509f81c5084f3786ac25876dfc67c6090da1 linux-xiaomi-angelican-44ef20baed8edcb1799bec1e7ad2debbc93eedd8.tar.gz
3ccdb16a047ebbfcaae24a15fdae58470490293e77633677434022696c4efbfc7d1a44ffc9b76a567ae73a18392ad651a57e3d35cb1c76adf4d267c0b2090495 config-xiaomi-angelican.aarch64
"

File diff suppressed because it is too large Load Diff