Difference between revisions of "Talk:Step-by-step Native Compiling a Kernel"
From odroid US
Line 6: | Line 6: | ||
Here is a forum link to kernel building: | Here is a forum link to kernel building: | ||
[http://odroid.foros-phpbb.com/t2216-video-capture#16851] | [http://odroid.foros-phpbb.com/t2216-video-capture#16851] | ||
+ | |||
+ | |||
+ | <pre> | ||
+ | |||
+ | git clone --depth 1 git://github.com/hardkernel/linux.git -b odroid-3.0.y kernel-source | ||
+ | cd kernel-source | ||
+ | |||
+ | make odroidu2_ubuntu_mali_defconfig <- if you want to have 3D enabled | ||
+ | or | ||
+ | make odroidu2_ubuntu_defconfig <- if you don't care about 3D | ||
+ | |||
+ | make menuconfig | ||
+ | |||
+ | go around on the menus, searching for l2tp or things that are used on the IPSeC to add it. When you done.. | ||
+ | |||
+ | |||
+ | make -j5 zImage modules | ||
+ | make modules_install | ||
+ | cp arch/arch/boot/zImage /media/boot | ||
+ | |||
+ | sync && reboot | ||
+ | |||
+ | enjoy | ||
+ | </pre> |
Revision as of 14:45, 14 February 2013
- note a 'large' initrd is created. Probably a feature-bloated busybox
Here is a forum link to kernel building:
[1]
git clone --depth 1 git://github.com/hardkernel/linux.git -b odroid-3.0.y kernel-source cd kernel-source make odroidu2_ubuntu_mali_defconfig <- if you want to have 3D enabled or make odroidu2_ubuntu_defconfig <- if you don't care about 3D make menuconfig go around on the menus, searching for l2tp or things that are used on the IPSeC to add it. When you done.. make -j5 zImage modules make modules_install cp arch/arch/boot/zImage /media/boot sync && reboot enjoy