Regular/mipsel

From ALT Linux Wiki
< Regular
Revision as of 13:45, 17 May 2019 by MichaelShigorin (talk | contribs) (init off ru:Ports/mipsel/Запуск в QEmu)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Running in QEMU

NB: one will probably prefer mips64el kernel as 32-bit mipsel qemu only supports up to 256 Mb RAM while 64-bit one supports up to 2 Gb.

Please download and unpack the kernel first (see this link if the following one gets outdated):

$ wget http://ftp.altlinux.org/pub/distributions/ALTLinux/ports/mipsel/Sisyphus/mipsel/RPMS.classic/kernel-image-un-malta-4.16.8-alt1.mipsel.rpm
$ rpm2cpio kernel-image-un-malta-4.16.8-alt1.mipsel.rpm | cpio -i -D kernel -d
$ cp kernel/boot/vmlinuz-4.16.8-un-malta-alt1 vmlinuz

Download a suitable qcow image into the directory holding vmlinuz file, unxz it and run QEMU like this (substitute the downloaded image file name instead of <image-name>):

$ qemu-system-mips64el -kernel vmlinuz -append "console=tty0 root=/dev/sda3 rootwait " -m 2G -serial stdio -drive file=<image-name>,format=qcow2 -device virtio-keyboard-pci -net nic -net user,hostfwd=tcp::2270-:22 -cpu mips64dspr2 -vga std -display sdl -device usb-mouse

Running on hardware

The bfk3 and tavolga images are intended to run on systems with Baikal Electronics' Baikal-T1 (MIPS P5600) CPU, namely BFK3 evaluation board and Tavolga Terminal; see the port page in Russian for more information.

There's also support for running on Loongson 3A systems (also used for building our mipsel repository and images); see kernel-image-l3-def, feel free to ask iv@altlinux.org regarding mips64el port.