H96 Pro+ S912 Standby mode

The configuration of the LPDDR3 memory of me and Portisch is absolutely identical. The only difference is the compiler.
Use this binary (3g support integrated, compiled from the github @Portisch ) or wait for fix from Portisch.

Will try your version later. Thanks.

Same results with your binary. Will check, if CE is running sooth and wait until there is a fix

Hi,
sorry, I have a small mistake happened, this must now work… download

Yesterday my system freezes again with your BL. I will test Portischs version again. If this will also crash, i will get another device soon.

Thanks @bumerc. Finally I’ve been able to read u-boot boot process.
@Portisch i uploaded the log from u-boot here u-boot. Please can you check if it possible add your modification for Minix U9-H?
Thanks guys for your help!!

If you are interested - here is another version, I could not test it myself, due to lack of testdevice.
changes:

  • Switch to Row_Column address R0-R14_C0-C9
  • odt_only_up enabled

u-boot_lpddr3_odt_only_up

With this i get reboot loop after:

Firmware load fail!..reset

Please test these binaries and post the uart log.

Both give Addr bus failed! and loop. Can’t copy the UART log in putty due to the loop. If i disconnect all messages cleared.

I realized Portischs version also crashes on my H96 Pro+, so i stay at the original u-boot for now.

@atomizasser I will check it next week. Does the board have buttons and/or LEDs?

hi, if there a way to change to your new uboot on my S912 H96 Pro+ only, without flash the complete box?
ive installed the uboot from bumerc a long time ago and running Coreelec from internal flash… dont whant to delete my Kodi…

@TheChief79 why you wasn’t using the v2.2 version. The version for the blue PCB doesn’t match to you DDR. Try the green PCB. This is for DDR ram and autosize.

@BigMike66 https://github.com/CoreELEC/u-boot/wiki#create-a-bootable-micro-sd-card

But it should be also possible by the usb burning tool.

@Portisch Because i have a blue PCB with LPDDR3@792Mhz?!

LPDDR3 chl: Rank0+1 @ 792MHz

Ok, I thought I was reading DDR not LPDDR somewhere above.
The last release do have a bug what maybe can crash u-boot. I will upload a new release next week.

Thanks!!

Yes. Minix U9-H has: 1 power on button and 1 LED (is blue when is ON, and green in standby state).

@atomizasser The u-boot log shows me a certificated firmware. So I think only a u-boot certificated by Amlogic is usable - sorry.
@TheChief79 You don’t want to make a u-boot uart log to find the firmware bug?

Earlier, with a u-boot version from bumerc i got this, when it crashed:

