New Kernel for Raspberry Pi and any TFT, incl. wifi injection patch

Overview Forums Sticky Finger’s Kali-Pi New Kernel for Raspberry Pi and any TFT, incl. wifi injection patch

  • This topic has 12 replies, 2 voices, and was last updated 4 years, 10 months ago by Ryan. This post has been viewed 5561 times
Viewing 11 reply threads
  • Author
    Posts
    • #1346
      Re4son
      Keymaster

      Hi all,

      I’ve finally gotten around to recompiling the Adafruit PiTFT kernel with the wifi injection patch and some tweaks from the kali linux kernel.

      The new package is available from:
      http://whitedome.com.au/download/Kali-Pi-Kernels/re4son_kali-pi-tft_kernel_current.tar.gz

      [3-May-2016 Update: New and improved Pi2 & 3 kernel]
      [8-May-2016 Update: New and improved Pi2 & 3 kernel]

      just apply it the same way you applied the original one as per the blog:
      http://whitedome.com.au/kali-pi

      The original kernel without the wifi injection patch can be found here:
      http://whitedome.com.au/download/Kali-Pi-Kernels/re4son_kali-pi-tft_kernel_1.20160323-1.tar.gz

      All Re4son kernels for the Rasperry Pi with changelogs and kernel configs can be found here:
      http://whitedome.com.au/download/Kali-Pi-Kernels/

      The version ending with “current” is a copy of the latest kernel package and should be used to link to.

      Have fun with it,
      Re4son

    • #1388
      Re4son
      Keymaster

      Hi all,

      New kernel released:
      http://whitedome.com.au/download/Kali-Pi-Kernels/re4son_kali-pi-tft_kernel_current.tar.gz

      I am no longer using the Adafruit repo for my builds but moved to my own, updated it, fixed some bugs and added some features:

      – kernel version 4.1.21
      – no more DMA errors
      – lightning fast
      – kali-pi boot logo
      – support for TFT displays by Adafruit, Elecfreaks, Sainsmart, Waveshare, etc.
      – as always, it comes with wifi injection patch

      The kernel source can be found here:
      https://github.com/Re4son/re4son-raspberrypi-linux

      Have fun with it,
      Re4son

    • #1403
      rtng
      Guest

      Hello Re4son,
      great that builded the new kernel! congratulations..
      i tried to install the new kernel as you recommend but i failed several times,
      only getting one “allmost hit” by editing /boot/config.txt changing line:

      dtoverlay=pitft35r,rotate=90,speed=42000000,fps=20 to
      dtoverlay=waveshare32b,rotate=270,speed=42000000,fps=20

      but i needed to startx after reboot and got a not really working desktop..
      do you have any suggestions?

      do you think it is possible to integrate your kernel into the procedure wich n0b0dy recommended at the comments?
      i already got kali running due that method but don’t know how to do that with your kernel.
      thnx so much, all the best!

    • #1404
      Re4son
      Keymaster

      Hi rtng,

      glad you like the kernel. It should make your Pi run much smoother.
      The kernel package only contains driver support and the required overlays but the configuration still has to be done manually according to this guide:

      http://whitedome.com.au/re4son/sticky-fingers-kali-pi-with-waveshare-3-2-tft-touch-screen/

      I am currently working on a universal helper tool that will perform all these things automatically. Give me a few days and it should support waveshare screens.

      Please let me know how you go with the new kernel and the guide for manual configuration.

      Many thanks,
      Re4son

    • #1415
      Andrew
      Guest

      Hi Re4son,

      many thanks for the wonderful guide!

      I have just one question about:
      “wifi injection patch”
      is related to the default Raspberry Pi 3 BCM43438 WiFi chip that does not support monitor mode or to the external TP-Link TL-WN722N?

      • #1419
        Re4son
        Keymaster

        Hi Andrew,

        the patch is not specific to any hardware, but you would struggle to get anything meaningful done with the internal wifi chip. It’s not really versatile enough.
        That’s ok though because you want to have two adapters anyway – 1 for you to connect to so you can ssh into it, and 1 to work with.

        I hope that helps,
        Re4son

    • #1434
      BX
      Guest

      Hey awesome work!!
      Any chance to get a 5″ waveshare hdmi display working with this?

    • #1435
      Re4son
      Keymaster

      Hi BX,

      now problems, just install the kernel and run

      ./re4son-pi-tft-setup -t wave32 -u /root

      Download this:
      http://whitedome.com.au/download/Waveshare/99-fbturbo.conf-HDMI
      and save as /usr/share/X11/xorg.conf.d/99-fbturbo.conf

      Download this:
      http://whitedome.com.au/download/Waveshare/99-calibration.conf-5
      and save as /etc/X11/xorg.conf.d/99-calibration.conf

      That should do the trick.

      Please let us know how you go,
      Re4son

    • #1436
      BX
      Guest

      now the font looks different but i still have white lines on the right side
      and it hangs while booting
      last line shown is:
      OK started load/save rf kill switch status

    • #1437
      Re4son
      Keymaster

      Try this:

      download http://whitedome.com.au/download/Waveshare/config-5.txt and save as /boot/config.txt

      That should make a difference.

    • #1439
      BX
      Guest

      Hey thanks for your help but it still doesnt boot.
      now its saying:
      wi_master_driver w1_bus_master1: family 0 for 00.800000.8c is not registered
      wi_master_driver w1_bus_master1: family 0 for 00.400000.46 is not registered
      wi_master_driver w1_bus_master1: family 0 for 00.c00000.ca is not registered
      and so on

    • #1440
      BX
      Guest

      I got it allmost to work..

      after installing the kernel just placing the 3 files config.txt/99-calibration.conf/99-fturbo.conf into the right places (without the tft setup)
      now it boots in the right resolution (no black border and white stripes)
      but now it fails to start the xserver.

      i forgot to say i am using a pi 3 b and the kali 2.1.2 raspberry image.
      and i just need the screen, touch whould be nice but is not really needet.

      The funny thing is that i was thinking if i should buy a 3,5 or the 5″ display
      now i have the 5″ but it shows only ~3,5″ …

    • #10645
      Ryan
      Guest

      Awesome work bro!! The guide is like makes this like childs play! I have a small question (maybe a feature request?). Is it possible to to use 2 monitors IE PiTFT and HDMI?

Viewing 11 reply threads
  • You must be logged in to reply to this topic.