- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I previously posted a question but didn’t get any responses :confused: so I have been trying to debug u-boot and now have some more information so hopefully some one will be able to help me.
The problem that my program dosnt run after uncompressing the kernel image it just freezes ie ## Booting image at 00000000 ... Image Name: Kevin Image Type: Nios-II Linux Kernel Image (gzip compressed) Data Size: 205991 Bytes = 201.2 kB Load Address: 0004f000 Entry Point: 0004f000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK u-boot/tools/mkimage.exe -d Scrouge.gz -A nios2 -O linux -T kernel -n "Kevin" -a 0x0004f000 -e 0x0004f000 -C gzip Scrouge.img and then Iam loading the image over RS232 with the command loadb 0x00000000 after stepping through u-boot the program freezes in nios_linux.c file in the following function https://www.alteraforum.com/forum/attachment.php?attachmentid=1682 It can been seen that the function pointer is at the correct address the one I used for my mkimage command and if I inspect the memory at 0x4f00 it appears correct https://www.alteraforum.com/forum/attachment.php?attachmentid=1684 If compare to the hex elf file https://www.alteraforum.com/forum/attachment.php?attachmentid=1683 There appears to be some form of header that has been removed and then the hex bytes maybe possible swapped (but I am presuming it’s correct) and then the data looks correct does anyone have any thoughts Many thanksLink Copied
0 Replies
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