SKALES-MKBOOTIMG(1)

πŸ’– SKALES-MKBOOTIMG β€” bestie's guide to making a boot.img πŸ’–

okay so real talk, this is a page from the User Commands section of the manual, and it's all about skales-mkbootimg. The name literally tells you the whole plot: it creates a boot.img for fastboot. That's it, that's the job. πŸŽ€

If you've ever been like "hmm I have a kernel and a ramdisk and nowhere to put them", congrats, you're in the right place. This lil tool packs them up into the boot image your device actually wants. ✨


🌈 SYNOPSIS

skales-mkbootimg [options]

That's the whole vibe. No positional args, no funny business β€” every single thing you want to tell it goes in as an option. πŸ’…


πŸ‘‘ OPTIONS

  • -h, --help β€” shows this help message and dips. the "wait what does this do again" button. 🫢
  • --kernel=FILE β€” the input kernel image. this is your main character, the whole reason we're here. πŸ”₯
  • --ramdisk=FILE β€” the input ramdisk image. the kernel's ride-or-die. πŸ’œ
  • --base=BASE β€” start address of the kernel image. yes it's a number, yes it matters, don't come for me. 🌸
  • --output=FILE β€” write the output to FILE. where your brand new boot image gets born. πŸ¦‹
  • --cmdline=CMDLINE β€” the kernel command line. all the lil instructions the kernel gets handed at boot. ⭐
  • --pagesize=PAGESIZE β€” NAND pagesize. default is 2048, so if you don't say anything, that's what you get. πŸ“
  • --board=BOARD β€” board identifier. name your board, bestie, let it be known. πŸŽ€
  • --ramdisk_base=RAMDISK_BASE β€” start address of the ramdisk image. yeah, separate from --base, they're not the same thing, keep up (affectionately). πŸ’–
  • --dt=FILE β€” the input device tree image. the final lil puzzle piece for devices that want one. 🌈
lowkey reminder: the defaults only apply where a default is stated. --pagesize defaults to 2048; everything else is on you to supply, so don't be surprised when it asks. 😭

🧚 that's the whole page, fr fr

no cap, that's genuinely everything this manual gives us β€” the name, the synopsis, and the ten options above. read them, use them, go make a boot image. slay. πŸ’…βœ¨

sign-off: this page comes from the debian source and is dated September 2021. that's the tea, and also literally where the footer text was. bye bestie, good luck flashing 🫢🌷

πŸ“¦ where this page comes from