PDA

View Full Version : Need assistance installing Kali Linux on the seeed reTerminal



hellomrmeseeks
2022-05-10, 23:49
Here's a link to the "getting started" bit of this pain in the *** device.

https://wiki.seeedstudio.com/reTerminal/#install-reterminal-drivers-after-flashing-new-raspberry-pi-os-ubuntu-os-or-other-os

In order to use the built-in DSI display, "drivers" need to be installed.

Additionally, using the Raspberry Pi imager and ensuring all the settings for WiFi are correct and ensuring that the settings for SSH are enabled with the imager, the device fails to connect to WiFi and thus, fails SSH in order to install the required drivers.

I am successful at connecting via SSH with RetroPie and the basic Raspberry Pi OS (that also, once the default OS is overwritten requires the "drivers" to be installed).

Again, Additionally, I tried connecting an external HDMI display, and although I DID see a login screen, using a wired keyboard would not type, and my mouse (Logitech M570) would not move the mouse cursor.

I am STUCK.

IS there a way (using windows (preferred) or Raspbian) to create a custom ISO that includes the required drivers? (and friggin keyboard support?)

Installing the drivers requires running a script?

I would like to continue to use this device as is has a TON of potential BUT:

***I am a COMPLETE Linux novice***

WHY Kali? Because. :cool:

hellomrmeseeks
2022-06-02, 21:16
I found a solution to the USB input issue and thus was able to login to Kali with HDMI external display attached.

add this to your /boot/config.txt

dtoverlay=dwc2,dr_mode=host

HOWEVER I am still unable to to get the DSI display to work.

There are instructions to install the display drivers:




Step 1. Clone the following repo
git clone --depth 1 https://github.com/Seeed-Studio/seeed-linux-dtoverlays



Step 2. Enter the repo
cd seeed-linux-dtoverlays



Step 3. Type the following to install the drivers
sudo ./scripts/reTerminal.sh




The script ultimately fails with this at the end:


┌──(kali㉿kali-raspberry-pi)-[~/seeed-linux-dtoverlays]
└─$ sudo ./scripts/reTerminal.sh


### Install required tool packages
Hit:1 http://kali.download/kali kali-rolling InRelease
Hit:2 http://http.re4son-kernel.com/re4son kali-pi InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dkms is already the newest version (2.8.7-2).
0 upgraded, 0 newly installed, 0 to remove and 1091 not upgraded.


### Will compile with the latest kernel...


### Uninstall previous dkms module


### Install required kernel package
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kalipi-kernel is already the newest version (5.10.103-20220504).
kalipi-kernel-headers is already the newest version (5.10.103-20220504).
0 upgraded, 0 newly installed, 0 to remove and 1091 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
grep: /boot/kernel8.img: No such file or directory


gzip: stdin: unexpected end of file
!!! Your kernel version is
Couldn't find *** corresponding *** kernel headers with apt-get.
This may happen if you ran 'rpi-update'.
Choose *** y *** to install kernel-headers to version 5.4.83-Re4son-v8l+ and continue.
Choose *** N *** to exit without this driver support, by default.
Would you like to proceed? (y/N)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kalipi-kernel-headers is already the newest version (5.10.103-20220504).
0 upgraded, 0 newly installed, 0 to remove and 1091 not upgraded.
grep: /boot/kernel8.img: No such file or directory


gzip: stdin: unexpected end of file
Creating symlink /var/lib/dkms/mipi_dsi/0.1/source -> /usr/src/mipi_dsi-0.1
Error! Your kernel headers for kernel -m cannot be found at /lib/modules/-m/build or /lib/modules/-m/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Can't compile with this kernel, aborting
Please try to compile with the option --compat-kernel

any help?