Index of /slackware/images/rockpro64

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]slarm64-current-aarch64-xfce-rockpro64-4.4.302-build-20220328.img.zst2022-03-29 02:47 1.9G 
[   ]slarm64-current-aarch64-xfce-rockpro64-6.4.9-build-20230810.img.zst2023-08-11 03:26 1.6G 
[   ]slarm64-current-aarch64-server-rockpro64-4.4.302-build-20220328.img.zst2022-03-29 01:48 959M 
[   ]slarm64-current-aarch64-server-rockpro64-6.4.9-build-20230810.img.zst2023-08-11 02:17 749M 
[   ]slarm64-current-aarch64-core-rockpro64-6.4.9-build-20230810.img.zst2023-08-11 01:53 515M 
[   ]boot-20200112.tar.xz2020-01-12 15:51 473K 
[   ]boot-20230810.tar.xz2023-08-11 01:39 423K 
[   ]boot-20221118.tar.xz2022-11-18 22:51 397K 
[   ]boot-20230219.tar.xz2023-02-19 23:29 397K 
[   ]boot-20220917.tar.xz2022-09-17 02:31 395K 
[   ]boot-20220911.tar.xz2022-09-11 17:56 395K 
[   ]boot-20220530.tar.xz2022-05-30 13:38 382K 
[   ]boot-20220407.tar.xz2022-04-07 12:30 381K 
[   ]boot-20220328.tar.xz2022-03-29 01:09 374K 
[   ]boot-20200914.tar.xz2020-09-14 21:46 367K 
[   ]boot-20211210.tar.xz2021-12-10 02:11 347K 
[   ]boot-20210920.tar.xz2021-09-20 22:12 343K 
[   ]boot-20210620.tar.xz2021-06-20 14:16 343K 
[   ]boot-20210128.tar.xz2021-01-28 23:32 340K 
[   ]boot-20200711.tar.xz2020-07-11 17:45 327K 
[   ]boot-20200310.tar.xz2020-03-10 20:59 297K 
[TXT]README.TXT2023-02-12 19:19 2.3K 
[   ]slarm64-current-aarch64-server-rockpro64-4.4.302-build-20220328.img.zst.sha2562022-03-29 01:48 138  
[   ]slarm64-current-aarch64-xfce-rockpro64-4.4.302-build-20220328.img.zst.sha2562022-03-29 02:48 136  
[   ]slarm64-current-aarch64-server-rockpro64-6.4.9-build-20230810.img.zst.sha2562023-08-11 02:22 136  
[   ]slarm64-current-aarch64-xfce-rockpro64-6.4.9-build-20230810.img.zst.sha2562023-08-11 03:38 134  
[   ]slarm64-current-aarch64-core-rockpro64-6.4.9-build-20230810.img.zst.sha2562023-08-11 01:56 134  
[DIR]kernel/2023-08-24 07:06 -  

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
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/mmcblk1 bs=10M
  # dd if=slarm64-current-*-xfce-*-build-*.img of=/dev/mmcblk1 bs=10M
then edit 2 files in eMMC module:
  # mount /dev/mmcblk1p1 /media
  # echo "rootdev=/dev/mmcblk1p1" >> /media/boot/uEnv.txt
  # sed -i 's:mmcblk0p1:mmcblk1p1:' /media/etc/fstab
After done, power off board and remove micro SD. Then bootup with only eMMC module.
to transfer a system with the SD to eMMC, you need to boot from the start and run the script:
  # transfer-to-disk

Default Login
login: root

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,2160p,4320p)

  # mpv --profile=rkmpp videofile.{mkv,mp4}

smplayer: add "--config=yes --profile=rkmpp" to preferences->advanced->mplayer/mpv->options then mpv will use its config files.

Disable SPI (while booting)
Ground the SPI Clock (CLK) on the Pi-2 Bus GPIO pins on the rockpro64
    Pin 23 is CLK
    Pin 25 is GND

Turn on the device and release the grounding of the SPI Clock 2-3 seconds after the device was turned on.
    NOTE: This is a critical step If not done correctly you will not be able to flash the device
    If unsuccessful turn of the device and try again.

Clean SPI
    MTD=$(grep \"loader\" /proc/mtd | cut -d: -f1)
    flash_erase "/dev/$MTD" 0 0

Connect the serial console to the PI-2-bus
    Pin 6   is GRD
    Pin 8   is RTX (UART2_TX)
    Pin 10  is TXD (UART2_RX)