Jump to content

Search the Community

Showing results for tags 'orangepipc2'.

  • 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

Product Groups

  • Misc
  • Support

Categories

  • Armbian
  • Armbian releases

Categories

  • Volunteering opportunities

Calendars

  • Community Calendar

Categories

  • Members

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. Hello everyone :-). I would like help, I checked on the Web and I found using the forum a script (that I modified) to trigger using DTS LEDs. I adapted the script found here at the end of the page: Topic 112-dtb-howto-add-leds I think that for the section "disk-activity" and "netdev" it misses options but I'm not a developer just a scheming. Can you please explain to me how to add options to the mentioned trigger? I searched a lot of time but did not find any information. Here is my script, everything works fine (compiled with armbian-add-overlay), but "disk-activity" and "netdev" do not work. I tested the write / read trigger on disk but did not work either. Can you explain to me how to add the (device) options for disk-activity (with usb-nand-sata on / dev / sda) and netdev (for eth0)? thank you for the one who can help me to understand or to work this script. My card is OrangePi PC2 H5 1GB Sorry for bad english, my mother language is french. (this message is translatted in english from french) here is my script: /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h5"; fragment@0 { target = <&pio>; __overlay__ { gpio_pin: gpio_pin { pins = "PA19","PA7","PA8","PA9","PA10","PD11","PA6","PA1","PA0","PA3"; function = "gpio_out"; }; }; }; fragment@1 { target-path = "/"; __overlay__ { gpiopull: gpiopull { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 = <&gpio_pin>; status = "okay"; gpio_out_19 { label = "P19:orange:wifiRx"; gpios = <&pio 0 19 0>; linux,default-trigger = "phy0rx"; }; gpio_out_7 { label = "P7:red:wifiTX"; gpios = <&pio 0 7 0>; default-state = "om"; linux,default-trigger = "phy0tx"; }; gpio_out_8 { label = "P8:orange:wifiConnect"; gpios = <&pio 0 8 0>; linux,default-trigger = "phy0assoc"; }; gpio_out_9 { label = "P9:green:wifiDetectUSB"; gpios = <&pio 0 9 0>; linux,default-trigger = "phy0radio"; }; gpio_out_10 { label = "P10:blue:cpuOnline"; gpios = <&pio 0 10 0>; linux,default-trigger = "cpu"; }; gpio_out_11 { label = "P11:white:Act"; gpios = <&pio 3 11 0>; linux,default-trigger = "activity"; }; gpio_out_0 { label = "P0:mmc0"; gpios = <&pio 0 0 0>; linux,default-trigger = "mmc0"; }; gpio_out_1 { label = "P1:disk-activity"; gpios = <&pio 0 1 0>; linux,default-trigger = "disk-activity"; }; gpio_out_3 { label = "P3:etherLink1gbps"; gpios = <&pio 0 3 0>; linux,default-trigger = "0.2:01:1Gbps"; }; gpio_out_6 { label = "P6:cpuled"; gpios = <&pio 0 6 0>; linux,default-trigger = "netdev"; }; }; }; }; }; addDTBTest2.dts
  2. Recently I borrowed my Orange Pi PC2 to a friend, and he fails to set up SSH connection w/ it. After debugging w/ HDMI monitor, I found ssh_host_ecdsa_key, ssh_host_ed25519_key and ssh_host_rsa_key are preloaded to the Orange Pi PC2 image, which prevented SSH from working. Even if it doesn't prevent working of SSHD, it's also a severe security hole -- that means all Armbian installation with the same image will uses the same host key and they're vulnerable to MITM attack. I think these files should be purged when generating image, and regenerated when first powerup. It's what AOSC OS images do.
  3. Hello! How to enable 1-Wire Dallas? I tried this: vi /boot/armbianEnv.txt ----------------------------------------------------- overlays=w1-gpio param_w1_pin=PA10 param_w1_pin_int_pullup=1 ----------------------------------------------------- Then I saw /sys/bus/w1/devices 00-400000000000 -> ../../../devices/w1_bus_master1/00-400000000000/ 00-800000000000 -> ../../../devices/w1_bus_master1/00-800000000000/ w1_bus_master1 -> ../../../devices/w1_bus_master1/ But there was not data. I tried this: vi /etc/modules ----------------------------------------------------- g_serial w1-sunxi w1-gpio w1-therm ----------------------------------------------------- ..and I even saw this: lsmod | grep w1 w1_therm 16384 0 w1_gpio 16384 0 wire 28672 2 w1_gpio,w1_therm But with no effect. May you help to understand what's wrong? Kind regards, Ellad
  4. Hi When I run `cat /proc/cpuinfo`, the Features line shows the following features Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid But doesn't the H5 support neon and vfpv4? Anyone know why they aren't shown? Thanks $ cat /proc/cpuinfo processor : 0 Processor : AArch64 Processor rev 4 (aarch64) Hardware : sun50iw1p1 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4
  5. Hi, I'm a new user to SBC and is thinking of buy an orange pi pc 2. Since it has a Mali450 GPU and the manufacturer claims that this SBC support OpenGL, can I use that to play some open source games like 0.A.D on armbian? Is armbian have mali gpu drivers installed? Thanks.
  6. Hello, guys. I need help, don`t know what is going on. Yesterday two of my device`s (orange pi PC2) was rebooted by themselves. At different times, in separate areas. In log files I see fact of reboot but don`t see the reason. Temperature was in OK. Power adapter and micro SD card, which I use, in attachment. What should I pay attention? Can it be the reason is unattended upgrades or some armbian cron process? Environment: BOARD=orangepipc2 BOARD_NAME="Orange Pi PC2" BOARDFAMILY=sun50iw2 VERSION=5.67 LINUXFAMILY=sunxi64 BRANCH=next ARCH=arm64 IMAGE_TYPE=custom BOARD_TYPE=conf INITRD_ARCH=arm64 KERNEL_IMAGE_TYPE=Image there is log from one of them: armbianmonitor = http://ix.io/1Gz8 go to reboot at Apr 18 22:52:13 I'm stumped armbianmonitor.txt 0045_kern 0045_syslog
  7. Hello I have an orange pi pc2 device with armbian-release on it. Yesterday I was faced with strange error: My orange pi pc2 was shut down, in auth log file I see "Power key pressed. Powering Off... System is powering down." But there is no power key and no one can press powering off by console or interface. Temperature in error moment was OK = 57 C How it can be, why orange go to powering off by him self? armbian-release: BOARD=orangepipc2 BOARD_NAME="Orange Pi PC2" BOARDFAMILY=sun50iw2 VERSION=5.78 LINUXFAMILY=sunxi64 BRANCH=next ARCH=arm64 IMAGE_TYPE=custom BOARD_TYPE=conf INITRD_ARCH=arm64 KERNEL_IMAGE_TYPE=Image Error was at Apr 15 18:21:59 Auth.log Kern.log syslog: 0074_auth 0074_kern 0074_syslog
  8. I've got an Orange Pi PC2, and I'm running some pretty CPU intensive tasks on it. However, I'm running into a situation where the processor is overheating and shutting down. I've got a bunch of OPiZero's, and on those I'm used to the kernel automatically throttling the CPU frequency down and/or shutting off cores in response to rising CPU temps -- but I'm not seeing that happen on the PC2 -- it just stays at max CPU speed until it overheats and shuts down. Is there a way to enable that same behavior on the PC2? (I'd rather it throttle down the CPU frequency instead of overheat...)
  9. Hello! Anybody help me, please.. How to set up HDMI to connect monitor? How to make it reboot normally on "shutdown -r now"? Kind regards, Ellad
  10. Is it possible to add this camera: VGA OV7670 CMOS camera module - 0.3 Megapixel lens / 640X480 to the Orange Pi PC2 H5 64bit? (all info related to my Orange Pi are stored here http://ix.io/1BW3) The ribbon cable fits the socket (although pin numbering are reversed), but I have not found any relevant info googling the internet. I'm wondering if anybody experimented already this coupling. Thank you.
  11. Hello together, i opened a ticket here https://github.com/armbian/build/issues/1085 Why "cat /proc/cpuinfo" does not tell anything about the CPU type?
  12. Hello everyone, I want to make up a RAID 1 array with two disk, but mdadm tells me that I can't find the md_mod module : mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/boot' on this device please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=0.90 Continue creating array? y modprobe: FATAL: Module md_mod not found in directory /lib/modules/4.19.13-sunxi64 mdadm: Fail create md0 when using /sys/module/md_mod/parameters/new_array mdadm: unexpected failure opening /dev/md0 I looked up the /lib/modules/4.19.13-sunxi64 directory, yes , this module does not exist. Is it forgotten, or does it not exist? Or how to do RAID 1 ? This is my order: sudo mdadm -C /dev/md0 -l1 -n2 /dev/disk/by-partuuid/3ff81a41-01 /dev/disk /by-partuuid/cf665fbd-01
  13. Hi, I am new to Orange Pi ecosystem. I have a Orange Pi PC 2 running armbian and some times raspbian. I want to use a wifi adapter to this. Since there has been many discussions on which adapter to chose and how to chose I am really confused. Please help me select a wifi adapter which could be installed easily considering that I am a rookie.
  14. trying to get ili9340 to work on orangepi pc2 on bionic 4.14.91 ... there's a fb_ili9340 module in the staging directory, modprobe passes and the only thing in dmesg is warning it's staging nothing else but when I check /dev/fb* there's only /dev/fb0 (the original hdmi output on my monitor), there's no /dev/fb1 anyone can land a hand? give a hint?
  15. hello, i am setting up Mopidy in Orange Pi PC2 with armbian. but i found it only playback to the on-board sound card not the USB DAC i connected. root@orangepipc2:/# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [] Subdevices: 0/1 Subdevice #0: subdevice #0 card 1: allwinnerhdmi [allwinner,hdmi], device 0: 1c22800.i2s-i2s-hifi i2s-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Audio [iFi (by AMR) HD USB Audio], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 i found there is no asound.conf in /etc ... i tried alsactl store 2, but Mopidy still playback in 0 in /etc/modprobe.d/ there is nothing related to sound card neither how can i set the default alsa device to card 2 ? thanks! Joseph
  16. hello i just install the latest armbian on orange pi pc2 board, the kernal is already 4.14 therefore the OTG function should be there. root@orangepipc2:~# dmesg |grep musb [ 1.323924] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver [ 1.323939] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 9 [ 1.324416] usb usb9: Manufacturer: Linux 4.14.78-sunxi64 musb-hcd [ 1.324421] usb usb9: SerialNumber: musb-hdrc.1.auto however, i cannot enable the usb serial over OTG. anyone can show me how to do it? i tried it on debian and windows but both has nothing when i connect to the OTG port. thanks very much!
  17. My Orange Pi PC2 work fine with Stretch (mainline, 4.14.48) between 35 and 65 °C. I got only a minor (but annoying) problem: the board start overheating after a shutdown (sudo shutdown -h now) and reach >70 °C after few minutes. Is it a kernel problem? Or a hardware design fault?
  18. Hello Community! Does anybody tried to run the .Net Core or ASP NET Core runtime package on OrangePi PC2? I was trying to install it using MS guidelines [https://www.microsoft.com/net/download/linux-package-manager/ubuntu16-04/runtime-current] but no luck. I was searching Goolge for a while, and tried bunch of common solutions related to Linux and .Net Core installation - with no luck unfortunately. I am using: OrangePI PC2 ARMBIAN 5.59.180815 nightly Ubuntu 16.04.5 LTS 4.11.1-sun50iw2
  19. Hi all After having used a lot the OPiPC2 with Armbian, I am now adding support for this board in openwrt. The first add board patch, has been merged recently in snapshot branch and works ok. For the first implementation I set the MUSB port role to host, but now my goal is to set it in OTG, making this port available for usb serial console, connecting a host PC to it. So, I built the needed support for g_serial in kernel and give a try, but I cannot make it work The host PC detects just nothing, as the OpiPC2 does not detect a USB host being connected to it Checking the dmesg I see something suspicious: [ 0.614423] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO The only gpio managed by this USB phy (that is the one attached to the MUSB 1c19000) is the role switch PIN, as far as I understand: usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */ The dts are the mailine ones of kernel 4.14.x, the OTG support for H5 has been added in 4.12.x but I think I remember that I had the same dmesg log also in Armbian (I run it till 4.15.x) PG12 is not taken by other nodes, so I really don't understand the problem here, IF this is a problem and not a warning that I shall just ignore Thanks, bye
  20. Hi. I'm running armbian on a OrangePi PC 2. This is my uname -a output: root@picard:/lib/modules# uname -a Linux picard 4.18.0-rc8-sunxi64 #30 SMP Mon Aug 13 00:57:56 CEST 2018 aarch64 aarch64 aarch64 GNU/Linux I am running LVM2 on that system. I updated today, and the dm-raid kernel module seems to have gone missing. I can't get my LVM volume group up anymore, since it can't find dm-raid: root@picard:/lib/modules# lvscan inactive '/dev/vg-data/lv-data' [2.70 TiB] inherit root@picard:/lib/modules# lvchange -ay vg-data/lv-data modprobe: FATAL: Module dm-raid not found in directory /lib/modules/4.18.0-rc8-sunxi64 /sbin/modprobe failed: 1 Cannot read target version of RAID kernel module. Can't process LV lv-data: raid1 target support missing from kernel? I have already switched my kernel using the armbian-config 'switch' function (from 'next' to 'dev'), which doesn't seem to make a difference. How do I get that kernel module back? Thanks for any help!
  21. Hello I have an armbian on my Orange Pi PC2 Could you tell me, how I can detect in console is audo jack is plugged in or not?
  22. I'm trying to establish usb serial communication between an Orange Pi PC2 H5 running armbian and a samsung galaxy note 4. I'm configuring the micro USB port on the Orange Pi with libcomposite and opening up an acm port. On the android end I'm using a library by mik3y (https://github.com/mik3y/usb-serial-for-android) to establish the communication. The trouble that I'm running into getting Android drivers to support USB serial communication with the H5. I may just be just configuring the orange pi wrong. Here is the libcomposite setup script: #!/bin/bash/ modprobe libcomposite cd /sys/kernel/config/usb_gadget/ mkdir -p g1 cd g1 echo 0xa4ac > idProduct echo 0x0525 > idVendor echo 0x0100 > bcdDevice echo 0x0200 > bcdUSB mkdir -p strings/0x409 echo serial > strings/0x409/serialnumber echo manufacturer > strings/0x409/manufacturer echo product > strings/0x409/product mkdir -p configs/c.1/strings/0x409 echo "Config 1: ECM network > configs/c.1/strings/0x409/configuration echo 250 > configs/c.1/MaxPower mkdir -p functions/acm.usb0 ln -s functions/acm.usb0 configs/c.1/ ls /sys/class/udc > UDC I used this guide to for the libcomposite setup (http://isticktoit.net/?p=1383). the mik3y usb serial drivers natively support FT232R, CDC/ACM serial services, and CP2102. I can't find any documentation detailing the H5 usb controller or drivers. is this even possible or would it be better to go with a external controller and run SPI communication over the GPIO pins. The only reason I'm not already doing that is I'm already using the SPI controller to control a custom made device. Thanks for any help!
  23. Hello I was build image for my orange pi pc2 devices: BOARD=orangepipc2 BOARD_NAME="Orange Pi PC2" BOARDFAMILY=sun50iw2 VERSION=5.46 LINUXFAMILY=sunxi64 BRANCH=next ARCH=arm64 IMAGE_TYPE=custom BOARD_TYPE=conf INITRD_ARCH=arm64 KERNEL_IMAGE_TYPE=Image I was faced with strange thing: After burning another image and lunch it on the device - on the first (and every) boot I see "first start panel window". And when I do formatting this SD card, and burning again - everything alright (first start panel window dose not appear) I have been already burn 10 SD cards with same image and met this window 2 times. What can be the reason? Is it some bug or regular thing? Can I prevent appear of this window? Thank you
  24. Hello, everybody. I have an orange pi pc2 device with armbian-release on it: BOARD=orangepipc2 BOARD_NAME="Orange Pi PC2" BOARDFAMILY=sun50iw2 VERSION=5.46 LINUXFAMILY=sunxi64 BRANCH=next ARCH=arm64 IMAGE_TYPE=custom BOARD_TYPE=conf INITRD_ARCH=arm64 KERNEL_IMAGE_TYPE=Image I was install my nodejs app on it, which lunch on start up. Device now is remote. Everything was fine, but now i have a look at log (my nodejs log) and see strange reboots after that my app dose not lunch. When I ask people (device is remote and is ON) do OUT/IN power on it - after that everesing fine until the another randomly reboot start (one or two times per day). Remotly i have access to nodejs child_process only, I have oportunity remotly write command to console and device send me back the output. I was try to read /var/log/kern.log, but nodejs don't have permissions. I have only remote command line with no root permissions and logs: /var/log/armhwinfo.log lastlog and faillog that not give me answers why armbian randomly reboot and why after this reboots my app dont lunch on start up. Could you direct me what I can do to find the answer on question "why my device go to strange reboot"? armhwinfo.log
  25. CONFIG_BTRFS_FS_CHECK_INTEGRITY is not enabled in config. When I tried to enable it in the armbian build system, I saw the word "DANGEROUS". Is this an unstable (or dangerous) feature ? Should I enabled it and use it ? if not, how to ensure data integrity ?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines