!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

333 Members
103 Servers

Load older messages


SenderMessageTime
12 Jul 2023
@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
@misuzu:matrix.orgmisuzu
In reply to @alex:tunstall.xyz
Oh neat, that means I can cancel building my dodgy attempt at tweaking your make-efi-image script.
Try it on spare sdcard first, maybe I've written something wrong 🤡
19:34:08
@misuzu:matrix.orgmisuzuThe image uses labels to mount partitions, so partition numbers shouldn't matter19:36:37
@alex:tunstall.xyzAlex
In reply to @misuzu:matrix.org
The image uses labels to mount partitions, so partition numbers shouldn't matter
Doesn't that mean I could shrink my root partition a bit and put u-boot at the end of the disk?
19:37:29
@misuzu:matrix.orgmisuzu
In reply to @alex:tunstall.xyz
Doesn't that mean I could shrink my root partition a bit and put u-boot at the end of the disk?
Root partition - no, efi partition - maybe
19:38:15
@raitobezarius:matrix.orgraitobezarius
In reply to @0x4a6f:matrix.org
Not enough funds, maybe NixOS foundation could chim in. Maybe raitobezarius has some better understanding of this platform.
I'd wait
23:39:14
@raitobezarius:matrix.orgraitobezariusAs said in another channel23:39:24

Show newer messages


Back to Room ListRoom Version: 6