!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

282 Members
93 Servers

Load older messages


SenderMessageTime
5 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howah okay, so the screenshot you sent was through binfmt on an x86 box?12:36:38
@fufexan:matrix.orgfufexanyes12:36:41
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf it doesn't work when it gets there then I'll be very surprised :P12:36:51
@fufexan:matrix.orgfufexanI'll run it real quick to test12:36:51
@fufexan:matrix.orgfufexanimage.png
Download image.png
12:40:25
@fufexan:matrix.orgfufexansure enough, it works12:40:32
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howThe blog post I write this month, is going to be amazing.12:44:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how Statically linking and cross compiling Nix itself for usage on any distribution for the VisionFive board is so simple, I'm just blown away. 12:44:59
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howJust that alone is such a good demonstration of Nix power.12:45:40
@fufexan:matrix.orgfufexan
sudo ./nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bottom
[sudo] password for riscv:
warning: the group 'nixbld' specified in 'build-users-group' does not exist
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 311 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 616 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 1061 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 2248 ms
error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60)
```how should I fix this?
18:16:41
@fufexan:matrix.orgfufexan *
sudo ./nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bottom
[sudo] password for riscv:
warning: the group 'nixbld' specified in 'build-users-group' does not exist
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 311 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 616 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 1061 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 2248 ms
error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60)
```how should I fix this?
18:16:50
@fufexan:matrix.orgfufexan *
sudo ./nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bottom
[sudo] password for riscv:
warning: the group 'nixbld' specified in 'build-users-group' does not exist
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 311 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 616 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 1061 ms
warning: error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60); retrying in 2248 ms
error: unable to download 'https://github.com/NixOS/flake-registry/raw/master/flake-registry.json': SSL peer certificate or SSH remote key was not OK (60)

how should I fix this?

18:17:01
@fufexan:matrix.orgfufexan fixed by adding export NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt 18:45:46
@fufexan:matrix.orgfufexanimage.png
Download image.png
18:49:56
@fufexan:matrix.orgfufexan all of this just to run btm 😄 18:50:03
@fufexan:matrix.orgfufexanimage.png
Download image.png
19:38:09
@fufexan:matrix.orgfufexan umm, another weird issue. matthewcroughan - nix.how were you able to run anything with nix on the board? 19:38:21
@fufexan:matrix.orgfufexanI guess I'll have to try flashing zhaofengli's sdcard image and try to work with that19:38:55
@commandocrypto:1312.mediacomrandroxaoshttps://www.clockworkpi.com/product-page/devterm-kit-r01 since we're talking aabout risc-v, i didn't know this was real until today20:30:47
@fufexan:matrix.orgfufexanlooks really cool but I can't imagine working on such a small screen21:42:00
@fufexan:matrix.orgfufexanalso, only 1GB ram, when my empty wm uses about 400mb 😄21:42:34
6 Jun 2022
@j-k:matrix.orgj-k
In reply to @matthewcroughan:defenestrate.it
j-k: Zhaofeng Li did you know that nix build nixpkgs#pkgsCross.riscv64.pkgsStatic.nix works?
nice
10:40:48
@j-k:matrix.orgj-kI used the nix repo to build the release tar.gz so I'd get the installer script that sets up the systemd services and builder users for multi user install10:41:39
7 Jun 2022
@execat:matrix.orgexecat joined the room.18:22:05
9 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how j-k: How do you boot the sdImage on the visionfive then? 19:28:22
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf anyone else knows, let me know!19:28:42
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howhttps://github.com/NixOS/nixpkgs/pull/16882619:28:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI've got an image, but I'm not sure if the opensbi firmware first has to be updated on the board before the sdImage will boot successfully 19:29:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how

Because now, I just get

DRAM:  8 GiB
Core:  13 devices, 9 uclasses, devicetree: separate
MMC:   mmc@10000000: 0, mmc@10010000: 1
Loading Environment from SPIFlash... cadence_spi spi@11860000: Can't get reset: -524
SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

StarFive EEPROM format v1

--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7100A1-2209-D008E000-00000543
data version: 0x1
PCB revision: 0x1
BOM revision: A
Ethernet MAC address: 6c:cf:39:00:05:42
--------EEPROM INFO--------

In:    serial@12440000
Out:   serial@12440000
Err:   serial@12440000
Net:   dwmac.10020000
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
switch to partitions #0, OK
mmc0 is current device
MMC CD is 0x1, force to True.
MMC CD is 0x1, force to True.
Failed to load 'uEnv.txt'
** Invalid partition 3 **
Couldn't find partition mmc 0:3
Can't set block device
19:29:38
@justinrestivo:matrix.orgjustinrestivois this serial out?20:37:15

There are no newer messages yet.


Back to Room ListRoom Version: 6