Jump to content

Coby Levy

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Coby Levy

  1. hi guys, using Armbian 23.02.2 Buster with Linux 5.15.93-sunxi on a NanoPi Neo Core LTS. I configured cron to do a daily reboot at 00:30. Every 10-20 days the system is becoming unresponsive unless I do a power cycle. Where should I begin to investigate this issue? Thank you
  2. hi guys, i'm using NanoPi neo core using a battery and a volt booster. and I want to control the voltage booster to turn off all peripherals to conserve power and prevent battery drainage. I figured there's a PWR-LED pin connected to GPIOL10, which turns off when the system shut down. is there a way to map another GPIO in the same way so i could know when the system has shut down - so it will be safe to cut power off? thank you so much.
  3. hi, thank you for your reply. this is the output (it shows a proper toggles). gpiochip0: GPIOs 0-223, parent: platform/1c20800.pinctrl, 1c20800.pinctrl: gpio-0 ( |sysfs ) out hi gpio-10 ( |nanopi:blue:status ) out lo gpio-166 ( |cd ) in lo ACTIVE LOW gpio-204 ( |usb0_id_det ) in hi IRQ but I think I figured out what's the problem is, Apparently - the GPIO is malfunction, I might burned it. I tested it with a new installation, and did the same on another board I have here. thank you for your help, Topic can be closed.
  4. hi everyone, I'm running latest Armbian 20.08.1 Buster with Linux 5.8.5-sunxi on a Nanopi Neo Core. I cannot understand why I cant turn GPIOA0 on\off, can't configure it as output. I have no problem with any other GPIOs, just this one. command i'm using: gpio mode 0 output gpio write 0 1 I managed to make the GPIO as Output using this command, but still no go - the output cannot be set. echo 0 > /sys/class/gpio/export echo out > '/sys/class/gpio/gpio0/direction' dmesg don't show any errors. I checked H3 documents, there's no conflict in the mux with other GPIOs, and just to be sure i turned UART everything off (UARTs, i2c, i2c, etc..). could someone please guide me? ty.
  5. Hi, I'm having a similar issue with NanoPi Neo Core, in my case i I'm using ili9341 with latest debian kernel (5.8). I noticed it happens only when I start X11. if i stay in command-line - evtest command works fine. can you confirm its the same on your side? thx.
  6. hi could you please explain how to apply this patch? all im getting is: $patch < 0001-fbtft-fb_ili9488.patch can't find file to patch at input line 5 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/drivers/staging/fbtft/Kconfig b/drivers/staging/fbtft/Kconfig |index dad1ddcd7..fd27a2dea 100644 |--- a/drivers/staging/fbtft/Kconfig |+++ b/drivers/staging/fbtft/Kconfig -------------------------- thanks!!
  7. thank you for your reply, is there a way to get the older headers? or if you have an idea how to make an SPI LCD work on newer kernels..? i'm in the middle of a project and im so lost :-( tnx. BTW - keep up the great work you do here, i learned allot! cheers.
  8. hi guys, i'm using legacy kernel (because im using fbtft). a couple month ago i followed a tutorial on how to install SPI touch and lcd support, now when i try to install it again - im facing issues with downloading the headers - i see the download is not available anymore. so i tried to download the current headers - using: apt install linux-headers-current-sunxi and when i try to run "make" - i face errors regarding SSL certificates and more issues. i followed the exact steps i tired in the past with a clean installation. tried ubuntu and debian (both used to work properly). what am i missing? Maybe i need to configure the system to use the new headers installed? can someone assist? ty.
  9. hello everyone, I managed to make a WaveShare's 3.5" SPI LCD (actually designed for arduino) work on NanoPi Neo Core running on armbian Bionic 4.19.57, but now i"m having some issues with the touchpanel (using the same SPI). i'm trying to figure out how where to connect the touchpanel cs pin, which from what i have read suppose to connect to CE1. could someone help me find out which pin is it? maybe this will help: root@nanopineo:~# dmesg | grep "spi0.1" [ 8.334791] spi spi0.1: spidev spi0.1 1000kHz 8 bits mode=0x00 [ 8.335492] spi spi0.1: spidev spi0.1 1000kHz 8 bits mode=0x00 [ 8.348670] ads7846_device: spidev spi0.1 1000kHz 8 bits mode=0x00 [ 8.348825] ads7846_device: Deleting spi0.1 [ 8.349668] ads7846 spi0.1: spi0.1 supply vcc not found, using dummy regulator [ 8.349803] ads7846 spi0.1: Linked as a consumer to regulator.0 [ 8.350527] ads7846 spi0.1: touchscreen, irq 57 [ 8.351477] input: ADS7846 Touchscreen as /devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.1/input/input0 [ 8.351619] ads7846_device: ads7846 spi0.1 2000kHz 8 bits mode=0x00 root@nanopineo:~# gpio readall +-----+-----+----------+------+---+-NanoPi-NEO-Core--+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | 12 | 8 | GPIOA12 | ALT5 | 0 | 3 || 4 | | | 5v | | | | 11 | 9 | GPIOA11 | ALT5 | 0 | 5 || 6 | | | 0v | | | | 203 | 7 | GPIOG11 | OFF | 0 | 7 || 8 | 0 | OFF | GPIOG6 | 15 | 198 | | | | 0v | | | 9 || 10 | 0 | OFF | GPIOG7 | 16 | 199 | | 0 | 0 | GPIOA0 | OFF | 0 | 11 || 12 | 0 | OFF | GPIOA6 | 1 | 6 | | 2 | 2 | GPIOA2 | ALT2 | 0 | 13 || 14 | | | 0v | | | | 3 | 3 | GPIOA3 | OUT | 1 | 15 || 16 | 0 | OFF | GPIOG8 | 4 | 200 | | | | 3.3v | | | 17 || 18 | 0 | OFF | GPIOG9 | 5 | 201 | | 64 | 12 | GPIOC0 | ALT4 | 0 | 19 || 20 | | | 0v | | | | 65 | 13 | GPIOC1 | ALT4 | 0 | 21 || 22 | 1 | OUT | GPIOA1 | 6 | 1 | | 66 | 14 | GPIOC2 | ALT4 | 0 | 23 || 24 | 0 | ALT4 | GPIOC3 | 10 | 67 | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+-NanoPi-NEO-Core--+------+----------+-----+-----+ +-----+-----+----------+---- NanoPi-NEO-Core USB/Audio ----+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | | | 5v | | | 25 || 26 | 0 | OFF | GPIOA15 | 22 | 15 | | | | USB1 | | | 27 || 28 | 0 | OFF | GPIOA16 | 23 | 16 | | | | USB1 | | | 29 || 30 | 0 | OFF | GPIOA14 | 21 | 14 | | | | USB2 | | | 31 || 32 | 0 | OFF | GPIOA13 | 20 | 13 | | | | USB2 | | | 33 || 34 | | | Mic | | | | | | IR | | | 35 || 36 | | | Mic | | | | 17 | 19 | GPIOA17 | OFF | 0 | 37 || 38 | | | Audio | | | | | | I2S | | | 39 || 40 | | | Audio | | | | | | I2S | | | 41 || 42 | 0 | ALT5 | GPIOA5 | 18 | 5 | | | | I2S | | | 43 || 44 | 0 | ALT5 | GPIOA4 | 17 | 4 | | | | I2S | | | 45 || 46 | | | 5V | | | | | | 0v | | | 47 || 48 | | | 0v | | | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+-NanoPi-NEO-Core--+------+----------+-----+-----+ +-----+-----+----------+---- NanoPi-NEO-Core Network ----+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | | | Eth | | | 49 || 50 | | | Eth | | | | | | Eth | | | 51 || 52 | | | Eth | | | | | | Eth | | | 53 || 54 | | | Eth | | | | | | NC | | | 55 || 56 | | | NC | | | | | | NC | | | 57 || 58 | | | NC | | | | | | 0v | | | 59 || 60 | | | 0v | | | | | | USB3 | | | 61 || 62 | 0 | OFF | GPIOA7 | 24 | 7 | | | | USB3 | | | 63 || 64 | | | GPIOE12 | | | | | | 5v | | | 65 || 66 | | | GPIOE13 | | | | | | 5v | | | 67 || 68 | | | 3.3v | | | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+-NanoPi-NEO-Core--+------+----------+-----+-----+ thank you!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines