Jump to content

Nick A

Members
  • Posts

    62
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Nick A got a reaction from Dmitriy Geels in How to install armbian in h618?   
    Kil and Dmitriy can you guys try MiniArch. Steps to install MiniArch can be found here.
    https://github.com/warpme/miniarch
     
    Use the Tanix_tx6s image.
    https://github.com/warpme/miniarch/releases/download/v20240209/MiniArch-20231112-6.7.4-board-h616.tanix_tx6s-SD-Image.img.xz
     
    Dmitriy you can also try these images. Your dts has axp313 but your overlay adds axp806/axp305 values.
    https://github.com/warpme/miniarch/releases/download/v20240209/MiniArch-20231112-6.7.4-board-h616.tanix_tx6s_axp313-SD-Image.img.xz
    https://github.com/warpme/miniarch/releases/download/v20240209/MiniArch-20231112-6.7.4-board-h618.vontar_h618-SD-Image.img.xz
     
    The Tanix_tx6s has a similar dts. Compare your dts with this one. 
    kernel:
    https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.6/files/0632-arm64-dts-allwinner-h616-add-Tanix-TX6s-TVbox.patch
    U-boot:
    https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/52-add-tanix-tx6s-defconfig.patch
     
    dcdca { regulator-name = "axp806-dcdca"; regulator-min-microvolt = <0x927c0>; regulator-max-microvolt = <0x173180>; regulator-step-delay-us = <0x19>; regulator-final-delay-us = <0x32>; regulator-always-on; linux,phandle = <0x01>; phandle = <0x01>; };  
    + reg_dcdca: dcdca { + regulator-always-on; + regulator-min-microvolt = <810000>; + regulator-max-microvolt = <1160000>; + regulator-name = "vdd-cpu"; + };  
    https://www.rapidtables.com/convert/number/hex-to-decimal.html
     
    min = 600000
    max = 1520000
     
    You can also compare your dram setup values with the ones in the defconfig. If you have trouble booting you can use these values. (I was able to boot vontar image even tho these values where slightly different. )
    dram_para1 { device_type = "dram_para1"; dram_clk = <0x00000288>; dram_type = <0x00000003>; dram_dx_odt = <0x03030303>; dram_dx_dri = <0x0e0e0e0e>; dram_ca_dri = <0x00001c1c>; dram_odt_en = <0x00000001>; dram_para1 = <0x000030fb>; dram_para2 = <0x00000000>; dram_mr0 = <0x00000840>; dram_mr1 = <0x00000004>; dram_mr2 = <0x00000008>; dram_mr3 = <0x00000000>; dram_mr4 = <0x00000000>; dram_mr5 = <0x00000000>; dram_mr6 = <0x00000000>; dram_mr11 = <0x00000000>; dram_mr12 = <0x00000000>; dram_mr13 = <0x00000000>; dram_mr14 = <0x00000000>; dram_mr16 = <0x00000000>; dram_mr17 = <0x00000000>; dram_mr22 = <0x00000000>; dram_tpr0 = <0xc0001305>; dram_tpr1 = <0x00000000>; dram_tpr2 = <0x00000000>; dram_tpr3 = <0x00000000>; dram_tpr6 = <0x33808080>; dram_tpr10 = <0x002f0006>; dram_tpr11 = <0xffffdddd>; dram_tpr12 = <0xfedf7657>; dram_tpr13 = <0x00000040>; }; +CONFIG_DRAM_CLK=648 . . . +CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303 +CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e +CONFIG_DRAM_SUN50I_H616_CA_DRI=0x00001c12 +CONFIG_DRAM_SUN50I_H616_ODT_EN=0x00000001 +CONFIG_DRAM_SUN50I_H616_TPR0=0xc0000c05 +CONFIG_DRAM_SUN50I_H616_TPR2=0x00000000 +CONFIG_DRAM_SUN50I_H616_TPR10=0x2f0007 +CONFIG_DRAM_SUN50I_H616_TPR11=0xffffdddd +CONFIG_DRAM_SUN50I_H616_TPR12=0xfedf7557 If you want to create your own patches and Armbian build using my github, read the post at the top of this page..
  2. Like
    Nick A got a reaction from Dmitriy Geels in How to install armbian in h618?   
    pstumbler most of my patches have come from warpme. To apply warpme's audio/video patches to Armbian I had to disable several patches from other boxes. If someone wants to modify warpme's patches to work with armbian then it shouldn't be hard to get an official build.   
     
    Kil did you do the toothpick tick correctly? 
    there’s a button in the headphone jack.., use a wooden toothpick.
    what I do is remove the power cable. 
    With the sdcard inserted.
    push the button inside the headphone jack with a toothpick. 
    plug-in the power cable holding the button for a few seconds. 
    remove the toothpick. 
    You’ll notice the box won’t boot.
    remove power cable.
     
    The next time you insert the power cable it will boot to armbian.
     
  3. Like
    Nick A got a reaction from Jleach_97 in How to install armbian in h618?   
    After you flashed the image to your sdcard. Remember to rename the wifi firmware "brcmfmac4335-sdio.bin" to "brcmfmac4335-sdio.transpeed,8k618-t.bin". Then copy both "brcmfmac4335-sdio.transpeed,8k618-t.bin" and "brcmfmac4335-sdio.txt" to /lib/firmware/brcm directory on your sdcard. I'll automate the process in future builds. 
     
    https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.bin and https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.txt
  4. Like
    Nick A got a reaction from wulfy23 in How to install armbian in h618?   
    I found the wifi firmware needed for this box. Download and rename the file to "brcmfmac4335-sdio.transpeed,8k618-t.bin". Place it in /lib/firmware/brcm.
    https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.bin
     
    Also needs the brcmfmac4335-sdio.txt. No need to rename it just place it in /lib/firmware/brcm.
    https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.txt
     
     
  5. Like
    Nick A reacted to electricworry in Orange Pi Zero 3   
    I have just tested this and HDMI audio works for me on my Orange Pi Zero 3 4GB.
  6. Like
    Nick A got a reaction from electricworry in Orange Pi Zero 3   
    I don't have your board but feel free to test out HDMI audio with my build. I think everything is in the sun50i-h616-orangepi-zero.dtsi for audio to work.
     
    https://github.com/NickAlilovic/build
  7. Like
    Nick A got a reaction from afiftyp in How to install armbian in h618?   
    I got the ethernet patch to work. You can find them here. Use the latest 6.7.9 kernel images.
     
    https://armdev.pixeldrift.net/transpeed/8k618-t/
  8. Like
    Nick A got a reaction from MR01 in How to install armbian in h618?   
    I got the ethernet patch to work. You can find them here. Use the latest 6.7.9 kernel images.
     
    https://armdev.pixeldrift.net/transpeed/8k618-t/
  9. Like
    Nick A got a reaction from hexdump in How to install armbian in h618?   
    Thanks Hexdump. You are right. I found this http://warped.inet2.org/pkg/minimyth2-garchive/u-boot-h616-v2024.01-2024.01/. Looks like the latest patches for u-boot and http://warped.inet2.org/pkg/minimyth2-garchive/linux-6.7.4/ kernel patches.
  10. Like
    Nick A got a reaction from pixdrift in How to install armbian in h618?   
    Yes! That is what I was looking at right now. Thanks iun cuim. I was stuck on the 100mbps ethernet. But it seems Warpme got it working. So I'm going to focus on his patches and see if I can get Transpeed working on Armbian. I got this TV Box a month ago and I didn't know Warpme already did most of the hard work. 
  11. Like
    Nick A reacted to iun cuim in How to install armbian in h618?   
    Owners of h616/h618 boxes can try warpme's miniarch (from github), its distribution contains the necessary patches for h616/h618, like ddr3/lpddr3/lpddr4 support, hdmi, audio, 100mbps ethernet and etc
  12. Like
    Nick A got a reaction from pixdrift in How to install armbian in h618?   
    I've been trying to find the DRAM setting for this board. I found a firmware update that might help. Got it from androidpctv.com/firmware-transpeed-h618/ . I used the firmware unpacker from xdaforums.com/t/tool-imgrepacker-livesuits-phoenixsuits-firmware-images-unpacker-packer.1753473/ .
    I used the Windows version of imgRePacker.exe to extract the boot0_nand.fex. Then read the boot0_nand.fex in linux using command hexedit boot0_nand.fex. It looks very close to the boot0 Andre Przywara used to find the DRAM settings on his board. lore.kernel.org/linux-sunxi/2123971.irdbgypaU6@jernej-laptop/ . 
     
    You can see 03 03 03 03  0E 0E 0E 0E in hexedit.   
     
    CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303 
    CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e
     
    Not sure if this will work with our board. But if we can try these settings or find another firmware for our board. We might get past the DRAM setup errors.
  13. Like
    Nick A got a reaction from pixdrift in How to install armbian in h618?   
    Hi Mag911
    Awesome, I was hoping my posts would help others with boxes based on the H618. Like ag123 pointed out. There are a lot of boxes that are similar but with different configurations. If I can post enough information and steps on how to setup these boxes we can get enough of them up and running. These boxes are now adding more RAM and larger eMMC's. I think it's a good time to support Armbian development on TV boxes. The original Android that came with this box was very basic. It wouldn't allow me to install most the apps I wanted. So I decided to hack it. 
    Is HDMI and WIFI now working on your box?
  14. Like
    Nick A got a reaction from pixdrift in How to install armbian in h618?   
    I found the wifi firmware needed for this box. Download and rename the file to "brcmfmac4335-sdio.transpeed,8k618-t.bin". Place it in /lib/firmware/brcm.
    https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.bin
     
    Also needs the brcmfmac4335-sdio.txt. No need to rename it just place it in /lib/firmware/brcm.
    https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.txt
     
     
  15. Like
    Nick A got a reaction from mag911 in How to install armbian in h618?   
    I was able to compile a custom Armbian image for the Transpeed 8k618-T TV Box.
     
    I added a patch for HDMI and it seems to work ok.
     
    Still working on WIFI.  The HK2735M wifi chip is compatible to the bcm4335. the Linux
    driver is brcmfmac, controlled by kernel config CONFIG_BRCMFMAC_SDIO and
    CONFIG_BRCMFMAC. The driver expects the firmware files under
    /lib/firmware/brcm. 
     
    If you want to build your own image or view the patches you can find it here.
    https://github.com/NickAlilovic/build
     
    I like to thank Andre Przywara. I would not of been able to get this far without his help.
  16. Like
    Nick A got a reaction from mag911 in How to install armbian in h618?   
    Using the original sun50i-h618-orangepi-zero3.dtb and the modified orangepi_zero3_defconfig (posted above) with the new DRAM setup.
     
     
  17. Like
    Nick A got a reaction from rick0cm in How to install armbian in h618?   
    I've been trying to find the DRAM setting for this board. I found a firmware update that might help. Got it from androidpctv.com/firmware-transpeed-h618/ . I used the firmware unpacker from xdaforums.com/t/tool-imgrepacker-livesuits-phoenixsuits-firmware-images-unpacker-packer.1753473/ .
    I used the Windows version of imgRePacker.exe to extract the boot0_nand.fex. Then read the boot0_nand.fex in linux using command hexedit boot0_nand.fex. It looks very close to the boot0 Andre Przywara used to find the DRAM settings on his board. lore.kernel.org/linux-sunxi/2123971.irdbgypaU6@jernej-laptop/ . 
     
    You can see 03 03 03 03  0E 0E 0E 0E in hexedit.   
     
    CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303 
    CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e
     
    Not sure if this will work with our board. But if we can try these settings or find another firmware for our board. We might get past the DRAM setup errors.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines