memtest failed for rk3588

Alexander Shiyan eagle.alexander923 at gmail.com
Fri Dec 6 05:10:42 PST 2024


Hello all!

When testing a board with a RK3588 CPU, I get a stable crash on memtest.
This is the first sample of the board on this CPU and of course it is possible
that something is really not soldered correctly, but should the
bootloader crash in this case?


barebox 2024.12.0-00352-g41ed6686c3d4-dirty #69 Fri Dec 6 15:45:18 MSK 2024

Board: Diasom DS-RK3588-BTB-EVB
deep-probe: supported due to diasom,ds-rk3588-btb
rockchip-dmc memory-controller.of: Detected memory size: 0x400000000
netconsole: registered as netconsole-1
arm-scmi firmware:scmi.of: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0
psci psci.of: detected version 1.1
fan53555-regulator rk86020: FAN53555 Option[10] Rev[1] Detected!
fan53555-regulator rk86030: FAN53555 Option[10] Rev[1] Detected!
dw_mmc fe2c0000.mmc at fe2c0000.of: registered as mmc1
mmc1: detected SD card version 2.0
mmc1: registered mmc1
rk3568-dwcmshc-sdhci fe2e0000.mmc at fe2e0000.of: registered as mmc0
mmc0: detected MMC card version 5.1
mmc0: registered mmc0.boot0
mmc0: registered mmc0.boot1
mmc0: registered mmc0
fan53555-regulator rk86021: FAN53555 Option[10] Rev[1] Detected!
malloc space: 0xafd00000 -> 0xefcfffff (size 1 GiB)
environment load /dev/env0: No such file or directory
Maybe you have to create the partition.

Hit any to stop autoboot:    3
barebox at Diasom DS-RK3588-BTB-EVB:/ memtest
Start iteration 1 of 1.
Testing memory space: 0x0000000100000000 -> 0x00000003ffffffff:
Starting data line test.
Check for address bits stuck high.
Check for address bits stuck low or shorted.
Starting moving inversions test of RAM:
Fill with address, compare, fill with inverted address, compare again
        [##########################################DABT (current EL)
exception (ESR 0x96000010) at 0x00000003fc000200
elr: 00000000efd07064 lr : 00000000efd07058
x0 : 00000002fc000200 x1 : 0000000000000001
x2 : 000000005fffffff x3 : 0000000000000002
x4 : 0000000000000002 x5 : 0000000000000020
x6 : 00000000ffffffd8 x7 : 00000000efff76ae
x8 : 00000000efff79c8 x9 : 0000000000000078
x10: 0000000000000001 x11: 0000000000000011
x12: 0000000000000010 x13: 00000000efdaf076
x14: 0000000000000000 x15: 0000000000000003
x16: 00000000efff73f8 x17: 0000000000000003
x18: 00000000efff7b20 x19: 0000000100000000
x20: 0000000000000001 x21: 0000000000000001
x22: fffffffffffffffe x23: 0000000000000000
x24: 0000000000000001 x25: 0000000000000000
x26: 00000000efd9e5de x27: 00000000efd9e5f1
x28: 0000000000000000 x29: 00000000efff7a60

Call trace:
[<efd07064>] (mem_test_moving_inversions+0xfc/0x244) from [<efd6375c>]
(do_test_one_area+0x74/0x98)
[<efd6375c>] (do_test_one_area+0x74/0x98) from [<efd63808>]
(do_memtest_biggest+0x28/0x3c)
[<efd63808>] (do_memtest_biggest+0x28/0x3c) from [<efd63a18>]
(do_memtest+0x1fc/0x218)
[<efd63a18>] (do_memtest+0x1fc/0x218) from [<efd073cc>]
(execute_command+0x44/0x8c)
[<efd073cc>] (execute_command+0x44/0x8c) from [<efd042c0>]
(execute_binfmt+0x68/0xa0)
[<efd042c0>] (execute_binfmt+0x68/0xa0) from [<efd11430>]
(run_list_real+0x8cc/0x978)
[<efd11430>] (run_list_real+0x8cc/0x978) from [<efd109b8>]
(parse_stream_outer+0x140/0x1ec)
[<efd109b8>] (parse_stream_outer+0x140/0x1ec) from [<efd11734>]
(run_shell+0x64/0xac)
[<efd11734>] (run_shell+0x64/0xac) from [<efd019f4>] (run_init+0x114/0x258)
[<efd019f4>] (run_init+0x114/0x258) from [<efd01b88>] (start_barebox+0x50/0x8c)
[<efd01b88>] (start_barebox+0x50/0x8c) from [<efd8a6b8>]
(psci_driver_register+0x0/0x1c)
[<efd8a6b8>] (psci_driver_register+0x0/0x1c) from [<efd0000c>]
(__bare_init_start+0x0/0x14)
[<efd0000c>] (__bare_init_start+0x0/0x14) from [<00b01bc8>] (0xb01bc8)
[<00b01bc8>] (0xb01bc8) from [<00b013ac>] (0xb013ac)
panic: unhandled exception
### ERROR ### Please RESET the board ###



More information about the barebox mailing list