Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mips]

The tag has no usage guidance.

2
votes
1answer
188 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-...
0
votes
0answers
287 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/...
1
vote
0answers
44 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 ...
8
votes
1answer
2k 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 ...
4
votes
1answer
904 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; ## ...
0
votes
1answer
115 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 ...
1
vote
0answers
496 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-...
1
vote
0answers
268 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 ...
6
votes
1answer
10k 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 ...
3
votes
1answer
45 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 ...
2
votes
0answers
246 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: ...
1
vote
1answer
124 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 ...
3
votes
0answers
3k 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 ...
1
vote
0answers
538 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 ...
1
vote
1answer
2k 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 ...
2
votes
1answer
315 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 ...
2
votes
0answers
39 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 ...
1
vote
1answer
2k 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 ...
5
votes
3answers
11k 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 ...
5
votes
1answer
4k 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 ...
5
votes
1answer
1k 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 ...
1
vote
1answer
257 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?
3
votes
1answer
294 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 ...
4
votes
2answers
15k 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/...
1
vote
0answers
1k 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 ...
4
votes
1answer
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 ...
1
vote
2answers
936 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 ...
3
votes
1answer
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, ...
3
votes
0answers
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 ...
16
votes
3answers
21k 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 ...
3
votes
2answers
13k 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. ...
3
votes
1answer
6k 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 ...
6
votes
4answers
3k 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 ...