Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
710 Views

The problem of the DasUBoot !

http://www.alterawiki.com/wiki/dasuboot 

 

4. configure and build, 

 

make clean 

make my_nios2_config 

make 

==================================== 

I've set, 

"export CROSS_COMPILE=nios2-linux-uclibc- " 

In u-boot dir, put my_nios2.h in include/configs/, put my_nios2_fpga.h in board/altera/nios2-generic/. Then add an entry my_nios2 to the NIOS2_GENERIC list,like this: 

# include "../board/altera/nios2-generic/my_nios2_fpga.h" /* fpga parameters */ 

# define CONFIG_BOARD_NAME "my_nios2" /* custom board name */ 

 

Why does the command not work ? 

 

[root@localhost u-boot]# make clean 

[root@localhost u-boot]# make my_nios2_config 

make: *** No rule to make target `my_nios2_config'. Stop. 

 

[root@localhost u-boot]# make clean 

[root@localhost u-boot]# make my_nios2 

make: *** No rule to make target `my_nios2'. Stop. 

 

THANKS !
0 Kudos
2 Replies
Highlighted
Honored Contributor I
11 Views

What does these mean ? 

 

 

1. add an target entry to the file boards.cfg in u-boot directory after the line containing nios2-generic, like this my_nios2, 

nios2-generic nios2 nios2 nios2-generic altera 

my_nios2 nios2 nios2 nios2-generic altera 

 

 

Means to set the new file named boards.cfg,and modify the info of the " 

nios2-generic nios2 nios2 nios2-generic altera 

my_nios2 nios2 nios2 nios2-generic altera" 

into it???????????????????????????? 

=========================================================== 

http://www.alterawiki.com/wiki/guide_to_3c120_with_u-boot 

 

in u-boot dir, put 3C120.h in include/configs/, put 3c120_fpga.h in board/altera/nios2-generic/. Then add an entry 3C120 to the NIOS2_GENERIC list in Makefile. 

make 3C120_config 

=========================================================== 

http://www.alterawiki.com/wiki/extrem_guide_to_kill_neek_with_u-boot 

 

in u-boot dir, put NEEK.h in include/configs/, put neek_ocm_spi_mmu.h in board/altera/nios2-generic/. Then add an entry NEEK to the NIOS2_GENERIC list in Makefile. 

make NEEK_config 

=========================================================== 

http://www.alterawiki.com/wiki/guide_to_2c35_cf_with_u-boot 

 

in u-boot dir, put 2C35.h in include/configs/, put 2c35_cf.h in board/altera/nios2-generic/. Then add an entry 2C35 to the NIOS2_GENERIC list in Makefile. 

make 2C35_config 

 

Why did I do this above,it show me error ?
0 Kudos
Highlighted
Honored Contributor I
11 Views

What does these mean ? 

 

 

1. add an target entry to the file boards.cfg in u-boot directory after the line containing nios2-generic, like this my_nios2, 

nios2-generic nios2 nios2 nios2-generic altera 

my_nios2 nios2 nios2 nios2-generic altera 

 

 

Means to add the "my_nios2" into all the file including the "nios2-generic" in the u-boot folder~! 

 

MAKE IT!gaga~
0 Kudos