Git Product home page Git Product logo

trungkstn / linux-artik Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gudbooy/linux-artik

0.0 3.0 0.0 1010.13 MB

Linux kernel for artik5, artik10(branch: artik-exynos/v3.10.x), artik710(branch: A710/v4.4), artik530(branch: A530/v4.4)

Home Page: https://artik.io

License: Other

Makefile 0.27% C 95.20% Assembly 1.88% C++ 1.72% Objective-C 0.78% Shell 0.03% Awk 0.01% Python 0.01% GDB 0.01% Perl 0.05% Yacc 0.02% Lex 0.01% M4 0.01% Roff 0.01% UnrealScript 0.01% Prolog 0.02% Scilab 0.01% ASP 0.01%

linux-artik's Introduction

Linux Kernel for ARTIK5 and ARTIK10

Contents

  1. Introduction
  2. Build guide
  3. Update guide

1. Introduction

This 'linux-artik' repository is linux kernel source for artik5(artik520) and artik10(artik1020). The base kernel version of artik is linux-3.10.93 and based on Samsung Exynos kernel.


2. Build guide

2.1 Install cross compiler

sudo apt-get install gcc-arm-linux-gnueabihf

If you can't install the above toolchain, you can use linaro toolchain.

wget http://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/arm-linux-gnueabihf/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz
tar xf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz
export PATH=~/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH

You can the path permernently through adding it into ~/.bashrc

2.2 Install android-fs-tools

To generate modules.img which contains kernel modules, you can use the make_ext4fs.

sudo apt-get install android-tools-fsutils

2.2 Build the kernel

  • For artik5>
make ARCH=arm artik5_defconfig

If you want to change kernel configurations,

make ARCH=arm menuconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- exynos3250-artik5.dtb
./scripts/mk_modules.sh
  • For artik10>
make ARCH=arm artik10_defconfig

If you want to change kernel configurations,

make ARCH=arm menuconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- exynos5422-artik10.dtb
./scripts/mk_modules.sh

3. Update Guide

Copy compiled binaries(zImage, dtb and modules.img) into your board.

scp arch/arm/boot/zImage root@{YOUR_BOARD_IP}:/root
scp arch/arm/boot/dts/*.dtb root@{YOUR_BOARD_IP}:/root
scp usr/modules.img root@{YOUR_BOARD_IP}:/root
  • On your board
cp /root/zImage /boot
cp /root/*.dtb /boot
dd if=/root/modules.img of=/dev/mmcblk0p2
sync
reboot

linux-artik's People

Contributors

torvalds avatar tiwai avatar davem330 avatar broonie avatar gregkh avatar htejun avatar pmundt avatar kaga-koko avatar bzolnier avatar adrianbunk avatar ralfbaechle avatar joeperches avatar axellin avatar arndb avatar jmberg-intel avatar rddunlap avatar kaber avatar jmberg avatar hverkuil avatar dhowells avatar ozbenh avatar neilbrown avatar ebiederm avatar acmel avatar rjwysocki avatar heicarst avatar avikivity avatar alanstern avatar ickle avatar herbertx avatar

Watchers

James Cloos avatar TrungTq avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.