I tried the suggestion of setting eTSEC2 as active port for the u-boot .<div><div>Ethernet  of Core1 (connected to 1G) is working now.</div><div><br><div>Thanks for the inputs , they really helped !</div><div><br></div><div>
Best Regards</div><div>Prasanna Khanapur</div><div><br><br><div class="gmail_quote">On Tue, May 10, 2011 at 9:50 AM, Aggrwal Poonam-B10812 <span dir="ltr"><<a href="mailto:B10812@freescale.com">B10812@freescale.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The code looks to be correct in upstream,<br>
Can u mention the AMP boot steps you are using.<br>
<br>
<br>
5.5.2.4 Test Procedure<br>
1. Power on the board<br>
2. Follow the command below at U-boot prompt<br>
=> setenv <serverip><br>
=> setenv <ipaddr><br>
=> setenv ethact eTSEC2<br>
=> setenv bootargs root=/dev/ram rw console=ttyS0,115200<br>
3. Bring up core1's kernel first:<br>
=> setenv bootm_low 0x10000000<br>
=> setenv bootm_size 0x8000000<br>
=> tftp 11000000 uImage.core1<br>
=> tftp 12000000 rootfs_min.ext2.gz.uboot<br>
=> tftp 10c00000 p1020rdb_camp_core1.dtb<br>
=> interrupts off<br>
<br>
=> bootm start 11000000 12000000 10c00000<br>
=> bootm loados<br>
=> bootm ramdisk<br>
=> bootm fdt<br>
=> fdt boardsetup<br>
=> fdt chosen $initrd_start $initrd_end<br>
=> bootm prep<br>
=> cpu 1 release $bootm_low - $fdtaddr -<br>
<br>
As soon as, when you run the cpu 1 release $bootm_low - $fdtaddr - command, Core-1 starts booting<br>
and boot-up log can be observed on the UART#2 console.<br>
4. Bring up core0's kernel(on the same u-boot console -UART#1):<br>
=> setenv bootm_low 0x0<br>
=> setenv bootm_size 0x10000000<br>
=> tftp 1000000 uImage.core0<br>
=> tftp 2000000 rootfs_min.ext2.gz.uboot<br>
=> tftp c00000 p1020rdb_camp_core0.dtb<br>
=> bootm 1000000 2000000 c00000<br>
<br>
<br>
The main catch  here is to use eTSEC2 as active port at u-boot. I think I remember we also  faced similar issue.<br>
Regards<br>
Poonam<br>
<br>
> -----Original Message-----<br>
> From: linuxppc-dev-bounces+poonam.aggrwal=<a href="http://freescale.com" target="_blank">freescale.com</a>@<a href="http://lists.ozlabs.org" target="_blank">lists.ozlabs.org</a><br>
> [mailto:<a href="mailto:linuxppc-dev-">linuxppc-dev-</a><br>
> bounces+poonam.aggrwal=<a href="http://freescale.com" target="_blank">freescale.com</a>@<a href="http://lists.ozlabs.org" target="_blank">lists.ozlabs.org</a>] On Behalf Of<br>
> Hollis Blanchard<br>
> Sent: Tuesday, May 10, 2011 1:53 AM<br>
> To: Prasanna Khanapur<br>
> Cc: <a href="mailto:linuxppc-dev@lists.ozlabs.org">linuxppc-dev@lists.ozlabs.org</a><br>
> Subject: Re: Regarding P2020 in AMP mode<br>
<div><div></div><div class="h5">><br>
> On 05/07/2011 05:20 AM, Prasanna Khanapur wrote:<br>
> > Hi,<br>
> > I'm running P2020 in AMP mode, each core running its linux os.<br>
> > Ethernet 1(@25000) and Ethernet 2(@26000) assigned to Core0 are<br>
> > working fine.<br>
> > I'm facing problems with Ethernet interface(@24000) assigned to Core1,<br>
> > its not working.<br>
> ><br>
> > I'm using dts file which were added by :<br>
> > <a href="http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-September/075594.h" target="_blank">http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-September/075594.h</a><br>
> > tml<br>
> ><br>
> > Looks either there is some mistake in the dts file or my understanding<br>
> > is wrong.<br>
> ><br>
> > MDIO @24000 is defined in core0 dts file though the Ethernet is<br>
> > assigned to Core 1.<br>
> ><br>
> > DTS files :<br>
> > <a href="http://web.mornfall.net/repos/linux-2.6/git/arch/powerpc/boot/dts/p202" target="_blank">http://web.mornfall.net/repos/linux-2.6/git/arch/powerpc/boot/dts/p202</a><br>
> > 0rdb_camp_core0.dts<br>
> > <a href="http://web.mornfall.net/repos/linux-2.6/git/arch/powerpc/boot/dts/p202" target="_blank">http://web.mornfall.net/repos/linux-2.6/git/arch/powerpc/boot/dts/p202</a><br>
> > 0rdb_camp_core1.dts<br>
><br>
> The fixed-link property in core1.dts indicates enet0 should use 1Gb link.<br>
> Is that device connected to a 1Gb network?<br>
><br>
> --<br>
> Hollis Blanchard<br>
> Mentor Graphics, Embedded Systems Division<br>
</div></div>> _______________________________________________<br>
> Linuxppc-dev mailing list<br>
> <a href="mailto:Linuxppc-dev@lists.ozlabs.org">Linuxppc-dev@lists.ozlabs.org</a><br>
> <a href="https://lists.ozlabs.org/listinfo/linuxppc-dev" target="_blank">https://lists.ozlabs.org/listinfo/linuxppc-dev</a><br>
<br>
<br>
</blockquote></div><br></div></div></div>