Regular/riscv64: Difference between revisions

From ALT Linux Wiki
(One intermediate revision by one other user not shown)
Line 11: Line 11:
* on Regular images: [[Regular]];
* on Regular images: [[Regular]];
* on riscv64 Sisyphus port: [[Ports/riscv64]];
* on riscv64 Sisyphus port: [[Ports/riscv64]];
* #Feedback.
* [[#Feedback]].


Аfter booting from one of the images below, use the following credentials to login:  
The images are intended to be run in qemu without modification and written according to the instructions to removable storage devices for sequent loading on target boards. Аfter booting from one of the images below, use the following credentials to login:  


   login: root
   login: root
   password: altlinux
   password: altlinux


For older images (created before August 2021), use password <tt>alt</tt>.
For images with graphics the user will be asked to complete the initial setup in a graphical setup wizard at the first boot. During configuration, you can set the timezone, root password, password for connecting to VNC (if launched via VNC), create a new user, etc. On boards without a graphics adapter the graphical setup wizard must be run via VNC.


For the recent images with graphics support (Xfce, MATE, LXQT), these credentials work at the first boot. All the images with graphics support have a graphical setup wizard that is activated on the first boot and allows to do initial configuration of the system, including setting the root password, via GUI.
== '''Direct download links'''<ref>These are links to builds marked as '''tested'''. There are a few more  [http://nightly.altlinux.org/sisyphus-riscv64/snapshots snapshots] </ref> ==


The developer image ('''builder''') has another pre-created user:
* jeos-systemd: [http://nightly.altlinux.org/sisyphus-riscv64/tested/regular-jeos-systemd-latest-riscv64.img.xz riscv64] <ref>Without GUI </ref>


  login: altlinux
* lxqt: [http://nightly.altlinux.org/sisyphus-riscv64/tested/regular-lxqt-latest-riscv64.img.xz riscv64]
  password: alt


{{Attention|It is highly recommended to '''change the password''' right after the first log-in into the system.}}
* mate: [http://nightly.altlinux.org/sisyphus-riscv64/tested/regular-mate-latest-riscv64.img.xz riscv64]


== HiFive Unmatched and Unleashed ==
* xfce: [http://nightly.altlinux.org/sisyphus-riscv64/tested/regular-xfce-latest-riscv64.img.xz riscv64]


For [[HiFive Unmatched]] and [[HiFive Unleashed]] boards we recommend fresh tested images http://nightly.altlinux.org/sisyphus-riscv64/tested/ or snapshots http://nightly.altlinux.org/sisyphus-riscv64/snapshots/
== QEMU ==


Setup instructions are available on the corresponding board page: [[HiFive Unmatched]], [[HiFive Unleashed]]
The img.xz images must be unpacked and run according to the instructions: [[Ports/riscv64/QEMU]].


See [[#VNC]] section below on how to access graphical setup for Xfce and MATE images.
== HiFive Unmatched and Unleashed ==


== QEMU ==
Images write in instructions are available on the board pages: [[HiFive Unmatched]] and [[HiFive Unleashed]].


The latest images for [https://www.qemu.org QEMU] VMs are published here:
== VNC ==
http://nightly.altlinux.org/sisyphus-riscv64
Connecting via VNC (not the vnc provided by the qemu emulator) requires :


The following images are build:
* enable vnc mode in alterator-setup by uncommenting or adding a line to /etc/alterator-setup/config:
* Full-featured images with graphical desktop: Xfce, MATE, LXQT.
* Minimal systems:
** <tt>jeos-systemd</tt> -- basic rootfs with systemd
** <tt>rescue</tt>
** <tt>builder</tt> -- basic developer-oriented live system, includes pre-configured [[hasher]] out-of-the box.


The instructions on how to run these images on QEMU are on a separate page: [[Ports/riscv64/QEMU]].
<source lang="shell">ALTERATOR_SETUP_VNC=1</source>


See [[#VNC]] section below on how to access graphical setup for images with graphics support.
or add a --vnc=1 argument for alt-rootfs-installer when it writes to a removable storage device.


== VNC ==
* connect via a serial port and wait for information about the address and VNC connection password:
Xfce and MATE images include a setup wizard that is activated on first boot. It allows to do the initial system setup, including selecting the timezone, setting the root password, creating a new user, setting VNC password, etc.
 
In the case of QEMU, if port forwarding for port 5900 is used, connecting to VNC is straightforward. For example, in the case of [https://en.wikipedia.org/wiki/TigerVNC tigerVNC]:
<source lang="shell">
<source lang="shell">
$ vncviewer 127.0.0.1
localhost login: ALTERATOR SETUP === VNC access enabled
ALTERATOR SETUP === VNC Password="cobra-angel"
ALTERATOR SETUP === Default network device: "eth0"
ALTERATOR SETUP === IPv4: "10.0.2.15/24"
ALTERATOR SETUP === IPv6: "fec0::bee1:6f2d:ce4a:9c1d/64
fe80::6a0:ddd0:df03:e44d/64"
PORT=5900
</source>
</source>


"Real" machines (e.g. HiFive Unmatched board) obtain the IP address via DHCP, and one needs to find out that address to connect to the VNC server.
To connect to a serial console (usually /dev/ttyUSB1) using GNU/screen use the command below:
 
One way to do it is to connect to the board serial console. For HiFive boards, you should connect your PC to the console port (microUSB) and use, for example, <tt>screen</tt> command:
<source lang="shell">
<source lang="shell">
$ screen /dev/ttyUSB1 115200
$ screen /dev/ttyUSB1 115200
</source>
</source>


During first boot the IPv4 and IPv6 addresses will be print to the console. It looks like this:
* connect via vnc using the remote-viewer vnc client from the virt-viewer package:
<source lang="shell">
<source lang="shell">$ remote-viewer vnc://<ip_address>:<Port></source>
[  128.084540] xinit[276]: ALTERATOR SETUP === Default device: "eth0"
[  128.084888] xinit[276]: ALTERATOR SETUP === IPv4: "192.168.88.216/24"
[  128.085110] xinit[276]: ALTERATOR SETUP === IPv6: "fe80::72b3:d5ff:fe92:f229/64"
</source>
 
You can use any of these addresses to connect to the VNC server, for example:
<source lang="shell">
$ vncviewer 192.168.88.216
</source>


== Feedback ==
== Feedback ==
Line 90: Line 77:
* assign the issue to <tt>iv@altlinux.org</tt>.
* assign the issue to <tt>iv@altlinux.org</tt>.


'''• Mailing list:''' riscv-devel@lists.altlinux.org
'''• Mailing list:''' [https://lists.altlinux.org/mailman/listinfo/riscv-devel riscv-devel@lists.altlinux.org]


[[ru:Regular/riscv64]]
[[Category:Sisyphus]]
[[Category:Regular]]
[[Category:Regular]]
[[Category:Sisyphus]]
[[Category:RISC-V]]
[[Category:RISC-V]]
[[ru:Regular/riscv64]]

Revision as of 13:09, 29 June 2022

Русский

Regular image builds are intended for testing and development of the RISC-V (rv64gc) port of Sisyphus repository.

Additional information:

The images are intended to be run in qemu without modification and written according to the instructions to removable storage devices for sequent loading on target boards. Аfter booting from one of the images below, use the following credentials to login:

 login: root
 password: altlinux

For images with graphics the user will be asked to complete the initial setup in a graphical setup wizard at the first boot. During configuration, you can set the timezone, root password, password for connecting to VNC (if launched via VNC), create a new user, etc. On boards without a graphics adapter the graphical setup wizard must be run via VNC.

Direct download links[1]

QEMU

The img.xz images must be unpacked and run according to the instructions: Ports/riscv64/QEMU.

HiFive Unmatched and Unleashed

Images write in instructions are available on the board pages: HiFive Unmatched and HiFive Unleashed.

VNC

Connecting via VNC (not the vnc provided by the qemu emulator) requires :

  • enable vnc mode in alterator-setup by uncommenting or adding a line to /etc/alterator-setup/config:
ALTERATOR_SETUP_VNC=1

or add a --vnc=1 argument for alt-rootfs-installer when it writes to a removable storage device.

  • connect via a serial port and wait for information about the address and VNC connection password:
localhost login: ALTERATOR SETUP === VNC access enabled
ALTERATOR SETUP === VNC Password="cobra-angel"
ALTERATOR SETUP === Default network device: "eth0"
ALTERATOR SETUP === IPv4: "10.0.2.15/24"
ALTERATOR SETUP === IPv6: "fec0::bee1:6f2d:ce4a:9c1d/64
fe80::6a0:ddd0:df03:e44d/64"
PORT=5900

To connect to a serial console (usually /dev/ttyUSB1) using GNU/screen use the command below:

$ screen /dev/ttyUSB1 115200
  • connect via vnc using the remote-viewer vnc client from the virt-viewer package:
$ remote-viewer vnc://<ip_address>:<Port>

Feedback

• Bug reports are tracked at ALT Linux Team bugzilla (see also: BugTracking):

  • In the case of any issue with a package choose product Sisyphus.
  • In the case of an issue with the images choose product Regular .

IMPORTANT:

  • set platform field (drop-down list at the right) to riscv64;
  • assign the issue to iv@altlinux.org.

• Mailing list: riscv-devel@lists.altlinux.org

  1. These are links to builds marked as tested. There are a few more snapshots
  2. Without GUI