Regular/riscv64: Difference between revisions

From ALT Linux Wiki
(REFACTOR)
No edit summary
Line 18: Line 18:
   password: alt
   password: alt


For the recent images with graphics support (both [https://en.wikipedia.org/wiki/Xfce XFCE] and [https://ru.wikipedia.org/wiki/MATE MATE]), these credentials work for the first boot. All 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.
For the recent images with graphics support (both [https://en.wikipedia.org/wiki/Xfce XFCE] and [https://ru.wikipedia.org/wiki/MATE MATE]), these credentials work at the first boot. All 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.


The developer image ('''builder''') has another pre-created user:
The developer image ('''builder''') has another pre-created user:
Line 31: Line 31:
For [[HiFive Unmatched]] and [[HiFive Unleashed]] boards we recommend fresh images build by jqt4@: http://ftp.altlinux.org/pub/people/jqt4/images/hifive/
For [[HiFive Unmatched]] and [[HiFive Unleashed]] boards we recommend fresh images build by jqt4@: http://ftp.altlinux.org/pub/people/jqt4/images/hifive/


Setup instructions are available on the corresponding board page in this wiki: [[HiFive Unmatched]], [[HiFive Unleashed]]
Setup instructions are available on the corresponding board page: [[HiFive Unmatched]], [[HiFive Unleashed]]


See [[#VNC]] section below on how to access graphical setup for Xfce and MATE images.
See [[#VNC]] section below on how to access graphical setup for Xfce and MATE images.
Line 44: Line 44:
The instructions on how to run these images on QEMU are on a separate page: [[Ports/riscv64/QEMU]].
The instructions on how to run these images on QEMU are on a separate page: [[Ports/riscv64/QEMU]].


For information about how to connect to the VNC server please refer to the [[#VNC]] section below.
See [[#VNC]] section below on how to access graphical setup for images with graphics support.


== VNC ==
== VNC ==
At the first boot the user will be asked to setup
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.
system manually through visual menu. One could setup the timezone, root password,
 
add a new user, setup 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]:
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">
Line 55: Line 54:
</source>
</source>


In the case of HiFive Unleashed one needs to find out what is the IP address of this machine. The HiFive Unleashed obtains an IP address from DHCP during boot time.  
"Real" machines (e.g. HiFive Unmatched board) obtain IP address via DHCP, and one needs to find out that address to connect to the VNC server.
One way to do this is to connect HiFive Unleashed and PC with a microUSB-USB cord.
 
This allows one to connect to the serial console. To connect to the serial
One way to do this is to connect to the board serial console via microUSB-USB cable. For example, <tt>screen</tt> command can be used for that:
console (usually it is /dev/ttyUSB1) with GNU/screen, please use the following command:
<source lang="shell">
<source lang="shell">
$ screen /dev/ttyUSB1 115200
$ screen /dev/ttyUSB1 115200
</source>
</source>


During first boot time the information about IPv4 and IPv6 addresses will be prompted
During first boot time the information about IPv4 and IPv6 addresses will be print to the console. It looks like this:
to the console (e.g.):
<source lang="shell">
<source lang="shell">
[  128.084540] xinit[276]: ALTERATOR SETUP === Default device: "eth0"
[  128.084540] xinit[276]: ALTERATOR SETUP === Default device: "eth0"
Line 71: Line 68:
</source>
</source>


To connect to the VNC server:
You can use any of these addresses to connect to the VNC server, for example:
<source lang="shell">
<source lang="shell">
$ vncviewer 192.168.88.216
$ vncviewer 192.168.88.216
Line 77: Line 74:


== Feedback ==
== Feedback ==
'''• Bug reports''' submission form at [https://bugzilla.altlinux.org bugzilla].
 
* In the case of any issue with a package please choose ''Sisyphus''.
'''• Bug reports''' are tracked at [https://bugzilla.altlinux.org ALT Linux Team bugzilla] (see also: [[BugTracking]]):
* In the case of an issue with the images please choose ''Regular''.
* In the case of any issue with a package please choose product ''Sisyphus''.
* In the case of an issue with the images please choose product ''Regular'' .


'''IMPORTANT''':
'''IMPORTANT''':

Revision as of 12:44, 11 November 2021

Русский

Regular image builds are intended to test and develop the RISC-V (rv64gc) port of Sisyphus repository.

Additional information:

Аfter booting from one of the images below, use the following credentials to login:

 login: root
 password: alt

For the recent images with graphics support (both XFCE and MATE), these credentials work at the first boot. All 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.

The developer image (builder) has another pre-created user:

 login: altlinux
 password: alt
Attention! It is recommended to change the password as soon as possible after the first log-in into the system.


HiFive Unmatched and Unleashed

For HiFive Unmatched and HiFive Unleashed boards we recommend fresh images build by jqt4@: http://ftp.altlinux.org/pub/people/jqt4/images/hifive/

Setup instructions are available on the corresponding board page: HiFive Unmatched, HiFive Unleashed

See #VNC section below on how to access graphical setup for Xfce and MATE images.

QEMU

The images for the QEMU listed below:

The instructions on how to run these images on QEMU are on a separate page: Ports/riscv64/QEMU.

See #VNC section below on how to access graphical setup for images with graphics support.

VNC

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 tigerVNC:

$ vncviewer 127.0.0.1

"Real" machines (e.g. HiFive Unmatched board) obtain IP address via DHCP, and one needs to find out that address to connect to the VNC server.

One way to do this is to connect to the board serial console via microUSB-USB cable. For example, screen command can be used for that:

$ screen /dev/ttyUSB1 115200

During first boot time the information about IPv4 and IPv6 addresses will be print to the console. It looks like this:

[  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"

You can use any of these addresses to connect to the VNC server, for example:

$ vncviewer 192.168.88.216

Feedback

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

  • In the case of any issue with a package please choose product Sisyphus.
  • In the case of an issue with the images please 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