EmbLogic's Blog

Author Archives: manoj7410

What is Board setup file..?

Hi, Going to write an I2C Driver, need to know the relationship between the core driver of bus and board setup file. I am using OMAP2 based ARM board. Just want to know about basic relationship. Thanks Manoj Arora

Posted in Device Drivers | Leave a comment

It’s about connecting an h/w to Linux Based Machine..

Sir, Is rules.d in udev is the only way for a Linux Kernel to know about the connectivity of the External H/w Device or something else is also there as an alternate to it..??

Posted in Device Drivers | Leave a comment

To Vaibhav Sir: Removed Padding from structure…

Sir, Problem is solved, got 3rd way to remove the padding from a structure. i.e. Declare a structure like this.. struct abc { ……..char a; ……..int b; }__attribute__ ((packed)); main() { ……. struct abc obj; ………printf(size); } Output is : … Continue reading

Posted in Data Structures with C | 1 Comment

What is the difference between Dynamic Loading and Dynamic Linking..?

Can any one help in solving this confusion between dynamic loading and dynamic linking. These terms are purely related with .so files I think but I am not getting the exact difference. Any guidance…?? Thank you

Posted in Data Structures with C | 5 Comments

Finally got succeed in Building toolchain.

successfully executed ARM specific executable on BeagleBoard..:-)

Posted in ARM Embedded Processors, Embedded Controllers, Embedded Linux | Leave a comment

Another error in toolchain…

Sir, -lgcc has been solved by changing the version of glibc. but another error occured , i.e. -lc not found… on the execution of a file. Also facing error in configuring glibc-2.13. It is exiting with the following error. . … Continue reading

Posted in ARM Embedded Processors, Embedded Controllers, Embedded Linux | Leave a comment

To Vaibhav Sir.

crt1.o crt0.o crtbegin.o error has been solved by using some other gcc version. But now I am into a new problem i.e. -lgcc not found. when I execute the program. The actual error is in it … that my libgomp … Continue reading

Posted in ARM Embedded Processors, Embedded Linux | Leave a comment

What are PIEs…?

Scrt1.o Used in place of crt1.o when generating PIEs. . . what are PIEs…?. . . I already know about crt1.o but didn’t get PIEs..

Posted in ARM Embedded Processors, Data Structures with C, Embedded Controllers, Embedded Linux | Leave a comment

It may help somewhere in Toolchain..

crt0.o Older style of the initial runtime code ? Usually not generated anymore with Linux toolchains, but often found in bare metal toolchains. Serves same purpose as crt1.o (see below). crt1.o Newer style of the initial runtime code. Contains the … Continue reading

Posted in ARM Embedded Processors, Embedded Linux | 1 Comment

I need to know this…

Sir, Is there any way available to convert an .obj (object file) file to a .c file…?

Posted in ARM Embedded Processors, Data Structures with C, Embedded Linux | 1 Comment

Another problem with Toolchain.

for the previous problem i.e. Links can not be tested after GCC_NO_EXECUTABLES… I disabled zlib inside gcc-4.5.1… by using –without-gmp-zlib. and error is gone… but after that.. the error is:. checking for working strncmp… no….(Previous Error was at this line) … Continue reading

Posted in ARM Embedded Processors, Embedded Linux | Leave a comment

Problem with Toolchain..

Facing an error at the last step, while doing “build-gcc”. Error occurs at make -j 2 . Error is : Link tests are not allowed after GCC_NO_EXECUTABLES

Posted in ARM Embedded Processors, Embedded Linux | Leave a comment

Relation between OS and Kernel.

An operating system, also known as an OS, is the software that makes a computer usable. The kernel is merely the “core” or lowest level of an operating system. The kernel provides numerous callable routines that allow other software to … Continue reading

Posted in Uncategorized | Leave a comment

Serial Port Status.

Two way communication is done by using the serial port. but still interrupts are not being involked.

Posted in Uncategorized | Leave a comment

Implemented Nibble Mode With Protocol. By: Manoj & Pankaj

Nibble mode has been implemented successfully with exact protocol.

Posted in Uncategorized | Leave a comment