Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submodule failed to init - 'rust_raytrace/rust-raytracer-weekend' #5

Open
Tresvian opened this issue Oct 17, 2023 · 4 comments
Open

Comments

@Tresvian
Copy link

Tresvian commented Oct 17, 2023

>> git submodule
 0bd94b14f8b6b838bbd48e5c204e819df621e659 linux (v5.17-2542-g0bd94b14f8b6)
 44818d1a35315c4dde34050eb0aac98866f9eb15 mprv/micropython (v1.16-222-g44818d1a3)
 7aa6c9aa96049b741b754b7340ea96a37719de27 opensbi (v0.9-134-g7aa6c9a)
 7d1a0e3153c37cd180be9e95f331f32c225d9257 riscv-opcodes (remotes/origin/riscv-bitmanip-33-g7d1a0e3)
 8ee69d7a5dc7ef6d8b2bda96bf86d2923f2cf176 riscv-rust (0.2.2-70-g8ee69d7)
 1b2c3ea84a7f8d8a833fca4d2b9aebb7d1ba4269 riscv-tests (remotes/origin/hw_watchpoint-128-g1b2c3ea)
 85e04d1edb1e35d2e59a791f5246dfec33982305 riscv32_belugafatal: no submodule mapping found in .gitmodules for path 'rust_raytrace/rust-raytracer-weekend'
 (heads/master)

A submodule failed to recursive clone and also fails on recursive initialization. Is the submodule the repo below?:

https://github.com/mwcz/rust-raytracer-weekend

@Tresvian
Copy link
Author

On unrelated note, I also have a failure on GPU driver clone from the beginning:

PS C:\Users\Tresv\source> git clone git@github.com:PiMaker/rvc.git --recursive
Cloning into 'rvc'...
--- snip snip snip owo ---
Submodule 'linux' (git@github.com:PiMaker/linux-rvc.git) registered for path 'linux'
Submodule 'mprv/micropython' (https://github.com/micropython/micropython) registered for path 'mprv/micropython'
Submodule 'opensbi' (https://github.com/riscv/opensbi) registered for path 'opensbi'
Submodule 'riscv-opcodes' (https://github.com/riscv/riscv-opcodes) registered for path 'riscv-opcodes'
Submodule 'riscv-rust' (https://github.com/takahirox/riscv-rust) registered for path 'riscv-rust'
Submodule 'riscv-tests' (https://github.com/riscv/riscv-tests) registered for path 'riscv-tests'
Submodule 'riscv32_beluga' (https://github.com/michg/riscv32_beluga.git) registered for path 'riscv32_beluga'
Cloning into 'C:/Users/Tresv/source/rvc/linux'...
remote: Enumerating objects: 8737517, done.
remote: Total 8737517 (delta 0), reused 0 (delta 0), pack-reused 8737517
Receiving objects: 100% (8737517/8737517), 3.78 GiB | 31.25 MiB/s, done.
Resolving deltas: 100% (7172369/7172369), done.
Cloning into 'C:/Users/Tresv/source/rvc/mprv/micropython'...
remote: Enumerating objects: 114283, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 114283 (delta 4), reused 2 (delta 1), pack-reused 114267
Receiving objects: 100% (114283/114283), 58.55 MiB | 3.42 MiB/s, done.
Resolving deltas: 100% (85065/85065), done.
Cloning into 'C:/Users/Tresv/source/rvc/opensbi'...
remote: Enumerating objects: 11500, done.
remote: Counting objects: 100% (4810/4810), done.
remote: Compressing objects: 100% (1032/1032), done.
remote: Total 11500 (delta 3906), reused 3864 (delta 3777), pack-reused 6690
Receiving objects: 100% (11500/11500), 2.19 MiB | 3.33 MiB/s, done.
Resolving deltas: 100% (7289/7289), done.
Cloning into 'C:/Users/Tresv/source/rvc/riscv-opcodes'...
remote: Enumerating objects: 2254, done.
remote: Counting objects: 100% (850/850), done.
remote: Compressing objects: 100% (298/298), done.
remote: Total 2254 (delta 638), reused 646 (delta 552), pack-reused 1404
Receiving objects: 100% (2254/2254), 633.04 KiB | 11.11 MiB/s, done.
Resolving deltas: 100% (1319/1319), done.
Cloning into 'C:/Users/Tresv/source/rvc/riscv-rust'...
remote: Enumerating objects: 2089, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 2089 (delta 6), reused 8 (delta 4), pack-reused 2074
Receiving objects: 100% (2089/2089), 36.47 MiB | 12.79 MiB/s, done.
Resolving deltas: 100% (1389/1389), done.
Cloning into 'C:/Users/Tresv/source/rvc/riscv-tests'...
remote: Enumerating objects: 7470, done.
remote: Counting objects: 100% (369/369), done.
remote: Compressing objects: 100% (164/164), done.
remote: Total 7470 (delta 221), reused 287 (delta 199), pack-reused 7101
Receiving objects: 100% (7470/7470), 2.67 MiB | 5.69 MiB/s, done.
Resolving deltas: 100% (5063/5063), done.
Cloning into 'C:/Users/Tresv/source/rvc/riscv32_beluga'...
remote: Enumerating objects: 3139, done.
remote: Total 3139 (delta 0), reused 0 (delta 0), pack-reused 3139
Receiving objects: 100% (3139/3139), 2.88 MiB | 17.85 MiB/s, done.
Resolving deltas: 100% (273/273), done.
error: invalid path 'drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c'
fatal: Unable to checkout '0bd94b14f8b6b838bbd48e5c204e819df621e659' in submodule path 'linux'

@PiMaker
Copy link
Owner

PiMaker commented Nov 10, 2023

You don't need the rust raytracer module, can ignore that one. No idea about the linux clone error. Note that it comes from my fork of the kernel: https://github.com/PiMaker/linux-rvc , you should be able to just clone that manually.
Interested what you're trying to achieve here though? Just for personal edification, or are you trying to work something out with this project? :)

@Tresvian
Copy link
Author

I was exploring the idea of running GNS3 inside the emulated environment to see if maybe making ABI into the vrchat assets could yield a learning environment for Cisco networking equipment. I did do a simulated environment on my end, and it was pretty... laggy haha. I'll give this a run soon enough to see if the shader engine is even capable of any realtime calculations for GNS3.

@PiMaker
Copy link
Owner

PiMaker commented Dec 26, 2023

GNS3 appears to be either x86 or MIPS (Dynamips?) based, this repo emulates a RISC-V ISA. I don't see how this would be compatible. I am working on implementing a networking stack into the linux boot though, slow progress but might show that off eventually. It'll be using Udon networking as a network switch, Ethernet layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants