Jump to content

Recommended Posts

Posted (edited)

 Hi, @Nick A .I used the repository at https://github.com/armbian/build/to compile (./compile.sh build BOARD=x96q BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=bookworm) the image. Except for WiFi and Bluetooth not working properly, everything else runs fine on the SD card. When using ddbr to back up the Android system, it freezes after a few seconds. Using armbian-install also causes it to freeze, and afterward, I can't boot into the Android system anymore. Below is my device's dts.

dtb dtb.0 dtb.0.dts dtb.0.dts.yaml

Edited by ARx8
Posted
14 hours ago, ARx8 said:

Hi, @Nick A .I used the repository at https://github.com/armbian/build/to compile (./compile.sh build BOARD=x96q BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=bookworm) the image. Except for WiFi and Bluetooth not working properly, everything else runs fine on the SD card. When using ddbr to back up the Android system, it freezes after a few seconds. Using armbian-install also causes it to freeze, and afterward, I can't boot into the Android system anymore. Below is my device's dts.
你好,@Nick A。我使用了 https://github.com/armbian/build 的仓库来编译(./compile.sh build BOARD=x96q BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=bookworm)镜像。除了 WiFi 和蓝牙无法正常工作外,其他功能在 SD 卡上运行一切正常。使用 ddbr 备份 Android 系统时,几秒后会卡住。使用 armbian-install 也会导致卡住,之后就无法再进入 Android 系统了。以下是我的设备的 dts 文件。

dtb dtb.0 dtb.0.dts dtb.0.dts.yaml

Edited 3 hours ago by ARx8  编辑于 ARx8

@Nick A Thank you

Posted (edited)

@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.
 

 

Edited by Nick A
Posted (edited)

Hello, I have x96q2 H313 2/16 board v4.0 ram k4b2g0446c hyh9 and apx305. I tried all img, and no one worked on my TV box. Mb u can help me, how I can build img for my board? I need sd card version armbian or arch Linux (not emmc installation)

IMG_20250811_131836.thumb.jpg.81cc67b6df15e1ef177953aadf11743d.jpgIMG_20250811_035609.thumb.jpg.5879e44bfc0b9d33a49988062f5c10e5.jpg

Edited by jdie
Posted (edited)
8 hours ago, Nick A said:

@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.

@rafaeldavid My device appears to have the same problem as yours. What was your fix?
@Nick AThanks!  The chips on the motherboard include H313, AXP313A, KMQN10006B-B318, and EA6521QF (Wi-Fi + BT chip).
I have the Linux driver package for this Wi-Fi chip. this Wi-Fi chip (EA6521QF) likely isn't supported by mainline Linux kernel.I’ll figure out how to integrate it later when I need to use Wi-Fi.

Using Wi-Fi is not the most important thing; the key is that I want to install it into the eMMC instead of booting from the SD card. May I ask what modifications I need to make to the original Armbian project code based on the dts I provided to ensure stable read/write operations on the eMMC without crashes?
Moreover, I've already tried using a different TF card. These same cards work fine when installing to eMMC on my other X96Q (DDR v5.1), but they keep freezing up on this device.。

IMG_20250806_1.jpg

IMG_20250806_2.jpg

IMG_20250807_3.jpg

dmesg.txt

Edited by ARx8
add dmesg
Posted

Unfortunately that patch has not made a significant difference in how far it boots. It does detects 1.5gb in startup now but then detect 2gb later once uboot dts loads and then halts as usual:

Spoiler

U-Boot SPL 2025.01-armbian-2025.01-S6d41-Pc657-H8869-V004f-Bb703-R448a-dirty (Aug 12 2025 - 15:25:01 +0000)
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
DRAM base address is defined as 0x40000000
DRAM has 15 b/raw, 10 b/col, 4 B/width, 2 #rank and 8 #bank
DRAM top address must be less than 0x80000000
DRAM top address must be less than 0x60000000
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
DRAM: 1536 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.14(debug):armbian
NOTICE:  BL31: Built : 20:20:28, Aug  7 2025
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0b2520, model: hechuang,x96-q LPDDR3
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-Pc657-H8869-V004f-Bb703-R448a-dirty (Aug 12 2025 - 15:25:01 +0000) Allwinner Technology

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

 

Posted (edited)

Oh sorry I forgot… you can add the secure boot patch but compiling minimyth2 might take awhile.

 

or you can copy over minimyth2 latest uboot patches. 

https://github.com/warpme/minimyth2/tree/master/script/bootloaders/u-boot-aw/files

 

these patches are for uboot version 2025.04. So you need to change the version number here.

https://github.com/NickAlilovic/build/blob/v20250306/config/sources/families/include/sunxi64_common.inc

declare -g BOOTBRANCH="${BOOTBRANCH:-"tag:v2025.01"}"

Edited by Nick A
Posted

I've been doing some research/reading and I see that this was a problem before with a somewhat similar box with 1.5gb ram: 

I will try copying the patches over, thank you for all your help so far!

Posted (edited)

Orange pi zero 3 with 1.5g had the same problem too.. I think they used the 1.5g hardcoded patch to fix it. You might have to remove the newer ram size detection patch. I haven’t updated warpme patches in awhile so I’m hoping this bug has been fixed.

Edited by Nick A
Posted (edited)

