lagerschaden

Members
  • Content Count

    34
  • Joined

  • Last visited

About lagerschaden

  • Rank
    Advanced Member

Profile Information

  • Location
    Franconia, Bavaria, Germany, Europe

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I found an error in the U-boot messages: ** File not found /boot/boot.env ** Therefore I took a new SD-card and copied Armbian 5.65 with kernel 4.14.78 onto it. Same error occurs. Could this be the reason for the wrong display mode?
  2. I have the same problem with an orangepi one and ARMBIAN 5.60 stable Debian GNU/Linux 9 (stretch) 4.14.70-sunxi I have a VGA Monitor connected via a HDMI-to-VGA adpater which runs well under Armbian 3.4 and h3disp set to 1024x768@60 which is the max resolution of this monitor. The adapter also runs fine with my normal monitor Hanns.G and with any PC I own and any resolution. When I changed to Armbian 4.14, the resolution of the video output is always set to 1920x1080@60, regardless which parameter I change in /boot/armbianEnv.txt or /boot/boot.cmd recompile and boot twice. I also tried 800x600 and 640x480, nothing works. Tnx L
  3. Try the /etc/udev/rules.d/97-gpio.rules from https://linux-sunxi.org/GPIO
  4. The Orange Pi Zero Plus has only a CVBS/FBAS/RCA video output, therefore I believe that only a televison but no VGA or DVI/HDMI monitor can be used (or headless use). Has anybody an idea how to convert CVBS to VGA or DVI/HDMI? L.
  5. It also runs on Armbian 4.14.18 and 4.14.65 with no root privileges, but you must change the file # /etc/udev/rules.d/97-gpio.rules SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\ chown -R root:gpio /sys/class/gpio && chmod -R 0770 /sys/class/gpio &&\ chown -R root:gpio /sys/devices/platform/soc && chmod -R 0770 /sys/devices/platform/soc'" add a group gpio and make the user member of this group, then reboot
  6. I downloaded Armbian_5.38_Debian_stretch_next_4.14.14 for the orangepi-one and startet armbian-config. In dpkg-reconfigure keyboard-configuration I changed the layout to german-german but it has no effect, the layout remains to the international layout (qwerty etc).
  7. Hi, can anybody tell me, why the rights on the serial port ttyS0 are R/W for the user (root), but only W for the group (tty) ??? crw--w---- 1 root tty 251, 0 Jan 24 19:45 /dev/ttyS0 Hardware is orangepi one, OS is Linux pi-one 3.4.113-sun8i #6 SMP PREEMPT Tue Jan 16 14:36:25 CET 2018 armv7l GNU/Linux I can change the rights with chmod, but the change is not permanent after a reboot. L.
  8. It seems to be alright now: pi@pi-one:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 7 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up systemd (215-17+deb8u7) ... addgroup: The group `systemd-journal' already exists as a system group. Exiting. Failed to try-restart systemd-logind.service: Connection reset by peer /var/lib/dpkg/info/systemd.postinst: 150: /var/lib/dpkg/info/systemd.postinst: cannot open /run/systemd/was-enabled: No such file Setting up hostapd (2:2.6-4~armbian5.37.180112+1) ... Failed to execute operation: Connection timed out Failed to execute operation: Connection timed out Setting up linux-image-sun8i (5.37.180112) ... update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i update-initramfs: Converting to u-boot format Setting up linux-jessie-root-orangepione (5.37.180112) ... Setting up linux-libc-dev:armhf (3.16.51-3+deb8u1) ... Setting up linux-u-boot-orangepione-default (5.37.180112) ... Updating u-boot on /dev/mmcblk0 Setting up sunxi-tools (1.4.2-2~armbian5.37.180112+1) ... Processing triggers for initramfs-tools (0.120+deb8u3) ... update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i update-initramfs: Converting to u-boot format pi@pi-one:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I think it is ok now L
  9. today I made an update an got the following message The following packages will be upgraded: hostapd linux-image-sun8i linux-jessie-root-orangepione linux-libc-dev linux-u-boot-orangepione-default sunxi-tools 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 13,9 MB/15,0 MB of archives. After this operation, 2.048 B of additional disk space will be used. Get:1 http://beta.armbian.com/ jessie/jessie-utils hostapd armhf 2:2.6-4~armbian5.37.180112+1 [363 kB] Get:2 http://beta.armbian.com/ jessie/main linux-image-sun8i armhf 5.37.180112 [12,9 MB] Get:3 http://beta.armbian.com/ jessie/main linux-jessie-root-orangepione armhf 5.37.180112 [485 kB] Get:4 http://beta.armbian.com/ jessie/main linux-u-boot-orangepione-default armhf 5.37.180112 [183 kB] Get:5 http://beta.armbian.com/ jessie/jessie-utils sunxi-tools armhf 1.4.2-2~armbian5.37.180112+1 [36,2 kB] Fetched 13,9 MB in 8s (1.690 kB/s) (Reading database ... 32065 files and directories currently installed.) Preparing to unpack .../hostapd_2%3a2.6-4~armbian5.37.180112+1_armhf.deb ... Failed to execute operation: Connection timed out Unpacking hostapd (2:2.6-4~armbian5.37.180112+1) over (2:2.6-4~armbian5.37.171231+1) ... Failed to execute operation: Connection timed out Preparing to unpack .../linux-image-sun8i_5.37.180112_armhf.deb ... Unpacking linux-image-sun8i (5.37.180112) over (5.37.171231) ... Preparing to unpack .../linux-jessie-root-orangepione_5.37.180112_armhf.deb ... Leaving 'diversion of /etc/mpv/mpv.conf to /etc/mpv/mpv-dist.conf by linux-jessie-root-orangepione' Unpacking linux-jessie-root-orangepione (5.37.180112) over (5.37.171231) ... Preparing to unpack .../linux-libc-dev_3.16.51-3+deb8u1_armhf.deb ... Unpacking linux-libc-dev:armhf (3.16.51-3+deb8u1) over (3.16.51-3) ... Preparing to unpack .../linux-u-boot-orangepione-default_5.37.180112_armhf.deb ... Unpacking linux-u-boot-orangepione-default (5.37.180112) over (5.37.171231) ... Preparing to unpack .../sunxi-tools_1.4.2-2~armbian5.37.180112+1_armhf.deb ... Unpacking sunxi-tools (1.4.2-2~armbian5.37.180112+1) over (1.4.2-2~armbian5.37.171231+1) ... Processing triggers for systemd (215-17+deb8u7) ... Failed to execute operation: Connection timed out dpkg: error processing package systemd (--unpack): subprocess installed post-installation script returned error exit status 1 Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for initramfs-tools (0.120+deb8u3) ... update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i update-initramfs: Converting to u-boot format Errors were encountered while processing: systemd E: Sub-process /usr/bin/dpkg returned an error code (1) what shall I do now ?
  10. A question abaout iozone: is it possible to use another SDCard eg in an USB-reader in the USB-port ?
  11. a Toshiba Exceria 32GB on an OrangePi One - ARMBIAN 5.37.171221 nightly Debian GNU/Linux 8 (jessie) 3.4.113-sun8i random random kB reclen write rewrite read reread read write 102400 4 1646 1719 7660 7658 6295 167 102400 16 5743 5283 14291 14254 13093 37 102400 512 11085 10968 22590 21994 20114 1146 102400 1024 14581 14444 22596 22597 22549 2344 102400 16384 15162 13057 22762 22763 22758 12308 and the 2. run: random random kB reclen write rewrite read reread read write 102400 4 1883 1907 7834 7834 6543 184 102400 16 7406 7107 13679 14571 13393 38 102400 512 15185 15097 22614 22615 22518 1189 102400 1024 14787 17266 22630 22632 22586 2372 102400 16384 17930 15759 22750 22754 22753 10334 and the MMC-Info mmc0:1234 info: cid: 02544d5341333247252735f690011683 csd: 400e00325b590000e74f7f800a4000d5 scr: 0235840301000000 date: 06/2017 name: SA32G type: SD preferred_erase_size: 4194304 fwrev: 0x5 hwrev: 0x2 oemid: 0x544d manfid: 0x000002 serial: 0x2735f690 uevent: DRIVER=mmcblk MMC_TYPE=SD MMC_NAME=SA32G MODALIAS=mmc:block erase_size: 512
  12. under armbian 5.35 Debian Jessie 3.4.113-sun8i I added the following file /lib/systemd/system/getty@tty1.service.d/20-autologin.conf with root privileges: # /lib/systemd/system/getty@tty1.service.d/20-autologin.conf [Service] ExecStart= ExecStart=-/sbin/agetty --autologin pi --noclear %I $TERM If needed, change 'pi' with another username. Then reboot.
  13. It would be fine and eysier for newbies if the udev-rule would be integrated in Armbian or in armbian-config.
  14. I found a method to access gpio without root privileges, look here
  15. Thats's easy to find out. Look at the directory /sys/class/gpio, there is a link to /sys/devices/platform/whatsoever/gpio/gpiochip0, change whatsoever with the real findings and drop gpiochip0. That's the way I did it. Maybe it depends on the hardware (I use an opi one) or the Linux (I use Armbian 5.35 Debian Jessie 3.4.113).