Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
/ kexec-tools Public archive
forked from horms/kexec-tools

Kexec Tools: Userspace portion of Kexec

License

99degree/kexec-tools

 
 

Repository files navigation

fork of kexec-tool

how to compile static kexec

refer to https://gist.github.com/Gnurou/7191098

compile ad arm64 binary

./bootstrap

LDFLAGS=-static ./configure --host=aarch64-linux-gnu --without-zlib --without-lzma

make

put build/sbin/kexec it into ramdisk then issue below to kexec boot:

adb push Image.gz dtb ramdisk.img.gz /tmp

adb shell

kexec -s Image.gz --dtb dtb --ramdisk ramdisk.img.gz --reuse-cmdline

kexec -e

done reboot

About

Kexec Tools: Userspace portion of Kexec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.8%
  • Assembly 6.1%
  • Makefile 2.7%
  • Shell 1.1%
  • Other 1.3%