

PiotrO
-
Content Count
41 -
Joined
-
Last visited
About PiotrO
-
Rank
Advanced Member
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
research Since Tanix TX6 can boot from the SD card
PiotrO replied to xaduha's topic in Allwinner A64, H5 and H6
@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... -
research Since Tanix TX6 can boot from the SD card
PiotrO replied to xaduha's topic in Allwinner A64, H5 and H6
@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 -
research Since Tanix TX6 can boot from the SD card
PiotrO replied to xaduha's topic in Allwinner A64, H5 and H6
@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 -
research Eachlink H6 support with mainline kernel
PiotrO replied to PiotrO's topic in Allwinner A64, H5 and H6
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 :-( -
research Eachlink H6 support with mainline kernel
PiotrO replied to PiotrO's topic in Allwinner A64, H5 and H6
Thx. t720 works perfectly now! Still shame because overlooking all this :-p -
research Eachlink H6 support with mainline kernel
PiotrO replied to PiotrO's topic in Allwinner A64, H5 and H6
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 :-) -
research Eachlink H6 support with mainline kernel
PiotrO replied to PiotrO's topic in Allwinner A64, H5 and H6
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 -
research Eachlink H6 support with mainline kernel
PiotrO replied to PiotrO's topic in Allwinner A64, H5 and H6
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! -
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
-
@jcaron Are You using mesa on t720 or mali blob?
-
research Since Tanix TX6 can boot from the SD card
PiotrO replied to xaduha's topic in Allwinner A64, H5 and H6
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 -
research Since Tanix TX6 can boot from the SD card
PiotrO replied to xaduha's topic in Allwinner A64, H5 and H6
@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? -
research Since Tanix TX6 can boot from the SD card
PiotrO replied to xaduha's topic in Allwinner A64, H5 and H6
@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 -
research Since Tanix TX6 can boot from the SD card
PiotrO replied to xaduha's topic in Allwinner A64, H5 and H6
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...) -
research Since Tanix TX6 can boot from the SD card
PiotrO replied to xaduha's topic in Allwinner A64, H5 and H6
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