Clone the repository to which you have to create a patch.
git clone <URL of the source kernel + your code>
git checkout tags/<your-tag>
git checkout -b <tagname>
Add remote repo:
git remote add <nickname> <repo url>
git remote add linuxorg git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch linuxorg
Create the diff between remote kernel branch and your code
git diff <branch name>…HEAD > name.patch
git diff v3.17…HEAD > linux-mycode.patch
The resulting linux-mycode.patch will consists of your modification to kernel 3.17
Introduction
Learning Device driver is my long time goal. But I’m not able to do that, today I started to write this post on Learning device driver and share my knowledge and experience.
To write a device driver it is essential at least to understand following topics in the C Language.
- Pointers
- Structures
- Linked List
- Bit manipulating functions
Microprocessor programming: Interrupts, timers, memory addressing …etc
wget --user user --password pass http://serveraddress/
Whether you’re looking for a quick “HowTo” or want to see samples of embedded Linux demo images running on popular development boards, you can find it here. We have videos to help you — from short, educational “How To” videos that can guide you through an embedded Linux development process to videos that showcase Timesys’ products and service offering.
Be sure to check back frequently as new videos are added often. Or subscribe to the Timesys YouTube Channel, and receive timely notification of our new videos as they are added.
Timesys’ embedded Linux solutions and services enable engineering teams to deliver high-quality, differentiated, open source Linux-based products in a predictable, consistent and timely manner.
Timesys provide the industry’s most affordable and easy to try, buy and use commercial embedded Linux offerings which include:
a software repository,
development tools,
expert support,
professional services and
training.
You never have to deal with expensive, complex products, restrictive contracts and unresponsive support.
The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.
Here’s an excerpt:
600 people reached the top of Mt. Everest in 2012. This blog got about 12,000 views in 2012. If every person who reached the top of Mt. Everest viewed this blog, it would have taken 20 years to get that many views.
Below is the command for using rsync over ssh
$ rsync -avz -e ssh remoteuser@remotehost:/remote/dir /this/dir/
you can tell the ‘ssh’ executable to provide some logging with the ‘verbose’ commands: ‘-v’, ‘-vv’, ‘-vvv’. The more v’s, the more verbose the output. One is in the command above, but the one below should provide much more output:
$ rsync -avvvz -e “ssh -i /home/thisuser/cron/thishost-rsync-key” remoteuser@remotehost:/remote/dir /this/dir/
mount -n -o remount,rw /