Skip to contentSkip to conversation

U-boot + Linux + SMP question

U-Boot-Users syoder at austin.rr.com 2 participants 2 messages Mar 25, 2005 – Mar 26, 2005

lore
Share & tools
lore
#0 lore raw

I have a high level question about how U-boot interacts with the Linux kernel on a PowerPC SMP system.

CPU 0 starts at the boot vector in U-boot, configures system, boots the Linux kernel. In the kernel, CPU 0 takes action to start CPU 1 and waits for CPU 1 to start.

CPU 1 also starts execution at the boot vector. Does CPU 1 take a different execution path through U-boot? Does CPU 1 also decompress the kernel into SDRAM (over top of the one put there by CPU0)?

The CONFIG_SMP define in u-boot seems be isolated mostly to the asm-ppc/bitops.h header file.

Any pointers to where I could find info on this would be appreciated.

Thanks,
Stuart Yoder

#1 lore raw
Quoted 1 line · In message <[email protected]> you wrote:

I have a high level question about how U-boot interacts with the Linux kernel on a PowerPC SMP system.

I am not aware of any port of U-Boot to a MP system yet.

Quoted 1 line

The CONFIG_SMP define in u-boot seems be isolated mostly to the asm-ppc/bitops.h header file.

These are files copied from the Linux kernel. CONFIG_SMP is never used in U-Boot (yet).

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have a theory that it's impossible to prove anything, but  I  can't
prove it.