!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

235 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v68 Servers

Load older messages


SenderMessageTime
9 Aug 2023
@misuzu:matrix.orgmisuzuBut you have vendor u-boot, not upstream13:55:32
@hive:the-apothecary.clubDr. Wormoh, ok13:55:57
@hive:the-apothecary.clubDr. Wormso it's not that issue then ?13:56:33
@misuzu:matrix.orgmisuzuNope13:58:25
@hive:the-apothecary.clubDr. Worm thit 14:28:31
@hive:the-apothecary.clubDr. Worm * https://github.com/starfive-tech/VisionFive2/issues/3614:28:36
@hive:the-apothecary.clubDr. Wormthis is the issue i'm experiencing14:28:41
@hive:the-apothecary.clubDr. Wormin the flake.nix, you reference "https://cache.ztier.in", is that the cache url for NickCao/nixpkgs ? or is it for native ? i'm trying to figure out how to setup the flake for the system15:26:11
@0x4a6f:matrix.org[0x4A6F]
In reply to @alex:tunstall.xyz
Is this at 1GHz or 1.5GHz?
Stock 1GHz.
15:35:46
@misuzu:matrix.orgmisuzu
In reply to @hive:the-apothecary.club
in the flake.nix, you reference "https://cache.ztier.in", is that the cache url for NickCao/nixpkgs ? or is it for native ? i'm trying to figure out how to setup the flake for the system
It's for both
16:26:11
@misuzu:matrix.orgmisuzu
nix build .#nixosConfigurations.nixos-native.config.system.build.toplevel 
nix build .#nixosConfigurations.nixos-cross.config.system.build.toplevel 
16:27:37
@misuzu:matrix.orgmisuzu For cross the result could be nix copyed, then on vf2 you run sudo nix-env -p /nix/var/nix/profiles/system --set /path/to/result && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch 16:29:34
@misuzu:matrix.orgmisuzu * For cross the result could be nix copyed to the vf2, then on vf2 you run sudo nix-env -p /nix/var/nix/profiles/system --set /path/to/result && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch 16:29:57
@hive:the-apothecary.clubDr. Wormawesome thanks16:34:14
12 Aug 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn joined the room.01:34:29
13 Aug 2023
@10leej:matrix.org@10leej:matrix.org joined the room.01:25:29
15 Aug 2023
@10leej:matrix.org@10leej:matrix.org left the room.19:34:21
16 Aug 2023
@misuzu:matrix.orgmisuzu
% sudo grep '' /sys/devices/system/cpu/cpufreq/policy0/*
/sys/devices/system/cpu/cpufreq/policy0/affected_cpus:0 1 2 3
/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq:1500000
/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq:1500000
/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_min_freq:375000
/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_transition_latency:4294967295
/sys/devices/system/cpu/cpufreq/policy0/related_cpus:0 1 2 3
/sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies:375000 500000 750000 1500000 
/sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors:performance schedutil 
/sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq:1500000
/sys/devices/system/cpu/cpufreq/policy0/scaling_driver:cpufreq-dt
/sys/devices/system/cpu/cpufreq/policy0/scaling_governor:performance
/sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq:1500000
/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq:375000
/sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed:<unsupported>

Finally!

05:33:18
@misuzu:matrix.orgmisuzuAlso looks like the boot issue from nvme is fixed with "upstream" u-boot 06:27:50
@misuzu:matrix.orgmisuzuIronically I've fried rx uart on my vf206:28:41
@misuzu:matrix.orgmisuzuNo more tinkering with u-boot 😥06:29:45
@misuzu:matrix.orgmisuzu
In reply to @misuzu:matrix.org
Ironically I've fried rx uart on my vf2
Nevermind, I was connecting ground to the wrong pin
06:48:06
@misuzu:matrix.orgmisuzu:D06:48:10
@hive:the-apothecary.clubDr. Wormoh yayy07:19:08
@misuzu:matrix.orgmisuzu * Also looks like the boot issue from nvme is fixed with "upstream" u-boot. The issue was with the kernel after all07:39:58
@alex:tunstall.xyzAlexDo you have a better 1.5GHz patch than mine? I've found that with my patch the kernel is a bit fragile and sometimes won't boot unless I ritualistically load a 1GHz kernel first.10:53:01
@misuzu:matrix.orgmisuzuI've just compiled https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream11:04:48
@misuzu:matrix.orgmisuzuNo patches required11:05:07
@misuzu:matrix.orgmisuzu * I've simply compiled https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream 11:05:21
@alex:tunstall.xyzAlexOh, new version with fixes. Nice.11:24:06

Show newer messages


Back to Room ListRoom Version: 10