Hot answers tagged

11

Understanding the Basics From the wiki entry of MIPS architecture, it is described as, MIPS (originally an acronym for Microprocessor without Interlocked Pipeline Stages) is a reduced instruction set computer (RISC) instruction set (ISA) developed by MIPS Technologies (formerly MIPS Computer Systems, Inc.). From the wiki entry of the x86-64, it is ...


10

I would use an initramfs. (http://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt) Many Linux distributions use an initramfs (not to be confused with an initrd, they are different) during the boot process, mostly to be able to start userspace programs very early in the boot process. However, you can use it for whatever you want. The ...


6

On the architecture side, you need more than an instruction set and a computer architecture. You also need to have: A CPU in some form (emulator, FPGA, silicon…). A way of booting that processor: a way of getting the operating system into the memory that the processor runs at boot time. Most processors boot to code stored in ROM which either switches on ...


6

I think the best bet is for you to acquire another SGI machine, unfortunately. There are several open source MIPS emulators but their functionality does vary. Available emulators include: GXemul Qemu Update: Newer releases of MAME are now able to run certain releases of IRIX, emulating an Indy. Instructions are available on the IRIX Network Wiki.


5

First of all there are several prerequisites for installing Linux on your PS2, please note that this guide is aimed at installation on a slim PS2, if you have a fat PS2 you should download and install the copy of Sony's PS2 Linux here: [link] (https://sourceforge.net/projects/kernelloader/files/Sony%20Linux%20Toolkit/) Also note that the machine used to test ...


3

Since I did not receive any answers/suggestions I finally decided to go through a painful git bisect operation (~13 iterations) in between the two tags: v4.10.1 (good) & v4.11.1 (bad). This lead me to: % git bisect good 73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411 is the first bad commit commit 73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411 Author: Marcin ...


3

You need a cross toolchain, gcc (+binutils) which run on x86_64 but output mips binaries. You can try to build it yourself from scratch (google for examples: build cross toolchain) or download a pre-built one (like from Codesourcery) Or you may build your own with the help of some tool like crosstool-ng Also systems like buildroot build (or download) ...


2

Camera's libc does not match the libc used for the toolchain. In this case the program must be compiled statically adding -static switch. After this 'Hello world' is executable on the device. Another solution is to add all required shared libraries (I haven't tested this). People from #mipslinux irc channel helped me to solve this problem - thank you.


2

Cross-building only became nice and easy with Debian 9 as a target; it’s do-able with Debian 8 too, but targeting Debian 7 is a bit too complex. (EmDebian was dropped before Debian 7.) There is however a simple setup to build mipsel Wheezy packages on any system capable of running QEMU, and building packages there will still be much faster than building on ...


2

A working solution to get the driver to bind to the device is: cgublock: jz4780-cgublock@10000000 { compatible = "simple-bus", "syscon"; #address-cells = <1>; #size-cells = <1>; reg = <0x10000000 0x100>; ranges; cgu: jz4780-cgu@10000000 { compatible = "ingenic,jz4780-cgu"; reg = <0x10000000 ...


1

# cat proc/cpuinfo system type: RTL8672 processor: 0 cpu model: 56322 An RTL8672 is not a full MIPS implementation, but a Lexra. You will need a customized toolchain that knows how to handle this. Something like this, or for a binary-only toolchain, look for rsdk; e.g., this.


1

First, you mean extracted or unpacked, not decompiled. More to the point, however, what you want is the qemu-user programs, not qemu-system. On Debian GNU/Linux for example, you merely need to install the qemu-user-binfmt package and then you can run tghese binaries like native ones. The only complication is when these binaries need files in hardcoded ...


1

The emdebian project has done some work on cross toolchains. As these packages suffer from bit rot quite heavily, I'd inquire about the current status with the emdebian project, either via mailing list or IRC.


1

Whow, you've got yourself into a lot of work I suppose (It sounds like a many-year-project if you ask me). You're not actually going to do all that, right? Yes, the next step would be to write (or better: port) some sort of compiler (I guess first you want to use a cross-compiler from your current PC). I' guess that porting an existing compiler (as gcc) ...


1

The jiffy does not depend on the CPU speed directly. It is a time period that is used to count different time intervals in the kernel. The length of the jiffy is selected at kernel compile time. More about this: man 7 time One of fundamental uses of jiffies is a process scheduling. One jiffy is a period of time the scheduler will allow a process to run ...


1

I don't own a MIPS system, but would think so1 -- a key requirement of android dev is the adb utility, which turns up in the Debian MIPS distribution. That's not everything that's required, and android doesn't use a normal java SDK either. Their site annoyingly just lists 32-bit glibc as a requirement for the "Linux" version of the ADT bundle (that's ...


1

if it is RHEL 6 add_drivers+="bnx2" add this line in /etc/dracut.conf Take the initramfs backup Run dracut –f to build the initramfs image reboot This will fix the issue.


Only top voted, non community-wiki answers of a minimum length are eligible