-   Linux - Embedded & Single-board computer (
-   -   ST Linux with Busybox (

yagosan 01-15-2013 05:47 PM

ST Linux with Busybox

Im trying to use a wifi usb dongle stick in a satellite box decoder I bought this christmas. This box is a mvision HD 7000 Linux. I have managed to find out about kernel version inside.

I can uncompress the driver but the problem I have is that I cannot compile it running "make" included, no updates engine are installed in the box, tried apt-get,yum,etc.. It seems like they have uninstalled the updates, and compiler plus many other things, How can I get them back, how do I simply install this driver, can I do it compliling it from other linux?

-bash-3.00# uname -mrs
Linux sh4

-bash-3.00# cat /proc/version
Linux version (marin@jujube) (gcc version 4.2.4 (snapshot) (STMicroelectronics/Linux Base 4.2.4-62)) #1 PREEMPT Fri Jan 4 11:33:12 KST 2013

-bash-3.00# man
BusyBox v1.15.3 (2011-03-29 11:30:33 KST) multi-call binary

I have root access and the folders installed are:


Could you give me some help with this?.

michaelk 01-15-2013 07:13 PM

Welcome to LinuxQuestions.

There is nothing to get back and nothing was uninstalled since the decoder is not a standard computer with a typical desktop linux distribution.

busybox is a minimal shell designed for embedded systems. I would guess the decoder box uses a single board computer that runs from flash so there isn't enough memory for any sort of extra stuff like source code or headers to compile a program.

If you knew what type of processor the decoder uses it might be possible to set up a cross compiler on a regular PC linux distribution. Without knowing anything about its internal workings I would say they there is no simple method.

I am moving this thread to the embedded forum to get the exposure it deserves.

yagosan 01-16-2013 10:38 AM

ST Linux with BusyBox Hardware Architecture
Thanks for your reply Michael.

I find quite interesting your reply, and Im really looking forward to be able to cross compile from a PC to then send a driver for my wifi stick. I found the developers webbage were I can download this distro, but how do I know which arch etc..?


I believe the hardware is as shown in about page:

Model name HD-700L
Software Version 0.5
Plugin API Version 0.0.11
Loader Version 1.3.1-8
Micom Version 0.03
Mainboard Version R02
Nim 1 FE900

-bash-3.00# cat /proc/cpuinfo
machine : grayrose
processor : 0
cpu family : sh4
cpu type : STx7111
cut : 3.x
cpu flags : fpu icbi synco fpchg
cache type : split (harvard)
icache size : 32KiB (2-way)
dcache size : 32KiB (2-way)
bogomips : 296.96
-bash-3.00# cat /proc/meminfo
MemTotal: 101508 kB
MemFree: 39648 kB
Buffers: 15096 kB
Cached: 25556 kB
SwapCached: 0 kB
Active: 14588 kB
Inactive: 33212 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 7176 kB
Mapped: 5012 kB
Slab: 6424 kB
SReclaimable: 1512 kB
SUnreclaim: 4912 kB
PageTables: 432 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 50752 kB
Committed_AS: 320968 kB
VmallocTotal: 507880 kB
VmallocUsed: 114300 kB
VmallocChunk: 387032 kB

I found some instructions with cross compiling sh4 architecture , my question is : May I be able to comile a driver I found zd1211-vendor.tar.gz and copy it to the decoder box once is compiled?, or should I compile a full kernel with the driver embedded?.

Best Regards.

All times are GMT -5. The time now is 02:49 PM.