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

PRiEasy don't want to run on a Raspberry Pi 3 Model A Plus #27

Closed
haraldtux opened this issue Feb 10, 2019 · 6 comments
Closed

PRiEasy don't want to run on a Raspberry Pi 3 Model A Plus #27

haraldtux opened this issue Feb 10, 2019 · 6 comments

Comments

@haraldtux
Copy link

haraldtux commented Feb 10, 2019

Hello Alexander,

PRiEasy don't want to run on a Raspberry Pi 3 Model A Plus Rev 1.0

install :

  • python3-pip
  • screen
  • alsa-utils
  • wireless-tools
  • wpasupplicant
  • zip
  • unzip
  • jsonpickle
  • net-tools

harald@rpi86:/ff-hier # git clone https://github.com/enesbcs/rpieasy.git
Cloning into 'rpieasy'...
remote: Enumerating objects: 367, done.
remote: Total 367 (delta 0), reused 0 (delta 0), pack-reused 367
Receiving objects: 100% (367/367), 328.26 KiB | 0 bytes/s, done.
Resolving deltas: 100% (235/235), done.

harald@rpi86:/ff-hier # cd rpieasy
harald@rpi86:/ff-hier/rpieasy #

harald@rpi86:/ff-hier/rpieasy # sudo ./RPIEasy.py

console output :

Traceback (most recent call last):
File "./RPIEasy.py", line 365, in
initprogram()
File "./RPIEasy.py", line 330, in initprogram
hardwareInit()
File "./RPIEasy.py", line 111, in hardwareInit
gpios.HWPorts.readconfig()
File "/ff-hier/rpieasy/gpios.py", line 958, in readconfig
self.set_serial(1)
File "/ff-hier/rpieasy/gpios.py", line 689, in set_serial
Settings.Pinout[8]["altfunc"] = 1
IndexError: list index out of range

checked install, recently version is ok:

  • python3-dev
  • python3-rpi.gpio
  • python3-gpiozero
  • python3-smbus
  • python3-serial
  • i2c-tools

harald@rpi86:/ff-hier/rpieasy # sudo ./fixgpio.sh

after all same error.

If I the (data)config files of another working RPiEasy pi (Raspberry Pi Zero W) in the data directory copy in the RPiEasy on the Raspberry Pi 3 A+ then he run

harald@rpi86:/ff-hier/rpieasy # sudo ./RPIEasy.py
10:42:25: Event: System#Boot
10:42:25: Webserver starting at port 8080
10:42:25: Event: Clock#Time=Sun,10:42

no further console output of erros (Console log Level: Debug Developer)

But then I can not at the http://IP:8080/hardware pages (only remains but loading)

Edit (12:50):
If I manually import the url I come with the pages

http://IP:8080/plugins
http://IP:8080/wifiscanner
http://IP:8080/blescanner
http://IP:8080/pinout
http://IP:8080/i2cscanner

RPiEasy runs well on a Rapberry Pi Model B Rev 2, Zero W Rev 1.1, 3 Model B Plus Rev 1.3 !!

greeting Harald

@enesbcs
Copy link
Owner

enesbcs commented Feb 10, 2019

It is possible that Settings.Pinout[] is empty. Please send me the output of the following Linux command:
cat /proc/cpuinfo

@haraldtux
Copy link
Author

here the output :
root@rpi86:~ # cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 1
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 2
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 3
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Hardware : BCM2835
Revision : 9020e0
Serial : 000000009679f819

@enesbcs
Copy link
Owner

enesbcs commented Feb 10, 2019

You are right, RPI detection was not aware of the new RPI3A+.. fixed in commit 24015b5

@haraldtux
Copy link
Author

Thank you so much,
will be testing 👍

@haraldtux
Copy link
Author

works well, thank you

@enesbcs
Copy link
Owner

enesbcs commented Feb 10, 2019

Perfect, issue solved!

@enesbcs enesbcs closed this as completed Feb 10, 2019
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