| 11 Jun 2022 |
luizribeiro | (so you can enter 0 to enter uboot flashing) | 18:06:48 |
matthewcroughan - nix.how | apps are just shell scripts | 18:06:51 |
matthewcroughan - nix.how | so you can do whatever you want, including rm -rf | 18:07:00 |
matthewcroughan - nix.how | and 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 group | 18:07:26 |
matthewcroughan - nix.how | making ethernet the most surefire method | 18:07:31 |
matthewcroughan - nix.how | even then, it's a bit jank | 18:07:37 |
matthewcroughan - nix.how | serial is probably most surefire when ran as root, to guarantee success | 18:07:52 |
matthewcroughan - nix.how | * serial is probably most surefire when ran as root, to guarantee idempotent success | 18:07:55 |
luizribeiro | right, but there's no guarantee you are currently in uboot flashing mode. you need to enter that. | 18:07:58 |
matthewcroughan - nix.how | Our instructions would be:
nix run .#flash
- power up board
- success
| 18:08:30 |
matthewcroughan - nix.how | flash can just be a bash while loop | 18:08:45 |
luizribeiro | cool, that's reasonable | 18:08:59 |
| 12 Jun 2022 |
| Artturin joined the room. | 01:29:21 |
| ar joined the room. | 19:26:30 |
| 13 Jun 2022 |
Minijackson | 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 |
| ash (it/its) 🏳️⚧️ changed their profile picture. | 00:44:18 |
| 18 Jun 2022 |
| wiredhikari joined the room. | 10:04:31 |
| 19 Jun 2022 |
| mjvc joined the room. | 21:39:52 |
| 20 Jun 2022 |
Alyssa Ross | This PR could do with some attention from a RISC-V expert: https://github.com/NixOS/nixpkgs/pull/178140 | 11:44:59 |
| 22 Jun 2022 |
matthewcroughan - 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 - nix.how | https://github.com/NixOS/nixpkgs/pull/168826/commits/454e04a3b12320be322b30e98e5b6383ab9ff929 | 18:50:44 |
matthewcroughan - nix.how | uboot: init ubootVisionFive at 2022.04 | 18:50:51 |
matthewcroughan - nix.how | Once 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 - nix.how | 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. | 18:51:38 |
| 23 Jun 2022 |
Zhaofeng 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 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 - nix.how | Zhaofeng Li: Is it possible to flash the file with screen instead of xmodem on Windows? | 16:21:39 |
matthewcroughan - nix.how | How do you "send the file"? Just cat into stdin? | 16:21:46 |
matthewcroughan - nix.how | * How do you "send the file"? Just cat or pipe into stdin? | 16:21:48 |
matthewcroughan - nix.how | Ah I see https://github.com/xypron/JH71xx-tools/ is available | 16:35:57 |