Difference between revisions of "NixOS on ARM/Toshiba AC100"

From NixOS Wiki
Jump to: navigation, search
m (Adds breadcrumb)
m (rollback unauthorized mass edits)
Tag: Rollback
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ARM/breadcrumb}}
+
This page has been moved to the official NixOS Wiki:
<div class="infobox">
 
{|class="table"
 
!colspan="2" class="title"|Toshiba AC100
 
|-
 
!Architecture
 
|ARMv7
 
|-
 
!Codename
 
|Compal PAZ00
 
|}
 
</div>
 
<!-- TODO : write intro paragraph -->
 
== Status ==
 
  
It has been reported as working with '''@dezgeg''''s ARMv7 images by [[User:Roberth]] following these instructions.
+
    ⇒ '''[https://wiki.nixos.org/wiki/NixOS_on_ARM/Toshiba_AC100 NixOS on ARM/Toshiba AC100]'''
  
== Installation notes ==
+
''— samueldr, Lead of NixOS on ARM.''
 
 
The Toshiba AC100 used to ship with Android 2, the fastboot bootloader and a custom partition table format. Nowadays, you can install U-boot on it. It is advisable to make a back-up (documented elsewhere; you'll need nvflash as documented below).
 
 
 
In order to modify the operating system, you need to connect the AC100 with a mini-usb cable to an Intel system we'll call the host. On the host, build the nvflash tool:
 
 
 
<syntaxhighlight lang=nix>
 
pkgs.stdenv.mkDerivation {
 
    name = "tegra-driver-package";
 
    version = "r16.5.0";
 
    src = pkgs.fetchurl {
 
      url = http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/ventana_release_armhf/Tegra20_Linux_R16.5_armhf.tbz2;
 
      sha256 = "11qmqj0yillwfapzcfjr4px4z8l7zkh0v3xrfpr9riff54xsidq2";
 
    };
 
    configurePhase = "";
 
    buildPhase = "";
 
    checkPhase = "";
 
    installPhase = ''
 
      mkdir $out
 
      cp -r * $out/
 
    '';
 
}
 
</syntaxhighlight>
 
 
 
Build the nvflash tool and follow the instructions for installing U-boot starting with the getbct.sh step at https://paz00.ru/index.php/Migrate_to_U-Boot#With_prebuilt_sosuboot-tegra_archive_or_sdcard_image_.28PC_not_required.29
 
 
 
When U-boot is installed, proceed with the sd-image-armv7l-linux.img image from https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/installer/ and follow the general NixOS installation instructions. If the first installation attempt fails, you will need to use the U-boot command line to select an alternative installation medium, using something like (please correct):
 
 
 
<syntaxhighlight>
 
setenv boot_targets=usb0
 
run distro_boot
 
</syntaxhighlight>
 
 
 
== Resources ==
 
 
 
* [https://elinux.org/Tegra/Boards/Toshiba_AC100 Embedded Linux Wiki article]
 

Latest revision as of 10:56, 6 April 2024

This page has been moved to the official NixOS Wiki:

    ⇒ NixOS on ARM/Toshiba AC100

— samueldr, Lead of NixOS on ARM.