Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Support Raspberry Pi 2 with MoOde 9
#10
(09-15-2024, 10:23 PM)TheOldPresbyope Wrote:
(09-15-2024, 04:52 PM)Tim Curtis Wrote: Looking at the code I don't think &0x17 may be a bug and is not actually needed.

Having now had a chance to read both the code and the RPF documentation, I agree. The bit masking should be unnecessary...but it's up to @Prince to confirm. I have no early models to test with 

Regards,
Kent

You can simulate the codes using the python cli but I actually tested earlier today using my Pi-1B and no issues :-)

Code:
pi@moode32bit:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 697.95
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 000e
Serial          : 00000000fcf9f81d
Model           : Raspberry Pi Model B Rev 2

# As-is with 0x17 mask
pi@moode32bit:~ $ /var/www/util/pirev.py 
0xe     B       2.0     256MB   Egoman  ?

# Actual RAM
pi@moode32bit:~ $ vcgencmd get_mem arm
arm=448M
pi@moode32bit:~ $ vcgencmd get_mem gpu
gpu=64M

# Samsung DRAM chip part number on this Pi-1B
K4P4G324EB-AGC1
https://www.datasheets.com/part-details/k4p4g324eb-agc1-samsung-electronics-53733965

# Without 0x17 mask
pi@moode32bit:~ $ /var/www/util/pirev.py
0xe     B       2.0     512MB   Sony UK ?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Support Raspberry Pi 2 with MoOde 9 - by Sander - 06-15-2024, 09:14 PM
RE: Support Raspberry Pi 2 with MoOde 9 - by Tim Curtis - 09-15-2024, 10:39 PM

Forum Jump: