Regular/riscv64: Difference between revisions

From ALT Linux Wiki
(REFACTOR)
(8 intermediate revisions by 3 users not shown)
Line 6: Line 6:
|}
|}


[[Regular|Regular image]] builds are intended to test and develop the [[Ports/riscv64|RISC-V (rv64gc) port]] of [[Sisyphus]] repository.
[[Regular|Regular image]] builds are intended for testing and development of the [[Ports/riscv64|RISC-V (rv64gc) port]] of [[Sisyphus]] repository.


Additional information:
Additional information:
* 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: alt
   password: altlinux


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 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.


The developer image ('''builder''') has another pre-created user:
== '''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> ==


  login: altlinux
* jeos-systemd: [http://nightly.altlinux.org/sisyphus-riscv64/tested/regular-jeos-systemd-latest-riscv64.img.xz riscv64] <ref>Without GUI </ref>
  password: alt


{{Attention|It is recommended to '''change the password as soon as possible''' after the first log-in into the system.}}
* lxqt: [http://nightly.altlinux.org/sisyphus-riscv64/tested/regular-lxqt-latest-riscv64.img.xz riscv64]
 
* mate: [http://nightly.altlinux.org/sisyphus-riscv64/tested/regular-mate-latest-riscv64.img.xz riscv64]
 
* xfce: [http://nightly.altlinux.org/sisyphus-riscv64/tested/regular-xfce-latest-riscv64.img.xz riscv64]
 
== QEMU ==
 
The img.xz images must be unpacked and run according to the instructions: [[Ports/riscv64/QEMU]].


== HiFive Unmatched and Unleashed ==
== 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/
Images write in instructions are available on the board pages: [[HiFive Unmatched]] and [[HiFive Unleashed]].  


Setup instructions are available on the corresponding board page in this wiki: [[HiFive Unmatched]], [[HiFive Unleashed]]
== VNC ==
Connecting via VNC (not the vnc provided by the qemu emulator) requires :


See [[#VNC]] section below on how to access graphical setup for Xfce and MATE images.
* enable vnc mode in alterator-setup by uncommenting or adding a line to /etc/alterator-setup/config:


== QEMU ==
<source lang="shell">ALTERATOR_SETUP_VNC=1</source>
The images for the [https://www.qemu.org QEMU] listed below:
* Minimal system with systemd -- [http://nightly.altlinux.org/sisyphus-riscv64/alpha/regular-jeos-systemd-latest-riscv64.qcow2c link] ([http://nightly.altlinux.org/sisyphus-riscv64/alpha/MD5SUM MD5], [http://nightly.altlinux.org/sisyphus-riscv64/alpha/SHA1SUM SHA1])
* Minimal sytem with SysV -- [http://nightly.altlinux.org/sisyphus-riscv64/alpha/regular-jeos-sysv-latest-riscv64.qcow2c link] ([http://nightly.altlinux.org/sisyphus-riscv64/alpha/MD5SUM MD5], [http://nightly.altlinux.org/sisyphus-riscv64/alpha/SHA1SUM SHA1])
* Minimal system for developer (rpmbuild, [https://www.altlinux.org/Hasher hasher], gcc, ssh) -- [http://nightly.altlinux.org/sisyphus-riscv64/alpha/regular-builder-latest-riscv64.qcow2c link] ([http://nightly.altlinux.org/sisyphus-riscv64/alpha/MD5SUM MD5], [http://nightly.altlinux.org/sisyphus-riscv64/alpha/SHA1SUM SHA1])
* Graphical system with XFCE (VNC, X11) -- [http://nightly.altlinux.org/sisyphus-riscv64/alpha/regular-xfce-latest-riscv64.qcow2c link] ([http://nightly.altlinux.org/sisyphus-riscv64/alpha/MD5SUM MD5], [http://nightly.altlinux.org/sisyphus-riscv64/alpha/SHA1SUM SHA1])


The instructions on how to run these images on QEMU are on a separate page: [[Ports/riscv64/QEMU]].
or add a --vnc=1 argument for alt-rootfs-installer when it writes to a removable storage device.


For information about how to connect to the VNC server please refer to the [[#VNC]] section below.
* connect via a serial port and wait for information about the address and VNC connection password:
 
== VNC ==
At the first boot the user will be asked to setup
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]:
<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>


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.
To connect to a serial console (usually /dev/ttyUSB1) using GNU/screen use the command below:
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
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
* connect via vnc using the remote-viewer vnc client from the virt-viewer package:
to the console (e.g.):
<source lang="shell">$ remote-viewer vnc://<ip_address>:<Port></source>
<source lang="shell">
[  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>


To connect to the VNC server:
== Feedback ==
<source lang="shell">
$ vncviewer 192.168.88.216
</source>


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


'''IMPORTANT''':
'''IMPORTANT''':
Line 85: 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]


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

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