Hello, I tried Armbian-unofficial_24.11.0-trunk_X96q_bookworm_current_6.6.44_mate_desktop.img on my TV box x96q2 H313 2/16 board v4.0 ram k4b2g0446c hyh9,  axp305. And I get the message:
 

[60]HELLO! BOOT0 is starting May 13 2020 14:05:42!
[65]BOOT0 commit : 593cf83
[68]set pll start
[70]periph0 has been enabled
[73]set pll end
[75]unknow PMU
[77]PMU: AXP806
[84]vaild para:8  select dram para0
[87]board init ok
[89]DRAM BOOT DRIVE INFO: V0.52
[92]the chip id is 0x5c00
[95]chip id check OK
[97]DRAM_VCC set to 1500 mv
[100]DRAM CLK =600 MHZ
[102]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[108]Actual DRAM SIZE =2048 M
[111]DRAM SIZE =2048 MBytes, para1 = 30fb, para2 = 8000000, dram_tpr13 = 6041
[124]DRAM simple test OK.
[127]rtc standby flag is 0x0, super standby flag is 0x0
[132]dram size =2048
[134]*****dram handle ok****
[138]card no is 2
[140]sdcard 2 line count 8
[142][mmc]: mmc driver ver 2019-12-19 10:41
[147][mmc]: set f_max to 50M, set f_max_ddr to 50M
[152][mmc]: mmc 2 bias 4
[160][mmc]: ***Try MMC card 2***
[191][mmc]: MMC 5.0
[193][mmc]: HSDDR52/DDR50 8 bit
[196][mmc]: 50000000 Hz
[198][mmc]: 15028 MB
[200][mmc]: ***SD/MMC 2 init OK!!!***
[267]Loading boot-pkg Succeed(index=0).
[271]Entry_name        = u-boot
[280]Entry_name        = monitor
[284]Entry_name        = dtb
[288]tunning data addr:0x4a0003e8
[291]Jump to second Boot.
NOTICE:  BL3-1: v1.0(debug):9fecd83
NOTICE:  BL3-1: Built : 17:08:29, 2020-05-28
NOTICE:  BL3-1 commit: 8
ERROR:   Error initializing runtime service tspd_fast
NOTICE:  BL3-1: Preparing for EL3 exit to normal world
NOTICE:  BL3-1: Next image address = 0x4a000000
NOTICE:  BL3-1: Next image spsr = 0x1d3

U-Boot 2018.05-00003-gb6e8ff6-dirty (Jul 21 2020 - 10:23:22 +0800) Allwinner Technology

[00.370]CPU:   Allwinner Family
[00.373]Model: sun50iw9
I2C:   ready
[00.378]DRAM:  2 GiB
[00.381]Relocation Offset is: 75ec5000
[00.423]secure enable bit: 0
[00.425]pmu_axp152_probe pmic_bus_read fail
[00.429]PMU: AXP806
[00.433]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[00.441]drv_disp_init
[00.472]__clk_enable: clk is null.
[00.478]drv_disp_init finish
[00.480]gic: sec monitor mode
[00.510]flash init start
[00.512]workmode = 0,storage type = 2
[00.515]MMC:	 2
[00.517]get mem for descripter OK !
[00.526]get sdc2 sdc_boot0_sup_1v8 fail.
[00.530]io is 1.8V

[00.574]already at HSSDR52_SDR25 mode
[00.577]sunxi flash init ok
[00.581]Loading Environment from SUNXI_FLASH... OK
[00.591]usb burn from boot
delay time 0
weak:otg_phy_config
[00.605]usb prepare ok
[01.408]overtime
[01.412]do_burn_from_boot usb : no usb exist
[01.416]boot_gui_init:start
FAT: Misaligned buffer address (bbe839d8)
34 bytes read in 4 ms (7.8 KiB/s)
[01.546]boot_gui_init:finish
[01.549]bmp_name=bootlogo.bmp
3686456 bytes read in 27 ms (130.2 MiB/s)
[01.590]hsddr 2-50000000
[01.592]hs200 5-200000000
[01.594]hs400 4-150000000
[01.596]get max-frequency ok 100000000 Hz
[01.600]0 0 0: 0 0 0
[01.605]update dts
** Unrecognized filesystem type **
[01.614]load file(ULI/factory/rootwait init.txt) error.
** Unrecognized filesystem type **
[01.626]load file(ULI/factory/snum.txt) error.
[01.630]name in map mac
** Unrecognized filesystem type **
[01.640]load file(ULI/factory/wifi_mac.txt) error.
** Unrecognized filesystem type **
[01.652]load file(ULI/factory/bt_mac.txt) error.
** Unrecognized filesystem type **
[01.663]load file(ULI/factory/selinux.txt) error.
** Unrecognized filesystem type **
[01.675]load file(ULI/factory/specialstr.txt) error.
[01.685]update part info
[boot efex] set misc : boot efex
[01.742]mmc exit start
[01.800]mmc 2 exit ok
[61]HELLO! BOOT0 is starting May 13 2020 14:05:42!
[66]BOOT0 commit : 593cf83
[69]set pll start
[72]periph0 has been enabled
[75]set pll end
[76]unknow PMU
[78]PMU: AXP806
[85]vaild para:8  select dram para0
[88]board init ok
[90]rtc[2] value = 0x5aa5a55a
[93]eraly jump fel

