On 9/20/18 9:07 AM, H. Nikolaus Schaller wrote:
Hi all,
Am 20.09.2018 um 00:46 schrieb Michael Mrozek EvilDragon@openpandora.org:
On Mi, 2018-09-19 at 11:03 +0200, H. Nikolaus Schaller wrote:
Well, I'm a bit confused myself here, so maybe aTc can shed some light here.
Here's what I know:
The Pyra uses a Debian-Base OS with Pyra-specific addons (as packages).
The source for the packages can be found on https://dev.pyra-handheld.com
As far as I am aware, aTc uses the Letux kernel with a few patches and a different config... but I have no idea where these are available :/
Yes, I'd like to add the pyra_defconfig to the Letux kernel tree.
There isn't really a pyra_defconfig. It's just the Letux kernel and letux_lpae_defconfig with aufs enabled, and sometimes a few other things someone requested to be enabled for experimenting.
There are various other pyra kernel sources spread all over the internet, but all of them have been merged into letux by this stage.
I don't have all of them combined in a source repo somewhere, but all of the packaged kernels on packages.pyra-handheld.com also have the source debs on there.
There is also a linux-image GIT... but that seems outdated, so I don't think it's this he's using: https://dev.pyra-handheld.com/packages/linux-image-pyra
It is used, but it's just a meta package that depends on the latest kernel. Since 4.15 is the one that has the least amount of issues on my hardware, it's still set to that as the default.
There's also a U-Boot source, but I'm not sure this is exactly what aTc uses: https://dev.pyra-handheld.com/notaz/pyra-u-boot
That's the one. And that should just be the letux uboot with the distro/extlinux option enabled, so I get a nice boot menu, and an easier way to install and switch multiple kernels/boot options.
I think we discussed that before and I suggested to use overlayfs which is maintained in mainline and is configured for Letux.
IMHO, the answer depends if aufs provides any feature that overlayfs can't provide or if it is just a matter of modifying some mount commands
I think the problem with overlayfs was that it can't overlay on top of a fs that doesn't have the same features. And since it has to overlay ext/f2fs/squashfs on top of a fat formatted sd card, there are a lot of user/group/protection bits missing. aufs doesn't have that limitation.
Without rotation, the framebuffer worked.
This might be a setup/config problem then. Needs more analysis and unfortunately I have no idea how PyraOS is trying to do the setup...
It just sets the rotation through the kernel cmdline, and uses fbturbo as the xorg driver. fbturbo does fail on the later kernels sometimes, but i think that's related to the tiler issues. I pretty much assume the kernel gets everything in a working state, and doesn't require any additional scripts to fully initialize the hardware.