summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Strachan2018-10-16 17:24:16 -0500
committerAlistair Strachan2018-10-16 19:57:55 -0500
commit848da4f1318cc12619512f4e66c6b281155c5f8a (patch)
tree1cbf7c027d75626768954d55f8079ab41d2697d0 /uboot_config
parent351e67763631286964f41e000f6bfc95bbd3c49d (diff)
downloaddevice-ti-beagle-x15-848da4f1318cc12619512f4e66c6b281155c5f8a.tar.gz
device-ti-beagle-x15-848da4f1318cc12619512f4e66c6b281155c5f8a.tar.xz
device-ti-beagle-x15-848da4f1318cc12619512f4e66c6b281155c5f8a.zip
Build the x15 U-Boot binaries from source.
This change builds a config for U-Boot and then builds the MLO and u-boot.img files from the external/u-boot source tree. It uses symlinks to the host toolchain to preserve the Android build system's hermetic requirements. (The recommended configs were derived from the Things configs.) Bug: 110964307 Change-Id: I634c607ca5c07d24d46278aaf8215c70bc2e6aa0 Signed-off-by: Alistair Strachan <astrachan@google.com>
Diffstat (limited to 'uboot_config')
-rw-r--r--uboot_config/common.config38
-rw-r--r--uboot_config/recommended.config24
2 files changed, 62 insertions, 0 deletions
diff --git a/uboot_config/common.config b/uboot_config/common.config
new file mode 100644
index 0000000..60a2626
--- /dev/null
+++ b/uboot_config/common.config
@@ -0,0 +1,38 @@
1#
2# Copyright (C) 2016 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17#
18# The following are the U-Boot configurations that are required for all builds.
19# These cannot be overridden in the board.
20#
21
22CONFIG_AUTOBOOT=y
23
24# Add support for Android Images.
25CONFIG_ANDROID_BOOT_IMAGE=y
26CONFIG_CMD_LOAD_ANDROID=y
27
28# Support for Android Bootloader is required.
29CONFIG_ANDROID_BOOTLOADER=y
30CONFIG_CMD_BOOT_ANDROID=y
31
32# Support for selecting the A/B slot.
33CONFIG_ANDROID_AB=y
34CONFIG_CMD_ANDROID_AB_SELECT=y
35
36# Fastboot and Android image support should be enabled.
37CONFIG_FASTBOOT=y
38CONFIG_CMD_FASTBOOT=y
diff --git a/uboot_config/recommended.config b/uboot_config/recommended.config
new file mode 100644
index 0000000..e5626bc
--- /dev/null
+++ b/uboot_config/recommended.config
@@ -0,0 +1,24 @@
1#
2# Copyright (C) 2016 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17#
18# The following are the U-Boot configurations that are recommended (though not
19# strictly required) for all builds. These can be overridden by setting
20# TARGET_UBOOT_CONFIGS.
21#
22
23# Disable most other ways of booting by default.
24# CONFIG_NET is not set