hexdump0815 / imagebuilder

velvet os - simple script framework to build ubuntu 22.04 lts jammy (in older versions also 20.04 lts focal) and debian 12 bookworm (in older versions also 11 bullseye) bootable usb / sd card images for some arm and intel devices - lots of prebuilt images as well
GNU General Public License v3.0
281 stars 44 forks source link

discussion: features to implement #57

Open BenjaminWegener opened 2 years ago

BenjaminWegener commented 2 years ago

i was thinking to test some features not included as of now and maybe create tutorials or scripts to implement them. my wishes are:

hexdump0815 commented 2 years ago

thanks for your ideas - maybe some comments from my side about them: in general i'm trying to keep the systems rather basic and simple as trying to make it perfect for everyone is impossible anyway ... i tried to add features which (at least in my opinion) really added some benefit for nearly everyone like zstd compressed zswap by default (as it helps with low memory systems and minimizes disk writes while still offering more virtual memory than for instance zram), btrfs with zstd compression (making even a 16gb emmc really useable for a full system with some space left and on top having internal checksumming, i.e. you get notified when your storage starts to die slowly and it will not do so silently) or the tiny load average bar in the top right of the default xfce menubar (it helped me so many times to have an idea if the system is overloded or still has reserves left) ... besides that i would like to try to encourage people to do things like building a kernel, mesa etc. themself and try to provide at least some sketches (with still a lot of room for improvement :) ) about how to do that ... enough foreword - to your points:

so basically there are currently three ways to add things:

best wishes - hexdump

BenjaminWegener commented 2 years ago

thanks or your much appreciated answer, as always!

BenjaminWegener commented 2 years ago

@hexdump0815 just wanted to give some status report: -anbox needs some kernel patches for dropped android support in 5.18, will see if it works -mali gpu needs some non free driver, still fighting with some configs to install it, maybe will never succeed -squashfs needs some extra config options to work, succeeded, can install chromium for example

hexdump0815 commented 2 years ago

@BenjaminWegener - thanks for the update:

hexdump0815 commented 2 years ago

maybe lets keep the issue open as long as it is being worked on ...

BenjaminWegener commented 2 years ago

https://github.com/hexdump0815/kernel-config-options/pull/1

hexdump0815 commented 2 years ago

@BenjaminWegener - thanks a lot -i pulled it in - it will take a while until it appears in images ... i plan to build new kernels and some new images maybe later in v5.18 or when v5.19 is out ... but all those will have the options enabled then

BenjaminWegener commented 2 years ago

@hexdump0815 thanks alot, much appreciated.

hexdump0815 commented 2 years ago

@BenjaminWegener - sounds good

not sure if you have seen it: there are at least some code fragments available for the neuronal part of the soc - not sure if its possible to make anything useful with it, but it might be worth a look: https://github.com/hexdump0815/imagebuilder/blob/main/systems/chromebook_kukui/todo.txt#L1-L8

hexdump0815 commented 2 years ago

just discovered: there are patches for apu support for mt8183 as well: https://patchwork.kernel.org/project/linux-mediatek/cover/20220304161514.994128-1-abailon@baylibre.com/ ... but i guess that is only the kernel driver and there is no usermode code to interface with it available ...

update: some more links which might be interesting (will add them later to the todo.txt file):

also i think that the mediatek genio 500 edge soc is simply a relabeled mt8183, so chances are good that ressources found for it might also fit the mt8183 with a bit of luck ...