Skip to contentSkip to conversation

Regarding P2020 core 1

U-Boot vinay hegde 2 participants 4 messages Apr 7, 2010

lore
Share & tools
lore
#0 lore raw

Hi All,

We are coming up with a new platform that uses Freescale P2020 processor and P2020 U-Boot. In this platform, we will be using only one core (core 0) of P2020 and will be disabling the core 1 (thro, some hardware strapping as hardware folks told me).

If anybody has already investigated and knows how to disable core 1 (and support only core 0) in P2020 U-Boot (or in general, say mpc8572), please let me know. Any pointers will be very useful.

Thanks
Vinay

#1 lore raw
Quoted 5 lines · vinay hegde

Hi All,

We are coming up with a new platform that uses Freescale P2020 processor and P2020 U-Boot. In this platform, we will be using only one core (core 0) of P2020 and will be disabling the core 1 (thro, some hardware strapping as hardware folks told me).

If anybody has already investigated and knows how to disable core 1 (and support only core 0) in P2020 U-Boot (or in general, say mpc8572), please let me know. Any pointers will be very useful.

You can use the 'cpu disable' command.

- k

#2 lore raw

Hi Kumar,

I have ported U-Boot for our new platform (which is based on P2020 and has other platform specific peripherals). So, actually I wanted to know how to disable core 1 in U-boot source code (I see MPC85xx_DEVDISR_CPU0 and MPC85xx_DEVDISR_CPU1 defines in immap_85xx.h, which are not used). So, in my case, when U-boot bringup code runs, it should initialize only core 0 and keep the other core in reset.

Sorry, I think my earlier e-mail wasn't clear enough.

Thanks
Vinay

Quoted 16 lines
Quoted 3 lines

Hi All,

We are coming up with a new platform that uses

Freescale P2020 processor and P2020 U-Boot. In this platform, we will be using only one core (core 0) of P2020 and will be disabling the core 1 (thro, some hardware strapping as hardware folks told me).

Quoted 2 lines

If anybody has already investigated and knows how to

disable core 1 (and support only core 0) in P2020 U-Boot (or in general, say mpc8572), please let me know. Any pointers will be very useful.

You can use the 'cpu disable' command.

- k

#3 lore raw

You should just be able to remove CONFIG_MP from your board <CONFIG.h>

- k

Quoted 29 lines · vinay hegde

Hi Kumar,

I have ported U-Boot for our new platform (which is based on P2020 and has other platform specific peripherals). So, actually I wanted to know how to disable core 1 in U-boot source code (I see MPC85xx_DEVDISR_CPU0 and MPC85xx_DEVDISR_CPU1 defines in immap_85xx.h, which are not used). So, in my case, when U-boot bringup code runs, it should initialize only core 0 and keep the other core in reset.

Sorry, I think my earlier e-mail wasn't clear enough.

Thanks
Vinay

Quoted 16 lines
Quoted 3 lines

Hi All,

We are coming up with a new platform that uses

Freescale P2020 processor and P2020 U-Boot. In this platform, we will be using only one core (core 0) of P2020 and will be disabling the core 1 (thro, some hardware strapping as hardware folks told me).

Quoted 2 lines

If anybody has already investigated and knows how to

disable core 1 (and support only core 0) in P2020 U-Boot (or in general, say mpc8572), please let me know. Any pointers will be very useful.

You can use the 'cpu disable' command.

- k