On Tue, Jul 29, 2014 at 11:26 AM, piotrcz <[email protected]> wrote: > I have 3 files: > - vmlinux - binary file
This is most likely not a binary file, but an elf. > - vmlinus.vmem - file for RTL simulation > - vmlinux.asm - asembler > > I see something strange in these files: > - vmlinux > beginning of file contains some data and next some data are from address > 00002100 (I think this is part for Reset exception) > - vmlinux.vmem > @00000000 7f454c46 01020100 00000000 00000000 > @00000004 0002005c 00000001 c0000000 00000034 > @00000008 0043e63c 00000000 00340020 00020028 > @0000000c 001c0019 00000001 00002000 c0000000 > @00000010 00000000 002791a0 0027a000 00000007 > @00000014 00002000 00000001 0027c000 c027a000 > @00000018 0027a000 0017f59c 00193ed8 00000007 > @0000001c 00002000 00000000 00000000 00000000 > ... zeros > @00000840 19e0c029 a9ef8000 19a04000 e1ad7800 > @00000844 44006800 15000000 00000000 00000000 > @00000848 00000000 00000000 00000000 00000000 > @0000084c 00000000 00000000 00000000 00000000 > @00000850 00000000 00000000 00000000 00000000 > @00000854 00000000 00000000 00000000 00000000 > @00000858 00000000 00000000 00000000 00000000 > @0000085c 00000000 00000000 00000000 00000000 > @00000860 00000000 00000000 00000000 00000000 > @00000864 00000000 00000000 00000000 00000000 > @00000868 00000000 00000000 00000000 00000000 > @0000086c 00000000 00000000 00000000 00000000 > @00000870 00000000 00000000 00000000 00000000 > @00000874 00000000 00000000 00000000 00000000 > @00000878 00000000 00000000 00000000 00000000 > @0000087c 00000000 00000000 00000000 00000000 > @00000880 d400f078 b7c00040 a7de0001 bc1e0000 > @00000884 d400507c 0c00000a d4000880 1820c028 > @00000888 a8218b30 1bc04000 e3de0800 855e0000 > @0000088c 1bc04000 e3de5000 843e0038 9c21fef0 > @00000890 1bc04000 e3de0800 d41e6030 b5800020 > @00000894 d41e6080 b5800040 d41e6000 85800078 > @00000898 d41e6078 8580007c d41e6028 85800080 > @0000089c d41e6004 d41e2010 b4800030 e1800004 > @000008a0 abc00079 c000f040 1bc0c000 abde5078 > @000008a4 c000f020 24000000 00000000 00000000 > @000008a8 00000000 00000000 00000000 00000000 > This looks like it's generated from an elf, not a binary file. You can use objcopy to generate the binary or1k-elf-objcopy -O binary vmlinux vmlinux.bin Stefan _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
