Jump to content

Nick A

Members
  • Posts

    453
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Nick A got a reaction from Алексей Торопов in How to install armbian in h618?   
    Delete the cache and output folder. Try again.
  2. Like
    Nick A got a reaction from dale in How to install armbian in h618?   
    @dale
    git clone https://github.com/NickAlilovic/build.git --branch v20251014
  3. Like
    Nick A got a reaction from dale in How to install armbian in h618?   
    @dale Sure, I'll upload what have so far. Need help debugging it. 
  4. Like
    Nick A got a reaction from going in How to install armbian in h618?   
    @emor acid You could use the armbian build system to create patches https://docs.armbian.com/Developer-Guide_Build-Commands/#rewrite-uboot-patches. I like to use the git commands and make my own patches.
     
    git clone https://github.com/NickAlilovic/build.git --branch v20250306
    cd build
    ./compile.sh
    choose "Do not change kernel configuration"
    choose "Show CSC/WIP/EOS/TVB"
    choose "I understand and agree"
    choose "x98h"
    choose "edge"
    rest is up to you.
     

     
    Stop the build after the kernel patches are applied in the middle of the kernel build. Use "ctrl c" keys.
    ctrl c
     
    Patch your u-boot dts.
    cd cache/sources/u-boot-worktree/u-boot/v2025.01
    sudo pico dts/upstream/src/arm64/allwinner/sun50i-h618-x98h.dts
     
    Delete this.
    ethernet0 = &emac1; &emac1 { pinctrl-names = "default"; pinctrl-0 = <&rmii_pins>; phy-mode = "rmii"; phy-handle = <&rmii_phy>; phy-supply = <&reg_aldo1>; allwinner,rx-delay-ps = <3100>; allwinner,tx-delay-ps = <700>; status = "okay"; }; &mdio1 { rmii_phy: ethernet-phy@16 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <16>; }; };  
    Add this
    ethernet0 = &emac0; ethernet1 = &emac1; &emac0 { compatible = "allwinner,sun50i-h616-emac"; pinctrl-names = "default"; pinctrl-0 = <&ext_rgmii_pins>; phy-mode = "rgmii"; phy-handle = <&ext_rgmii_phy>; phy-supply = <&reg_gmac_3v3>; phy-io-supply = <&reg_dldo1>; allwinner,rx-delay-ps = <3100>; allwinner,tx-delay-ps = <700>; status = "okay"; }; &mdio0 { ext_rgmii_phy: ethernet-phy@1 { /* rtl8211F compatible string for mdio and phy */ compatible = "ethernet-phy-id001c.c916"; reg = <1>; reset-assert-us = <20000>; reset-deassert-us = <100000>; reset-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>; /* PI16 */ }; }; &emac1 { compatible = "allwinner,sunxi-gmac"; status = "disabled"; }; &mdio1 { rmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; }; }; sudo git add dts/upstream/src/arm64/allwinner/sun50i-h618-x98h.dts
    sudo git commit
     
    This opens up an editor. First line is your Title. The rest is your description. Remember to save when you are done.
     
    Title
    Description
     
    sudo git format-patch -1
     
    Your new patch.
    0001-Title.patch
     
    Rename 0001-Title.patch to 172-Title.patch
    Copy your patch into the build/patch/u-boot/u-boot-h616 directory.
     
     
     
    Patch your kernel dts.
    cd cache/sources/linux-kernel-worktree/6.12__sunxi64__arm64
    sudo pico arch/arm64/boot/dts/allwinner/sun50i-h618-x98h.dts
    Same changes as above. sudo git add arch/arm64/boot/dts/allwinner/sun50i-h618-x98h.dts
    sudo git commit
     
    Title
    Description
     
    sudo git format-patch -1
     
    Rename 0001-Title.patch to 2002-Title.patch.
    Copy your patch into the build/patch/kernel/archive/warpme-6.12 directory.
     
  5. Like
    Nick A got a reaction from emor acid in How to install armbian in h618?   
    @emor acid could be your gpio settings for mmc0. Try the x98h image. If that doesn’t work you need to extract your android dts or use the one from the working Ubuntu.
  6. Like
    Nick A reacted to SteeMan in mxq pro 4k 5g allwinner h313 can't sd card boot   
    There are probably 20 different CPUs that have cortex a53 (cpus from Allwinner, Rockchip and Amlogic).  TV box manufacturers all the time will use different CPUs in TV boxes that have the same external markings.  Which ever component is the cheapest at the time of manufacture is what gets used.  The only way to really be sure what you have is to look at the chip on the board (but even then there are cases where chip markings have been altered to make you think you have something else).  Welcome to the world of TV boxes (and why Armbian doesn't support them officially because they are a mess).
  7. Like
    Nick A got a reaction from Ducdanh Nguyen in mxq pro 4k 5g allwinner h313 can't sd card boot   
    @Ducdanh Nguyen without a axp chip I’m pretty sure you don’t have a h313. You’re going to have research your box on your own. Sorry but I’m too busy. 
  8. Like
    Nick A got a reaction from Ducdanh Nguyen in mxq pro 4k 5g allwinner h313 can't sd card boot   
    @Ducdanh Nguyen it should work. 
    https://developer.android.com/tools/adb
  9. Like
    Nick A got a reaction from MaxT in Armbian for H313 X96-Q LPDDR3 TV-Box   
    Glade to see you back @sicxnull. Thanks for the shoutout! Tried my best while you were gone. I don’t own one of these boxes. But I guess it doesn’t matter which one I get because theirs so many variations of the same box.
  10. Like
    Nick A got a reaction from Ducdanh Nguyen in mxq pro 4k 5g allwinner h313 can't sd card boot   
    @Ducdanh Nguyen I don’t write the mainline linux kernel or patches. You should ask the sunxi developers or Piotr Oniszczuk aka warpme.

    Allwinner does not support open source mainline Linux. Most of the work is reversed engineered by a very few smart people that give their free time to Linux community.
     
    Android uses a very old modified Linux kernel so it takes a lot of work to update drivers. Sometimes these drivers have no source code or documentation.

    tv boxes are a whole different beast. Components are cheap. If you buy the same model tv box they might have different wifi, memory, emmc chips and sometimes the cpu is not allwinner at all.
     
    if you want to have a perfect running tv box you’ll need to learn how to tweak the dts and edit the Linux kernel source code.

    https://oftc.catirclogs.org/linux-sunxi/2025-08-24
     
    https://github.com/warpme
  11. Like
    Nick A got a reaction from Trung Nguyễn in How can be porting armbian for X98H - Allwinner H618 Quadcore Cortex - A53   
    @Trung Nguyễn 
    git clone https://github.com/NickAlilovic/build.git --branch v20250306
    cd build
    ./compile.sh
    choose "Do not change kernel configuration"
    choose "Show CSC/WIP/EOS/TVB"
    choose "I understand and agree"
    choose "x98h"
    choose "edge"
    rest is up to you.
     
    Your image should be in output/images directory.

  12. Like
    Nick A got a reaction from Ducdanh Nguyen in mxq pro 4k 5g allwinner h313 can't sd card boot   
    Connect using 5037
  13. Like
    Nick A got a reaction from Trung Nguyễn in How can be porting armbian for X98H - Allwinner H618 Quadcore Cortex - A53   
    Try this image https://github.com/NickAlilovic/build/releases/download/20250306/Armbian-unofficial_25.05.0-trunk_X98h_bookworm_edge_6.12.11_xfce_desktop.img.xz
  14. Like
    Nick A got a reaction from dale in How to install armbian in h618?   
    @dale there’s a new patch to fix boards without external 32k clock. I haven’t tested it yet. 
     
    https://github.com/warpme/minimyth2/commit/728a14a73924e349fe88fb4def7e5f50a79aed5c
  15. Like
    Nick A got a reaction from Ducdanh Nguyen in mxq pro 4k 5g allwinner h313 can't sd card boot   
    Start reading here.. 
  16. Like
    Nick A got a reaction from Ducdanh Nguyen in mxq pro 4k 5g allwinner h313 can't sd card boot   
    @Ducdanh Nguyen @ccs1664 is correct.. there’s a lot of information on that thread and the x96q threads to get your box running. I have to post the same advice over and over again.
     
    The last thread you posted in. I gave instructions to get your dram settings and dts. Have you extracted them?
     
    it could be possible that you have secure boot.
  17. Like
    Nick A got a reaction from Randlin in Armbian for H313 X96-Q LPDDR3 TV-Box   
    Your tv stick probably has secure boot enabled. You can compile a secure boot image using these steps.
     
     
  18. Like
    Nick A got a reaction from Pita Bread in TX95 Max - Allwinner H618 Quadcore Cortex - A53   
    Hi Mark,
    Try this image. First extract the image. Then use balenaEtcher software to write the image onto your SD card.
     
    A toothpick can be used to trigger FEL mode on an TX95 Max by pressing the FEL button on the PCB with the non-conductive tool. The FEL button is located inside the 3.5 mm headphone socket. To trigger FEL mode, press the button while the device is booting.
     
    https://etcher.balena.io/#download-etcher
    https://github.com/NickAlilovic/build/releases/download/20241125/Armbian-20241125-unofficial_24.11.0-trunk_Transpeed-8k618-t_bookworm_edge_6.10.10_xfce_desktop.tar.gz
     
     
  19. Like
    Nick A got a reaction from Алексей Торопов in How to install armbian in h618?   
    Try adding this patch
    https://github.com/armbian/build/blob/main/patch/kernel/archive/rockchip64-6.12/wifi-4003-add-bcm43342-chip.patch
     
    Download my v20250306 branch. Move the patch to the kernel patch directory.  /build/patch/kernel/archive/warpme-6.12
    Choose "edge" build for kernel 6.12.
     
  20. Like
    Nick A got a reaction from San Dich Huu in install bookworm 6.6.63 on x96q pro+ h728   
    git clone https://github.com/NickAlilovic/build.git --branch Radxa-A5E
    cd build
    nano config/boards/x96q-pro-plus.csc
    # Allwinner Cortex-A55 octa core 2/4GB RAM SoC USB3 USB-C 2x GbE BOARD_NAME="x96q pro plus" BOARDFAMILY="sun55iw3" BOARD_MAINTAINER="" BOOTCONFIG="x96q_pro_plus_defconfig" OVERLAY_PREFIX="sun55i-a527" BOOT_LOGO="desktop" KERNEL_TARGET="edge" function post_family_tweaks__x96q-pro-plus() { display_alert "Applying wifi firmware" pushd "$SDCARD/lib/firmware" ln -s "aic8800/SDIO/aic8800D80" "aic8800_sdio" # use armbian-firmware popd } ./compile.sh
    Do not change kernel configuration
    Show CSC/WIP/EOS/TVB
    I understand and agree
    choose your board x96q-pro-plus
    edge
    whatever distro you want
    server or desktop 
  21. Like
    Nick A got a reaction from sicxnull in Armbian for H313 X96-Q LPDDR3 TV-Box   
    Glade to see you back @sicxnull. Thanks for the shoutout! Tried my best while you were gone. I don’t own one of these boxes. But I guess it doesn’t matter which one I get because theirs so many variations of the same box.
  22. Like
    Nick A got a reaction from Alfi ciio in How to install armbian in h618?   
    @kvvvp try this
    sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
    sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
  23. Like
    Nick A got a reaction from kvvvp in How to install armbian in h618?   
    @kvvvp try this
    sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
    sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
  24. Like
    Nick A got a reaction from firepower in How to install armbian in h618?   
    @firepower
    Vontar has a different kernel dts name. 
    U-boot:
    sun50i-h616-vontar-h618.dts
    Kernel:
    sun50i-h618-vontar-h618.dts
     
    So in your board config add this at the bottom.
    function post_family_config_branch_edge__different_dtb_for_edge() {     declare -g BOOT_FDT_FILE="allwinner/sun50i-h618-vontar-h618.dtb"     display_alert "$BOARD" "Using ${BOOT_FDT_FILE} for ${BRANCH}" "info" }  
  25. Like
    Nick A got a reaction from firepower in How to install armbian in h618?   
    Warpme's patches has 4 usb nodes enabled. I had to do the same on one of my boards.
     
    https://github.com/NickAlilovic/build/blob/v20250329/config/boards/transpeed-8k618-t.csc
    Instead of making patches you could create a Armbian board config for your Tanix TX6s. All you have to do is change the BOARD_NAME="Tanix TX6s AXP313",  BOOTCONFIG="tanix_tx6s_axp313_defconfig" and file name. This will allow you compile warpme patches below. You can do the same for Vontar. 
     
    https://github.com/NickAlilovic/build/blob/v20250329/patch/u-boot/u-boot-h616/153-add-tanix_tx6s_axp313_defconfig.patch
    https://github.com/NickAlilovic/build/blob/v20250329/patch/kernel/archive/warpme-6.12/0646-arm64-dts-allwinner-h616-add-Tanix-TX6s-axp313-TVbox.patch
    +&ehci0 { + status = "okay"; +}; + +&ehci1 { + status = "okay"; +}; + +&ehci2 { + status = "okay"; +}; + +&ehci3 { + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + +&ohci3 { + status = "okay"; +};  
    https://github.com/NickAlilovic/build/blob/v20250329/patch/u-boot/u-boot-h616/160-add-vontar-h618-defconfig.patch
    https://github.com/NickAlilovic/build/blob/v20250329/patch/kernel/archive/warpme-6.12/0649-arm64-dts-allwinner-h618-add-vontar-h618-TVbox.patch
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines