Skip to content

Commit

Permalink
update build kernel README (#269)
Browse files Browse the repository at this point in the history
Signed-off-by: zouxiaoh <xiaohong.zou@intel.com>
  • Loading branch information
zouxiaoh authored Sep 27, 2024
1 parent 5240ab9 commit c2190b1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions kernel_patches/patch_6.11_mainline/README
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ build kernel driver with community kernel version 6.11
git am 0002-mfd-add-ARL-H-PCI-driver-ID.patch


3. copy psys driver
cp drivers/media/pci/intel/ipu6/psys/ drivers/media/pci/intel/ipu6 -rf
cp include/uapi/linux/ipu-psys.h include/uapi/linux/
3. copy psys driver to kernel source
cd ipu6-drivers
cp drivers/media/pci/intel/ipu6/psys/ <kernel source dir>/drivers/media/pci/intel/ipu6 -rf
cp include/uapi/linux/ipu-psys.h <kernel source dir>/include/uapi/linux/

4. add psys driver to makefile
cd <kernel source dir>
echo "obj-\$(CONFIG_VIDEO_INTEL_IPU6) += psys/" >> drivers/media/pci/intel/ipu6/Makefile

5. build kernel driver
copy kernel config to kernel source tree
copy kernel config to kernel source dir

KERNEL_BUILD_LABEL="-for-upstream"
make kernelversion
Expand Down

0 comments on commit c2190b1

Please sign in to comment.