If i try MiniArch-20240715-6.16.0-board-h313.x96_q-SD-Image.img or MiniMyth2-armv8-master-14.3.0.r502-board-h313.x96_q-SD-Image.img, any version, nothing happens or I get the message "DRAM: DRAM setup is currently not supported". I need SD-card version. But at this point any option will do. Maybe someone has encountered such problems? What are the options for solving the problems of the sicxnull version or miniarch/minimyth2 version?

 

UPD1:

When boot android get this message:
 

U-Boot 2018.05-00003-gb6e8ff6-dirty (Jul 21 2020 - 10:23:22 +0800) Allwinner Technology

[00.374]CPU:   Allwinner Family
[00.377]Model: sun50iw9
I2C:   ready
[00.381]DRAM:  2 GiB
[00.384]Relocation Offset is: 75ec5000
[00.426]secure enable bit: 0
[00.428]pmu_axp152_probe pmic_bus_read fail
[00.433]PMU: AXP806
[00.436]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[00.445]drv_disp_init
[00.475]__clk_enable: clk is null.
[00.481]drv_disp_init finish
[00.484]gic: sec monitor mode
[00.514]flash init start
[00.516]workmode = 0,storage type = 2
[00.520]MMC:	 2
[00.521]get mem for descripter OK !
[00.530]get sdc2 sdc_boot0_sup_1v8 fail.
[00.535]io is 1.8V

[00.578]already at HSSDR52_SDR25 mode
[00.582]sunxi flash init ok
[00.585]Loading Environment from SUNXI_FLASH... OK
[00.595]usb burn from boot
delay time 0
weak:otg_phy_config
[00.608]usb prepare ok
[01.411]overtime
[01.415]do_burn_from_boot usb : no usb exist
[01.419]boot_gui_init:start
FAT: Misaligned buffer address (bbe839d8)
34 bytes read in 4 ms (7.8 KiB/s)
[01.549]boot_gui_init:finish
[01.552]bmp_name=bootlogo.bmp
3686456 bytes read in 26 ms (135.2 MiB/s)
[01.592]hsddr 2-50000000
[01.594]hs200 5-200000000
[01.597]hs400 4-150000000
[01.599]get max-frequency ok 100000000 Hz
[01.603]0 0 0: 0 0 0
[01.608]update dts
** Unrecognized filesystem type **
[01.617]load file(ULI/factory/rootwait init.txt) error.
** Unrecognized filesystem type **
[01.629]load file(ULI/factory/snum.txt) error.
[01.633]name in map mac
** Unrecognized filesystem type **
[01.643]load file(ULI/factory/wifi_mac.txt) error.
** Unrecognized filesystem type **
[01.654]load file(ULI/factory/bt_mac.txt) error.
** Unrecognized filesystem type **
[01.665]load file(ULI/factory/selinux.txt) error.
** Unrecognized filesystem type **
[01.677]load file(ULI/factory/specialstr.txt) error.
[01.687]update part info
[01.705]update bootcmd
[01.707]No ethernet found.
Hit any key to stop autoboot:  0 
[01.912]Starting kernel ...

