On Wed, Mar 11, 2026 at 11:37:36PM +0300, Bardia Roshan Pajouh wrote: > I was opening random grub files out of curiosity in CLion and came across a > file named grub.chrp.in . The file is full of hex and
It isn't fully hex, it's in SGML format, and you could see tags like <CHRP-BOOT> and <COMPATIBLE>. This is the bootinfo file defined by PowerPC Microprocessor Common Hardware Reference Platform (CHRP) System Binding to IEEE Std 1275‑1994[1], providing boot options information for the firmware. > CLions autocorrect > highlights green under the hex in a way that it looks like the GNU logo. I > was wondering if this was a coincidence or an easter egg. Sorry for wasting > your time with this silly question. The hex is enclosed by OS-BADGE-ICONS tag. Though isn't defined in the CHRP specification, this seems to be an Apple extension (since it's used by Apple's BootX, too[2]) for specifying icons for boot options. So I don't think this is a coincidence. Regards, Yao Zi [1]: https://stuff.mit.edu/afs/sipb/contrib/doc/specs/protocol/chrp/chrp1_7a.pd[2]: https://github.com/apple-oss-distributions/BootX/blob/814114e6a6cf10dfa512c520f5a1c1fb9c58a432/bootx.tproj/bootinfo.hdr#L8 _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
