On Tue, Mar 4, 2014 at 11:48 PM, Bakul Shah <ba...@bitblocks.com> wrote:
> On Tue, 04 Mar 2014 11:26:31 EST erik quanstrom <quans...@quanstro.net> wrote:
>>
>> first, apply the patch to the source, then build all of usb
>>
>>       9fs sources
>>       cd /sys/src/cmd/usb/lib
>>       cp /n/sources/patch/usbshortdesc/dev.c dev.c
>>       cd ..
>>       mk install
>>
>> then, build a new kernel
>>
>>       cd /sys/src/cmd/bcm; mk
>>
>> i believe you can give it a quick test by doing a hot reboot.
>>
>>       fshalt -r ./9pi
>>
>> if you'd like to install the new kernel on the flash, then
>>
>>       dossrv
>>       mount /srv/dos /n/9fat /dev/sdM0/dos
>>       cd /n/9fat
>>       cp 9pi 9pi-dist
>>       cp /sys/src/9/bcm/9pi 9pi-usbfix
>>       cp 9pi-usbfix 9pi
>>
>> and reboot.  if this doesn't work out, you can rescue yourself
>> by using anything that understands fat and replacing 9pi
>> with the contents of 9pi-dist.
>
> IIRC Ramakrishnan doesn't have a working 9pi system.
>
> I put 9pi with this patch in contrib/bakul on sources. It was
> cross-built on a 386 VM with a pull done this morning + the
> above patch. I had to rebuild the host 5c due to rune related
> errors so I am not 100% certain this will work (I probably
> should've done a full rebuild of the host binaries too).
>
> He should be able to mount the dos partition on another
> machine and replace 9pi on it.

Thanks, I downloaded the 9pi file (~2MB, MD5 -
4e4e18980d8ac91b0e8ed5aa820dc429) from contrib/bakul directory.

I could boot the R-Pi with this kernel and get the kb and mouse
working fine! Thanks a lot to everyone! One of the mice I had (a very
cheap, small mouse) didn't work though. Nevertheless, I am very happy
that it is all working now and have something to play with.

A big thanks again.
-- 
  Ramakrishnan

Reply via email to