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.

Reply via email to