Building display feature kernel
From OMAPpedia
(Difference between revisions)
| Line 26: | Line 26: | ||
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 | 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 | Modules would be created in respective directories | ||
Revision as of 10:19, 26 April 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
- 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