Forum Discussion
Altera_Forum
Honored Contributor
21 years agoStill UBoot ing...
Well thanks to everyone one and all my UBoot seems to be up and running fine however I'm still having a little bit of grief getting the final bits working (think I'm gonna write an app note o...
Altera_Forum
Honored Contributor
21 years agoHi Scott,
thanks for the speedy reply, here is the objdump blmsimple.elf: file format elf32-littlenios2 Sections: Idx Name Size VMA LMA File off Algn 0 .entry 00000020 00810800 00810800 00000094 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 1 .exceptions 00000248 01000020 01000020 000000b4 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 2 .text 000000f0 01000268 01000268 000002fc 2**3 CONTENTS, ALLOC, LOAD, READONLY, CODE 3 .rodata 00000000 01000358 01000358 000003ec 2**0 CONTENTS 4 .rwdata 00000000 01000358 01000358 000003ec 2**0 CONTENTS, ALLOC, LOAD, DATA 5 .bss 00000000 01000358 01000358 000003ec 2**0 ALLOC 6 .ext_flash 00000000 00000000 00000000 000003ec 2**0 CONTENTS 7 .sdram 00000000 01000358 01000358 000003ec 2**0 CONTENTS 8 .epcs_controller 00000000 00810820 00810820 000003ec 2**0 CONTENTS 9 .comment 0000002c 00000000 00000000 000003ec 2**0 CONTENTS, READONLY 10 .debug_aranges 00000068 00000000 00000000 00000418 2**3 CONTENTS, READONLY, DEBUGGING 11 .debug_pubnames 0000001f 00000000 00000000 00000480 2**0 CONTENTS, READONLY, DEBUGGING 12 .debug_info 00000244 00000000 00000000 0000049f 2**0 CONTENTS, READONLY, DEBUGGING 13 .debug_abbrev 0000008a 00000000 00000000 000006e3 2**0 CONTENTS, READONLY, DEBUGGING 14 .debug_line 000002d0 00000000 00000000 0000076d 2**0 CONTENTS, READONLY, DEBUGGING 15 .debug_frame 00000030 00000000 00000000 00000a40 2**2 CONTENTS, READONLY, DEBUGGING 16 .debug_str 000000e9 00000000 00000000 00000a70 2**0 CONTENTS, READONLY, DEBUGGING Now I can see that it is insitisting on sticking entry in the EPCS location (which of course is no good to me since U-boot actually comes from there). so it is almost like I want to omit/strip that bit of code from the elf so that it just loads up at 0x0100_0000 or whatever. Can this be simply done from the NIOS IDE or is it going to take a bit of trickery?