Is raspberry pi 5 supported?

Post Reply
keenerb
Posts: 32
Joined: Sun Sep 10, 2023 12:34 am

Is raspberry pi 5 supported?

Post by keenerb »

Heading up to Microcenter this weekend to refresh my RPI devices to PI 5's.

Will the Retroprinter module and software work OK with one? Board software doesn't let me search for "pi 5"...
RWAP
Site Admin
Posts: 516
Joined: Wed Sep 13, 2017 9:20 pm
Location: Oswestry, Shropshire
Contact:

Re: Is raspberry pi 5 supported?

Post by RWAP »

We have not tried it on a Raspberry Pi 5 so have no idea if it will work.

It probably will work, but there is no way of knowing (as we do not own a Pi5). Download the software image and check that the Pi5 starts up - so far as I know the executables should work on any Pi now.

The software works on a Pi4, but due to the layout changes, the Pi4 and Pi5 do not fit in our cases.
Retro-Printer Specialists
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module

Also Involved in:
Icephorm
keenerb
Posts: 32
Joined: Sun Sep 10, 2023 12:34 am

Re: Is raspberry pi 5 supported?

Post by keenerb »

The old SD card booted in my RPI5 but capture isn't working.

The newest software download on the web page crashes at boot on my RPI5 with "libsystemd-core-252.so ELF load command address/offset not page-aligned

Interestingly though, the newest software download works on my Raspberry Pi 3?

So something with the 5 is definitely not working right...
2024-11-11 13_49_24-Photo - Google Photos and 1 more page - Personal - Microsoft​ Edge.jpg
2024-11-11 13_49_24-Photo - Google Photos and 1 more page - Personal - Microsoft​ Edge.jpg (179.51 KiB) Viewed 8417 times
keenerb
Posts: 32
Joined: Sun Sep 10, 2023 12:34 am

Re: Is raspberry pi 5 supported?

Post by keenerb »

https://github.com/ptitSeb/box86/issues/912

https://github.com/raspberrypi/bookworm ... 1773810662

Looks like adding

kernel=kernel8.img

to config.txt fixed this, it's a "16kb page size" issue of some sort particular to PI5...
keenerb
Posts: 32
Joined: Sun Sep 10, 2023 12:34 am

Re: Is raspberry pi 5 supported?

Post by keenerb »

Retroprinter binaries don't seem to be launching on RPI5.

root@Retro-Printer:/home/pi/temp/sdl/escparser# ./retroprinter-restart.sh
retroprinter will be killed
./retroprinter-restart.sh: line 1: 954 Killed /etc/init.d/retroprinter stop
inotifywait: no process found
MCP2221A and DS2321
===================

Update Raspberry Pi
===================
ERROR : No key connected or driver not installed
retroprinter will be started
root@Retro-Printer:/home/pi/temp/sdl/escparser# ^C
root@Retro-Printer:/home/pi/temp/sdl/escparser# ps -aux | grep retro
root 991 0.0 0.0 7520 1792 pts/0 S+ 19:47 0:00 grep retro



Poking around a bit it looks like
nice /home/pi/temp/sdl/escparser/retroprinter 4 1>>/home/pi/data/retroprinter.log 2>>/home/pi/data/retroprinter-error.log&

is reporting
```
root@Retro-Printer:/home/pi/temp/sdl/escparser# /home/pi/temp/sdl/escparser/retroprinter 4
/root/config/usb_passthrough parameter = no
/root/config/handshaking parameter = 1
Special ack_on busy_on ack_off busy_off handshaking
/root/config/output_printer parameter = yes
/root/config/simple_spool parameter = no
/root/config/retain_data parameter = yes
/root/config/printer_delay parameter = 0
/root/config/emulation parameter = epson
/root/config/custom parameter =
/root/config/bit_depth parameter = 8
Bit Depth = 8
/root/config/ledblue_control parameter = yes
/root/config/ledgreen_control parameter = yes
/root/config/ledred_control parameter = yes
/root/config/machine parameter = raspberry
Machine = raspberry pi
/root/config/timeout parameter = 4
Timeout = 4
/root/config/flush_timeout parameter = no
Flush Buffer Timeout = -1
/root/config/interface parameter = centronics
Launch Convert Flasher - nice -n19 /home/pi/temp/sdl/escparser/convert-flasher &
Launch Convertor - nice -n19 /home/pi/temp/sdl/escparser/convert-escp2 /home/pi/data/ 4 1 1 0 1 1>>/home/pi/data/convert.log 2>>/home/pi/data/convert-error.log &
Oops: Unable to determine board revision from /proc/cpuinfo
-> No "Hardware" line
-> You'd best google the error to find out why.
Oops: Unable to determine board revision from /proc/cpuinfo
-> No "Hardware" line
-> You'd best google the error to find out why.
```

/proc/cpuinfo:

```
root@Retro-Printer:/home/pi/temp/sdl/escparser# cat /proc/cpuinfo
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x4
CPU part : 0xd0b
CPU revision : 1

processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x4
CPU part : 0xd0b
CPU revision : 1

processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x4
CPU part : 0xd0b
CPU revision : 1

processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x4
CPU part : 0xd0b
CPU revision : 1

Revision : c04170
Serial : ce1c6f1bebb622b7
Model : Raspberry Pi 5 Model B Rev 1.0
```
keenerb
Posts: 32
Joined: Sun Sep 10, 2023 12:34 am

Re: Is raspberry pi 5 supported?

Post by keenerb »

Looks like it's an issue with "wiringPi", which has been updated to support RPI 5 but it does say:

On the Pi 5, only the GCLK functionality is currently not supported due to missing documentation of the RP1 chip).

No idea if gclk is important to your project. I guess it's time to sit back and see if this is something trivial for you to fix!
RWAP
Site Admin
Posts: 516
Joined: Wed Sep 13, 2017 9:20 pm
Location: Oswestry, Shropshire
Contact:

Re: Is raspberry pi 5 supported?

Post by RWAP »

We don't use gclk as such but we do read all of the GPIO pins so it probably uses the same signals.

Those messages about consult Google are not ours so must be the wiringpi unfortunately

It might be that we just need to update wiring pi and recompile everything.

I shall try it tomorrow - pm me your email address and I will send you the binaries to try.
Retro-Printer Specialists
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module

Also Involved in:
Icephorm
Post Reply