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

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



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  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
> 
> 
> 
___________________________
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/