Jump to content

Search the Community

Showing results for tags 'orangepizero'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. Hi, I have tried to run Armbian_20.05.1_Orangepizero_focal_current_5.4.43.img.xz but it doesn't work, see here: U-Boot SPL 2020.04-armbian (May 30 2020 - 18:49:32 +0200) DRAM: 256 MiB Trying to boot from MMC1 U-Boot 2020.04-armbian (May 30 2020 - 18:49:32 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Zero DRAM: 256 MiB MMC: mmc@1c0f000: 0, mmc@1c10000: 1 Loading Environment from FAT... Unable to use mmc 0:1... In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... Bus usb@1c1a000: USB EHCI 1.00 Bus usb@1c1a400: USB OHCI 1.0 Bus usb@1c1b000: USB EHCI 1.00 Bus usb@1c1b400: USB OHCI 1.0 Bus usb@1c1c000: USB EHCI 1.00 Bus usb@1c1c400: USB OHCI 1.0 scanning bus usb@1c1a000 for devices... 1 USB Device(s) found scanning bus usb@1c1a400 for devices... 1 USB Device(s) found scanning bus usb@1c1b000 for devices... 1 USB Device(s) found scanning bus usb@1c1b400 for devices... 1 USB Device(s) found scanning bus usb@1c1c000 for devices... 1 USB Device(s) found scanning bus usb@1c1c400 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3789 bytes read in 4 ms (924.8 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 181 bytes read in 3 ms (58.6 KiB/s) 13650370 bytes read in 1038 ms (12.5 MiB/s) 7236248 bytes read in 552 ms (12.5 MiB/s) Found mainline kernel configuration 29861 bytes read in 12 ms (2.4 MiB/s) 504 bytes read in 8 ms (61.5 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo 504 bytes read in 8 ms (61.5 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost3.dtbo 4185 bytes read in 8 ms (510.7 KiB/s) Applying kernel provided DT fixup script (sun8i-h3-fixup.scr) ## Executing script at 44000000 ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 13650306 Bytes = 13 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... Bad Data CRC Ramdisk image is corrupt or invalid SCRIPT FAILED: continuing... I tried both torrent and http downloads and two microSD cards, the sha checksum is correct too: danman@silverhorse:~/Downloads$ sha256sum Armbian_20.05.1_Orangepizero_focal_current_5.4.43.img.xz 12dd233cc434435027e4756ce752b8aad40307eadda613cf2b225cb8b209da9b Armbian_20.05.1_Orangepizero_focal_current_5.4.43.img.xz danman@silverhorse:~/Downloads$ cat Armbian_20.05.1_Orangepizero_focal_current_5.4.43.img.xz.sha 12dd233cc434435027e4756ce752b8aad40307eadda613cf2b225cb8b209da9b *Armbian_20.05.1_Orangepizero_focal_current_5.4.43.img.xz The Armbian_20.05.1_Orangepizero_buster_current_5.4.43.img.xz works without any problem.
  2. Hi there! I has a OPi zero board on armbian ubuntu os. There is a python scrypt that ping server. Scrypt starts with my service. service code: [Unit] Description=My Script Service After=multi-user.target [Service] Type=simple ExecStart=/usr/bin/sudo /usr/bin/python /root/test/qr2.py RemainAfterExit=no Restart=always RestartSec=5 [Install] WantedBy=multi-user.target python ping server like: try: os.system('ping ' + ip + ' -c 4') # or # s.scall('ping ' + ip + ' -c 4 ) except: print 'ping error' Sometimes If i start system after power supply scrypt is starting, but then hangs on ping function. In Htop (image) i can see ping process. There are no python errors or exceptions. It just hangs. But if i use console command to ping server ip while scrypt hans, it pings well. If a starts scrypt manualy it works well, no hanging. Also if i execute reboot command in concole, then after restart scrypt do not hangs up.
  3. I have an Orange Pi Zero 512 H2 with the "original" audio breakout-shield AKA Orange Pi Zero Interface boatd 1.1 like this one http://codelectron.com/intro-to-orange-pi-zero-interface-board/ I loaded the latest Armbian Buster, did apt-get update apt-get upgrade So I have Armbian buster with Linux 5.4.43-sunxi and then tried to send an audio signal to the sound output via speaker-test -twav -c2 root@orangepizero:~# speaker-test -twav -c2 speaker-test 1.1.8 Playback device is default Stream parameters are 48000Hz, S16_LE, 2 channels WAV file(s) ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM default Playback open error: -2,No such file or directory root@orangepizero:~# armbianmonitor -u System diagnosis information will now be uploaded to http://ix.io/2orc Of course I did search here for similar issues and the best fit I found was but did not really understand WHAT to add WHERE and if this is the correct solution for my case. In many threads and guides I did read "alsamixer" but it is not installed and not installable. Armbian told me to unstall csound-util which I did, but this did not change the sound issue. Any recommendations what I could do? Or is there a better, completely different aproach? All I want for now is an Airplay receiver
  4. I'm trying to recompile U-Boot to move the serial console on my OP Zero from uart0 to uart2. I didn't have any trouble to move the linux console, but I'm struggling with U-Boot. I tried creating a patch to change stdout-path in the device tree: https://github.com/u-boot/u-boot/blob/master/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts#L65 ff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts index d166ffc..0e2e48d 100644 --- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts @@ -55,7 +55,7 @@ compatible = "xunlong,orangepi-zero", "allwinner,sun8i-h2-plus"; aliases { - serial0 = &uart0; + serial0 = &uart2; /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ ethernet0 = &emac; ethernet1 = &xr819; @@ -178,7 +178,7 @@ &uart2 { pinctrl-names = "default"; pinctrl-0 = <&uart2_pins>; - status = "disabled"; + status = "okay"; }; &usb_otg { I doesn't seem to make a difference if change the alias or stdout-path directly - with the changed tree I get this output on uart0: U-Boot SPL 2019.04-armbian (Aug 16 2019 - 23:13:41 +0200) DRAM: 512 MiB Trying to boot from MMC1 And then it just freezes, with no output on uart2 at all. Does anyone have an idea where else I should look?
  5. Hi, I have a orange pi zero with NAS expansion (128 MB msata drive) I would like to boot only msata.... So, How I to do ?
  6. Hi, I've encountered an annoying problem with my fresh Orange Pi Zero (512MB, H3): After flashing uSD card with Armbian Bionic from https://www.armbian.com/orange-pi-zero/ using Etcher and booting successfully 1st time, creating account and shutting down properly, 2nd boot gave gibberish on the serial port: A^@^@�;߽�/�^^@^@��(^@^@@^@+�?^P�x�����[��&�������ٕ��0-9)`W�����b) c~�s��ᥥ thaw-fi|esystems(j)���-+ �back|rac�-all-active-cpus8l) show-memory-usage(m) nice-all-RT-tasks8n9��ݕ�����o���all-timers(q)�unraw8�����ftrace-buffer(� �^\^O^N�0<�<^]���[�<16] sysrq: HELp : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks���kill(f)�kill-all-tasks(i)��������usage8mi +k��all-R\-|asks(n)�W�����+�.���registers(p) show-all-timers(q) unraw(r) sync(s) sxow-task-s|ates�WI�������tasks(w)`VW �ftra�Y�^��A�: loglevel(�-9)஖����b) ����(c)���all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i)�thaw-filesystem���Ʌ���all-active-cpus(l)����ɵ�͡p) show-all-timers(q)��Ʌ��r)�W��ͭ�states(t) unmount(u) show-blocked-tasks(w) dump-ftrace-buffer8~)�x���>�~^�Ssysrq: Loglevel�set to �^\^������^���B�����^@^A^@�? (� Lots of it, without ever ending. I've tried reflashing the uSD with same image, with Armbian Buster, and also deleting the uSD completely inbetween. Still no success. Can any of you provide advice? I'm afraid that it may be a hardware problem, but I would hope not. uSD card is a 16 GB MicroSDHC Kingston. I know its not a super-duper card, but still Etcher verifies fine. Thanks in advance! /Henrik Boot log, 1st boot: U-Boot SPL 2019.10-armbian (Feb 17 2020 - 09:07:00 +0100) DRAM: 512 MiB Trying to boot from MMC1 U-Boot 2019.10-armbian (Feb 17 2020 - 09:07:00 +0100) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Zero DRAM: 512 MiB MMC: mmc@1c0f000: 0, mmc@1c10000: 1 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... Bus usb@1c1a000: USB EHCI 1.00 Bus usb@1c1a400: USB OHCI 1.0 Bus usb@1c1b000: USB EHCI 1.00 Bus usb@1c1b400: USB OHCI 1.0 Bus usb@1c1c000: USB EHCI 1.00 Bus usb@1c1c400: USB OHCI 1.0 scanning bus usb@1c1a000 for devices... 1 USB Device(s) found scanning bus usb@1c1a400 for devices... 1 USB Device(s) found scanning bus usb@1c1b000 for devices... 1 USB Device(s) found scanning bus usb@1c1b400 for devices... 1 USB Device(s) found scanning bus usb@1c1c000 for devices... 1 USB Device(s) found scanning bus usb@1c1c400 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3789 bytes read in 2 ms (1.8 MiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 181 bytes read in 1 ms (176.8 KiB/s) 8673534 bytes read in 654 ms (12.6 MiB/s) 7744344 bytes read in 585 ms (12.6 MiB/s) Found mainline kernel configuration 28893 bytes read in 6 ms (4.6 MiB/s) 504 bytes read in 6 ms (82 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo 504 bytes read in 7 ms (70.3 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost3.dtbo 4155 bytes read in 7 ms (579.1 KiB/s) Applying kernel provided DT fixup script (sun8i-h3-fixup.scr) ## Executing script at 44000000 ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 8673470 Bytes = 8.3 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 EHCI failed to shut down host controller. Loading Ramdisk to 497ba000, end 49fff8be ... OK Loading Device Tree to 4974a000, end 497b9fff ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Loading, please wait... starting version 237 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.31.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: clean, 35020/59904 files, 202124/239616 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to [1mUbuntu 18.04.4 LTS[0m! [[0;32m OK [0m] Reached target Swap. [[0;32m OK [0m] Set up automount Arbitrary Executabrmats File System Automount Point. [[0;32m OK [0m] Reached target System Time Synchronized. [[0;32m OK [0m] Started Forward Password Requests to Wall Directory Watch. [[0;32m OK [0m] Created slice System Slice. [[0;32m OK [0m] Listening on Journal Socket. Mounting POSIX Message Queue File System... [[0;32m OK [0m] Listening on udev Kernel Socket. [[0;32m OK [0m] Listening on udev Control Socket. Starting udev Coldplug all Devices... [[0;32m OK [0m] Created slice system-serial\x2dgetty.slice. Starting Set the console keyboard layout... [[0;32m OK [0m] Listening on fsck to fsckd communication Socket. Starting Nameserver information manager... Starting Restore / save the current clock... [[0;32m OK [0m] Listening on Syslog Socket. [[0;32m OK [0m] Started Dispatch Password Requests to Console Directory Watch. [[0;32m OK [0m] Reached target Local Encrypted Volumes. [[0;32m OK [0m] Listening on Journal Audit Socket. Starting Remount Root and Kernel File Systems... Mounting Kernel Debug File System... Starting Load Kernel Modules... [[0;32m OK [0m] Listening on Journal Socket (/dev/log). Starting Journal Service... [[0;32m OK [0m] Created slice User and Session Slice. [[0;32m OK [0m] Reached target Slices. [[0;32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe. [[0;32m OK [0m] Reached target Remote File Systems. Starting Create list of required stce nodes for the current kernel... [[0;32m OK [0m] Mounted POSIX Message Queue File System. [[0;32m OK [0m] Started Restore / save the current clock. [[0;32m OK [0m] Started Remount Root and Kernel File Systems. [[0;32m OK [0m] Mounted Kernel Debug File System. [[0;32m OK [0m] Started Load Kernel Modules. [[0;32m OK [0m] Started Create list of required stavice nodes for the current kernel. [[0;32m OK [0m] Started Nameserver information manager. [[0;32m OK [0m] Reached target Network (Pre). Starting Create Static Device Nodes in /dev... Mounting Kernel Configuration File System... Starting Apply Kernel Variables... Starting Load/Save Random Seed... [[0;32m OK [0m] Mounted Kernel Configuration File System. [[0;32m OK [0m] Started Journal Service. Starting Flush Journal to Persistent Storage... [[0;32m OK [0m] Started Create Static Device Nodes in /dev. [[0;32m OK [0m] Started Apply Kernel Variables. [[0;32m OK [0m] Started Load/Save Random Seed. Starting udev Kernel Device Manager... [[0;32m OK [0m] Started udev Coldplug all Devices. [[0;32m OK [0m] Started Flush Journal to Persistent Storage. [[0;32m OK [0m] Started Set the console keyboard layout. [[0;32m OK [0m] Reached target Local File Systems (Pre). Mounting /tmp... [[0;32m OK [0m] Mounted /tmp. [[0;32m OK [0m] Started udev Kernel Device Manager. [[0;32m OK [0m] Reached target Local File Systems. Starting Raise network interfaces... Starting Set console font and keymap... Starting Armbian ZRAM config... Starting Create Volatile Files and Directories... [[0;32m OK [0m] Started Set console font and keymap. [[0;32m OK [0m] Started Create Volatile Files and Directories. Starting Network Name Resolution... [[0;32m OK [0m] Started Entropy daemon using the HAVEGE algorithm. Starting Update UTMP about System Boot/Shutdown... [[0;32m OK [0m] Found device /dev/ttyGS0. [[0;32m OK [0m] Started Update UTMP about System Boot/Shutdown. [[0;32m OK [0m] Found device /dev/ttyS0. [ 9.608348] lima 1c40000.gpu: IRQ ppmmu2 not found [ 9.613268] lima 1c40000.gpu: IRQ ppmmu3 not found [ 9.618413] lima 1c40000.gpu: IRQ pp2 not found [ 9.623062] lima 1c40000.gpu: IRQ pp3 not found [[0;32m OK [0m] Started Network Name Resolution. [[0;32m OK [0m] Reached target Host and Network Name Lookups. [[0;32m OK [0m] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Starting Load/Save RF Kill Switch Status... [[0;32m OK [0m] Started Load/Save RF Kill Switch Status. [[0;32m OK [0m] Started Raise network interfaces. [[0;32m OK [0m] Started Armbian ZRAM config. Starting Armbian memory supported logging... [[0;32m OK [0m] Started Armbian memory supported logging. [[0;32m OK [0m] Reached target System Initialization. [[0;32m OK [0m] Listening on D-Bus System Message Bus Socket. [[0;32m OK [0m] Reached target Sockets. [[0;32m OK [0m] Started Message of the Day. Starting Armbian filesystem resize... [[0;32m OK [0m] Started Daily apt download activities. [[0;32m OK [0m] Started Daily apt upgrade and clean activities. Starting Armbian hardware optimization... Starting Armbian hardware monitoring... [[0;32m OK [0m] Started resolvconf-pull-resolved.path. [[0;32m OK [0m] Reached target Paths. [[0;32m OK [0m] Started Daily Cleanup of Temporary Directories. [[0;32m OK [0m] Started Discard unused blocks once a week. [[0;32m OK [0m] Reached target Timers. [[0;32m OK [0m] Started Armbian hardware optimization. [[0;32m OK [0m] Started Armbian hardware monitoring. [[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (11s / 6min 4s) [K[[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (11s / 6min 4s) [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (12s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (13s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (13s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] A start job is running for Armbian filesystem resize (14s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m] A start job is running for Armbian filesystem resize (14s / 6min 4s) [K[ [0;31m*[0m] A start job is running for Armbian filesystem resize (15s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m] A start job is running for Armbian filesystem resize (16s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] A start job is running for Armbian filesystem resize (16s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (17s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (17s / 6min 4s) [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (18s / 6min 4s) [K[[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (19s / 6min 4s) [K[[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (19s / 6min 4s) [K[[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (20s / 6min 4s) [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (20s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (21s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (22s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] A start job is running for Armbian filesystem resize (22s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m] A start job is running for Armbian filesystem resize (23s / 6min 4s) [K[ [0;31m*[0m] A start job is running for Armbian filesystem resize (23s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m] A start job is running for Armbian filesystem resize (24s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] A start job is running for Armbian filesystem resize (25s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (25s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (26s / 6min 4s) [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (26s / 6min 4s) [K[[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (27s / 6min 4s) [K[[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (28s / 6min 4s) [K[[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (28s / 6min 4s) [K[[0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (29s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (29s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m* [0m] A start job is running for Armbian filesystem resize (30s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m[0;31m*[0m] A start job is running for Armbian filesystem resize (31s / 6min 4s) [K[ [0;31m*[0;1;31m*[0m] A start job is running for Armbian filesystem resize (31s / 6min 4s) [K[[0;32m OK [0m] Started Armbian filesystem resize. [[0;32m OK [0m] Reached target Basic System. Starting resolvconf-pull-resolved.service... Starting rng-tools.service... [[0;32m OK [0m] Started Armbian first run tasks. Starting Dispatcher daemon for systemd-networkd... Starting System Logging Service... Starting LSB: Load kernel modules needed to enable cpufreq scaling... [[0;32m OK [0m] Started Regular background program processing daemon. Starting Login Service... [[0;32m OK [0m] Started D-Bus System Message Bus. Starting WPA supplicant... Starting Network Manager... Starting Resets System Activity Data Collector... [[0;32m OK [0m] Started System Logging Service. [[0;32m OK [0m] Started resolvconf-pull-resolved.service. [[0;32m OK [0m] Started rng-tools.service. [[0;32m OK [0m] Started Resets System Activity Data Collector. [[0;32m OK [0m] Started Login Service. [[0;32m OK [0m] Started WPA supplicant. [[0;32m OK [0m] Started LSB: Load kernel modules needed to enable cpufreq scaling. Starting LSB: set CPUFreq kernel parameters... [[0;32m OK [0m] Started LSB: set CPUFreq kernel parameters. Starting LSB: Set sysfs variables from /etc/sysfs.conf... [[0;32m OK [0m] Started LSB: Set sysfs variables from /etc/sysfs.conf. Starting Hostname Service... [[0;32m OK [0m] Started Hostname Service. [[0;32m OK [0m] Started Network Manager. Starting Network Manager Wait Online... [[0;32m OK [0m] Reached target Network. [[0;32m OK [0m] Started Unattended Upgrades Shutdown. Starting chrony, an NTP client/server... Starting OpenBSD Secure Shell server... Starting Permit User Sessions... [[0;32m OK [0m] Started Permit User Sessions. Starting Set console scheme... Starting Network Manager Script Dispatcher Service... [[0;32m OK [0m] Started Set console scheme. [[0;32m OK [0m] Created slice system-getty.slice. [[0;32m OK [0m] Started Network Manager Script Dispatcher Service. [[0;32m OK [0m] Started chrony, an NTP client/server. [[0;32m OK [0m] Started Dispatcher daemon for systemd-networkd. [[0;32m OK [0m] Started OpenBSD Secure Shell server. Starting Authorization Manager... [[0;32m OK [0m] Started Authorization Manager. [ [0;31m*[0m] A start job is running for Network nager Wait Online (39s / no limit) [K[[0;32m OK [0m] Started Network Manager Wait Online. [[0;32m OK [0m] Reached target Network is Online. Starting /etc/rc.local Compatibility... Starting LSB: Advanced IEEE 802.11 management daemon... [[0;32m OK [0m] Started /etc/rc.local Compatibility. [[0;32m OK [0m] Started LSB: Advanced IEEE 802.11 management daemon. [[0;32m OK [0m] Started Serial Getty on ttyS0. [[0;32m OK [0m] Started Getty on tty1. [[0;32m OK [0m] Started Serial Getty on ttyGS0. [[0;32m OK [0m] Reached target Login Prompts. [[0;32m OK [0m] Reached target Multi-User System. [[0;32m OK [0m] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [[0;32m OK [0m] Started Update UTMP about System Runlevel Changes. Armbian 20.02.1 Bionic ttyS0 orangepizero login: --- (created acount etc) --- root@orangepizero:~# shutdown -h now Stopping Authorization Manager... [ OK ] Stopped Stopping Session 1 of user root. [ OK ] Stopped Message of the Day. Stopping User Manager for UID 0... [ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Stopped target Graphical Interface. [ OK ] Stopped target Multi-User System. Stopping Unattended Upgrades Shutdown... Stopping LSB: Set sysfs variables from /etc/sysfs.conf... Stopping OpenBSD Secure Shell server... Stopping chrony, an NTP client/server... Stopping System Logging Service... Stopping LSB: Advanced IEEE 802.11 management daemon... Stopping rng-tools.service... Stopping Dispatcher daemon for systemd-networkd... Stopping Regular background program processing daemon... [ OK ] Stopped Daily apt upgrade and clean activities. [ OK ] Stopped Daily Cleanup of Temporary Directories. [ OK ] Stopped Daily apt download activities. [ OK ] Stopped target System Time Synchronized. [ OK ] Stopped target Login Prompts. Stopping Serial Getty on ttyGS0... Stopping Serial Getty on ttyS0... [ OK ] Stopped Resets System Activity Data Collector. Stopping Getty on tty1... [ OK ] Stopped Dispatcher daemon for systemd-networkd. [ OK ] Stopped System Logging Service. [ OK ] Stopped Regular background program processing daemon. [ OK ] Stopped Unattended Upgrades Shutdown. [ OK ] Stopped chrony, an NTP client/server. [ OK ] Stopped Authorization Manager. [ OK ] Stopped Getty on tty1. [ OK ] Stopped Serial Getty on ttyGS0. [ OK ] Stopped OpenBSD Secure Shell server. [ OK ] Stopped Serial Getty on ttyS0. [ OK ] Stopped User Manager for UID 0. [ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon. [ OK ] Stopped Session 1 of user root. [ OK ] Removed slice User Slice of root. [ OK ] Removed slice system-serial\x2dgetty.slice. [ OK ] Stopped /etc/rc.local Compatibility. [ OK ] Stopped target Network is Online. [ OK ] Stopped Network Manager Wait Online. Stopping Permit User Sessions... [ OK ] Removed slice system-getty.slice. [ OK ] Stopped Armbian first run tasks. Stopping Login Service... [ OK ] Stopped Login Service. [ OK ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf. [ OK ] Stopped Permit User Sessions. [ OK ] Stopped target Network. Stopping WPA supplicant... Stopping Raise network interfaces... Stopping Network Name Resolution... Stopping Network Manager... Stopping LSB: set CPUFreq kernel parameters... [ OK ] Stopped Network Name Resolution. [ OK ] Stopped LSB: set CPUFreq kernel parameters. Stopping LSB: Load kernel modules needed to enable cpufreq scaling... [ OK ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling. [ OK ] Stopped WPA supplicant. [ OK ] Stopped Raise network interfaces. [ OK ] Stopped Network Manager. Stopping D-Bus System Message Bus... [ OK ] Stopped target Network (Pre). [ OK ] Stopped D-Bus System Message Bus. [ OK ] Stopped rng-tools.service. [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Basic System. [ OK ] Stopped target Sockets. [ OK ] Closed Syslog Socket. [ OK ] Closed D-Bus System Message Bus Socket. [ OK ] Stopped target Paths. [ OK ] Stopped resolvconf-pull-resolved.path. [ OK ] Stopped target System Initialization. Stopping Armbian memory supported logging... Stopping Entropy daemon using the HAVEGE algorithm... Stopping Update UTMP about System Boot/Shutdown... Stopping Restore / save the current clock... [ OK ] Stopped Apply Kernel Variables. [ OK ] Stopped Load Kernel Modules. [ OK ] Stopped target Local Encrypted Volumes. [ OK ] Stopped Forward Password Requests to Wall Directory Watch. [ OK ] Stopped Dispatch Password Requests to Console Directory Watch. [ OK ] Stopped target Slices. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped Entropy daemon using the HAVEGE algorithm. [ OK ] Stopped Restore / save the current clock. Stopping Load/Save Random Seed... [ OK ] Stopped Update UTMP about System Boot/Shutdown. [ OK ] Unmounted /var/log. [ OK ] Unmounted /var/log.hdd. [ OK ] Stopped Armbian memory supported logging. [ OK ] Stopped Load/Save Random Seed. Stopping Armbian ZRAM config... [ OK ] Stopped Create Volatile Files and Directories. [ OK ] Stopped Armbian ZRAM config. [ OK ] Stopped target Local File Systems. Unmounting /tmp... Unmounting /run/user/0... [ OK ] Unmounted /tmp. [ OK ] Unmounted /run/user/0. [ OK ] Stopped target Swap. Deactivating swap /dev/zram1... [ OK ] Stopped target Local File Systems (Pre). [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Stopped Create Static Device Nodes in /dev. [ OK ] Reached target Shutdown. [ OK ] Deactivated swap /dev/zram1. [ OK ] Reached target Unmount All Filesystems. [ OK ] Reached target Final Step. Starting Power-Off... [ 1026.885689] dwmac-sun8i 1c30000.ethernet: Shutting down [ 1026.891468] reboot: System halted
  7. Hello, We are using Orange Pi Zero with Armbian Bionic with Linux 5.4.20-sunxi armv7l GNU/Linux we are facing a problem, our orange pi heats up some time during processing and then freezes. We can ping the devices, but ssh stops working and all the application don't respond We followed the suggestion in thread: https://forum.armbian.com/topic/7848-mysterious-freeze-and-overheat-of-orange-pi-zero/?ct=1587196371&_fromLogin=1 But output of "armbianmonitor -m" is as below Stop monitoring using [ctrl]-[c] Time CPU load %cpu %sys %usr %nice %io %irq CPU C.St. 11:19:37: 1008MHz 0.18 6% 1% 4% 0% 0% 0% 76.4°C 0/4 11:19:42: 1008MHz 0.17 3% 0% 2% 0% 0% 0% 75.1°C 0/4 11:19:47: 1008MHz 0.15 3% 1% 2% 0% 0% 0% 75.2°C 0/4 11:19:52: 1008MHz 0.14 4% 1% 2% 0% 0% 0% 74.8°C 0/4 11:19:57: 1008MHz 0.13 3% 0% 2% 0% 0% 0% 75.3°C 0/4 11:20:02: 480MHz 0.12 4% 1% 2% 0% 0% 0% 75.7°C 0/4 11:20:08: 1008MHz 0.11 14% 3% 10% 0% 0% 0% 74.8°C 0/4 11:20:13: 1008MHz 0.18 15% 1% 13% 0% 0% 0% 78.7°C 0/4 11:20:18: 1008MHz 0.41 13% 3% 9% 0% 0% 0% 79.1°C 0/4 11:20:23: 480MHz 0.37 21% 5% 15% 0% 0% 0% 76.8°C 0/4 11:20:28: 1008MHz 0.34 5% 1% 3% 0% 0% 0% 75.0°C 0/4 11:20:33: 1008MHz 0.32 4% 1% 3% 0% 0% 0% 74.5°C 0/4^C As you can see there is a flip in frequency for a very short time, not enough to cool the CPU Also the content of /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate is 200000 So what could be the reason that the device freezes. Thanks,
  8. How can we create a custom image of Armbian Bionic/Buster for Orange Pi Zero with our customized application/code in it. Please suggest process for the same.
  9. Armbianmonitor: http://ix.io/2g5I I recently started playing around with OrangePi Zero with the Allwinner H2+ CPU. I want to test out the internal audio DAC. To do so I enabled "analog-coded" in armbian-config. After rebooting I saw a new audio device in the output of "pacmd list-cards", but it says that only mono is available. How can I configure stereo sound? I haven't played around with "/etc/asound.conf" much as I don't understand it. Also, I don't have anything plugged into the audio pins on the GPIO.
  10. Hi! New to the forums, this is my first post. I've been trying out some of the pre-built Armbian images on my Orange Pi Zero to get a taste for the OS and it's perfect for my purposes, however I've noticed something odd about the current mainline images that's possibly a small oversight. I browsed the forums before posting and noticed that TV Out functionality has been disabled by default on H3-based boards due to an interference with HDMI output on mainline, which is naturally understandable. There's only one small problem - the same patch has been applied to H2+ boards which lack an HDMI Out altogether. I've explored the image currently provided (the latest Buster/mainline download) and noticed that it too is set to output to HDMI which isn't on the board and isn't supported by the SoC. As such, the board can only operate as headless when those pre-built images are used, which is naturally less than ideal. There *was* a patch available that solved this issue on mainline, however it's rather old, no longer maintained and doesn't work on the latest builds. I'm currently compiling my own image based on the legacy kernel which apparently still supports TV Out by default, but I wanted to ask if it'd be possible for me to adjust the configuration of the current images to simply enable it on what's readily available. I did check /boot/ in search of Script.bin, but the file was not available and armbianEnv.txt doesn't seem to give me the option to change modes, and even if it did, it probably wouldn't change things if the output is disabled altogether. Do you have any advice? I'd very much like to use the latest kernel rather than the legacy one, if possible.
  11. I am trying to get a DS18B20 working on an OrangePi zero running Armbian. The DS18B20 has a pull-up resistor and works on a Raspberry Pi, and is connected to PA10, +5V and Gnd. I have modified /etc/modules-load.d/modules.conf thus: g_serial w1-sunxi w1-gpio w1-therm I have modified /etc/default/cpufrequtils thus: ENABLE=true MIN_SPEED=480000 MAX_SPEED=1200000 GOVERNOR=interactive After a reboot, dmesg looks like this: [ 8.970765] g_serial gadget: Gadget Serial v2.4 [ 8.970777] g_serial gadget: g_serial ready [ 8.995601] Driver for 1-wire Dallas network protocol. [ 9.083869] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro Note the absence of anything like "[8.xxxxx] W1_SUNXI: Added w1-gpio on GPIO-10", and when I look in /sys/bus/w1/devices, there is nothing there. I ran armbianmonitor -u, and the output is at http://ix.io/1lNv. lsmod shows me this: w1_therm 16384 0 w1_gpio 16384 0 wire 20480 2 w1_gpio,w1_therm
  12. Hello, I am using OrangePi Zero v1.1 board with 512MB DRAM and 8GB Class4 microSD card. I am trying to flash Ubuntu 18.04 LTS downloaded from Armbian site .. Everything goes well till the login point and then suddenly nothing moves. PS - USB adapter 5V, 1.6 Amp rating FTDI converter std. connected to UART of the board. Heatsink mounted on top of the IC. Please Help resolve the possible issue. Thanks !! Rajat Below is the boot up process as captured. U-Boot SPL 2019.04-armbian (Nov 18 2019 - 23:36:05 +0100) DRAM: 512 MiB Trying to boot from MMC1 U-Boot 2019.04-armbian (Nov 18 2019 - 23:36:05 +0100) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Zero DRAM: 512 MiB MMC: mmc@1c0f000: 0, mmc@1c10000: 1 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 USB4: USB EHCI 1.00 USB5: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found scanning bus 4 for devices... 1 USB Device(s) found scanning bus 5 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3798 bytes read in 3 ms (1.2 MiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 230 bytes read in 2 ms (112.3 KiB/s) 8637198 bytes read in 666 ms (12.4 MiB/s) 7644632 bytes read in 590 ms (12.4 MiB/s) Found mainline kernel configuration 28681 bytes read in 12 ms (2.3 MiB/s) 504 bytes read in 6 ms (82 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo 504 bytes read in 4 ms (123 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost3.dtbo 4155 bytes read in 4 ms (1013.7 KiB/s) Applying kernel provided DT fixup script (sun8i-h3-fixup.scr) ## Executing script at 44000000 ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 8637134 Bytes = 8.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 EHCI failed to shut down host controller. Loading Ramdisk to 497c3000, end 49ffface ... OK Loading Device Tree to 49753000, end 497c2fff ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Loading, please wait... starting version 237 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.31.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: recovering journal /dev/mmcblk0p1: clean, 62595/430592 files, 349924/1900544 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Ubuntu 18.04.3 LTS! [ OK ] Reached target System Time Synchronized. [ OK ] Created slice User and Session Slice. [ OK ] Created slice System Slice. [ OK ] Reached target Slices. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on Journal Socket. Starting Set the console keyboard layout... Mounting Kernel Debug File System... Starting Load Kernel Modules... [ OK ] Set up automount Arbitrary Executab…rmats File System Automount Point. [ OK ] Reached target Swap. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Created slice system-serial\x2dgetty.slice. Starting Restore / save the current clock... [ OK ] Started Forward Password Requests to Wall Directory Watch. [ OK ] Reached target Local Encrypted Volumes. [ OK ] Listening on Journal Audit Socket. [ OK ] Listening on fsck to fsckd communication Socket. Starting Remount Root and Kernel File Systems... [ OK ] Reached target Remote File Systems. [ OK ] Listening on Syslog Socket. [ OK ] Listening on Journal Socket (/dev/log). Starting Journal Service... [ OK ] Listening on udev Control Socket. Starting udev Coldplug all Devices... Starting Create list of required st…ce nodes for the current kernel... Starting Nameserver information manager... Mounting POSIX Message Queue File System... [ OK ] Mounted Kernel Debug File System. [ OK ] Started Load Kernel Modules. [ OK ] Started Restore / save the current clock. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Create list of required sta…vice nodes for the current kernel. [ OK ] Mounted POSIX Message Queue File System. Starting Create Static Device Nodes in /dev... Starting Load/Save Random Seed... Starting Apply Kernel Variables... Mounting Kernel Configuration File System... [ OK ] Started Nameserver information manager. [ OK ] Reached target Network (Pre). [ OK ] Started Journal Service. [ OK ] Started Load/Save Random Seed. [ OK ] Mounted Kernel Configuration File System. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Apply Kernel Variables. Starting udev Kernel Device Manager... Starting Flush Journal to Persistent Storage... [ OK ] Started Set the console keyboard layout. [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started udev Coldplug all Devices. [ OK ] Mounted /tmp. [ OK ] Started udev Kernel Device Manager. [ OK ] Found device /dev/ttyGS0. [ OK ] Reached target Local File Systems. Starting Raise network interfaces... Starting Armbian ZRAM config... Starting Set console font and keymap... Starting Create Volatile Files and Directories... [ OK ] Started Set console font and keymap. [ OK ] Started Create Volatile Files and Directories. Starting Network Name Resolution... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Entropy daemon using the HAVEGE algorithm. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Found device /dev/ttyS0. [ OK ] Started Network Name Resolution. [ OK d clean activities. [ OK ] Started Message of the Day. Starting Armbian hardware optimization... [ OK ] Started Discard unused blocks once a week. [ OK ] Reached target Timers. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Started resolvconf-pull-resolved.path. [ OK ] Reached target Paths. [ OK ] Started Armbian hardware monitoring. [ OK ] Started Armbian hardware optimization. [ OK ] Reached target Basic System. Starting Resets System Activity Data Collector... Starting Dispatcher daemon for systemd-networkd... Starting rng-tools.service... Starting Login Service... [ OK ] Started D-Bus System Message Bus. [ OK ] Started Login Service. Starting WPA supplicant... Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting Network Manager... Starting resolvconf-pull-resolved.service... Starting System Logging Service... [ OK ] Started Regular background program processing daemon. [ OK ] Started Resets System Activity Data Collector. [ OK ] Started rng-tools.service. [ OK ] Started WPA supplicant. [ OK ] Started System Logging Service. [ OK ] Started resolvconf-pull-resolved.service. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. Starting LSB: set CPUFreq kernel parameters... [ OK ] Started LSB: set CPUFreq kernel parameters. Starting LSB: Set sysfs variables from /etc/sysfs.conf... [ OK ] Started LSB: Set sysfs variables from /etc/sysfs.conf. Starting Hostname Service... [ OK ] Started Hostname Service. [ OK ] Started Network Manager. [ OK ] Reached target Network. Starting chrony, an NTP client/server... Starting OpenBSD Secure Shell server... [ OK ] Started Unattended Upgrades Shutdown. Starting Permit User Sessions... Starting Network Manager Wait Online... [ OK ] Started Permit User Sessions. Starting Network Manager Script Dispatcher Service... Starting Set console scheme... [ OK ] Started Set console scheme. [ OK ] Created slice system-getty.slice. [ OK ] Started Network Manager Script Dispatcher Service. [ OK ] Started chrony, an NTP client/server. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Started Dispatcher daemon for systemd-networkd. Starting Authorization Manager... [ OK ] Started Authorization Manager. [ OK ] Started Network Manager Wait Online. [ OK ] Reached target Network is Online. Starting /etc/rc.local Compatibility... Starting LSB: Advanced IEEE 802.11 management daemon... [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started LSB: Advanced IEEE 802.11 management daemon. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Serial Getty on ttyGS0. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Armbian 19.11.3 Bionic ttyS0 bcil login:
  13. Hi team, I am trying to get a voltage drop (3.3V to about 0V) detected on a GPIO pin on my OrangePi Zero running Armbian buster 20.02.1 with Linux 5.4.31-sunxi. I have another OrangePi Zero on which I have already managed to install I2C OLED screen, and the i2cdetect was working, and so on... For this one, I got a problem with the gpio group not existing. As I tried to install OPi.GPIO, I got usermod: group 'gpio' does not exist It's an Armbian version that I downloaded yesterday, and upgraded today with armbian-config. So... What did I do the wrong way? Thanks.
  14. Hello, please tell me how I can configure the processor on my Orange Pi Zero to the maximum frequency and voltage, as well as how to do SWAP and register it at startup, I use active cooling radiators and a cooler, I am warned of a possible failure, thank you in advance!
  15. HI, I have a orange pi zero + with a NAS board (orange pi zero nas) with a msata ssd (kingspec 64 Gb): But armbian don't releave msata device, because with fdisk command I have: fdisk -l Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/mmcblk0: 14.6 GiB, 15653142528 bytes, 30572544 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x41b78b57 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 30266815 30258624 14.4G 83 Linux Disk /dev/zram0: 50 MiB, 52428800 bytes, 12800 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/zram1: 119.1 MiB, 124911616 bytes, 30496 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes How I can to do for resolve my problem ?
  16. I recently started playing around with OrangePi Zero with the Allwinner H2+ CPU. I want to test out the internal audio DAC. To do so I enabled "analog-coded" in armbian-config. After rebooting I saw a new audio device in the output of "pacmd list-cards", but it says that only mono is available. How can I configure stereo sound? I haven't played around with "/etc/asound.conf" much as I don't understand it. Also, I don't have anything plugged into the audio pins on the GPIO.
  17. I'm using OPi LTS and cant change state of PA13-14-15-16 pins. I trying on fresh Armbian Bionic. Checked SPI is disabled. Trying this code for access pins: import OPi.GPIO as GPIO pin = "PA13" GPIO.cleanup() GPIO.setmode(GPIO.SUNXI) #GPIO.setwarnings(False) GPIO.setup(pin, GPIO.OUT) GPIO.output(pin, 1) and take this error altrough write in code "GPIO.cleanup()" ERROR: "UserWarning: Channel PA13 is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings." When trying "GPIO.setwarnings (False)" before change output of pin. Pin voltages when write "1" to output: PA13 -> 3V PA14 -> 3V PA15 -> 0.95V PA16 -> 3V Pin voltages when write "0" to output: PA13 -> 3V PA14 -> 2.77V PA15 -> 0.78V PA16 -> 3V How can i find problem ? What else can i do ?
  18. i did some experiments today, i tested 2 Orange pi with the same image debian buster in the lastest version. i put a script on both that reported the execution time of a function and the date, one is running smoothy, the other crashes the orange, the bottom is the log what caught exactly at the time it caught, could someone help me understand it? Mar 19 09:25:01 localhost CRON[1657]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Mar 19 09:30:01 localhost CRON[1702]: (root) CMD (/usr/lib/armbian/armbian-truncate-logs) Mar 19 09:31:52 localhost systemd[1]: Stopped target Timers. Mar 19 09:31:52 localhost systemd[1]: Stopped Message of the Day. Mar 19 09:31:52 localhost systemd[1]: Stopped Discard unused blocks once a week. Mar 19 09:31:52 localhost systemd[1]: Stopping User Manager for UID 0... Mar 19 09:31:52 localhost systemd[1]: Stopped Daily apt upgrade and clean activities. Mar 19 09:31:52 localhost systemd[1]: Stopped Daily apt download activities. Mar 19 09:31:52 localhost systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch. Mar 19 09:31:52 localhost systemd[1]: Stopping Session 2 of user root. Mar 19 09:31:52 localhost systemd[1]: Stopped target Graphical Interface. Mar 19 09:31:52 localhost systemd[1]: Stopped target Multi-User System. Mar 19 09:31:52 localhost systemd[1]: Stopped target Login Prompts. Mar 19 09:31:52 localhost systemd[1419]: Stopped target Default. Mar 19 09:31:52 localhost systemd[1419]: Stopped target Basic System. Mar 19 09:31:52 localhost systemd[1419]: Stopped target Timers. Mar 19 09:31:52 localhost systemd[1419]: Stopped target Sockets. Mar 19 09:31:52 localhost systemd[1419]: Closed GnuPG cryptographic agent (ssh-agent emulation). Mar 19 09:31:52 localhost systemd[1419]: Closed GnuPG cryptographic agent and passphrase cache. Mar 19 09:31:52 localhost systemd[1419]: Stopped target Paths. Mar 19 09:31:52 localhost systemd[1419]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers). Mar 19 09:31:52 localhost systemd[1419]: Closed GnuPG cryptographic agent and passphrase cache (restricted). Mar 19 09:31:52 localhost systemd[1419]: Closed GnuPG network certificate management daemon. Mar 19 09:31:52 localhost systemd[1419]: Reached target Shutdown. Mar 19 09:31:52 localhost systemd[1419]: Starting Exit the Session... Mar 19 09:31:52 localhost systemd[1]: Stopping Serial Getty on ttyS0... Mar 19 09:31:52 localhost systemd[1]: Stopping Getty on tty1... Mar 19 09:31:52 localhost systemd[1419]: Received SIGRTMIN+24 from PID 1731 (kill). Mar 19 09:31:52 localhost systemd[1]: Stopping Serial Getty on ttyGS0... Mar 19 09:31:52 localhost systemd[1]: Stopping Unattended Upgrades Shutdown... Mar 19 09:31:52 localhost chronyd[898]: chronyd exiting Mar 19 09:31:52 localhost systemd[1]: Stopping chrony, an NTP client/server... Mar 19 09:31:52 localhost systemd[1]: Stopping LSB: Advanced IEEE 802.11 management daemon... Mar 19 09:31:52 localhost systemd[1]: Stopped Resets System Activity Data Collector. this is the file that kept running and this is the one that caught
  19. Hi all, I want to set my Pi with specified hostname. I checked successful when cat /etc/hostname. Howerver, when I am using a Advanced IP Scanner to scan all the network, it just show the IP without the hostname while others raspberry boards have displayed as my attached image below. Thanks!
  20. Hi all. I have problem with SPI on my board . I find solution but I want to know why .. On first : Linux orangepizero 5.4.20-sunxi #20.02.1 SMP Mon Feb 17 02:09:41 CET 2020 armv7l armv7l armv7l GNU/Linux If go to armbian-config and enable SpiDev .. then reboot not find SPI device on my dev tree .. if look to armbianEnv.txt there is spi-spidev but on dev tree no SPI device .. My solution is this : on /boot/dtb/overlay is file sun8i-h3-spi-spidev.dtbo , decompile it and there is this text : /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target-path = "/aliases"; __overlay__ { spi0 = "/soc/spi@01c68000"; spi1 = "/soc/spi@01c69000"; }; }; fragment@1 { target = <&spi0>; __overlay__ { #address-cells = <1>; #size-cells = <0>; spidev { compatible = "spidev"; status = "disabled"; reg = <0>; spi-max-frequency = <1000000>; }; }; }; fragment@2 { target = <&spi1>; __overlay__ { #address-cells = <1>; #size-cells = <0>; spidev { compatible = "spidev"; status = "disabled"; reg = <0>; spi-max-frequency = <1000000>; }; }; }; }; I don't know why but if change text to this : /dts-v1/; // magic: 0xd00dfeed // totalsize: 0x314 (788) // off_dt_struct: 0x38 // off_dt_strings: 0x2b4 // off_mem_rsvmap: 0x28 // version: 17 // last_comp_version: 16 // boot_cpuid_phys: 0x0 // size_dt_strings: 0x60 // size_dt_struct: 0x27c / { compatible = "allwinner,sun8i-h3"; fragment@0 { target-path = "/aliases"; __overlay__ { spi0 = "/soc/spi@1c68000"; spi1 = "/soc/spi@1c69000"; }; }; fragment@1 { target = <0xffffffff>; __overlay__ { status = "okay"; #address-cells = <0x00000001>; #size-cells = <0x00000000>; spidev@0 { compatible = "spidev"; reg = <0x00000000>; spi-max-frequency = <0x000f4240>; }; }; }; fragment@2 { target = <0xffffffff>; __overlay__ { status = "okay"; #address-cells = <0x00000001>; #size-cells = <0x00000000>; spidev@0 { compatible = "spidev"; reg = <0x00000000>; spi-max-frequency = <0x000f4240>; }; }; }; __fixups__ { spi0 = "/fragment@1:target:0"; spi1 = "/fragment@2:target:0"; }; }; and recompile then all working .. on my dev tree I see two devices: crw-rw---- 1 root spidev 153, 0 Mar 8 16:55 /dev/spidev0.0 crw-rw---- 1 root spidev 153, 1 Mar 8 16:55 /dev/spidev1.0 I test it on my Osciloscope and see signal , then I connect MISO wit MOSI and make test with spidev-test and work .. now I connect real SPI device (any radio nRF24L01 or similar .. and try real test.. question is why I must do this ??? what is wrong?? best regards..
  21. Hi everyone, I have a problem when work on OPi zero wifi which is running Armbian linux sunxi 4.19.62. I used nmtui to configure wifi connection with static ip. It works fine even rebooting or re-powering up however I tried to power off the router and the result is it has never reconnected again. Next, I plugged in the ethernet cable into RJ45 port, the connection is established. I use sudo ifconfig to show the information, I saw that both the wifi (static) and ethernet are correctly then I can access via ssh or scanning the ip. One again, I continued plugging out the ethernet cable, all connections were disappeared even wifi and connection via ssh is failed. Is there anyone face on this issue? Giving me some help, please.
  22. I want to drive 2 SPI devices on my orangepi zero. I enabled `spi-spidev` and `spi-add-cs1` overlays and set `param_spidev_spi_bus` to 1. But by I still get only `/dev/spi1.0` available. When I add `param_spidev_spi_cs=1`, I get `/dev/spi1.1` but `/dev/spi1.0` disappears. Do I see it correctly that I can choose *either* `/dev/spi1.0` *or* `/dev/spi1.1` but not both with that overlay? How can I activate both cs pins? There are a bunch of example custom files out there, but none are meant specifically for the setup where I need spi1 (instead of spi0) and need to use a GPIO pin for cs1. And I can't really find any docs on how to write my own overlay. So any help is appreciated.
  23. Hi, I have Orange Pi Zero v1.5 with Armbian Buster (mainline kernel 5.4.y) and I would like to use the serial_rs485 struct from user-level. It is possible?
  24. Hi everyone, I am using an OrangePi Zero with AllWinner H2+ and I need to catch UART1_TX and UART1_RX interrupts. I have been reading the Allwinner H2+ datasheet (http://wiki.friendlyarm.com/wiki/images/0/08/Allwinner_H2%2B_Datasheet_V1.2.pdf) and I have seen that UART1 interrupts are mented on PG_EINT (section 4.22.2.46) and UART Register Description (section 8.3.5) - I have no clear which registers I should configure to detect the UART1 interrupts, and how to do it. For example, for detecting Received data available, I think I should: - Enable the ERBFI bit in UART_IER register - Check IID field in UART_IIR to detect Received Data Available interrupt. - Get the data received on UART_RBR That's correct? How could I achieve this? I am very new on linux. Kind Regards and thanks in advance, Rafa
  25. Hello, I tried to install as instruction in this link https://github.com/stdevPavelmc/armbian-hostpot-bridge to convert my orange pi zero to a hotspot bridge, connected to LAN and wifi to my home under Pi-Hole application to block ads Howeverm after i call up the bridge ifup br0 the network is not running, i cannot connect to the PI again. Pi-Hole installed on the LAN interface. The content of the interfaces file # loopback interface auto lo iface lo inet loopback # wireless wlan0 allow-hotplug wlan0 iface wlan0 inet manual # eth0 connected to the ISP router allow-hotplug eth0 iface eth0 inet manual # Setup bridge allow-hotplug br0 iface br0 inet dhcp bridge_ports wlan0 eth0 Please help me
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines