[PSVITA] Release The Instructions To Install Linux On PSVITA

After a pause the gamesandconsoles site returns to be updated. We do it with great style. We have been contacted by the xerpi developer regarding linux on PSVITA informing us of the release of a guide available on github for the installation of linux on PSVITA. we have translated into Italian. It requires a welding on UART0 and some code compilation. For the more geeks it’s time to test. Let us know what you think

0) UART0 welding pin

  1. Check  here  for the pinout. You will also need a  1.8V level change  .

1) Install an ARMv7 cross-compiler

  1. Go to  https://toolchains.bootlin.com
  2. Select arc:  armv7-eabihf
  3. Select libc:  glibc
  4. Download  bleeding-edge
  5. Unzip it (eg for  /opt)
  6. Add the bin/toolchain folder  to$PATH
    • In my case: export PATH=$PATH:/opt/armv7-eabihf--glibc--bleeding-edge-2018.11-1/bin

2) Build Buildroot

  1. git clone git://git.buildroot.net/buildroot
  2. Download and copy  this Buildroot.config  intobuildroot/.config
  3. cd buildroot && make -j4
  4. This will generate output/images/rootfs.cpio.xz

3) Build Linux

  1. git clone git@github.com:xerpi/linux_vita.git
  2. cd linux && cp ../buildroot/output/images/rootfs.cpio.xz linux/ .
  3. make ARCH=arm vita_defconfig
  4. make ARCH=arm CROSS_COMPILE=arm-linux- -j8
  5. make ARCH=arm CROSS_COMPILE=arm-linux- vita.dtb
  6. This will generate  arch/arm/boot/zImageearch/arm/boot/dts/vita.dtb

4) Build life-linux-loader

  1. Install  vitasdk
  2. git clone git@github.com:xerpi/vita-linux-loader.git
  3. cd vita-linux-loader && make
  4. This will generate linuxloader.skprx

5) Compile and install the VPK Plugin Loader

  1. git clone git@bitbucket.org:xerpi/vita_plugin_loader.git
  2. cd vita_plugin_loader && mkdir build && cd build && cmake .. && make
  3. Install the plugin_loader.vpk

6) Start Linux

  1. Copy  linuxloader.skprxtoux0:data/tai/kplugin.skprx
    • Configurable in vita_plugin_loader/main.c:13
  2. Copy  linux/arch/arm/boot/zImagetoux0:/linux/zImage
  3. Copy  linux/arch/arm/boot/dts/vita.dtbtoux0:/linux/vita.dtb
  4. Start the VPK Plugin Loader

More information