jernej

  • Posts

    1033
  • Joined

  • Last visited

Reputation Activity

  1. Like
    jernej got a reaction from XTL in [Orange Pi Zero] What is a minimum value of GPU memory?   
    Don't worry, mali driver is built as a module, so unless you load it, it won't eat any resources, except a bit of a SD card storage.
  2. Like
    jernej got a reaction from tkaiser in OPi Win with A64   
    More precisely, MIPI DSI connector, because that is the only type of LCD connector left if you implemet gigabit ethernet.
  3. Like
    jernej got a reaction from Igor_K in [Orange Pi Zero] What is a minimum value of GPU memory?   
    Don't worry, mali driver is built as a module, so unless you load it, it won't eat any resources, except a bit of a SD card storage.
  4. Like
    jernej got a reaction from zador.blood.stained in H2+/H3/H5/A64 Disp2 U-Boot video driver   
    Ok, found the issue. Apply this patch a top of previous: http://sprunge.us/KETE
     
    It seems that H3 TV works without calibration, but H5 doesn't. Fortunatelly, it work with fixed value for calibration.
  5. Like
    jernej reacted to Igor in Armbian on MiQi SBC hardware ?   
    - fixed eMMC install, - added development kernel (4.10.x) with MALI driver (untested)   Onboard 16GB eMMC media performances - not the top performer but still very decent.
    root@miqi: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 File stride size set to 17 * record size. random random kB reclen write rewrite read reread read write 102400 4 2403 2503 12483 12840 10950 2400 102400 16 8277 8682 26678 26378 24787 8526 102400 512 26729 27105 40906 40921 40702 27001 102400 1024 27644 27575 41840 41808 41731 27562 102400 16384 28077 28056 43618 43609 43589 28147
  6. Like
    jernej got a reaction from tkaiser in H2+/H3/H5/A64 Disp2 U-Boot video driver   
    I finished with hammering old code: https://github.com/jernejsk/u-boot/commits/de2_wip
     
    Now it should support also A64. Please keep in mind that this is based on latest u-boot master branch. Because of that, I added AXP patch for A64 which might conflict with ATF code (not sure anymore). Above branch was tested on H3 and A64. I thought that H5 support was already mainlined, so I put also H5 defines, but obviously it is not. Feel free to try it on some apritzel branch. I think it should work without any code changes.
  7. Like
    jernej reacted to Igor in Armbian on MiQi SBC hardware ?   
    MiQi added to Armbian. What I did:
     
    - added kernel 4.4.50 ... took from https://github.com/mqmaker/linux-rockchip(4.4.16) ... and patch all the way up to 4.4.50. 
    - added stock MiQi uboot. I tried too merge it with mainline but figured out soon that it's not going to be easy and abandoned that
    - added boot scripts with environment file
    - packaged kernel, u-boot, ...
    - updated kernel config to meet Docker requirements 
    - added proper serial console
    - tested CLI and desktop build. Both runs smoothly.
    Known bugs: random MAC, eMMC install script and boot script need some adjustments
     
    Unknown: mali, video accleration librarires, ... etc. most likely those should go: https://github.com/mqmaker/rk-rootfs-build
     
    From tomorrow morning, betas will be available here: https://dl.armbian.com/miqi/nightly/
     
    armbianmonitor -u
    http://sprunge.us/TWMF

    Console log:
     
     
  8. Like
    jernej got a reaction from zador.blood.stained in H2+/H3/H5/A64 Disp2 U-Boot video driver   
    Ok, but not today. I will report here when done.
  9. Like
    jernej got a reaction from zador.blood.stained in H2+/H3/H5/A64 Disp2 U-Boot video driver   
    Found it!!!
     
    If I put this in composer init, it works!
     
    u32* syscon_reg = (u32*) 0x01c00004;
    clrbits_le32(syscon_reg, 1 << 24);
  10. Like
    jernej reacted to zador.blood.stained in H2+/H3/H5/A64 Disp2 U-Boot video driver   
    Legacy with disabled display (for SD): u-boot-with-dtb.zip
     
    Mainline with boot0 is more tricky (needs more time), will try to make it tomorrow.
  11. Like
    jernej got a reaction from lanefu in H2+/H3/H5/A64 Disp2 U-Boot video driver   
    I managed to write H3 HDMI driver for mainline U-Boot. Source can be found here:
    https://github.com/jernejsk/u-boot
     
    You should also add CONFIG_VIDEO=y to defconfig for your board.
     
    It should work nicely for standard resolutions (720p, 1080p). Other resolutions might work, but some additional work needs to be done. Currently, this can be used for working with U-Boot (instead of serial console) or splash screen.
  12. Like
    jernej got a reaction from zador.blood.stained in H2+/H3/H5/A64 Disp2 U-Boot video driver   
    Basically I tested it only on OPi2 and there it works nicely. If HDMI screen is connected, then HDMI is used, otherwise TV out is enabled. The only possible drawback I see is that TV out detection is not implemented and it unconditionaly enables it if HDMI is not connected. This is the same behaviour as in video driver for older chips.
     
    Small note, I updated the driver and simplefb node in DT for TV out must have a different name "de0-lcd1-tve0". Reason for that is that TV out has different clocks, which get disabled at shutdown - DE2, TCON1 and TVE0.
     
    Now, I will try to make it work on A64.
  13. Like
    jernej got a reaction from zador.blood.stained in H2+/H3/H5/A64 Disp2 U-Boot video driver   
    @zador,
     
    I just added support for TV out, PAL and NTSC standard. Do you think that it is interesting enough to include in Armbian? Maybe for OPi0?
     
    https://github.com/jernejsk/u-boot/tree/h3_hdmi_tv_v1
     
    You have to include "CONFIG_VIDEO_COMPOSITE=y" in defconfig. PAL is selected by default and can be overriden by environment variable.
  14. Like
    jernej got a reaction from zador.blood.stained in Armbian for OrangePi PC2, AllWinner H5   
    If I understand you correctly, you didn't try it yet? Because the driver should select native screen resolution, in this case 1080p. If it is not, then it is bug.
     
     
     
    H5 doesn't have any HW 2D acceleration, only 3D through mali.
     
     
    For this you need DRM driver. Maybe something can be done with H3 experimental one, but let's focus on basics first.
  15. Like
    jernej reacted to mosajjal in Hardware acceleration in Chromium on OPI-PC(h3)   
    I got my hands on some files of r6p2 driver and LibMali.so if anyone is interested:
     
    https://github.com/mosajjal/r6p2
  16. Like
    jernej got a reaction from Da Alchemist in Armbian on MiQi SBC hardware ?   
    Once SoC is supported, adding new boards should be easy. But first, please wait until RK3288 is supported in Armbian.
  17. Like
    jernej got a reaction from Jens Bauer in Armbian on MiQi SBC hardware ?   
    I will get two MiQi boards and I will try to make preliminary Armbian support.
  18. Like
    jernej got a reaction from tkaiser in Armbian on MiQi SBC hardware ?   
    I will get two MiQi boards and I will try to make preliminary Armbian support.
  19. Like
    jernej got a reaction from Arda in Orange Pi Zero ARMBian Debian - Disabling the Ethernet LEDS?   
    I checked datasheet and board schematic and only setting possible is to select polarity. For any permanent disabling, HW solution must be used.
  20. Like
    jernej reacted to Igor in Submit Distribution to DistroWatch.com   
    Instead, we were rewarded. Not many got this privilege.
     
     
     
    https://distrowatch.com/weekly.php?issue=20170116#donation
  21. Like
    jernej got a reaction from gnasch in Hdmi 1280 x 800 display   
    As I promised, I published helper tool. Please check this comment: https://github.com/igorpecovnik/lib/issues/594#issuecomment-272992961
  22. Like
    jernej got a reaction from Jens Bauer in [Solved] Supporting Rockchip Processors   
    I bough RK3299 at one point for hacking. Unfortunatelly, I can't find any SDK. Does anyone now where to find it?
     
    On the other hand, I'm more and more interested in RK3288 based boards. Support for that chip should be pretty good in mainline kernel. If someone know cheap board (max. 50 USD), please tell me. I think I could find some time to add support for it.
  23. Like
    jernej reacted to ssvb in OPI Zero boot with SPI   
    Of course it works. And was working fine since the very beginning. You can find the detailed step by step instructions here: https://linux-sunxi.org/Bootable_SPI_flash#Using_the_sunxi-fel_tool
     
    Please note that the flashrom method is not very foolproof. The sunxi-fel tool may provide some nice high level features in the future. Such as the installed bootloader identification, extra checks if the old and new u-boot configurations are compatible, SPI speed tuning for faster boot (right now it is working at 6MHz in U-Boot) and maybe even larger SPL sizes via an additional loader stub. Not to mention that U-Boot may enforce write-protection for itself before passing control to the linux kernel (write-protection is enforced until the next power-down/power-up cycle), and in this case the flashrom tool will become completely useless.
  24. Like
    jernej got a reaction from zador.blood.stained in Hdmi 1280 x 800 display   
    I think the best way is to ask monitor what timings it prefers. That way you can be sure to use best possible combination. As soon as I will have some time I will prepare something as described here:
    https://github.com/igorpecovnik/lib/issues/594
  25. Like
    jernej reacted to zador.blood.stained in [Orange Pi One] VDPAU mpeg4 problem   
    Default Armbian configuration file forces HW decoding, so it needs to be explicitly disabled or config file should be temporarily renamed.