Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by smcnutt@Dec 19 2005, 08:37 PM hi bkucera,
> what do 0x00012970 and 0x0000eff0 represent?
you are, of course, correct. the boot loader expects a sequence of
length-address-data records -- one for each linker output section that is loaded.
the final record normally has a length of zero, which indicates that the following
address is the "jump" target.
you read through the bootloader code and comments from boot_loader.s in:
$sopc_kit_nios2/components/altera_nios2/sdk/src/bootloader_sources/
regards,
--scott
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11655)
--- quote end ---
--- Quote End --- I did read through that, it just wasn't clicking at the time. Related question - I followed your advice from my other thread and generated a map file from the linker. The only confusing part is the BSS section. I see it's being used for storage of global variables, but according to the ELF file it doesn't take up any space in the object file, which I gather is how it's supposed to be. I also see that the crt0.s file has some code that clears the BSS section. So what happens to the .BSS section when you run elf2flash?