Re: Using binfmt_misc for cross testing

2014-05-21 Thread Bernie Ogden
If we add models as targets then that alleviates the sharing problem a bit - for test runs that aren't going to be too slow on models. And you'll need to watch out for nested '"' in $@, but I guess you know that. I guess this approach is similar to what 'make check test-wrapper="./glibc/script

Re: Using binfmt_misc for cross testing

2014-05-21 Thread Riku Voipio
Hi, This is essentially what sbrsh was created for a decade ago: http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/sbrsh.html http://packages.qa.debian.org/s/sbrsh.html You run register sbrsh with binfmt-misc (or just prefix sbrsh command) and run sbrshd on the target device. You

Re: Using binfmt_misc for cross testing

2014-05-21 Thread Ryan Arnold
On Wed, May 21, 2014 at 5:54 AM, Bernie Ogden wrote: > If we add models as targets then that alleviates the sharing problem a > bit - for test runs that aren't going to be too slow on models. And > you'll need to watch out for nested '"' in $@, but I guess you know > that. > Ultimately we need to

Re: Using binfmt_misc for cross testing

2014-05-21 Thread Maxim Kuvyrkov
On May 21, 2014, at 6:46 PM, Kugan wrote: > Is this set-up for NX? Issue is how do we share the target board between > different users? We can of-course initiate a lava hacking session but > the amount of time we will have to wait to get the session active might > be too long depending on the tar

Re: Using binfmt_misc for cross testing

2014-05-21 Thread Maxim Kuvyrkov
On May 21, 2014, at 10:54 PM, Bernie Ogden wrote: > If we add models as targets then that alleviates the sharing problem a > bit - for test runs that aren't going to be too slow on models. And > you'll need to watch out for nested '"' in $@, but I guess you know > that. The point is to run it pr

Re: Using binfmt_misc for cross testing

2014-05-21 Thread Maxim Kuvyrkov
Thanks Riku! I was hoping that someone would point me to an existing implementation. I will check it out. -- Maxim Kuvyrkov www.linaro.org On May 21, 2014, at 11:55 PM, Riku Voipio wrote: > Hi, > > This is essentially what sbrsh was created for a decade ago: > > http://www.scratchbox.org