03:49
hexdump01 has joined #linux-cros-arm
03:51
hexdump0815 has quit [Ping timeout: 480 seconds]
15:20
<
bonfire_ >
jenneron[m]: ok, manually deleting all my repos and pmbootstrap env worked
15:21
<
bonfire_ >
I was able to run checksum linux-postmarketos-mediatek-mt8183
15:21
<
jenneron[m] >
you also need to bump pkgrel
15:21
<
jenneron[m] >
and include patch in source in APKBUILD
15:22
<
bonfire_ >
ok, where is that done?
15:22
<
jenneron[m] >
device/testing/linux-postmarketos-mtk-mt8183/APKBUILD
15:22
<
jenneron[m] >
device/testing/linux-postmarketos-mediatek-mt8183/APKBUILD
15:23
<
bonfire_ >
this process is considering "adding a patch toa kernel" yes?
15:23
<
bonfire_ >
(for my personal documentation)
15:24
<
jenneron[m] >
that's why I asked git diff
15:24
<
jenneron[m] >
I can see if it's done correctly
15:25
<
bonfire_ >
so far git status only shows untracked file
15:25
<
bonfire_ >
device/testing/linux-postmarketos-mediatek-mt8183/mt8183-kukui-krane-rotation-panel.patch
15:25
<
bonfire_ >
is that the correct place for it?
15:27
<
jenneron[m] >
bonfire_: it's better to remember 2 things: 1) all files used in package must be specified in `source` variable 2) `default_prepare` function in APKBUILD checks `source` for files named as *.patch and applies them
15:27
<
jenneron[m] >
I mean it's not related only to kernels, but to any packages
15:27
<
jenneron[m] >
in Alpine
15:29
<
bonfire_ >
eh device/testing/linux-postmarketos-mtk-mt8183/APKBUILD
15:29
<
bonfire_ >
this dir does not exist in my repo
15:33
<
bonfire_ >
is that s/mtk/mediatek/ ?
15:34
<
bonfire_ >
or is that in some branch?
15:36
<
bonfire_ >
oh just a typo in your first link
15:38
<
bonfire_ >
jenneron[m]: is your patch supposed to be in mt8183-panel-orientation.patch or it's own file?
15:38
<
jenneron[m] >
<bonfire_> "so far git status only shows..." <- it will show when you update source and run checksum
15:39
<
jenneron[m] >
bonfire_: hm? use any name ending with .patch
15:39
<
bonfire_ >
ok. that's what I did
15:39
<
jenneron[m] >
just add the same to source
15:40
<
bonfire_ >
but some .patch files have just one patch, while others have multiple
15:40
<
bonfire_ >
or do I not understand this
15:41
<
jenneron[m] >
some patches patch multiple files
15:41
<
jenneron[m] >
oh what
15:41
<
jenneron[m] >
does it even work
15:42
<
bonfire_ >
this is all super foreign territory for me
15:43
<
bonfire_ >
i'm a webdev :P
15:54
<
jenneron[m] >
bonfire_: bump pkgrel
15:55
<
jenneron[m] >
i'm now not sure this patch is a good idea
15:55
<
jenneron[m] >
it's going to break touchscreen, not only accelerometer
15:56
<
jenneron[m] >
so may be it's not worth testing
15:57
<
bonfire_ >
mmm you tell me
15:58
<
bonfire_ >
pkgrel=0 so change to 0.0.1 ?
15:58
<
jenneron[m] >
bonfire_: am i right that your panel is vertical while booting?
15:58
<
jenneron[m] >
bonfire_: 0 > 1
15:58
<
bonfire_ >
yes, it's vertical no matter the position of the tablet
15:59
<
bonfire_ >
err wait, it's vertical on boot, yes
16:00
<
bonfire_ >
no, sorry the 4x penguins and first flash terminal are horizontal when booting
16:00
<
bonfire_ >
once loading the GUI it switches to vertical
16:00
<
jenneron[m] >
bonfire_: what about splash screen?
16:01
<
bonfire_ >
splash screen is also vertical
16:01
<
jenneron[m] >
are penguins right or they are inverted by 180 degrees?
16:01
<
bonfire_ >
whatever happens when loading wayland it kicks it to the right 90 deg
16:01
<
jenneron[m] >
splash screen is still not wayland
16:02
<
jenneron[m] >
try that patch and tell me what happens
16:02
<
jenneron[m] >
that's fine
16:02
<
bonfire_ >
ok, so pkgrel=1
16:02
<
bonfire_ >
updated checksum
16:02
<
bonfire_ >
now what do I?
16:03
<
jenneron[m] >
pmbootstrap build linux-postmarketos-mediatek-mt8183
16:04
<
bonfire_ >
ah so pkgrel_bump only tells you which value to use
16:05
<
jenneron[m] >
pkgrel_bump does 0 > 1, 1 > 2, etc automatically
16:05
<
jenneron[m] >
but you can edit it manually, it doesn't matter
16:05
<
jenneron[m] >
pkgrel needs to be bumped, so you will have never package version
16:05
<
jenneron[m] >
newer*
16:07
<
bonfire_ >
ok. that is built.
16:08
<
jenneron[m] >
use sideload to install it
16:08
<
bonfire_ >
ah so that sideloads just the kernel package to the device directly?
16:09
<
jenneron[m] >
your device has sshd enabled for this
16:09
<
jenneron[m] >
unless you disabled it
16:09
<
bonfire_ >
nice. that's pretty cool
16:12
<
bonfire_ >
bah not done building. very slow
17:24
<
bonfire_ >
jenneron[m]: hrm, error on sideloading
17:24
<
bonfire_ >
ERROR: /tmp/linux-postmarketos-mediatek-mt8183-5.18-r2.apk: UNTRUSTED signature
17:26
<
jenneron[m] >
it has --install-key or something like this
17:26
<
jenneron[m] >
run pmbootstrap sideload --help
17:26
<
bonfire_ >
that the APK signing key?
17:28
<
bonfire_ >
hrm, completed the tasks but had this error
17:28
<
bonfire_ >
2022/10/22 19:27:43 only one kernel release/flavor is supported, found: ["/usr/share/kernel/postmarketos-mediatek-mt8183/kernel.release" "/usr/share/kernel/postmarketos-mtk-mt8183/kernel.release"]
17:28
<
bonfire_ >
ERROR: postmarketos-mkinitfs-1.5-r0.trigger: script exited with error 1
17:30
<
jenneron[m] >
run apk upgrade -a on device
17:30
<
jenneron[m] >
you haven't upgraded your system for some time
17:30
<
bonfire_ >
yah I just started intuitively doing that :P
17:37
<
bonfire_ >
ok, sidedloaded without error
17:38
<
bonfire_ >
still booting roated 90 right (vertical) once in wayland
17:38
<
jenneron[m] >
and splash screen?
17:38
<
bonfire_ >
I actually don't see a splash screen with sxmo
17:38
<
jenneron[m] >
send your /sys/firmware/fdt
17:41
<
bonfire_ >
ehh just cat that file or?
17:41
<
bonfire_ >
the start of it has loads of encoding corruption
17:41
<
jenneron[m] >
upload somewhere
17:42
<
jenneron[m] >
or decompile with dtc