!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

330 Members
105 Servers

Load older messages


SenderMessageTime
12 Jul 2023
@thefossguy:matrix.orgPratham Patel
In reply to @alex:tunstall.xyz

So 4 partitions:

  1. SPL (u-boot metadata)
  2. u-boot (flat binary)
  3. boot (FAT)
  4. root

Makes sense.

Exactly!
17:44:44
@thefossguy:matrix.orgPratham PatelBut be vary of the sectors where the partions start and end17:44:56
@thefossguy:matrix.orgPratham PatelThere's a reason why my script starts the first partition at 4096 ;)17:45:19
@alex:tunstall.xyzAlexOh does the bootloader expect the partitions to be at specific offsets?17:45:20
@thefossguy:matrix.orgPratham PatelYes :)17:45:48
@thefossguy:matrix.orgPratham PatelBut that's the ZSBL so it won't ever change17:46:03
@thefossguy:matrix.orgPratham PatelThat's permanent now. For better or for worse 17:46:12
@thefossguy:matrix.orgPratham Patel
In reply to @alex:tunstall.xyz
$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00001000 "spl"
mtd1: 00300000 00001000 "uboot"
mtd2: 00100000 00001000 "data"

mtd0 has a size of 128KiB, but the latest versions of u-boot exceed that.

Nothing like this, where the partition table layout breaks ;)
17:46:46
@thefossguy:matrix.orgPratham PatelWould it be feasible to create an "installer image" for RISC-V that is similar to what one gets for x86/arm64 from nixos.org?18:00:20
@alex:tunstall.xyzAlex
In reply to @thefossguy:matrix.org
Would it be feasible to create an "installer image" for RISC-V that is similar to what one gets for x86/arm64 from nixos.org?
It could be, but it wouldn't be very useful considering that building natively would require building 800+ derivations (and I think the kernel alone would need >20GiB of disk space while building).
18:01:43
@thefossguy:matrix.orgPratham PatelNo community supported caches until RISC-V support is merged in "mainline"?18:02:37
@thefossguy:matrix.orgPratham PatelMy current archlinux image uses a binary cache from an arch maintainer. Arch is x86-only, while I belive NixOS isn't x86-only :)18:03:30
@alex:tunstall.xyzAlexIt isn't, but NixOS only has official caches for {x86_64,aarch64}-{linux,darwin}18:04:19
@alex:tunstall.xyzAlex
In reply to @thefossguy:matrix.org
No community supported caches until RISC-V support is merged in "mainline"?

Essentially, community-supported caches are the only option.

Unless someone's already gone to the trouble of building a riscv64 cache, you're out of luck.

18:05:10
@0x4a6f:matrix.org[0x4A6F]We also need powerful builders to fill these caches...18:05:12
@thefossguy:matrix.orgPratham Patelah I understand it now18:05:40
@thefossguy:matrix.orgPratham Pateluntil now, I was looking for a "third party repo" which I could depend on for having riscv binaries and just pull them 18:06:05
@alex:tunstall.xyzAlexYeah 80k+ packages aren't going to build overnight on a quad-core 1GHz processor18:06:09
@thefossguy:matrix.orgPratham Patel Are they really 80k+ different packages? 18:06:36
@thefossguy:matrix.orgPratham PatelImagine the hardwork in just bumping their versions lol18:06:51
@alex:tunstall.xyzAlex

Yes. 120k if we count versions across all supported platforms.

https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-jobs

18:08:42
@0x4a6f:matrix.org[0x4A6F]
In reply to @thefossguy:matrix.org
Imagine the hardwork in just bumping their versions lol
There are bots, which do the "hard" part...
18:09:11
@thefossguy:matrix.orgPratham Patel Makes sense. :)  18:09:33
@0x4a6f:matrix.org[0x4A6F]
In reply to @thefossguy:matrix.org
Imagine the hardwork in just bumping their versions lol
* There are bots, which do the "hard" part...
18:09:43
@leons:is.currently.onlineLeonAre folks invested in the Milk-V Pioneer yet? It looks to good to be true...18:09:47
@alex:tunstall.xyzAlex
In reply to @thefossguy:matrix.org
until now, I was looking for a "third party repo" which I could depend on for having riscv binaries and just pull them
There are some but you won't find much beyond the essentials or anything the cache's maintainer has bothered to build.
18:10:01
@thefossguy:matrix.orgPratham Patel
In reply to @leons:is.currently.online
Are folks invested in the Milk-V Pioneer yet? It looks to good to be true...
There are two people in China who have it already
18:10:11
@alex:tunstall.xyzAlex
In reply to @alex:tunstall.xyz
There are some but you won't find much beyond the essentials or anything the cache's maintainer has bothered to build.
e.g. https://github.com/misuzu/nixos-vf2/blob/450d1899dc25b61d9bbb339ff8b235cbe81f19dd/flake.nix#L3
18:10:37
@0x4a6f:matrix.org[0x4A6F]
In reply to @leons:is.currently.online
Are folks invested in the Milk-V Pioneer yet? It looks to good to be true...
Not enough funds, maybe NixOS foundation could chim in. Maybe raitobezarius has some better understanding of this platform.
18:10:44
@thefossguy:matrix.orgPratham PatelOne is the aforementioned official Arch Linux maintainer who maintains a riscv "fork" (because archlinux is x86-only) and I've seen the other guy in StarFive's forums creating images with various distros for the VF118:11:13

Show newer messages


Back to Room ListRoom Version: 6