Re: [9fans] Update on RISC-V port

2023-02-01 Thread Skip Tavakkolian
Check sources (9p.io) for recent updates. I don't know if Geoff has that board.

% pwd
/n/sources/contrib/geoff/riscv
% ls -l
--rwxrwxr-x M 5272 geoff geoff  506028 Oct  2 23:57 8.temu
--rwxrwxr-x M 5272 geoff geoff 1241308 Jan  4 21:47 9tecpu.bin
--rw-rw-r-- M 5272 geoff geoff 397 Jan 11 21:28 INDEX
--rw-rw-r-- M 5272 geoff geoff   92145 Jan  5 17:13 c-riscv64.pdf
--rw-rw-r-- M 5272 geoff geoff 7604104 Sep  7 00:43 dist.9k-rv.tgz
--rw-r--r-- M 5272 geoff geoff  246069 Apr 29  2022 riscv-platform-spec-1.pdf
--rw-r--r-- M 5272 geoff geoff  543279 Apr 29  2022 riscv-plic.pdf
--rw-r--r-- M 5272 geoff geoff  764565 Apr 29  2022 riscv-privileged-v1.12.pdf
--rw-r--r-- M 5272 geoff geoff 1031063 Apr 29  2022 riscv-v2.2.pdf

On Wed, Feb 1, 2023 at 4:40 PM Lyndon Nerenberg (VE7TFX/VE6BBM)
 wrote:
> 
> Waaay back in Nov 2020 Skip sent a note to the list about some
> preliminary work on a RISC-V port.  Now that my VisionFive-2 dev
> board has arrived I'm itching to try to get Plan9 running on it.
> Has any progress been made since that last update?
> 
> https://www.kickstarter.com/projects/starfive/visionfive-2
> 
> --lyndon

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tbe8c3c69c87794db-Mbdbc5bf816001d17248a7513
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Update on RISC-V port

2023-02-01 Thread Lyndon Nerenberg (VE7TFX/VE6BBM)
Waaay back in Nov 2020 Skip sent a note to the list about some
preliminary work on a RISC-V port.  Now that my VisionFive-2 dev
board has arrived I'm itching to try to get Plan9 running on it.
Has any progress been made since that last update?

https://www.kickstarter.com/projects/starfive/visionfive-2

--lyndon

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tbe8c3c69c87794db-M330021ff354696dd4fe2bbe2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] applying a patch on 9front

2023-02-01 Thread Chris Gorman
Hi jimerickso,

I'm a bit of a newbie when it comes to plan9, so you've run into
something I haven't seen yet.  Sorry I can't be of more help.  My
experience was that I couldn't get the system to recognise and
authenticate the wifi so it would connect to the network at boot.  I
modified my plan9.ini with

ether0=type=iwl essid=MYESSID debug=1
wpapsk=WPAPASSWORD

For some reason this failed to authenticate and connect my machine to
my localnet.

I could however run the following once my machine was up and the wifi worked.

bind -a '#l1' /net
echo 'key proto=wpapsk essid=MYESSID !password=WPAPASSWORD' >> /mnt/factotum/ctl
aux/wpa -2p -s MYESSID /net/ether1
ip/ipconfig ether /net/ether1

At any rate we should probably move this to the 9front email list if
we need to discuss it further.

Best regards,

Chris


On Wed, Feb 1, 2023 at 1:55 PM  wrote:
>
> thank you kindly chris gorman! i got the patch to apply and got it to connect 
> at boot. but when it connects rio wont start. when it doesn't connect rio 
> starts. not sure what to do.
> 9fans / 9fans / see discussions + participants + delivery options Permalink

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7978718c750df254-M589548e2962b93688925892d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] applying a patch on 9front

2023-02-01 Thread ori
Quoth jimeric...@gmail.com:
> thank you kindly chris gorman! i got the patch to apply and got it to connect 
> at boot. but when it connects rio wont start. when it doesn't connect rio 
> starts. not sure what to do.

there's nowhere near enough information to help you;
you'll need to be more specific.

read:

https://www.mikeash.com/getting_answers.html



--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7978718c750df254-M19a47f412f6816fe91d324f4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] applying a patch on 9front

2023-02-01 Thread jimerickso
thank you kindly chris gorman! i got the patch to apply and got it to connect 
at boot. but when it connects rio wont start. when it doesn't connect rio 
starts. not sure what to do.
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7978718c750df254-Me6cd261ed88082bbe4252ed0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] applying a patch on 9front

2023-02-01 Thread Chris Gorman
HI jimerickso,

To get the patch to apply on my system, I used

cd /sys/src/9/pc
cat $home/etheriwl.c.diff | ape/patch -p5

Then you need to copy iwm-7265-17 from the openbsd firmware blobs and
put it into /lib/firmware, then build your kernel.

This will configure the iwm-7265-17 firmware blob to load with an
ac-7265.  Unfortunately, not all ac-7265's require this particular
blob.  I have another one that requires the iwm-7265D-29.  It also
identifies itself with the same pci id, 0x095a, so there is no way to
differentiate which firmware to load at the moment.  You have to know
what firmware the ac-7265 needs and then code etheriwl.c to suit.

Good luck and I hope you get your wireless working.  I kind of gave up
on mine as I couldn't get it to work at boot, but if you get it
working let me know.

Best regards,

Chris


On Wed, Feb 1, 2023 at 8:05 AM  wrote:
>
> i am trying to patch etheriwl.c on 9front. the patch is available on this 
> list under the topic "modification of etheriwl.c for intel ac 7265". however 
> i can not get the patch to apply. how do i do this? i have tried both 
> 'git/import' and 'ape/patch' to no avail. any help would be appreciated. 
> thanks for your time.
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7978718c750df254-M6d0484c20d9c05d3f5b17605
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] applying a patch on 9front

2023-02-01 Thread jimerickso
i am trying to patch etheriwl.c on 9front. the patch is available on this list 
under the topic "modification of etheriwl.c for intel ac 7265". however i can 
not get the patch to apply. how do i do this? i have tried both 'git/import' 
and 'ape/patch' to no avail. any help would be appreciated. thanks for your 
time.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7978718c750df254-Me88ba86d7e64f946a1bef159
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription