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

Re: [microblaze-uclinux] Re: mONStR Uboot - Problems when I try to create my own board



Hi Juan,

one email for all.
I fixed some things in my wiki.
About genace - please read your output first before sending an email. Xilinx
tools provide a good problem description.

I understand that you want have everything step by step with explanation of
every step. But you understand this is a free wiki.
I understand that is hard for newbies to start with FPGA. On common CPU you have
hardware ready in FPGA word you can change everything + software.
If you want explicit explanation we can talk privately with any contract - jump
start or similar.

Regards,
Michal

> Hi Michal, I'am a little confused, can  you can explain me a bit more 
> please???
> 
> In the section "U-BOOT with FS-BOOT" do you create a stub with PetaLinux
> tools for interaction with FS-BOOT , why do you download this image
> using tftp ?? The soultion could be simplified just copying this new
> u-boot in an ACE file in the CF ?
> 
>   I don't know why we create a first u-boot (executing make
> xupv2p_config ; make ) and then we muest to create  an ACE with u-boot
> file and the bitstream. This ACE file is used for download the new
> u-boot and the copy the new u-boot in  the flash. Finally the old u-boot
> is erased.
>  
> I appreciate too much your explanations. Thank you
> 
> 
> 2008/10/21 Juan Pablo Gómez <juanwalker@xxxxxxxxx
> <mailto:juanwalker@xxxxxxxxx>>
> 
>     Hi Michal, finally I load u-boot in my board the problem was that I
>     not copied *config.mk <http://config.mk> * and  *xparameters.h* 
>     files in the correct directory .Can you please specified in the wiki
>     where should be copied ?
> 
>     Something like :
>     Copy those files and replace the oldest in  your  board  directory
>     (Ex : board/xilinx/ml401 ) at the source tree of u-boot.  
> 
>     Right now I've a problem to create the ace file. When I execute this
>     command
> 
>     *xmd -tcl genace.tcl -jprog -hw implementation/download.bit -elf
>     u-boot -ace uboot.ace*
> 
>     This result appears :
> 
>     Xilinx Microprocessor Debug (XMD) Engine
>     Xilinx EDK 10.1.03 Build EDK_K_SP3.6
>     Copyright (c) 1995-2007 Xilinx, Inc.  All rights reserved.
>     Executing xmd script :
>     /home/juanwalker/software/Xilinx/10.1/EDK/data/xmd/genace.tcl
> 
>     #######################################################################
>     XMD GenACE utility. Generate SystemACE File from bit/elf/data Files
>     #######################################################################
>     Parsing genace option: -jprog -hw implementation/download.bit -elf
>     u-boot -ace uboot.ace
>     Target Type not defined for Processor 1, Using default Target Type
>     ppc_hw
>     *Error: Executable u-boot does not contain start address..*
> 
> 
>     Again Michal thank you for all your help and valious time.
> 
>     Best regards, Juan.
> 
> 
> 
>     2008/10/21 Juan Pablo Gómez <juanwalker@xxxxxxxxx
>     <mailto:juanwalker@xxxxxxxxx>>
> 
>         Hi Michal, i've solved the problem... I wasn't copied the
>         petalinux bps into the new edk_user_repository of mONStR.
> 
>         My suggestion is that you could explain that necesary step for
>         avoid this error?
> 
>         Only describe this instruction before the third setp.
> 
>         Thank you so much for your help!
> 
>         3. use first stage bootloader like FS-BOOT
>         (http://developer.petalogix.com <http://developer.petalogix.com/>)
> 
> 
> 
>         2008/10/21 Juan Pablo Gómez <juanwalker@xxxxxxxxx
>         <mailto:juanwalker@xxxxxxxxx>>
> 
>             This is my MHS file http://pastebin.com/f3ff33235
> 
>             I'm using a V2PRO board from digilentinc
> 
>             2008/10/21 Juan Pablo Gómez <juanwalker@xxxxxxxxx
>             <mailto:juanwalker@xxxxxxxxx>>
> 
>                 Hi Michal, again thank you for your answers I appreciate
>                 too much your help :-)
> 
>                 Actually I'm using top bsd configuration, i never used
>                 u-boot configuration... 
>                 I don't know why auto-config.h is not generated?
> 
>                 2008/10/21 Michal Simek <monstr@xxxxxxxxx
>                 <mailto:monstr@xxxxxxxxx>>
> 
>                     Hi Juan Pablo,
> 
>                     yes, I should use top bsp instead of petalinux and
>                     u-boot one. Top bsp which I
>                     made called all bsp which you need. Just set it and
>                     rebuild libs.
> 
>                     Top bsp has restricted license about sharing but you
>                     can using without any
>                     problems.
> 
>                     Michal
> 
>                     > Hi Michal, thank you for the answers.
>                     >
>                     > When I try to make the bistream for use FS-BOOT
>                     with U-BOOT these errors
>                     > appears and FS-BOOT didn't compile :
>                     >
>                     > (This is a image : )
>                     http://img377.imageshack.us/img377/5333/fsbootgb1.png
>                     >
>                     > When I build the Libraries and BSP file, the
>                     > microblaze_0\include\auto-config.h (At the root of
>                     the project) file is
>                     > not generate and this file is necesary for the
>                      compilation of FS-BOOT.
>                     > Should I still use FS-BOOT?? What I've to do for
>                     compile FS-BOOT with
>                     > the mONStR Uboot.
>                     >
>                     > Again thanks for your help.
>                     >
>                     >
>                     >
>                     >
>                     >
>                     >
>                     > 2008/10/20 Michal Simek <monstr@xxxxxxxxx
>                     <mailto:monstr@xxxxxxxxx> <mailto:monstr@xxxxxxxxx
>                     <mailto:monstr@xxxxxxxxx>>>
>                     >
>                     >     Thanks. I added there some comments about.
>                     >
>                     >     > Hi, thank you Michal. It work's correctly..
>                     But the explanation
>                     >     could me
>                     >     > more explicit for other people.. For
>                     example, the part where we
>                     >     inclued
>                     >     > the lines in the makefile it's important to
>                     copy the tabs because
>                     >     > withouth the tabs when we run make the
>                     makefile shows errors.
>                     >
>                     >     I fixed it. There are a lot of examples.
>                     >
>                     >     > Also when you say that we have to
>                     >     > copy include/configs/ml401.h to mb_first.h
>                     >     >
>                     >     > where exctly goes mb_first.h ?, It's seems
>                     that mb_frist.h has to be
>                     >     > copied in  mb_boot root directory but when I
>                     checkout include/config.h
>                     >     > I  rename this file in the same directory.
>                     >
>                     >     no - include/configs/mb_first.h is the correct
>                     location. If you want
>                     >     to have
>                     >     mb_first.h in root, you will have to create
>                     sym link from
>                     >     include/configs/mb_first.h to your root path.
>                     (do not forget to use
>                     >     relative path)
>                     >
>                     >
>                     >     > Otherwise, the make runs correctly.
>                     >     >
>                     >     > Thank you for help me Michal
>                     >
>                     >     Thanks,
>                     >     Michal
>                     >
>                     >     >
>                     >     > 2008/10/17 Michal Simek <monstr@xxxxxxxxx
>                     <mailto:monstr@xxxxxxxxx>
>                     >     <mailto:monstr@xxxxxxxxx
>                     <mailto:monstr@xxxxxxxxx>> <mailto:monstr@xxxxxxxxx
>                     <mailto:monstr@xxxxxxxxx>
>                     >     <mailto:monstr@xxxxxxxxx
>                     <mailto:monstr@xxxxxxxxx>>>>
>                     >     >
>                     >     >     Hi Juan Pablo,
>                     >     >
>                     >     >     there were small fault. Sorry for that.
>                     I wrote it from my mind.
>                     >     >     I added some logs too. :-)
>                     >     >     I have tested and work.
>                     >     >
>                     >     >     go to board/mb_first and rename ml401.c
>                     to mb_first.c (the
>                     >     name must
>                     >     >     be the same
>                     >     >     as is name of board)
>                     >     >
>                     >     >     libmb_first is here
>                     >     >
>                     >     >     [monstr@xxxxxxxxx u-boot-denx-de]$ cd
>                     board/mb_first/
>                     >     >     [monstr@xxxxxxxxx mb_first]$ ls
>                     >     >     config.mk <http://config.mk>
>                     <http://config.mk> <http://config.mk>  libmb_first.a
>                     >      Makefile  mb_first.c
>                     >     >      mb_first.o  u-boot.lds
>                     >     >     xparameters.h
>                     >     >
>                     >     >     Could you tested again?
>                     >     >
>                     >     >     Thanks,
>                     >     >     Michal
>                     >     >
>                     >     >
>                     >     >     Juan Pablo Gómez wrote:
>                     >     >     > Greetings Michal I'm following the
>                     guide for use U-Boot
>                     >     >     >
>                     (http://monstr.eu/wiki/doku.php?id=uboot:uboot)
>                     >     >     >
>                     >     >     > But when I try to create my own board
>                     I've this problem :
>                     >     >     >
>                     >     >     > make[1]: *** The no rule for build the
>                     objetive  `mb_first.o',
>                     >     >     necesary
>                     >     >     > for  `libmb_first.a'.  Stop
>                     >     >     >
>                     >     >     > Perhaps there's any mistake on the
>                     section, after build de
>                     >     U-Boot I
>                     >     >     > followed these steps for use a xupv2p
>                      board :
>                     >     >     >
>                     >     >     > 1) copy this directory :
>                     board/xilinx/xupv2p   with this new
>                     >     name
>                     >     >     > board/mb_first
>                     >     >     >
>                     >     >     > 2) copy this file
>                     include/configs/xupv2p.h with this name to
>                     >     >     > include/configs/mb_first.h
>                     >     >     >
>                     >     >     > 3) change mb_first.h, the  include
>                     file (#include
>                     >     >     > "../board/xilinx/ml401/xparameters.h")
>                     to #include
>                     >     >     > "../../board/mb_first/xparameters.h"
>                     >     >     >     The path in the wiki is correct
>                     >     >      "../board/mb_first/xparameters.h" ?
>                     >     >     >
>                     >     >     > 4)  I edit the top level Makefile
>                     adding these lines
>                     >     >     >
>                     >     >     >
>                     >     >     > mb_first_config:      unconfig
>                     >     >     >       @mkdir -p $(obj)include
>                     >     >     >       @echo "#define CONFIG_MB_FIRST
>                     1" > $(obj)include/config.h
>                     >     >     >
>                     >     >     >       @$(MKCONFIG) -a $(@:_config=)
>                     microblaze microblaze
>                     >     mb_first
>                     >     >     >
>                     >     >     >
>                     >     >     > It's seems that thw word FIRST was
>                     writed incorrectly, and don't
>                     >     >     forget
>                     >     >     > the tab's.
>                     >     >     >
>                     >     >     > I followed these steps but the result
>                     was unsuccessful, waht I
>                     >     >     should do?
>                     >     >     >
>                     >     >     > Thank you Michal and regards, Juan Pablo
>                     >     >     >
>                     >     >     >
>                     >     >     >
>                     >     >
>                     >     >
>                     >     >
>                     >     >
>                     >     > --
>                     >     > Muchas gracias.
>                     >     >
>                     >     > Atentamente, Juan Pablo Gómez
>                     >     ___________________________
>                     >     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/>
>                     >
>                     >
>                     >
>                     >
>                     > --
>                     > Muchas gracias.
>                     >
>                     > Atentamente, Juan Pablo Gómez
>                     ___________________________
>                     microblaze-uclinux mailing list
>                     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>
>                     Mailing List Archive :
>                     http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>                     <http://www.itee.uq.edu.au/%7Elistarch/microblaze-uclinux/>
> 
> 
> 
> 
>                 -- 
>                 Muchas gracias.
> 
>                 Atentamente, Juan Pablo Gómez
> 
> 
> 
> 
>             -- 
>             Muchas gracias.
> 
>             Atentamente, Juan Pablo Gómez
> 
> 
> 
> 
>         -- 
>         Muchas gracias.
> 
>         Atentamente, Juan Pablo Gómez
> 
> 
> 
> 
>     -- 
>     Muchas gracias.
> 
>     Atentamente, Juan Pablo Gómez
> 
> 
> 
> 
> -- 
> Muchas gracias.
> 
> Atentamente, Juan Pablo Gómez
___________________________
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/