Hello,
I am currently working on a project where I'm exploring security features of Linux such as IMA and SELinux. I am using a Raspberry Pi Zero 2 W for the project but cross compiling the kernel from an Ubuntu LXC container.
I'm having an issue where anytime I boot from a kernel that I compiled, I lose quite a few features. The most prominent of these are that the onboard wifi becomes completely unavailable (not even listed in ifconfig -a), my USB Apple keyboard stops working (other keyboards do continue to work), and even a small USB to Ethernet adapter that I have stops working. Isuspect that maybe I'm not including the necessary drivers when I compile without modifying any settings?
To remove any of my changes, I started fresh by performing the following steps: (Using bcm2711_defconfig results in the exact same issue.)I then copy the image file at ./arch/arm64/boot/Image to the bootfs partition of the pi's SD card and rename it to kernel8.img.
This results in the exact same issues.
I would appreciate any insight about what I might be doing wrong. I am new to compiling the kernel but I am trying to get a decent grasp.
Thank you!
I am currently working on a project where I'm exploring security features of Linux such as IMA and SELinux. I am using a Raspberry Pi Zero 2 W for the project but cross compiling the kernel from an Ubuntu LXC container.
I'm having an issue where anytime I boot from a kernel that I compiled, I lose quite a few features. The most prominent of these are that the onboard wifi becomes completely unavailable (not even listed in ifconfig -a), my USB Apple keyboard stops working (other keyboards do continue to work), and even a small USB to Ethernet adapter that I have stops working. Isuspect that maybe I'm not including the necessary drivers when I compile without modifying any settings?
To remove any of my changes, I started fresh by performing the following steps:
Code:
git clone https://github.com/raspberrypi/linux linux-rpi --depth=1
Code:
cd linux-rpi
Code:
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- bcmrpi3_defconfig
Code:
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j56
This results in the exact same issues.
I would appreciate any insight about what I might be doing wrong. I am new to compiling the kernel but I am trying to get a decent grasp.
Thank you!
Statistics: Posted by MacBook1 — Sun Nov 24, 2024 9:02 pm