Post
Topic
Board Hardware
Re: [Work in progess] Burnins Avalon Chip to mining board service
by
kano
on 16/08/2013, 20:45:40 UTC
Received my devices today after a week of shipping. I’m quite impressed by the quality of burnin's service regardless.

It is possible to update the firmware using a raspberrypi and arch linux after all. Somebody in an earlier posting stated that it isn’t possible, but I found it works just fine.

I simply checked out http://code.google.com/p/pic32prog/ as read-only, installed build-essentials and libusb-compat and compiled it. If you try to compile it without libusb-compat installed, you’ll get an error because usb.h is missing.

Then I had an issue where my pic32prog wouldn’t recognize the bootloaders. They always timed out. If you have the same problem, edit lines 163-166 in target.c:

Code:
if (! t->adapter)
        t->adapter = adapter_open_hidboot ();
    if (! t->adapter)
        t->adapter = adapter_open_an1388 ();

to look like this:

Code:
if (! t->adapter)
        t->adapter = adapter_open_an1388 ();
    if (! t->adapter)
        t->adapter = adapter_open_hidboot ();

then recompile (make && make install) and try again.

to flash, simply execute ./pic32prog BitBurner_08.05b.hex

I did all of the above the above as root, otherwise you’ll probably run into permission issues.

You missed a couple of changes I already posted next to a post of yours before:
https://bitcointalk.org/index.php?topic=179769.msg2897971#msg2897971

The problem for me was it hangs during programming on the RPi
It does find it and connect to it and start programming, but then hangs before completion

May well be the libusb version I used that day ... the default libusb version on raspbian is bugged ... but the default version on Arch seems to be OK, so I may have only run it on Raspbian - I can't remember.