rockchip_smp_prepare_sram(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rockchip_smp_prepare_sram(9) πŸ’…

okay bestie, this one is from the Kernel API Manual (section 9) and it's lowkey doing bare-metal choreography ✨ like, it sets up sram so the starting cores have somewhere iconic to land. let's get into it 🫢


🌸 NAME 🌸

so rockchip_smp_prepare_sram is here to populate the necessary sram block. Starting cores execute the code residing at the start of the on-chip sram after power-on. Therefore make sure, this sram region is reserved and big enough. After this check, copy the trampoline code that directs the core to the real startup code in ram into the sram-region. periodt πŸ’…

no cap: this sram region has to be reserved and big enough before the copy happens. that's the whole vibe check πŸ”₯

✨ SYNOPSIS ✨

the signature is literally giving:

int rockchip_smp_prepare_sram (struct device_node *node );

πŸŽ€ ARGUMENTS πŸŽ€

  • node β€” the mmio-sram device node πŸ’– that's it, that's the argument, bestie.

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./arch/arm/mach-rockchip/platsmp.c β€” go peek, iykyk πŸ‘€

mwah πŸ’‹ source/version cutie: ./arch/arm/mach-rockchip Β· date: October 2026 Β· page: rockchip_smp_prepare_sram(9). byeee 🫢✨

πŸ“¦ where this page comes from