Index of /slackware/images/rock_pi_4
Installation
------------------
Unpack the IMAGE file and copy the image an SD card: (assuming SD card at /dev/mmcblk0):
# zstd -d slarm64-current-*-core-*-build-*.img.zst
# dd if=slarm64-current-*-core-*-build-*.img of=/dev/mmcblk0 bs=1M
or unpack directly to the card
# zstdcat slarm64-current-*-core-*-build-*.img.zst > /dev/mmcblk0
Instalation eMMC/NAND/USB-HDD
------------------
to transfer a system with the SD to eMMC, you need to boot from the start and run the script:
# transfer-to-disk
Manual installation eMMC/NAND/USB-HDD
------------------
Flash the image to micro SD, power up the board with micro SD and login
Copy the image file to micro SD by using SFTP. The image file must be in .img. note : root user are not allow transfer file to micro SD.
After finish copy the file, power off the board and add eMMC module to the board
Bootup the board, run below command for flashing to eMMC module
# dd if=slarm64-current-*-core-*-build-*.img of=/dev/mmcblk0 bs=10M
then edit 2 files in eMMC module:
# mount /dev/mmcblk0p1 /media
# echo "rootdev=/dev/mmcblk0p1" >> /media/boot/uEnv.txt
# sed -i 's:mmcblk1p1:mmcblk0p1:' /media/etc/fstab
After done, power off board and remove micro SD. Then bootup with only eMMC module.
Rock Pi 4A Support
------------------
After first boot, edit /boot/uEnv.txt and change:
fdtfile=rk3399-rock-pi-4b.dts
to
fdtfile=rk3399-rock-pi-4a.dts
Rock Pi 4A Plus Support
------------------
After first boot, edit /boot/uEnv.txt and change:
fdtfile=rk3399-rock-pi-4b.dts
to
fdtfile=rk3399-rock-pi-4a-plus.dts
Rock Pi 4B Plus Support
------------------
After first boot, edit /boot/uEnv.txt and change:
fdtfile=rk3399-rock-pi-4b.dts
to
fdtfile=rk3399-rock-pi-4b-plus.dts
Rock Pi 4C Support
------------------
After first boot, edit /boot/uEnv.txt and change:
fdtfile=rk3399-rock-pi-4b.dts
to
fdtfile=rk3399-rock-pi-4c.dts
Default Login
------------------
login: root
Attention!
------------------
on the rock pi 4 kernel version 4.20.x eMMC is defined as /dev/mmcblk0
a SDcard how /dev/mmcblk1
Multimedia
------------------
The video is played by the MPV player, which is configured with the default profile x11 (for playing divx/xvid)
and the profile rkmpp (for playing h264/h265/VP9 720p,1080p)
example: mpv --profile=rkmpp videofile.{mkv,mp4}
Update kernel
------------------
download latest version kernel-firmware, kernel-headers, kernel-modules, kernel
of http://dl.slarm64.org/slackware/images/rock_pi_4/kernel/
go to the directory with the downloaded packages and run:
upgradepkg kernel-*.txz