Thanks Bas,

I will try to your advice.

thanks very much

2010/3/19 Bas Mevissen <[email protected]>

> On Fri, 2010-03-19 at 10:12 +0800, Yongheng Qi wrote:
> > Thanks Bas ,
> >
> >
> > because kamikze trunk used linux kernel changed so faster. and my
> > application depend on fixed kernel version.
> >
> You can keep the kernel version stable and have the other stuff up to
> date. But that won't help if there is a problem with that kernel.
>
> In general, it is better to see if you can make your application
> independent of the kernel version. In the event of a kernel driver
> (binary), you might not have that freedom.
>
> >
> > so I can't use svn up. only need resolve the problem. I want to know
> > how to resolve the problem myself.
> >
> I would first recommend to check that the board boots with the version
> of Kamikaze trunk mentioned in the bug report. Then you know that there
> is no other problem.
>
> Then work your way back in svn revisions until you find the change that
> fixed the problem. It is some work, but you don't need to dig too deep
> into code to get it.
>
> Example: svn revision 1000 fails and 2000 works. Try 1500. If it works,
> try 1250. Otherwise try 1750, etc. If you can compile fast enough, it is
> just a matter of a few hours work to pinpoint the revision that fixed
> the issue.
>
> To avoid recompiling everything every time, keep a copy of every
> compiled tree and only go *upwards* in svn revision number on that
> particular tree. So if you want to compile revision 1500, check for the
> closest lower revision you have, say 1000, copy it and update it to the
> revision.
>
> The idea is that updated sources will be automatically recompiled. This
> is not 100% guaranteed to work, but it might save you a lot of time.
> Also make sure that you don't change the directory path of the tree you
> are recompiling because that will break the compile. Or even worse, you
> will use stuff from a different revision.
>
> Something like:
>
> svn up --revision 1000 openwrt-current
> cd openwrt-current; make
> cp -a openwrt-current openwrt-r1000
>
> svn up --revision 2000 openwrt-current
> cd openwrt-current; make
> mv openwrt-current openwrt-r2000
>
> # now I want 1500
> cp -a openwrt-r1000 openwrt-current
> svn up --revision 1500 openwrt-current
> cd openwrt-current; make
>
> Bas.
>
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>



-- 
Yongheng Qi

Mobile: +86 1390 119 7481
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to