Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/pine64/website
Browse files Browse the repository at this point in the history
  • Loading branch information
x1y committed Mar 30, 2024
2 parents 541813d + e2a0afa commit 1fc400b
Show file tree
Hide file tree
Showing 3 changed files with 321 additions and 158 deletions.
36 changes: 27 additions & 9 deletions content/documentation/Ox64/Software/Building.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,41 @@ menu:

Start the buinding process cloning both the upstream Buildroot repository and the Buildroot Bouffalo overlay repository:

mkdir -p ~/ox64
cd ~/ox64
git clone https://github.com/buildroot/buildroot
git clone https://github.com/openbouffalo/buildroot_bouffalo
[source,console]
----
$ mkdir -p ~/ox64
$ cd ~/ox64
$ git clone https://github.com/buildroot/buildroot
$ git clone https://github.com/openbouffalo/buildroot_bouffalo
----

Define an environment variable for the Buildroot Bouffalo overlay path:

export BR_BOUFFALO_OVERLAY_PATH=$(pwd)/buildroot_bouffalo
[source,console]
----
$ export BR_BOUFFALO_OVERLAY_PATH=$(pwd)/buildroot_bouffalo
----

Change directory into the cloned Buildroot folder:

cd ~/ox64/buildroot
[source,console]
----
$ cd ~/ox64/buildroot
----

Apply the default configuration for Pine64 Ox64:

make BR2_EXTERNAL=$BR_BOUFFALO_OVERLAY_PATH pine64_ox64_defconfig
[source,console]
----
$ make BR2_EXTERNAL=$BR_BOUFFALO_OVERLAY_PATH pine64_ox64_defconfig
----

Use the `menuconfig` tool to adjust the build settings:

make menuconfig
[source,console]
----
$ make menuconfig
----

Within `menuconfig`, configure the following:

Expand All @@ -44,6 +59,9 @@ Within `menuconfig`, configure the following:

Initiate the build process, but first make sure that your `PATH` variable contains no spaces:

make
[source,console]
----
$ make
----

Buildroot will output to the `~/ox64/buildroot/output/images` directory.
Loading

0 comments on commit 1fc400b

Please sign in to comment.