Put the DRAMsim.tar in the ext directory and untar it there. Then have the
m5patch in m5 root directory. Run patch -p1 <m5.patch
Mario
On Fri, 30 Oct 2009, Weiming Shi wrote:
> I have copied the patch given by Clint Smullen in the post
> http://m5sim.org/cgi-bin/mailman/private/m5-users/2009-January/004014.html to
> a
> patch file (m5.patch).
>
> But when i try to apply the patch with git: git apply ./m5.patch
>
> It generate a fatal error saying "fatal: patch with only garbage at line 52".
>
> Line 52 is just the start of a new chunk of code to be patched, shown as
> follows:
>
> 49 diff --git a/src/mem/SConscript b/src/mem/SConscript
> 50 --- a/src/mem/SConscript
> 51 +++ b/src/mem/SConscript
> 52 <at> <at> -57,3 +57,21 <at> <at>
>
>
> I am pretty new with the git tool and have tweaked the patch the whole night
> without resolving this problem.
>
> I will really appreciate if anyone can help.
>
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users