LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 01-15-2013, 05:47 PM   #1
yagosan
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
Unhappy ST Linux with Busybox


Hello.

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 2.6.23.17-stm23-STAPI-A21-grayrose sh4

-bash-3.00# cat /proc/version
Linux version 2.6.23.17-stm23-STAPI-A21-grayrose (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:

bin
dev
dev.static
etc
lib
media
mnt
proc
root
sbin
sys
tmp
usr
var

Could you give me some help with this?.
Thanks.

Last edited by yagosan; 01-15-2013 at 05:59 PM.
 
Old 01-15-2013, 07:13 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,985

Rep: Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753
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.

Last edited by michaelk; 01-15-2013 at 07:17 PM.
 
Old 01-16-2013, 10:38 AM   #3
yagosan
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
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..?

Architectures:
ARM
ST200
ST40

http://www.stlinux.com/install/distribution/downloading

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?.

Thanks
Best Regards.

Last edited by yagosan; 01-16-2013 at 03:10 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where to get completely minimal Linux image (kernel and Busybox only)? skykooler Linux - General 15 03-09-2012 12:38 PM
Tiny linux with busybox on HDD lopezimg Linux From Scratch 6 12-16-2010 04:09 PM
New Topic Needed:BusyBox - Embedded Linux (or Similar) schenke Linux - Embedded & Single-board computer 2 01-04-2008 12:17 PM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration