Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Rockpi4/install/es es

< Rockpi4‎ | install
Revision as of 10:32, 12 November 2018 by HANLLEL (Talk | contribs)


Instalación

Escoge e instala un Sistema Operativo en tu ROCK Pi 4. Para seguir correctamente esta guía de instalación necesitarás:

  • Elegir un método de instalación
  • Descargas los archivos necesarios
  • Tener un ordenador con el que grabar el Sistema Operativo
  • Seguir las instrucciones sobre la grabación flash

Métodos de Instalación

En la mayoría de los casos, tendremos dos opciones a la hora de instalar un nuevo Sistema Operativo en nuestro ROCK Pi 4:

  • Método de actualización de la memoria eMMC mediante USB
    • El Sistema Operativo se pasará en forma de imagen mediante cable USB a la memoria eMMC del ROCK Pi 4
  • Método de la tarjeta uSD
    • El Sistema Operativo en forma de imagen se escribirá en una tarjeta uSD que posteriormente se insertará en el ROCK Pi 4.

Cada método tiene sus beneficios y necesita de diferentes niveles de experiencia.

Método de actualización de la memoria eMMC mediante USB

Rockusb es un protocolo USB personalizado de Rockchip y soportado por ROCK Pi 4 que se usa para grabar la imagen del Sistema Operativo a instalar que tenemos en el ordenador en la memoria eMMC del ROCK Pi (USB a eMMC). Este método lo suelen usar usuarios avanzados que estan mas familiarizados con las herramientas de línea de comandos o la modificación/personalización de código fuente y necesitan descargar estas actualizaciones a la placa para comprobar su ejecución.

Este método necesita el siguiente hardware:
  • Una placa ROCK Pi 4 con alimentación
  • Un ordenador (Linux/Mac)
  • Un cable tipo USB A a Tipo A
  • Un cable USB serie a TTL (no es necesario para realizar la grabación)
  • Un teclado y un ratón USB (no es necesario para realizar la grabación)
  • Un monitor HDMI con conector HDMI grande (no es necesario para realizar la grabación)
  • Un cable Ethernet (no es necesario para realizar la grabación)
Ve a Descargas para conseguir un Sistema Operativo
Si tu ordenador utiliza...
  • Linux
Paso 1: Asegúrate que rkdeveloptool está instalado en tu ordenador

Para construir rkdeveloptool en Debian Linux, sigue las siguientes instrucciones:

Instala estos paquetes:

sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf

Clona el código fuente y constrúyelo:

 git clone https://github.com/rockchip-linux/rkdeveloptool
 cd rkdeveloptool
 autoreconf -i
 ./configure
 make

Ahora tendrás el ejecutable de rkdeveloptool en el directorio actual.

 sudo cp rkdeveloptool /usr/local/bin/
Paso 2: Descargas todas las imágenes necesarias

Para ROCK Pi 4, estan disponibles Android y Debian. Los nombres de las imágenes de los Sistemas Operativos especifican las palabras android y debian. Y todas las imágenes de Sistemas Operativos se marcan como xxx_gpt.img.

Paso 3: Iniciar la placa en modo maskrom

1. Inserta la memoria eMMC en el conversor eMMC a uSD. Inserta el conversor en el lector de tarjetas uSD del ordenador con Linux.

2. Usa el siguiente comando para borrar la memoria eMMC

 $ sudo dd if=/dev/zero of=/dev/sdx bs=1M count=100

3. Inserta la memoria eMMC en la placa ROCK Pi 4.

4. Enciende la ROCK Pi 4.

5. Enchufa la ROCK Pi 4 a tu ordenador con Linux mediante un cable USB tipo A a tipo A. En el ordenador el comando "lsusb" en la terminal debería mostrar el siguiente VID/PID si la placa esta en modo maskrom: Bus 003 Device 061: ID 2207:0011

Paso 4: Grabar la imagen flash en la memoria eMMC del ROCK Pi 4 y reiniciar

Debes seguir los siguientes pasos:

 $ rkdeveloptool db rk3399_loader_xxx.bin
 $ rkdeveloptool wl 0 xxx_gpt..img
 $ rkdeveloptool rd

Ahora reinicia.


  • Mac

Running on SD Card Method

Running on SD card method allows you to place a microSD card into a ROCK Pi 4 to automatically boot and run.

This method required the following hardware
  • ROCK Pi 4 board with power supply
  • Host machine (Linux/Mac/Windows)
  • MicroSD card with 8GB or larger of storage
  • USB Mouse and/or keyboard
  • HDMI Monitor with full size HDMI cable
  • Ethernet cable
Go to the Downloads to get your system
Choose host machine

The host machine type includes Linux, Mac, Windows. But this solution doesn't support flashing images in xxx-rkupdate.img format.

Step 1: Make sure etcher is set up on host computer

Download the flash tool, etcher, from Downloads. Choose the right version for your host operation system. Here we operate on host Ubuntu 16.04.

After download the package, unpack it.

Step 2: Downloads all necessary images

For ROCK Pi 4, there are two version of system images, Android and Debian. The system image names have the specified words, like android and debian. And all the system images names are marked with xxx_gpt.img.

Step 3: Flash the image into uSD Card

1. Insert the uSD Card into uSD Card Reader, which connects to host computer.

2. Run the application, for example, by executing the command on Ubuntu 16.04:

 $ /bin/bash etcher-etcher-electron-1.4.5-x86_64.AppImage

3. In the etcher window, we click button Select image.

Linux etcher select image.png

4. In the etcher window, we click button Select Drive.

Linux etcher select driver.png

5. In the etcher window, we click button Flash.

Linux etcher select flash button.png

6. In the etcher window, it shows us Flash Complete!

Linux etcher show complete.png

7. Insert uSD Card into the socket on board.

8. Connect the ROCK Pi 4 to your display with the HDMI cable. Ensure that the source for the display is switched to the HDMI port you are using.

9. Connect the USB keyboard and mouse.

10. Connect the power supply to the ROCK Pi 4. The board will begin to immediately.