[   33.546242@0] INFO: rcu_preempt detected stalls on CPUp/tasks: { 6} (detected by 3, t=2102 jiffies, `=18446744073709551612, c=18446744073709551611, q=151)
[   33.554367@0] Task dump for CPU 6:
X   33.557730@0] swapper/6       R  running task        0     0      1 0x00000000
[   33.564889@0] Call trace:
[   33.567488@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[   33.572739@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[   33.577659@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[   33.583520@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[   33.588955@0] [<ffffffc0010f8f4c>] cpu_ptartup_entry+0x1d8/0x224
[   33.594906@0] [<ffffffc00108fd80>] second`ry_start_kernel+0x118/0x128
[   96.596238@0] INFO: rcu_preempt detected stallp on CPUs/tasks: { 6} (detected by 3, t=8407 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[   96.604357@0] Task dump for CPU 6:
[   96.607721@0] swapper/6       R  running task        0     0      1 0x00000000
[   96.614880@0] Call trace:
[   96.617470@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[   96.62>730@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[   96.627647@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[   96.633511@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[   96.638945@0] [<ffffffc0010f8f4c>] cpu_start]}⸮⸮⸮⸮⸮0x1d8/0x224
[   96.644897@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
[  159.646237@0] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detected by 3, t=14712 jiffies, g=1844674073709551612, c=18446744073709551611, q=151)
[  159.654444@0] Task dump for CPU 6:
[  159.657807@0] swapper/6       R  running task        0     0      1 0x00000000
[  159.664965@0] Call trace:
[  159.667556@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  159.672816@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  159.677734@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  159.683598@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[  159.689031@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  159.694983@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
[  222.696237@0] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detected by 3, t=21017 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  222.704444@0] Task dump for CPU 6:
[  222.707808@0] swapper/6       R  running task        0     0      1 0x00000000
[  222.714966@0] Call trace:
[  222.717557@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  222.722817@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  222.727734@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  222.733598@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[  222.739032@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  222.744984@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
[  28M⸮Ȓ⸮⸮⸮] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detected by 3, t=27322 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  285.754444@0] Task dump for CPU 6:
[  285.757808@0] swapper/6       R  running task        0     0      1 0x00000000
[  285.764966@0] Call trace:
[  285.767557@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  285.772817@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  285.777734@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  285.783599@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[  285.789032@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  285.794983@0] [<ffffffc00L⸮2⸮⸮0>] se`ondary_start_kernel+0x118/0x128
[  348.796>37@0] INFO: rcu_preempt detected stalls on CPUp/tasks: { 6} (detected by 3, t=33627 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  348.804436@0] Task dump for CPU 6:
[  348.807800@0] swapper/⸮⸮չ⸮⸮⸮⸮⸮task        0     0      1 0x00000000
[  348.814958@0] Call trace:
[  348.817549@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  348.822809@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  348.827726@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  348.833590@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[  348.839024@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  348.844976@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
[  411.846236@0] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detdcted by 3, t=39932 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  411.854436@0] Task dump for CPU 6:
[  411.857800@0] swapper/6       R  running task        0     0      1 0x00000000
[  411.864958@0] Call trace:
[  411.867549@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  411.872809@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  411.877726@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  411.883591@0] [<ffffffc001085450>] ar,⸮5⸮⸮}⸮⸮⸮⸮⸮0x10/0x28
[  411.889024@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  411.894976@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
[  474.896236@0] INFO: rcu_preempt detected stalls on CPUstasks: { 6} (|etected by 3, t=46237 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  474.904437@0] Task dump for CPU 6:
[  474.907801@0] swapper/6       R  running task        0     0      1 0x00000000
[  474.914959@0] Call trace:
[  474.917550@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  474.922810@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  474.927727@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  474.933591@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[  474.939025@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  474.944976@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
[  537.946236@0] INFO: rcu_preempt detdcted stalls on CPUs/tasks: { 6} (detected by 3, t=52542 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  537.954437@0] Task dump for CPU 6:
[  537.957801@0] swapper/6       R  running task        0     0      1 0x00000000
[  537.964959@0] Call trace:
[  537.967550@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  537.972810@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  537.977727@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  537.983592@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[  537.989025@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  537.994976@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
[  600.996235@0] INFO: rcu_preempt detected stalls on CPUp/tasks: { 6} (detected by 3, t=58847 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  601.004438@⸮(⸮
ͭ⸮dump for CPU 6:
[  601.007801@0] swapper/6       R  running task        0     0      1 0x00000000
[  601.014960@0] Call trace:
[  601.017550@0] [<ffffffc000085a20>] __switch_to+0x74/0x8c
[  601.022811@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  601.027728@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  601.033592@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[  601.039026@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  601.044977@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
[  664.046235@0] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detected by 3, t=65152 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  664.054438@0] Task dump for CPU 6:
[  664.057802@0⸮ swapper/6       R  running task        0     0      1 0x00000000
[  664.064960@0] Call trace:
[  664.067551@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  664.072811@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  664.077728@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  664.083592@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28C⸮+⸮⸮⸮r⸮⸮ʂ⸮⸮⸮] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  664.094977@0] [<ffffffc00108fd80>] secondary_start_kerne+0x118/0x128
[  727.096235@0] INFO: rcu_preempt detected stalls on CPUs/|asks: { 6} (detected by 3, t=71457 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  727.104438@0] Task dump for CPU 6:
[  727.107802@0] swapper/6       R  running task        0     0      1 0x00000000
[  727.114960@0] Call trace:
[  027.117551@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  727.122811@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  727.127728@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  727.133593@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[  727.139026@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  727.144978@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
[  790.146235@0] INFO: rcu_preempt |etected stalls on CPUp/tasks: { 6} (detected by⸮b⸮⸮77762 jiffies, g=18446744073709551612, c=18446744073709551611, q=151)
[  790)⸮⸮⸮⸮⸮⸮] Task dump for CPU 6:
[  790.157803@0] swapper/6       R  running task        0     0      1 0x00000000
[  790.164961@0] Call trace:
[  790.167551@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c
[  790.172812@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0
[  790.177729@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234
[  790.183593@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28
[  790.189027@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224
[  790.194978@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128

Does this help? Maybe something with my CPU broken?

@TheChief79

About you multi DTB. It is included but your u-boot environment looks bad.
Please try at u-boot console: printenv aml_dt
Or at CoreELEC SSH: fw_printenv aml_dt

dtb_read_shortcut()-975: short cut in…
Amlogic multi-dtb tool
Multi dtb detected
Multi dtb tool version: v2 .
Support 2 dtbs.
aml_dt soc: gxm platform: q201 variant: unsupport
dtb 0 soc: gxm plat: q201 vari: 2g
dtb 1 soc: gxm plat: q201 vari: 3g
Not match any dtb.

You correct “aml_dt” environment var have to be: “gxm_q201_3g”.
Then it will should find the dtb 1 soc: gxm plat: q201 vari: 3g
Yours is only: “gxm_q201

And about the crash: This is linux kernel releated and not u-boot. This means one or more CPUs do have crashed by usage/priority:
The following problems can result in RCU CPU stall warnings:

… A CPU-bound real-time task in a CONFIG_PREEMPT kernel, which might happen to preempt a low-priority task in the middle of an RCU read-side critical section. This is especially damaging if that low-priority task is not permitted to run on any other CPU, in which case the next RCU grace period can never complete, which will eventually cause the system to run out of memory and hang.

… A CPU-bound real-time task in a CONFIG_PREEMPT_RT kernel that is running at a higher priority than the RCU softirq threads. This will prevent RCU callbacks from ever being invoked, and in a CONFIG_PREEMPT_RCU kernel will further prevent RCU grace periods from ever completing. Either way, the system will eventually run out of memory and hang.

Here the actual build of the LPDDR3/4 3G@792MHz version:
u-boot_q201_v5_v6_blue_PCB.tar.gz (1.4 MB)