Forum Discussion
Altera_Forum
Honored Contributor
20 years agoU-BOOT !!!!!!!!!!!!
Hi http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wacko.gif , that u-boot is really driving me crazy. This is what I've done: 1- Compiled u-boot (got the .bin and the .srec)...
Altera_Forum
Honored Contributor
20 years agoHi MFM,
> > Please post your flash configuration (and part numbers) and I'll see if there's one > > I can recommend. > My flash is an AMD AM29LV065D-120R 8 MB x 8 bits You should be able to use the existing flash driver in board/altera/common/AMDLV065D.c. If you started with the ep1c20 configuration -- it would already be built for you. Otherwise, you need to include the driver in your build -- copy the file into your board directory and add it to your makefile. Then set the flash configuration macros in your configuration header file. Here are the settings from other boards that use 065D: # define cfg_flash_base 0xwhatever /* flash base addr */# define cfg_flash_size 0x00800000 /* 8 mbyte */# define cfg_max_flash_sect 128 /* max# sects per bank */# define cfg_max_flash_banks 1 /* max# of flash banks */# define cfg_flash_erase_tout 8000 /* erase timeout (msec) */# define cfg_flash_write_tout 100 /* write timeout (msec) */# define cfg_flash_word_size unsigned char /* flash word size */ Did I tell you (in some other thread) to stub-out flash_init? For some reason I thought you were using an Altera stratix 2 development board -- which uses the LV128. Regards, --Scott