Jump to content

PiotrO

Members
  • Posts

    46
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @Pic55 great you find time to play with this. many thx! i'm really surprised about hang of tx6-p model. ideally will be to see what logging on UART says. Is armbian working ok on this box? btw: I suspect hang is at wifi driver. Interesting will be to -mount sd card ROOTFS partition under Linux -delete /rootfs-ro/lib/modules/5.17.0-rc6/kernel/drivers/net/wireless/* -see is it booting
  2. Pic55: many many thx! May you spent more 2..3 minutes on this? If yes - pls make sure that file minimyth.conf on partition BOOT has uncommented entry MM_LCDPROC_ENABLED='openvfd' (probably you download SD card image variant in which this var is not set by default. i corrected this approx 12:45 CET) Re: TX6-P: did box get IP addr at all or rather i.e. hang on DHCP stage? If it is failing on Eth - you can try with WiFi. 1. leave Eth unconnected 2. set in minimyth.conf MM_WLAN_SSID='your net' and MM_WLAN_PASS='your pass' sorry dragging you with all this!
  3. @awawa thx for keeping eye on this! i opened my box and look with oscilloscope on sda/scl pins on fd650. -with factory android: led display works; 3.3v + every 0.5sec series of to low polarity pulses -with yours armbian: led display black; constant 3.3v without any pulses -with mine distro: led display black; constant 3.3v without any pulses So for me it looks like: -issue is not due missed pull-ups -issue is because my board uses different gpio i don't believe issue is i.e.due miss-working gpio controller as i have working i.e. wifi which uses near gpio pin228. Now i see: you have tanix-tx6-p while i have tanix-tx6. This may explain: in fact we have different devices. I dumped boot/system/vendor/dtbo partitions from factory Android - and i want to extract android dtb to see what gpio are used to drive fd650 on my box. Has anybody any hint what is easiest way to do this? (playing mkdtboimg.py or...?) In the meantime i want to see how population of various tanix-tx6 variants looks like. Are users of tanix-tx6 may give me favour please and: -download my distro (https://github.com/warpme/minimyth2/releases/download/v11.28.3-master-Pre-122-g6a79086179/MiniMyth2-armv8-master-11.28.3.r122-board-h6.tanix_tx6-board-s912-SD-Image.img.xz) -burn to SD card -if lcd display not works: telnet to box (user is root; no password) and provide me pls dmesg + possible box details thx in advance!
  4. Pls find dmesg from armbian running on my tanix-tx6: [ 3723.481800] OpenVFD: Version: V1.4.1 [ 3723.481839] OpenVFD: vfd_gpio_clk: #0 = 0x01; #1 = 0xE5; #2 = 0x00; [ 3723.481857] OpenVFD: vfd_gpio_dat: #0 = 0x01; #1 = 0xE6; #2 = 0x00; [ 3723.481873] OpenVFD: vfd_gpio_stb: #0 = 0x00; #1 = 0x00; #2 = 0xFF; [ 3723.481889] OpenVFD: vfd_gpio0: #0 = 0x00; #1 = 0x00; #2 = 0xFF; [ 3723.481905] OpenVFD: vfd_gpio1: #0 = 0x00; #1 = 0x00; #2 = 0xFF; [ 3723.481921] OpenVFD: vfd_gpio2: #0 = 0x00; #1 = 0x00; #2 = 0xFF; [ 3723.481936] OpenVFD: vfd_gpio3: #0 = 0x00; #1 = 0x00; #2 = 0xFF; [ 3723.481950] OpenVFD: vfd_gpio_protocol: #0 = 0x00; #1 = 0x00; [ 3723.481969] OpenVFD: vfd_chars: #0 = 0x02; #1 = 0x04; #2 = 0x03; #3 = 0x02; #4 = 0x01; [ 3723.481992] OpenVFD: vfd_dot_bits: #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04; #5 = 0x05; #6 = 0x06; [ 3723.482011] OpenVFD: vfd_display_type: #0 = 0x01; #1 = 0x00; #2 = 0x00; #3 = 0x03; [ 3723.482026] OpenVFD: Detected gpio chips: 300b000.pinctrl, 7022000.pinctrl. [ 3723.482037] OpenVFD: "300b000.pinctrl" chip found. base = 0, pin count = 256, pin = 229, offset = 229 [ 3723.482055] OpenVFD: "300b000.pinctrl" chip found. base = 0, pin count = 256, pin = 230, offset = 230 [ 3723.482071] OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF) [ 3723.482080] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF) [ 3723.482088] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF) [ 3723.482096] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF) [ 3723.482104] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF) [ 3723.482662] OpenVFD: Select FD650 controller [ 3723.482777] OpenVFD: SW I2C interface intialized (address = 0x0000 (N/A), MSB mode, pull-ups off) On my box with my distro i tried multiple ways: 1. by providing all data in DT 2. by inserting openvfd.ko with params taken from https://github.com/arthur-liberman/vfd-configurations/blob/master/tanix-tx6-allwinner-h6-vfd.conf 3. by adding in /etc/modprobe.d file openvfd.conf with content like this: # This file must be renamed to vfd.conf and placed in the /storage/.config/ folder. # # Tanix TX6 - Allwinner H6 configuration #-------------------- #gpio_xxx: # [0] 0 = &gpiochip0, 1 = &gpiochip1. # [1] pin number # [0] Reserved - must be 0. options openvfd vfd_gpio_clk=1,229,0 options openvfd vfd_gpio_dat=1,230,0 options openvfd vfd_gpio_stb=0,0,0xFF options openvfd vfd_gpio_chip_name="300b000.pinctrl" #chars: # < DHHMM > Order of display chars (D=dots, represented by a single char) options openvfd vfd_chars=2,4,3,2,1 #dot_bits: # Order of dot bits. Typical configurations: # Display Type 0, 1 usually has Alarm, USB, Play, Pause, Col, Ethernet, Wifi dots # Alarm = 0, USB = 1, Play = 2, Pause = 3, Col = 4, Eth = 5, Wifi = 6 # Display Type 2 usually has APPS, USB, SETUP, CARD, Col, HDMI, CVBS dots # APPS = 0, USB = 1, SETUP = 2, CARD = 3, Col = 4, HDMI = 5, CVBS = 6 # Display Type 3 Power, LAN, Col, Low Wifi, High Wifi # N/A = 0, N/A = 1, Power = 2, LAN = 3, Col = 4, Low Wifi = 5, High Wifi = 6 options openvfd vfd_dot_bits=0,1,2,3,4,5,6 #display_type: # [0] - Display type. # [1] - Reserved - must be 0.. # [2] - Flags. (bit 0 = '1' - Common Anode display) # [3] - Controller. options openvfd vfd_display_type=0x01,0x00,0x00,0x03 on every case i examined dmesg to make sure module loads ok. no matter what - display is black for me most probable issue is in bus from SOC to fd650: gpio wrong lines or logic state voltages are out of working levels. i don't believe tanix changed gpio between board versions.... but it is highly probable i.e. some Chinese manager decided to save 0.01$ by not soldering 2 pull-up resistors. or soldered resistors with way too high resistance... thats why i'm curious what board you have? (mine is H6-06_V1.0 2019-07-10)
  5. @awawa Since few days i'm trying to get openvfd working on tanix-tx6 in my project. i'm on 5.17 kernel and dmesg's openvfd entires are looking like expected - but display is black. Hw is ok as under factory android led disp. works ok. I installed latest armbian from your git, kick systemctl start openvfd and...display is also black. I verified LED IC on my tanix-tx6: it is fd650. As you have it working + my box failing on sources build 5.17+openvfd1.4.1 nor on your armbian not with jernej's i2c with py code - i see 2 possible reasons: -my box is using different gpio's -my box has missing pull-ups on SDA/SCL (so wire OR not works) What board version you have in your box?
  6. @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...
  7. @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
  8. @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 You remember to add PWM & AC200 support in kernel) br
  9. 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 :-(
  10. Thx. t720 works perfectly now! Still shame because overlooking all this :-p
  11. 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 :-)
  12. 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_LEVEL_HIGH>, <------><------><------><------> <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; <------><------><------>interrupt-names = "job", "mmu", "gpu"; <------><------><------>clocks = <&ccu CLK_GPU>, <&ccu CLK_BUS_GPU>; <------><------><------>clock-names = "core", "bus"; <------><------><------>resets = <&ccu RST_BUS_GPU>; <------><------><------>status = "disabled"; <------><------>}; and in i.e working ok beelink gs1 tvbox dts - I'm enabling gpu in board dtb: &gpu { mali-supply = <&reg_dcdcc>; status = "okay"; }; So far I don't have enabling gpu dtb fragments for eachlink tvbox - because all the time I was thinking PMIC needs to be touched! What You enlighten me that thing is closer to get than I think :-) May You pls hint me about Yous DTS entries related to gpu? I mean: gpu node entries in sun50i-h6.dtsi gpu enabling fragment in eachlink H6 dts file (including power regulator entries it uses) thx in advance!
  13. 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!
  14. 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 support really well t720 (I've got fully working GLES UI, playback with OpenG & yv12 renderers + GLSL based shader deinterlacers: OneFileld. LinearBlend & Kernel on mythtv). Only issue I had at this moment is insufficient cooling with stock cooler - so if You launch compute intensive tasks and Yours OPP has 1.8GHz cpu clock entries - after some time bow is self-reseting due overheated CPU. Solution seems to be: -lower max CPU clock in OPP tables to 1.4GHz or -add better cooler...
  15. @jcaron Are You using mesa on t720 or mali blob?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines