Index of /slackware/images/rock64

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]README.TXT2023-02-12 19:19 2.4K 
[   ]boot-20191026.tar.xz2019-10-26 03:11 310K 
[   ]boot-20200127.tar.xz2020-01-27 20:31 309K 
[   ]boot-20200509.tar.xz2020-05-09 21:52 283K 
[   ]boot-20200813.tar.xz2020-08-13 21:33 277K 
[   ]boot-20210130.tar.xz2021-01-30 23:11 283K 
[   ]boot-20210402.tar.xz2021-04-03 07:30 292K 
[   ]boot-20210502.tar.xz2021-05-02 11:31 294K 
[   ]boot-20210731.tar.xz2021-07-31 18:40 294K 
[   ]boot-20210907.tar.xz2021-09-08 01:19 295K 
[   ]boot-20211120.tar.xz2021-11-20 23:41 294K 
[   ]boot-20220125.tar.xz2022-01-25 23:51 297K 
[   ]boot-20220214.tar.xz2022-02-14 09:41 297K 
[   ]boot-20220601.tar.xz2022-06-01 18:50 296K 
[   ]boot-20220804.tar.xz2022-08-05 03:05 332K 
[   ]boot-20221009.tar.xz2022-10-09 22:43 299K 
[   ]boot-20221113.tar.xz2022-11-13 20:09 300K 
[   ]boot-20230107.tar.xz2023-01-07 08:09 300K 
[   ]boot-20230306.tar.xz2023-03-06 18:54 300K 
[   ]boot-20230623.tar.xz2023-06-23 22:45 312K 
[   ]boot-20230812.tar.xz2023-08-12 16:31 312K 
[DIR]kernel/2023-08-12 17:18 -  
[   ]slarm64-current-aarch64-core-rock64-6.4.10-build-20230812.img.zst2023-08-12 16:45 510M 
[   ]slarm64-current-aarch64-core-rock64-6.4.10-build-20230812.img.zst.sha2562023-08-12 16:48 132  
[   ]slarm64-current-aarch64-server-rock64-6.4.10-build-20230812.img.zst2023-08-12 17:09 748M 
[   ]slarm64-current-aarch64-server-rock64-6.4.10-build-20230812.img.zst.sha2562023-08-12 17:14 134  
[   ]slarm64-current-aarch64-xfce-rock64-6.4.10-build-20230812.img.zst2023-08-12 18:19 1.6G 
[   ]slarm64-current-aarch64-xfce-rock64-6.4.10-build-20230812.img.zst.sha2562023-08-12 18:31 132  

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

eMMC is defined as /dev/mmcblk0
a SDcard how /dev/mmcblk1

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/mmcblk0 bs=10M
  # dd if=slarm64-current-*-xfce-*-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.
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 (SPI_CLK_M2) on the Pi-2 Bus GPIO pins on the rock64
    Pin 23 is SPI_CLK_M2
    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_M1)
    Pin 10  is TXD (UART2_RX_M1)