BlameTheNetwork / NetPi

NetPi Network Analyzer based on Raspberry Pi b+/2 hardware
163 stars 46 forks source link

NetPi for RPi 4 image or can we build it ourselves? #9

Open litebito opened 4 years ago

litebito commented 4 years ago

Hi, the image does not seem to work for the RPi 4 (yet) . It does not want to boot at all. Black screen (currently trying with a normal monitor, while I await delivery of some mini touch screens)

Is there documentation somewhere which tools, packages, ... are needed, or a build script? How to build the interface etc.... here on github I can only find some start/shell scripts (5 years old) but it does not seem to have all files to rebuild the image on Raspbian ourselves for example.

nidamen commented 4 years ago

Hello team NetPi. I am extremely interested in getting this working on a Raspberry 4 PI. I am not sure what the next steps are, but is there a set of apt-get installs which would load all the NetPi library and dependents which code could then be worked on to be debugged?

xspyboyx commented 4 years ago

I'm also extremely interested in this. Please bring this project back to life it's an awesome tool but I can't even find download links. I too would want to run on Raspberry 4 PI.

Uggbert commented 3 years ago

Hi All

Just to revive this thread after finding this tool and really liking the sound of it, after a bit of messing about I got this image working on a 3B+ (process should be the same for a Pi 4 but I dont have one to test!)

1. I downloaded the image from here (this link is found on official site): https://drive.google.com/drive/folders/1pCzC8NRPJU0gfBHewlNSo_Z0O3xk7fbY and wrote it to an SD card.

2. When I plugged it into my 3B+ I got the colourful test screen with the yellow lightning bolt, this was strange as my mains adapter is 5V 3A and runs my retropi SD card with emulators just fine! I think it turns out this was because the image was using some old boot files on the boot partition, maybe from an older version of the 3B+ or even a previous version of the Pi.

3. To fix this I took the shotgun approach and plugged the SD card into my windows device and copied some newer files over from my (working) retropie SD Card boot partition to the NetPI SD card boot partition. I cant say which files specifically that fixed the booting up but the files I replaced were:

bootcode.bin kernel.img kernel7.img

4. When I put this back in the 3B+ it booted to the OS and all the tools I tested worked as expected. After this I did

sudo apt-get update sudo apt-get upgrade (took foreeeeeever)

5. With all the libraries and core files updated I was then able to install my LCD that I ordered from amazon (https://github.com/goodtft/LCD-show) Touchscreen works just fine.

thewriteway commented 2 years ago

Is this project still being worked on at all?

sunsunny83 commented 1 year ago

Hi All

Just to revive this thread after finding this tool and really liking the sound of it, after a bit of messing about I got this image working on a 3B+ (process should be the same for a Pi 4 but I dont have one to test!)

I downloaded the image from here (this link is found on official site): https://drive.google.com/drive/folders/1pCzC8NRPJU0gfBHewlNSo_Z0O3xk7fbY and wrote it to an SD card.

When I plugged it into my 3B+ I got the colourful test screen with the yellow lightning bolt, this was strange as my mains adapter is 5V 3A and runs my retropi SD card with emulators just fine! I think it turns out this was because the image was using some old boot files on the boot partition, maybe from an older version of the 3B+ or even a previous version of the Pi.

To fix this I took the shotgun approach and plugged the SD card into my windows device and copied some newer files over from my (working) retropie SD Card boot partition to the NetPI SD card boot partition. I cant say which files specifically that fixed the booting up but the files I replaced were:

bootcode.bin kernel.img kernel7.img

When I put this back in the 3B+ it booted to the OS and all the tools I tested worked as expected. After this I did

sudo apt-get update sudo apt-get upgrade (took foreeeeeever)

With all the libraries and core files updated I was then able to install my LCD that I ordered from amazon (https://github.com/goodtft/LCD-show) Touchscreen works just fine.

Hi Brother, I'm facing the same issue, Using Raspi 3 B+... However I'm not able to get Net Pi Plus image working, getting stuck at boot screen.. Can you please help with exact files you have replaced with which Retro Pi version OS ?

Pi's ACT led blinking in pattern hence I have replaced start.elf & after that booting started by got stuck at systemd-user-sessions.service

Kindly guide me with further solution.... Thanks in advance.

DanBasford07 commented 1 year ago

Appreciate this is an old thread, but am trying to get to work on Pi4 B 2Gb, Created image from download to SD Card, created a new (Separate) SD from the boot loader, with a fresh install of legacy Raspbian build Linux 10 Buster which boots fine. I have then copied the following from the working Raspbian build to the NetPi build.

bootcode.bin kernel.img kernel7.img

And tried to boot and get error Start.elf is not compatible. So I then went trawling round the web and found the following:-

"The Pi 1, Pi 2 and Pi 3 use the following files:

bootcode.bin – The boot loader for the CPU. start.elf – The GPU firmware. Forms a matched pair with fixup.dat fixup.dat – Additional code for the GPU. Forms a matched pair with start.elf config.txt – Configuration parameters for the boot loader. cmdline.txt – (Optional) Additional parameters to be passed to the kernel for possible contents.

On the Pi 4 (and Pi 400) the following two files take the place of bootcode.bin, start.elf and fixup.dat:

start4.elf – The Pi 4 GPU firmware. Forms a matched pair with fixup4.dat fixup4.dat – Additional code for the Pi 4 GPU. Forms a matched pair with start4.elf

Note that the Pi 4 has its boot code in the [onboard EEPROM] so it does not need bootcode.bin.

So with this in mind I also copied over

Start4.elf fixup4.dat

This now gets me to the rainbow screen but no further, left for 5 minutes just in case and also tried both HDMI ports.

Sadly I'm an absolute beginner with the raspberries, but am extremely keen to try and get Netpi functioning on the device for work. If anyone can offer any further guidance it would be greatly appreciated, I will keep on playing with it to see if I can find a fix, if I do I will post here.

Thanks

stampeder commented 9 months ago

I realize this is an old thread but does anyone have the build/install instructions for this? I want to put it on my RPI 3B +.

stampeder commented 9 months ago

Also, does anyone know if the source is available and if so where?

jaymon8 commented 1 week ago

Would this work with a raspberry pi zero 2 w?