Questions tagged [mips]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
1k views

How to forward internet connection in QEMU?

Following the description on how to start an OpenWrt VM with QEMU, I downloaded the MIPS kernel and started it with this command: qemu-system-mips -kernel openwrt-22.03.3-malta-be-vmlinux-initramfs....
Andy's user avatar
  • 85
1 vote
1 answer
221 views

How can I flash an embedded device with new linux software?

I have this IP camera that I bought that's really pretty shady (it streams all the videos to some S3 bucket and forces me to use their software), but I'm pretty sure it runs embedded linux and I'm ...
DAB's user avatar
  • 465
1 vote
1 answer
303 views

Compiling a C program with Clang for MIPS (32-bit) on a FreeBSD x86_64/AMD64 system

Is there a way to compile a C program with Clang compiler for MIPS (32-bit) on a FreeBSD x86_64/AMD64 system?
ordinary_guy's user avatar
1 vote
1 answer
129 views

Why this script stuck at "can't execute" branch?

I'm using this tool-chian provided by a manufacture of control boards. I followed the instruction step by step but when I tried to compile example code, the compilation process got stuck at "$...
cream_pi's user avatar
1 vote
0 answers
2k views

How do I compare the BogoMIPS of ARM based computers and Intel base computers?

Looking at my ARM based Jetson computers, I see a BogoMIPS of 62.5. On my Intel based computers, with Xeons, I see 4,200. I've found this note on Wikipedia Timer-based delays In 2012, ARM contributed ...
Alexis Wilke's user avatar
  • 2,807
0 votes
0 answers
25 views

I want to copy complete drive having IRIX 5.3 installed [duplicate]

I am new to Linux and want to replicate a hard drive, having IRIX 5.3 installed. Please guide the easy and best way.
asif shahzad's user avatar
1 vote
0 answers
350 views

The size of my lzma compressed file is different from one system to another using same compression ratio - why?

I have an lzma compressed file that I've extracted from a firmware image (via binwalk) that is X bytes uncompressed and Y bytes compressed. When I try to compress the extracted file again - without ...
compression_help1234's user avatar
0 votes
0 answers
2k views

WARNING: No NSS support for mDNS detected, consider installing nss-mdns!

I have cross-compiled avahi-0.8 library for the MIPS platform. I am able to run the avahi daemon from the console, but I'm getting the following warning: WARNING: No NSS support for mDNS detected, ...
Nirav Patel's user avatar
0 votes
1 answer
3k views

Install Debian on Mikrotik RB 2011 routerboard

Is there any way to install Debian sid on Mikrotik RB 2011? Seems to Debian MIPS port not support this type of cpu (Atheros 600MHz 74K MIPS big-endian), I already install OpenWRT on this device, need ...
SINA GH's user avatar
  • 11
2 votes
1 answer
3k views

Building mips package on amd64: Exec format error chroot: failed to run command 'mount'

I'm trying to cross-build a Debian/Ubuntu package on a running amd64 system to mips arch. I've tried several methods, from pubilder to sbuild, but I keep failing. About the latter, on a freshly ...
Maxxer's user avatar
  • 143
1 vote
0 answers
531 views

How to start X server in Debian Wheezy mips running on qemu?

I created a debian mips virtual machine by downloading qcow2 images from here. I then started the virtual machine by qemu-system-mips \ -m 256 \ -M malta \ -kernel vmlinux-3.2.0-4-4kc-malta \ -hda ...
desertSniper87's user avatar
2 votes
1 answer
2k views

How to compile against an interpreter for mips gcc?

I tossed out the old question that used to be here as it is no longer relevant for the reasons listed below in bold. The question itself still stands, it's just the system I was trying to cross-...
Alexis Evelyn's user avatar
0 votes
0 answers
1k views

fail to boot custom build Linux kernel in qemu

I installed MIPS port of Linux on qemu. So I downloaded initrd and vmlinux (kernel 4.9.0) images from http://ftp.debian.org/debian/dists/Debian9.5/main/installer-mips/20170615+deb9u4/images/malta/...
Mark's user avatar
  • 1,793
1 vote
0 answers
157 views

ARP binary for MIPS64 (big-endian) compatible with Linux v2.6

Where can I find an ARP binary for the MIPS64 (big-endian) CPU compatible with Linux v2.6 ? By "ARP binary" I mean a standalone compiled binary executable of the ARP command that manipulates the ...
George Robinson's user avatar
10 votes
1 answer
7k views

