-
Posts
599 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by Nick A
-
Here's some of the media patches not included in the official armbian build. I tested ffmpeg-v4l2 on my unofficial build and works with only a few frame drops. I'm compiling an image for my TV Box using the official build and these patches. I'll let you know if it works. https://github.com/NickAlilovic/build/tree/v20250306/patch/kernel/archive/warpme-6.12 0553-media-cedrus-Don-t-CPU-map-source-buffers.patch 0554-media-Add-NV12-and-P010-AFBC-compressed-formats.patch 0555-media-cedrus-add-format-filtering-based-on-depth-and.patch 0556-media-cedrus-Implement-AFBC-YUV420-formats-for-H265.patch
-
AllWinner Tvr3 box s H313 board firmware ?
Nick A replied to HerTeLden Varmi's topic in Allwinner CPU Boxes
Try these firmware images.. write them to a micro SD-card. Hold the reset button and apply power. https://github.com/NickAlilovic/build/releases/tag/20250306 -
I found the answer why it was taken out here.. Someone might need it.
-
I was adding my Transpeed TV Box patches to official Armbian using kernel 6.12.16. I got this error compiling my dts at this line. &ahub_dam_mach { status = "okay"; }; I found this was missing in the sun50i-h616.dtsi. ahub_dam_mach:ahub_dam_mach { compatible = "allwinner,sunxi-snd-mach"; soundcard-mach,name = "ahubdam"; status = "disabled"; soundcard-mach,cpu { sound-dai = <&ahub_dam_plat>; }; soundcard-mach,codec { }; };
-
Maybe this patch will make ffmpeg-v4l2 work https://github.com/NickAlilovic/build/blob/v20241125/patch/kernel/archive/sunxi-6.10/patches.armbian/0551-media-cedrus-Implement-AFBC-YUV420-formats-for-H265.patch
-
If you had a serial console we can get an android and armbian boot log. Not easy to debug errors without it.
-
@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>; };
-
@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.
-
Not sure which version you have.. I'll make a secure boot image for all 4 versions of x96q.
-
install bookworm 6.6.63 on x96q pro+ h728
Nick A replied to hamidreza h's topic in Allwinner CPU Boxes
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 -
@UnhealthyTweak warpe updated the wifi driver. I can’t test it this weekend. https://github.com/warpme/minimyth2/commit/bcb3cf537d5c6ebbd5144901cc556e0e28fbdca5
-
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
-
@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
-
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
-
@Gustavo Gurgel Try this image. Let me know if it works.. https://github.com/NickAlilovic/build/releases/tag/20250306
-
@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.
-
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.
-
@Silv3r_18 Change the armbianEnv.txt log level to 7 on your sdcard. Try to boot again.
-
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
-
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?
-
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
-
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.
-
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
-
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
