- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All -
I am getting an error building SSS in 9.0SP2 - the HW I am using is from nios2_linux_3c120_125mhz_sys - the following is what I get when trying to build the app make -s all includes Compiling alt_error_handler.c... Compiling iniche_init.c... Compiling led.c... ../led.c: In function `LED7SegLightshowTask': ../led.c:97: warning: unused variable `led_7_seg_val' Compiling network_utilities.c... ../network_utilities.c: In function `generate_and_store_mac_addr': ../network_utilities.c:209: error: `EXT_FLASH_NAME' undeclared (first use in this function) ../network_utilities.c:209: error: (Each undeclared identifier is reported only once ../network_utilities.c:209: error: for each function it appears in.) ../network_utilities.c: In function `get_board_mac_addr': ../network_utilities.c:238: error: `EXT_FLASH_BASE' undeclared (first use in this function) ../network_utilities.c: In function `FindLastFlashSectorOffset': ../network_utilities.c:309: error: `EXT_FLASH_NAME' undeclared (first use in this function) make: *** [obj/network_utilities.o] Error 1 Not certain whats up with the flash interface of why the compiler is bombing on it... I thought these .sopc files and canned examples were better sorted than they are... Any help is appreciated - thanks - crayner OK so I defined EXT_FLASH_BASE to be the base of the flash interface, and EXT_FLASH_NAME to be '/dev/cfi_flash_64m' and the source builds, however the enet interface hangs upon booting... Copyright 1996-2008 by InterNiche Technologies. All rights reserved. prep_tse_mac 0 Could not locate flash sector with MAC address. prepped 1 interface, initializing... [tse_mac_init] INFO : TSE MAC 0 found at address 0x08004000 INFO : PHY Marvell 88E1111 found at PHY address 0x12 of MAC Group[0] INFO : PHY[0.0] - Automatically mapped to tse_mac_device[0] INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link... INFO : PHY[0.0] - Auto-Negotiation PASSED is as far as I get then HANG....Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yeah, got the same issue. Did you find any soloutoin in the meantime?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Freelancer - got it running - look here
http://www.alteraforum.com/forum/showthread.php?t=23793&highlight=3c120
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