!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

332 Members
105 Servers

Load older messages


SenderMessageTime
11 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howflash can just be a bash while loop18:08:45
@luizribeiro:matrix.orgluizribeirocool, that's reasonable18:08:59
12 Jun 2022
@artturin:matrix.orgArtturin joined the room.01:29:21
@ar:hackerspace.plar joined the room.19:26:30
13 Jun 2022
@Minijackson:matrix.orgMinijackson hello all! Some of you might be interested by https://github.com/NixOS/nixpkgs/pull/177001, I have some piece of software that doesn't handle cross-compilation very well, so I'm using emulatedSystems instead. This PR contains what is needed to support a new system in the bootstraping phase 14:30:17
14 Jun 2022
@kity:kity.wtfash (it/its) 🏳️‍⚧️ changed their profile picture.00:44:18
18 Jun 2022
@atharvaamritkar:matrix.orgwiredhikari joined the room.10:04:31
19 Jun 2022
@mjvc:matrix.orgmjvc joined the room.21:39:52
20 Jun 2022
@qyliss:fairydust.spaceAlyssa RossThis PR could do with some attention from a RISC-V expert: https://github.com/NixOS/nixpkgs/pull/17814011:44:59
22 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how Zhaofeng Li: Can you tell me if this is the only artifact I need to flash to get the generic sdImage booting on the Vision Five? 18:50:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howhttps://github.com/NixOS/nixpkgs/pull/168826/commits/454e04a3b12320be322b30e98e5b6383ab9ff92918:50:44
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how uboot: init ubootVisionFive at 2022.04 18:50:51
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howOnce I've built this, all I need to do is flash it using the method described in their docs, and I can move on by booting our generic sdImage?18:51:14
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howMy only question would then be, how do I get the original u-boot back? I want to make a video describing how to do this, so I would need to flash the original back.18:51:38
23 Jun 2022
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @matthewcroughan:defenestrate.it
My only question would then be, how do I get the original u-boot back? I want to make a video describing how to do this, so I would need to flash the original back.
Flashing it back is described here: https://cfsamson.github.io/books-futures-explained/2_a_mental_model_for_futures.html
03:14:27
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @matthewcroughan:defenestrate.it
My only question would then be, how do I get the original u-boot back? I want to make a video describing how to do this, so I would need to flash the original back.
* Flashing it back is described here: https://wiki.rvspace.org/en/Product/VisionFive/Technical_Documents/VisionFive_Single_Board_Computer_Quick_Start_Guide#appendix-c-recovering-the-bootloader
03:15:15
24 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how Zhaofeng Li: Is it possible to flash the file with screen instead of xmodem on Windows? 16:21:39
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howHow do you "send the file"? Just cat into stdin?16:21:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * How do you "send the file"? Just cat or pipe into stdin?16:21:48
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howAh I see https://github.com/xypron/JH71xx-tools/ is available 16:35:57
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howwill nixify that, if you haven't already 16:36:01
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
        jh7100-recover = pkgs.runCommandCC "jh7100-recover" {} ''
          mkdir -p $out/bin
          gcc -o $out/bin/jh7100-recover ${jh71xx-tools}/jh7100-recover.c
        '';
        jh7100-recover = pkgs.writeCBin "jh7100-recover" (builtins.readFile "${jh71xx-tools}/jh7100-recover.c");
16:48:29
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howwhich one do you guys like more?16:48:32
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI like the writeCBin one 16:48:41
26 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how luizribeiro: I ended up making what I suggested, here https://github.com/MatthewCroughan/visionfive-nix/blob/master/flake.nix#L33 01:13:59
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how

I've not made a README yet, but it will be:

  1. Attach the board via serial
  2. nix run .#flashBootloader /dev/ttyUSB0
01:14:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howit really is that simple, now that I've made this.01:14:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * it really is that simple, now that I've made this using expect 01:14:53
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how useful for and justinrestivo Astro tomberek fufexan 01:15:23
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * useful for justinrestivo Astro tomberek fufexan 01:15:28

There are no newer messages yet.


Back to Room ListRoom Version: 6