Skip to contentSkip to conversation

Boot stuck at "smp: Bringing up secondary CPUs ..."

DISCUSSION Andreas Schwab 2 participants 8 messages Feb 5, 2019 – Feb 6, 2019 1 message not in the archive RISC-V

lore
Share & tools
lore
#0 lore raw

What does it mean when the boot hangs during smp bringup (on the hifive-u)?

Andreas.

Signature · 8 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 1 line · Atish Patra

Are you loading Linux from U-Boot and openSBI ?

No.

Andreas.

Signature · 8 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#4 lore raw
Quoted 9 lines · Anup Patel
Quoted 6 lines · Andreas Schwab
Quoted 1 line · Atish Patra

Are you loading Linux from U-Boot and openSBI ?

No.

We requite Atish's SMP fixes to boot upstream kernel on Unleashed board.

The same boot image has booted sucessfully before. The problem with SMP bringup only started when I started experimenting with openSBI and U-Boot. Coincidence?

Andreas.

Signature · 8 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#5 lore raw
Quoted 9 lines · Andreas Schwab
Quoted 6 lines · Anup Patel
Quoted 5 lines · Andreas Schwab
Quoted 1 line · Atish Patra

Are you loading Linux from U-Boot and openSBI ?

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

No.

We requite Atish's SMP fixes to boot upstream kernel on Unleashed board.

The same boot image has booted sucessfully before. The problem with SMP bringup only started when I started experimenting with openSBI and U-Boot. Coincidence?

Lot of kernel bugs are hidden due to FDT fixups done by BBL at boot-time.

This particular issue is seen because BBL updates /cpus DT node whereas OpenSBI does not. In fact, OpenSBI only does minimal possible changes to DTB passed by previous booting stages.

Regards,
Anup

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#6 lore raw
Quoted 12 lines · Anup Patel
Quoted 11 lines · Andreas Schwab
Quoted 8 lines · Anup Patel
Quoted 6 lines · Andreas Schwab
Quoted 1 line · Atish Patra

Are you loading Linux from U-Boot and openSBI ?

No.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

We requite Atish's SMP fixes to boot upstream kernel on Unleashed board.

The same boot image has booted sucessfully before. The problem with SMP bringup only started when I started experimenting with openSBI and U-Boot. Coincidence?

Lot of kernel bugs are hidden due to FDT fixups done by BBL at boot-time.

Then why does it fail with BBL?

Andreas.

Signature · 8 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#7 lore raw
Quoted 17 lines · Andreas Schwab
Quoted 14 lines · Anup Patel
Quoted 13 lines · Andreas Schwab
Quoted 9 lines · Anup Patel
Quoted 6 lines · Andreas Schwab
Quoted 1 line · Atish Patra

Are you loading Linux from U-Boot and openSBI ?

No.

We requite Atish's SMP fixes to boot upstream kernel on Unleashed board.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

The same boot image has booted sucessfully before. The problem with SMP bringup only started when I started experimenting with openSBI and U-Boot. Coincidence?

Lot of kernel bugs are hidden due to FDT fixups done by BBL at boot-time.

Then why does it fail with BBL?

Not sure what case you referring with BBL.

Please review Atish's SMP fix patches.

Regards,
Anup

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#8 lore raw
Quoted 1 line · Anup Patel

Not sure what case you referring with BBL.

I don't refer anything. It just doesn't boot any more.

Quoted 1 line

Please review Atish's SMP fix patches.

The very same image has booted previously without any issues.

Andreas.

Signature · 8 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv