How to install compiler tools with opkg on MIPS CPU architecture
4
votes
1
answer
5619
views
I just bought a set top box (digital reciever - Vu+ Solo2 ) which runs Linux, and would like to compile some C software on it. It uses OPKG as the package manager. I executed
opkg update
and:
root@vusolo2:~# opkg install gcc
Unknown package 'gcc'.
Collected errors:
opkg_install_cmd: Cannot install package gcc.
root@vusolo2:~#
I figured that this is because I do not have the necessary repositories. The files in
/etc/opkg/
only point to feeds/repositories
that are owned by the creators of the Linux image that the receiver is running (Black Hole ).
As far as I understood, the repositories need to match the CPU architecture. Here is the output of /proc/cpuinfo
:
root@vusolo2:~# cat /proc/cpuinfo
system type : BCM7346B2 STB platform
machine : Unknown
processor : 0
cpu model : Broadcom BMIPS5000 V1.1 FPU V0.1
BogoMIPS : 864.25 cpu MHz : 1305.007
wait instruction : yes
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : yes
hardware watchpoint : no
isa : mips1 mips2 mips32r1
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
processor : 1
cpu model : Broadcom BMIPS5000 V1.1 FPU V0.1
BogoMIPS : 655.36
cpu MHz : 1305.007
wait instruction : yes
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : yes
hardware watchpoint : no
isa : mips1 mips2 mips32r1
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
Now, which repositories should I use to get the following packages:
gcc
gcc-symlinks
make-dev
binutils-dev
libgcc-dev
?
Asked by Kenci
(183 rep)
Jan 18, 2016, 10:52 PM
Last activity: Jan 13, 2018, 10:07 AM
Last activity: Jan 13, 2018, 10:07 AM