Jump to content

Nick A

Members
  • Posts

    447
  • Joined

  • Last visited

Everything posted by Nick A

  1. @ARx8 can you take a picture of your board so we can figure out if your wifi chip has mainline kernel drivers. You can find the gpio #’s using your dts.0.dts file. The wifi might already be detected but you are missing firmware. If you can post your dmesg.
  2. @Randlin there’s a patch for hard coded 1.5 ram detection in the official armbian build. https://github.com/armbian/build/blob/main/patch/u-boot/v2025-sunxi/0009-sunxi-h616-dram-support-1.5GB-RAM-size.patch
  3. I have some issue trying to build a new image. [🌱] artifact [ armbian-base-files :: armbian-base-files() ] jq: error: syntax error, unexpected '/', expecting $end (Unix shell quoting issues?) at <top-level>, line 1: /home/nick/Desktop/build/.tmp/work-3ba39b3b-774c-4ca7-9727-9091c1861a2f/tmp.UXcUDUX3m2 jq: 1 compile error [🚸] Could not find package filename for 'base-files' in distro repo [ looking for base-files, found_package_filename is ] [🚸] Command failed, retrying in 15s [ apt_find_upstream_package_version_and_download_url base-files ] jq: error: syntax error, unexpected '/', expecting $end (Unix shell quoting issues?) at <top-level>, line 1: /home/nick/Desktop/build/.tmp/work-3ba39b3b-774c-4ca7-9727-9091c1861a2f/tmp.E4L2MRkv6o jq: 1 compile error [🚸] Could not find package filename for 'base-files' in distro repo [ looking for base-files, found_package_filename is ] [🚸] Command failed, retrying in 15s [ apt_find_upstream_package_version_and_download_url base-files ] jq: error: syntax error, unexpected '/', expecting $end (Unix shell quoting issues?) at <top-level>, line 1: /home/nick/Desktop/build/.tmp/work-3ba39b3b-774c-4ca7-9727-9091c1861a2f/tmp.GvFd0v7vHh jq: 1 compile error If you restart the build with the same options it continues where the build left off and compiles fine. [🌱] artifact [ armbian-base-files :: armbian-base-files() ] [🌱] Found upstream base-files package filename [ base-files_12.4+deb12u11_arm64.deb ] [🌱] Found base-files upstream package version [ 12.4+deb12u11 ] [🌱] Getting ORAS manifest [ ORAS manifest from ghcr.io/armbian/os/armbian-base-files-bookworm-arm64:1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa ] [🌱] Artifact is available in remote cache [ ghcr.io/armbian/os/armbian-base-files-bookworm-arm64:1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa - 'armbian-base-files-bookworm-arm64 - 1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa - Armbian armbian-base-files original bookworm version "12.4+deb12u11" framework bash hash "aa17ac95f5df03a9" - type: deb' ] [🌱] Obtaining artifact from remote cache [ ghcr.io/armbian/os/armbian-base-files-bookworm-arm64:1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa into base-files_1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa_arm64.deb ] ✓ Pulled base-files_1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa_arm64.deb 51.6/51.6 kB 100.00% 11ms └─ sha256:0fdb605bead0a6b686964f17e6cd33b487c94c32b01abdff64a72b9ec12590ec ✓ Pulled application/vnd.oci.image.manifest.v1+json 901/901 B 100.00% 222µs └─ sha256:4ab7c71e4c8dd5f07c15499186dab687550c9237898f4e9fa99d72e76e232549 [🔨] Pulled [registry] ghcr.io/armbian/os/armbian-base-files-bookworm-arm64:1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa [🔨] Digest: sha256:4ab7c71e4c8dd5f07c15499186dab687550c9237898f4e9fa99d72e76e232549 [💖] artifact [ obtained from remote cache: armbian-base-files-bookworm-arm64 1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa ] [🌱] Reversioning package [ re-version 'armbian-base-files-bookworm-arm64(deb)::1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa' to '25.05.0-trunk-12.4+deb12u11-bookworm' ] [🔨] removed '/home/nick/Desktop/build/output/packages-hashed/extra/bookworm-utils/base-files_1-bookworm-1armbian1-Baa17-U12.4--deb12u11-R55fa_arm64.deb' log-build-b4214f74-4d03-4030-9e38-7a16d2e86846.log
  4. You can find the dram config options here. https://elixir.bootlin.com/u-boot/v2025.07-rc2/source/arch/arm/mach-sunxi/Kconfig if DRAM_SUN50I_H616 config DRAM_SUNXI_DX_ODT hex "DRAM DX ODT parameter" help DX ODT value from vendor DRAM settings. config DRAM_SUNXI_DX_DRI hex "DRAM DX DRI parameter" help DX DRI value from vendor DRAM settings. config DRAM_SUNXI_CA_DRI hex "DRAM CA DRI parameter" help CA DRI value from vendor DRAM settings. config DRAM_SUNXI_ODT_EN hex "DRAM ODT EN parameter" default 0x1 help ODT EN value from vendor DRAM settings. config DRAM_SUNXI_TPR0 hex "DRAM TPR0 parameter" default 0x0 help TPR0 value from vendor DRAM settings. config DRAM_SUNXI_TPR2 hex "DRAM TPR2 parameter" default 0x0 help TPR2 value from vendor DRAM settings. config DRAM_SUNXI_TPR6 hex "DRAM TPR6 parameter" default 0x3300c080 help TPR6 value from vendor DRAM settings. config DRAM_SUNXI_TPR10 hex "DRAM TPR10 parameter" help TPR10 value from vendor DRAM settings. It tells which features should be configured, like write leveling, read calibration, etc. config DRAM_SUNXI_TPR11 hex "DRAM TPR11 parameter" default 0x0 help TPR11 value from vendor DRAM settings. config DRAM_SUNXI_TPR12 hex "DRAM TPR12 parameter" default 0x0 help TPR12 value from vendor DRAM settings.
  5. Have you tried running sunxi-fw with the boot image you used to extract the dts? The boot image you posted is a U-Boot FIT image. It doesn't have the dram information we are looking for. I believe mmcblk0boot0 is the correct boot image but the one you uploaded didn't work with sunxi-fw. Also, I found this in your dts. Maybe these settings will work. To make sure these settings are correct I prefer to get the dram settings using the sunxi-fw tool. dram { compatible = "allwinner,dram"; clocks = <0xda>; clock-names = "pll_ddr"; dram_clk = <0x288>; dram_type = <0x07>; dram_zq = <0x3f3fdd>; dram_odt_en = <0x9988eeee>; dram_para1 = <0x30fa>; dram_para2 = <0x1000>; dram_mr0 = <0x00>; dram_mr1 = <0xc3>; dram_mr2 = <0x06>; dram_mr3 = <0x01>; dram_tpr0 = <0x00>; dram_tpr1 = <0x00>; dram_tpr2 = <0x00>; dram_tpr3 = <0x00>; dram_tpr4 = <0x00>; dram_tpr5 = <0x00>; dram_tpr6 = <0x2fc08080>; dram_tpr7 = <0x00>; dram_tpr8 = <0x00>; dram_tpr9 = <0x00>; dram_tpr10 = <0x402f3379>; dram_tpr11 = <0xd100b0f>; dram_tpr12 = <0x11131113>; dram_tpr13 = <0x80060>; linux,phandle = <0x183>; phandle = <0x183>; device_type = "dram"; dram_dx_odt = <0x6060606>; dram_dx_dri = <0xd0d0d0d>; dram_ca_dri = <0x1919>; dram_mr4 = <0x00>; dram_mr5 = <0x00>; dram_mr6 = <0x00>; dram_mr11 = <0x00>; dram_mr12 = <0x00>; dram_mr13 = <0x00>; dram_mr14 = <0x00>; dram_mr16 = <0x00>; dram_mr17 = <0x00>; dram_mr22 = <0x00>; }; The dram clock is in hex you'll need to convert this value to decimal. https://www.rapidtables.com/convert/number/hex-to-decimal.html
  6. Actually in that post it was about downloading the boot_a partition. Then extracting the dts.. you can skip the dts extraction part for now. We need your boot_a partition. also that’s not the android dts you posted. It has some info but not all of it.
  7. This post should help extracting your boot.img from android. That’s if your box is already rooted.
  8. AXP1530 is the same as AXP313a. Take a look at the link I posted above. You could use this tool to extract your dram settings from an android update or boot0.bin. https://github.com/apritzel/sunxi-fw sunxi-fw info -v boot0.bin
  9. H313/H616/H618 are pretty much the same SOC. It’s the AXP power management IC that’s different. Also RAM and WIFi chips are usually different. https://linux-sunxi.org/AXP_PMICs
  10. Your tv stick probably has secure boot enabled. You can compile a secure boot image using these steps.
  11. Try the Transpeed, vontar, x98h orTanix-acp313 images. There might be few other boxes that use axp313 chip in the list.
  12. Can you tell me the axp### numbers on the chip? I can’t see it in your pictures. Try these images.. maybe you’ll find one that boots https://github.com/NickAlilovic/build/releases/tag/20250306
  13. If you are having trouble with hardware decoding. You need to disable the compositor. Follow jock’s setup instructions in the link below. Use this command to restart xfwm4 with compositor disabled. killall xfwm4 && xfwm4 --compositor=off &
  14. I already have that patch. I use the same Ethernet phy on other boxes and it works fine. I don’t have your box so it’s hard for me to debug it. Maybe if you compare sicknull board config uboot and kernel patches with mine you might find the problem. https://github.com/NickAlilovic/build/blob/v20250306/patch/u-boot/u-boot-h616/100-sunsi-add-h616-internal-eth-phy-support.patch or if someone can send me a box I’ll add proper support.
  15. @Trauma try this image. Let me know if wifi and ethernet work. https://github.com/NickAlilovic/build/releases/download/20250306/Armbian-unofficial_25.05.0-trunk_X98h_bookworm_edge_6.12.11_xfce_desktop.img.xz
  16. 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.
  17. @svyatoslav freeze the kernel updates using the armbian-config tool.
  18. @San Dich Huu sure if it’s not needed. Go ahead and delete them.
  19. 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.
  20. @jwillb00 I can’t think of anything else. I’ll try to compile another image when I have time.
  21. @jwillb00 I have a newer build with kernel 6.14. https://github.com/NickAlilovic/build/tree/v20250407 Also, if you choose to change the kernel configuration using the build system it will screw up the kernel configuration file. I think it leaves out the configs from the patches. For example ac200 phy needed for Ethernet. https://github.com/NickAlilovic/build/blob/v20250306/patch/kernel/archive/warpme-6.12/0505-net-phy-Add-support-for-AC200-EPHY.patch I edit the configuration file using a text editor and add the modules manually.
  22. @jwillb00In this patch. Try changing 16 to 0. In both locations. Maybe I uploaded the image with these changes. https://github.com/NickAlilovic/build/blob/v20250306/patch/u-boot/u-boot-h616/153-add-tanix_tx6s_axp313_defconfig.patch +&mdio1 { + rmii_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; +
  23. For Ethernet maybe this will fix your problem. The X98H also has the same wifi chip. https://github.com/NickAlilovic/build/blob/v20250306/patch/kernel/archive/warpme-6.12/2001-arm64-dts-allwinner-h618-add-x98h.patch +&mmc1 { + vmmc-supply = <&reg_vcc3v3>; + bus-width = <4>; + non-removable; + max-frequency = <35000000>; + status = "okay"; + + wlan: wifi@1 { + reg = <1>; + }; +};
  24. No, that won’t work. This is a Armbian Linux forum. If you need android support try xda forums.
  25. @jwillb00 there’s a drop down menu on the first page. You’ll see “main” as the first option. Select “v20250306” that’s my more recent and stable release. you can clone my build using git command. git clone https://github.com/NickAlilovic/build.git -branch v20250306 kernel config is located here. Edit the configuration manually. https://github.com/NickAlilovic/build/blob/v20250306/config/kernel/linux-sunxi64-edge.config To compile a new image use the commands cd build ./compile.sh choose "Do not change kernel configuration" choose "Show CSC/WIP/EOS/TVB" choose "I understand and agree" choose "tanix-tx6s-axp313" choose "edge" rest is up to you. Your image should be in output/images directory.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines