# XS-LibCheckpointAlpha **Repository Path**: mingyuncode/XS-LibCheckpointAlpha ## Basic Information - **Project Name**: XS-LibCheckpointAlpha - **Description**: https://github.com/OpenXiangShan/LibCheckpointAlpha.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-15 - **Last Updated**: 2026-01-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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 ```bash 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.