Questions tagged [mips]
45 questions
20
votes
3 answers
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 built-in and it already works…
Atilla Filiz
- 624
- 1
- 6
- 13
10
votes
1 answer
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 ci20_defconfig
make -j8 ARCH=mips…
malat
- 2,708
- 4
- 27
- 47
9
votes
1 answer
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 multiple architectures, and you don't have another MIPS…
Alison E.E.
- 464
- 1
- 4
- 13
7
votes
4 answers
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 distribution must be full-fledged (for the…
Andrew J. Brehm
6
votes
3 answers
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 it doesn't seem to be MIPS specific code. The…
Ramesh
- 38,687
- 43
- 140
- 215
5
votes
1 answer
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 successfully, but I haven't been able to network it…
GrandAdmiral
- 181
- 1
- 8
5
votes
1 answer
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 : 0
cpu model : MIPS 24K…
botzko
- 291
- 1
- 3
- 8
5
votes
1 answer
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 line arguments for specifying the location of…
Jani
- 151
- 3
4
votes
1 answer
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.elf -nographic -m 256
However there is no internet…
Andy
- 85
- 1
- 2
- 8
4
votes
1 answer
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, stime, cutime, cstime, gtime, cgtime) but they…
roncsak
- 299
- 5
- 12
4
votes
1 answer
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;
## Booting kernel from Legacy Image at 88000000 ...
…
malat
- 2,708
- 4
- 27
- 47
4
votes
0 answers
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-inline". Here's the configure line for…
David Foerster
- 1,505
- 1
- 11
- 18
4
votes
2 answers
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.
Busybox inside router, has limited commands, so i…
0xmtn
- 240
- 1
- 2
- 7
4
votes
3 answers
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/bnx2-mips-09-6.2.1b.fw"
In /lib/firmware/bnx2 I…
Hugo
- 2,419
- 7
- 27
- 32
3
votes
1 answer
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 000004ac 00000002 844e8000
$12 : 00000000 feced300…
Navaneeth Sen
- 9,369
- 17
- 58
- 65