Ubuntu on Windows 10 linux sub system

Ubuntu Server 16.04


1. receive codes

mkdir ~/raspberrypi

cd ~/raspberrypi

git clone https://github.com/raspberrypi/tools

git clone https://github.com/raspberrypi/linux


2. modify ".bashrc"

append below code

export PATH=/home/[username]/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH


3. install gcc-arm-linux-gnueabihf

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

(on Ubuntu Server 16.04) sudo apt-get install bc


4. build

cd ~/raspberrypi/linux

KERNEL=kernel7

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs -j 3 # -j [core number]*1.5



'Linux > Ubuntu' 카테고리의 다른 글

Install cloud 9 ide on ubuntu 16.04  (0) 2016.08.26
system_dbus_socket : Connection refused  (0) 2011.10.27
Ubuntu Panel Theme 문제  (0) 2011.10.27

+ Recent posts