UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 55978

PetaLinux - How do I apply patches to the Linux kernel?

Description

How do I apply patches to the Linux kernel?

Solution

Patches can be applied to the Linux kernel using standard Git procedures.

PetaLinux 2013.04 and Prior:

  1. Change directories to the Linux source code directory within PetaLinux:
    ${PETALINUX}/software/linux-2.6.x/
  2. Create and checkout a local branch using git checkout
  3. Apply the patch to the local branch

PetaLinux 2013.10 and Later:

  1. Change directories to the Linux source code directory within PetaLinux Project:
    $PETALINUX_PROJECT/build/linux/kernel/xlnx-<ver>/
  2. Apply the patch to the Linux kernel source code.
    Note: If the "petalinux-build -x distclean" command is used, this directory and any patches will be lost.


Note:
These instructions are informational only. Patching the PetaLinux kernel is not supported by Xilinx Technical Support.

AR# 55978
Date Created 05/13/2013
Last Updated 01/30/2014
Status Active
Type General Article
Devices
  • SoC
  • XA Zynq-7000
  • Zynq-7000
  • More
  • Zynq-7000Q
  • FPGA Device Families
  • Artix-7
  • Kintex-7
  • Spartan-6
  • Virtex-6
  • Virtex-5
  • Virtex-4
  • Virtex-7
  • Less
Tools
  • PetaLinux
  • PetaLinux - 2012.12
  • PetaLinux - 2013.04
  • PetaLinux - 2013.10