Skip to contentSkip to conversation

hand up when boot

DISCUSSION 孙涛 2 participants 3 messages Oct 31, 2024 – Nov 6, 2024 1 message not in the archive

lore
Share & tools
lore

孙涛

author
#0 lore raw

dear all,I use linux kernel 5.15.36, xenomai 3.2.4, dovetail 5.15.9 for zynq 7020 developing.when I open config_smp, it hands up when kernel boot.It's ok when i close config_smp or close config_xenomai.zynq 7020 uses arm A9 core,so i patch by --arch=arm.I can't find how to solve it,please help me.Thanks.

#1 lore raw
Quoted 5 lines · 孙涛

dear all,I use linux kernel 5.15.36, xenomai 3.2.4, dovetail 5.15.9 for zynq 7020 developing. when I open config_smp, it hands up when kernel boot.It's ok when i close config_smp or close config_xenomai.zynq 7020 uses arm A9 core,so i patch by --arch=arm.I can't find how to solve it,please help me.Thanks.

Hi,

was this mail/text translated with some online tool? I'm not sure if I'm able to parse / understand it correctly.

Here comes a try:

Let's start with versions:
- Xenomai 3.2.4
- Dovetail 5.15.9
- Linux 5.15.36

What are you trying to boot up? Linux or Dovetail?

Quoted 1 line

It's OK when I close config_smp

"close" doesn't make sense here, maybe you mean "disable"? I also assume that you are referring to the kernel configuration option CONFIG_SMP.

Quoted 1 line

or config_xenomai

Another guess: You mean kernel configuration option CONFIG_XENOMAI.

Quoted 1 line

zynq 7020 uses arm A9 core

Seems to be an ARMv7, so 32 bit processor.

Summary:
You have problems booting up (Linux and/or Dovetail, still unclear) with CONFIG_SMP and CONFIG_XENOMAI enabled at the same time while all other combinations (especially CONFIG_SMP and !CONFIG_XENOMAI) work?

We are regularly testing the armv7 support on two machines
- The beagle-bone-black (non SMP)
- qemu (SMP)
so I'm quite sure that the SMP combination works. You might have to find out if there is any difference in your setup / hardware.

Do you have any additional information available? A boot log taken from a serial console might help to identify problems.

Best regards,
Florian

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

#3 lore raw
Quoted 3 lines · 孙涛

Thanks for your reply. I am sorry for making you confused. English is not my mother language.I will try my best to make this question clear. The linux kernel is supplying by xilinx instead of standard. the source code site is : https://github.com/Xilinx/linux-xlnx .The kernel config is also supplying by xilinx.there is no log in console,just like hangs up.I think maybe some kernel config disabled by mistake

[Adding back the Xenomai List in CC]

Taken from the attachment:

#
# Serial drivers
#
# CONFIG_XENO_DRIVERS_16550A is not set

# end of Serial drivers

There is no serial driver enabled. That explains why there is nothing on the serial console.

As I don't know that board I can not really help here. Suggestion: Try to boot up Linux (as provided by the vendor) with serial console enabled. If that works - and you can follow the boot process on the console - try enabling Dovetail/Xenomai on top. Step by step.

- Linux
- Linux with Dovetail enabled
- Linux, Dovetail, Xenomai as co-kernel

I'm not sure if patching Dovetail into this vendor kernel will work out. Let's see...

Best regards,
Florian

Quoted 59 lines
Quoted 54 lines · Florian Bezdeka
Quoted 5 lines · 孙涛

dear all,I use linux kernel 5.15.36, xenomai 3.2.4, dovetail 5.15.9 for zynq 7020 developing. when I open config_smp, it hands up when kernel boot.It's ok when i close config_smp or close config_xenomai.zynq 7020 uses arm A9 core,so i patch by --arch=arm.I can't find how to solve it,please help me.Thanks.

Hi,

was this mail/text translated with some online tool? I'm not sure if I'm able to parse / understand it correctly.

Here comes a try:

Let's start with versions:
- Xenomai 3.2.4
- Dovetail 5.15.9
- Linux 5.15.36

What are you trying to boot up? Linux or Dovetail?

Quoted 1 line

It's OK when I close config_smp

"close" doesn't make sense here, maybe you mean "disable"? I also assume that you are referring to the kernel configuration option CONFIG_SMP.

Quoted 1 line

or config_xenomai

Another guess: You mean kernel configuration option CONFIG_XENOMAI.

Quoted 1 line

zynq 7020 uses arm A9 core

Seems to be an ARMv7, so 32 bit processor.

Summary:
You have problems booting up (Linux and/or Dovetail, still unclear) with CONFIG_SMP and CONFIG_XENOMAI enabled at the same time while all other combinations (especially CONFIG_SMP and !CONFIG_XENOMAI) work?

We are regularly testing the armv7 support on two machines
 - The beagle-bone-black (non SMP)
 - qemu (SMP)
so I'm quite sure that the SMP combination works. You might have to find out if there is any difference in your setup / hardware.

Do you have any additional information available? A boot log taken from a serial console might help to identify problems.

Best regards,
Florian