NixOS on ARM/Banana Pi: Difference between revisions
imported>M-Gregoire m Fix missing packages for u-boot compilation |
m Add category |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{ARM/breadcrumb}} | |||
== Building U-Boot == | == Building U-Boot == | ||
| Line 4: | Line 5: | ||
$ git clone git://git.denx.de/u-boot.git | $ git clone git://git.denx.de/u-boot.git | ||
$ cd u-boot | $ cd u-boot | ||
$ nix-shell -p ubootTools gcc-arm-embedded dtc flex bison swig 'python311.withPackages(ps: with ps; [ setuptools ])' openssl | $ nix-shell -p ubootTools gcc-arm-embedded dtc flex bison swig 'python311.withPackages(ps: with ps; [ setuptools ])' openssl libuuid gnutls | ||
$ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi- Bananapi_defconfig | $ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi- Bananapi_defconfig | ||
$ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi- | $ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi- | ||
| Line 19: | Line 20: | ||
Then, install using the [[NixOS_on_ARM#NixOS_installation_.26_configuration|installation and configuration steps]]. | Then, install using the [[NixOS_on_ARM#NixOS_installation_.26_configuration|installation and configuration steps]]. | ||
[[Category:NixOS on ARM]] | |||
== SATA Port multiplier (PMP) == | == SATA Port multiplier (PMP) == | ||