Jump to content

[Armbian build PR] - rockchip64: Load kernel from the same bootpart boot.scr itself was loaded


Recommended Posts

Posted

Description

Current rockchip64 bootscript always load kernel/etc from the first device partition, but not from partition bootscript itself was loaded. This PR makes bootscript load kernel/etc from the same partition.

This allows to easily have multiple boot partitions (primary/backup) and switch them with MBR boot flags or GPT legacy_boot flags.

How Has This Been Tested?

  • [x] Compile and boot rk3318-box

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines