[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Próxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
es:howtos:hardware:arm:raspberrypi4 [2019/07/10 12:56 (UTC)] – creado rramp | es:howtos:hardware:arm:raspberrypi4 [2019/07/31 02:33 (UTC)] – [Método de instalación manual sin una imagen de Raspbian] rramp | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
- | <note important> | ||
- | ===== Slackware ARM on a Raspberry Pi 4 ===== | ||
- | The Raspberry Pi 4 was released on 24 June 2019. The device features a Broadcom BCM2711B0 SoC incorporating a Quad-core ARMv8 Cortex-A72 [64 bit] CPU @ 1.5GHz, VideoCore VI GPU @ 500MHz, and comes in three different variations with 1GB, 2GB, or 4GB LPDDR4 SDRAM @ 2400MHz installed. This revised and upgraded ARM single-board computer succeeds the [[howtos: | + | ===== Slackware ARM sobre una Raspberry Pi 4 ===== |
- | The Raspberry Pi is supported outside of the official Slackware ARM tree by the Slackware community. | + | La Raspberry Pi 4 fue lanzada el 24 de junio de 2019. Las caracteristicas del dispositivo Broadcom BCM2711B0 SoC incorpora una CPU Quad-core ARMv8 Cortex-A72 [64 bit] @ 1.5GHz, VideoCore VI GPU @ 500MHz, y viene en tres variaciones diferentes con 1GB, 2GB, o 4GB LPDDR4 SDRAM @ 2400MHz instalada. |
- | ==== Slackware releases 14.2, -current ==== | + | Esta computadora ARM de placa única revisada y mejorada sucede a la computadora [[es: |
+ | Wi-Fi y Bluetooth están incluidos sobre la placa. Tiene una verdadera placa de red ethernet Gigabit que tiene un controlador dedicado, el cual ya no está compartido con el bus USB. | ||
+ | El dispositivo también cuenta con 2x USB 3.0 y 2x puertos USB 2.0. Aun no tiene reloj de tiempo real (RTC). | ||
+ | Slackware ARM funciona perfectamente en este dispositivo, | ||
+ | La Raspberry Pi es apoyada fuera del árbol oficial de Slackware ARM por la comunidad de Slackware. | ||
- | Slackware | + | ==== Slackware |
- | Follow the link(s) in the table below. These are maintained by a separate author as part of the Slackware-on-Raspberry Pi community. | + | Slackware |
- | ^ Site ^ Slackware | + | Siga los link (s) en la tabla de abajo. Estos son mantenidos por un autor separado como parte de la comunidad Slackware-sobre-Raspberry Pi. |
- | | [[http:// | + | |
+ | ^ Sitio ^ Versiones de Slackware ^ Usando paquetes oficiales de Slackware ^ métodos de instalación | ||
+ | | [[http:// | ||
+ | ==== AArch64 ARM64 [Experimental], | ||
+ | |||
+ | Experimental, | ||
+ | |||
+ | ^ Site ^ Versiones de Slackware ^ Usa paquetes oficiales de Slackware ^ Métodos de Instalación ^ Notas ^ | ||
+ | | [[http:// | ||
+ | |||
+ | |||
+ | ==== Método de instalación manual sin una imagen de Raspbian ==== | ||
+ | |||
+ | Siempre y cuando utilice la versión más reciente de firmware [es decir, después de junio de 2019] y la última imagen de Raspbian Buster [[howtos: | ||
+ | Este método es para instalar Slackware ARM 14.2 sobre una Raspberry Pi 4 Modelo B sin una imagen de Raspbian. | ||
+ | Aunque, esto podría trabajar para otro Slackware ARM y versiones de Raspberry Pi. | ||
+ | |||
+ | === 1. Partición y formato de la tarjeta SD === | ||
+ | |||
+ | < | ||
+ | $ sudo fdisk -l / | ||
+ | |||
+ | Disk / | ||
+ | 4 heads, 16 sectors/ | ||
+ | Units = sectors of 1 * 512 = 512 bytes | ||
+ | Sector size (logical/ | ||
+ | I/O size (minimum/ | ||
+ | Disk identifier: 0x00000000 | ||
+ | |||
+ | Device Boot Start | ||
+ | / | ||
+ | / | ||
+ | $ sudo mkfs.vfat / | ||
+ | $ sudo mkfs.ext4 / | ||
+ | </ | ||
+ | |||
+ | Observaciones: | ||
+ | * Utilizo una tarjeta SD de 32GB. | ||
+ | * I choose 32MB for the size of the first partition | ||
+ | * I let the empty space left for the second partition | ||
+ | |||
+ | === 2. Put the Raspberry Pi firmware in the SD Card === | ||
+ | |||
+ | < | ||
+ | $ git clone https:// | ||
+ | $ sudo mount / | ||
+ | $ sudo cp -r firmware/ | ||
+ | $ sudo umount ~/mnt | ||
+ | $ sudo mount / | ||
+ | $ sudo mkdir -p ~/ | ||
+ | $ sudo cp -r firmware/ | ||
+ | $ sudo umount ~/mnt | ||
+ | </ | ||
+ | |||
+ | === 3. Put the Slackware ARM mini root file system in the SD Card === | ||
+ | |||
+ | < | ||
+ | $ wget -c ftp:// | ||
+ | $ sudo mount / | ||
+ | $ sudo tar -C ~/mnt -xf slack-14.2-miniroot_01Jul16.tar.xz | ||
+ | $ echo "/ | ||
+ | $ echo "/ | ||
+ | $ echo " | ||
+ | $ PASSWD=$(openssl passwd -1 -salt cetkq/ | ||
+ | $ sudo sed -i " | ||
+ | $ sudo sed -i ' | ||
+ | $ echo " | ||
+ | $ sudo umount ~/mnt | ||
+ | </ | ||
+ | |||
+ | Remarks: | ||
+ | * I set " | ||
+ | * I set DHCP on the " | ||
+ | * I allow the " | ||
+ | |||
+ | === 4. Inserción de la tarjeta SD en la Raspberry Pi === | ||
+ | |||
+ | Your SD Card is ready so you can insert it in the Raspberry Pi and boot. | ||
+ | |||
+ | You can connect remotely to your Raspberry Pi as " | ||
+ | < | ||
+ | $ ssh root@raspberrypi | ||
+ | </ | ||
+ | |||
+ | As soon as you are logged, you might want to install additional Slackware ARM packages: | ||
+ | < | ||
+ | $ wget --mirror ftp:// | ||
+ | $ upgradepkg --install-new ftp.arm.slackware.com/ | ||
+ | $ removepkg ftp.arm.slackware.com/ | ||
+ | </ | ||
+ | |||
+ | Remarks: | ||
+ | * I consider that the Raspberry Pi hostname is " | ||
+ | * I recommend to add a normal user and use this user instead of " | ||
+ | * I recommend to change the " | ||
+ | * I recommend to disallow the " | ||
+ | * I recommend to [[https:// | ||
+ | |||
+ | === 5. Consejos y trucos === | ||
+ | |||
+ | == 5.1. Procesador == | ||
+ | |||
+ | The Raspberry Pi processor can reach 1.2GHz. | ||
+ | However, by default, it is stuck to 600MHz even if it is used at 100%. | ||
+ | You can check the current frequency of the processor by typing: | ||
+ | < | ||
+ | |||
+ | In order to reach 1.2GHz when the processor is used at 100% (i.e., use the frequency scaling), you need to change the default governors. | ||
+ | Add the following line to the end of the ''/ | ||
+ | < | ||
+ | Now, the processor is correctly set. | ||
+ | |||
+ | == 5.2. Time == | ||
+ | |||
+ | Unfortunately, | ||
+ | That is why there is no battery included with the board. | ||
+ | It means that each time you shutdown | ||
+ | However, if you have internet access, you can update the time during the Slackware ARM boot. | ||
+ | Add the following line to the end of the ''/ | ||
+ | < | ||
+ | Now, the time is correctly set. | ||
+ | |||
+ | == 5.3. Video == | ||
+ | |||
+ | Unfortunately, | ||
+ | It means that, by default, each application requiring OpenGL will be slow. | ||
+ | However, you can reach 60 FPS with OpenGL applications on the Raspberry Pi by using the correct driver. | ||
+ | |||
+ | Firstly, you need to build Mesa (>= 17.0.4) with the VC4 DRI driver: | ||
+ | < | ||
+ | $ CFLAGS=" | ||
+ | CXXFLAGS=" | ||
+ | ./ | ||
+ | --prefix=/ | ||
+ | --sysconfdir=/ | ||
+ | --with-dri-driverdir=/ | ||
+ | --with-egl-platforms=x11, | ||
+ | --with-gallium-drivers=vc4 | ||
+ | $ make -j4 | ||
+ | $ make install DESTDIR=/ | ||
+ | </ | ||
+ | Then build your own Slackware ARM Mesa package | ||
+ | |||
+ | Secondly, add the following line to the end of the ''/ | ||
+ | < | ||
+ | Then reboot the Raspberry Pi. | ||
+ | |||
+ | You can check that you are able to get 60 FPS with OpenGL applications on the Raspberry Pi by typing the following command in an X terminal: | ||
+ | < | ||
+ | |||
+ | Ahora el video está correctamente configurado. | ||
+ | ===== Fuentes ===== | ||
+ | |||
+ | * Originalmente escrita por [[wiki: | ||
+ | * Contribuciones por: [[wiki: | ||
+ | * Traducción | ||
- | ===== Sources ===== | ||
- | * Originally written by [[wiki: | ||
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> |