[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Porting Petalinux 0.20 Build -rc1 050607 to Digilent's XUPV2P board.



Hi,

Do you have 258MB ram?

Your caches do not match your ram.

CONFIG_XILINX_ERAM_START=0x90000000
CONFIG_XILINX_ERAM_SIZE=0x10000000

CONFIG_XILINX_MICROBLAZE0_DCACHE_BASEADDR=0x00000000
CONFIG_XILINX_MICROBLAZE0_DCACHE_HIGHADDR=0x3FFFFFFF

CONFIG_XILINX_MICROBLAZE0_ICACHE_BASEADDR=0x00000000
CONFIG_XILINX_MICROBLAZE0_ICACHE_HIGHADDR=0x3FFFFFFF

Please fix hw design.

Regards,
Michal

Aws Ismail wrote:
> Hi Michal,
> 
> I checked the $PETALINUX_VER variable and its 0.40-rc3
> 
> I have checked that I am programming the board correctly (JTAG-USB).
> 
> In XMD I do the following:
> 
> *XMD% connect mb mdm*
> /Info:AutoDetecting cable. Please wait.
> Info:Reusing 78016221 key.
> Info:Reusing FC016221 key.
> Info: OS platform = i686.
> Info:Connecting to cable (Parallel Port - parport0).
> Info: WinDriver v9.00 Jungo (c) 1997 - 2007 Build Date: Mar 27 2007 X86
> 32bit 22:31:22.
> Info: parport0: Info:baseAddress=0x378Info:, ecpAddress=0x778Info:
> Info: LPT base address = 0378h.
> Info: ECP base address = 0778h.
> Info:Cable connection failed.
> Info:Reusing 79016221 key.
> Info:Reusing FD016221 key.
> Info: OS platform = i686.
> Info:Connecting to cable (Parallel Port - parport1).
> Info: WinDriver v9.00 Jungo (c) 1997 - 2007 Build Date: Mar 27 2007 X86
> 32bit 22:31:22.
> Info:Cable connection failed.
> Info:Reusing 7A016221 key.
> Info:Reusing FE016221 key.
> Info: OS platform = i686.
> Info:Connecting to cable (Parallel Port - parport2).
> Info: WinDriver v9.00 Jungo (c) 1997 - 2007 Build Date: Mar 27 2007 X86
> 32bit 22:31:22.
> Info:Cable connection failed.
> Info:Reusing 7B016221 key.
> Info:Reusing FF016221 key.
> Info: OS platform = i686.
> Info:Connecting to cable (Parallel Port - parport3).
> Info: WinDriver v9.00 Jungo (c) 1997 - 2007 Build Date: Mar 27 2007 X86
> 32bit 22:31:22.
> Info:Cable connection failed.
> Info:Reusing A0016221 key.
> Info:Reusing 24016221 key.
> Info: OS platform = i686.
> Info:Connecting to cable (Usb Port - USB21).
> Info:Checking cable driver.
> Info:File version of /opt/pkg/Xilinx/10.1/ISE/bin/lin/xusbdfwu.hex = 1030.
> Info:File version of /usr/share/xusbdfwu.hex = 1030.
> Info: WinDriver v9.00 Jungo (c) 1997 - 2007 Build Date: Mar 27 2007 X86
> 32bit 22:31:22.
> Info: Cable PID = 0008.
> Info: Max current requested during enumeration is 150 mA.
> Info:Type = 0x0605.
> Info: Cable Type = 3, Revision = 0.
> Info: Setting cable speed to 6 MHz.
> Info:Cable connection established.
> Info:Firmware version = 1100.
> Info:File version of /opt/pkg/Xilinx/10.1/ISE/data/xusbdfwu.hex = 1100.
> Info:Firmware hex file version = 1100.
> Info:PLD file version = 0012h.
> Info: PLD version = 0012h.
> 
> JTAG chain configuration
> --------------------------------------------------
> Device   ID Code        IR Length    Part Name
>  1       f5059093          16        XCF32P
>  2       0a001093           8        System_ACE
>  3       1127e093          14        XC2VP30
> 
> MicroBlaze Processor Configuration :
> -------------------------------------
> Version............................7.10.d
> Optimization.......................Performance
> Interconnect.......................PLBv46
> MMU Type...........................No_MMU
> No of PC Breakpoints...............1
> No of Read Addr/Data Watchpoints...0
> No of Write Addr/Data Watchpoints..0
> Instruction Cache Support..........off
> Data Cache Support.................off
> Exceptions  Support................off
> FPU  Support.......................off
> Hard Divider Support...............off
> Hard Multiplier Support............on - (Mul32)
> Barrel Shifter Support.............off
> MSR clr/set Instruction Support....on
> Compare Instruction Support........on
> 
> Connected to "mb" target. id = 0
> Starting GDB server for "mb" target (id = 0) at TCP port no 1234/
> 
> *XMD% rst*
> /System reset successfully/
> 
> *XMD% dow -data /tftpboot/image.ub 0x90002000*
> /System Reset .... DONE
> Downloading Data File -- /tftpboot/image.ub at 0x90002000/
> 
> *XMD% dow /tftpboot/u-boot.elf*
> System Reset .... DONE
> Downloading Program -- /tftpboot/u-boot.elf
>         section, .text: 0x9ffc0000-0x9ffd2483
>         section, .rodata: 0x9ffd2484-0x9ffd5bec
>         section, .data: 0x9ffd5bf0-0x9ffd65a7
>         section, .u_boot_cmd: 0x9ffd65a8-0x9ffd694f
>         section, .bss: 0x9ffd6950-0x9ffdb673
> Setting PC with Program Start Address 0x9ffc0000
> 
> *XMD% con*
> Info:Processor started. Type "stop" to stop processor
> 
> Then in the minicom terminal window i prevent auto-loading and type
> *bootm 0x90002000* to get the following:
> /
> SDRAM :
>         Enabling caches :
>                 Icache:FAIL
>                 Dcache:FAIL
>         U-Boot Start:0x9ffc0000
>         Malloc Start:0x9ff80000
>         Board Info Start:0x9ff7ffd0
>         Boot Parameters Start:0x9ff6ffd0
> 
> ETHERNET: MAC:00:0a:35:00:22:01
> 
> Using default environment
> 
> Hit any key to stop autoboot:  0
> U-Boot> bootm 0x90002000
> ## Booting image at 90002000 ...
>    Image Name:   PetaLinux Kernel 2.6
>    Image Type:   Microblaze Linux Kernel Image (uncompressed)
>    Data Size:    2785424 Bytes =  2.7 MB
>    Load Address: 90000000
>    Entry Point:  90000000
>    Verifying Checksum ... OK
> OK
> Found romfs @ 0x901b108c (0x000f7000)
> #### klimit 901c9000 ####
> Moving 0x000f7000 bytes from 0x901b108c to 0x901c8868
> New klimit: 0x902c0000
> L/
> 
> Notice that I still hit the same obstacle. Something is wrong but I
> don't know what it is?
> 
> I have attached the config file generate by the *send-configs  *script.
> 
> I would really appreciate your input on this.
> 
> Best Regards.
> 
> Aws\
> On Tue, Jun 23, 2009 at 2:41 PM, Aws Ismail <aws.ismail@xxxxxxxxx
> <mailto:aws.ismail@xxxxxxxxx>> wrote:
> 
>     thanks michal. I will check if i have the latest version. I should
>     check the $PETALINUX_VER env. variable. I don't doubt I have that
>     send_configs script. I will send it to you shortly.
> 
>     Regards.
> 
>     Aws\
> 
> 
>     On Sat, Jun 20, 2009 at 2:35 AM, Michal Simek
>     <michal.simek@xxxxxxxxxxxxx <mailto:michal.simek@xxxxxxxxxxxxx>> wrote:
> 
>         Hi,
> 
>         Aws Ismail wrote:
>         > Hi everyone.
>         >
>         > I have been trying to migrate Petalinux to digilent's XUPV2P
>         board (Rev.
>         > 04). I have been following Andrew's howto found here:
>         >
>         > http://www.labbookpages.co.uk/fpgas/linux/xupv2proMBLinux.html
>         >
>         > But when it comes to booting all I am getting is this (taken
>         from my
>         > minicom terminal window):
>         >
>         > *#### klimit 901c9000 ####
>         > Moving 0x000f7000 bytes from 0x901b108c to 0x901c8868
>         > New klimit: 0x902c0000
>         > L
>         > *
>         > And then the booting stops forever as if nothing is happening.
>         Does
>         > anyone have an idea what's going on? I go through all the
>         steps fine,
>         > until booting.
> 
>         I have been working with XUPV2P board. I haven't seen problem in it.
>         If you can please use latest PetaLinux (it is easier for us to
>         help you).
>         Please check that your Kconfig.auto correspond with your HW design.
>         (Be sure that bitstream which you have in FPGA is that one which
>         you want to use - for
>         example you loading bitstream via JTAG and you have setup Sysace
>         configuration - after
>         board reset you will use sysace bitstream).
> 
>         Read linux log buffer
>         http://www.monstr.eu/wiki/doku.php?id=fdt:fdt#error_logs
> 
>         If you use latest PetaLinux you can use one script
>         petalinux-send-configs to send your setting.
> 
>         Regards,
>         Michal
> 
> 
> 
> 
>         >
>         > Regards.
>         >
>         > Aws\
>         >
>         >
>         > On Wed, Apr 29, 2009 at 6:54 PM, Andy Greensted
>         <ajg112@xxxxxxxxxxxxxx <mailto:ajg112@xxxxxxxxxxxxxx>
>         > <mailto:ajg112@xxxxxxxxxxxxxx <mailto:ajg112@xxxxxxxxxxxxxx>>>
>         wrote:
>         >
>         >     I put this howto together a few days ago.
>         >     Hope it helps
>         >     http://www.labbookpages.co.uk/fpgas/linux/xupv2proMBLinux.html
>         >
>         >     Andy
>         >
>         >     Aws Ismail wrote:
>         >
>         >         Thanks David for your reply. I am about to start
>         porting it too
>         >         so it's good to share the experience with anyone doing
>         the same
>         >         thing. I do have the SDRAM as a 256 MB DIMM on the
>         board. What
>         >         is your XUPV2P board revision?
>         >
>         >         Aws\
>         >
>         >         On Tue, Apr 28, 2009 at 9:25 PM, David Babich
>         >         <dbabich@xxxxxxxxxxxxxxxx
>         <mailto:dbabich@xxxxxxxxxxxxxxxx>
>         <mailto:dbabich@xxxxxxxxxxxxxxxx <mailto:dbabich@xxxxxxxxxxxxxxxx>>
>         >         <mailto:dbabich@xxxxxxxxxxxxxxxx
>         <mailto:dbabich@xxxxxxxxxxxxxxxx>
>         >         <mailto:dbabich@xxxxxxxxxxxxxxxx
>         <mailto:dbabich@xxxxxxxxxxxxxxxx>>>> wrote:
>         >
>         >            I actually just started working on a port for the
>         Digilent XUPV2P
>         >            board yesterday.  I'm doing it in my spare time, so my
>         >         progress may
>         >            be slow.  If I run into any issues I'll post as I
>         go along.
>         >          Based
>         >            on passed experience with Petalinux, it is
>         certainly feasible and
>         >            the XUPV2P is more than sufficient to support it
>         provided you
>         >            include the XUPV2P's SDRAM module in your design.
>         >
>         >
>         >        
>          ------------------------------------------------------------------------
>         >                *From:* Aws Ismail (SFU) [mailto:aii@xxxxxx
>         <mailto:aii@xxxxxx>
>         >         <mailto:aii@xxxxxx <mailto:aii@xxxxxx>>
>         <mailto:aii@xxxxxx <mailto:aii@xxxxxx> <mailto:aii@xxxxxx
>         <mailto:aii@xxxxxx>>>]
>         >
>         >                *To:* microblaze-uclinux@xxxxxxxxxxxxxx
>         <mailto:microblaze-uclinux@xxxxxxxxxxxxxx>
>         >         <mailto:microblaze-uclinux@xxxxxxxxxxxxxx
>         <mailto:microblaze-uclinux@xxxxxxxxxxxxxx>>
>         >                <mailto:microblaze-uclinux@xxxxxxxxxxxxxx
>         <mailto:microblaze-uclinux@xxxxxxxxxxxxxx>
>         >         <mailto:microblaze-uclinux@xxxxxxxxxxxxxx
>         <mailto:microblaze-uclinux@xxxxxxxxxxxxxx>>>
>         >
>         >                *Sent:* Tue, 28 Apr 2009 19:15:05 -0600
>         >                *Subject:* [microblaze-uclinux] Porting
>         Petalinux 0.20 Build
>         >                -rc1 050607 to Digilent's XUPV2P board.
>         >
>         >
>         >                Hello Everyone,
>         >
>         >                I was wondering if anyone have tried porting
>         Petalinux 0.20
>         >                Build rc1 to a Digilent XUPV2P board. If so,
>         where there any
>         >                problems or hurdles encountered. If not, is it
>         even feasible?
>         >
>         >                I appreciate your input.
>         >
>         >                --        Aws Ismail, BASc. EE
>         >
>         >                MASc. Candidate
>         >                Mechatronic Systems Engineering
>         >                Simon Fraser University
>         >                250-13450 102 Avenue
>         >                Surrey BC V3T 0A3
>         >                ---------
>         >
>         >
>         >
>         >
>         >         --
>         >         Aws Ismail, BASc. EE
>         >
>         >         MASc. Candidate
>         >         Mechatronic Systems Engineering
>         >         Simon Fraser University
>         >         250-13450 102 Avenue
>         >         Surrey BC V3T 0A3
>         >
>         >         Tel (Cell): 778-889-0526
>         >         ---------
>         >
>         >
>         >     --
>         >     Dr. Andrew Greensted      Department of Electronics
>         >     Bio-Inspired Engineering  University of York, YO10 5DD, UK
>         >
>         >     Tel: +44(0)1904 432828    Mailto: ajg112@xxxxxxxxxxxxxx
>         <mailto:ajg112@xxxxxxxxxxxxxx>
>         >     <mailto:ajg112@xxxxxxxxxxxxxx <mailto:ajg112@xxxxxxxxxxxxxx>>
>         >     Fax: +44(0)1904 432335    Web: http://www.labbookpages.co.uk
>         >
>         >     2009 IEEE Congress on Evolutionary Computation:
>         http://www.cec-2009.org
>         >     ___________________________
>         >     microblaze-uclinux mailing list
>         >
>         >     microblaze-uclinux@xxxxxxxxxxxxxx
>         <mailto:microblaze-uclinux@xxxxxxxxxxxxxx>
>         >     <mailto:microblaze-uclinux@xxxxxxxxxxxxxx
>         <mailto:microblaze-uclinux@xxxxxxxxxxxxxx>>
>         >     Project Home Page :
>         >     http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>         <http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux>
>         >     <http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux>
>         >     Mailing List Archive :
>         >     http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>         <http://www.itee.uq.edu.au/%7Elistarch/microblaze-uclinux/>
>         >     <http://www.itee.uq.edu.au/%7Elistarch/microblaze-uclinux/>
>         >
>         >
>         >
>         >
>         > --
>         > Aws Ismail, BASc. EE
>         >
>         > MASc. Candidate
>         > Mechatronic Systems Engineering
>         > Simon Fraser University
>         > 250-13450 102 Avenue
>         > Surrey BC V3T 0A3
>         >
>         > Tel (Cell): 778-889-0526
>         > ---------
> 
>         --
>         Michal Simek, Ing. (M.Eng)
>         PetaLogix - Linux Solutions for a Reconfigurable World
>         w: www.petalogix.com <http://www.petalogix.com> p:
>         +61-7-30090663,+42-0-721842854 f: +61-7-30090663
> 
> 
> 
> 
>     -- 
>     Aws Ismail, BASc. EE
> 
>     MASc. Candidate
>     Mechatronic Systems Engineering
>     Simon Fraser University
>     250-13450 102 Avenue
>     Surrey BC V3T 0A3
> 
>     Tel (Cell): 778-889-0526
>     ---------
> 
> 
> 
> 
> -- 
> Aws Ismail, BASc. EE
> 
> MASc. Candidate
> Mechatronic Systems Engineering
> Simon Fraser University
> 250-13450 102 Avenue
> Surrey BC V3T 0A3
> 
> Tel (Cell): 778-889-0526
> ---------

-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 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/