Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

petalinux工程编译后,没有找到内核源码树位置,在/build/tmp/sysroots下没有文件呢 #130

Open
13419195141 opened this issue Feb 23, 2021 · 1 comment

Comments

@13419195141
Copy link

petalinux工程编译后,没有找到内核源码树位置,在/build/tmp/sysroots下没有文件呢

@leevick
Copy link

leevick commented Apr 24, 2021

  1. Checkout whether your module is enabled in the petalinux rootfs config menu
  2. Make sure that you've properly modified the Makefile of the module

If everything goes well, the output file will locate at ./build/tmp/sysroots-components/plnx_zynq7/axidma/lib/modules/4.19.0-xilinx-v2019.2/extra/axidma.ko after compilation. Here I'm using petalinux 2019.2, the path may differ as you may have a different version of petalinux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants