-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
48 lines (38 loc) · 1.63 KB
/
install.sh
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
38
39
40
41
42
43
44
45
46
47
48
sudo cp gitconfig ~/.gitconfig
cd /home/jagan/JSpace/code
sudo echo 'install apt-get'
sudo apt-get update && sudo apt-get upgrade && sudo apt-get update && sudo apt-get install minicom vim flex bison libsdl2-dev libssl-dev git-email exuberant-ctags
sudo echo 'copy SSH keys'
sudo chmod 600 ~/.ssh/id_rsa
sudo chmod 644 ~/.ssh/id_rsa.pub
sudo echo 'clone u-boot-spi'
sudo git clone git://git.denx.de/u-boot-spi.git
sudo cd u-boot-spi
sudo git remote add spi-write ssh://[email protected]/u-boot-spi.git
sudo git remote add tom git://git.denx.de/u-boot.git
sudo git remote add as ssh://[email protected]:7999/en/u-boot-engicam.git
sudo echo 'install buildman'
HOME=/home/jagan/JSpace/tools
sudo cp /home/jagan/JSpace/tools/buildman .buildman
./tools/buildman/buildman --list-tool-chains
./tools/buildman/buildman --fetch-arch
./tools/buildman/buildman --list-tool-chains
cd /home/jagan/JSpace/code
sudo echo 'install dtc'
sudo git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git
sudo cd dtc
sudo make
sudo mkdir /home/jagan/JSpace/tools/dtc
sudo make install PREFIX=/home/jagan/JSpace/tools/dtc
cd /home/jagan/JSpace/code
sudo echo 'clone u-boot-imx'
sudo git clone git://git.denx.de/u-boot-imx.git
sudo echo 'clone as'
ssh://[email protected]:7999/en/u-boot-engicam.git
sudo echo 'clone engicam'
sudo git clone https://github.com/engicam-stable/u-boot-eng-2016.07.git
sudo git clone https://github.com/engicam-stable/u-boot-eng-2015.git
sudo echo 'clone linux-next'
sudo git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
sudo echo 'clone l2-mtd'
sudo git clone git://git.infradead.org/l2-mtd.git