Hi,
I am using a Raspberry Pi Zero 2 W, with 64-bit Raspberry Pi OS lite. I access the Pi through SSH from my Windows system, through VS Code, or Putty. Currently, I am trying to install the Linux real-time patch to the Zero 2 W. Previously, I had applied this same patch to Pi 3 and 4 using the same steps. At that time, there were no problems. But when I try the same for Pi Zero 2 W, the installation gets halted and the system stops responding altogether after some time.
The steps I follow to install the RT-patch are:
I cobbled together these steps by searching through many websites, mainly from the Raspberry Pi forum itself.
The problem I am having is that the SSH connection becomes unresponsive when executing step. The process will run for some time, and then get halted. After some time, the SSH client (VS Code) will ask to reconnect with the Pi. I tried to see if this is a problem with the Pi OS by connecting the Pi to a monitor, but there the display does not show any problems.
I tried to search the Pi forum for a solution and it was pointed out that the problem might lie with the WiFi connectivity between Pi Zero 2 W and router. The main articles/topics I looked through are:
viewtopic.php?f=28&t=188891&start=50
viewtopic.php?t=247310#p1510664
viewtopic.php?t=314015
I tried the solutions from the above forum posts/topics, but none of them worked for me. I don't know if this is an issue from my end (via human error when implementing the solution), or if the problem I am facing is a different one.
It should be noted that in one of the early steps of patch installation, the Linux kernel is downloaded from gihub, but at that time, the WiFi does not have any problems.
Can someone please help me?
I am using a Raspberry Pi Zero 2 W, with 64-bit Raspberry Pi OS lite. I access the Pi through SSH from my Windows system, through VS Code, or Putty. Currently, I am trying to install the Linux real-time patch to the Zero 2 W. Previously, I had applied this same patch to Pi 3 and 4 using the same steps. At that time, there were no problems. But when I try the same for Pi Zero 2 W, the installation gets halted and the system stops responding altogether after some time.
The steps I follow to install the RT-patch are:
Code:
sudo apt install git build-essential bc libncurses5-dev bison flex libssl-dev wget makemkdir kernelcd kernelgit clone --depth=1 https://github.com/raspberrypi/linuxwget https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.6/older/patch-6.6.31-rt31.patch.gzcd linuxzcat ../patch-6.6.31-rt31.patch.gz | patch -p1 --dry-runzcat ../patch-6.6.31-rt31.patch.gz | patch -p1KERNEL=kernel8make bcm2711_defconfigmake menuconfig"[Within the menu navigate to General Setup/Preemption Model and choose Fully Preemptible Kernel.Not related to PREEMPT_RT we need another modification:Navigate back to the root menu by choosing Exit and choose Boot options. Make sure that the Default kernel command string is completely empty. Choose Exit twice and do not forget to save the configuration.]"CONFIG_LOCALVERSION="-v7l-pi-kernel"make -j4 Image.gz modules dtbssudo make modules_installsudo cp arch/arm64/boot/dts/broadcom/*.dtb /boot/firmware/sudo cp arch/arm64/boot/dts/overlays/*.dtb* /boot/firmware/overlays/sudo cp arch/arm64/boot/dts/overlays/README /boot/firmware/overlays/sudo cp arch/arm64/boot/Image.gz /boot/firmware/$KERNEL.imgsudo reboot nowuname -a
The problem I am having is that the SSH connection becomes unresponsive when executing step
Code:
make -j4 Image.gz modules dtbs
I tried to search the Pi forum for a solution and it was pointed out that the problem might lie with the WiFi connectivity between Pi Zero 2 W and router. The main articles/topics I looked through are:
viewtopic.php?f=28&t=188891&start=50
viewtopic.php?t=247310#p1510664
viewtopic.php?t=314015
I tried the solutions from the above forum posts/topics, but none of them worked for me. I don't know if this is an issue from my end (via human error when implementing the solution), or if the problem I am facing is a different one.
It should be noted that in one of the early steps of patch installation, the Linux kernel is downloaded from gihub, but at that time, the WiFi does not have any problems.
Can someone please help me?
Statistics: Posted by agpolakkattil — Tue Sep 24, 2024 5:56 pm — Replies 2 — Views 59