[Milkymist-devel] Issue with Linux COmpilation for Milkymist
Sébastien Bourdeauducq
sebastien.bourdeauducq at lekernel.net
Mon Nov 9 02:06:11 PST 2009
Hi,
On Monday 09 November 2009 08:18:31 Gautam Kalyanasundaram wrote:
> 1. In the path: linux/scripts/mod/libelfbuild/libelf there is a file called
> INSTALL which is a readme. This needs to be renamed for the compilation to
> work in a cygwin env.
>
>
> The makefile tries to create a directory called install in the same
> subdirectory as above and crashes out.
That's a Cygwin issue. On POSIX systems (that Cygwin is supposed to emulate),
there is no problem with calling a file "INSTALL" and a directory "install"
(filesystem is fully case-sensitive).
> (gdb) target sim --memory-region 0x00000000,0x0fffffff
>
> Failed to find symbol _fstack in program. You must specify memory regions
> with --memory-region.
Obviously you did use --memory-region and you just spotted one of the numerous
bugs that GDB has (and that GNU fails to fix despite several reports).
What version do you use? If you use the one shipped by Theobroma and these
commands:
http://www.milkymist.org/wiki/index.php?title=Task:Porting_Linux_to_the_SoC#Simulating
simulation typically goes a bit further.
However, we never managed to get this broken simulator to work. There are LOTS
of bugs to fix in its code; moreover, there are no proper simulation models for
Milkymist peripherals such as UART and timer - those need to be developed.
So do not expect the GDB simulation to work without significant development
efforts.
Sébastien
More information about the Devel
mailing list