LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-13-2016, 12:59 AM   #1
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
GUI apps in busybox?


hi,

I've got an embedded busybox device that repoposed from its previous function as online streaming device , it seems that this device uses frame buffer(called FbMixerManager) for graphical output, which can run mplayer and streaming online broadcasting. being new to busybox, i don't quite understand how this works.

can someone knowledgable explain how does GUI application run in busybox?
 
Old 09-13-2016, 01:52 AM   #2
blue_z
Member
 
Registered: Jul 2015
Location: USA
Distribution: Ubuntu, Lubuntu, Mint, custom embedded
Posts: 104

Rep: Reputation: Disabled
Quote:
Originally Posted by xiongnu View Post
...how does GUI application run in busybox?
It doesn't.
Busybox does not support any GUI or graphics functionality.

Quote:
Originally Posted by xiongnu View Post
I've got an embedded busybox device ...
Perhaps you don't understand what Busybox is.
Busybox is a monolithic application program that consolidates numerous GNU Linux utilities and applications, as well as initialization and daemon functions.
To call a media playback box a "busybox device" is like calling a PC used for web surfing a "chrome box".
You're describing the computer by just one of its installed application programs.

Your media box is probably running the Linux OS.
The GUI application executes like any other program would under Linux.
You could reconfigure a Linux desktop to perform just like this embedded device if you wanted.

Quote:
Originally Posted by xiongnu View Post
... it seems that this device uses frame buffer(called FbMixerManager) for graphical output,
Framebuffers do not have names like FbMixerManager.
Framebuffer is one thing (i.e. a device name).
FbMixerManager is the name of a utility, for which Google returns only one search result. It may be proprietary code.

Quote:
Originally Posted by xiongnu View Post
... which can run mplayer and streaming online broadcasting.
There you go. MPlayer is the application doing the playback.

You could contact the manufacturer of this media box to obtain a copy of all the GPL code used in it. Some manufacturers will ignore you (and blatantly violate the GPL), whereas the big consumer electronic companies have websites to distribute the open-source code used in their products.

Regards

Last edited by blue_z; 09-13-2016 at 02:11 AM.
 
Old 09-13-2016, 02:01 AM   #3
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by blue_z View Post
Busybox is a monolithic application program that consolidates numerous GNU Linux utilities and applications, as well as initialization and daemon functions.
BusyBox has no relation to GNU whatsoever. Although some utilities work only with Linux, its base userland utilies work across POSIX.
 
Old 09-13-2016, 02:58 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
A security distro from the USAF runs busybox and you can run gui programs. Might look into that for ways to create your custom distro.

Busybox as noted above is usually a compressed collection of command line programs.
 
Old 09-14-2016, 12:13 PM   #5
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by blue_z View Post
It doesn't.
Busybox does not support any GUI or graphics functionality.

Perhaps you don't understand what Busybox is.
Busybox is a monolithic application program that consolidates numerous GNU Linux utilities and applications, as well as initialization and daemon functions.
To call a media playback box a "busybox device" is like calling a PC used for web surfing a "chrome box".
You're describing the computer by just one of its installed application programs.

Your media box is probably running the Linux OS.
The GUI application executes like any other program would under Linux.
You could reconfigure a Linux desktop to perform just like this embedded device if you wanted.
i've looked at the manufacture firmware package, it contains:
lk.rom
tcc892x_mtd.rom
system.img

total about 64MB, i am very curious how did they (media box developer) pack gui interface/applications into one package, since busybox doesn't support gui, and x-windows will require more storage space.

Last edited by xiongnu; 09-14-2016 at 12:29 PM.
 
Old 09-14-2016, 03:25 PM   #6
blue_z
Member
 
Registered: Jul 2015
Location: USA
Distribution: Ubuntu, Lubuntu, Mint, custom embedded
Posts: 104

Rep: Reputation: Disabled
Quote:
Originally Posted by xiongnu View Post
i've looked at the manufacture firmware package, it contains:
Those look like just names of binary images.
There is no easy way to determine the projects/packages contained within.
If you think the images are not compressed, then extracting the text strings might be mildly interesting.

Quote:
Originally Posted by xiongnu View Post
i am very curious how did they (media box developer) pack gui interface/applications into one package, since busybox doesn't support gui, and x-windows will require more storage space.
There's a huge choice in how to do "graphics" without an open-source GUI window environment.

Assuming a Linux kernel and given that there is a framebuffer device, then the system can easily be augmented with libraries and utilities to demux, decode and playback videos (with just a serial console and no GUI environment).
I've used gstreamer to specify a "pipe" on the command line to specify the source video file, the plugins (demux, decode, et cetera) for processing, and the video sink (i.e. the framebuffer).
For another SBC I configured a build to run Kodi as the dedicated application. That Buildroot configuration file is available at the Wandboard forum.
I know of one TV box that does not use Linux (although it could, i.e. there's a MMU), but boots a proprietary standalone program.

Regards

Last edited by blue_z; 09-14-2016 at 03:31 PM.
 
  


Reply



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] gui apps virtualization redwhat Linux - Virtualization and Cloud 3 08-11-2015 08:48 PM
gui apps virtualization redwhat Linux - Virtualization and Cloud 2 08-11-2015 06:39 AM
non-gui virtualization apps psychobyte Linux - Virtualization and Cloud 1 01-10-2010 08:04 PM
Linux GUI Apps markjuggles Programming 5 02-25-2005 10:06 PM
I'm looking for some GUI apps.. VertX Linux - Newbie 3 02-08-2005 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration