Melanrz

  • Content Count

    27
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Melanrz got a reaction from StuxNet in Tiny 3$ lcd on orange pi   
    Tutorial for ili9325 and spfd5408

     
    soon tutorial for fastes ili9341

  2. Like
    Melanrz got a reaction from lanefu in Tiny 3$ lcd on orange pi   
    MOSI - 19, MISO - 21, SCK (SPI_CLK) - 23, CS - 24, RESET, DC and LED - 11, 13, 15. power supply and ground as usual
    sudo modprobe fbtft_device custom name=fb_ili9341 gpios=reset:1,dc:0,led:3 speed=48000000 fps=25 rotate=90 bgr=1 txbuflen=65536
  3. Like
    Melanrz got a reaction from TonyMac32 in Tiny 3$ lcd on orange pi   
    Tutorial for ili9325 and spfd5408

     
    soon tutorial for fastes ili9341

  4. Like
    Melanrz got a reaction from zgoda_j in 3.2 LCD   
    http://forum.armbian.com/index.php/topic/1080-tiny-3-lcd-on-orange-pi/
  5. Like
    Melanrz got a reaction from zgoda_j in Tiny 3$ lcd on orange pi   
    Tutorial for ili9325 and spfd5408

     
    soon tutorial for fastes ili9341

  6. Like
    Melanrz got a reaction from borsti67 in Armbian in raspberry pi geek magazine   
    I noticed in last raspberry pi geek (DE) in board comparison use Armbian as prefer os for cubieboard
     
    https://www.oboom.com/82BRP4U9/eere416.pdf
  7. Like
    Melanrz got a reaction from Igor in Armbian in raspberry pi geek magazine   
    I noticed in last raspberry pi geek (DE) in board comparison use Armbian as prefer os for cubieboard
     
    https://www.oboom.com/82BRP4U9/eere416.pdf
  8. Like
    Melanrz reacted to mariuszb in 3.95 inch display test   
    Now I have connected this display using fbtft 


     
    This is done as folows:
    sudo modprobe fbtft_device name=flexpfb rotate=180 gpios=dc:110,reset:21,wr:1,cs:6,db00:3,db01:68,db02:71,db03:64,db04:2,db05:65,db06:66,db07:67 sudo modprobe flexfb width=320 height=480 buswidth=8 init=-1,0x11,-2,200,-1,0x36,-1,0x3A,0x05,-1,0x36,0x48,-1,0x13,-1,0x29,-1,0x2C,-3 and test picture:
    sudo fbi -d /dev/fb8 -T 1 -noverbose -a example.jpg Video:
    sudo apt-get install -y mplayer sudo SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb8 mplayer -vo sdl -framedrop example.mpg Why it is extremaly slow ?  ( 1 frame pre second)
    Some hint?
     
  9. Like
    Melanrz reacted to tkaiser in H3 devices as NAS   
    The following is a short overview what you can expect from small and big H3 devices when used as a NAS. I chose the least capable device (OPi Lite for $12: not even Ethernet and just 512MB DRAM) and the best possible (OPi Plus 2E for $35: GBit Ethernet, 3 USB host ports exposed that do not have to share bandwidth, 2GB DRAM).
        I wanted to test also a H3 device in between with 1GB DRAM but since results are somewhat predictable I dropped the whole idea (the performance bottleneck on all Fast Ethernet equipped devices will be network unless you add the $7.50 for an USB-Ethernet dongle -- see below -- and all other Gbit Ethernet capable H3 devices are not priced competitive)   Low end   3 weeks ago I ordered 2 cheap USB3-Ethernet dongles (Realtek RTL8153 based and recommended by @Rodolfo): http://www.ebay.com/itm/141821170951   They arrived in the meantime so I thought: Let's make OPi Lite an Ethernet device. With our current legacy kernel config and network settings you simply connect the adapter and an Ethernet cable, boot and have eth0 up and running (well, this should apply to most available USB-Ethernet adapters since we enabled every device available in kernel config). The dongle according to lsusb: Bus 001 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.   Since I want Lite's both USB host ports for disks, I used the OTG port and a Micro USB to USB adapter: a simple iperf test against a GbE device showed 270/300 Mbits/sec (depending on direction).   Power requirements when adding Ethernet using this dongle: Plugging in the dongle without network cable attached: +700mW Connecting network cable to USB dongle (GbE!): another +400mW GbE transmission in one direction (limited to ~300 Mbits/sec): another +800mW So you can calculate with ~2W additional peak consumption per Ethernet adapter (at least 1.1W more if connected to a GbE network -- this is slightly more than the average 0.9W on Gbit Ethernet equipped SBC when the usual RTL8211E PHY establishes a GBit connection)   I connected then a 3.5" Seagate Barracuda with external PSU (ext4 since with a 3.4 kernel we can not use more interesting filesystems like btrfs -- iozone shows ~35MB/s in both directions), compiled Netatalk 3.1.18 and tested NAS performance from my MacBook (no further tuning except 'echo performance >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor' -- without this write performance totally sucks):     Read performance is quite ok given that iperf shows just 270-300 Mbits/sec but write performance needs some tuning (not today). By looking at 'iostat 5' output it was obvious that write buffers were flushed only every few seconds so for normal NAS useage with small files the whole problem doesn't exist and it also should be possible to increase performance (not today). Anyway: search the net for correctly measured performance numbers of other SBC used as NAS and you will be already satisfied given that we're talking here about a $12+$7.50 combination   High end   Orange Pi Plus 2E is -- in my very personal opinion -- the best H3 device available if you think about NAS useage. It is equipped with the maximum amount of DRAM H3 can deal with, has Gbit Ethernet, exposes all 3 USB host ports + 1 OTG and comes with 16GB of pretty fast eMMC. At a competitive price (please keep in mind that you can install the OS on eMMC so you don't have to add the price of an SD card here).   You can attach up to 4 USB disks (with mainline kernel and UASP capable enclosures they will show sequential speeds close to 40 MB/s, with legacy kernel it's ~5MB/s less)     What you see here is the result of Gbit Ethernet paired with way more RAM and a test data size too small (only 300 MB fit perfectly into memory) so this is the increase in speed you will benefit from in normal NAS situations (dealing with files that do not exceed a few hundred MB in size). In case you try to write/read files larger 1 GB (or use software that often uses sync calls to ensure data is properly written to disk) be prepared that USB 2.0 becomes the bottleneck. In these situations sequential transfer speeds between NAS and clients will drop down to ~32MB/s without further tuning (applies to legacy kernel, for mainline see new post coming in the next days)   Anyway: Please keep in mind that these are 'single disk' measurements. You can attach up to 4 disks to an OPi Plus 2E (using individual spindown policies to save energy or RAID modes to improve performance and/or availability), with Armbian defaults at least two of them can be accessed concurrently at full speed (USB2 maxing out at ~35MB/s and GbE being able to exceed 70MB/s easily) and with some tuning that might apply even to 3 disks accessed at the same time.   And if I compare these benchmark results based on defaults (burning Armbian to SD card, firing up the NAS software, measuring performance, done) with what had to be done prior to being able to simply use Armbian as 'NAS distro of choice', eg. these one year old results with A20 then choosing OPi Plus 2E is a no-brainer.   Regarding OPi Lite (or One or the smaller NanoPi M1) as NAS: This was more proof of concept than a recommendation. Being able to use as much RAM as possible for buffers is something especially a NAS / fileserver benefits from. So choosing a device with only 512MB is not the best idea. 'Native' Gbit Ethernet as present on a few H3 devices also clearly outperforms USB based solutions (iperf throughput with a recent Armbian without any tuning: 680/930 Mbits/sec). And if you add costs for USB-Gbit-Ethernet adapter and SD card the smaller boards aren't priced that competitive any longer.
  10. Like
    Melanrz reacted to tkaiser in Claim a task, set DUE date and start doing it!   
    What I would love to see is someone joining our development efforts to provide all the stuff outlined by @rellla in this installation log http://linux-sunxi.org/User:Rellla/Armbian to be integrated into our build system.
     
    A dev joining in willing to dig a bit deeper into Debian packaging so that all the aforementioned stuff could be integrated as Armbian .debs into our repository so we could provide upgrades the usual way (apt-get update/upgrade) and also real upgrades from CLI/server OS images to desktop images would be possible (if one tries to upgrade a server image now then most probably all stuff needed to get HW acceleration for media playback will be missing afterwards).
     
    As far as I understand everything needed for A10, A20 and H3 boards is already in place so the missing step is 'just' integrating all these packages into our build system so at least users of the most popular sunxi boards could benefit from.
     
    And at least to me the Orange Pi Plus 2E we're talking here about to be able to give away for free to devs wanting to join in (a big thank you to Xunlong!) would be the perfect board for this purpose due to 2 GB DRAM, pretty fast 16 GB eMMC, superiour PCB heat dissipation allowing high clockspeeds without much or any throttling occuring, Gbit Ethernet and onboard WiFi being not that bad according to first testers. Or am I'm overseeing something?
  11. Like
    Melanrz reacted to Igor in Claim a task, set DUE date and start doing it!   
    [Ended]   Be active, creative, helpful and you can get a powerful board in return. First give away batch is starting 11.6.2016  
    It's not often that you can work on a software project that actually brings joy and helps people. Armbian is one of those project. It is a system that helps one build a kernel or boot images for several ARM development boards. 
     
    It's in common interest that we improve level of support and to relieve most active people. Our crew needs an upgrade:
    we need more coders, kernel hackers, UX designers to find and solve problems. If you are one of them, join our forum, join project at Github. we need properly built, packed and supported desktop with major functions: video acceleration/fbturbo, libump, mali, etc. we need to put together much better documentation. We need to fine tune MkDocs documentation tools For those who are willing to claim a task or help others to understand "how do I do this in Armbian" we prepared a dozen of boards as a small reward. It's a Xunlong Orange PI+ 2E, which design was improved based on requests from our community. It's H3 based quad core with 2G RAM, 16G eMMC, Gigabit LAN, WIFI and 3x USB.     There might be just enough boards for everyone who are willing to do some public service work. Claim your projects at this topic and each weekend we will discuss and select up to 15 people who will get the board, starting with 11.6., ... until we run out of boards. One will be notified by email and expect an answer within 48 hours, if not, board goes to somebody else.   Boards were donated and will be sent directly from Xunlong Co., Shenzhen, China.     1st batch is going to: Kriston, lanefu, vlad59, martinayotte, jeanrhum, Gravelrash, xcasex, naibmra, Xer0, madilabs, wha, @lex, WereCatf   naibmra - Bulgaria - kernel testing, try hooking to kernelci.org, docs - mid July wha - USA - 50unattended-upgrades, issue #337 - June Kriston - USA - documentation rework - July, August Xer0 - Germany - media build - July, August lanefu - USA - issue tracking improvements between forum and github - 22 June, July madilabs - Martinique - Packaging for desktop video acceleration - June xcasex - Sweden - desktop packaging - July, August jeanrhum - France - documentation and debian packaging - July martinayotte - Canada - maintain/fix DTS entries for some devices such I2C/SPI/W1 - ASAP vlad59 - France - Nanopi M1 testing and documentation Gravelrash - UK - Prepare HOWTO's & package "armbian-gc2035-fswebcam package" - June   2nd batch is going to: dimag0g, R2D2_C3PO, miked, 0x0, sysitos, jmcneill    dimag0g - France -  Packaging of OpenGL wrapper library - end of July R2D2_C3PO - Germany - Improved SD-Card partitioning - end of August miked - Canada - build system recension - end of August 0x0 - Russian Federation - Redesign site and documentation WIP + add some changes to graphics in distro. - end of July sysitos - Germany - replace/rework ramlog for systemd - end of August jmcneill - Canada - (Armbian is helping porting Freebsd)    Users were notified and were requested to provide: project name, due date and their shipping address
  12. Like
    Melanrz got a reaction from mutant9 in Tiny 3$ lcd on orange pi   
    MOSI - 19, MISO - 21, SCK (SPI_CLK) - 23, CS - 24, RESET, DC and LED - 11, 13, 15. power supply and ground as usual
    sudo modprobe fbtft_device custom name=fb_ili9341 gpios=reset:1,dc:0,led:3 speed=48000000 fps=25 rotate=90 bgr=1 txbuflen=65536
  13. Like
    Melanrz got a reaction from Jack83 in Tiny 3$ lcd on orange pi   
    Tutorial for ili9325 and spfd5408

     
    soon tutorial for fastes ili9341

  14. Like
    Melanrz got a reaction from mutant9 in Tiny 3$ lcd on orange pi   
    Tutorial for ili9325 and spfd5408

     
    soon tutorial for fastes ili9341

  15. Like
    Melanrz got a reaction from tkaiser in Tiny 3$ lcd on orange pi   
    Tutorial for ili9325 and spfd5408

     
    soon tutorial for fastes ili9341

  16. Like
    Melanrz got a reaction from rodolfo in Tiny 3$ lcd on orange pi   
    Tutorial for ili9325 and spfd5408

     
    soon tutorial for fastes ili9341

  17. Like
    Melanrz got a reaction from Igor in Tiny 3$ lcd on orange pi   
    Tutorial for ili9325 and spfd5408

     
    soon tutorial for fastes ili9341