Size: 2183
Comment:
|
Size: 1386
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
Tip: You may want to pin the terminal app for easy access by hitting the Windows logo key, moving your mouse over the terminal icon on the left vertical menu, right clicking, and chosing "Lock to Launcher". You can make the menu go away by hitting the escape key. | Tip: You may want to pin the terminal app for easy access. Do that by hitting the Windows logo key, moving your mouse over the terminal icon on the left vertical menu, right clicking, and chosing "Lock to Launcher". You can make the menu go away by hitting the escape key. |
Line 18: | Line 18: |
Once that finishes, run these three commands: | Once that finishes, run these two commands: |
Line 20: | Line 20: |
mkdir git mkdir git/kernels |
mkdir -p git/kernels |
Line 24: | Line 23: |
Tip: mkdir creates directories, and cd changes the current working directory to a different directory. You can learn more about any command by reading the manual pages. Simply prefixing the command with the word "man", e.g. {{{man mkdir}}}. | Tip: mkdir creates directories, and cd changes the current working directory to a different directory. You can learn more about any command by reading the manual pages. Simply prefixing the command with the word "man", e.g. {{{man mkdir}}}. |
Line 31: | Line 30: |
== Optional suggestions for Ubuntu == You might want to change some Ubuntu default settings. By default, after the system is idle, the screen blanks and you'll have to re-enter your password when you start using it. You can turn off the screen lock on resume by hitting the Windows key, clicking the wrench icon ("System Settings") in the left vertical menu. Then click the "Brightness and Lock" icon, and hit the Lock toggle button to make it read OFF. You probably still want to require your password when waking from suspend, but it's up to you. You can close an app at any time by hitting the X button on the top left of the window, or if the window is maximized, moving your mouse cursor to the top left, and clicking the X button that's revealed. Do not close the terminal in this way. It's safer to close it by hitting CTRL+d, because it will prompt you if you still have programs running in the background. |
That's going to take a while. Why don't you read up on [http://lwn.net/Kernel/LDD3/ Linux Device Drivers] in the meantime? |
Developing on a native Linux platform
These instructions assume you're running a varient of Ubuntu (like 12.04 LTS).
Install some packages
First, open a terminal. Click the ubuntu logo at the top left corner and type "terminal". Click the terminal screen icon.
- Tip: You may want to pin the terminal app for easy access. Do that by hitting the Windows logo key, moving your mouse over the terminal icon on the left vertical menu, right clicking, and chosing "Lock to Launcher". You can make the menu go away by hitting the escape key.
Next, run this command:
sudo apt-get install vim libncurses5-dev gcc make git exuberant-ctags
Setup your Linux kernel code repository
Once that finishes, run these two commands:
mkdir -p git/kernels cd git/kernels
Tip: mkdir creates directories, and cd changes the current working directory to a different directory. You can learn more about any command by reading the manual pages. Simply prefixing the command with the word "man", e.g. man mkdir.
Then use the revision control system called [http://git-scm.com/ git] to clone Linus Torvalds' repository:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
That's going to take a while. Why don't you read up on [http://lwn.net/Kernel/LDD3/ Linux Device Drivers] in the meantime?