Jump to content

Recommended Posts

Posted

@Nick A using the @rafman image that he previously posted (Armbian-unofficial_24.11.0-trunk_X96q-v5-1_bookworm_current_6.6.44_mate_desktop.img.xz), on the same card, the tv box boots from the sdcard just fine.

I am assuming that the image that is being generated by the compile.sh script from the oficial repo, has some kind of problem.

 

Anyway, i will try pushing the button on the AV port, with my image, just to eliminate that possibility.

 

Thanks

Posted (edited)

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" 

 

Edited by Nick A
Posted

Hi @Nick A,

 

So i just happened to do exactly that.

I used sicXnull's branch and tvbox is finally booting from the sdcard, running my custom image.

Didn't have to apply your patch.

 

Any thoughts on merging @sicxnull branch into armbian official codebase?

 

Thanks for your help

Posted (edited)
Posted (edited)

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

 

 

Edited by Nick A
Posted (edited)

Hi @Nick A!

I will test it for sure.

 

On another subject, i found my dmesg filled with these messages: 
image.png.4b13bcb71e383d21f2a956c77eb9de5e.png

These happen on sub second as you may notice.

I am worried that this issue will eventually kill my EMMC...

 

Anyone else seeing this behavior?

Edited by Blackenz
Posted (edited)

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.

Edited by Nick A
Posted
Цитата

Never mind.. I had time so I compiled ubuntu xfce for all 4 x96q versions.

Hi Nick A. Thank you very much for building xfce. I will test it and write back later. Thanks

Posted

I have both an H616 and an H313 (the latter is not pictured). I've tested nearly every X96Q Armbian build as well as Miniarch, but they have all resulted in issues such as a black screen, no HDMI output, or booting directly into Android.

 

image.png.cbdf198364f2366d1fe7cf12ede7defb.pngimage.png.07ccfa88d2d9064ffd4c4fe1db3d9980.png

Posted (edited)

@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>;
	};

 

Edited by Nick A
Posted

Hello every one) Have anybody solved the problem with dram CPU: Allwinner H616 (SUN50I) Model: hechuang, x96-q LPDDR3 v1.3
DRAM: 2 GiB (effective 0 Bytes)) if yes could you please share appropriate image? The one mentioned above is not available anymore(

Posted
U-Boot SPL 2025.01-armbian-2025.01-S6d41-P7151-H8869-V98f7-Bb703-R448a-dirty (Apr 02 2025 - 21:19:05 -0400)
DRAM:testing 32-bit width, rank = 2
DRAM:Store cfg
DRAM:1st writing pattern
DRAM:detecting column address bits
detected 10 columns
DRAM:restore cfg
DRAM:reconfigure for all active rows
DRAM:store cfg
DRAM:2nd writing pattern
DRAM:detecting row address bits
detected 15 rows
DRAM:restoring cfg
DRAM:end of auto detect dram size
MBUS port 0 cfg0 0100000d cfg1 00640080
MBUS port 1 cfg0 06000009 cfg1 01000578
MBUS port 2 cfg0 0200000d cfg1 00600100
MBUS port 3 cfg0 01000009 cfg1 00500064
MBUS port 4 cfg0 20000209 cfg1 1388157c
MBUS port 5 cfg0 00640209 cfg1 00200040
MBUS port 6 cfg0 00640209 cfg1 00200040
MBUS port 8 cfg0 01000009 cfg1 00400080
MBUS port 11 cfg0 01000009 cfg1 00640080
MBUS port 14 cfg0 04000009 cfg1 00400100
MBUS port 16 cfg0 2000060d cfg1 09600af0
MBUS port 21 cfg0 0800060d cfg1 02000300
MBUS port 22 cfg0 01000009 cfg1 00640080
MBUS port 25 cfg0 0064000f cfg1 00200040
MBUS port 26 cfg0 20000209 cfg1 1388157c
MBUS port 37 cfg0 01000009 cfg1 00400080
MBUS port 38 cfg0 00640209 cfg1 00200040
MBUS port 39 cfg0 20000209 cfg1 1388157c
MBUS port 40 cfg0 00640209 cfg1 00200040
 2048 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.14(debug):armbian
NOTICE:  BL31: Built : 18:07:43, Apr  2 2025
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0b2520, model: hechuang,x96-q LPDDR3 v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    PMIC: Probing AXP305 on RSB
ERROR:   RSB: set run-time address: 0x10003
INFO:    Could not init RSB: -65539
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9
INFO:    Changed devicetree.
ns16550_serial serial@5000000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19


U-Boot 2025.01-armbian-2025.01-S6d41-P7151-H8869-V98f7-Bb703-R448a-dirty (Apr 02 2025 - 21:19:05 -0400) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: hechuang,x96-q LPDDR3 v1.3
DRAM:  2 GiB (effective 0 Bytes)

I`h tried all available images for x96q from https://github.com/NickAlilovic/build/releases/tag/20250306 but no luck.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines