Armbian and AltLinux for Star64 (RISC-V)
#21
Added an image (reset_default_env_uboot-star64.img) to reset the u-boot settings to the default (factory) state. The order of use is simple - download the image, burn it to an SD card, connect it to Star64 and turn on the power, wait 10-20 seconds and turn off the power. After this procedure, all u-boot settings in SPI\Flash will be reset to the factory state.

Ver 20230922-edge kernel 6.6-rc1 (HDMI and USB not work)
  Reply
#22
Ver 20230922-current kernel 6.5

Ver 20230923-edge kernel 6.6-rc2 (HDMI and USB not work)
  Reply
#23
Ver 20230925-current kernel 6.1.31 work HDMI LAN USB etc
  Reply
#24
Altlinux ver 20230929.
Added two more lightweight DE - lxde and lxqt.
  Reply
#25
A u-boot test update is available to directly launch the system from NVMe to Star64 (using a PCIe->NVMe adapter), if there are interested, I can write a step-by-step instruction.
  Reply
#26
(10-02-2023, 08:47 AM)balbes150 Wrote: A u-boot test update is available to directly launch the system from NVMe to Star64 (using a PCIe->NVMe adapter), if there are interested, I can write a step-by-step instruction.

Please provide step-by-step instruction. Thumbs up and thanks.
  Reply
#27
To update u-boot,
Important. All manipulations to update uboot and reset variables must be performed with the Star64 NVMe DISCONNECTED from the board.

I recommend using the latest version of ArmbianTV LEGACY with the 5.15.131 kernel. Download the ArmbianTV image, unpack it, burn it to an SD card and run it on Star64, install the utility package for working with SPI\MTD.

apt update
apt install mtd-utils

Download the new version of u-boot with NVMe startup support.

https://disk.yandex.ru/d/DLTRMV6pcBnWfg

u-boot-spl.bin.normal.out
visionfive2_fw_payload.img

Install a new u-boot in SPI\MTD.

flashcp -v u-boot-spl.bin.normal.out /dev/mtd0
flashcp -v visionfive2_fw_payload.img /dev/mtd1

Reset u-boot variables.
There are several ways to do this. If there is a UART console, run two commands in it.

env default -a
saveenv

Without using the UART console - download the u-boot variable reset image,

https://disk.yandex.ru/d/zsqznfa1ySI2gw

reset_default_env_uboot-star64-3.0.4.img

write it to the SD card, connect the SD to Star64 and turn on the power, wait 10-20 seconds and turn off the power.

After these steps, you can install the system on NVMe and run it directly from NVMe. for example, run ArmbianTV from an SD card and perform the installation on USB\SATA\NVMe according to the general instructions for Armbian.
  Reply
#28
Ver 20231003-edge kernel 6.6-rc4 (HDMI and USB not work)
  Reply
#29
Ver 20231123 legacy and current
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Star64 Mechanicals nbxmike 5 1,994 04-08-2024, 03:30 AM
Last Post: Luishayes74
  Star64 distro overview October 2023 tantamount 5 1,505 02-13-2024, 10:56 PM
Last Post: segaloco
  [Star64] UART activity stopped yogo1212 0 307 02-11-2024, 04:34 PM
Last Post: yogo1212
  [Article] $8 RISC-V SBC on a Real-Time Operating System: Ox64 + NuttX lupyuen 0 486 12-17-2023, 02:27 AM
Last Post: lupyuen
  star64 bootable images, u-boot, sbi, forum? hexdump 2 1,421 12-06-2023, 09:47 PM
Last Post: faultyforelimb
  [Article] RISC-V Ox64 BL808: UART Interrupt and Platform-Level Interrupt Controller lupyuen 1 575 12-03-2023, 04:24 AM
Last Post: WhiteHexagon
  [Article] RISC-V Ox64 BL808 SBC: NuttX Apps and Initial RAM Disk lupyuen 2 653 11-25-2023, 06:42 PM
Last Post: lupyuen
  [Article] RISC-V Ox64 BL808 SBC: Sv39 Memory Management Unit lupyuen 0 485 11-18-2023, 05:39 PM
Last Post: lupyuen
  [Article] RISC-V Ox64 BL808 SBC: Starting Apache NuttX Real-Time Operating System lupyuen 2 729 11-11-2023, 10:09 PM
Last Post: lupyuen
  [Article] Ox64 BL808 RISC-V SBC: Booting Linux and (maybe) Apache NuttX RTOS lupyuen 2 824 11-04-2023, 08:41 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)