avafinger / bpi-m64-firmware

Banana Pi M64 firmware (eMMC, Wifi, bluetooth, GbE, OV5640)
27 stars 8 forks source link

WiringPi & RPI.GPIO do not work - on 4.4 Kernel #18

Closed shaddow501 closed 5 years ago

shaddow501 commented 5 years ago

Hello, I was trying your image and I have some issues with it.

following the guide from BPI of installing WiringPi & python GPIO and it doesnt run on the board. the error I get that the application can run only on Raspberry PI board.

When using other image as like Armbian / or other BPI_M64 those applications work without any issue.

What is missing and how to fix that? I like your image since it is small but I need to be able to work with those applications.

Another question: I am using HDMI 5" 800x480 LCD, On Armbian image I can see the display, with yours I have a white screen, what do I need to do in order to get it to work?

shaddow501 commented 5 years ago

Just to place that dtb in the folder? I am sorry we were doing so many things I am a bit lost Since the last update that we did I cannot connect anymore to your image via ssh and cannot use file zilla to transfer things, do you want me to re-flash the SSD? and have a fresh start?

avafinger commented 5 years ago

put the file in: /boot/a64/ overwrite the old one. and boot.

shaddow501 commented 5 years ago

I have issue with the ssh and I only can connect with TTL to serial since the last update that we did... have a look.

[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
         Starting Hold until boot process finishes up...
[  OK  ] Started Hold until boot process finishes up.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Stopped OpenBSD Secure Shell server.
         Starting OpenBSD Secure Shell server...
[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[  OK  ] Stopped OpenBSD Secure Shell server.
         Starting OpenBSD Secure Shell server...
[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[  OK  ] Stopped OpenBSD Secure Shell server.
         Starting OpenBSD Secure Shell server...
[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[  OK  ] Stopped OpenBSD Secure Shell server.
         Starting OpenBSD Secure Shell server...
[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[  OK  ] Stopped OpenBSD Secure Shell server.
[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
root@bpi-m64:~# systemctl status ssh.service
ג— ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enab
   Active: failed (Result: start-limit-hit) since Tue 2019-07-02 10:53:59 EDT; 1
  Process: 2952 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)

Jul 02 10:53:58 bpi-m64 systemd[1]: ssh.service: Unit entered failed state.
Jul 02 10:53:58 bpi-m64 systemd[1]: ssh.service: Failed with result 'exit-code'.
Jul 02 10:53:59 bpi-m64 systemd[1]: ssh.service: Service hold-off time over, sch
Jul 02 10:53:59 bpi-m64 systemd[1]: Stopped OpenBSD Secure Shell server.
Jul 02 10:53:59 bpi-m64 systemd[1]: ssh.service: Start request repeated too quic
Jul 02 10:53:59 bpi-m64 systemd[1]: Failed to start OpenBSD Secure Shell server.
Jul 02 10:53:59 bpi-m64 systemd[1]: ssh.service: Unit entered failed state.
Jul 02 10:53:59 bpi-m64 systemd[1]: ssh.service: Failed with result 'start-limit

I really dont know what to do with it.. should I re-flash the SD?

shaddow501 commented 5 years ago

Ok I have re flashed the SD, Copied the bew M64-4.4_5_inch.dtb file into /boot/a64 , and than followed the steps in the https://github.com/avafinger/bpi-m64-firmware/releases/tag/v1.0 including changing from inage to image and running the sudo ln -sf Image_4.4.89 Image command.

rebooted... sorry I dont have any good news...

avafinger commented 5 years ago

Ok, unfortunately, it is all we can do for now. I was confident i would work, Sorry.

shaddow501 commented 5 years ago

Look, it is really not your fault, I appreciate your help very much and thank you for the effort and time that was invested.

I now tried to implement this: https://github.com/armbian/build/blob/master/patch/kernel/sun8i-default/z-0003-add-additional-video-modes.patch And test it.

By the way were are you from?

avafinger commented 5 years ago

Mainline kernel 5.2.0 has been released for testing purposes: https://github.com/avafinger/bananapi-m64-kodi