Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130814131832.GA2693@openwall.com>
Date: Wed, 14 Aug 2013 17:18:32 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Katja's weekly report #9

Katja, Yaniv -

On Wed, Aug 14, 2013 at 04:57:42PM +0400, Solar Designer wrote:
> On Wed, Aug 14, 2013 at 12:49:08PM +0200, Katja Malvoni wrote:
> > I tried running official matrix multiplication test but it doesn't work -
> > host stalls in polling loop when checking done signal from cores.
> 
> It worked with the previous eSDK.  Now the old eSDK's matmul no longer
> works (the prebuilt one misses libraries, and rebuilding this old source
> code with the new eSDK fails), and the new eSDK's fails as you describe.
> 
> I _guess_ the new eSDK's matmul example uses "the new E_DMA_MSGMODE
> control mode on E_DMA_DWORD transfers", which requires an updated
> BOOT.BIN as Yaniv described here:
> 
> http://forums.parallella.org/viewtopic.php?f=13&t=422
> 
> I may try that.

Here's what I did instead:

lftpget ftp://ftp.parallella.org/parallella/sd_images/BOOT.ZedBoard_E16.bin
od -Ad -tx1 BOOT.ZedBoard_E16.bin | fgrep -1 '99 aa'
dd if=BOOT.ZedBoard_E16.bin bs=68392 skip=1 of=bitstream-zed-201307.bin
dd of=bitstream-zed-201307.bin bs=4045564 count=0 seek=1

Then as root:

umask 077; mknod /dev/xdevcfg c 259 0
cat bitstream-zed-201307.bin > /dev/xdevcfg

Now the new eSDK's matmul example works fine. :-)

Of course, we'll be back to the previous bitstream when the system
reboots, unless we replace BOOT.BIN.  I'll probably try that later.

> I wonder if our inconsistent eSDK and BOOT.BIN versions may be causing
> any trouble for the bcrypt code as well.  Probably not.

Katja - please re-run your bcrypt on Epiphany tests now.

If the system reboots and you want the new official bitstream loaded
again, you may re-issue the mknod and cat commands above.  The bitstream
is in:

root@...aro-ubuntu-desktop:~/201307# ls -l
total 8180
-rw-r--r-- 1 root root 4045564 2013-08-14 13:12 bitstream-zed-201307.bin
-rw-r--r-- 1 root root 4327092 2013-07-17 01:44 BOOT.ZedBoard_E16.bin

And yes, I haven't yet tried the files that Sylvain provided to us.
I should.  I was simply distracted to other matters (and still am).

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.