- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to skip the flash check on the beginning of u-boot ??
***************************************** U-Boot 2009.03-00006-g3387a3e-dirty (Dec 17 2010 - 15:42:36) CPU : Nios-II SYSID : <unknown> BOARD : My Board# # Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB *** ERROR: unimplemented instruction @ f2fd00a0# ## ERROR# ## Please reset board# ## ***************************************** Since I do not have any CFI-Flash, it failing. CFG_NO_FLASH option did not work. CONFIG_ENV_IS_NOWHERE option did not work.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved.
define config_sys_no_flash do not define config_flash_cfi_driver do not define config_cmd_flash (undefine it if necessary do not define config_cmd_imls (undefine it if necessary) You may still see error in compilation. Go to u-boot/lib_nios2/board.c around line 155, comment out the line //bd->bi_flashsize = flash_init(); At least, this will give you a command prompt of the u-boot. Or simply the board.c file should use# ifdef to process this line. 1 more thing. If you are using the config_cmd_default, then... In side of u-boot/include/config_cmd_default.h around line 25, comment out# define CONFIG_CMD_FLASH- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems like this issue was cause by using older version of u-boot.
I was using 20090730 version. In the new version, 20100621, this issue has been fixed.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page