EmbLogic's Blog

Linux OS porting using Storage

successfully done:-
1.toolchain creation
2.beagle board bring-up.

Posted in Project 9: Embedded Linux on ARM, Uncategorized | Leave a comment

Character driver

Sir,

i have completed read, write operation in character driver, using semaphore,ioctl. Also implementing kernel timer.

 

Posted in Character Driver | Leave a comment

Ported Linux on Beagleboard Xm

Finally after so many trials and errors, I completed the initial step of Project 9.

Formatted the SD card , booted it on the beagle board ….

I faced a problem :- Kernel panic: not syncing: no init found: Try passing init option….

Now finally overcame it and my card has successfully booted on the beagle board…

 

Posted in Project 9: Embedded Linux on ARM | Tagged , , | Leave a comment

Project 9

Successfully did the bring up of beagle-board
Did the partitioning of SD Card.
Formatted both the partitions in FAT 32 and EXT format respectively.
First faced a problem : No init found.
Overcame the problem and successfully ported the Linux.

Posted in Project 9: Embedded Linux on ARM, Uncategorized | Tagged , , , , , | Leave a comment

Low level file IO

How can we access directory thorough a c program?
Question is to write a program to find all the files with ext ‘.txt’ in a current directory.

so, How can we access a directory? or any hint …

Posted in Uncategorized | 2 Comments

Excessive kworker entries in process status table when system is idle.

When I list the processes executing on my system it displays many kworker/ processes with interruptible sleep (waiting for an event to complete) , an unknown value of tty and many different pids (even if my system is idle).
Also when I execute “top” it does not display any entry of kworker.
I am using fedora 16_64bit and 3.4.9-1.fc16.x86_64 kernel.
Can anyone please explain what kworker is/does? Why are there so many entries for  kworker processes in the process status table?

Posted in Linux Internals and System Programming | Tagged , , , | Leave a comment

Embedded Linux on ARM Cortex A8.

Embedded Linux is the use of Linux in embedded computer systems. Linux has been ported to a variety of CPUs which are not only primarily used as the processor of a desktop or server computer, but also ARM, AVR32, ETRAX CRIS, FR-V, H8300, IP7000, m68k, MIPS, mn10300, SuperH, and Xtensa processors, It is also used as an alternative to using a proprietary operating system and toolchain. Linux is an open source operating system. It enjoys support by a large group of engineers contributing back into the open source (similar process to the FSF’s GNU tools).This makes Linux a very dynamic and fast moving operating system.

Posted in Embedded Linux, Project 9: Embedded Linux on ARM | 1 Comment

Project 8: Block Driver Status

Successfully implemented block driver with ioctl and request function.

On initialisation the block driver is running the request function four times and all the requests that are coming are to read the data.

Posted in Uncategorized | Leave a comment

PROJECT 5:

Implement the proc entry & read.

Posted in Uncategorized | Leave a comment

IPC: Client Server Project usinf FIFO and Pipe

Dear Friends,

I Have Successfully Run 508 Clients in my project without using any SLEEP in server or client , But when I am trying to Run More Clients than this i got an error

“multiply: error while loading shared libraries: libc.so.6: cannot open shared object file:Error24″

Posted in Linux Internals and System Programming | Tagged | 4 Comments

IPC

Today i learned how to save file descriptor, how to use PIPE.

Posted in Project 6: Client Server using Inter Process Communication Mechanism, Uncategorized | Leave a comment

IPC

i implement IPC with one requesting client and one processing client.
but one doubt here that either server should run the client or client should run the server ?

Posted in Uncategorized | 1 Comment

IPC using pipes

I’ve implemented IPC using pipes.

Posted in Uncategorized | Tagged | Leave a comment

Status Project 7 Serial Port

Implemented multiple byte transfer using serial port successfully.

Posted in Uncategorized | Leave a comment

Implemented Nibble and Byte mode in Parallel Port Driver

Implemented nibble mode,byte mode successfully, and successfully move a string from peripheral to computer in nibble mode.

 

Posted in Uncategorized | Leave a comment