How to debug a driver failing to bind to a device on Linux?

I am trying to figure out why the following device is not setup to its driver on my Creator CI20. For reference I am using a Linux kernel v4.13.0 and doing the compilation locally: make ARCH=mips ...
malat's user avatar
  • 2,940
4 votes
1 answer
3k views

No more output is seen on the console after "Starting Kernel..."

I am trying a newer kernel on my Creator CI20 (v1), but if I try a Linux kernel version 4.11.1 I cannot get any output after u-boot. This leads to the following output: ci20# bootm 0x88000000; ## ...
malat's user avatar
  • 2,940
0 votes
1 answer
423 views

Creator CI20: Wrong Image Format for bootm command

I am trying to get my Creator CI20 to boot from sdcard directly. I compiled a vanilla Linux kernel 4.9.20 using (I am running debian stretch on my laptop): $ make ARCH=mips ci20_defconfig $ make ...
malat's user avatar
  • 2,940
4 votes
0 answers
1k views

Host CFLAGS for cross-build of GCC

I want to build Rockbox from source for MIPS targets. According their the wiki I need a tool chain with binutils v2.17 and GCC v4.1.2 for the mipsel-elf target with CFLAGS="-U_FORTIFY_SOURCE -fgnu89-...
David Foerster's user avatar
3 votes
1 answer
803 views

qemu mips and debian networking not working

