Skip to content

OpenXiangShan/LibCheckpointAlpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LibCheckpointAlpha

LibCheckpointAlpha is a transitional version of LibCheckpoint(https://github.com/OpenXiangShan/LibCheckpoint), currently offers two uses, one for restore checkpoint, and the other for linking the next level bootloader (riscv-pk or opensbi)

restore checkpoint

using the following command to build gcpt.bin, which could overwrite 0x80000000 ~ sizeof(gcpt.bin) during restore checkpoint process

make clean && make

link the next level bootloader

using the following command to build gcpt.bin, which could link next level bootloader, then gcpt.bin can be used boot directly

make clean && make GCPT_PAYLOAD_PATH=/path/to/bbl.bin

ISAs support

  • rv64gcbkhv

Notes

  • If gcpt.bin is loaded into flash and the system boots from flash, gcpt.bin will either jump to 0x80000000 or restore the checkpoint from the flash image, regardless of whether a payload is linked.
  • If gcpt.bin is loaded into memory, it will jump to 0x80100000 if a payload is linked else restore the checkpoint from the memory image.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published