Jump to content

wollik

Members
  • Posts

    40
  • Joined

  • Last visited

  1. Hi Josep, sorry for the late reply, I just seen your questeion. The hardware chip for UART3 (/dev/ttyS3) is a 16550A and supports a Base-baud of 150000. So the highest possible baud rate you can get out of this chip is 150 000. To set it to 150000 Baud you have to: 1) enable the UART3 via armbian.config, 2) install the tool setserial 3) enable for customer speed by: setserial -a /dev/ttyS3 spd_cust 4) set the divisor to 1 by: setserial -a /dev/ttyS3 divisor 1 5) activate the UART by: stty -F /dev/ttyS3 38400 <-- will get an error, but this is o.k. Here is my output: pi@bananapim2zero:~$ setserial -a /dev/ttyS3 /dev/ttyS3, Line 3, UART: 16550A, Port: 0x0000, IRQ: 46 Baud_base: 1500000, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal pi@bananapim2zero:~$ setserial -a /dev/ttyS3 spd_cust pi@bananapim2zero:~$ setserial -a /dev/ttyS3 divisor 1 pi@bananapim2zero:~$ setserial -a /dev/ttyS3 /dev/ttyS3, Line 3, UART: 16550A, Port: 0x0000, IRQ: 46 Baud_base: 1500000, close_delay: 50, divisor: 1 closing_wait: 3000 Flags: spd_cust pi@bananapim2zero:~$ stty -F /dev/ttyS3 38400 pi@bananapim2zero:~$ Regards wollik
  2. Hi forum members, the apt utility in my bpi m2 zero can't find neither dnsutil nor bind9-dnsutil for bullseye, here the output: pi@fewo-relais:~$ sudo apt install bind9-dnsutils Paketlisten werden gelesen… Fehler! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_binary-armhf_Packages E: Die Paketliste oder die Statusdatei konnte nicht eingelesen oder geöffnet werden. pi@fewo-relais:~$ pi@fewo-relais:~$ cat /etc/armbian-release # PLEASE DO NOT EDIT THIS FILE BOARD=bananapim2zero BOARD_NAME="Banana Pi M2 Zero" BOARDFAMILY=sun8i BUILD_REPOSITORY_URL=https://github.com/armbian/build BUILD_REPOSITORY_COMMIT=735eff9 DISTRIBUTION_CODENAME=bullseye DISTRIBUTION_STATUS=csc VERSION=21.08.0-trunk LINUXFAMILY=sunxi ARCH=arm IMAGE_TYPE=user-built BOARD_TYPE=csc INITRD_ARCH=arm KERNEL_IMAGE_TYPE=Image BRANCH=current Can someone help how to update the repository to have also bind9-dnsutils included ? Regards wollik
  3. Hi forum members, I need to run a script only once at boot or reboot. Using the @reboot method in the crontab is not working under Armbian. For example neither of these lines at the end of the /etc/crontab file is working: neither @reboot date >> /home/pi/boottime.txt nor @reboot /home/pi/control.sh init >> /home/pi/init.log Please has someone a hint how to get it to work under Armbian ? Regards wollik
  4. Sorry I found the solution, Edit the file /etc/apt/sources.list.d/influxdb.list by adding the arch and deleting the dists so it looks like: deb [arch=armhf] https://repos.influxdata.com/debian bullseye stable Now telegraf can be installed via apt Regards wollik
  5. He forum members, I try to install telegraf on my R2 running armbian bullseye: # PLEASE DO NOT EDIT THIS FILE BOARD=bananapir2 BOARD_NAME="Banana Pi R2" BOARDFAMILY=mt7623 BUILD_REPOSITORY_URL=git@github.com:armbian/build BUILD_REPOSITORY_COMMIT=aec64805a DISTRIBUTION_CODENAME=bullseye DISTRIBUTION_STATUS=supported VERSION=21.08.1 LINUXFAMILY=mt7623 ARCH=arm IMAGE_TYPE=stable BOARD_TYPE=csc INITRD_ARCH=arm KERNEL_IMAGE_TYPE=Image BRANCH=legacy I can install influxdb via apt install influxdb without problems, but can't install telegraf that is part of influxdb (E: Unable to locate package telegraf) So I updated the sourcelist via: echo "deb https://repos.influxdata.com/debian dists bullseye stable" | sudo tee /etc/apt/sources.list.d/influxdb.list Now when I run apt update I got this error: E: The repository 'https://repos.influxdata.com/debian dists Release' does not have a Release file. Can someone help on this ??? When try to install it manualy like in the influxdata description (https://portal.influxdata.com/downloads/) for telegraf, I download and extracted the latest version for telegraf via: wget https://dl.influxdata.com/telegraf/releases/telegraf-1.21.3_linux_armhf.tar.gz sudo tar xf telegraf-1.21.3_linux_armhf.tar.gz I got the files, but now need to know how to activate the telegraf service, there is no install file like on other packages. Please can you help whow to proceed ? Regards wollik
  6. Hi forum admins, it seems that I used the wrong section, please can you move this to the P2P section of this forum? Regards wollik
  7. Hi forum admin(s) please can you move this topic to the correct P2p section? Regards Wolfgang
  8. Hi briks, please can you tell me where you got the informations to map the Pxn(n) nunbers to the pysical pins? Regards wollik
  9. Hi Werner, this was not a bug report, it was just a question to the forum members if someone have an idea. Here is the forgotten link to my armbian details: http://ix.io/3HK8 that will not show any bug! If this was the wrong forum, please where/in what forum should this kind of general Allwinner H2 & H3 questions have been asked? Regards wollik
  10. Hi forum members, since I'm playing with the use of onewire sensos, I came up with the question to use more than one GPIO-pin for the onewire protocol. Is it possible to configure multiple GPIO-pins that the output of: cat /sys/kernel/debug/gpio shows more than one onewire gpio pin ? If YES, how can I find the connected sensors under the /sys/bus/ structure? Tanks in advance wollik
  11. Hi forum members, I enabled the 1w protocol via armbian.config and found, that the default GPIO pin assignment is set to 110 (what is PD14) root@bananapim2zero:/sys/bus/w1/devices# cat /sys/kernel/debug/gpio gpiochip0: GPIOs 0-223, parent: platform/1c20800.pinctrl, 1c20800.pinctrl: gpio-110 ( |onewire@0 ) out lo - - - dmesg | grep -E 'w1|wire' | grep -E 'Driver|gpio-' [ 5.659452] Driver for 1-wire Dallas network protocol. [ 6.408704] gpio-110 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file Please can someone tell me what phyical pin is this gpio-110 on my BPI m2 zero ? I reconfigured my board via /boot/ambianEnv.txt to use the PA6 pin what is the physical pin 7. Everything worked fine and I can read out the temperature from the onewire sensor DS18S connected on the physical pin 7. I'm ask for help on this topic because I want to use the PD14 GPIO pin since I can configure the internal pullup resistor instead using an external pullup resistor, Thanks in advance wollik
  12. Hi ALL, I got it compiled in the docker environment without problems. In Debian Buster some needed tools like: debootstrap, gaparted, losetup and maybe others are installed in /sbin, that is not in my PATH when I'm su. So I just added also the /sbin directory to my PATH before calling the ./compile.sh script and it also compiles without problems. The compile problems are now fixed, the questeion for this debootstrap problem is answered an this topic can marked as solved. I'll give the newly created image a try later on. Many thanks to all fo you wollik
  13. Hi Werner, thanks for this hint, I setup not a docker environment on my Debian buster system and give it a try. Reards Wolfgang
  14. Hi Igor, I can't find the problem in the logs, here are the logs from today and the older onse. Regards wollik logs-25_06_2021-12_02_01.tgz logs-23_06_2021-21_11_33.tgz
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines