Building kernel – IBASE IB113 User Manual

Page 35

Advertising
background image

Copyright © 2013 IBASE Technology Inc. All Rights Reserved.

35

IBASE Technology Inc.

4.1.4. Building kernel

# kernel source file is “IB113bsp_kernel_uboot_src_XXXXXX.tar.xz”, XXXXXX is release date,
assume kernel source file is in /root/Downloads/ folder:

cd ~/IB113_BSP/linux/

tar Jxf ~/Downloads/IB113bsp_linux_kernel_src_141105.tar.xz

cd linux-3.0.35/

./mx.sh ib113_defconfig;./mx.sh

./mx.sh modules_install

root@u1004x64:~#

cd ~/IB113_BSP/linux

root@u1004x64:~/IB113_BSP/linux#

tar Jxf ~/Downloads/IB113bsp_linux_kernel_src_141105.tar.xz

root@u1004x64:~/IB113_BSP/linux#

cd linux-3.0.35

root@u1004x64:~/IB113_BSP/linux/linux-3.0.35#

./mx.sh ib113_defconfig;./mx.sh

….

image size 7MiB

7+0 records in

7+0 records out

7340032 bytes (7.3 MB) copied, 0.00890854 s, 824 MB/s

13028+0 records in

13028+0 records out

6670336 bytes (6.7 MB) copied, 0.160881 s, 41.5 MB/s

root@u1004x64:~/IB113_BSP/linux/linux-3.0.35#

./mx.sh modules_install

DEPMOD 3.0.35

Warning: you may need to install module-init-tools

See

http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt

root@u1004x64:~/IB113_BSP/linux/linux-3.0.35#

** If the building process is successful, zImage file will be generated under arch/arm/boot
directory. **

** kernel module files are installed at ~/IB113_BSP/linux/rootfs/ **

Advertising