Linux - Embedded & Single-board computerThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I would like to know the difference between the terms FLASHING and PORTING...Generally, used as same...I don`t get it...Are they really sort of same or there exists real big differences..
ex-porting u-boot onto some board !!
n flashing u-boot onto some board!!
when i cross compile a linux kernel and rootfs for my target board or any other device then it is actually PORTING...
when I put firmware software (like u-boot or bare-metal programs or BIOS) into the memory of the device then it is flashing...
ex-#flashing# the bIOS of pc,
So when the people in Embedded Domain, says that I ported (bla bla bla..anything) to some device/SBC etc... are they wrong??
because they are not the first to port it to the hardware, even if they build the toolchain themselves!!
ALL has been already done na!
People misuse terminology all the time. If they do it often enough, the meaning changes. The word 'hacking' is a good example; the media have turned it from the original meaning, 'recreational programming', to 'criminal security violation'.
It sounds like the folks you're referring to are misusing 'port' to mean 'cross compile'.
Porting: the process needed to make the source code of a program compatible with platform Y when it's compatible only with platform X. Think about console versions of arcade videogames: every version for a different console is a port of the original arcade version to the selected console. Given that the hardware platforms onto which the same software is to be executed vary, it is necessary to make some (heavy or not) adjustments to its source code to correctly exploit the underlying platform.
Cross-compiling: the process which make it possible to produce binaries for platform/architecture X while on a machine with a different platform/architecture. Think about compiling Windows programs while on Linux (VLC Windows binaries are cross compiled on Linux). In this context, the target is the platform/architecture you want binaries for while host is your running system architecture/platform.
Flashing: the process of writing data (tipically some kind of image file) on a flash memory device.
Originally Posted by beyond
after cross compiling on target, _____ process is done to make the image run on target system..
I mean what should I say, when I cross compile a program image on HOST then execute on the target system!
Can I say that I have ported this onto my embedded device?
The only kinda meaningful word to put in the blank would be flashing, but it's not the image in itself which is run on the target system.