- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I want to compress my kernel and the code that should run on this kernel. I have made a little bootloader that should start up and then deflate my compressed file. I wanted to have the deflated file in the S-Record format so I could use the code from the GERMS monitor to interpret the S-Records and put the data the correct places in the memory. Now my problem is that the NIOS 2, that I am using now, don't generate these S-Record files as the old NIOS 1 did. There is also no tool for converting hex/flash files into S-Record files. How can I get my output files in the S-Record format????? Is there a better way to do what I am doing??? A better format??? Best Regards GreateWhite.DKLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am thinking that I might just take the binary kernel file and compress that file. Then I can deflate that one while I copy the data to the correct places in memory.
But how do I change the Memory map for my uC Linux kernel??? I can set it to use the SDRAM as it's program memory which is just fine. But if I want to have bootloader already running in this memory I cannot just copy the kernel from the base of the memory. I have to somehow make a offset of x bytes. How can this be setup within the IDE or anywhere else??? Regards GreateWhite.DK- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try "nios2-elf-objcopy --help"
This will convert a .elf to a .srec- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you very much http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif

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