All Activity

This stream auto-updates     

  1. Past hour
  2. That is because I was referring to OPiZeroPlus2 (H5) ...
  3. Pretty normal since you are showing an OPiZero (H2), not OPiZeroPlus2 (H5) like you mentioned earlier ... If your board is the OPiZero, I suggest to use GPIO10 which is PA10.
  4. Take a look here: http://linux-sunxi.org/Xunlong_Orange_Pi_Zero oops, there is no PD11 your right... Maybe Martin mean another Pin.
  5. I have a tvbox quad core uhd android5.1 model H97 rockchip 3229. I need linux Wiking on it. Please, Amrbian could help me on it? I hope so.Thanks all.
  6. Hello @martinayo Thanks for your reply, please according to the image that I'm attaching which is the pin you suggest I should use, because I can't identify the one you say in it.
  7. Today
  8. Yes and cant really make out the number markings of the chips under the heatsink
  9. Hmm, the size of the radiator is clearly not enough to cool under load.
  10. Are you sure you are using the right pins ? Because PA1 is the UART RX ... Simply use another pin such PD11 ... Also, you should normally use it with PULLUP option and bringing the button to GND and printing "pressed" when reading "0" detecting the pull down to GND.
  11. Hello, hope you can help me with my issue. I have an Orange Pi Zero+ with an H5 processor. My requirement is to detect when a button is pressed, my input port is PA1 or pin 11, my pin for 3.3V is 17, I'm using the pyA20 library, have also setup this project: https://github.com/herzig/orangepi_PC_gpio_pyH5. My code is based on the read_button example (https://github.com/herzig/orangepi_PC_gpio_pyH5/blob/master/examples/read_button.py#L46). Bellow I will show the code, but the main problem is that the gpio.input() method is usually returning 0 but every few seconds it returns 1, which is only supposed to happen when button is pressed. I'm a complete newbie in this world so excuse me if this is an easy thing to solve. For the record I have also tried with other libraries an none have worked for me. Thanks in advance. Example code: #!/usr/bin/env python """Read button. Make gpio input and enable pull-up resistor. """ import os import sys import time import logging if not os.getegid() == 0: sys.exit('Script must be run as root') from pyA20.gpio import gpio from pyA20.gpio import connector from pyA20.gpio import port __author__ = "Stefan Mavrodiev" __copyright__ = "Copyright 2014, Olimex LTD" __credits__ = ["Stefan Mavrodiev"] __license__ = "GPL" __version__ = "2.0" __maintainer__ = __author__ __email__ = "support@olimex.com" button = port.PA1 #connector.gpio3p40 """Init gpio module""" gpio.init() """Set directions""" gpio.setcfg(button, gpio.INPUT) """Enable pullup resistor""" # gpio.pullup(button, gpio.PULLUP) gpio.pullup(button, gpio.PULLDOWN) # Optionally you can use pull-down resistor try: while True: state = gpio.input(button) # Read button state print (state) if state == 1: print("button pressed") logging.info("button pressed") time.sleep(0.2) except KeyboardInterrupt: print ("Goodbye.")
  12. The build and publication of unified test images with a common core for the Rockchip Amlogic platform (and later Allwinner) begins. https://yadi.sk/d/_rQgn_FosYuW0g Please note, this version NEXT and DEV is the primary preparation for the transition to the release of a single image for the platform Rockchip + Amlogic + Allwinner. The new image after writing to external media and after configuring the used dtb (and if necessary adding the desired u-boot option to run from the SD card on the RK) can be used simultaneously on AML (s9xxx) and RK (rk3399 and rk3328). If the TV boxes RK (rk3328 and rk3399) in eMMC installed a new version of u-boot with support for starting the system with USB, adding u-boot to SD card is not required, the system will automatically start on rk33xx with USB. Important. These images do not yet have new scripts to install the system in eMMC for AML and rk3328. Therefore, do not use these images to install in eMMC on AML models and on RK3328. In the "U-BOOT" directory on the site there are versions of files for writing to a universal image for these models, to run the system from an SD card on the RK platform. I pay attention, u-boot records need to be performed after writing the image to the SD card, with two commands (to save the existing partition table).
  13. The working branch is master. Other branches are used for tests and are not recommended for use.
  14. Hi, Balbes time ago I sent you a PR for GT1-Mini-A DTS which was accepted, today testing your 5.99 image noted that Kernel is 5.4rc6 and the image does not contain that DTB. Which branches contain which versions on your Github ? LE - > 5.2rc ? Master -> 5.4 ? I'm trying to make a PR for 5.4 and also trying to get support for the GT1 WiFi AP6255: https://gitlab.com/baylibre/amlogic/atv/linux/tree/narmstrong/v5.1/aml/integ-5.1-bcmdhd/drivers/net/wireless/bcmdhd TIA
  15. Read the first post of this topic.
  16. Hello I having some issues with the Armbian Buster image for Nano Pi Neo 2. https://www.armbian.com/nanopi-neo-2/ When I launch the command sudo apt update, I'm getting the following error: The package cache file is corrupted, it has the wrong hash I already downloaded the image several times, I still getting the same error. My SD card is ok, I have tried with 2 different ones. I can remember having the same issue with a preview version. What's wrong??? Thank you
  17. Hello Nico, your reviews go so deep and are so well made that I learn something from you everytime I watch one of them. Thanks
  18. Hi, I tried this yesterday without success : pink characters on a light blue background with a "poor" screen resolution (maybe 640x480) and still no network. This morning I tried CoreElec version 9.2.0. I manage to connect via WiFi but not with Ethernet. I noticed that the dtb filesize differs from 41ko in Armbian (meson-g12a-x96-max.dtb) to 71ko in CoreElec (g12a_s905x2_4g_1gbit.dtb). I noticed to that CoreElec run on a kernel version 4. I imagine that I'm missing something : if there is a dtb call meson-g12a-x96-max.dtb I suppose that it is possible to connect it via Ethernet, no? Regards, Laurent.
  19. Hello all, I write this topic to be my guide in future reference and maybe some help for other linux noobies like myself. A the beginning my idea was to use AMLogic box to use Octoprint and 3d party software called Klipper for my DIY 3d prinetr. Quick search in google shows that it is doable but there are old topics, posts and old images for s905 processors. At first I had started with newer images from @balbes150 like Armbian_5.98_Aml-g12_Ubuntu_bionic_default_5.3.0_desktop_20191002.img and tried to start WIFI. Like many other before me I tried modprobe wifi_dummy .. etc and nothing good happened - complete linux noob. After trying with numerous images i bought wifi usb dongle with Realtek RTL8188FTV - nothing.... Everywhere there were some whispers - " you need to compile driver " , " you need to compile from source " , " you need to install headers " - DEVILS voice I must say. So i started to digging dipper and with struggle I had managed to enable build-in RTL8189ES and usb dongle. Many thanks to others before me, especially to @balbes150 for great work, and Chris Riley from his YT chanell, and creator of Klipper - KevinOConnor To be honest I`m not completely understand what I`m doing but it is working for some reason :] I`m using Armbian_5.98_Aml-g12_Ubuntu_bionic_default_5.3.0_desktop_20191002.img. This was my steps: 1. After properly installing on sd card and setting user and password I connected to the box with putty - it is more convenient because i had only small BT air mouse/keyboard 2. Then like armbina DOCs says https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-build-a-wireless-driver): sudo armbian-config Software -> install kernel headers , you could also already apt get update here exit cd /usr/src/linux-headers-$(uname -r) make scripts 3. I had use guides from this post apt install build-essential libncurses-dev bison flex libssl-dev libelf-dev git clone https://github.com/150balbes/Amlogic_s905-kernel.git cd Amlogic_s905-kernel make oldconfig make prepare make modules_prepare touch Module.symvers I didn`t change utsrelease.h with sudo nano include/generated/utsrelease.h cd .. git clone https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git cd wireless-regdb && cp regulatory.db regulatory.db.p7s /lib/firmware/ cd .. 4. For the USB dongle with RTL8188FTV : git clone https://github.com/kelebek333/rtl8188fu.git cd rtl8188fu we need to change some EXTRA_CFLAGS too and I think it is self explanatory, just add the missing lines, remove #: nano Makefile EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types EXTRA_CFLAGS += -Wno-incompatible-pointer-types EXTRA_CFLAGS += -Wno-vla EXTRA_CFLAGS += -Wno-error=date-time (exit with ctrl+x) And now second difference form post above - we use different image so we have lib/modules/5.3.0-aml-g12 but we can use uname -r make ARCH=arm64 KSRC=../Amlogic_s905-kernel CONFIG_POWER_SAVING=n sudo install -p -m 644 rtl8188fu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless /sbin/depmod -a sudo modprobe rtl8188fu And Voila! now we can use nmtui to activate and config new connection so hit it in terminal: nmtui 5. For RTL8189ES cd ~ git clone https://github.com/pazulin/rtl8189ES_linux.git it has fix for 5.3 kernell cd rtl8189ES_linux change EXTRA_CFLAGS like above nano Makefile EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types EXTRA_CFLAGS += -Wno-incompatible-pointer-types EXTRA_CFLAGS += -Wno-vla EXTRA_CFLAGS += -Wno-error=date-time (exit) make ARCH=arm64 KSRC=../Amlogic_s905-kernel CONFIG_POWER_SAVING=n sudo install -p -m 644 8189es.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless /sbin/depmod -a sudo modprobe 8189es After that nmtui works and no need to add modprobe to autostart etc. 6. For octorpint use: https://community.octoprint.org/t/setting-up-octoprint-on-a-raspberry-pi-running-raspbian/2337 and if you would like to watch nice guide : Then you only need to install Klipper and configure it also from nice guide: cd ~ git clone https://github.com/KevinOConnor/klipper ./klipper/scripts/install-ubuntu-18.04.sh rest on: https://www.klipper3d.org/Installation.html#configuring-klipper
  20. Hi all. I've finished my review video of the NanoPi M4V2. Here is it. Special thanks to @JMCC @balbes150 @pask and @martinayotte. Cheers all.
  21. The problem with the OPi Zero is that the temperature read-out is VERY wrong/bad The Zero isnt running really that hot My Zero in the original black case is running idle with the wrong read-out at 69°C ___ ____ _ _____ / _ \| _ \(_) |__ /___ _ __ ___ | | | | |_) | | / // _ \ '__/ _ \ | |_| | __/| | / /| __/ | | (_) | \___/|_| |_| /____\___|_| \___/ Welcome to Debian Buster with Armbian Linux 5.3.9-sunxi package bsp-kernel[5.99.191113] u-boot[5.91] dtb[5.99.191113] firmware[5.98] config[5.98] branch[dev] System load: 0.17 0.06 0.01 Up time: 31 min Memory usage: 14 % of 491MB IP: 192.168.6.99 CPU temp: 69°C Usage of /: 17% of 7.2G It is correct that the R1 and the One running MUCH coooler (like the PC and PC2) There the temperature read-out is - out of my sight - correct So the R1 is better than the Zero - but lacks video-ouput. As Lutz did wrote give your loop a short/long sleep (0.5sec/500ms) could help much
  22. There is no firmware for the main core for this chip. The manufacturer has long ceased to exist and no support for this chip is not and will not be. You're wasting your time on this shit.
  23. Use the DEV version, it has an extended hardware list and additional patches.
  24. Can you take a photo of the inside of this box ? What components are used there ? How is the cooling system made ? The body is plastic and sealed ?
  1. Load more activity