Building display feature kernel
From OMAPpedia
(Difference between revisions)
| (3 intermediate revisions not shown) | |||
| Line 5: | Line 5: | ||
; 2. Checkout the lo-dss2 branch | ; 2. Checkout the lo-dss2 branch | ||
| - | git checkout -b "lo-dss2-local" origin/lo-dss2- | + | git checkout -b "lo-dss2-local" origin/lo-dss2 |
| + | |||
| + | it worked for me like this: | ||
| + | |||
| + | first got to kernel-display folder, then checkout with git. | ||
| + | |||
| + | also use the -f flag for the checkout: | ||
| + | |||
| + | git checkout -f -b "lo-dss2-local" origin/lo-dss2 | ||
; 3. Go to kernel-display folder | ; 3. Go to kernel-display folder | ||
| Line 15: | Line 23: | ||
http://www.codesourcery.com/sgpp/lite/arm/portal/release1293 | http://www.codesourcery.com/sgpp/lite/arm/portal/release1293 | ||
Advanced Packages -> IA32 GNU/Linux TAR | Advanced Packages -> IA32 GNU/Linux TAR | ||
| + | This is a one time activity | ||
; 5. Export PATH to include toolchain path | ; 5. Export PATH to include toolchain path | ||
| - | export PATH=$PATH:/arm2010-q1/bin/ | + | export PATH=$PATH:<PATH to toolchain>/arm2010-q1/bin/ |
; 6. Clean the prebuilt kernel | ; 6. Clean the prebuilt kernel | ||
| Line 25: | Line 34: | ||
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap2plus_defconfig | make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap2plus_defconfig | ||
| - | ; 8. Build the kernel Image | + | ; 8. Set config options for DSS |
| + | [[DSS CONFIG options| DSS config]] | ||
| + | |||
| + | ; 9. Build the kernel Image | ||
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage | make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage | ||
| + | uImage would be created in arch/arm/boot/ directory | ||
| - | ; | + | ; 10. Build the kernel modules (optional) |
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules | make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules | ||
| + | Modules would be created in respective directories | ||
<hr> | <hr> | ||
[http://omappedia.org/wiki/Display_Drivers_Domain_Wiki BACK to Display Domain Wiki] | [http://omappedia.org/wiki/Display_Drivers_Domain_Wiki BACK to Display Domain Wiki] | ||
Latest revision as of 06:45, 4 May 2011
- Instructions
- 1. Clone the tree
git clone git://dev.omapzoom.org/pub/scm/axelcx/kernel-display.git
- 2. Checkout the lo-dss2 branch
git checkout -b "lo-dss2-local" origin/lo-dss2
it worked for me like this:
first got to kernel-display folder, then checkout with git.
also use the -f flag for the checkout:
git checkout -f -b "lo-dss2-local" origin/lo-dss2
- 3. Go to kernel-display folder
cd kernel-display
- 4. Required toolchain
You can download arm toolchain from http://www.codesourcery.com/sgpp/lite/arm/portal/release1293 Advanced Packages -> IA32 GNU/Linux TAR This is a one time activity
- 5. Export PATH to include toolchain path
export PATH=$PATH:<PATH to toolchain>/arm2010-q1/bin/
- 6. Clean the prebuilt kernel
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean
- 7. Set a configuration
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap2plus_defconfig
- 8. Set config options for DSS
DSS config
- 9. Build the kernel Image
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage uImage would be created in arch/arm/boot/ directory
- 10. Build the kernel modules (optional)
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules Modules would be created in respective directories