[01.915]mmc exit start
[01.955]mmc 2 exit ok
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.170 (yxt-rd01@yxtrd01-Super-Server) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 SMP PREEMPT Tue Aug 11 11:46:00 CST 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] bootconsole [earlycon0] enabled
[    0.027881] BOOTEVENT:        27.865165: ON
[    0.272767] sunxi_i2c_probe()2209 - [i2c3] warning: failed to get regulator id
[    0.273865] sunxi_i2c_probe()2209 - [i2c5] warning: failed to get regulator id
[    0.329453] acx00_i2c_probe,l:282
[    0.329625] [ac200] pwm is NULL! Just initialize it.
[    0.330443] [ac200] pwm enable
[    0.330477] [ac200] pwm is initialized
[    0.330570] acx00_init_work,l:130
[    0.331310] acx00_init_work,l:137
[    0.331964] sunxi_i2c_do_xfer()1935 - [i2c5] incomplete xfer (status: 0x20, dev addr: 0x10)
[    0.337604] [ac200] get ave_regulator_name failed!
[    0.433136] failed to get standby led pin assign
�[    0.438711] uart uart1: get regulator failed
[    0.472391] [NAND][NE] Not found valid nand node on dts
[    0.481160] sunxi-wlan soc@03000000:wlan: get gpio chip_en failed
[    0.488059] sunxi-wlan soc@03000000:wlan: get gpio power_en failed
[    0.628738] hci: request ohci1-controller gpio:232
[    0.820154] axp2101_pek: axp2101-pek can not register without irq
[    0.830567] sunxi_ir_startup: get ir protocol failed
[    0.838951] VE: get debugfs_mpp_root is NULL, please check mpp
[    0.838951] 
[    0.847219] VE: sunxi ve debug register driver failed!
[    0.847219] 
[    0.863567] mmc:failed to get gpios
[    0.941205] mmc:failed to get gpios
[    0.977947] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    0.985169] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    0.991622] [sunxi_internal_codec_probe]:get audio vcc3v3-audio failed
[    0.999399] [audio-codec]dachpf_cfg configurations missing or invalid.
[    1.006781] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    1.012748] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    1.018656] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    1.024570] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    1.030494] lineout_vol:26, linein_gain:3, fmin_gain:3, digital_vol:0, adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:0, dachpf_cfg:0, ramp_func_used:1, pa_msleep_time:160, pa_ctl_level:0, gpio-spk:0
[    1.054863] sndhdmi sndhdmi: ASoC: CPU DAI (null) not registered
[    1.061670] sndhdmi sndhdmi: snd_soc_register_card() failed: -517
[    1.071222] sunxi-ahub-cpudai 5097000.cpudai3-controller: ahub cpudai id invalid
[    1.106837] ERROR: pinctrl_get for HDMI2.0 DDC fail
[    1.117004] tv_probe()1435 - of_property_read_string tv_power failed!
[    1.125383] tv_probe()1435 - of_property_read_string tv_power failed!
[    1.206317] cpu cpu1: opp_list_debug_create_link: Failed to create link
[    1.213841] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12)
[    1.221465] cpu cpu2: opp_list_debug_create_link: Failed to create link
[    1.228930] cpu cpu2: _add_opp_dev: Failed to register opp debugfs (-12)
[    1.236533] cpu cpu3: opp_list_debug_create_link: Failed to create link
[    1.243985] cpu cpu3: _add_opp_dev: Failed to register opp debugfs (-12)
[    1.720606] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=1
[    1.720606] 
[    1.738732] selinux: avc:  denied  { set } for  scontext=u:r:vendor_init:s0 tcontext=u:object_r:dalvik_prop:s0 tclass=property_service permissive=1
[    1.738732] 
[    2.612742] FAT-fs (mmcblk0p15): bogus number of reserved sectors
console:/ $ [    3.576869] apexd: Failed to walk /product/apex : Can't open /product/apex for reading : No such file or directory
[   23.395613] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR EBE !!
[   23.402157] sunxi-mmc sdc2: send  manual stop command failed
[   23.408822] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.415284] sunxi-mmc sdc2: send  manual stop command failed
[   23.421941] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.428371] sunxi-mmc sdc2: send  manual stop command failed
[   23.434993] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.441482] sunxi-mmc sdc2: send  manual stop command failed
[   23.448162] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.454568] sunxi-mmc sdc2: send  manual stop command failed
[   23.461302] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.467781] sunxi-mmc sdc2: send  manual stop command failed
[   23.474538] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.481019] sunxi-mmc sdc2: send  manual stop command failed
[   23.487675] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.494198] sunxi-mmc sdc2: send  manual stop command failed
[   23.500841] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.507332] sunxi-mmc sdc2: send  manual stop command failed
[   23.514122] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.520545] sunxi-mmc sdc2: send  manual stop command failed
[   23.527260] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.533644] sunxi-mmc sdc2: send  manual stop command failed
[   23.540345] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.546834] sunxi-mmc sdc2: send  manual stop command failed
[   23.553468] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.559989] sunxi-mmc sdc2: send  manual stop command failed
[   23.566662] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.573213] sunxi-mmc sdc2: send  manual stop command failed
[   23.579913] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.586323] sunxi-mmc sdc2: send  manual stop command failed
[   23.593095] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.599558] sunxi-mmc sdc2: send  manual stop command failed
[   23.606250] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.612690] sunxi-mmc sdc2: send  manual stop command failed
[   23.619407] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.625931] sunxi-mmc sdc2: send  manual stop command failed
[   23.632651] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.639072] sunxi-mmc sdc2: send  manual stop command failed
[   23.645837] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.652267] sunxi-mmc sdc2: send  manual stop command failed
[   23.658998] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.665391] sunxi-mmc sdc2: send  manual stop command failed
[   23.672094] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.678624] sunxi-mmc sdc2: send  manual stop command failed
[   23.685264] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.691785] sunxi-mmc sdc2: send  manual stop command failed
[   23.698528] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.704983] sunxi-mmc sdc2: send  manual stop command failed
[   23.711782] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.718228] sunxi-mmc sdc2: send  manual stop command failed
[   23.724966] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.731523] sunxi-mmc sdc2: send  manual stop command failed
[   23.738173] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.744671] sunxi-mmc sdc2: send  manual stop command failed
[   23.751325] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.757815] sunxi-mmc sdc2: send  manual stop command failed
[   23.764544] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.770973] sunxi-mmc sdc2: send  manual stop command failed
[   23.777730] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.784162] sunxi-mmc sdc2: send  manual stop command failed
[   23.790915] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.797446] sunxi-mmc sdc2: send  manual stop command failed
[   23.804129] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.810694] sunxi-mmc sdc2: send  manual stop command failed
[   23.817380] sunxi-mmc sdc2: smc 0 p2 err, cmd 25, WR RTO !!
[   23.823873] sunxi-mmc sdc2: send  manual stop command failed
[   23.830352] sunxi-mmc sdc2: retry:set phase failed or over retry times
[   23.837856] sunxi-mmc sdc2: retry:give up
[   23.842667] sunxi-mmc sdc2: smc 0 p2 err, cmd 13, RTO !!
[   23.848689] mmcblk0: error -110 sending status command, retrying
[   23.855588] sunxi-mmc sdc2: smc 0 p2 err, cmd 13, RTO !!
[   23.861791] mmcblk0: error -110 sending status command, retrying
[   23.868690] sunxi-mmc sdc2: smc 0 p2 err, cmd 13, RTO !!
[   23.874711] mmcblk0: error -110 sending status command, aborting
[   23.881640] sunxi-mmc sdc2: smc 0 p2 err, cmd 6, RTO !!
[   23.887737] sunxi-mmc sdc2: smc 0 p2 err, cmd 6, RTO !!
[   23.893705] sunxi-mmc sdc2: smc 0 p2 err, cmd 6, RTO !!
[   23.899646] sunxi-mmc sdc2: smc 0 p2 err, cmd 6, RTO !!
[   23.905557] mmc0: cache flush error -110
[   34.483900] binder_alloc: 2990: binder_alloc_buf, no vma
[   38.465719] apexd: Can't open /product/apex for reading : No such file or directory
[   40.933841] binder: unexpected work type, 4, not freed
[   59.496340] binder: unexpected work type, 4, not freed
[   73.682650] audit: rate limit exceeded
[   74.543261] binder_alloc: 5395: binder_alloc_buf, no vma
[   75.490661] binder: unexpected work type, 4, not freed

 

