|
Message
From: laurentiuduca<albatros.abc@g...>
Date: Thu Jan 3 14:40:11 CET 2008
Subject: [openrisc] ERR: 8-bit program load out of memory area: 01000074
Hi,
I have this problem too.
or32-uclinux-sim -i -f sim.cfg simpleprogsim Reading script file from 'sim.cfg'... Building automata... done, num uncovered: 0/213. Parsing operands data... done. loadcode: filename simpleprogsim startaddr=00000000 virtphy_transl=00000000 Not COFF file format ELF type: 0x0002 ELF machine: 0x005c ELF version: 0x00000001 ELF sec = 15 Section: .text, vaddr: 0x40004000, paddr: 0x40004000 offset: 0x00004000, size: 0x0000084c ERR: 8-bit program load out of memory area: 40004000 ERR: 8-bit program load out of memory area: 40004001 ERR: 8-bit program load out of memory area: 40004002 ERR: 8-bit program load out of memory area: 40004003 ERR: 8-bit program load out of memory area: 40004004 ....
ram.ld MEMORY { bootram : ORIGIN = 0x40004000, LENGTH = 0x00001800 sram : ORIGIN = 0x20000000, LENGTH = 0x00100000 vectors : ORIGIN = 0x00000000, LENGTH = 0x00001000 } ....
sim.cfg section memory type = unknown /* pattern = 0x00 */
nmemories = 6
device 0 name = "BOOT" ce = 0 baseaddr = 0x40000000 size = 0x00004000 delayr = 1 delayw = 2 enddevice
device 1 name = "SRAM" ce = 1 baseaddr = 0x20000000 size = 0x00100000 delayr = 1 delayw = 2 enddevice
device 2 name = "FLASH" ce = 2 baseaddr = 0xf0000000 size = 0x01000000 delayr = 10 delayw = -1 enddevice
device 3 name = "SDRAM" ce = 3 baseaddr = 0x00000000 size = 0x04000000 delayr = 1 delayw = 2 enddevice ...
Dimitrios Orfanos wrote: > > Hi, > > I've managed to create a gnu toolchain for OPENRISC by using the > instructions in this website www.meansoffreedom.net (thanks to Rich). I > wrote simple program: > hello.c > ------------ > int main() > { > return 0; > } > --------------- > > I compiled it with the command or32-uclinux-gcc -static -o hello
> hello.cwith no problem.
>
> I took the or1ksim 0.2.0. and I did:
>
> ./configure --target=or32 (I also tried or32-uclinux)
>
> and then make all.
>
> It compiled with no problem.
>
> Later I copied the hello program in the directory of or1ksim and I gave
> the
> command:
> ./sim hello
>
> The result was to take messages like this
> ERR: 8-bit program load out of memory area: 01000074
>
> I also attach a file with all the messages.
>
> What I want to do is to execute OPENRISC programs on my PC. I don't have
> any
> board (FPGA or with OPENRISC processor) so I want to test my programs for
> OPENRISC on my PC.
>
> What am I doing wrong. Do I have to do specific configuration via sim.cfg?
>
> Best Regards,
> DO
>
>
> _______________________________________________
> http://www.opencores.org/mailman/listinfo/openrisc
>
--
View this message in context: http://www.nabble.com/ERR%3A-8-bit-program-load-out-of-memory-area%3A-01000074-tp13623115p14596952.html
Sent from the OpenCores - RISC mailing list archive at Nabble.com.
|
 |