[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] u-boot and soft TEMAC ( LL TEMAC )
Hi,
For older (ie petalinux v0.40 / Linux 2.6.20) images, you have to
download the image.bin, not elf, to the physical memory address start
(assuming 0x50000000 in the following)
dow image.bin 0x50000000
con 0x50000000
that will boot the kernel directly.
Regards,
John
On Tue, Nov 17, 2009 at 12:13 AM, Mohammad Sadegh Sadri
<mamsadegh@xxxxxxxxxxx> wrote:
> Dear Jhon
>
> As I mentioned before, in some other set of posts to this mailing list
> Basically it is not possible to debug an MMU enabled Linux kernel with XMD
> I asked this question in the mailing list that how I can debug an MMU kernel
> with XMD and I did not get any reply indicating the direction i should go.
>
> Now , as Peralinux 0.4 kernel the problem is the same as before, when ever I
> try to load image.elf file using XMD i will have the following error
> message:
>
> XMD% dow image.elf 0x44000000
> System Reset .... DONE
> Downloading Program -- image.elf
> section, .text: 0xc0000000-0xc01a7e2f
> section, .init.text: 0xc020a000-0xc021d757
> section, .init.ivt: 0xc021deb8-0xc021df1f
> ERROR: Failed to download ELF file
>
> I-Side Memory Access Check Failed
> Section, 0xc0000000-0xc01a7e2f Not Accessible from Processor I-Side
> Interface
>
> XMD%
>
> How I should solve this problem? How i should tell XMD that 0xc0000000 is
> not a physical address and it is virtual?
> This linux kernel has also a u-boot image which i am almost sure boots
> easily with u-boot. So the problem is not the kernel itself it is XMD.
>
> Thanks
>
>
> ________________________________
> Date: Mon, 16 Nov 2009 15:00:00 +1000
> Subject: Re: [microblaze-uclinux] u-boot and soft TEMAC ( LL TEMAC )
> From: john.williams@xxxxxxxxxxxxx
> To: microblaze-uclinux@xxxxxxxxxxxxxx
>
> Hi,
>
> On Sun, Nov 15, 2009 at 12:59 AM, Mohammad Sadegh Sadri
> <mamsadegh@xxxxxxxxxxx> wrote:
>
>
> We have built our own custom board featuring XC3S1600E FPGA.
> I have used PetaLinux 0.4 for the board and we could bring up the u-boot as
> well as linux kernel easily.
> For ethernet interface I used Xilinx EMAC Lite and its works with no
> problem.
>
> Our board contains a SMSC LAN83C185 10/100 PHY and as I said EMAC Lite works
> great.
>
> Because of the limitations of EMAC Lite, we decided to use Soft TEMAC
> instead. We hope this will allow us to increase data transfer bandwidth to
> higher levels.
>
> I Modified the XBD file for the board ( I used one of Xilinx XBD files as
> reference) and then generated base system using new Soft TEMAC.
> I enabled TX and RX checksum offload for Soft TEMAC.
>
> The design is fully implemented on FPGA and all of the u-boot and kernel are
> compiled from scratch.
> the problem is the ethernet interface is no more working. In u-boot when i
> ping another IP address i get this at u-boot prompt:
>
> U-Boot> ping 192.168.0.1
> eth0: Xilinx XPS LocalLink Tri-Mode Ether MAC #0 at 0x81C00000.
> 1000BASE-T/FD
> ping failed; host 192.168.0.1 is not alive
> U-Boot>
>
> I tried to analyze the generated packets using WireShark, I captured all of
> the packets and I see that the board generates ARP request. so its ethernet
> interface is for sure capable of sending packets. Our host generates ARP
> answer for the board but it seems that the board can not receive it and the
> ping fails.
>
> Any body has any similar experience?
> Any body any idea? what may be wrong?
>
> Does the ethernet work ok in Linux? You can just boot the whole kernel via
> JTAG - it's a bit slow but it's a good test.
>
> Have you tried disable the TX and RX CSUM?
>
> John
> --
> John Williams, PhD, B.Eng, B.IT
> PetaLogix - Linux Solutions for a Reconfigurable World
> w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
>
> ________________________________
> Faster Hotmail access now on the new MSN homepage.
--
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/