aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: f4b60f1611c79cfdb470b7f7358d91c03b089fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# setup symlinks
$ ./install.sh

# Supported HWs today:

 - hikey
 - am57xx-evm

# pre-req clone linux kernel.
example:
$ mkdir kernel/
$ git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
$ cd linux
$ git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
$ git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
$ git remote update
$ cd ..
$ git-new-workdir linux stable-4.14
$ cd stable-4.14
$ git checkout -b linux-4.14.y stable/linux-4.14.y

# Building with build-kernel
example:

$ cd <path>/kernel/linux-4.14
$ build-kernel -k linux-stable-4.14 -m hikey

find the name from the k flag here:
http://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/
the m flag are from:
http://snapshots.linaro.org/openembedded/lkft/morty/

# Deploy with deploy-kernel
example:

$ cd <path>/kernel
$ deploy-kernel -i <ip> -m hikey