pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


Quantron patch for kexec (so we can jump from Linux kernel into barebox boot loader, i.e. kexec /dev/mtd0)
Posted by Anonymous on Tue 26th Feb 2019 15:19
raw | new post

  1. --- a/ptxdist/configs/ecu01/kernelconfig-3.10.22
  2. +++ b/ptxdist/configs/ecu01/kernelconfig-3.10.22
  3. @@ -451,7 +451,8 @@ CONFIG_CMDLINE="noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 ro ip=off"
  4.  CONFIG_CMDLINE_FROM_BOOTLOADER=y
  5.  # CONFIG_CMDLINE_EXTEND is not set
  6.  # CONFIG_CMDLINE_FORCE is not set
  7. -# CONFIG_KEXEC is not set
  8. +CONFIG_KEXEC=y
  9. +CONFIG_ATAGS_PROC=y
  10.  # CONFIG_CRASH_DUMP is not set
  11.  CONFIG_AUTO_ZRELADDR=y
  12.  
  13. diff --git a/ptxdist/configs/ecu01/ptxconfig b/ptxdist/configs/ecu01/ptxconfig
  14. index 453a599..3826595 100644
  15. --- a/ptxdist/configs/ecu01/ptxconfig
  16. +++ b/ptxdist/configs/ecu01/ptxconfig
  17. @@ -1212,7 +1212,10 @@ PTXCONF_KBD_INSTALL_KEYMAPS_QWERTY=y
  18.  PTXCONF_KBD_INSTALL_KEYMAPS_QWERTZ=y
  19.  # PTXCONF_KBD_INSTALL_KEYMAPS_MAC is not set
  20.  # PTXCONF_KBD_INSTALL_KEYMAPS_SUN is not set
  21. -# PTXCONF_KEXEC_TOOLS is not set
  22. +PTXCONF_KEXEC_TOOLS=y
  23. +PTXCONF_KEXEC_TOOLS_ZLIB=y
  24. +PTXCONF_KEXEC_TOOLS_KEXEC=y
  25. +PTXCONF_KEXEC_TOOLS_KDUMP=y
  26.  # PTXCONF_KILLPROC is not set
  27.  # PTXCONF_LATENCYTOP is not set

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at