• Content Count

  • Joined

  • Last visited

Everything posted by PiotrO

  1. @balbes150: fyi: I take special care with these options to have single kernel config working for AML/RK/ALW/BCM. Tested on 7 hw platforms I have and those seems to work ok...
  2. @balbes150 Regarding Eth: for sure You have AC200 2& H6 and PWM patches + proper kernel config? IIRC kernel config should have: CONFIG_COMMON_CLK_PWM=y CONFIG_PWM_SUN4I=y CONFIG_DWMAC_SUN8I=m CONFIG_AC200_PHY=y CONFIG_MFD_AC200=y CONFIG_I2C_MV64XXX=y note that all mentioned drivers have to be =y and only DWMAC_SUN8I=m
  3. @balbes150 pls find below: On 5.5 kernel - for eachlink H6 i'm using this patch to get dtb: https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-5.5/files/0530-arm64-dts-allwinner-add-Eeachlink-H6-Mini.patch For u-boot I'm using custodian repo: https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi with patch adding H6 support: https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-sunxi/files/0001-sunxi-H6-Add-basic-Eachlink-H6-Mini-support.patch Pls let me know do You still need 4M from SD card. (of corse I'm sure
  4. Just done test on mainline 5.4.1 with removed video=HDMI-A-1:e and it looks like without it hdmi display is not detected :-(
  5. Thx. t720 works perfectly now! Still shame because overlooking all this :-p
  6. You need to apply list of patches I mentioned in my original post atop of mainline 5.4 kernel and compile. Patches in my Makefile are grouped per functionality so it should be easy to pick those interested for you I think. PS: I'm not using armbian. I'm doing my own distro. I put this H6 eachlink related post because armbian community seems to be most resonating & willing to discuss about various ARM SoC aspects :-)
  7. aha! This is important! My approach for H6 t720 enablement is following: in sun50i-h6.dtsi I'm adding gpu node: <------><------>gpu: gpu@1800000 { <------><------><------>compatible = "allwinner,sun50i-h6-mali", <------><------><------><------> "arm,mali-t720"; <------><------><------>reg = <0x01800000 0x4000>; <------><------><------>interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>, <------><------><------><------> <GIC_SPI 85 IRQ_TYPE
  8. Well - this is relatively simple: You need to apply list of patches I mentioned in my original post atop of mainline 5.4 kernel and compile. I'm not sure about Orange Pi3 dts - but HDMI sound related device tree fragments are in all H6 platforms include (sun50i-h6.dtsi) so it should work for You I think... Good luck! BTW: all kudos for H6 sound should go to codekipper! He done fantastic work on allwinner ASoC!
  9. I'm creating this topic to track progress with support for EachLink H6 support. So far with patches in lines 127..202 in List of patches with patch files I was able to get: working: -boot with mainline 5.4 kernel -HDMI video (with correct DDC) -HDMI audio -Ethernet -GPU mali t720 -USB2/USB3 ports -CPU temp reading -DVFS (CPU freq scalling) -internal IR sensor (MCE remote works nicely) not tested: WiFi Blutooth This box might be cheap H6 box to become nice mediaplayer as current panfrost started to s
  10. @jcaron Are You using mesa on t720 or mali blob?
  11. Hmm - interesting: in my case on 5.3-rc8 it looks I need to look in: /sys/devices/system/cpu/cpufreq/policy0 And indeed i.e.: cat /sys/devices/system/cpu/cpufreq/policy0/stats/trans_table From : To : 480000 720000 816000 888000 1080000 1320000 1488000 1800000 480000: 0 0 0 0 0 0 0 0 720000: 0 0 0 0 0 0 0 0 816000: 0 0 0 0 0 0 0 0 888000: 0
  12. @hexdump, Yes. I added these entries as indeed adding cpu supply is a must to get my GS1 and eachlink working. I understand You have working DVFS on Yours H6 hw. Do You have any entries in /sys/class/cpufreq ? Also - what is best way to see what is current cpu freq/voltage & also to see how system walks on dvfs trips?
  13. @jernej, thx for hint! for sure i'll test it. rc7+patches You mention gives me working screen on eachlink h6 mini. Last days I'm playing a bit with DVFS on h6 (beelink gs1). I'm using 5.3-rc7 mainline + and megous patches (also verified with Yours libreelec patches for h6). I got ths working (as I see entries in /sys/class/thermal) So next I tried to play with cpufreq. I added clk to cpu cores (like in https://github.com/megous/linux/commit/19a1b4942b8f040f2b8f2d322368518c5776025b), OPP tables (like in https://github.com/megous/linu
  14. Guys, Just quick Q: on 5.3-rc7 I still have blackscreen on Eachlink H6 (even with video=HDMI-A-1:e). Is this 5.3 kernel issue or rather something else? btw: I switch to beelink Gs1 and got almost fully working with mainline 5.3-rc7 (so far except: thermal, cpu freq. scaling and t720 gpu - but this is different story...)
  15. Well - thx for pointing this! Unfortunately this probably not explains why I still don't have anything on hdmi output with 5.3 kernel while exactly the same patch set + kernel config gives screen with 5.2 kernel. I change H6 related patch set from Your git to https://github.com/megous/linux/commits/opi3-5.3 but this not helps. It looks like 5.3 needs some more work to get hdmi working in each link h6. boot log for 5.3-rc2 with megous patches attached. H6_5.3-rc2_boot.log
  16. Oh- sorry. I miss Your request :-p Here are list of patches I'm using to get 5.3 mainline working ok (with gfx & sound) on my hw test set: x86 intel/amd, s905, s912, rk3328, rpi3 and very initially h6 (forget some of h6 patches. this is for pure experiments): https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-5.3/Makefile Patches are here: https://github.com/warpme/minimyth2/tree/master/script/kernel/linux-5.3/files DT for eachlink H6 i'm using is here: https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-5.3/files/0812-arm6
  17. I'm using mainline 5.3-rc2. Sill can't get HDMI screen working on 5.3. Exactly the same build but with 5.2 mainline gives HDMI - so it looks 5.3 has something hanged... (5.3-rc2 boot log attached) H6 kernel 5.3-rc2.log
  18. sorry for late replay. With 5.2 kernel adding video=HDMI-A-1:e is required to get anything on screen. With 5.3-rc3 screen not works. Regarding board ver. - it is v1.1. Did You see anywhere on Internet android DT for this board?
  19. Oh - I just was extrapolating from other H6 designs :-p. Is anybody looking on GPU support in eachlink h6? If not - may You pls provide me (or point to) Android DT for this device for experimenting? I can play with this hw for gpu support - but probably will need some assistance..... BTW: regarding audio support: I already experimenting with 5.2 mainline + Your's LibreELEC H6 patches from https://github.com/jernejsk/LibreELEC.tv/tree/tanix-tx6/projects/Allwinner/devices/H6/patches/linux As I mentioned in my post: sound modules seems to be loaded - but no
  20. Thx for replay! It looks eachlink mini box isn't god investment for anybody who wants to play with H6.... This box is not using AXP 805 PMIC (typically bundled with the H6) but unknown IC which cryptic label "A8038 8099330k". Unless we will have support for this PMIC - no GPU support nor any other HW parts supplied by this PMIC :-(
  21. @hexdump, Thx for help! My strategy is to relay on mainline + minimal required set of patches because my goal (minimyth2 appliance) is to have common kernel for rpi3, s905, rk33xx and H6. This is reason why I want to avoid to go with heavily patched forks like i.e. https://github.com/megous/linux). Do You know exact set of patches applied to mainline within magus tree to get freq.scalling? I already applied dtb changes based on diff for your patch vs. mainline+jernej's patches (see attached patch) but I'm getting: [ 1.843275] core: _opp_supported_by_regulators
  22. @jernej Thx so much for help here. Got networking working :-) Now I want to get general view what is currently possible to get as supported on H6 Eachlink with mainline 5.2.3 (+ patches from Your repo). (strategy here is to have minimal required set of patches because my goal (minimyth2 appliance) is to have common kernel for rpi3, s905, rk33xx and H6. This is reason why I want to avoid to go with heavily patched forks like i.e. https://github.com/megous/linux). May You (and @hexdump, others) pls give me some hints about following aspects regarding curr
  23. Guys, May anybody hint how to solve issue: ac200 0-0010: Can't obtain the clock: -517 I’m using mainline 5.2.2 with patches from jernejsk repo https://github.com/jernejsk/LibreELEC.tv/tree/tanix-tx6/projects/Allwinner/devices/H6/patches/linux and sun50i-h6-eachlink-h6mini.dtb from patch included on this thread msg: https://forum.armbian.com/applications/core/interface/file/attachment.php?id=4955 My HW is Eachlink H6 Mini. System boots but no eth due ac200 can't obtain clock error. (pls see attached dmesg.log) For reference: I'm also
  24. Hi, I'm trying to get working sources compiled mainline 5.0.5 on beelink a1 rk3328. Kernel boots fine but I have following issue with eth (see attached png). Kernel config is like this: https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-5.0/files/linux-5.0-arm64-armv8.config Can somebody hint me: is this issue of 5.0.5 mainline or rather something is missing in kernel config or i.e. lacking of required kernel patch?
  25. By accident I discover that issue events_freezable mmc_rescan is 4.19 GA regression compared to 4.19-rc4 as I don't have this in 4.19-rc4. Need to look at kernel sources. Any pointers to narrow such sources inspection?