omap3_ctrl_write_boot_mode(9)
π omap3_ctrl_write_boot_mode π
okay so first things first, this is a page from the Kernel API Manual β yes, that manual, the kernel one, we're in the big leagues bestie π
β¨ NAME β¨
omap3_ctrl_write_boot_mode β literally just sets the scratchpad boot mode for the next boot πΈ
π¦ SYNOPSIS π¦
void omap3_ctrl_write_boot_mode (u8 bootmode );
π ARGUMENTS π
bootmodeβ an 8-bit value that gets passed along to some boot code. which boot code? honestly bestie, the docs are giving "mystery" π but it's 8 bits, it goes to boot code, that's the vibe
π DESCRIPTION π
So the whole thing is: you set the bootmode in the scratchpad RAM. that's it, that's the job β¨ and the point of it is that it's used after the system restarts β like a little note you leave for future-you, except future-you is the machine after a reboot π«Ά
and here's the iconically honest part: the docs straight-up say "Not sure what actually uses this" π it may be the bootloader, rather than the boot ROM β contrary to the preserved comment below. so like, the comment in the code says one thing and reality might be doing another, and nobody's fully sure. no cap, that's what it says π
also: no return value. it's void. it does the thing and dips, no receipts, no exit status, nothing π₯
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/control.c omap3_ctrl_save_padconf(9)omap3_ctrl_set_iva_bootmode_idle(9)omap3_ctrl_setup_d2d_padconf(9)omap3_ctrl_init(9)am43xx_control_save_context(9)am43xx_control_restore_context(9)omap2_control_base_init(9)omap_control_init(9)
β little vibe check for you: this one's all about handing an 8-bit value to the scratchpad and letting the reboot era deal with it. main character energy is deferred π
and that's the whole page, bestie! π this one came from ./arch/arm/mach-omap2, dated October 2026 β so like, mark your calendars, the future is now, slay ππ§
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms