Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArchLinux arm working, but message at startup #1697

Open
mrechte opened this issue Aug 7, 2024 · 4 comments
Open

ArchLinux arm working, but message at startup #1697

mrechte opened this issue Aug 7, 2024 · 4 comments

Comments

@mrechte
Copy link

mrechte commented Aug 7, 2024

Hello.

This what I get when running the demo on a rpi3 b+ with latest Archlinux :

# ./demo --led-cols=64 -D 1 runtext.ppm
non-existent Revision: Could not determine Pi model
Failed to read revision from /proc/device-tree/system/linux,revision
Unknown Revision: Could not determine Pi model
Suggestion: to slightly improve display update, add
	isolcpus=3
at the end of /boot/cmdline.txt and reboot (see README.md)
Size: 64x32. Hardware gpio mapping: regular
Read image 'runtext.ppm' with 500x32
Press <CTRL-C> to exit and reset LEDs

Note that the demo is running okay.
There is no system subdir:

# ls /proc/device-tree/
'#address-cells'   chosen       cpus		       leds	    model   reserved-memory   soc	      timer
 aliases	   clocks       framebuffer@3e99a000   memory@0     name    serial-number     __symbols__     wifi-pwrseq
 arm-pmu	   compatible   interrupt-parent       memreserve   phy    '#size-cells'      thermal-zones

# uname -a
Linux pi3 6.9.12-2-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Sat Jul 27 13:48:15 MDT 2024 aarch64 GNU/Linux
@hzeller
Copy link
Owner

hzeller commented Aug 7, 2024

Can you figure out what the equivalent way of finding out on Arch is ?

@mrechte
Copy link
Author

mrechte commented Aug 8, 2024

Sure:

cat /proc/device-tree/model 
Raspberry Pi 3 Model B Plus Rev 1.4

@hzeller
Copy link
Owner

hzeller commented Aug 8, 2024

That is the human readable form, but there should be a way to read the binary value describing the Pi revision from
/proc/cpuinfo or /proc/device-tree/system/linux,revision.
Probably would be good if Arch adopted the same device-tree access as the official Pi kernels or provide another way to read the pi revision ( https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-revision-codes )

@mrechte
Copy link
Author

mrechte commented Aug 8, 2024

OK I found this thread on ArchLinux ARM forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants