!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

347 Members
109 Servers

Load older messages


SenderMessageTime
12 Jul 2023
@alex:tunstall.xyzAlexYes, no output is normal in the Linux world.17:13:37
@thefossguy:matrix.orgPratham Patel Usually I see a lot of output in nixos-rebuild XD 17:14:21
@alex:tunstall.xyzAlex You should now have /nix/store/mpgh4905nxkpf0jxcx90lchhf6l5gpiq-nixos-system-nixos-23.11.git.7c67f006ea0M if the command worked. 17:14:27
@thefossguy:matrix.orgPratham PatelIt's still churning. I'll wait for it to finish17:14:59
@alex:tunstall.xyzAlex

That's because Nix is busy building the stuff in your configuration.

Since I've shared the output, you don't need to build it yourself and can just import it directly into your store.

17:15:08
@thefossguy:matrix.orgPratham PatelOkay yeah, got the "expected" output.17:15:13
@thefossguy:matrix.orgPratham Patel The last line says /nix/store/mpgh4905nxkpf0jxcx90lchhf6l5gpiq-nixos-system-nixos-23.11.git.7c67f006ea0M 17:15:38
@thefossguy:matrix.orgPratham PatelIt matches with your hash17:15:46
@thefossguy:matrix.orgPratham PatelI'll reboot now17:15:50
@alex:tunstall.xyzAlexYeah, that's Nix telling you what output has been imported.17:15:55
@alex:tunstall.xyzAlexYou also need to switch the boot system to it first.17:16:05
@alex:tunstall.xyzAlex* Yeah, that's Nix telling you what store paths have been imported.17:16:39
@thefossguy:matrix.orgPratham PatelYep, switched17:17:01
@thefossguy:matrix.orgPratham PatelDid I f-up by being extra smart? 🙃17:24:35
@alex:tunstall.xyzAlex?17:24:41
@thefossguy:matrix.orgPratham Patel 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? 17:27:21
@thefossguy:matrix.orgPratham Patel

I got this

$ /nix/store/mpgh4905nxkpf0jxcx90lchhf6l5gpiq-nixos-system-nixos-23.11.git.7c67f006ea0M/bin/switch-to-configuration boot
File system "/dev/mmcblk1p3" has wrong type for an EFI System Partition (ESP).
systemd-boot not installed in ESP.
17:27:36
@alex:tunstall.xyzAlexThat's probably because the partitions need to have specific flags/UUIDs set.17:28:02
@thefossguy:matrix.orgPratham Patel
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?
Also yes, I flashed the recommended firmware using nix run github:misuzu/nixos-vf2#flash-visionfive2-vendor /dev/ttyUSB0 :)
17:28:25
@thefossguy:matrix.orgPratham PatelAh, so I'll need to build it myself?17:28:35
@alex:tunstall.xyzAlexThe system is only meant to boot with the switches on "flash"17:28:53
@alex:tunstall.xyzAlex
In reply to @thefossguy:matrix.org
Ah, so I'll need to build it myself?
And figure out how to make it SDIO boot-compatible, if you want to go that way
17:29:13
@thefossguy:matrix.orgPratham PatelBy flash, do you mean the QSPI flash on board?17:29:28
@alex:tunstall.xyzAlexYes, it's the setting called "flash" on the printout on the board itself.17:29:49
@thefossguy:matrix.orgPratham PatelOkay I'll give it another go17:30:07
@alex:tunstall.xyzAlexHonestly though, I'm amazed that you managed to boot misuzu's image at all after screwing with the partitions.17:30:55
@thefossguy:matrix.orgPratham Patel

I inserted an old SD card (which didn't manipulate the partitions) and now the console complains this:

switch to partitions #0, OK
mmc1 is current device
found device 1
bootmode flash device 1
Failed to load 'uEnv.txt'
Can't set block device
Hit any key to stop autoboot:  0
Failed to load '/uEnv.txt'
## Warning: defaulting to text format
switch to partitions #0, OK
mmc1 is current device
** Invalid partition 3 **
Couldn't find partition mmc 1:3
## Error: "bootcmd_mmc1" not defined
starfive_pcie pcie@2C000000: Starfive PCIe bus probed.
PCI: Failed autoconfig bar 10
ethernet@16030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110ethernet@16040000 Waiting for PHY auto negotiation to complete....... done
17:31:19
@thefossguy:matrix.orgPratham PatelI know why I did the partition makeover lol17:31:42
@alex:tunstall.xyzAlexIt looks to me like that's in SDIO boot mode?17:31:56
@thefossguy:matrix.orgPratham PatelNope, I'm booting from flash17:32:06

Show newer messages


Back to Room ListRoom Version: 6