2024-10-06 09:21 AM - edited 2024-10-06 03:39 PM
Hi!
Just want to say that I have made a linux distro called STM32-OS that works with all of STM32MP1.
The reason why I built my own linux distro is because I had a lot of problems with OpenSTLinux and seeing other facing the same issues too. I'm also wanted a rich package system based on Ubuntu 24.04 LTS. Also I did not want to depend on ST's support. There are many reasons.
STM32-OS having support for the same packages as Ubuntu 24.04 LTS have.
Anyway! Here is the repository to STM32-OS: https://github.com/danielmartensson/STM32-OS
Give it a star. ;) Pullrequest are welcome!
Only run ./create_stm32_os.sh and you will get a file called rootfs.ext4 inside the same folder. Then you can use that .ext4 together with your FlashLayout and flashing your device with STM32CubeProgrammer as usual. The file bootfs.ext4 contains your compiled kernel and .dts file that suits your platform.
This is an example of a FlashLayout that suits STM32-Computer. I have removed the userfs.ext4 and vendorfs.ext4 for saving memory.
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp151a-stm32-computer-firmware-mx-usb.stm32
- 0x03 fip-boot FIP none 0x0 fip/fip-stm32mp151a-stm32-computer-firmware-mx-optee-emmc.bin
P 0x04 fsbl1 Binary mmc0 boot1 arm-trusted-firmware/tf-a-stm32mp151a-stm32-computer-firmware-mx-optee-emmc.stm32
P 0x05 fsbl2 Binary mmc0 boot2 arm-trusted-firmware/tf-a-stm32mp151a-stm32-computer-firmware-mx-optee-emmc.stm32
P 0x06 metadata1 FWU_MDATA mmc0 0x00080000 arm-trusted-firmware/metadata.bin
P 0x07 metadata2 FWU_MDATA mmc0 0x00100000 arm-trusted-firmware/metadata.bin
P 0x08 fip-a FIP mmc0 0x00180000 fip/fip-stm32mp151a-stm32-computer-firmware-mx-optee-emmc.bin
PED 0x09 fip-b FIP mmc0 0x00580000 none
PED 0x0A u-boot-env ENV mmc0 0x00980000 none
P 0x10 bootfs System mmc0 0x00A00000 bootfs.ext4
P 0x11 rootfs FileSystem mmc0 0x04A00000 rootfs.ext4
Yes. Playing Doom works on the STM32MP151 processor.