Jump to content

Nick A

Members
  • Posts

    310
  • Joined

  • Last visited

Everything posted by Nick A

  1. @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
  2. 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
  3. @Gustavo Gurgel Try this image. Let me know if it works.. https://github.com/NickAlilovic/build/releases/tag/20250306
  4. @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.
  5. 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.
  6. @Silv3r_18 Change the armbianEnv.txt log level to 7 on your sdcard. Try to boot again.
  7. 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
  8. 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?
  9. 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
  10. 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.
  11. 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
  12. 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
  13. 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.
  14. 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.
  15. 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"
  16. Did press & hold the reset button (in the AV port) before you apply power? Try using another SDcard.
  17. 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.
  18. 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.
  19. I'm pretty sure the problem is your dram detection. H313/H616?H618 has problems with dram size detection on some boards . Jernej released new patches that might fix your boot issues. https://github.com/jernejsk/u-boot/commits/a523/ https://github.com/warpme/minimyth2/commit/962ac7da6cb84d0e41826c5555cb101b70a53a8d I tried these patches on my board and it didn't work. U-Boot SPL 2025.01 (Feb 06 2025 - 15:11:12 +0100) DRAM: I also tried the latest Miniarch vontar image and it doesn't work either. Same output as above. Vontar images use to work on my box before. MiniArch-20240715-6.12.12-board-h618.vontar_h618-SD-Image.img.xz Update: There was an issue with these patches. https://oftc.irclog.whitequark.org/linux-sunxi/2025-03-03#34058621; https://github.com/warpme/minimyth2/issues/66 I tested this new fix and my transpeed tv box now boots. https://gist.github.com/warpme/0b225bfda42c7c1802b74f507c6a8bb4 @Cesar93600 I posted an updated image. https://github.com/NickAlilovic/build/releases/download/20250130/Armbian-unofficial_25.02.0-trunk_Q1_bookworm_edge_6.12.11_xfce_desktop.img.xz
  20. @Cesar93600 Here's my custom Armbian build based on 6.12 kernel and warpme patches. This is my source code. https://github.com/NickAlilovic/build/archive/refs/tags/20250130.tar.gz I renamed the image to Q1. It was transpeed after the compile was complete. https://github.com/NickAlilovic/build/releases/download/20250130/Armbian-unofficial_25.02.0-trunk_Q1_bookworm_edge_6.12.11_xfce_desktop.img.xz This is the secure boot patch I used. diff --git a/root_key.pem b/root_key.pem new file mode 100644 index 0000000000..cfffdbf247 --- /dev/null +++ b/root_key.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC4N+7DvqP4cmLP +1u9L8dQ1fVtzXxwzt6Qrn0JEMyHtQm2ZSwxOrAjyPKt9UTfEz3G5K7v7wBLzxS+n +KQWtrcwiFfAPrFK5wyEQU/z/ltfUBg4NCagvgngb38AGwdgAPZ9+Wl3cueB6XxpJ +etVlLUQtiaqGb92CyUDqZsbrNaBOOcxUxNEkAtxOHzriDC9PKRi780ntXWjp+R5Z +loDQ0SyxjnhGBPNAhEAkEHXCLhTg82JHm4tNEVi/esXfMwQRm6x/eb/p55zd/ULU +RXdxxS0j7/DPhRpync6mYJzLl7bDRrNA9DnyyC2kgWWkJ9F/QNMl3HqHTgClehTZ +MfO1tCM5AgMBAAECggEAAn6CJsCRUSFWHq6wF8OYupeBK/U6/ojDRmRP59TlyYsB +oi28fIwH/ev1ASne1L+txZ8k85qYp/uUVGjaynrng8roN8OpiZKGo14qMArf6x9S +eb2hjPfmX++vAT6jcOpkrOmDAFnf+IGDbytWPGTTxGoD5upf2PjYHnqPZQyrHY// +yAIpYtS9zjRx44iVN8olwwXXTDVe7yigAkrYvu0f4AUUv4azv68eYWXUXDN1YaWE +gtwjSOCnhuwHTJTyz6Vi40ju32zxq7rTbe09NV7LcU6CmJBy8GDv2KsNfwk+OwsI +gvz31jZ1jwyLZEGAxL/ibA0ldSAsjG3Akgw8jqG1cQKBgQDunDFVljn2uWVoBwip +QJveKIGNgVnJ6YF630JGMP4X20rkh7/9lyBJQUixlc6Z3qUcCfyKi8EJkPMLs1u+ +QSmmKnsInqp8ZkCPG0g4FZNgHkC+fIfmgO+gVNxyh+MXZNsvVVH6NtpRIfLSXeCl +aTWv4d8rIU5Tl9hDY2UhGQ7CaQKBgQDFpPEeS5hdIaqnZaJ50/V/gzrkENAFWZuP +zYqhS4RcD6dogAByjQvvNByIn5avrPz6N75qsZl5VY0TtaYe6hHehDOwKHM7CFZe +FSjSTdgi7b5jL11///9W5Eztn7L1ckZo93j2ZYLl9+PuXGAY4SRcYYOQjBBmOwmj +Qpryy2+gUQKBgCY4uuZc1BgjhoztY4PJJ66kimwiZkGjt+v4y2L3AhzMMej9ndF/ +XdqeLIjV2Gxpb8VYDC4dSOTBZU1gg7esNIG7mE2/LMwUjQ7fbegd/KeO8QwSYqqX +yMrEDTQDdGsQ6tNgNWuBUeNhLsZn505X1hPAeMEt6qAVWL0itNZibyzRAoGBALD6 +8wKa1LPImuTM6MHI4FOvckOZHn078UXC2zl1wu8hAVpdDImG7cHj2w0oQqnK8Lkq +w3MM145D4lFc3oVeOmQT46kBf7XD0Hrs3aH8HOeiFlMArewZk07+njhGQdzx2ETU +HVgeLCm7YTonM9HzgTjMBSChm2m/wfCUiuWQ78MRAoGAWAElZCjb8Dxp9z8KJ0JX +Z3d2yueOgxf3J6X+7XMW7Yv9uFOvYNI/BNT3Ii3P+u6SJpKXuQgBoDT/2FP/f8m6 +U1dMu7PHcBi3MA1IvGi6NSC+cVcIy0yYi2vYsW6lkOsDwr+HrDQWte3HjiXcIy+g +f9CFoVb4L1ILI/SBaZSV8LQ= +-----END PRIVATE KEY----- -- 2.34.1 My modified defconfig with your dram settings plus CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y for secure boot. diff --git a/configs/transpeed-8k618-t_defconfig b/configs/transpeed-8k618-t_defconfig new file mode 100644 index 0000000000..020d3974af --- /dev/null +++ b/configs/transpeed-8k618-t_defconfig @@ -0,0 +1,27 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_DEFAULT_DEVICE_TREE="sun50i-h618-transpeed-8k618-t" +CONFIG_SPL=y +CONFIG_SUNXI_DRAM_H616_LPDDR3=y +CONFIG_DRAM_CLK=600 +CONFIG_DRAM_SUN50I_H616_DX_ODT=0x06060606 +CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0d0d0d0d +CONFIG_DRAM_SUN50I_H616_CA_DRI=0x00000d0d +CONFIG_DRAM_SUN50I_H616_ODT_EN=0x00000001 +CONFIG_DRAM_SUN50I_H616_TPR0=0x0 +CONFIG_DRAM_SUN50I_H616_TPR2=0x00000000 +CONFIG_DRAM_SUN50I_H616_TPR10=0x002f3359 +CONFIG_DRAM_SUN50I_H616_TPR11=0xaa889967 +CONFIG_DRAM_SUN50I_H616_TPR12=0xeeee8979 +CONFIG_MACH_SUN50I_H616=y +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_R_I2C_ENABLE=y +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SPL_I2C=y +CONFIG_SPL_SYS_I2C_LEGACY=y +CONFIG_SYS_I2C_MVTWSI=y +CONFIG_SYS_I2C_SLAVE=0x7f +CONFIG_SYS_I2C_SPEED=400000 +CONFIG_SUPPORT_EMMC_BOOT=y +CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y +CONFIG_AXP313_POWER=y +CONFIG_AXP_DCDC3_VOLT=1360 +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y
  21. I'll make an image with your dram settings. What I find odd is your android boot log says you have DRAM: 1.5 GiB.
  22. Your android has a AXP1530 PMIC also known as AXP313a. You are trying to boot an image with AXP305 PMIC. https://linux-sunxi.org/AXP_PMICs See if this image boots. This has a AXP1530 PMIC and secure boot. https://github.com/NickAlilovic/build/releases/download/v20240726/Armbian-20240726-unofficial_24.8.0-trunk_Transpeed-8k618-t_bookworm_edge_6.7.12_xfce_desktop_SECURE_BOOT.img.tar.xz
  23. You should install a USB to TTL Serial adaptor to your UART. Your UART is clearly marked RX TX and GND on your board. I use gtkterm. "sudo gtkterm -p /dev/ttyUSB0 -s 115200". You'll see u-boot and kernel boot messages. This way you're not in the dark guessing why these images don't boot. After you post your boot logs I can help you figure out why it doesn't boot.
  24. Here’s the patch you need to compile a secure boot image
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines