EmbLogic's Blog

Project work:-I’m made master array

Posted in Uncategorized | Leave a comment

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

Project status..

multiple data compression and decompression project completed.But facing problems using fseek() and llseek().

Posted in Uncategorized | 1 Comment

Work status by Vijay Partap

1. assignment no. 2 completed (unable to understand  Q. 14 and 15)

2. assignment no. 4 completed

3. working on assignment no. 3 (stacks and queues)

 

Posted in Uncategorized | Leave a comment

Assignment of Sessiom-14

Done:- PID and PPID of currently executing process.
Done:- Length of comm[TASK_CIMM_LEN] = 16

Posted in Uncategorized | Leave a comment

ioctl capability implementations

Wants to add ability to load and remove kernel module from user space in user mode , to check whether application have permissions or not for load and remove kernel modules macro CAP_SYS_MODULE is used

(if(!capable(CAP_SYS_MODULE)) , if this is true application doesn’t have permissions  ,how to provide these permissions to application ,

All of this has been done in IOCTL.

Posted in Character Driver | 1 Comment

sytem crashes while implementing compleion

hi,
i am trying o implement completion. i have to simple applications one for read and other for write.
my code is as follows
struct sculldev{
………..
………..
struct completiom my_completion;
…….
…………
};

scullread(……..)
{declare vriables……struct sculldev *lsculldev;
wait_for_completion(lsculldev->my_completion);
………….
}
scull_write(………..)
{
declare vriables……struct sculldev *lsculldev;
……………………………………..
…………code……………………
…………code…………………..
complete(&lsculldev->my_completion);
return 0;
}
HOWEVER WHEN I RUN THE APPLICATION THE SYSTEM CRASHES.
the messages in var/log/messages is
BUG: sleeping function called from invalid context at arch/x86/mm fault.c
in_atomic(): 0, irqs_disabled:1, pid 2207

i would appreciate if any one could help

Posted in Uncategorized | Leave a comment

#include
int main()
{
int i,k;
for(k=1;k<=10;k++)
{
i=getchar();
putchaar(i);
return 0;
}

//my doubt is…Why loop is executing 5 times instead of 10…

Posted in Uncategorized | 2 Comments

assignments status by Vijay Partap

1. assignment no. 1 completed
2. assignment no. 2(done upto quest no. 10)

Posted in Uncategorized | Leave a comment

WSR

Done :- Insertion and display of elements in linear link-list
Done :- Stack creation using array

Posted in Uncategorized | Leave a comment

development tools

i did programs based on make utility..

but still facing some problem in archiving the .o files into one library…:(

Posted in Uncategorized | Leave a comment

work status

compression and decompression complete.

successfully implemented linked list concept.

 

Posted in Uncategorized | Leave a comment

Project Status

Completed compression and decompression for 4 bit code length and done compression for 1 to 5 bits code length….

Posted in Uncategorized | Leave a comment

MDC project status

whole project completed for 4 byte
compression completed for bytes 1 to 8

Posted in Uncategorized | Leave a comment

Project Status

Completely done following steps for 4 byte:
1) Master Array
2) Compression
3) Decompression

Posted in Uncategorized | Leave a comment