All Activity

This stream auto-updates     

  1. Past hour
  2. Armbian for Amlogic S912

    I had exact same problem with mine (Alfawise H96 pro+). I didn't find any solution... In fact I suppose that it comes from u-boot, but I had also some powering issues. with default android, reboot didn't work (I use now superceleron ATV and it works). Powering through classical power barrel didn't work anymore and I power it through usb . I have the model with 2 hidden usb ports. I also have a GT1 Ultimate and armbian work well with kernel 3.4 with no specified dtb (no wifi but no use for me). Since it has better heat dissipation than h96, I gave up to put armbian on it.
  3. Wi-fi worked after I copied the firmware file from the legacy kernel to the mainline kernel and renamed it to brcmfmac43430-sdio.bin Please do let me know if there is a better solution. Thank you.
  4. Orange Pi Zero I2S

    Thanks all the same.
  5. Did you try to disable link negociation ?
  6. In the end, what worked for me: 0: my system: "ARMBIAN 5.35 user-built Debian GNU/Linux 8 (jessie) 4.13.16-sunxi" (called next) 1: I am not going to try using the touch layer. 2: wire things as described (with LED directly on 3.3V) 3: aptitude install linux-headers-next-sunxi 4: copy the content of "Configuration for the first spi bus" from initial post, except last line about EOF, into /root/myili9431.dts 5: armbian-add-overlay myili9431.dts 6: edit /boot/armbianEnv.txt and edit this line (some parts may be useless or overkill) overlays=usbhost2 usbhost3 spi-spidev spidev myili9431 (this appeared to be useless) 7: reboot 8: modprobe fbtft_device custom name=fb_ili9341 gpios=dc:3,reset:0,led:6 speed=16000000 busnum=1 ... and immediately the LCD turned from all white, into classic console (black background with prompt at the top) Here is my dmesg: [ 166.951033] fbtft: module is from the staging directory, the quality is unknown, you have been warned. [ 166.962129] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned. [ 166.967576] fbtft_device: GPIOS used by 'fb_ili9341': [ 166.967602] fbtft_device: 'dc' = GPIO3 [ 166.967627] fbtft_device: 'reset' = GPIO0 [ 166.967649] fbtft_device: 'led' = GPIO6 [ 166.967703] spi spi1.0: fb_ili9341 spi1.0 16000kHz 8 bits mode=0x00 [ 166.983929] fb_ili9341: module is from the staging directory, the quality is unknown, you have been warned. [ 167.341354] Console: switching to colour frame buffer device 30x40 [ 167.344793] graphics fb0: fb_ili9341 frame buffer, 240x320, 150 KiB video memory, 16 KiB buffer memory, fps=20, spi1.0 at 16 MHz https://kaspars.net/blog/linux/spi-display-orange-pi-zero mentions rotate=90 ... could be usefull for someone 9: xinit worked immediately
  7. IP Camera - CCTV omxplayer

    Hi, I would like to put ip cameras into the grid as you can see here: omx cctv Does the armbian support omx player? Or is there another solution for grid view ? Hardware: Orange pi One
  8. Armbian for Amlogic S912

    Hello, Ive got an H96 pro plus 3/32 I would like to put linux on but it doesn't work. Does anyone can tell me exactly which DTB file i have to use for this model? ive got the same issue than Marcopolo I run initially UPDATE&BACKUP App and choose the zip file, It says "shutting down" and there is no sign of activity of any reboot, no screen output nothing. waited much longer than 10mins several times. Tried to press the reset button when power on with paper clip. no screen output anytime when booting with sd card inserted. In a second time i would like to install direcly Linux if it work well on eMMC... If anyone can help me it will be great! thx Rémi
  9. Today
  10. ethernet connection keeps dropping out.

    What a 'valuable' suggestion for physical problems happening on the link layer. Good luck to all blaming software when dealing with hardware issues. @Gord_W: A link is something that is established between two ends. What about the other end? Obviously the problem does not live inside your SBC if you already exchanged them and the problem persists with identical symptoms (hint: look at the other end of the link and what connects both ends: switch/hub port, Auto negotiation/MDI-X settings there, Ethernet cable)
  11. Thank you. It is a very good point, but in my case, it is not that important. I've decided to buy a switching power supply like Mean Well or something. I've got about 4-5 SBC up and running now. Apparently, it is worth to invest in a good PSU.
  12. ARMBIAN for Amlogic S905 and S905X

    Hi Balbes, that latest image dated january 2018 does not boot in a T95Z Plus using the Vega96 dtb. Also with your latest images dated 26122018, which work very well from the SD, I am unable to write them to the emmc. I am missing something? Process starts, then it complains about not finding android magic in the partition /dev/data, and it boots to recovery console. Tks for ur awesome work BTW
  13. linux-u-boot-beelinkx2-default=5.35 , which gives U-Boot prompt of: "U-Boot SPL 2017.09-armbian (Nov 22 2017 - 13:55:46)" will boot Linux kernel (I'm currently running linux-image-sun8i=5.37.180112). Anything AFTER that version will not boot a Linux kernel. Complains about missing files. I didn't capture [debug serial] output of "bad" u-boots. But I can if anyone needs them.
  14. armbian on MINIX NEO U9-H

    Yes, you can try to run Armbian external media. Pay attention, for this you need to update the multiboot to that part of the image Armbian.
  15. You could try to set your country for Wifi in the config-file /etc/default/crda As I know - in Germany - the Channel 13 is allowed. So you can try to set it to DE
  16. testers wanted ArmbianIO API proposal

    I have the Java wrapper working pretty good. Same issues with Swig as generating the Python wrappers. Pointer (function, char array, etc.) parameters generate worthless code without a lot of manual man handling. Like using ctypes with Python I used JNA for Java, thus no generated code is needed. See https://github.com/bitbank2/ArmbianIO/blob/master/java/Button.java for an example. I need to extract the full interface into it's own file, so there no need to embed it in each program. I'll wrap that up when I port all the Python demos over to Java. I have I2C and SPI examples for Python, so pretty much all the features of ArmbianIO have been tested. The nice thing is the API is the same for all languages, so unlike RPi.GPIO you can pick your language. Once I've built everything out I'll use Valgrind to verify there are no memory leaks high level code to C. You can see where I fixed most of the OpenCV Java memory leaks https://github.com/sgjava/opencvmem
  17. ethernet connection keeps dropping out.

    Blars, I had killed and removed the networkmanager earlier and it did have any effect. Still having the interface go down and up. I wonder why 1 second increments are happening between the ups and downs. Gord_W
  18. My experience with network-manager is it causes networks to shutdown and restart periodically. This was quite a while ago, so the bug may have been fixed. I don't let it on any of my computers. You may want to see if you can get network manager to leave your ethernet alone. ("apt-get remove --purge" is one way.) Note that the armbian developers seem to be network manager fans.
  19. Yesterday
  20. Using Nanopi neo. Linux Lap 3.4.113-sun8i #4 SMP PREEMPT Wed Nov 22 13:45:28 CET 2017 armv7l GNU/Linux I've tried both the Jessie and Ubuntu versions on the site and tried changing the the kernels to 4.x with the next and dev versions. I get similar results in each. Tried to upload diagnostics but got server error I have an IP camera connected directly to the ethernet port with static IP on both the camera and the port. I ssh to the nanopi via wifi. The wifi port is forwarded to the ethernet connection so I can get images from the camera. The ethernet connection seems to drop at random intervals but the time that it down/up are exactly 1 second multiples. I've got a couple of nanopi and a couple of the same cameras and tried them in different combos with the same results. Tried different power supplies. I haven't found a similar problem on the internet. Must be something that I'm doing .... This is a section of the dmesg log [Jan16 16:06] PHY: gmac0-0:00 - Link is Down [ +2.000012] PHY: gmac0-0:00 - Link is Up - 100/Full [ +19.999982] PHY: gmac0-0:00 - Link is Down [ +1.999998] PHY: gmac0-0:00 - Link is Up - 100/Full [ +5.999988] PHY: gmac0-0:00 - Link is Down [ +1.000022] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 16:33] PHY: gmac0-0:00 - Link is Down [ +1.999999] PHY: gmac0-0:00 - Link is Up - 100/Full [ +2.000010] PHY: gmac0-0:00 - Link is Down [ +2.999958] PHY: gmac0-0:00 - Link is Up - 100/Full [ +14.000039] PHY: gmac0-0:00 - Link is Down [ +1.000001] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 17:00] PHY: gmac0-0:00 - Link is Down [ +0.999890] PHY: gmac0-0:00 - Link is Up - 100/Full [ +12.000095] PHY: gmac0-0:00 - Link is Down [ +1.000006] PHY: gmac0-0:00 - Link is Up - 100/Full [ +23.999968] PHY: gmac0-0:00 - Link is Down [ +1.000033] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 17:03] PHY: gmac0-0:00 - Link is Down [ +2.000002] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 17:05] PHY: gmac0-0:00 - Link is Down [ +0.999836] PHY: gmac0-0:00 - Link is Up - 100/Full [Jan16 17:10] PHY: gmac0-0:00 - Link is Down [ +0.999994] PHY: gmac0-0:00 - Link is Up - 100/Full [ +28.000053] PHY: gmac0-0:00 - Link is Down [ +1.999997] PHY: gmac0-0:00 - Link is Up - 100/Full There are some dropped wifi packets but no ethernet. root@Lap:~# ifconfig eth0 Link encap:Ethernet HWaddr 46:bf:e5:d8:89:bf inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::44bf:e5ff:fed8:89bf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4482690 errors:0 dropped:0 overruns:0 frame:0 TX packets:3301078 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2301875353 (2.1 GiB) TX bytes:193423473 (184.4 MiB) Interrupt:114 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:200 errors:0 dropped:0 overruns:0 frame:0 TX packets:200 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:16656 (16.2 KiB) TX bytes:16656 (16.2 KiB) wlan0 Link encap:Ethernet HWaddr 00:0b:81:81:58:42 inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20b:81ff:fe81:5842/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3315272 errors:0 dropped:11889 overruns:0 frame:0 TX packets:4502840 errors:0 dropped:3 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:335517701 (319.9 MiB) TX bytes:2434428264 (2.2 GiB) Could it be that I messed up iptables? The images are coming through. root@Lap:~# iptables -L -vt nat Chain PREROUTING (policy ACCEPT 241 packets, 11574 bytes) pkts bytes target prot opt in out source destination 37210 2233K DNAT tcp -- wlan0 any anywhere anywhere tcp dpt:5006 to:10.0.0.100:80 Chain INPUT (policy ACCEPT 15 packets, 3372 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 114 packets, 8444 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 114 packets, 8444 bytes) pkts bytes target prot opt in out source destination 37210 2233K SNAT tcp -- any eth0 anywhere anywhere to:10.0.0.1 I can't see anything which is causing it. Suggestions? Regards, Gord_W
  21. @tkaiser thanks for the hint. Initially country is set to 00, and is changed with iw reg set: anton@BPI-M2p:~$ sudo iw reg get global country 00: DFS-UNSET (2402 - 2472 @ 40), (N/A, 20), (N/A) (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, NO-IR (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, NO-IR (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, NO-IR (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR (57240 - 63720 @ 2160), (N/A, 0), (N/A) anton@BPI-M2p:~$ sudo iw reg set NL anton@BPI-M2p:~$ sudo iw reg get global country NL: DFS-ETSI (2402 - 2482 @ 40), (N/A, 20), (N/A) (5170 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW (5250 - 5330 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS (5725 - 5875 @ 80), (N/A, 13), (N/A) (57000 - 66000 @ 2160), (N/A, 40), (N/A) iw list shows band 13 as available: Frequencies: * 2412 MHz [1] (20.0 dBm) * 2417 MHz [2] (20.0 dBm) * 2422 MHz [3] (20.0 dBm) * 2427 MHz [4] (20.0 dBm) * 2432 MHz [5] (20.0 dBm) * 2437 MHz [6] (20.0 dBm) * 2442 MHz [7] (20.0 dBm) * 2447 MHz [8] (20.0 dBm) * 2452 MHz [9] (20.0 dBm) * 2457 MHz [10] (20.0 dBm) * 2462 MHz [11] (20.0 dBm) * 2467 MHz [12] (20.0 dBm) * 2472 MHz [13] (20.0 dBm) * 2484 MHz [14] (disabled) However, if I switch my AP to Control Channel 13, the board cannot see my AP. It seems that HW stays tuned to some other region. Unfortunately, I don't have enough knowledge to dig deeper. Ah, and after reboot the region is back to 00.
  22. I run into problems trying to get application distributed via snaps installed. Mount snap "core" (3751) [ 1691.207676] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported error: cannot perform the following tasks: - Mount snap "core" (3751) ([start snap-core-3751.mount] failed with exit status 1: Job for snap-core-3751.mount failed. See "systemctl status snap-core-3751.mount" and "journalctl -xe" for details. Found out kernel module would need to enable CONFIG_SQUASHFS_XZ. Could someone help me by adding the module to Kernel or support me in doing so or with a much appreciated workaround. Thanks!
  23. After reading https://docs.armbian.com/Hardware_Allwinner_overlays/ I have tried: # aptitude install linux-headers-sun8i # aptitude install linux-headers-dev-sun8i # armbian-add-overlay myili9431.dts Kernel headers are not installed properly. Please install the kernel headers package # uname -r 4.13.16-sunxi so in short, Armbian does not provide any package header for the default kernel ... EDIT: after a good sleep, I have found the right kernel-headers: # dpkg -S /boot/vmlinuz-4.13.16-sunxi linux-image-next-sunxi: /boot/vmlinuz-4.13.16-sunxi # aptitude install linux-headers-next-sunxi I have stored your first bit of code in /root/myili9431.dts: # armbian-add-overlay myili9431.dts Compiling the overlay Error: myili9431.dts:29.1-6 syntax error FATAL ERROR: Unable to parse input tree Error compiling the overlay After removing the very last line "EOF": # armbian-add-overlay myili9431.dts Compiling the overlay Copying the compiled overlay file to /boot/overlay-user/ Reboot is required to apply the changes So please edit your initial post and remove that EOF thing. I don't plan on using the touch layer, so, I am not going to break my mind on that part. Now comes the second big issue: # ./compile.sh BRANCH=dev BOARD=orangepizero KERNEL_ONLY=yes PROGRESS_DISPLAY=plain RELEASE=jessie Error: missing build directory structure Please clone the full repository https://github.com/armbian/build/ # ls build compile.sh lib I have cloned this twice, and it's still asking me to clone it.
  24. Hello, Im trying to use 4x4 membrane keypad with Orange Pi with PyA20 module. Im trying this code but this not working. Can you help me? Im using Armbian 5.25 on my OPi Lite.
  25. Where do we store those files ? Which directory ? which file name ? Which compiler should be use ? What's the compile command ? What you are quoting is not any of the 12 languages I know (x86 ASM, ARM ASM, Saturn ASM, C, C++, Bash, Shell, Perl, Python, Prolog, VHDL ... )
  26. Latest update makes Beelink X2 unbootable

    Good to know. I just wanted to upgrade my beelink x2 to the latest version - but when it's like this I'd rather wait a little
  27. I haven't had any problems with my XU4 (or HC1) Tinkerboard has micro-usb power input, which would give stability issues. Powering via GPIO headers bypasses its power input protections.
  28. Direct boot from hdd conected to sata

    THX for your detailed reply @valant.
  1. Load more activity