!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

319 Members
96 Servers

Load older messages


SenderMessageTime
12 Jul 2023
@alex:tunstall.xyzAlex
In reply to @thefossguy:matrix.org
until now, I was looking for a "third party repo" which I could depend on for having riscv binaries and just pull them
There are some but you won't find much beyond the essentials or anything the cache's maintainer has bothered to build.
18:10:01
@thefossguy:matrix.orgPratham Patel
In reply to @leons:is.currently.online
Are folks invested in the Milk-V Pioneer yet? It looks to good to be true...
There are two people in China who have it already
18:10:11
@alex:tunstall.xyzAlex
In reply to @alex:tunstall.xyz
There are some but you won't find much beyond the essentials or anything the cache's maintainer has bothered to build.
e.g. https://github.com/misuzu/nixos-vf2/blob/450d1899dc25b61d9bbb339ff8b235cbe81f19dd/flake.nix#L3
18:10:37
@0x4a6f:matrix.org[0x4A6F]
In reply to @leons:is.currently.online
Are folks invested in the Milk-V Pioneer yet? It looks to good to be true...
Not enough funds, maybe NixOS foundation could chim in. Maybe raitobezarius has some better understanding of this platform.
18:10:44
@thefossguy:matrix.orgPratham PatelOne is the aforementioned official Arch Linux maintainer who maintains a riscv "fork" (because archlinux is x86-only) and I've seen the other guy in StarFive's forums creating images with various distros for the VF118:11:13
@leons:is.currently.onlineLeon [0x4A6F]: It'd be really stretching my budget for these kinds of things. I want to see whether I can find some funding somewhere given an academic excuse, but I'm almost included to spend my own $$$ on it at this point. 18:12:04
@leons:is.currently.onlineLeon * [0x4A6F]: It'd be really stretching my budget for these kinds of things. I want to see whether I can find some funding somewhere given an academic excuse, but I'm almost inclined to spend my own $$$ on it at this point. 18:12:16
@0x4a6f:matrix.org[0x4A6F]image.jpeg
Download image.jpeg
18:13:31
@0x4a6f:matrix.org[0x4A6F]image.jpeg
Download image.jpeg
18:13:37
@alex:tunstall.xyzAlex
In reply to @leons:is.currently.online
[0x4A6F]: It'd be really stretching my budget for these kinds of things. I want to see whether I can find some funding somewhere given an academic excuse, but I'm almost inclined to spend my own $$$ on it at this point.
You'd also need to convince the folks who run Hydra to let your machine join the builder pool (or wait years for intensional store).
18:13:40
@0x4a6f:matrix.org[0x4A6F]image.jpeg
Download image.jpeg
18:13:42
@thefossguy:matrix.orgPratham PatelMe neither but I would prefer it over the HiFive Pro...18:13:43
@0x4a6f:matrix.org[0x4A6F]More inclined to throw money at this beast.18:13:58
@leons:is.currently.onlineLeon Alex: sure, I'm not even thinking this far at that point. I'd probably hack on it by day, and have it join a community Hydra at night 18:14:47
@leons:is.currently.onlineLeonI want some machine which has supervisor mode for some PoC development. I doesn't need to be fast, but I don't have that right now given I usually only work on embedded OSes for Cortex-M/RV32IMC MCUs.18:16:12
@thefossguy:matrix.orgPratham Patel
In reply to @thefossguy:matrix.org
Me neither but I would prefer it over the HiFive Pro...
The Horse Creek SoC's 4 cores can push only so much... Especially when building GCC woof!
18:16:18
@leons:is.currently.onlineLeonSo thinking this could be dual-use :)18:16:23
@misuzu:matrix.orgmisuzu
In reply to @thefossguy:matrix.org
not in SPI mode (with the firmware flashed using nix run github:misuzu/nixos-vf2#flash-visionfive2-vendor /dev/ttyUSB0)

You probably have changed some settings is u-boot. To reset u-boot settings to default values you can use these commands:

env default -a
saveenv
18:36:30
@thefossguy:matrix.orgPratham Patel
In reply to @misuzu:matrix.org

You probably have changed some settings is u-boot. To reset u-boot settings to default values you can use these commands:

env default -a
saveenv
I didn’t modify your uboot settings. I flashed the image and flashed the firmware using aforementioned method.   
18:37:47
@misuzu:matrix.orgmisuzu
In reply to @thefossguy:matrix.org
I didn’t modify your uboot settings. I flashed the image and flashed the firmware using aforementioned method.   
It's not enough to flash u-boot to reset u-boot settings
18:38:44
@thefossguy:matrix.orgPratham Patel Oh you mean the settings stored by the vendor’s firmware? 18:39:23
@thefossguy:matrix.orgPratham Patel It’s possible that i messed with the vendors firmware and that’s acting up right now lol 18:39:49
@thefossguy:matrix.orgPratham Patel I’ll take a look tomorrow morning    18:40:05
@misuzu:matrix.orgmisuzuRedacted or Malformed Event18:40:10
@thefossguy:matrix.orgPratham Patel Good night for now :) 18:40:14
@alex:tunstall.xyzAlex

misuzu is nixos-cross-image-efi supposed to require RISC-V emulation to build?

alex@alex-pc3 ~/r/A/n/master (master)> nix build .#nixos-cross-image-efi --print-build-logs
error: a 'riscv64-linux' with features {} is required to build '/nix/store/03w7yyb2cqw3blz9biawkypig49lx2fc-bootstrap-tools.drv', but I am a 
'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
18:53:39
@alex:tunstall.xyzAlex
In reply to @alex:tunstall.xyz

misuzu is nixos-cross-image-efi supposed to require RISC-V emulation to build?

alex@alex-pc3 ~/r/A/n/master (master)> nix build .#nixos-cross-image-efi --print-build-logs
error: a 'riscv64-linux' with features {} is required to build '/nix/store/03w7yyb2cqw3blz9biawkypig49lx2fc-bootstrap-tools.drv', but I am a 
'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}

Nevermind, this is the consequence of my own changes.

Now to figure out why.

18:55:32
@misuzu:matrix.orgmisuzu
In reply to @alex:tunstall.xyz

misuzu is nixos-cross-image-efi supposed to require RISC-V emulation to build?

alex@alex-pc3 ~/r/A/n/master (master)> nix build .#nixos-cross-image-efi --print-build-logs
error: a 'riscv64-linux' with features {} is required to build '/nix/store/03w7yyb2cqw3blz9biawkypig49lx2fc-bootstrap-tools.drv', but I am a 
'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
Nope, just regular x86_64-linux machine
19:28:28
@misuzu:matrix.orgmisuzu
In reply to @thefossguy:matrix.org
I noticed that the image (https://github.com/misuzu/nixos-vf2) didn't boot with all combinations of DIP switches so me being extra smart, I dd-ed uboot SPL and SBI firmware on /dev/sda1 and /dev/sda2 respectively and mvoed /boot to /dev/sda3 and / to /dev/sda4. Now, your derivation doesn't work because it expects "/dev/sda1" to be EFI?
https://github.com/misuzu/nixos-vf2/tree/master#u-boot-on-an-sd-card follow this if you want u-boot on an sdcard
19:29:40
@alex:tunstall.xyzAlex
In reply to @misuzu:matrix.org
https://github.com/misuzu/nixos-vf2/tree/master#u-boot-on-an-sd-card follow this if you want u-boot on an sdcard
Oh neat, that means I can cancel building my dodgy attempt at tweaking your make-efi-image script.
19:30:52

Show newer messages


Back to Room ListRoom Version: 6