Skip to content

Commit 050f586

Browse files
committed
ev3dev-buster
main focus of development is now ev3dev-buster
1 parent fa16f9f commit 050f586

File tree

2 files changed

+12
-18
lines changed

2 files changed

+12
-18
lines changed

README.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ These are the scripts used to compile the ev3dev kernel. Originally it also
55
included scripts to bootstrap a root file system and create a disk image.
66
Those 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

1313
System 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

2928
Scripts
@@ -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

6261
3. 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

10195
Faster Builds and Custom Locations

setup-env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fi
5353
export EV3DEV_KERNEL_FLAVOR=${EV3DEV_KERNEL_FLAVOR-"ev3"}
5454
export EV3DEV_BUILD_AREA=${EV3DEV_BUILD_AREA-"$(pwd)/build-area"}
5555
export EV3DEV_MERGE_CMD=${EV3DEV_MERGE_CMD-"vimdiff \$file1 \$file2"}
56-
export EV3DEV_TOOLCHAIN=${EV3DEV_TOOLCHAIN-"/usr/lib/x86_64-linux-gnu/gcc-linaro-arm-linux-gnueabihf-6.4/bin"}
56+
export EV3DEV_TOOLCHAIN=${EV3DEV_TOOLCHAIN-"/usr/lib/x86_64-linux-gnu/gcc-arm-linux-gnueabihf-8.3/bin"}
5757
export EV3DEV_ABI=${EV3DEV_ABI-"arm-linux-gnueabihf-"}
5858

5959
if [ "$EV3DEV_KERNEL_FLAVOR" = "ev3" ]; then

0 commit comments

Comments
 (0)