since few days I still can not run network on debian8.7 (or ubuntu 16.04) and qemu. all installed with default packages (or - in case of qemu, from src too relating to shadow'sblog post). I think ...
user avatar
9 votes
1 answer
24k views

How to install Linux on the Playstation 2

Looking to learn about game development? Are you a Linux enthusiast looking to test the claim that "Linux runs on everything"? Perhaps you are a software developer who is looking to release for ...
Alison E.E.'s user avatar
2 votes
1 answer
118 views

Debian on Virtual Mips Malta platform

I am trying to run Debian on MipsMalta platform which is emulated by OVP. The problem is that the setup tool needs to download files from Debian mirrors but it cannot proceed in downloading files, I ...
user211993's user avatar
3 votes
1 answer
963 views

Meaning of MIPS flags in elf header

I was looking at the header of some elf files and noticed something odd: ELF Header: Magic: 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: ...
charlesw's user avatar
  • 130
1 vote
1 answer
251 views

Interrupt kernel process or another interrupt

How does ISR know that it interrupts process in kernel mode or another interrupt (which enables further interrupts) - of course in kernel mode too. If this question is very wide, please aim to Linux ...
Nik Novák's user avatar
3 votes
0 answers
5k views

Cross Compiling Openssl for MIPS

I've been trying to cross compile Ncat for the MIPS architecture (big endian), and I really need SSL support, so I first must compile OpenSSL. I downloaded the latest version from Github and ...
Chev_603's user avatar
  • 296
1 vote
0 answers
707 views

Cross compile gdb for mips and make executable file small like one in OpenWrt

I would like to cross compile gdb for mips, but the normal version is too big for my small embedded device. I was wondering how those guys on OpenWrt make it ~3mb. I downloaded gdb ipk, extracted ...
Slobodan Vidovic's user avatar
2 votes
1 answer
4k views

“Illegal instruction” on a static MIPS binary

On my MIPS box I'm trying to run a program. I use a cross compiler for mips. When I run my program, I'm getting Illegal instruction I pulled of one binary from it, called cputest. It basically ...
Slobodan Vidovic's user avatar
1 vote
1 answer
483 views

how can I run old programs from a MIPS?

I have an old PC with a program called atomTV, for viewing, and producing movies from molecular trajectory files. I only have a binary, and the platform it ran on was 64-bit MIPS architecture, where I ...
j0h's user avatar
  • 3,577
2 votes
0 answers
56 views

How well is Debian supported on MIPS these days?

I am doing a new embedded Linux design, and am thinking of using a MIPS CPU. All my previous designs have used ARM. On the most recent ARM design we installed Debian ARM-HF which was excellent. My ...
SeanLabs's user avatar
  • 701
1 vote
1 answer
4k views

Decompile / Run MIPS executable under x86_64 Ubuntu

I'm currently trying to make modifications to a router firmware: Swisscom Centro Grande - aka Pirelli Vx226N1, firmware version: 60200. I've decompiled it successfully with FMK v0.99 and got the ...
Denys Vitali's user avatar
6 votes
3 answers
16k views

Generate MIPS architecture assembly code on a X86 machine

I need to generate MIPS specific code on my machine when I run my C program. When I simply run, gcc -O2 -S -c hello.c On my system, I get the hello.s which seems to generate some assembly code but ...
Ramesh's user avatar
  • 39.2k
5 votes
1 answer
5k views

GCC (toolchain) for Ralink SoC - ELF not found and syntax error

I bought a Chinese P2P camera and there was no MJPEG stream, so I wanted to compile mjpg-streamer for it. Here's my CPU's info: # cat /proc/cpuinfo system type : Ralink SoC processor ...
botzko's user avatar
  • 291
5 votes
1 answer
2k views

How do I load initrd into memory to be passed to kernel when using kexec?

As the MIPS port of kexec doesn't support the --initrd param, I'm looking for workarounds to imitate the feature. According to Linux/MIPS wiki, MIPS kernels support rd_start and rd_size kernel command ...
Jani's user avatar
  • 151
1 vote
1 answer
304 views

Is it possible to do Android development on a MIPS computer?

On a computer with a MIPS architecture (e.g. a Lemotoe Yeeloong), running GNU/Linux, is it possible to install and run the necessary tools for developing Android apps for deployment on smartphones?
user avatar
3 votes
1 answer
381 views

Does any OS support ZFS on MIPS?

Does there exist an operating system supporting ZFS under the MIPS architecture? If so, which operating system(s)? I am especially interested in: Support for ZFS on Loongson. OSes free from binary ...
user avatar
4 votes
3 answers
29k views

bnx2: Can't load firmware file "bnx2/bnx2-mips-09-6.2.1b.fw"

I just compiled the kernel 3.10.19 from kernel.org. Support for bnx2 is enabled. On my server when I try to start the eth0 interface I got the following error : bnx2: Can't load firmware file "bnx2/...
Hugo's user avatar
  • 2,429
1 vote
0 answers
2k views

How to compile and install iperf on a MIPS based router?

I have a DIR-825 router based on Atheros AR7161 (MIPS) running DD-WRT v24-sp2 std. How can I compile and install iperf on it? Can I compile it directly on the target device, or do I have to cross ...
Samir's user avatar
  • 816
5 votes
1 answer
4k views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
GrandAdmiral's user avatar
1 vote
2 answers
2k views

Running the linux kernel and Ubuntu on custom processor

This is hardly a theoretical question as many have done this, albeit there's very little information on the underlying processes. I'm developing a custom MIPS-based processor on which I would like to ...
xupv5's user avatar
  • 123
4 votes
1 answer
2k views

What is the connection between jiffies and IPS? How to convert jiffies to IPS?

Reading from /proc/PID/stat a lot of information can be processed. I would like to see how many percentages has been used of CPU power by this process. There are a lot of variable around here (utime, ...
roncsak's user avatar
  • 299
3 votes
0 answers
1k views

Compile parameters for MIPS based codesourcery toolchain?

I installed codesourcery cross compile toolchain for mips32 architecture on my WIN 7 machince. I want to first compile a simple 'factorial' binary for my router which is based on MIPS32. From little ...
0xakhil's user avatar
  • 151
20 votes
3 answers
35k views

How do I have Linux boot with a rootfs in RAM?

The rootfs is a squashfs image and my bootloader is loading it into some address in SDRAM. What parameters do I need to pass to the kernel so It can mount the rootfs from there? Squashfs support is ...
Atilla Filiz's user avatar
4 votes
2 answers
18k views

how to make read only filesystem writable on busybox?

I want to change some files on my router. Firstly i can change everything in /var, but i want to change /etc/fstab. when i try to change it, i get an error message that says filesystem is read only. ...
0xmtn's user avatar
  • 240
3 votes
1 answer
7k views

How to understand the kernel panic core dump output?

This is the output I get when I run one of my applications: Kernel bug detected[#1]: Cpu 0 $ 0 : 00000000 00000000 0fffff00 0fffff00 $ 4 : c6800000 850b7780 8b0043c0 00000040 $ 8 : 000004ac ...
Navaneeth Sen's user avatar
7 votes
4 answers
4k views

Looking for ARM- or MIPS-based computer (netbook or similar size) to play with

I am bored and want to play with a netbook or other small computer. Can anyone recommend something? Requirements: ARM or MIPS CPU Can run Windows CE 6 and/or Linux (preferably dual-boot) Linux ...
user avatar