News: 0001457989

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 6.10 To Add Script For Building ARM64 Flat Image Trees

([Arm] 6 Hours Ago Flat Image Trees)


Queued as part of the ARM64 patches in the various "-next" branches ahead of the Linux 6.10 merge window is a script for being able to build Flat Image Trees (FITs). A Flat Image Tree is the compiled Linux kernel paired with the associated DeviceTree content that is compressed and easily then distributed and executed by capable bootloaders.

The Flat Image Tree images can be booted by U-Boot, LinuxBoot, Coreboot, and others as a single file containing the compiled kernel with necessary DeviceTree for supported hardware. Flat Image Trees are not an entirely new phenomenon but with Linux 6.10 there is a Python script being added "make_fit.py" for generating a Flat Image Tree as well as a new "make image.fit" target for the mainline Linux kernel for easily building a FIT.

Simon Glass with Google's Chromium team contributed this Flat Image Tree build target support for the kernel. With this integration to be upstreamed, it makes it more effortless to compile an upstream kernel and build out a FIT that can then be easily loaded on a supported ARM64 board via TFTP for quick deployments/testing.

The Flat Image Tree specification for those interested can be found via [1]GitHub . Flatted Image Trees were started by U-Boot with more details also via the [2]U-Boot documentation .

The Flat Image Tree build target support is currently residing within [3]ARM64's for-next/kbuild branch ahead of the Linux 6.10 merge window opening in mid-May.



[1] https://github.com/open-source-firmware/flat-image-tree

[2] https://docs.u-boot.org/en/latest/usage/fit/index.html

[3] https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?h=for-next/kbuild&id=7a23b027ec17b2eb9c8ad9b09006502f3fa38215



phoronix

What is tolerance? -- it is the consequence of humanity. We are all formed
of frailty and error; let us pardon reciprocally each other's folly -- that
is the first law of nature.
-- Voltaire