@@ -5,10 +5,10 @@ These are the scripts used to compile the ev3dev kernel. Originally it also
55included scripts to bootstrap a root file system and create a disk image.
66Those scripts have evolved into the [ brickstrap] package.
77
8- ** NOTE:** The instructions below are for ev3dev-stretch . If you want to build
9- a kernel for ev3dev-jessie , please use the [ ev3dev-jessie branch] .
8+ ** NOTE:** The instructions below are for ev3dev-buster . If you want to build
9+ a kernel for ev3dev-stretch , please use the [ ev3dev-stretch branch] .
1010
11- [ ev3dev-jessie branch ] : https://github.com/ev3dev/ev3dev-buildscripts/tree/ev3dev-jessie
11+ [ ev3dev-stretch branch ] : https://github.com/ev3dev/ev3dev-buildscripts/tree/ev3dev-stretch
1212
1313System Requirements
1414-------------------
@@ -22,8 +22,7 @@ System Requirements
2222 sudo apt-get update
2323 # then install required packages
2424 sudo apt-get install git build-essential ncurses-dev fakeroot bc \
25- u-boot-tools lzop flex bison libssl-dev \
26- gcc-linaro-arm-linux-gnueabihf-6.4
25+ u-boot-tools lzop flex bison libssl-dev gcc-arm-linux-gnueabihf-8.3
2726
2827
2928Scripts
@@ -56,7 +55,7 @@ First time kernel build
5655 ~/work $ git clone git://github.com/ev3dev/ev3dev-buildscripts
5756 ~/work $ git clone --recursive --depth 150 git://github.com/ev3dev/ev3-kernel
5857 ~/work $ cd ev3-kernel/drivers/lego
59- ~/work/ev3-kernel/drivers/lego $ git pull origin ev3dev-stretch
58+ ~/work/ev3-kernel/drivers/lego $ git pull origin ev3dev-buster
6059 ~/work/ev3-kernel/drivers/lego $ cd -
6160
62613 . Change to the ` ev3dev-buildscripts ` directory and have a look around.
@@ -85,17 +84,12 @@ First time kernel build
8584 # BeagleBoard
8685 EV3DEV_KERNEL_FLAVOR=bb.org ./build-kernel
8786
88- 6 . That's it! The uImage and kernel modules you just built are saved in
89- ` ./build-area ` . You just need to copy the files to your
90- already formatted SD card. For an easier way of getting the kernel on
91- your EV3, see [ Sharing Your Kernel] ( #sharing-your-kernel ) . Starting with
92- ev3dev-stretch images dated 2018-05 or later, the uImage file is no longer
93- used. Create a Debian package as described in the * Sharing Your Kernel*
94- section.
95-
96- ~/work/ev3dev-buildscripts $ cd ./build-area/linux-ev3dev-ev3-dist
97- ~/work/ev3dev-buildscripts/build-area/linux-ev3dev-ev3-dist $ cp uImage <path-to-boot-partition>/uImage
98- ~/work/ev3dev-buildscripts/build-area/linux-ev3dev-ev3-dist $ sudo cp -r lib/ <path-to-file-system-partition>
87+ 6 . That's it!
88+
89+ TODO: add instructions on how to modify uEnv.txt to use uImage file.
90+
91+ For now, see [ Sharing Your Kernel] ( #sharing-your-kernel ) for how to create
92+ a debian package to install the kernel you just built.
9993
10094
10195Faster Builds and Custom Locations
0 commit comments