[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



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>>
> 
>     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>  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
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/