Edited by jdie
Posted

@Nick A I wonder why android loading stops when the sd card with linux is in the tv box. And when loading the sd card, as I wrote earlier, I see the message "U-Boot SPL 2024.01-armbian-2024.01-S866c-P6135-Ha9af-V6d37-Bda0a-R448a (Sep 19 2024 - 19:48:11 -0400) This DRAM setup is currently not supported. resetting ... ". I am not a super pro user and I don’t know some things. I was looking for the usual answer myself, but after 7 days of searching and popping up I decided to write here. Maybe this will help me in my situation. All the answers I found are for TV boxes v1.3, v5.1 v3.0. No one with v4.0 has seen how I felt about the version and how the boxes and components can differ greatly.

Posted (edited)

“This DRAM setup is currently not supported. resetting “
 

You need to extract your boot0 and use sunxi-fw to read your dram settings.

sunxi-fw info -v boot0.bin
 

Go back one page.

Edited by Nick A
Posted

So I copied the patches from Minimyth2 to your Armbian and it built, however it is now detecting 2gb ram lol.... Will try to see if I can find a way to hardcode 1.5gb

 

Spoiler

U-Boot SPL 2025.04-armbian-2025.04-S3482-P27c6-H8869-V004f-Bb703-R448a-dirty (Aug 12 2025 - 22:26:59 +0000)
DRAM:testing 32-bit width, rank = 2
Store cfg
1st writing pattern
detected 10 columns
restore cfg
reconfigure for all active rows
store cfg
2nd writing pattern
detecting row address bits
detected 15 rows
restoring cfg
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
=> md.l 0x047FA000
047fa000: 80000000 000009f4 0e40ff00 0000018f
047fa010: 00000010 00103040 00000000 00000000
047fa020: ffffffff 000007ff 0000ffff 00000000
047fa030: 00000000 00000000 00000000 00000000
047fa040: 00000000 00000000 00000000 00000000
047fa050: 00000000 00000000 00000000 00000000
047fa060: 00000000 00000000 00000000 00000000
047fa070: 00000000 00000000 00000000 00000000
047fa080: 00000000 00000000 00000000 00000000
047fa090: 00000000 00000000 00000000 ffff0002
047fa0a0: 00000000 00000000 00000000 00000000
047fa0b0: 00000000 00000000 00000000 00000000
047fa0c0: 00000000 00000000 00000000 00000000
047fa0d0: 00000000 00000000 00000000 00000000
047fa0e0: 00000000 00000000 00000000 00000000
047fa0f0: 00000000 00000000 00000000 00000000
047fa100: 00000000 00000000 00000000 00000000
047fa110: 00000000 00000000 00000000 00000000
047fa120: 00000000 00000000 00000000 00000000
047fa130: 00000000 00000000 00000000 00000000
047fa140: 00000000 00000000 00000000 00000000
047fa150: ffffffff ffffffff ffffffff ffffffff
047fa160: 00000000 00000000 00000000 00000000
047fa170: 00000000 00000000 00000000 00000000
047fa180: 00000000 00000000 00000000 00000000
047fa190: 00000000 00000000 00000000 00000000
047fa1a0: 00000000 00000000 00000000 00000000
047fa1b0: 00000000 00000000 00000000 00000000
047fa1c0: 00000000 00000000 00000000 00000000
047fa1d0: 00000000 00000000 00000000 00000000
047fa1e0: 00000000 00000000 00000000 00000000
047fa1f0: 00000000 00000000 00000000 00000000
047fa200: 00010000 00000000 00000000 00000000
047fa210: 0100000d 00640080 00000004 00000000
047fa220: 06000009 01000578 00000004 00000000
047fa230: 0200000d 00600100 00000000 00000000
047fa240: 01000009 00500064 00000000 00000000
047fa250: 20000209 1388157c 00000004 00000000
047fa260: 00640209 00200040 00000000 00000000
047fa270: 00640209 00200040 00000000 00000000
047fa280: 00000000 00000000 00000000 00000000
047fa290: 01000009 00400080 00000000 00000000
047fa2a0: 00000000 00000000 00000000 00000000
047fa2b0: 00000000 00000000 00000000 00000000
047fa2c0: 01000009 00640080 00000004 00000000
047fa2d0: 00000000 00000000 00000000 00000000
047fa2e0: 00000000 00000000 00000000 00000000
047fa2f0: 04000009 00400100 00000004 00000000
047fa300: 00000000 00000000 00000000 00000000
047fa310: 2000060d 09600af0 00000004 00000000
047fa320: 00000000 00000000 00000000 00000000
047fa330: 00000000 00000000 00000000 00000000
047fa340: 00000000 00000000 00000000 00000000
047fa350: 00000000 00000000 00000000 00000000
047fa360: 0800060d 02000300 00000004 00000000
047fa370: 01000009 00640080 00000004 00000000
047fa380: 00000000 00000000 00000000 00000000
047fa390: 00000000 00000000 00000000 00000000
047fa3a0: 0064000f 00200040 00000004 00000000
047fa3b0: 00000000 00000000 00000000 00000000
047fa3c0: 00000000 00000000 00000000 00000000
047fa3d0: 00000000 00000000 00000000 00000000
047fa3e0: 00000000 00000000 00000004 00000000
047fa3f0: 00000000 00000000 00000000 00000000
047fa400: 00000000 00000000 00000000 00000000
047fa410: 00000000 00000000 00000000 00000000
047fa420: 00000000 00000000 00000000 00000000
047fa430: 00000000 00000000 00000000 00000000
047fa440: 00000000 00000000 00000000 00000000
047fa450: 00000000 00000000 00000000 00000000
047fa460: 00000000 00000000 00000000 00000000
047fa470: 00000000 00000000 00000000 00000000
047fa480: 00000000 00000000 00000000 00000000
047fa490: 00640209 00200040 00000000 00000000
047fa4a0: 00000000 00000000 00000000 00000000
047fa4b0: 00000000 00000000 00000000 00000000
047fa4c0: 00000000 00000000 00000000 00000000
047fa4d0: 00000000 00000000 00000000 00000000
047fa4e0: 00000000 00000000 00000000 00000000
047fa4f0: 00000000 00000000 00000000 00000000
047fa500: 01000130 00000000 00000000 00000000
047fa510: 00000000 00000000 00000000 00000000
=> md.l 0x047FB000
047fb000: c3040008 00000001 00000001 00008100
047fb010: 00000030 00000301 00000000 00000000
047fb020: 00000000 00800000 00000001 00000001
047fb030: 00000000 00402010 00000000 00000000
047fb040: 00000000 00000000 00000000 00000000
047fb050: 00210000 00000000 00000000 00000000
047fb060: 00000000 00270045 00270045 00270045
047fb070: 00270045 00270045 00270045 00270045
047fb080: 00270045 00270045 00270045 00270045
047fb090: 00270045 00270045 00270045 00270045
047fb0a0: 00270045 00270045 00270045 00270045
047fb0b0: 00270045 00270045 00270045 00270045
047fb0c0: 00000000 00001000 00001000 00010001
047fb0d0: 004f0112 00420000 00000d05 0083001c
047fb0e0: 00010000 00100004 00000000 00000000
047fb0f0: 00000000 0000066f 0000066f 0000066f
047fb100: 1011140e 00030317 04070d0c 0050500c
047fb110: 08020409 04040503 02020005 00000202
047fb120: 04041003 00020208 000e0c05 440c021c
047fb130: 00000008 0a100002 00000058 00000000
047fb140: 00000000 00000000 00000000 00000000
047fb150: 00000000 00000000 00000000 00000000
047fb160: 00000000 00000000 00000000 00000000
047fb170: 00000000 00000000 00000000 00000000
047fb180: c2000040 02000100 00000000 00000000
047fb190: 028c8006 00100202 07000000 00000000
047fb1a0: c0400003 00010001 80000000 80000000
047fb1b0: 00000000 00000202 00000000 00000001
047fb1c0: 00000001 00000001 00000001 00000001
047fb1d0: 00000001 00000001 00000001 00000001
047fb1e0: 00000001 00000001 00000001 00000001
047fb1f0: 00000001 00000001 00000001 00000001
047fb200: 00000016 00080808 00000000 00000000
047fb210: 00001f1f 07070707 0f070707 00000f0f
047fb220: 00003f3f 00000000 00000000 00000000
047fb230: 00000000 00000000 00000000 00000000
047fb240: 09020400 00000303 00000303 00000303
047fb250: 00003005 00000000 00000000 0f000001
047fb260: 0f000001 0f00007f 0f00007f 0f00007f
047fb270: 0f00007f 0f00007f 0f00007f 0f00007f
047fb280: 0f00007f 0f00007f 0f00007f 0f00007f
047fb290: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2a0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2b0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2c0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2d0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2e0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2f0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb300: 00000000 00000000 36000000 00000000
047fb310: 00000000 00000000 00000000 00000000
047fb320: 00000001 00000001 00000001 00000001
=> md.l 0x04800000
04800000: 0000009f 000000ab 00000088 00000000
04800010: 00000000 0000000e 00000000 00000008
04800020: 0000000f 00000000 00000000 00000000
04800030: 00000000 00000000 00000024 0000003f
04800040: 0000000e 0000000e 00000007 00000007
04800050: 00000001 00000080 00000037 00000016
04800060: 00000029 00000000 00000020 00000040
04800070: 00000000 00000010 00000000 00000000
04800080: 00000000 00000000 00000000 00000000
04800090: 00000000 00000000 00000000 0000003f
048000a0: 00000020 00000000 00000011 000000ff
048000b0: 000000ff 00000000 00000088 00000013
048000c0: 00000018 00000006 00000000 00000005
048000d0: 00000004 00000003 00000009 00000002
048000e0: 00000008 00000001 0000000a 0000000b
048000f0: 0000000c 0000000d 0000000e 0000000f
04800100: 00000010 00000011 00000012 00000013
04800110: 00000014 00000015 00000016 00000007
04800120: 00000017 00000019 0000001a 00000000
04800130: 00000000 00000001 00000000 000000e4
04800140: 00000000 00000006 00000041 00000000
04800150: 00000032 0000007f 00000040 00000000
04800160: 00000000 00000000 00000000 00000000
04800170: 00000000 00000000 00000000 00000000
04800180: 00000016 00000000 00000000 00000000
04800190: 00000000 00000000 0000000a 00000000
048001a0: 00000000 00000000 00000000 00000000
048001b0: 00000000 00000000 00000000 00000000
048001c0: 00000001 00000047 00000001 00000047
048001d0: 00000000 0000001f 00000000 00000001
048001e0: 0000000b 00000004 00000022 00000004
048001f0: 00000022 00000000 00000000 00000000
04800200: 00000001 00000047 00000001 00000047
04800210: 00000000 0000001f 00000000 00000001
04800220: 0000000b 00000004 00000022 00000004
04800230: 00000022 00000000 00000000 00000000
04800240: 00000000 00000000 00000000 00000000
04800250: 00000000 00000000 00000007 00000007
04800260: 00000007 00000007 00000000 00000002
04800270: 000000da 00000002 000000e2 00000000
04800280: 00000001 00000047 00000001 00000047
04800290: 00000000 0000001f 00000000 00000001
048002a0: 0000000b 00000004 00000022 00000004
048002b0: 00000022 00000000 00000000 00000000
048002c0: 00000001 00000047 00000001 00000047
048002d0: 00000000 0000001f 00000000 00000001
048002e0: 0000000b 00000004 00000022 00000004
048002f0: 00000022 00000000 00000000 00000000
04800300: 00000000 00000000 00000000 00000000
04800310: 00000000 00000000 00000007 00000007
04800320: 00000007 00000007 00000000 00000002
04800330: 000000da 00000002 000000d2 00000000
04800340: 00000019 00000019 00000019 00000019
04800350: 00000000 00000000 00000000 0000000e
04800360: 00000000 00000008 0000000e 00000000
04800370: 00000008 0000000e 00000000 00000008
04800380: 00000000 00000006 0000000d 0000000d
04800390: 00000022 0000000a 00000000 00000000
048003a0: 00000000 00000000 00000000 00000000
048003b0: 00000000 00000000 00000000 00000000
048003c0: 00000000 00000006 0000000d 0000000d
048003d0: 00000022 0000000a 00000000 00000080
048003e0: 00000000 00000000 00000000 00000000
048003f0: 00000000 00000000 00000000 00000000
04800400: 00000000 00000006 0000000d 0000000d
04800410: 00000022 0000000a 00000000 00000000
04800420: 00000000 00000000 00000000 00000000
04800430: 00000000 00000000 00000000 00000000
04800440: 00000000 00000006 0000000d 0000000d
04800450: 00000022 0000000a 00000000 00000080
04800460: 00000000 00000000 00000000 00000000
04800470: 00000000 00000000 00000000 00000000
04800480: 00000013 0000000f 00000013 0000000f
04800490: 00000013 0000000f 00000013 0000000f
048004a0: 00000013 0000000f 00000013 0000000f
048004b0: 00000013 0000000f 00000013 0000000f
048004c0: 00000013 0000000f 0000001c 00000010
048004d0: 00000010 00000011 0000000b 00000011
048004e0: 0000000b 00000011 0000000b 00000011
048004f0: 0000000b 00000011 0000000b 00000011
04800500: 0000000b 00000011 0000000b 00000011
04800510: 0000000b 00000011 0000000b 0000001c
04800520: 00000010 00000010 0000001c 0000001c
04800530: 00000000 00000000 00000000 00000000
04800540: 00000013 0000000f 00000013 0000000f
04800550: 00000013 0000000f 00000013 0000000f
04800560: 00000013 0000000f 00000013 0000000f
04800570: 00000013 0000000f 00000013 0000000f
04800580: 00000013 0000000f 0000001c 00000010
04800590: 00000010 00000011 0000000b 00000011
048005a0: 0000000b 00000011 0000000b 00000011
048005b0: 0000000b 00000011 0000000b 00000011
048005c0: 0000000b 00000011 0000000b 00000011
048005d0: 0000000b 00000011 0000000b 0000001c
048005e0: 00000010 00000010 0000001c 0000001c
048005f0: 00000000 00000000 00000000 00000000
04800600: 00000013 00000010 00000013 00000010
04800610: 00000013 00000010 00000013 00000010
04800620: 00000013 00000010 00000013 00000010
04800630: 00000013 00000010 00000013 00000010
04800640: 00000013 00000010 0000001c 00000012
04800650: 00000012 00000011 0000000d 00000011
04800660: 0000000d 00000011 0000000d 00000011
04800670: 0000000d 00000011 0000000d 00000011
04800680: 0000000d 00000011 0000000d 00000011
04800690: 0000000d 00000011 0000000d 0000001c
048006a0: 00000012 00000012 0000001c 0000001c
048006b0: 00000000 00000000 00000000 00000000
048006c0: 00000013 00000010 00000013 00000010
048006d0: 00000013 00000010 00000013 00000010
048006e0: 00000013 00000010 00000013 00000010
048006f0: 00000013 00000010 00000013 00000010
04800700: 00000013 00000010 0000001c 00000012
04800710: 00000012 00000011 0000000d 00000011
04800720: 0000000d 00000011 0000000d 00000011
04800730: 0000000d 00000011 0000000d 00000011
04800740: 0000000d 00000011 0000000d 00000011
04800750: 0000000d 00000011 0000000d 0000001c
04800760: 00000012 00000012 0000001c 0000001c
04800770: 00000000 00000000 00000000 00000000
04800780: 0000000e 0000000e 0000000e 0000000e
04800790: 0000000e 0000000e 0000000e 0000000e
048007a0: 0000000e 0000000e 0000000e 0000000e
048007b0: 0000000e 0000000e 0000000e 0000000e
048007c0: 0000000e 0000000e 0000000e 0000000e
048007d0: 0000000e 0000000e 00000012 00000012
048007e0: 00000012 0000000e 00000006 0000000e
048007f0: 0000000e 00000012 00000006 0000000e
04800800: 00000055 0000000f 0000000f 0000001f
04800810: 0000001f 00000000 00000000 00000055
04800820: 00000007 00000007 00000000 00000000
04800830: 00000000 00000000 0000005a 0000003c
04800840: 00000000 00000000 00000000 00000000
04800850: 00000000 00000000 00000000 00000000
04800860: 00000000 00000000 00000000 00000000
04800870: 00000000 00000000 00000000 00000000
04800880: 00000000 00000000 00000000 00000000
04800890: 00000000 00000000 00000000 00000000
048008a0: 00000000 00000000 00000000 00000000
048008b0: 00000000 00000000 00000000 00000000
048008c0: 00000000 00000000 00000000 00000000
048008d0: 00000000 00000000 00000000 00000000
048008e0: 00000000 00000000 00000000 00000000
048008f0: 0000003f 0000003f 0000003f 0000003f
04800900: 0000003f 0000003f 0000003f 0000003f
04800910: 0000003f 0000003f 0000003f 0000003f
04800920: 0000003f 0000003f 0000003f 0000003f
04800930: 0000003f 0000003f 00000000 00000000
04800940: 00000000 00000000 00000000 00000000
04800950: 00000000 00000000 00000000 00000000
04800960: 00000000 00000000 00000000 00000000
04800970: 00000000 00000000 00000000 00000000
04800980: 00000000 00000000 00000000 00000000
04800990: 00000000 00000000 00000000 00000000
048009a0: 00000000 00000000 00000000 00000000
048009b0: 00000000 00000000 00000000 00000000
048009c0: 00000000 00000000 00000000 00000000
048009d0: 00000000 00000000 00000000 00000000
048009e0: 00000000 00000000 00000000 00000000
048009f0: 00000000 00000000 00000000 00000000
04800a00: 00000055 0000000f 0000000f 0000001f
04800a10: 0000001f 00000000 00000000 00000055
04800a20: 00000007 00000007 00000000 00000000
04800a30: 00000000 00000000 0000005a 0000003c
04800a40: 00000000 00000000 00000000 00000000
04800a50: 00000000 00000000 00000000 00000000
04800a60: 00000000 00000000 00000000 00000000
04800a70: 00000000 00000000 00000000 00000000
04800a80: 00000000 00000000 00000000 00000000
04800a90: 00000000 00000000 00000000 00000000
04800aa0: 00000000 00000000 00000000 00000000
04800ab0: 00000000 00000000 00000000 00000000
04800ac0: 00000000 00000000 00000000 00000000
04800ad0: 00000000 00000000 00000000 00000000
04800ae0: 00000000 00000000 00000000 00000000
04800af0: 0000003f 0000003f 0000003f 0000003f
04800b00: 0000003f 0000003f 0000003f 0000003f
04800b10: 0000003f 0000003f 0000003f 0000003f
04800b20: 0000003f 0000003f 0000003f 0000003f
04800b30: 0000003f 0000003f 00000000 00000000
04800b40: 00000000 00000000 00000000 00000000
04800b50: 00000000 00000000 00000000 00000000
04800b60: 00000000 00000000 00000000 00000000
04800b70: 00000000 00000000 00000000 00000000
 2048 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.14(debug):armbian
