Hi,
We've just started testing the new CoreMP135 and it is a very nice little unit.
We are running in to a few issues with the current image (M5_CoreMP135_debian12_20240507.7z)
It seems that they primarily are a result of incorrect permissions set during the image creation:
$ ls -aln /
total 52
drwxr-xr-x 17 0 0 4096 May 13 14:48 .
drwxr-xr-x 17 0 0 4096 May 13 14:48 ..
lrwxrwxrwx 1 1000 1000 7 Sep 1 2023 bin -> usr/bin
drwxr-xr-x 3 1000 1000 4096 Jul 15 2023 boot
drwxr-xr-x 14 0 0 3920 May 16 10:40 dev
drwxr-xr-x 87 0 0 4096 May 16 10:40 etc
drwxr-xr-x 3 1000 1000 4096 May 13 15:04 home
lrwxrwxrwx 1 0 0 7 May 7 17:21 lib -> usr/lib
drwxr-xr-x 2 1000 1000 4096 Sep 1 2023 media
drwxr-xr-x 2 1000 1000 4096 Sep 1 2023 mnt
drwxr-xr-x 3 1000 1000 4096 May 13 16:23 opt
dr-xr-xr-x 155 0 0 0 May 16 10:39 proc
drwx------ 5 0 1000 4096 May 14 10:42 root
drwxr-xr-x 22 0 0 680 May 16 11:05 run
lrwxrwxrwx 1 1000 1000 8 Sep 1 2023 sbin -> usr/sbin
drwxr-xr-x 2 1000 1000 4096 Sep 1 2023 srv
dr-xr-xr-x 12 0 0 0 May 16 10:39 sys
drwxrwxrwt 9 0 0 4096 May 16 10:40 tmp
drwxr-xr-x 11 1000 1000 4096 Sep 1 2023 usr
drwxr-xr-x 12 1000 1000 4096 May 13 15:31 var
Many files within /etc
are also owned by UID 1000 and things, like setting the time zone, fail in weird ways due to permission errors until file ownerships are fixed.
Is it possible to get documentation on how to create a Debian image ourselves? This would allow us to fix this but also to create an image with the base packages we need already installed. It would also allow testing the mainline kernel as support becomes available for the STM32.
It would be nice to have a list of all the things that are customised for the CoreMP135, such as the screen, RTC, etc.