LS1043A-RDB Linux Hangs At PSCI

cancel
Showing results for 
Search instead for 
Did you mean: 

LS1043A-RDB Linux Hangs At PSCI

1,334 Views
lion3875
Contributor II

BootFrom SD


Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.79 (root@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Wed Mar 28 11:22:27 CST 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')
[ 0.000000] bootconsole [uart8250] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000008ffc00000, size 4 MiB
[ 0.000000] OF: reserved mem: initialized node qman-fqd, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000008fc000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node qman-pfdr, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000008fe000000, size 16 MiB
[ 0.000000] OF: reserved mem: initialized node bman-fbpr, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 16 MiB at 0x00000000fac00000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000008ffbfffff]
[ 0.000000] NUMA: Adding memblock [0x80000000 - 0xfbdfffff] on node 0
[ 0.000000] NUMA: Adding memblock [0x880000000 - 0x8fbffffff] on node 0
[ 0.000000] NUMA: Adding memblock [0x8ff000000 - 0x8ffbfffff] on node 0
[ 0.000000] NUMA: Initmem setup node 0 [mem 0x80000000-0x8ffbfffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x8ffbcc340-0x8ffbcdaff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x00000008ffbfffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000fbdfffff]
[ 0.000000] node 0: [mem 0x0000000880000000-0x00000008fbffffff]
[ 0.000000] node 0: [mem 0x00000008ff000000-0x00000008ffbfffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffbfffff]
[ 0.000000] psci: probing for conduit method from DT.

linux hangs in linux/drivers/firmware/psci.c, it can not get psci version from ARMV8 through SMC instruction, i am very confused with this, does anyone know how to solve this problem.

a.png

Labels (1)
Tags (1)
6 Replies

412 Views
yang-
Contributor I

原因只有一个就是实际的DDR大小和bootloader下给内核的大小不一致;

0 Kudos

413 Views
yang-
Contributor I

原因只有一个就是你的实际DDR大小和firmware初始化的返回给内核的大小不一样;

0 Kudos

939 Views
simeon1
Contributor I

Seemingly the same problem here. I have an ESPRESSObin board v7 with Marvell A3720 SoC. I also use NixOS linux. When I upgraded kernel from 5.1 to 5.2, it stopped booting with this same problem - hanging on PSCI probing.

5.1.6 version works fine. 5.3.1 kernel from Arch Linux works fine as well. But all kernels starting with 5.2.11 (and also 5.3.7) do hang.

I suspect it is somehow related to kernel compilation parameters, just because Arch kernel works.

Or probably kernel size is involved: Arch kernel is just 12MB; NixOS kernel 5.1.6 is 32MB; and kernel 5.2.11 is 33MB. I suspect something in the memory is overwritten.

0 Kudos

939 Views
wangxiaozhuang
Contributor II

I had a similar problem at LS1028ardb platform,have you found the reason now?

Looking forward to your reply,Thank you

0 Kudos

939 Views
lion3875
Contributor II

I have already find out why linux hangs at PSCI, because i config DDR size to 4GB, if change to 2GB, kernel will booting correctly, but why? does anyone know the reason.

939 Views
wangxiaozhuang
Contributor II

I had a similar problem at LS1028ardb platform,have you found the reason now?

Looking forward to your reply,Thank you。

0 Kudos