Jump to content

Nick A

Members
  • Posts

    518
  • Joined

  • Last visited

Everything posted by Nick A

  1. @Wan Lan Try this image.. if it doesn't work. I'll make a SECURE BOOT version. If they both don't work then you need a serial console. https://github.com/NickAlilovic/build/releases/download/20250306/Armbian-unofficial_25.05.0-trunk_X96q-lpddr3-v1-3_noble_edge_6.12.11_xfce_desktop.img.xz Your power controller is axp1530 aka axp313a pmu { compatible = "x-powers,axp1530"; reg = <0x36>; wakeup-source; linux,phandle = <0x128>; phandle = <0x128>; standby_param { vcc-dram = <0x4>; linux,phandle = <0x129>; phandle = <0x129>; }; regulators { dcdc1 { regulator-name = "axp1530-dcdc1"; I think these are your Dram Settings dram_select_para { device_type = "dram_select_para"; select_mode = <0x1>; select_gpio0 = <0x53 0x8 0xe 0x0 0x1 0xffffffff 0xffffffff>; select_gpio1 = <0x53 0x8 0xf 0x0 0x1 0xffffffff 0xffffffff>; select_gpio2 = <0x53 0x8 0x10 0x0 0x1 0xffffffff 0xffffffff>; select_gpio3; }; dram_para1 { device_type = "dram_para1"; dram_clk = <0x288>; dram_type = <0x7>; dram_dx_odt = <0x6060606>; dram_dx_dri = <0xd0d0d0d>; dram_ca_dri = <0xd0d>; dram_odt_en = <0x1>; dram_para1 = <0x30fa>; dram_para2 = <0x0>; dram_mr0 = <0x0>; dram_mr1 = <0xc3>; dram_mr2 = <0x6>; dram_mr3 = <0x1>; dram_mr4 = <0x0>; dram_mr5 = <0x0>; dram_mr6 = <0x0>; dram_mr11 = <0x0>; dram_mr12 = <0x0>; dram_mr13 = <0x0>; dram_mr14 = <0x0>; dram_mr16 = <0x0>; dram_mr17 = <0x0>; dram_mr22 = <0x0>; dram_tpr0 = <0x0>; dram_tpr1 = <0x0>; dram_tpr2 = <0x0>; dram_tpr3 = <0x0>; dram_tpr6 = <0x2fa88080>; dram_tpr10 = <0x2f3359>; dram_tpr11 = <0xaa889967>; dram_tpr12 = <0xeeee8979>; dram_tpr13 = <0x60>; }; or it could be this one. The dram_type = <0x3>; in this one and dram_type = <0x7>; above. [329]DRAM Type =? (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4) dram { compatible = "allwinner,dram"; clocks = <0xd9>; clock-names = "pll_ddr"; dram_clk = <0x288>; dram_type = <0x3>; dram_zq = <0x3f3fdd>; dram_odt_en = <0x1>; dram_para1 = <0x30fb>; dram_para2 = <0x0>; dram_mr0 = <0x840>; dram_mr1 = <0x4>; dram_mr2 = <0x8>; dram_mr3 = <0x0>; dram_tpr0 = <0xc0000007>; dram_tpr1 = <0x0>; dram_tpr2 = <0x100>; dram_tpr3 = <0x0>; dram_tpr4 = <0x0>; dram_tpr5 = <0x0>; dram_tpr6 = <0x33808080>; dram_tpr7 = <0x0>; dram_tpr8 = <0x0>; dram_tpr9 = <0x0>; dram_tpr10 = <0x2f6606>; dram_tpr11 = <0xffffdddd>; dram_tpr12 = <0xfedf7657>; dram_tpr13 = <0x40>; linux,phandle = <0x17c>; phandle = <0x17c>; device_type = "dram"; dram_dx_odt = <0x3030303>; dram_dx_dri = <0xe0e0e0e>; dram_ca_dri = <0x1c16>; dram_mr4 = <0x0>; dram_mr5 = <0x0>; dram_mr6 = <0x0>; dram_mr11 = <0x0>; dram_mr12 = <0x0>; dram_mr13 = <0x0>; dram_mr14 = <0x0>; dram_mr16 = <0x0>; dram_mr17 = <0x0>; dram_mr22 = <0x0>; };
  2. transpeed 8k 618H
  3. @Wan Lan you should install a serial console. You can see GND,TX and RX on your board. https://linux-sunxi.org/UART Also, the last Miniarch release had a bug where it would freeze trying to detect the dram size. https://github.com/NickAlilovic/build/releases/tag/20250306 my images has the dram bug fixed.
  4. Not sure which version you have.. I'll make a secure boot image for all 4 versions of x96q.
  5. 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
  6. @UnhealthyTweak warpe updated the wifi driver. I can’t test it this weekend. https://github.com/warpme/minimyth2/commit/bcb3cf537d5c6ebbd5144901cc556e0e28fbdca5
  7. Maybe these two parches will fix the issue . https://github.com/warpme/minimyth2/commit/962ac7da6cb84d0e41826c5555cb101b70a53a8d https://github.com/warpme/minimyth2/commit/2e267842b1033bbc4c2c5d80c1756a142e347cc5 More information can be found here https://oftc.irclog.whitequark.org/linux-sunxi/2025-03-03#34058621
  8. @Faheem try these images. I can’t see the AXP chip so I can’t tell you which one to try first. https://github.com/NickAlilovic/build/releases/tag/20250306
  9. Hi @UnhealthyTweak Try this build. Choose the board x98h. git clone https://github.com/NickAlilovic/build.git --branch v20250306 Wifi works using the aic8800 driver but I used the nmcli commands to connect. https://askubuntu.com/questions/377687/how-do-i-connect-to-a-wifi-network-using-nmcli nmcli device wifi connect <AP name> password <password> I think the only changes you need is your mmc0. Instead of 5 and 6 change it to 8 and 16 for both u-boot and kernel patches. cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>; /* PI16 */ https://github.com/NickAlilovic/build/blob/v20250306/patch/u-boot/u-boot-h616/171-add-x98h-defconfig.patch#L138C2-L138C70 https://github.com/NickAlilovic/build/blob/v20250306/patch/kernel/archive/warpme-6.12/2001-arm64-dts-allwinner-h618-add-x98h.patch#L169
  10. @Gustavo Gurgel Try this image. Let me know if it works.. https://github.com/NickAlilovic/build/releases/tag/20250306
  11. @Gustavo Gurgel You need an image with h616, LPDDR3 and AXP305 @javaxsousa used tanix tx6s because it already had H616 and AXP305. He just needed to change u-boot's tanix tx6s defconfig to support LPDDR3 Android boot log [3140]DRAM CLK =720 MHZ [3142]DRAM Type =7 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4) So he added these lines CONFIG_SUNXI_DRAM_LPDDR3=y CONFIG_SUNXI_DRAM_H616_LPDDR3=y He should of changed the CLK to 720 CONFIG_DRAM_CLK=258 So the new tanix_tx6s_defconfig for uboot should be CONFIG_ARM=y CONFIG_ARCH_SUNXI=y CONFIG_DEFAULT_DEVICE_TREE="allwinner/sun50i-h616-tanix-tx6s" CONFIG_DRAM_ODT_EN=y CONFIG_SPL=y CONFIG_DRAM_SUN50I_H616_ZQ=0x3f3fdd CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303 CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e CONFIG_DRAM_SUN50I_H616_CA_DRI=0x1f12 CONFIG_DRAM_SUN50I_H616_TPR0=0xc0001002 CONFIG_DRAM_SUN50I_H616_TPR6=0x33808080 CONFIG_DRAM_SUN50I_H616_TPR10=0x2f1107 CONFIG_DRAM_SUN50I_H616_TPR11=0xddddcccc CONFIG_DRAM_SUN50I_H616_TPR12=0xeddc7665 CONFIG_DRAM_SUN50I_H616_TPR13=0x40 CONFIG_DRAM_CLK=720 CONFIG_MACH_SUN50I_H616=y CONFIG_SUNXI_DRAM_LPDDR3=y CONFIG_SUNXI_DRAM_H616_LPDDR3=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_MMC_SUNXI_SLOT_EXTRA=2 CONFIG_SPL_I2C=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_SPL_SYS_I2C_LEGACY=y CONFIG_SYS_I2C_MVTWSI=y CONFIG_SYS_I2C_SLAVE=0x7f CONFIG_SYS_I2C_SPEED=100000 CONFIG_PHY_REALTEK=y CONFIG_SUN8I_EMAC=y CONFIG_I2C3_ENABLE=y #CONFIG_USB_EHCI_HCD=y #CONFIG_USB_OHCI_HCD=y I have an Armbian build with miniarch patches. https://github.com/NickAlilovic/build/tree/v20250306 git clone https://github.com/NickAlilovic/build.git --branch v20250306 You need to make an Armbian board config for your box. build/config/boards/ik316-lpddr3.tvb # Allwinner H616 TVBox with 1GB of RAM and EMMC BOARD_NAME="ik316 LPDDR3" BOARDFAMILY="sun50iw9" BOARD_MAINTAINER="" BOOTCONFIG="tanix_tx6s_defconfig" BOOT_LOGO="desktop" KERNEL_TARGET="edge" KERNEL_TEST_TARGET="edge" FORCE_BOOTSCRIPT_UPDATE="yes" OVERLAY_PREFIX="sun50i-h616" You should be able to edit the defconfig patch at the bottom of this file and add your changes. build/patch/u-boot/u-boot-h616/152-add-tanix-tx6s-defconfig.patch Also change this line @@ -0,0 +1,36 @@ to @@ -0,0 +1,32 @@ This new defconfig is only 32 lines instead of 36.
  12. Hi @lynya5 Can you test the server images and let me know which version works for you. Edit: Never mind.. I had time so I compiled ubuntu xfce for all 4 x96q versions. Remember you have a custom kernel. You need to block kernel updates with the armbian config tool.
  13. @Silv3r_18 Change the armbianEnv.txt log level to 7 on your sdcard. Try to boot again.
  14. Maybe this is the problem? https://discourse.ubuntu.com/t/mount-root-proc-cannot-mount-proc-read-only-with-lxd-5-21-2-22f93f4-from-snap/47533/1
  15. AXP806 is the same as AXP305. https://linux-sunxi.org/AXP_PMICs Try the X96Q DDR3 image above. I see you already have your serial adaptor installed. Can you post your boot logs here?
  16. Do you have a pictures of your board? Can you find the version of your AXP CHIP? If it's AXP305 then this might work. https://github.com/NickAlilovic/build/releases/download/20250306/Armbian-unofficial_25.05.0-trunk_X96q-ddr3_bookworm_edge_6.12.11_server.img.xz If not try these https://github.com/NickAlilovic/build/releases/tag/20250306
  17. If anyone wants to test my Armbian unofficial build using the latest Armbian 25.05.0 build, Kernel 6.12.11 and miniarch patches. I compiled all 4 versions of X96Q. If you need secure boot or desktop build let know. This is a work in progress so I might be updating the build often. Images: https://github.com/NickAlilovic/build/releases/tag/20250306 Sources: git clone https://github.com/NickAlilovic/build.git --branch v20250329 Remember you have a custom kernel. You need to block kernel updates with the armbian config tool.
  18. If anyone wants to test my Armbian unofficial build using the latest Armbian 25.05.0 build, Kernel 6.12.11 and miniarch patches. I compiled all 4 versions of X96Q. If you need secure boot or desktop build let know. This is a work in progress so I might be updating the build often. Images: https://github.com/NickAlilovic/build/releases/tag/20250306 Sources: git clone https://github.com/NickAlilovic/build.git --branch v20250306
  19. Hi fefpi H313 is the same as H616. You need to test images with H616 and AXP305. Here are some boards with source code that might work. Sorry you'll have to wait until the new images are released. There's a DRAM bug in the latest images. v13.9.1 U-Boot SPL 2025.01 (Feb 06 2025 - 15:11:12 +0100) DRAM: x96q ddr3 (axp313a version will not work) MiniMyth2-armv8-master-xxxxxxx-board-h313.x96_q-SD-Image.img.xz https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/151-add-x96-q-ddr3-defconfig.patch tanix-tx6s (axp313a version will not work) MiniMyth2-armv8-master-xxxxxxxxx-board-h616.tanix_tx6s-SD-Image.img.xz https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/152-add-tanix-tx6s-defconfig.patch
  20. Hey Mark, Good job on the LED Display. When I have time I'll give Jean-Francois alternative module a try. I haven't played with the remote yet. Here's a post from the H618 thread that might help you.
  21. I'm busy with another build but If anyone wants to send a PR? I don't think sicxnull would mind. A lot of the source comes from Warpme's Minimyth2 patches. https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/150-add-x96-q-lpddr3-defconfig.patch https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/151-add-x96-q-ddr3-defconfig.patch https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/159-add-x96-q-lpddr3-v1.3-defconfig.patch https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/163-add-x96-q-ddr3-v5.1-defconfig.patch Sicxnull already sent a PR for "X96Q-TVBOX-LPDDR3" branch back in august. https://github.com/armbian/build/pull/7101 Clone the Official Armbian build then add Sicxnull/Warpme changes. Send a PR.
  22. Try building an image using sicXnull's branch. git clone https://github.com/sicXnull/armbian-build.git --branch X96Q-5.1-DDR3 --single-branch Patch directory is. patch/u-boot/u-boot-sunxi/board_x96q-v5-1 He also has a branch called "X96Q-TVBOX-LPDDR3"
  23. Did press & hold the reset button (in the AV port) before you apply power? Try using another SDcard.
  24. Do you see UART messages booting Android? If not then maybe it’s a problem with the UART connections. Are your RX and TX connections swapped? Use BelenaEtcher to write your images.
  25. I think this patch will apply cleanly if you put it in the "patch/u-boot/u-boot-sunxi/board_x96q" folder. No need to add "CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y" the patch already does this for you. The "configs" folder is located in the u-boot source directory. You can find it in the armbian build "cache/sources" folder. You won't see the cache folder until you start a build. The armbian build scripts will use git to clone the u-boot sources into "cache/sources" folder. This is why the armbian build system has a patch directory. It uses these patches to overwrite source files located in your cache folder. If you wanted to create your own patch you would go into the cache and edit the sources then use git commands to create the patch. I would normally stop the build with "Ctrl c" after u-boot is downloaded and all the armbian u-boot patches are applied. Then create my u-boot patch. Patch ordering is important. You want your patch to be last. Your patch title will start with numbers or it will be in alphabetical order. The Armbian "kernel/archive/sunxi-6.x" patch directory is a little different. It uses "series.conf" and "series.armbian" to control the patch order. Plus you can ignore patches using "-" in front of the patch listed inside the two series files. Why do you need secure boot? I don't think Lancoly had secure boot issues. You should only use this secure boot patch if you don't see anything coming from your uart debug messages. If you tried the miniarch latest release v20250206 and it doesn't boot. It might be due to the dram issues I posted above. You will still see debug messages so it's important to have a USB to TTL Serial adaptor attached to your UART.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines