Commit Graph

31 Commits

Author SHA1 Message Date
bf767d623b Generate U-Boot commands 2024-03-07 16:49:48 +01:00
94eb71dd80 Add rootfs for lagarto hun 2024-03-07 12:05:10 +01:00
730e342bfe Add scripts to load FPGA system 2024-03-04 18:32:25 +01:00
023ad3de22 Split kernel configuration in files 2024-03-04 14:44:49 +01:00
3b68bfda47 Add Lagarto Hun configuration 2024-03-01 18:33:30 +01:00
483ad2944b Format the qcow2 image with ext4
The image needs to be available to the guest with a partition table and
a partition with a label named "nixos" so the stage1 can mount it. By
enabling the virtualisation.diskImage option we now have a persistent
root filesystem, including /home.
2024-01-25 15:34:59 +01:00
d52db1d97c Correct style type in flake.nix 2024-01-24 13:09:49 +01:00
9653377ba5 Remove unneeded flake dependencies 2024-01-24 12:53:30 +01:00
5b8a51fb19 Add qemu and qemu-nc NixOS configurations 2024-01-24 12:50:41 +01:00
8df89867f3 Switch nixpkgs to a custom repository
There is a problem in the way pkgsStatic is constructed, causing our
-march argument to be missed, leading to binaries that fail to run. This
affects only security wrappers so far (mount, sudo, ...) but it will
likely affect any pkgsStatic binary.
2024-01-24 12:20:27 +01:00
eff49c6ee3 Disable vector extensions in march and mtune 2024-01-24 09:59:44 +01:00
9a475bc1e3 Booting Linux and userspace OK 2024-01-19 12:35:05 +01:00
af26facae4 Use the toplevel from the vm output 2024-01-18 17:58:26 +01:00
2f387d3362 Use custom u-boot build 2024-01-18 17:58:00 +01:00
5dbb297adf Fix qemu without rutabagaSupport 2024-01-18 15:59:51 +01:00
Rodrigo Arias Mallo
7ad1b54572 Try building the system 2024-01-17 18:33:58 +01:00
Rodrigo Arias Mallo
f8b624af67 Boot opensbi without compressed 2024-01-17 18:22:30 +01:00
82b8c03966 Build system without compressed instructions 2024-01-17 15:01:11 +01:00
a6a958a9df Booting 2023-11-29 10:48:59 +01:00
e59cf267a7 WIP2 2023-11-27 11:41:05 +01:00
Robert Hensing
ee4b3c9e33 Add nix run visionFive2_* commands 2023-02-16 13:26:46 +01:00
Robert Hensing
f85cae4a48 Add visionfive2 images 2023-02-16 13:26:46 +01:00
Robert Hensing
4b417999a3 Add VisionFive 2 inputs 2023-02-16 13:26:38 +01:00
matthewcroughan
dd384cd7d7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:matthewcroughan/nixpkgs/6fd612ce3a656b1bcf5a1222c63294dcfcbb5361' (2022-07-08)
  → 'github:matthewcroughan/nixpkgs/39a827f18b870afb02f6c0f09151c69f2d8e7a4d' (2022-07-12)
• Updated input 'vendor-kernel':
    'github:starfive-tech/linux/943858df470556d0b7f3b31fcc10931603f0f3cc' (2022-07-05)
  → 'github:starfive-tech/linux/74003f14f92e3c8eb31536b599c1f0c7aba3cdf2' (2022-07-11)
2022-07-13 07:48:50 +01:00
matthewcroughan
7f60d1bdb2 flashOriginal: use shell script instead of bash function 2022-07-11 18:43:27 +01:00
matthewcroughan
d7a0148b4f expect: wait for 'Terminal ready' and instruct to apply power 2022-07-09 17:58:27 +01:00
matthewcroughan
126d8e0bc4 flake: add linuxPackages_visionfive to packages output 2022-07-09 04:38:36 +01:00
matthewcroughan
1aba6fb17a flake: use regexp and flake inputs to automate kernel building 2022-07-09 04:38:33 +01:00
matthewcroughan
c0cbf6cf02 flake: define system as a variable and use it 2022-07-09 04:35:38 +01:00
matthewcroughan
57d029a9a2 inputs: vendor own nixpkgs
Just incase Madouura's branch goes missing
2022-07-09 04:35:38 +01:00
matthewcroughan
6152bd2ba9 init 2022-07-09 04:35:35 +01:00