the system image on my personal mnt reform is originally from 2021, so running for 4 years now through 3 generations of ARM processor upgrades from different manufacturers (NXP -> Amlogic -> Rockchip) and many versions of the linux kernel (and countless debian packages) without having to ever reinstall the system (which is on encrypted NVMe)
AndiS 🌞🍷🇪🇺 hat dies geteilt.
killed2 🇪🇺
Als Antwort auf lucie lukas "minute" hartmann • • •Username
Als Antwort auf lucie lukas "minute" hartmann • • •Daniel 黄法官 CyReVolt 🐢
Als Antwort auf lucie lukas "minute" hartmann • • •That is so cool, and I have a few questions:
How do you handle firmware and kernel/DT switches? AFAIUI, your kernel is a custom one, right?
Do you have a single generic one, or one per platform?
How do you decide what device tree to use?
Are you using FIT images for the kernel+DT+initrd, by the chance?
lucie lukas "minute" hartmann
Als Antwort auf Daniel 黄法官 CyReVolt 🐢 • • •@CyReVolt for kernel, we use the debian kernel package but add some patches to it and build it ourselves in CI, and it's available in our debian apt repo (shipped with the system image). the kernel is generic/unified for all platforms.
the device tree is iirc chosen depending on /proc/device-tree/model by flash-kernel which is integrated with update-initramfs. so far afaik we don't use FIT. u-boots for each device are separate gits, we have a tool reform-flash-uboot that knows how to flash each
Daniel 黄法官 CyReVolt 🐢
Als Antwort auf lucie lukas "minute" hartmann • • •Marcel(le)
Als Antwort auf lucie lukas "minute" hartmann • • •iamreinder
Als Antwort auf lucie lukas "minute" hartmann • • •AndiS 🌞🍷🇪🇺
Als Antwort auf iamreinder • •iamreinder
Als Antwort auf AndiS 🌞🍷🇪🇺 • • •AndiS 🌞🍷🇪🇺 mag das.
Christopher Obbard
Als Antwort auf lucie lukas "minute" hartmann • • •