pinephone, pinetab, etc devel chat | https://gitlab.com/pine64-org/ Bridged to #pinedev on Freenode and #pine-dev:matrix.org on Matrix
[I] <dsimic> 2212 Enable the bootcount command, which allows interrogation and
Читать полностью…[M] <Danct12> pmic time as in, from the time the device was powered on until the device shuts down completely and resets the counter
Читать полностью…[M] <Danct12> actually got a dude interested in what i was doing
Читать полностью…[M] <Danct12> if you'd like to be cc, send me your email address
Читать полностью…[I] <megi> It will not be hard to adapt vop1 driver for this too, I guess, if your work will be accepted. So at that point I can push the rest of PPP display work to upstream, too.
Читать полностью…[M] <Danct12> the above is already done when the video bridge is being attached
Читать полностью…[M] <Danct12> dsimic: i have tested the get_display_timing for video bridge
Читать полностью…[M] <Yoda> Would be nice if we could get P-boot fully GPT compliant, and get a real 1.0 release :-)
Читать полностью…[M] <Yoda> I tried using gdisk to move the partition table up just under the 1MB line where all normal systems start their partitions. That made room enough to firmware - and my Linux system was still happy to read and understand the layout (Fedora). Just P-boot stopped working.
Читать полностью…[I] <dsimic> something like that would need to be stored in an environment variable
Читать полностью…[M] <Danct12> does u-boot have a way to track how many times the device has booted? i know there's one in u-boot, but not sure if it tracks total time or just pmic time
Читать полностью…[M] <Danct12> i stressed u-boot quite hard yesterday.. lol
Читать полностью…[M] <Danct12> megi: https://github.com/Danct12/u-boot/tree/vop2-2025.04
Читать полностью…[M] <Danct12> i also added `struct display_timings` to the bridge's priv_data so we don't have to decode the display timings again and again..
Читать полностью…[M] <Danct12> after adding support for it to the dw mipi dsi bridge, it works flawlessly
Читать полностью…[M] <Yoda> Had to instead resize partition table down as described in link - and that at least worked,
Читать полностью…[M] <Yoda> there is some info about it here in the GPT experimental section: https://linux-sunxi.org/Bootable_SD_card
Читать полностью…[M] <Yoda> I guessed that - which is basically first GPT implementation - but later versions added possibility to relocate it - address should be stored in sector 2
Читать полностью…