NOTICE:  BL31: Built : 20:20:28, Aug  7 2025
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0b3340, model: hechuang,x96-q LPDDR3
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.04-armbian-2025.04-S3482-P27c6-H8869-V004f-Bb703-R448a-dirty (Aug 12 2025 - 22:26:59 +0000) Allwinner Technology

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

 

Posted

Okay that detects 1.5gb at spl, but then detects 2gb at uboot, just like the first patch I tried. Maybe something to do with me currently using the U-Boot DTB from X96-q, a 2gb device? I did try a different config for a different tv box as well (transpeed), but that had the same result.

 


U-Boot SPL 2025.01-armbian-2025.01-S6d41-P37d4-H8869-V004f-Bb703-R448a-dirty (Aug 13 2025 - 17:14:56 +0000)
DRAM base address is defined as 0x40000000
DRAM has 15 b/raw, 10 b/col, 4 B/width, 2 #rank and 8 #bank
DRAM top address must be less than 0x80000000
DRAM top address must be less than 0x60000000
DRAM: 1536 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.14(debug):armbian
NOTICE:  BL31: Built : 15:34:29, Aug 13 2025
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0b2520, model: hechuang,x96-q LPDDR3
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-P37d4-H8869-V004f-Bb703-R448a-dirty (Aug 13 2025 - 17:14:56 +0000) Allwinner Technology

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

 

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