!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

354 Members
111 Servers

Load older messages


SenderMessageTime
11 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how we could get it to be like nix run .#flash.ethernet or nix run .#flash.minicom 18:05:45
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how give all the different flashing methods as an app 18:05:57
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howLet's just throw people bones and stop with all these imperative instructions haha 18:06:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIt's so ridiculous 18:06:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howAnd it's always the same stuff explained differently 💀18:06:35
@luizribeiro:matrix.orgluizribeirohow would you determine the current state of the bootloader from your nix expressions though?18:06:39
@luizribeiro:matrix.orgluizribeiro(so you can enter 0 to enter uboot flashing)18:06:48
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how apps are just shell scripts 18:06:51
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how so you can do whatever you want, including rm -rf 18:07:00
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howand I suppose the only way to guarantee minicom would work is to run it as root, since the user mightn't be in the dialout group18:07:26
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howmaking ethernet the most surefire method18:07:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howeven then, it's a bit jank 18:07:37
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howserial is probably most surefire when ran as root, to guarantee success18:07:52
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * serial is probably most surefire when ran as root, to guarantee idempotent success18:07:55
@luizribeiro:matrix.orgluizribeiroright, but there's no guarantee you are currently in uboot flashing mode. you need to enter that.18:07:58
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how

Our instructions would be:

  1. nix run .#flash
  2. power up board
  3. success
18:08:30
@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

Show newer messages


Back to Room ListRoom Version: 6