mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-24 13:36:31 +00:00
Update buildroot & docker (#25)
* Update docker & buildroot * Fix * fix versions
This commit is contained in:
parent
7db3226a8e
commit
b13086072c
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -1,3 +0,0 @@
|
||||
# Ensure Docker script files uses LF to support Docker for Windows.
|
||||
# Ensure "git config --global core.autocrlf input" before you clone
|
||||
* text eol=lf
|
@ -23,8 +23,8 @@ BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel.config $(BR2_EXTERNAL_HASSOS_PATH)/board/ova/kernel.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_HASSOS_PATH)/busybox.config"
|
||||
BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES=y
|
||||
BR2_PACKAGE_JQ=y
|
||||
@ -45,6 +45,7 @@ BR2_PACKAGE_DROPBEAR=y
|
||||
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
|
||||
BR2_PACKAGE_NETWORK_MANAGER=y
|
||||
BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER=y
|
||||
BR2_PACKAGE_TINI=y
|
||||
BR2_PACKAGE_DOCKER_ENGINE=y
|
||||
BR2_PACKAGE_OPENVMTOOLS=y
|
||||
BR2_PACKAGE_RAUC=y
|
||||
|
@ -28,8 +28,8 @@ BR2_LINUX_KERNEL_LZ4=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2709-rpi-2-b"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_HASSOS_PATH)/busybox.config"
|
||||
BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES=y
|
||||
BR2_PACKAGE_JQ=y
|
||||
@ -52,6 +52,7 @@ BR2_PACKAGE_DROPBEAR=y
|
||||
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
|
||||
BR2_PACKAGE_NETWORK_MANAGER=y
|
||||
BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER=y
|
||||
BR2_PACKAGE_TINI=y
|
||||
BR2_PACKAGE_DOCKER_ENGINE=y
|
||||
BR2_PACKAGE_RAUC=y
|
||||
BR2_PACKAGE_RAUC_NETWORK=y
|
||||
|
@ -1,37 +0,0 @@
|
||||
From 5d912b53f76ac2c994ab2376f8a366944b4b2f87 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Stewart <christian@paral.in>
|
||||
Date: Mon, 19 Feb 2018 02:24:01 -0500
|
||||
Subject: [PATCH] go: bump to 1.10
|
||||
|
||||
This commit bumps the Go programming language to the 1.10 release.
|
||||
|
||||
Signed-off-by: Christian Stewart <christian@paral.in>
|
||||
---
|
||||
package/go/go.hash | 2 +-
|
||||
package/go/go.mk | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/go/go.hash b/package/go/go.hash
|
||||
index 445a0b7..73c1578 100644
|
||||
--- a/package/go/go.hash
|
||||
+++ b/package/go/go.hash
|
||||
@@ -1,2 +1,2 @@
|
||||
# From https://golang.org/dl/
|
||||
-sha256 a4ab229028ed167ba1986825751463605264e44868362ca8e7accc8be057e993 go1.9.src.tar.gz
|
||||
+sha256 f3de49289405fda5fd1483a8fe6bd2fa5469e005fd567df64485c4fa000c7f24 go1.10.src.tar.gz
|
||||
diff --git a/package/go/go.mk b/package/go/go.mk
|
||||
index 23facbd..4d55e16 100644
|
||||
--- a/package/go/go.mk
|
||||
+++ b/package/go/go.mk
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-GO_VERSION = 1.9
|
||||
+GO_VERSION = 1.10
|
||||
GO_SITE = https://storage.googleapis.com/golang
|
||||
GO_SOURCE = go$(GO_VERSION).src.tar.gz
|
||||
|
||||
--
|
||||
2.9.0.windows.1
|
||||
|
@ -14,7 +14,7 @@ Signed-off-by: Christian Stewart <christian@paral.in>
|
||||
|
||||
Changes since v2:
|
||||
|
||||
- Upgraded to v0.17.0
|
||||
- Upgraded to v0.18.0
|
||||
- Added hash for license file
|
||||
---
|
||||
package/Config.in | 1 +
|
||||
@ -67,7 +67,7 @@ index 0000000..c4f85c4
|
||||
+++ b/package/tini/tini.hash
|
||||
@@ -0,0 +1,3 @@
|
||||
+# Locally computed
|
||||
+sha256 5244691718f6856db74dcf6dbb3576a901e737f41412e7895747f0ccb4ccaff0 tini-v0.17.0.tar.gz
|
||||
+sha256 1097675352d6317b547e73f9dc7c6839fd0bb0d96dafc2e5c95506bb324049a2 tini-v0.18.0.tar.gz
|
||||
+sha256 e5f46bca81266bdd511cf08018d66866870531794569c04f9b45f50dd23c28b0 LICENSE
|
||||
diff --git a/package/tini/tini.mk b/package/tini/tini.mk
|
||||
new file mode 100644
|
||||
@ -81,7 +81,7 @@ index 0000000..9f9d986
|
||||
+#
|
||||
+################################################################################
|
||||
+
|
||||
+TINI_VERSION = v0.17.0
|
||||
+TINI_VERSION = v0.18.0
|
||||
+TINI_SITE = $(call github,krallin,tini,$(TINI_VERSION))
|
||||
+
|
||||
+TINI_LICENSE = MIT
|
@ -0,0 +1,54 @@
|
||||
From 534557f34b9ab95fb38fc2cd0fe04829264ee653 Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 28 May 2018 12:40:28 +0000
|
||||
Subject: [PATCH 1/1] docker-containerd: bump to v1.1.0
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/docker-containerd/docker-containerd.hash | 2 +-
|
||||
package/docker-containerd/docker-containerd.mk | 13 +++++--------
|
||||
2 files changed, 6 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/package/docker-containerd/docker-containerd.hash b/package/docker-containerd/docker-containerd.hash
|
||||
index 992eb5b01a..257c607841 100644
|
||||
--- a/package/docker-containerd/docker-containerd.hash
|
||||
+++ b/package/docker-containerd/docker-containerd.hash
|
||||
@@ -1,2 +1,2 @@
|
||||
# Computed locally
|
||||
-sha256 da89086a7c643702a2ddecec67a45d3d8e4b0d610dd19036be63e6bd54cc1a85 docker-containerd-9048e5e50717ea4497b757314bad98ea3763c145.tar.gz
|
||||
+sha256 08f057ece7e518b14cce2e9737228a5a899a7b58b78248a03e02f4a6c079eeaf docker-containerd-v1.1.0.tar.gz
|
||||
diff --git a/package/docker-containerd/docker-containerd.mk b/package/docker-containerd/docker-containerd.mk
|
||||
index 88e27b5ed4..49c3d8ec0d 100644
|
||||
--- a/package/docker-containerd/docker-containerd.mk
|
||||
+++ b/package/docker-containerd/docker-containerd.mk
|
||||
@@ -4,22 +4,19 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-DOCKER_CONTAINERD_VERSION = 9048e5e50717ea4497b757314bad98ea3763c145
|
||||
-DOCKER_CONTAINERD_SITE = $(call github,docker,containerd,$(DOCKER_CONTAINERD_VERSION))
|
||||
+DOCKER_CONTAINERD_VERSION = v1.1.0
|
||||
+DOCKER_CONTAINERD_SITE = $(call github,containerd,containerd,$(DOCKER_CONTAINERD_VERSION))
|
||||
DOCKER_CONTAINERD_LICENSE = Apache-2.0
|
||||
DOCKER_CONTAINERD_LICENSE_FILES = LICENSE.code
|
||||
|
||||
-DOCKER_CONTAINERD_WORKSPACE = vendor
|
||||
-
|
||||
-DOCKER_CONTAINERD_LDFLAGS = \
|
||||
- -X github.com/docker/containerd.GitCommit=$(DOCKER_CONTAINERD_VERSION)
|
||||
-
|
||||
-DOCKER_CONTAINERD_BUILD_TARGETS = ctr containerd containerd-shim
|
||||
+DOCKER_CONTAINERD_BUILD_TARGETS = cmd/ctr cmd/containerd cmd/containerd-shim
|
||||
+DOCKER_CONTAINERD_TAGS = apparmor no_btrfs
|
||||
|
||||
DOCKER_CONTAINERD_INSTALL_BINS = containerd containerd-shim
|
||||
|
||||
define DOCKER_CONTAINERD_INSTALL_SYMLINKS
|
||||
ln -fs runc $(TARGET_DIR)/usr/bin/docker-runc
|
||||
+ ln -fs containerd $(TARGET_DIR)/usr/bin/docker-containerd
|
||||
ln -fs containerd-shim $(TARGET_DIR)/usr/bin/docker-containerd-shim
|
||||
endef
|
||||
|
||||
--
|
||||
2.17.0
|
||||
|
@ -1,123 +0,0 @@
|
||||
From 32bad70efcef45070b301cf0797e3b8491439396 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Stewart <christian@paral.in>
|
||||
Date: Wed, 20 Sep 2017 03:10:56 +0100
|
||||
Subject: [PATCH] docker-containerd: bump to v1.0.2
|
||||
|
||||
This commit bumps docker-containerd to v1.0.2.
|
||||
|
||||
This is a requisite bump for the upgrade of docker-engine to v17.12.1-ce-rc1.
|
||||
|
||||
This patch also enables seccomp in containerd if the target system uses it.
|
||||
|
||||
Signed-off-by: Christian Stewart <christian@paral.in>
|
||||
---
|
||||
package/docker-containerd/Config.in | 12 ++++++++
|
||||
package/docker-containerd/docker-containerd.hash | 2 +-
|
||||
package/docker-containerd/docker-containerd.mk | 38 ++++++++++++++++++------
|
||||
3 files changed, 42 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/package/docker-containerd/Config.in b/package/docker-containerd/Config.in
|
||||
index 2f7bf71..851345f 100644
|
||||
--- a/package/docker-containerd/Config.in
|
||||
+++ b/package/docker-containerd/Config.in
|
||||
@@ -15,6 +15,18 @@ config BR2_PACKAGE_DOCKER_CONTAINERD
|
||||
|
||||
https://github.com/docker/containerd
|
||||
|
||||
+if BR2_PACKAGE_DOCKER_CONTAINERD
|
||||
+
|
||||
+config BR2_PACKAGE_DOCKER_CONTAINERD_DRIVER_BTRFS
|
||||
+ bool "btrfs snapshot driver"
|
||||
+ depends on BR2_USE_MMU # btrfs-progs
|
||||
+ depends on BR2_TOOLCHAIN_HAS_THREADS # btrfs-progs
|
||||
+ select BR2_PACKAGE_BTRFS_PROGS
|
||||
+ help
|
||||
+ Build the btrfs snapshot driver for containerd.
|
||||
+
|
||||
+endif
|
||||
+
|
||||
comment "docker-containerd needs a toolchain w/ threads"
|
||||
depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
|
||||
diff --git a/package/docker-containerd/docker-containerd.hash b/package/docker-containerd/docker-containerd.hash
|
||||
index 992eb5b..bc67fe5 100644
|
||||
--- a/package/docker-containerd/docker-containerd.hash
|
||||
+++ b/package/docker-containerd/docker-containerd.hash
|
||||
@@ -1,2 +1,2 @@
|
||||
# Computed locally
|
||||
-sha256 da89086a7c643702a2ddecec67a45d3d8e4b0d610dd19036be63e6bd54cc1a85 docker-containerd-9048e5e50717ea4497b757314bad98ea3763c145.tar.gz
|
||||
+sha256 a31a12846a7a2f697f8fdd82cedd1626fc5f6345e59ae880664196c73e4c2226 docker-containerd-v1.0.2.tar.gz
|
||||
diff --git a/package/docker-containerd/docker-containerd.mk b/package/docker-containerd/docker-containerd.mk
|
||||
index ffbadb0..230307d 100644
|
||||
--- a/package/docker-containerd/docker-containerd.mk
|
||||
+++ b/package/docker-containerd/docker-containerd.mk
|
||||
@@ -4,37 +4,57 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-DOCKER_CONTAINERD_VERSION = 9048e5e50717ea4497b757314bad98ea3763c145
|
||||
-DOCKER_CONTAINERD_SITE = $(call github,docker,containerd,$(DOCKER_CONTAINERD_VERSION))
|
||||
+DOCKER_CONTAINERD_VERSION = v1.0.2
|
||||
+DOCKER_CONTAINERD_COMMIT = cfd04396dc68220d1cecbe686a6cc3aa5ce3667c
|
||||
+DOCKER_CONTAINERD_SITE = $(call github,containerd,containerd,$(DOCKER_CONTAINERD_VERSION))
|
||||
DOCKER_CONTAINERD_LICENSE = Apache-2.0
|
||||
DOCKER_CONTAINERD_LICENSE_FILES = LICENSE.code
|
||||
|
||||
DOCKER_CONTAINERD_DEPENDENCIES = host-go
|
||||
|
||||
-DOCKER_CONTAINERD_GOPATH = "$(@D)/vendor"
|
||||
+DOCKER_CONTAINERD_GOPATH = "$(@D)/gopath"
|
||||
DOCKER_CONTAINERD_MAKE_ENV = $(HOST_GO_TARGET_ENV) \
|
||||
CGO_ENABLED=1 \
|
||||
GOBIN="$(@D)/bin" \
|
||||
GOPATH="$(DOCKER_CONTAINERD_GOPATH)"
|
||||
|
||||
DOCKER_CONTAINERD_GLDFLAGS = \
|
||||
- -X github.com/docker/containerd.GitCommit=$(DOCKER_CONTAINERD_VERSION)
|
||||
+ -X github.com/containerd/containerd.GitCommit=$(DOCKER_CONTAINERD_COMMIT)
|
||||
+
|
||||
+ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
+DOCKER_CONTAINERD_BUILD_TAGS += seccomp
|
||||
+DOCKER_CONTAINERD_DEPENDENCIES += libseccomp
|
||||
+endif
|
||||
+
|
||||
+ifeq ($(BR2_PACKAGE_DOCKER_CONTAINERD_DRIVER_BTRFS),y)
|
||||
+DOCKER_CONTAINERD_DEPENDENCIES += btrfs-progs
|
||||
+else
|
||||
+DOCKER_CONTAINERD_BUILD_TAGS += no_btrfs
|
||||
+endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
-DOCKER_CONTAINERD_GLDFLAGS += -extldflags '-static'
|
||||
+DOCKER_CONTAINERD_GLDFLAGS += -extldflags '-static -fno-PIC'
|
||||
+DOCKER_CONTAINERD_BUILD_TAGS += static_build
|
||||
+DOCKER_CONTAINERD_BUILD_FLAGS += -buildmode pie
|
||||
endif
|
||||
|
||||
define DOCKER_CONTAINERD_CONFIGURE_CMDS
|
||||
- mkdir -p $(DOCKER_CONTAINERD_GOPATH)/src/github.com/docker
|
||||
- ln -s $(@D) $(DOCKER_CONTAINERD_GOPATH)/src/github.com/docker/containerd
|
||||
+ mkdir -p $(DOCKER_CONTAINERD_GOPATH)/src/github.com/containerd
|
||||
+ ln -s $(@D) $(DOCKER_CONTAINERD_GOPATH)/src/github.com/containerd/containerd
|
||||
mkdir -p $(DOCKER_CONTAINERD_GOPATH)/src/github.com/opencontainers
|
||||
ln -s $(RUNC_SRCDIR) $(DOCKER_CONTAINERD_GOPATH)/src/github.com/opencontainers/runc
|
||||
endef
|
||||
|
||||
define DOCKER_CONTAINERD_BUILD_CMDS
|
||||
$(foreach d,ctr containerd containerd-shim,\
|
||||
- cd $(@D); $(DOCKER_CONTAINERD_MAKE_ENV) $(HOST_DIR)/bin/go build \
|
||||
- -v -o $(@D)/bin/$(d) -ldflags "$(DOCKER_CONTAINERD_GLDFLAGS)" ./$(d)$(sep))
|
||||
+ cd $(DOCKER_CONTAINERD_GOPATH)/src/github.com/containerd/containerd; \
|
||||
+ $(DOCKER_CONTAINERD_MAKE_ENV) $(HOST_DIR)/bin/go build \
|
||||
+ -v -i -o $(@D)/bin/$(d) \
|
||||
+ -tags "$(DOCKER_CONTAINERD_BUILD_TAGS)" \
|
||||
+ -ldflags "$(DOCKER_CONTAINERD_GLDFLAGS)" \
|
||||
+ $(DOCKER_CONTAINERD_BUILD_FLAGS) \
|
||||
+ ./cmd/$(d)$(sep)
|
||||
+ )
|
||||
endef
|
||||
|
||||
define DOCKER_CONTAINERD_INSTALL_TARGET_CMDS
|
||||
--
|
||||
2.9.0.windows.1
|
||||
|
45
buildroot-patches/0003-runc-bump-to-1.0-rc5.patch
Normal file
45
buildroot-patches/0003-runc-bump-to-1.0-rc5.patch
Normal file
@ -0,0 +1,45 @@
|
||||
From dd1fe57cbdb9b7f67eb786f62fd165e332f69d99 Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Sun, 27 May 2018 19:52:05 +0000
|
||||
Subject: [PATCH 1/1] runc: bump to 1.0-rc5
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/runc/runc.hash | 2 +-
|
||||
package/runc/runc.mk | 6 ++----
|
||||
2 files changed, 3 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/package/runc/runc.hash b/package/runc/runc.hash
|
||||
index 3e188c5c79..26fdd9727b 100644
|
||||
--- a/package/runc/runc.hash
|
||||
+++ b/package/runc/runc.hash
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
-sha256 b5c50d7d9a5f610d5424f96196efa306ec708fd9299302dd919545099c16b7c1 runc-9c2d8d184e5da67c95d601382adf14862e4f2228.tar.gz
|
||||
+sha256 770e180d1cca1f3c1a67512ebf9720caafe97af4fc2fe12fa43a3cf7bfa77522 runc-v1.0.0-rc5.tar.gz
|
||||
diff --git a/package/runc/runc.mk b/package/runc/runc.mk
|
||||
index f1586f32b2..aa23fce3b0 100644
|
||||
--- a/package/runc/runc.mk
|
||||
+++ b/package/runc/runc.mk
|
||||
@@ -4,16 +4,14 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-RUNC_VERSION = 9c2d8d184e5da67c95d601382adf14862e4f2228
|
||||
+RUNC_VERSION = v1.0.0-rc5
|
||||
RUNC_SITE = $(call github,opencontainers,runc,$(RUNC_VERSION))
|
||||
RUNC_LICENSE = Apache-2.0
|
||||
RUNC_LICENSE_FILES = LICENSE
|
||||
|
||||
RUNC_WORKSPACE = Godeps/_workspace
|
||||
|
||||
-RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION)
|
||||
-
|
||||
-RUNC_TAGS = cgo static_build
|
||||
+RUNC_TAGS = cgo static_build apparmor
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
RUNC_TAGS += seccomp
|
||||
--
|
||||
2.17.0
|
||||
|
123
buildroot-patches/0004-docker-engine-bump-to-v18.03.1-ce.patch
Normal file
123
buildroot-patches/0004-docker-engine-bump-to-v18.03.1-ce.patch
Normal file
@ -0,0 +1,123 @@
|
||||
From 506db3cdb825a3bbc67939ce0bf5e72c959ac42e Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 28 May 2018 12:48:37 +0000
|
||||
Subject: [PATCH 1/1] docker-engine: bump to v18.03.1-ce
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/docker-engine/docker-engine.hash | 2 +-
|
||||
package/docker-engine/docker-engine.mk | 46 +++++++++++++++++-------
|
||||
2 files changed, 34 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash
|
||||
index 6c0ed338a5..19c6c73122 100644
|
||||
--- a/package/docker-engine/docker-engine.hash
|
||||
+++ b/package/docker-engine/docker-engine.hash
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
-sha256 4716df117d867b82ddab2e82395cd40aa3d0925a689eedcec8919729e4c9f121 docker-engine-v17.05.0-ce.tar.gz
|
||||
+sha256 b05f3709844c45d49922914cf6eb71d4131d0bd5389361376ff6a86aa186f4a0 docker-engine-v18.03.1-ce.tar.gz
|
||||
diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk
|
||||
index ba84b4cf0a..12c8ad5a61 100644
|
||||
--- a/package/docker-engine/docker-engine.mk
|
||||
+++ b/package/docker-engine/docker-engine.mk
|
||||
@@ -4,9 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-DOCKER_ENGINE_VERSION = v17.05.0-ce
|
||||
-DOCKER_ENGINE_COMMIT = 89658bed64c2a8fe05a978e5b87dbec409d57a0f
|
||||
-DOCKER_ENGINE_SITE = $(call github,docker,docker,$(DOCKER_ENGINE_VERSION))
|
||||
+DOCKER_ENGINE_VERSION = v18.03.1-ce
|
||||
+DOCKER_ENGINE_SITE = $(call github,docker,docker-ce,$(DOCKER_ENGINE_VERSION))
|
||||
|
||||
DOCKER_ENGINE_LICENSE = Apache-2.0
|
||||
DOCKER_ENGINE_LICENSE_FILES = LICENSE
|
||||
@@ -15,14 +14,16 @@ DOCKER_ENGINE_DEPENDENCIES = host-go host-pkgconf
|
||||
|
||||
DOCKER_ENGINE_LDFLAGS = \
|
||||
-X main.GitCommit=$(DOCKER_ENGINE_VERSION) \
|
||||
- -X main.Version=$(DOCKER_ENGINE_VERSION)
|
||||
+ -X main.Version=$(DOCKER_ENGINE_VERSION) \
|
||||
+ -X github.com/docker/cli/cli.GitCommit=$(DOCKER_ENGINE_VERSION) \
|
||||
+ -X github.com/docker/cli/cli.Version=$(DOCKER_ENGINE_VERSION)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT),y)
|
||||
DOCKER_ENGINE_LDFLAGS += -extldflags '-static'
|
||||
endif
|
||||
|
||||
-DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs autogen
|
||||
-DOCKER_ENGINE_BUILD_TARGETS = cmd/docker
|
||||
+DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs autogen apparmor
|
||||
+DOCKER_ENGINE_BUILD_TARGETS = docker
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
DOCKER_ENGINE_TAGS += seccomp
|
||||
@@ -36,7 +37,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DAEMON),y)
|
||||
DOCKER_ENGINE_TAGS += daemon
|
||||
-DOCKER_ENGINE_BUILD_TARGETS += cmd/dockerd
|
||||
+DOCKER_ENGINE_BUILD_TARGETS += dockerd
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL),y)
|
||||
@@ -61,25 +62,26 @@ else
|
||||
DOCKER_ENGINE_TAGS += exclude_graphdriver_vfs
|
||||
endif
|
||||
|
||||
-DOCKER_ENGINE_INSTALL_BINS = $(notdir $(DOCKER_ENGINE_BUILD_TARGETS))
|
||||
-
|
||||
define DOCKER_ENGINE_RUN_AUTOGEN
|
||||
- cd $(@D) && \
|
||||
- GITCOMMIT="$$(echo $(DOCKER_ENGINE_COMMIT) | head -c7)" \
|
||||
+ ln -fs $(@D)/components/engine $(@D)/_gopath/src/github.com/docker/docker
|
||||
+ ln -fs $(@D)/components/cli $(@D)/_gopath/src/github.com/docker/cli
|
||||
+ cd $(@D)/components/engine && \
|
||||
BUILDTIME="$$(date)" \
|
||||
+ IAMSTATIC="true" \
|
||||
VERSION="$(patsubst v%,%,$(DOCKER_ENGINE_VERSION))" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" $(TARGET_MAKE_ENV) \
|
||||
bash ./hack/make/.go-autogen
|
||||
endef
|
||||
|
||||
DOCKER_ENGINE_POST_CONFIGURE_HOOKS += DOCKER_ENGINE_RUN_AUTOGEN
|
||||
+DOCKER_ENGINE_INSTALL_BINS = $(notdir $(DOCKER_ENGINE_BUILD_TARGETS))
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DAEMON),y)
|
||||
|
||||
define DOCKER_ENGINE_INSTALL_INIT_SYSTEMD
|
||||
- $(INSTALL) -D -m 0644 $(@D)/contrib/init/systemd/docker.service \
|
||||
+ $(INSTALL) -D -m 0644 $(@D)/components/engine/contrib/init/systemd/docker.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/docker.service
|
||||
- $(INSTALL) -D -m 0644 $(@D)/contrib/init/systemd/docker.socket \
|
||||
+ $(INSTALL) -D -m 0644 $(@D)/components/engine/contrib/init/systemd/docker.socket \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/docker.socket
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
||||
ln -fs ../../../../usr/lib/systemd/system/docker.service \
|
||||
@@ -92,4 +94,22 @@ endef
|
||||
|
||||
endif
|
||||
|
||||
+define DOCKER_ENGINE_BUILD_CMDS
|
||||
+ $(foreach target,$(DOCKER_ENGINE_BUILD_TARGETS), \
|
||||
+ cd $(@D)/$(DOCKER_ENGINE_WORKSPACE)/src/github.com/docker/$(if $(filter $(target),dockerd),docker,cli); \
|
||||
+ $(GO_TARGET_ENV) \
|
||||
+ GOPATH="$(@D)/$(DOCKER_ENGINE_WORKSPACE)" \
|
||||
+ $(DOCKER_ENGINE_GO_ENV) \
|
||||
+ $(GO_BIN) build -v $(DOCKER_ENGINE_BUILD_OPTS) \
|
||||
+ -o $(@D)/bin/$(target) \
|
||||
+ ./cmd/$(target)
|
||||
+ )
|
||||
+endef
|
||||
+
|
||||
+define DOCKER_ENGINE_INSTALL_SYMLINKS
|
||||
+ ln -fs tini $(TARGET_DIR)/usr/bin/docker-init
|
||||
+endef
|
||||
+
|
||||
+DOCKER_ENGINE_POST_INSTALL_TARGET_HOOKS += DOCKER_ENGINE_INSTALL_SYMLINKS
|
||||
+
|
||||
$(eval $(golang-package))
|
||||
--
|
||||
2.17.0
|
||||
|
@ -1,74 +0,0 @@
|
||||
From 6a48f06457a12bd306ca721c7c673183c3a62783 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Stewart <christian@paral.in>
|
||||
Date: Wed, 20 Sep 2017 03:10:11 +0100
|
||||
Subject: [PATCH] runc: bump to 9f9c96235cc
|
||||
|
||||
This commit bumps runc to the requisite version for Docker 2018.03.
|
||||
|
||||
Signed-off-by: Christian Stewart <christian@paral.in>
|
||||
---
|
||||
package/runc/runc.hash | 2 +-
|
||||
package/runc/runc.mk | 17 +++++++++++------
|
||||
2 files changed, 12 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/package/runc/runc.hash b/package/runc/runc.hash
|
||||
index 3e188c5..f762707 100644
|
||||
--- a/package/runc/runc.hash
|
||||
+++ b/package/runc/runc.hash
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
-sha256 b5c50d7d9a5f610d5424f96196efa306ec708fd9299302dd919545099c16b7c1 runc-9c2d8d184e5da67c95d601382adf14862e4f2228.tar.gz
|
||||
+sha256 df8e7cd1d332d97b468ee455164f3959246bb5fc639dd8042d0db3bded621ad7 runc-6c55f98695e902427906eed2c799e566e3d3dfb5.tar.gz
|
||||
diff --git a/package/runc/runc.mk b/package/runc/runc.mk
|
||||
index fb3fec2..f19fc5f 100644
|
||||
--- a/package/runc/runc.mk
|
||||
+++ b/package/runc/runc.mk
|
||||
@@ -4,14 +4,14 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-RUNC_VERSION = 9c2d8d184e5da67c95d601382adf14862e4f2228
|
||||
+RUNC_VERSION = 6c55f98695e902427906eed2c799e566e3d3dfb5
|
||||
RUNC_SITE = $(call github,opencontainers,runc,$(RUNC_VERSION))
|
||||
RUNC_LICENSE = Apache-2.0
|
||||
RUNC_LICENSE_FILES = LICENSE
|
||||
|
||||
RUNC_DEPENDENCIES = host-go
|
||||
|
||||
-RUNC_GOPATH = "$(@D)/Godeps/_workspace"
|
||||
+RUNC_GOPATH = $(@D)/gopath
|
||||
RUNC_MAKE_ENV = $(HOST_GO_TARGET_ENV) \
|
||||
CGO_ENABLED=1 \
|
||||
GOBIN="$(@D)/bin" \
|
||||
@@ -23,9 +23,10 @@ RUNC_GLDFLAGS = \
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
RUNC_GLDFLAGS += -extldflags '-static'
|
||||
+RUNC_GOTAGS += static_build
|
||||
endif
|
||||
|
||||
-RUNC_GOTAGS = cgo static_build
|
||||
+RUNC_GOTAGS = cgo
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
RUNC_GOTAGS += seccomp
|
||||
@@ -38,9 +39,13 @@ define RUNC_CONFIGURE_CMDS
|
||||
endef
|
||||
|
||||
define RUNC_BUILD_CMDS
|
||||
- cd $(@D) && $(RUNC_MAKE_ENV) $(HOST_DIR)/bin/go \
|
||||
- build -v -o $(@D)/bin/runc \
|
||||
- -tags "$(RUNC_GOTAGS)" -ldflags "$(RUNC_GLDFLAGS)" .
|
||||
+ cd $(RUNC_GOPATH)/src/github.com/opencontainers/runc; \
|
||||
+ $(RUNC_MAKE_ENV) \
|
||||
+ $(HOST_DIR)/bin/go build -v -i \
|
||||
+ -o $(@D)/bin/runc \
|
||||
+ -tags "$(RUNC_GOTAGS)" \
|
||||
+ -ldflags "$(RUNC_GLDFLAGS)" \
|
||||
+ ./
|
||||
endef
|
||||
|
||||
define RUNC_INSTALL_TARGET_CMDS
|
||||
--
|
||||
2.9.0.windows.1
|
||||
|
@ -1,92 +0,0 @@
|
||||
From 16fc5c50a96aad21f8f6b8db202269cc8fee1c36 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Stewart <christian@paral.in>
|
||||
Date: Tue, 9 May 2017 18:03:55 -0400
|
||||
Subject: [PATCH] docker-engine: add support for init processes
|
||||
|
||||
When a docker container is run with the --init flag, the Docker engine
|
||||
uses the docker-init binary as PID 1 inside the container. This is
|
||||
necessary in may cases to avoid issues with signal handling, zombie
|
||||
processes, and other quirks when running as PID 1.
|
||||
|
||||
The docker-init binary is backed by tini on default, but optionally can
|
||||
be changed to docker-init by user preference.
|
||||
|
||||
Furthermore, this patch fixes the following Docker error:
|
||||
|
||||
dockerd: level=warning msg="failed to retrieve docker-init version"
|
||||
|
||||
Signed-off-by: Christian Stewart <christian@paral.in>
|
||||
---
|
||||
package/docker-engine/Config.in | 26 ++++++++++++++++++++++++++
|
||||
package/docker-engine/docker-engine.mk | 11 +++++++++++
|
||||
2 files changed, 37 insertions(+)
|
||||
|
||||
diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in
|
||||
index 05670a7..7d9a87f 100644
|
||||
--- a/package/docker-engine/Config.in
|
||||
+++ b/package/docker-engine/Config.in
|
||||
@@ -33,6 +33,32 @@ config BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT
|
||||
|
||||
if BR2_PACKAGE_DOCKER_ENGINE_DAEMON
|
||||
|
||||
+choice
|
||||
+ bool "docker-init to use"
|
||||
+ default BR2_PACKAGE_DOCKER_ENGINE_INIT_TINI
|
||||
+ help
|
||||
+ The docker engine uses a minimal init process as PID 1
|
||||
+ inside containers. There are several implementations
|
||||
+ of this init process.
|
||||
+
|
||||
+config BR2_PACKAGE_DOCKER_ENGINE_INIT_TINI
|
||||
+ bool "tini"
|
||||
+ select BR2_PACKAGE_TINI
|
||||
+ help
|
||||
+ Use Tini as the container init process.
|
||||
+
|
||||
+ https://github.com/krallin/tini
|
||||
+
|
||||
+config BR2_PACKAGE_DOCKER_ENGINE_INIT_DUMB_INIT
|
||||
+ bool "dumb-init"
|
||||
+ select BR2_PACKAGE_DUMB_INIT
|
||||
+ help
|
||||
+ Use dumb-init as the container init process.
|
||||
+
|
||||
+ https://github.com/Yelp/dumb-init
|
||||
+
|
||||
+endchoice
|
||||
+
|
||||
config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS
|
||||
bool "btrfs filesystem driver"
|
||||
depends on BR2_USE_MMU # btrfs-progs
|
||||
diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk
|
||||
index 8928f07..a2776ed 100644
|
||||
--- a/package/docker-engine/docker-engine.mk
|
||||
+++ b/package/docker-engine/docker-engine.mk
|
||||
@@ -50,6 +50,13 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DAEMON),y)
|
||||
DOCKER_ENGINE_BUILD_TAGS += daemon
|
||||
DOCKER_ENGINE_BUILD_TARGETS += dockerd
|
||||
+
|
||||
+ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_INIT_DUMB_INIT),y)
|
||||
+DOCKER_ENGINE_INIT = dumb-init
|
||||
+else
|
||||
+DOCKER_ENGINE_INIT = tini
|
||||
+endif
|
||||
+
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL),y)
|
||||
@@ -119,6 +126,10 @@ define DOCKER_ENGINE_INSTALL_TARGET_CMDS
|
||||
$(foreach target,$(DOCKER_ENGINE_BUILD_TARGETS), \
|
||||
$(INSTALL) -D -m 0755 $(@D)/bin/$(target) $(TARGET_DIR)/usr/bin/$(target)
|
||||
)
|
||||
+
|
||||
+ $(if $(filter $(BR2_PACKAGE_DOCKER_ENGINE_DAEMON),y), \
|
||||
+ ln -fs $(DOCKER_ENGINE_INIT) $(TARGET_DIR)/usr/bin/docker-init
|
||||
+ )
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
--
|
||||
2.9.0.windows.1
|
||||
|
@ -0,0 +1,45 @@
|
||||
From ed325bba70db9b66461e212012d29bc8110966c9 Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 28 May 2018 11:02:14 +0000
|
||||
Subject: [PATCH 1/1] docker-proxy: bump to
|
||||
8436c5cdbc627b9c51f9a02742c5a3955b19c5e1
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/docker-proxy/docker-proxy.hash | 2 +-
|
||||
package/docker-proxy/docker-proxy.mk | 4 +---
|
||||
2 files changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/package/docker-proxy/docker-proxy.hash b/package/docker-proxy/docker-proxy.hash
|
||||
index 3ec184f54f..9a9ec8bc3f 100644
|
||||
--- a/package/docker-proxy/docker-proxy.hash
|
||||
+++ b/package/docker-proxy/docker-proxy.hash
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
-sha256 2eee331b6ded567a36e7db708405b34032b93938682cf049025f48b96d755bf6 docker-proxy-7b2b1feb1de4817d522cc372af149ff48d25028e.tar.gz
|
||||
+sha256 45db634cbcbc68377129008b71160a0074e30da453e9ab5afebcbaec4d2a4733 docker-proxy-8436c5cdbc627b9c51f9a02742c5a3955b19c5e1.tar.gz
|
||||
diff --git a/package/docker-proxy/docker-proxy.mk b/package/docker-proxy/docker-proxy.mk
|
||||
index dfa9d4347d..fc68ac7657 100644
|
||||
--- a/package/docker-proxy/docker-proxy.mk
|
||||
+++ b/package/docker-proxy/docker-proxy.mk
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-DOCKER_PROXY_VERSION = 7b2b1feb1de4817d522cc372af149ff48d25028e
|
||||
+DOCKER_PROXY_VERSION = 8436c5cdbc627b9c51f9a02742c5a3955b19c5e1
|
||||
DOCKER_PROXY_SITE = $(call github,docker,libnetwork,$(DOCKER_PROXY_VERSION))
|
||||
|
||||
DOCKER_PROXY_LICENSE = Apache-2.0
|
||||
@@ -12,8 +12,6 @@ DOCKER_PROXY_LICENSE_FILES = LICENSE
|
||||
|
||||
DOCKER_PROXY_DEPENDENCIES = host-pkgconf
|
||||
|
||||
-DOCKER_PROXY_WORKSPACE = gopath
|
||||
-
|
||||
DOCKER_PROXY_BUILD_TARGETS = cmd/proxy
|
||||
|
||||
define DOCKER_PROXY_INSTALL_TARGET_CMDS
|
||||
--
|
||||
2.17.0
|
||||
|
@ -1,180 +0,0 @@
|
||||
From 3305bc41073e79203c2355a1770d44e28b83a948 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Stewart <christian@paral.in>
|
||||
Date: Wed, 20 Sep 2017 01:48:40 +0100
|
||||
Subject: [PATCH] docker-engine: bump to v17.12.1-ce
|
||||
|
||||
This commit bumps docker-engine to v17.12.1-ce
|
||||
|
||||
The docker-engine repository has now been moved to:
|
||||
|
||||
https://github.com/docker/docker-ce
|
||||
|
||||
The CLI and the daemon have been split into separate repositories:
|
||||
|
||||
- https://github.com/docker/cli
|
||||
- https://github.com/moby/moby
|
||||
|
||||
The daemon codebase lives in the "moby" repo, but the import paths in Go are:
|
||||
|
||||
github.com/docker/docker
|
||||
|
||||
As before. Presumably, the maintainers will eventually split the engine out
|
||||
to a different repository as well.
|
||||
|
||||
Please note that the entire docker/cli and moby/moby repositories are copied
|
||||
into the docker-ce repository, as well as all of their dependencies in the
|
||||
vendor directories. This means that downloading the docker-ce source tarball
|
||||
contains:
|
||||
|
||||
- The cli sources
|
||||
- The daemon sources
|
||||
- Two copies of all of the dependencies of both
|
||||
|
||||
At the moment this is unavoidable, but does produce a working build.
|
||||
|
||||
Signed-off-by: Christian Stewart <christian@paral.in>
|
||||
|
||||
---
|
||||
|
||||
Changes since initial series:
|
||||
|
||||
- Upgrade to 2017.12-ce due to critical bugs in 2018.02.
|
||||
|
||||
Recommended merge to next branch.
|
||||
---
|
||||
package/docker-engine/docker-engine.hash | 2 +-
|
||||
package/docker-engine/docker-engine.mk | 48 +++++++++++++++++++-------------
|
||||
2 files changed, 29 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/package/docker-engine/docker-engine.hash b/package/docker-engine/docker-engine.hash
|
||||
index 6c0ed33..add0b89 100644
|
||||
--- a/package/docker-engine/docker-engine.hash
|
||||
+++ b/package/docker-engine/docker-engine.hash
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
-sha256 4716df117d867b82ddab2e82395cd40aa3d0925a689eedcec8919729e4c9f121 docker-engine-v17.05.0-ce.tar.gz
|
||||
+sha256 e4b58c26c05a800d96d3e5d76375654751d4d1367b5727c798369cf3c78a590e docker-engine-v17.12.1-ce.tar.gz
|
||||
diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk
|
||||
index a2776ed..f9cb4b8 100644
|
||||
--- a/package/docker-engine/docker-engine.mk
|
||||
+++ b/package/docker-engine/docker-engine.mk
|
||||
@@ -4,9 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-DOCKER_ENGINE_VERSION = v17.05.0-ce
|
||||
-DOCKER_ENGINE_COMMIT = 89658bed64c2a8fe05a978e5b87dbec409d57a0f
|
||||
-DOCKER_ENGINE_SITE = $(call github,docker,docker,$(DOCKER_ENGINE_VERSION))
|
||||
+DOCKER_ENGINE_VERSION = v17.12.1-ce
|
||||
+DOCKER_ENGINE_SITE = $(call github,docker,docker-ce,$(DOCKER_ENGINE_VERSION))
|
||||
|
||||
DOCKER_ENGINE_LICENSE = Apache-2.0
|
||||
DOCKER_ENGINE_LICENSE_FILES = LICENSE
|
||||
@@ -19,37 +18,43 @@ DOCKER_ENGINE_MAKE_ENV = $(HOST_GO_TARGET_ENV) \
|
||||
CGO_NO_EMULATION=1 \
|
||||
GOBIN="$(@D)/bin" \
|
||||
GOPATH="$(DOCKER_ENGINE_GOPATH)" \
|
||||
- PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
+ PKG_CONFIG="$(PKG_CONFIG)" \
|
||||
$(TARGET_MAKE_ENV)
|
||||
|
||||
DOCKER_ENGINE_GLDFLAGS = \
|
||||
-X main.GitCommit=$(DOCKER_ENGINE_VERSION) \
|
||||
- -X main.Version=$(DOCKER_ENGINE_VERSION)
|
||||
+ -X main.Version=$(DOCKER_ENGINE_VERSION) \
|
||||
+ -X github.com/docker/cli/cli.GitCommit=$(DOCKER_ENGINE_VERSION) \
|
||||
+ -X github.com/docker/cli/cli.Version=$(DOCKER_ENGINE_VERSION)
|
||||
+
|
||||
+DOCKER_ENGINE_BUILD_TAGS = cgo exclude_graphdriver_zfs autogen
|
||||
+DOCKER_ENGINE_BUILD_TARGETS = cli:docker
|
||||
+DOCKER_ENGINE_BUILD_TARGET_PARSE = \
|
||||
+ export targetpkg=$$(echo $(target) | cut -d: -f1); \
|
||||
+ export targetbin=$$(echo $(target) | cut -d: -f2)
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DOCKER_ENGINE_GLDFLAGS += -extldflags '-static'
|
||||
+DOCKER_ENGINE_BUILD_TAGS += static_build
|
||||
else
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT),y)
|
||||
DOCKER_ENGINE_GLDFLAGS_DOCKER += -extldflags '-static'
|
||||
endif
|
||||
endif
|
||||
|
||||
-DOCKER_ENGINE_BUILD_TAGS = cgo exclude_graphdriver_zfs autogen
|
||||
-DOCKER_ENGINE_BUILD_TARGETS = docker
|
||||
-
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
DOCKER_ENGINE_BUILD_TAGS += seccomp
|
||||
DOCKER_ENGINE_DEPENDENCIES += libseccomp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||
-DOCKER_ENGINE_BUILD_TAGS += journald
|
||||
DOCKER_ENGINE_DEPENDENCIES += systemd
|
||||
+DOCKER_ENGINE_BUILD_TAGS += systemd journald
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DAEMON),y)
|
||||
DOCKER_ENGINE_BUILD_TAGS += daemon
|
||||
-DOCKER_ENGINE_BUILD_TARGETS += dockerd
|
||||
+DOCKER_ENGINE_BUILD_TARGETS += docker:dockerd
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_INIT_DUMB_INIT),y)
|
||||
DOCKER_ENGINE_INIT = dumb-init
|
||||
@@ -83,10 +88,11 @@ endif
|
||||
|
||||
define DOCKER_ENGINE_CONFIGURE_CMDS
|
||||
mkdir -p $(DOCKER_ENGINE_GOPATH)/src/github.com/docker
|
||||
- ln -fs $(@D) $(DOCKER_ENGINE_GOPATH)/src/github.com/docker/docker
|
||||
- cd $(@D) && \
|
||||
- GITCOMMIT="$$(echo $(DOCKER_ENGINE_COMMIT) | head -c7)" \
|
||||
+ ln -fs $(@D)/components/engine $(DOCKER_ENGINE_GOPATH)/src/github.com/docker/docker
|
||||
+ ln -fs $(@D)/components/cli $(DOCKER_ENGINE_GOPATH)/src/github.com/docker/cli
|
||||
+ cd $(@D)/components/engine && \
|
||||
BUILDTIME="$$(date)" \
|
||||
+ IAMSTATIC="true" \
|
||||
VERSION="$(patsubst v%,%,$(DOCKER_ENGINE_VERSION))" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" $(TARGET_MAKE_ENV) \
|
||||
bash ./hack/make/.go-autogen
|
||||
@@ -95,9 +101,9 @@ endef
|
||||
ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DAEMON),y)
|
||||
|
||||
define DOCKER_ENGINE_INSTALL_INIT_SYSTEMD
|
||||
- $(INSTALL) -D -m 0644 $(@D)/contrib/init/systemd/docker.service \
|
||||
+ $(INSTALL) -D -m 0644 $(@D)/components/engine/contrib/init/systemd/docker.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/docker.service
|
||||
- $(INSTALL) -D -m 0644 $(@D)/contrib/init/systemd/docker.socket \
|
||||
+ $(INSTALL) -D -m 0644 $(@D)/components/engine/contrib/init/systemd/docker.socket \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/docker.socket
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
||||
ln -fs ../../../../usr/lib/systemd/system/docker.service \
|
||||
@@ -112,19 +118,21 @@ endif
|
||||
|
||||
define DOCKER_ENGINE_BUILD_CMDS
|
||||
$(foreach target,$(DOCKER_ENGINE_BUILD_TARGETS), \
|
||||
- cd $(@D)/gopath/src/github.com/docker/docker; \
|
||||
+ $(DOCKER_ENGINE_BUILD_TARGET_PARSE); \
|
||||
+ cd $(@D)/gopath/src/github.com/docker/$${targetpkg}; \
|
||||
$(DOCKER_ENGINE_MAKE_ENV) \
|
||||
$(HOST_DIR)/bin/go build -v \
|
||||
- -o $(@D)/bin/$(target) \
|
||||
+ -o $(@D)/bin/$${targetbin} \
|
||||
-tags "$(DOCKER_ENGINE_BUILD_TAGS)" \
|
||||
- -ldflags "$(DOCKER_ENGINE_GLDFLAGS) $(DOCKER_ENGINE_GLDFLAGS_$(call UPPERCASE,$(target)))" \
|
||||
- github.com/docker/docker/cmd/$(target)
|
||||
+ -ldflags "$(DOCKER_ENGINE_GLDFLAGS)" \
|
||||
+ ./cmd/$${targetbin}
|
||||
)
|
||||
endef
|
||||
|
||||
define DOCKER_ENGINE_INSTALL_TARGET_CMDS
|
||||
$(foreach target,$(DOCKER_ENGINE_BUILD_TARGETS), \
|
||||
- $(INSTALL) -D -m 0755 $(@D)/bin/$(target) $(TARGET_DIR)/usr/bin/$(target)
|
||||
+ $(DOCKER_ENGINE_BUILD_TARGET_PARSE); \
|
||||
+ $(INSTALL) -D -m 0755 $(@D)/bin/$${targetbin} $(TARGET_DIR)/usr/bin/$${targetbin}
|
||||
)
|
||||
|
||||
$(if $(filter $(BR2_PACKAGE_DOCKER_ENGINE_DAEMON),y), \
|
||||
--
|
||||
2.9.0.windows.1
|
||||
|
@ -1,34 +1,35 @@
|
||||
From 35e38a7f97cafcca6b8d6f188746437d4520876d Mon Sep 17 00:00:00 2001
|
||||
From 4822be5410d0e01c88d9d4aa2e20b5bbae32c81a Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Sun, 20 May 2018 10:26:01 +0200
|
||||
Date: Sun, 27 May 2018 20:49:19 +0000
|
||||
Subject: [PATCH 1/1] Pump raspberry-pi firmware for kernel 4.14
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/rpi-firmware/rpi-firmware.hash | 2 +-
|
||||
package/rpi-firmware/rpi-firmware.mk | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/rpi-firmware/rpi-firmware.hash b/package/rpi-firmware/rpi-firmware.hash
|
||||
index 833a7fb..6466a1f 100644
|
||||
index 4854deae03..3a9f21e877 100644
|
||||
--- a/package/rpi-firmware/rpi-firmware.hash
|
||||
+++ b/package/rpi-firmware/rpi-firmware.hash
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
-sha256 0451e1a843bf02df81126a1625d9a15dfdf19dcb2f9e95b0613a63e59fd31ca8 rpi-firmware-2067241bc7cdf238fdeab7f5a3c22faa57dd5617.tar.gz
|
||||
-sha256 ea451834e20136d249661e0ed7d1fdfa309249d233a387f44dd6c3b746a454c6 rpi-firmware-36f991382326907419f64917624427e59fd8e4a0.tar.gz
|
||||
+sha256 f2b0f8ec8e73f8fa399f2c72c574ea5fe7fa57ab6151b139842a3ba783cd2140 rpi-firmware-a46b1f9521229ec26a1377aab7d013df1ade2791.tar.gz
|
||||
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
|
||||
index 22eaaa2..7c95321 100644
|
||||
index eab4c5d307..cb2e9d6cd8 100644
|
||||
--- a/package/rpi-firmware/rpi-firmware.mk
|
||||
+++ b/package/rpi-firmware/rpi-firmware.mk
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-RPI_FIRMWARE_VERSION = 2067241bc7cdf238fdeab7f5a3c22faa57dd5617
|
||||
-RPI_FIRMWARE_VERSION = 36f991382326907419f64917624427e59fd8e4a0
|
||||
+RPI_FIRMWARE_VERSION = a46b1f9521229ec26a1377aab7d013df1ade2791
|
||||
RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
|
||||
RPI_FIRMWARE_LICENSE = BSD-3-Clause
|
||||
RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
|
||||
--
|
||||
2.7.4
|
||||
2.17.0
|
||||
|
@ -1,64 +0,0 @@
|
||||
From f7cd72b3d4e2b1d993c293e355e350bedbed4eab Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 4 Mar 2018 22:31:16 +0100
|
||||
Subject: [PATCH 1/1] linux: add BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF
|
||||
|
||||
Some Linux kernel configuration options (such as CONFIG_UNWINDER_ORC)
|
||||
require building a host program that needs libelf.
|
||||
|
||||
Users who have libelf installed on their system won't see a problem,
|
||||
but users who don't have libelf installed will get a build
|
||||
failure. Therefore, this commit adds an option that allows a user to
|
||||
indicate that his Linux kernel configuration requires libelf. When
|
||||
this option is enabled, we add host-elfutils to the dependencies of
|
||||
the linux package (host-elfutils provides the libelf library).
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
linux/Config.in | 13 +++++++++++++
|
||||
linux/linux.mk | 4 ++++
|
||||
2 files changed, 17 insertions(+)
|
||||
|
||||
diff --git a/linux/Config.in b/linux/Config.in
|
||||
index 57bb11c..e299af4 100644
|
||||
--- a/linux/Config.in
|
||||
+++ b/linux/Config.in
|
||||
@@ -420,6 +420,19 @@ config BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL
|
||||
such as "scripts/extract-cert.c:21:25: fatal error:
|
||||
openssl/bio.h: No such file or directory".
|
||||
|
||||
+config BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF
|
||||
+ bool "Needs host libelf"
|
||||
+ help
|
||||
+ Some Linux kernel configuration options (such as
|
||||
+ CONFIG_UNWINDER_ORC) require building a host program that
|
||||
+ needs libelf. Enabling this option will ensure host-elfutils
|
||||
+ (which provides libelf) gets built before the Linux kernel.
|
||||
+
|
||||
+ Enable this option if you get a Linux kernel build failure
|
||||
+ such as "Cannot generate ORC metadata for
|
||||
+ CONFIG_UNWINDER_ORC=y, please install libelf-dev,
|
||||
+ libelf-devel or elfutils-libelf-devel".
|
||||
+
|
||||
# Linux extensions
|
||||
source "linux/Config.ext.in"
|
||||
|
||||
diff --git a/linux/linux.mk b/linux/linux.mk
|
||||
index 91d8751..28d799f 100644
|
||||
--- a/linux/linux.mk
|
||||
+++ b/linux/linux.mk
|
||||
@@ -84,6 +84,10 @@ ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL),y)
|
||||
LINUX_DEPENDENCIES += host-openssl
|
||||
endif
|
||||
|
||||
+ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF),y)
|
||||
+LINUX_DEPENDENCIES += host-elfutils
|
||||
+endif
|
||||
+
|
||||
# If host-uboot-tools is selected by the user, assume it is needed to
|
||||
# create a custom image
|
||||
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS),y)
|
||||
--
|
||||
2.7.4
|
||||
|
@ -1,45 +0,0 @@
|
||||
From ab863898812a926f0ee687269c2e2ed61bc7adc7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jan.kundrat@cesnet.cz>
|
||||
Date: Thu, 8 Feb 2018 10:27:47 +0100
|
||||
Subject: [PATCH 1/1] package/rauc: Version bump to 0.3
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
There's a bug in 0.2 which prevents proper operation when activated via
|
||||
D-Bus, which is why I'm bumping this.
|
||||
|
||||
Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
|
||||
Link: https://github.com/rauc/rauc/issues/125
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
package/rauc/rauc.hash | 4 ++--
|
||||
package/rauc/rauc.mk | 2 +-
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/package/rauc/rauc.hash b/package/rauc/rauc.hash
|
||||
index 649d195..91d7c1d 100644
|
||||
--- a/package/rauc/rauc.hash
|
||||
+++ b/package/rauc/rauc.hash
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally calculated, after verifying against
|
||||
-# https://github.com/rauc/rauc/releases/download/v0.2/rauc-0.2.tar.xz.asc
|
||||
-sha256 83aa3ac3716e1c29315162e3cbf5d4db79f26dd95efe1bc634bbce364b95491a rauc-0.2.tar.xz
|
||||
+# https://github.com/rauc/rauc/releases/download/v0.3/rauc-0.3.tar.xz.asc
|
||||
+sha256 dc01bfb08b1830376782f9a51cfec290171519267ab97cc909435da9ac6d6d98 rauc-0.3.tar.xz
|
||||
diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk
|
||||
index 4909062..63fbc53 100644
|
||||
--- a/package/rauc/rauc.mk
|
||||
+++ b/package/rauc/rauc.mk
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-RAUC_VERSION = 0.2
|
||||
+RAUC_VERSION = 0.3
|
||||
RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)
|
||||
RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz
|
||||
RAUC_LICENSE = LGPL-2.1
|
||||
--
|
||||
2.7.4
|
||||
|
@ -1,63 +0,0 @@
|
||||
From 93a7edf4bc9bfcf821f608815870d06198eb2adf Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 4 Mar 2018 22:31:15 +0100
|
||||
Subject: [PATCH 1/1] linux: add BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL
|
||||
|
||||
Some Linux kernel configuration options (such as
|
||||
CONFIG_SYSTEM_TRUSTED_KEYRING) require building a host program called
|
||||
extract-cert, which itself needs OpenSSL.
|
||||
|
||||
Users having OpenSSL installed on their system won't see a problem,
|
||||
but users who don't have OpenSSL installed will get a build
|
||||
failure. This commit adds a new option that allows users to indicate
|
||||
that their Linux configuration requires building host-openssl.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
linux/Config.in | 13 +++++++++++++
|
||||
linux/linux.mk | 4 ++++
|
||||
2 files changed, 17 insertions(+)
|
||||
|
||||
diff --git a/linux/Config.in b/linux/Config.in
|
||||
index bc6cd1b..57bb11c 100644
|
||||
--- a/linux/Config.in
|
||||
+++ b/linux/Config.in
|
||||
@@ -407,6 +407,19 @@ config BR2_LINUX_KERNEL_INSTALL_TARGET
|
||||
/boot if DTBs have been generated by the kernel build
|
||||
process.
|
||||
|
||||
+config BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL
|
||||
+ bool "Needs host OpenSSL"
|
||||
+ help
|
||||
+ Some Linux kernel configuration options (such as
|
||||
+ CONFIG_SYSTEM_TRUSTED_KEYRING) require building a host
|
||||
+ program called extract-cert, which itself needs
|
||||
+ OpenSSL. Enabling this option will ensure host-openssl gets
|
||||
+ built before the Linux kernel.
|
||||
+
|
||||
+ Enable this option if you get a Linux kernel build failure
|
||||
+ such as "scripts/extract-cert.c:21:25: fatal error:
|
||||
+ openssl/bio.h: No such file or directory".
|
||||
+
|
||||
# Linux extensions
|
||||
source "linux/Config.ext.in"
|
||||
|
||||
diff --git a/linux/linux.mk b/linux/linux.mk
|
||||
index 3b69524..91d8751 100644
|
||||
--- a/linux/linux.mk
|
||||
+++ b/linux/linux.mk
|
||||
@@ -80,6 +80,10 @@ LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZMA) += CONFIG_KERNEL_LZMA
|
||||
LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZO) += CONFIG_KERNEL_LZO
|
||||
LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_XZ) += CONFIG_KERNEL_XZ
|
||||
|
||||
+ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL),y)
|
||||
+LINUX_DEPENDENCIES += host-openssl
|
||||
+endif
|
||||
+
|
||||
# If host-uboot-tools is selected by the user, assume it is needed to
|
||||
# create a custom image
|
||||
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS),y)
|
||||
--
|
||||
2.7.4
|
||||
|
@ -1,46 +0,0 @@
|
||||
|
||||
m ad8804326df075a9935a3751f61e5ad1a2865736 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Sun, 4 Mar 2018 22:31:17 +0100
|
||||
Subject: [PATCH] linux: fix passing of host CFLAGS and LDFLAGS
|
||||
|
||||
We were passing HOSTCFLAGS="$(HOSTCFLAGS)" to Linux. However:
|
||||
|
||||
- HOSTCFLAGS in Buildroot doesn't exist, and is empty, so this
|
||||
assignment never did anything. The name of the variable in
|
||||
Buildroot in HOST_CFLAGS.
|
||||
|
||||
- HOSTCFLAGS in Linux isn't used everywhere, and passing it overrides
|
||||
the default HOSTCFLAGS value defined in the main Linux kernel
|
||||
Makefile.
|
||||
|
||||
In addition, there is no way to pass additional host LDFLAGS in the
|
||||
Linux kernel build system.
|
||||
|
||||
Therefore, we simply shoehorn our HOST_CFLAGS and HOST_LDFLAGS while
|
||||
passing HOSTCC to the Linux kernel build system. This has been tested
|
||||
to work fine with host OpenSSL and host libelf only available in
|
||||
$(HOST_DIR).
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
linux/linux.mk | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/linux/linux.mk b/linux/linux.mk
|
||||
index b724b66..7f318a0 100644
|
||||
--- a/linux/linux.mk
|
||||
+++ b/linux/linux.mk
|
||||
@@ -99,8 +99,7 @@ LINUX_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL)
|
||||
endif
|
||||
|
||||
LINUX_MAKE_FLAGS = \
|
||||
- HOSTCC="$(HOSTCC)" \
|
||||
- HOSTCFLAGS="$(HOSTCFLAGS)" \
|
||||
+ HOSTCC="$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS)" \
|
||||
ARCH=$(KERNEL_ARCH) \
|
||||
INSTALL_MOD_PATH=$(TARGET_DIR) \
|
||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
--
|
||||
2.7.4
|
||||
|
@ -1,60 +0,0 @@
|
||||
From a5d50577d81efeccb4904e6b56793f84b7e3e89f Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Tue, 1 May 2018 23:35:05 +0200
|
||||
Subject: [PATCH 1/1] Add apparmor support to docker
|
||||
|
||||
---
|
||||
package/docker-containerd/docker-containerd.mk | 1 +
|
||||
package/docker-engine/docker-engine.mk | 2 +-
|
||||
package/runc/runc.mk | 3 +--
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/package/docker-containerd/docker-containerd.mk b/package/docker-containerd/docker-containerd.mk
|
||||
index 230307d..9be658d 100644
|
||||
--- a/package/docker-containerd/docker-containerd.mk
|
||||
+++ b/package/docker-containerd/docker-containerd.mk
|
||||
@@ -18,6 +18,7 @@ DOCKER_CONTAINERD_MAKE_ENV = $(HOST_GO_TARGET_ENV) \
|
||||
GOBIN="$(@D)/bin" \
|
||||
GOPATH="$(DOCKER_CONTAINERD_GOPATH)"
|
||||
|
||||
+DOCKER_CONTAINERD_BUILD_TAGS = apparmor
|
||||
DOCKER_CONTAINERD_GLDFLAGS = \
|
||||
-X github.com/containerd/containerd.GitCommit=$(DOCKER_CONTAINERD_COMMIT)
|
||||
|
||||
diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk
|
||||
index e3dde03..d500e71 100644
|
||||
--- a/package/docker-engine/docker-engine.mk
|
||||
+++ b/package/docker-engine/docker-engine.mk
|
||||
@@ -27,7 +27,7 @@ DOCKER_ENGINE_GLDFLAGS = \
|
||||
-X github.com/docker/cli/cli.GitCommit=$(DOCKER_ENGINE_VERSION) \
|
||||
-X github.com/docker/cli/cli.Version=$(DOCKER_ENGINE_VERSION)
|
||||
|
||||
-DOCKER_ENGINE_BUILD_TAGS = cgo exclude_graphdriver_zfs autogen
|
||||
+DOCKER_ENGINE_BUILD_TAGS = cgo exclude_graphdriver_zfs autogen apparmor
|
||||
DOCKER_ENGINE_BUILD_TARGETS = cli:docker
|
||||
DOCKER_ENGINE_BUILD_TARGET_PARSE = \
|
||||
export targetpkg=$$(echo $(target) | cut -d: -f1); \
|
||||
diff --git a/package/runc/runc.mk b/package/runc/runc.mk
|
||||
index f19fc5f..1ab0b70 100644
|
||||
--- a/package/runc/runc.mk
|
||||
+++ b/package/runc/runc.mk
|
||||
@@ -18,6 +18,7 @@ RUNC_MAKE_ENV = $(HOST_GO_TARGET_ENV) \
|
||||
GOPATH="$(RUNC_GOPATH)" \
|
||||
PATH=$(BR_PATH)
|
||||
|
||||
+RUNC_GOTAGS = cgo apparmor
|
||||
RUNC_GLDFLAGS = \
|
||||
-X main.gitCommit=$(RUNC_VERSION)
|
||||
|
||||
@@ -26,8 +27,6 @@ RUNC_GLDFLAGS += -extldflags '-static'
|
||||
RUNC_GOTAGS += static_build
|
||||
endif
|
||||
|
||||
-RUNC_GOTAGS = cgo
|
||||
-
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
RUNC_GOTAGS += seccomp
|
||||
RUNC_DEPENDENCIES += libseccomp host-pkgconf
|
||||
--
|
||||
2.7.4
|
||||
|
@ -1,34 +0,0 @@
|
||||
Version 0.4 supports bootloader updates to eMMC boot partitions.
|
||||
|
||||
Signed-off-by: Jim Brennan <jbrennan at impinj.com>
|
||||
---
|
||||
package/rauc/rauc.hash | 4 ++--
|
||||
package/rauc/rauc.mk | 2 +-
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/package/rauc/rauc.hash b/package/rauc/rauc.hash
|
||||
index 91d7c1d62e..a16340f185 100644
|
||||
--- a/package/rauc/rauc.hash
|
||||
+++ b/package/rauc/rauc.hash
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally calculated, after verifying against
|
||||
-# https://github.com/rauc/rauc/releases/download/v0.3/rauc-0.3.tar.xz.asc
|
||||
-sha256 dc01bfb08b1830376782f9a51cfec290171519267ab97cc909435da9ac6d6d98 rauc-0.3.tar.xz
|
||||
+# https://github.com/rauc/rauc/releases/download/v0.4/rauc-0.4.tar.xz.asc
|
||||
+sha256 89656b6330ac1f31293d450f5179896397c588ab52e77ec229382a6abd125d35 rauc-0.4.tar.xz
|
||||
diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk
|
||||
index 63fbc53022..f1705a8c33 100644
|
||||
--- a/package/rauc/rauc.mk
|
||||
+++ b/package/rauc/rauc.mk
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-RAUC_VERSION = 0.3
|
||||
+RAUC_VERSION = 0.4
|
||||
RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)
|
||||
RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz
|
||||
RAUC_LICENSE = LGPL-2.1
|
||||
--
|
||||
2.11.0
|
||||
|
@ -1,2 +1,5 @@
|
||||
[flake8]
|
||||
exclude=
|
||||
# copied from the kernel sources
|
||||
utils/diffconfig
|
||||
max-line-length=132
|
||||
|
@ -4,7 +4,7 @@
|
||||
# It needs to be regenerated every time a defconfig is added, using
|
||||
# "make .gitlab-ci.yml".
|
||||
|
||||
image: buildroot/base:20180205.0730
|
||||
image: buildroot/base:20180318.1724
|
||||
|
||||
.defconfig_script: &defconfig_script
|
||||
- echo 'Configure Buildroot'
|
||||
@ -30,9 +30,21 @@ check-DEVELOPERS:
|
||||
script:
|
||||
- "! utils/get-developers | grep -v 'No action specified'"
|
||||
|
||||
check-flake8:
|
||||
before_script:
|
||||
# Help flake8 to find the Python files without .py extension.
|
||||
- find * -type f -name '*.py' > files.txt
|
||||
- find * -type f -print0 | xargs -0 file | grep 'Python script' | cut -d':' -f1 >> files.txt
|
||||
- sort -u files.txt | tee files.processed
|
||||
script:
|
||||
- python -m flake8 --statistics --count $(cat files.processed)
|
||||
after_script:
|
||||
- wc -l files.processed
|
||||
|
||||
check-package:
|
||||
script:
|
||||
- find . -type f \( -name '*.mk' -o -name '*.hash' \) -exec ./utils/check-package {} +
|
||||
- find . -type f \( -name '*.mk' -o -name '*.hash' -o -name 'Config.*' \)
|
||||
-exec ./utils/check-package {} +
|
||||
|
||||
.defconfig: &defconfig
|
||||
# Running the defconfigs for every push is too much, so limit to
|
||||
@ -67,12 +79,15 @@ acmesystems_aria_g25_128mb_defconfig: *defconfig
|
||||
acmesystems_aria_g25_256mb_defconfig: *defconfig
|
||||
acmesystems_arietta_g25_128mb_defconfig: *defconfig
|
||||
acmesystems_arietta_g25_256mb_defconfig: *defconfig
|
||||
amarula_vyasa_rk3288_defconfig: *defconfig
|
||||
arcturus_ucls1012a_defconfig: *defconfig
|
||||
arcturus_ucp1020_defconfig: *defconfig
|
||||
arm_foundationv8_defconfig: *defconfig
|
||||
arm_juno_defconfig: *defconfig
|
||||
armadeus_apf27_defconfig: *defconfig
|
||||
armadeus_apf28_defconfig: *defconfig
|
||||
armadeus_apf51_defconfig: *defconfig
|
||||
asus_tinker_rk3288_defconfig: *defconfig
|
||||
at91sam9260eknf_defconfig: *defconfig
|
||||
at91sam9g20dfc_defconfig: *defconfig
|
||||
at91sam9g45m10ek_defconfig: *defconfig
|
||||
@ -102,7 +117,6 @@ beaglebone_defconfig: *defconfig
|
||||
beaglebone_qt5_defconfig: *defconfig
|
||||
chromebook_snow_defconfig: *defconfig
|
||||
ci20_defconfig: *defconfig
|
||||
ci40_defconfig: *defconfig
|
||||
csky_gx6605s_defconfig: *defconfig
|
||||
cubieboard2_defconfig: *defconfig
|
||||
engicam_imx6qdl_icore_defconfig: *defconfig
|
||||
@ -110,24 +124,19 @@ engicam_imx6qdl_icore_qt5_defconfig: *defconfig
|
||||
engicam_imx6qdl_icore_rqs_defconfig: *defconfig
|
||||
engicam_imx6ul_geam_defconfig: *defconfig
|
||||
engicam_imx6ul_isiot_defconfig: *defconfig
|
||||
firefly_rk3288_defconfig: *defconfig
|
||||
firefly_rk3288_demo_defconfig: *defconfig
|
||||
freescale_imx28evk_defconfig: *defconfig
|
||||
freescale_imx31_3stack_defconfig: *defconfig
|
||||
freescale_imx6dlsabreauto_defconfig: *defconfig
|
||||
freescale_imx6dlsabresd_defconfig: *defconfig
|
||||
freescale_imx6qsabreauto_defconfig: *defconfig
|
||||
freescale_imx6qsabresd_defconfig: *defconfig
|
||||
freescale_imx6sololiteevk_defconfig: *defconfig
|
||||
freescale_imx6sxsabresd_defconfig: *defconfig
|
||||
freescale_imx6ulevk_defconfig: *defconfig
|
||||
freescale_imx7dsabresd_defconfig: *defconfig
|
||||
freescale_mpc8315erdb_defconfig: *defconfig
|
||||
freescale_p1010rdb_pa_defconfig: *defconfig
|
||||
freescale_imx8mqevk_defconfig: *defconfig
|
||||
freescale_p1025twr_defconfig: *defconfig
|
||||
freescale_t1040d4rdb_defconfig: *defconfig
|
||||
friendlyarm_nanopi_a64_defconfig: *defconfig
|
||||
friendlyarm_nanopi_neo2_defconfig: *defconfig
|
||||
galileo_defconfig: *defconfig
|
||||
gdb_bfin_bf512_defconfig: *defconfig
|
||||
grinn_chiliboard_defconfig: *defconfig
|
||||
grinn_liteboard_defconfig: *defconfig
|
||||
imx23evk_defconfig: *defconfig
|
||||
@ -198,6 +207,7 @@ qemu_mips64r6_malta_defconfig: *defconfig
|
||||
qemu_mips64r6el_malta_defconfig: *defconfig
|
||||
qemu_nios2_10m50_defconfig: *defconfig
|
||||
qemu_or1k_defconfig: *defconfig
|
||||
qemu_ppc64_e5500_defconfig: *defconfig
|
||||
qemu_ppc64_pseries_defconfig: *defconfig
|
||||
qemu_ppc64le_pseries_defconfig: *defconfig
|
||||
qemu_ppc_g3beige_defconfig: *defconfig
|
||||
@ -212,12 +222,12 @@ qemu_x86_defconfig: *defconfig
|
||||
qemu_xtensa_lx60_defconfig: *defconfig
|
||||
qemu_xtensa_lx60_nommu_defconfig: *defconfig
|
||||
raspberrypi0_defconfig: *defconfig
|
||||
raspberrypi0w_defconfig: *defconfig
|
||||
raspberrypi2_defconfig: *defconfig
|
||||
raspberrypi3_64_defconfig: *defconfig
|
||||
raspberrypi3_defconfig: *defconfig
|
||||
raspberrypi3_qt5we_defconfig: *defconfig
|
||||
raspberrypi_defconfig: *defconfig
|
||||
riotboard_defconfig: *defconfig
|
||||
roseapplepi_defconfig: *defconfig
|
||||
s6lx9_microboard_defconfig: *defconfig
|
||||
sheevaplug_defconfig: *defconfig
|
||||
@ -225,17 +235,18 @@ snps_aarch64_vdk_defconfig: *defconfig
|
||||
snps_arc700_axs101_defconfig: *defconfig
|
||||
snps_archs38_axs103_defconfig: *defconfig
|
||||
snps_archs38_haps_defconfig: *defconfig
|
||||
snps_archs38_hsdk_defconfig: *defconfig
|
||||
snps_archs38_vdk_defconfig: *defconfig
|
||||
socrates_cyclone5_defconfig: *defconfig
|
||||
solidrun_clearfog_defconfig: *defconfig
|
||||
solidrun_macchiatobin_mainline_defconfig: *defconfig
|
||||
solidrun_macchiatobin_marvell_defconfig: *defconfig
|
||||
stm32f429_disco_defconfig: *defconfig
|
||||
stm32f469_disco_defconfig: *defconfig
|
||||
telit_evk_pro3_defconfig: *defconfig
|
||||
toradex_apalis_imx6_defconfig: *defconfig
|
||||
ts4800_defconfig: *defconfig
|
||||
ts4900_defconfig: *defconfig
|
||||
ts5x00_defconfig: *defconfig
|
||||
ts5500_defconfig: *defconfig
|
||||
ts7680_defconfig: *defconfig
|
||||
wandboard_defconfig: *defconfig
|
||||
warp7_defconfig: *defconfig
|
||||
@ -282,8 +293,11 @@ tests.package.test_ipython.TestIPythonPy2: *runtime_test
|
||||
tests.package.test_ipython.TestIPythonPy3: *runtime_test
|
||||
tests.package.test_python.TestPython2: *runtime_test
|
||||
tests.package.test_python.TestPython3: *runtime_test
|
||||
tests.package.test_python_cryptography.TestPythonPy2Cryptography: *runtime_test
|
||||
tests.package.test_python_cryptography.TestPythonPy3Cryptography: *runtime_test
|
||||
tests.package.test_rust.TestRust: *runtime_test
|
||||
tests.package.test_rust.TestRustBin: *runtime_test
|
||||
tests.package.test_syslog_ng.TestSyslogNg: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: *runtime_test
|
||||
tests.toolchain.test_external.TestExternalToolchainCCache: *runtime_test
|
||||
|
@ -4,7 +4,7 @@
|
||||
# It needs to be regenerated every time a defconfig is added, using
|
||||
# "make .gitlab-ci.yml".
|
||||
|
||||
image: buildroot/base:20180205.0730
|
||||
image: buildroot/base:20180318.1724
|
||||
|
||||
.defconfig_script: &defconfig_script
|
||||
- echo 'Configure Buildroot'
|
||||
@ -30,9 +30,21 @@ check-DEVELOPERS:
|
||||
script:
|
||||
- "! utils/get-developers | grep -v 'No action specified'"
|
||||
|
||||
check-flake8:
|
||||
before_script:
|
||||
# Help flake8 to find the Python files without .py extension.
|
||||
- find * -type f -name '*.py' > files.txt
|
||||
- find * -type f -print0 | xargs -0 file | grep 'Python script' | cut -d':' -f1 >> files.txt
|
||||
- sort -u files.txt | tee files.processed
|
||||
script:
|
||||
- python -m flake8 --statistics --count $(cat files.processed)
|
||||
after_script:
|
||||
- wc -l files.processed
|
||||
|
||||
check-package:
|
||||
script:
|
||||
- find . -type f \( -name '*.mk' -o -name '*.hash' \) -exec ./utils/check-package {} +
|
||||
- find . -type f \( -name '*.mk' -o -name '*.hash' -o -name 'Config.*' \)
|
||||
-exec ./utils/check-package {} +
|
||||
|
||||
.defconfig: &defconfig
|
||||
# Running the defconfigs for every push is too much, so limit to
|
||||
|
@ -1,3 +1,220 @@
|
||||
2018.05-rc2, Released May 22nd, 2018
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Dependencies: Check that the current working directory (.)
|
||||
isn't listed in PATH as that causes various build issues.
|
||||
|
||||
Manual: Clarify that git branch names may not be used as
|
||||
version identifiers. This has never been supported, but was
|
||||
kind of working (with some limitations) before the git
|
||||
download rework - Now it does not work at all.
|
||||
|
||||
Linux: Ensure host version of ncurses is picked up and not
|
||||
host-ncurses built by buildroot, as that otherwise causes
|
||||
widechar/non-widechar conflicts and corrupted menuconfig
|
||||
menus.
|
||||
|
||||
Packages: Renamed a number of package options not prefixed
|
||||
with BR2_PACKAGE_<pkg> for consstency.
|
||||
|
||||
Download infrastructure: Fix file:// protocol handling after
|
||||
download rework.
|
||||
|
||||
Updated/fixed packages: acl, apr-util, asterisk, attr,
|
||||
bluez5_utils, cifs-utils, clamav, clang, cups-filters,
|
||||
dahdi-linux, exim, faketime, gdb, go, gst1-plugins-bad,
|
||||
imx-mkimage, ipsec-tools, jamvm, janus-gateway,
|
||||
jquery-ui-themes, libcap, libcurl, libftdi, libkcapi, libkrb5,
|
||||
libmediaart, libmodbus, libmodplug, libmpd,
|
||||
libnetfilter_cthelper, libnetfilter_cttimeout, libnfc,
|
||||
libnfnetlink, libnss, liboauth, libogg, libosip2,
|
||||
libpam-radius-auth, libpcap, libpciaccess, llvm, log4cplus,
|
||||
ltrace, lynx, mbedtls, modem-manager, nfs-utils,
|
||||
python-cython, python-websockets, qt5cinex, qt5wayland, rauc,
|
||||
snort, strace, ti-sgx-km, transmission, wavpack, wget, woff2,
|
||||
xen, zmqpp, znc, zstd
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10986: Installing package attr when already supplied by...
|
||||
#11011: BUildroot for Raspberry Pi 2
|
||||
#11016: Wrong compiler used for external user host packages
|
||||
|
||||
2018.05-rc1, Released May 9th, 2018
|
||||
|
||||
Toolchain: glibc bumped to 2.27, musl bumped to 1.1.19,
|
||||
uClibc-ng 1.0.30, Linux kernel headers bumped to 4.16.x.
|
||||
|
||||
Architecture: support for the Blackfin architecture has been
|
||||
removed, as it was removed from Linux upstream, poorly
|
||||
maintained in binutils/gdb, and abandoned by Analog Devices.
|
||||
|
||||
Numerous packages updated to have hashes for their license
|
||||
files.
|
||||
|
||||
Systemd can now be built with uClibc toolchains.
|
||||
|
||||
Linux: addition of BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF and
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL to support building Linux
|
||||
kernel configurations that need libelf on the host or openssl
|
||||
on the host.
|
||||
|
||||
Coding style:
|
||||
- all Python scripts are now verified with flake8
|
||||
- check-package extended to check all Config.in and .mk files
|
||||
in tree, not only the ones in package/
|
||||
|
||||
Infrastructure:
|
||||
|
||||
- The download infrastructure has seen a major overhaul, with
|
||||
the main visible new feature being Git caching: a package
|
||||
fetched from Git no longer needs to be re-cloned entirely
|
||||
everytime its version is changed. Anoter visible change is
|
||||
that the download folder now has subfolders per package. See
|
||||
http://lists.busybox.net/pipermail/buildroot/2018-April/217923.html
|
||||
for more details about those changes.
|
||||
|
||||
- The logic that generates the root filesystem images has been
|
||||
reworked, with the main goal of allowing several filesystem
|
||||
images to be produced in parallel, also a requirement for
|
||||
top-level parallel build. Now, a .tar filesystem image is
|
||||
always created, and re-extracted in a private directory to
|
||||
create each format-specific filesystem image.
|
||||
|
||||
- A new package infrastructure was introduced for Go-based
|
||||
packages: golang-package.
|
||||
|
||||
- Dependencies on extraction tools are now handled as proper
|
||||
per-package dependencies, using
|
||||
<pkg>_EXTRACT_DEPENDENCIES. Beyond a cleanup, this is also a
|
||||
preparation step for top-level parallel build support.
|
||||
|
||||
- When a file being downloaded is part of a package with a
|
||||
.hash file, but there is no hash listed for this file, the
|
||||
file is now preserved in the download directory rather than
|
||||
removed. This helps when updating a package, as it gives the
|
||||
ability to easily calculate the hash of the file.
|
||||
|
||||
- Addition of '<pkg>-show-recursive-depends' and
|
||||
'<pkg>-show-recursive-rdepends' make targets, to
|
||||
respectively display the recursive list of dependencies and
|
||||
the recursive list of reverse dependencies of a given
|
||||
package.
|
||||
|
||||
- The /etc/shells file is now automatically generated with the
|
||||
list of shell programs installed on the system.
|
||||
|
||||
- Addition of -Ofast optimization level as an available
|
||||
option.
|
||||
|
||||
Major updates: Go updated to 1.10, Erlang bumped to 20.3, Qt5
|
||||
bumped to 5.10.1.
|
||||
|
||||
New packages: 18xx-ti-utils, abootimg, bluez-alsa, brotli,
|
||||
chipmunk, clang, docker-compose, docker-proxy, flare-engine,
|
||||
flare-game, gst1-interpipe, gstreamer1-editing-services,
|
||||
hackrf, i2pd, imx-alsa-plugins, imx-mkimage, libcdio-paranoia,
|
||||
libkrb5, llvm, pixiewps, python-backports-ssl-match-hostname,
|
||||
python-cached-property, python-cython, python-docker,
|
||||
python-dockerpty, python-docker-pycreds,
|
||||
python-flask-sqlalchemy, python-functools32, python-influxdb,
|
||||
python-json-models, python-libusb1, python-networkx,
|
||||
python-psycopg2, python-pymodbus, python-sqlalchemy,
|
||||
python-subprocess32, python-texttable,
|
||||
python-websocket-client, python-yieldfrom, quotatool, reaver,
|
||||
snort, sunxi-mali-mainline, sunxi-mali-mainline-driver, tk,
|
||||
tpm2-abrmd, tpm2-tools, tpm2-tss, udftools, vte, woff2.
|
||||
|
||||
New defconfigs: ARC HS Development Kit, Arcturus ucls1012a,
|
||||
Freescale i.MX6UL EVK (with vendor kernel), Freescale i.MX6
|
||||
SoloLite EVK (with vendor kernel), Freescale i.MX31 3Stack,
|
||||
Freescale i.MX8Q EVK Freescale p1025twr, Freescale t1040d4rdb,
|
||||
Qemu PPC64 E5500, SolidRun ClearFog Base, Tinker RK3288, Vyasa
|
||||
RK3288,
|
||||
|
||||
Removed packages: iqvlinux, kodi-adsp-*, mplayer
|
||||
|
||||
Removed defconfigs: ci40, firefly_rk3288,
|
||||
freescale_p1010rdb_pa, freescale_mpc8315erdb, riotboard,
|
||||
teliv_evk_pro3
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10151: toolchain eclipse register : fails with a custom
|
||||
BR2_HOST_DIR
|
||||
#10511: Packages get downloaded uncompressed with wget
|
||||
#10531: QtWebengine doesn't build if the host hasn't a 32 bits
|
||||
C++ compiler working
|
||||
#10846: error in compiling gnutls
|
||||
#10886: openssl-1.0.2n fails to build
|
||||
#10896: /bin/sh not in /etc/shells
|
||||
#10961: Grub2 fails to build for x86_64 when BR2_SSP_ALL is
|
||||
enabled
|
||||
|
||||
2018.02.1, Released April 9th, 2018
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Removed unmaintained defconfigs: Creator Ci40, Firefly rk3288,
|
||||
Freescale mpc8315erdb / p1010rdb_pa, Riotboard, Teliv EVK
|
||||
Pro3.
|
||||
|
||||
Infrastructure: Speed up instrumentation for package size by
|
||||
comparing timestamps instead of md5 checksums, as doing
|
||||
checksums could lead to up to 25% longer build time for big
|
||||
configurations.
|
||||
|
||||
Rename the internal <pkg>_BASE_NAME variable to <pkg>_NASENAME
|
||||
to avoid name clashes with packages ending on '-base'.
|
||||
|
||||
Add a better fix for build issues for autotools based packages
|
||||
checking for C++ support on toolchains without C++ support.
|
||||
|
||||
Build host-tar if tar is older than 1.27 on the build machine
|
||||
to work around reproducibility issues with git archives
|
||||
containing long paths.
|
||||
|
||||
check-unique-files: Fix for filenames not representable in the
|
||||
users' locale.
|
||||
|
||||
Check-bin-arch: Add support for per-package ignore paths
|
||||
(<pkg>_BIN_ARCH_EXCLUDE).
|
||||
|
||||
Toolchain: Fix SSP support detection for external toolchains.
|
||||
|
||||
linux: Add _NEEDS_HOST_OPENSSL / LIBELF options to ensure
|
||||
these dependencies are available for Linux configurations
|
||||
needed these dependencies, similar to how it is done for
|
||||
U-Boot.
|
||||
|
||||
Support custom (not in tree) device tree files in addition to
|
||||
in-tree ones.
|
||||
|
||||
U-Boot / uboot-tools: Fix header conflict with libfdt-devel
|
||||
installed on host.
|
||||
|
||||
Updated/fixed packages: apache, busybox, c-ares, cmake,
|
||||
docker-engine, enlightenment, eudev, fbgrab, freescale-imx,
|
||||
gtest, imagemagick, intel-microcode, irssi, jimtcl, kmod,
|
||||
kodi, ktap, libcoap, libcurl, libfcgi, libhttpparser,
|
||||
libminiupnpc, libopenssl, libpjsip, libss7, libssh2, libupnp
|
||||
libupnpp, libuv, libvorbis, memcached, motion, musl, nodejs,
|
||||
ntp, openblas, opencv3, openocd, opus-tools, patch, php,
|
||||
pkgconf, postgresql, powerpc-utils, python-jsonschema,
|
||||
python-webpy, qemu, qt5bsae, qt5script, qt5webkit, rapidjson,
|
||||
rauc, sam-ba, samba4, sngrep, systemd, tremor, uboot-tools,
|
||||
uclibc-ng-test, upmpdcli, wireshark, xerces, xterm, zstd
|
||||
|
||||
New packages: docker-proxy, python-functools32
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10766: upmpdcli: Segmentation fault
|
||||
#10776: ktap fails to build
|
||||
#10846: error in compiling gnutls
|
||||
#10856: openblas on qemu_x86_64_defconfig fails with "sgemm_..
|
||||
|
||||
2018.02, Released March 4th, 2018
|
||||
|
||||
Fixes all over the tree.
|
||||
@ -844,6 +1061,26 @@
|
||||
#9846: musl libc not installed correctly in target folder
|
||||
#9856: build libubox failed on ubuntu 17.04 64bit
|
||||
|
||||
2017.02.11, Released April 11th, 2018
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
dependencies: Blacklist tar 1.30+ and build our own host-tar
|
||||
if needed as tar 1.30+ changed the --numeric-owner output for
|
||||
long path names. Build host-tar before other host-dependencies
|
||||
as they need it to extract their source tarballs.
|
||||
|
||||
Updated/fixed packages: apache, busybox, clamav, dhcp,
|
||||
dnsmasq, dovecot, exim, imagemagick, irssi, jq, libcurl,
|
||||
libpjsip, librsvg, libtasn1, libvorbis, libxml2, lz4, mariadb,
|
||||
mbedtls, mosquitto, ntp, openblas, opencv3, openssl, patch,
|
||||
postgresql, python-webpy, qt53d, qt5tools, quagga, rsync,
|
||||
samba4, sngrep, tremor, wavpack, wireshark, xerces, xterm
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10856: openblas on qemu_x86_64_defconfig fails with "sgemm_..
|
||||
|
||||
2017.02.10, Released January 31st, 2018
|
||||
|
||||
Important / security related fixes.
|
||||
|
@ -62,6 +62,11 @@ config BR2_HOST_GCC_AT_LEAST_7
|
||||
default y if BR2_HOST_GCC_VERSION = "7"
|
||||
select BR2_HOST_GCC_AT_LEAST_6
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_8
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "8"
|
||||
select BR2_HOST_GCC_AT_LEAST_7
|
||||
|
||||
# Hidden boolean selected by packages in need of Java in order to build
|
||||
# (example: kodi)
|
||||
config BR2_NEEDS_HOST_JAVA
|
||||
@ -175,8 +180,8 @@ config BR2_TAR_OPTIONS
|
||||
default ""
|
||||
help
|
||||
Options to pass to tar when extracting the sources.
|
||||
E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
|
||||
and to be verbose.
|
||||
E.g. " -v --exclude='*.svn*'" to exclude all .svn internal
|
||||
files and to be verbose.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -200,6 +205,9 @@ config BR2_DL_DIR
|
||||
If the Linux shell environment has defined the BR2_DL_DIR
|
||||
environment variable, then this overrides this configuration
|
||||
item.
|
||||
The directory is organized with a subdirectory for each
|
||||
package. Each package has its own $(LIBFOO_DL_DIR) variable
|
||||
that can be used to find the correct path.
|
||||
|
||||
The default is $(TOPDIR)/dl
|
||||
|
||||
@ -332,6 +340,9 @@ config BR2_CCACHE_DIR
|
||||
default "$(HOME)/.buildroot-ccache"
|
||||
help
|
||||
Where ccache should store cached files.
|
||||
If the Linux shell environment has defined the BR2_CCACHE_DIR
|
||||
environment variable, then this overrides this configuration
|
||||
item.
|
||||
|
||||
config BR2_CCACHE_INITIAL_SETUP
|
||||
string "Compiler cache initial setup"
|
||||
@ -421,8 +432,8 @@ endif
|
||||
|
||||
config BR2_STRIP_strip
|
||||
bool "strip target binaries"
|
||||
depends on !BR2_PACKAGE_HOST_ELF2FLT
|
||||
default y
|
||||
depends on !BR2_PACKAGE_HOST_ELF2FLT
|
||||
help
|
||||
Binaries and libraries in the target filesystem will be
|
||||
stripped using the normal 'strip' command. This allows to save
|
||||
@ -432,16 +443,16 @@ config BR2_STRIP_strip
|
||||
|
||||
config BR2_STRIP_EXCLUDE_FILES
|
||||
string "executables that should not be stripped"
|
||||
depends on BR2_STRIP_strip
|
||||
default ""
|
||||
depends on BR2_STRIP_strip
|
||||
help
|
||||
You may specify a space-separated list of binaries and
|
||||
libraries here that should not be stripped on the target.
|
||||
|
||||
config BR2_STRIP_EXCLUDE_DIRS
|
||||
string "directories that should be skipped when stripping"
|
||||
depends on BR2_STRIP_strip
|
||||
default ""
|
||||
depends on BR2_STRIP_strip
|
||||
help
|
||||
You may specify a space-separated list of directories that
|
||||
should be skipped when stripping. Binaries and libraries in
|
||||
@ -527,11 +538,21 @@ config BR2_OPTIMIZE_S
|
||||
-ftree-vect-loop-version
|
||||
This is the default.
|
||||
|
||||
config BR2_OPTIMIZE_FAST
|
||||
bool "optimize for fast"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
|
||||
help
|
||||
Optimize for fast. Disregard strict standards
|
||||
compliance. -Ofast enables all -O3 optimizations. It also
|
||||
enables optimizations that are not valid for all
|
||||
standard-compliant programs. It turns on -ffast-math and the
|
||||
Fortran-specific -fstack-arrays, unless -fmax-stack-var-size
|
||||
is specified, and -fno-protect-parens.
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_GOOGLE_BREAKPAD_ENABLE
|
||||
bool "Enable google-breakpad support"
|
||||
select BR2_PACKAGE_GOOGLE_BREAKPAD
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||
@ -540,6 +561,7 @@ config BR2_GOOGLE_BREAKPAD_ENABLE
|
||||
depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC)
|
||||
depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_GOOGLE_BREAKPAD
|
||||
help
|
||||
This option will enable the use of google breakpad, a library
|
||||
and tool suite that allows you to distribute an application to
|
||||
@ -606,7 +628,6 @@ config BR2_SHARED_STATIC_LIBS
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
config BR2_PACKAGE_OVERRIDE_FILE
|
||||
string "location of a package override file"
|
||||
default "$(CONFIG_DIR)/local.mk"
|
||||
@ -654,7 +675,8 @@ config BR2_COMPILER_PARANOID_UNSAFE_PATH
|
||||
|
||||
Note that this mechanism is available for both the internal
|
||||
toolchain (through the toolchain wrapper and binutils patches)
|
||||
and external toolchain backends (through the toolchain wrapper).
|
||||
and external toolchain backends (through the toolchain
|
||||
wrapper).
|
||||
|
||||
config BR2_REPRODUCIBLE
|
||||
bool "Make the build reproducible (experimental)"
|
||||
@ -738,9 +760,9 @@ choice
|
||||
bool "RELRO Protection"
|
||||
depends on BR2_SHARED_LIBS
|
||||
help
|
||||
Enable a link-time protection know as RELRO (RELocation Read Only)
|
||||
which helps to protect from certain type of exploitation techniques
|
||||
altering the content of some ELF sections.
|
||||
Enable a link-time protection know as RELRO (RELocation Read
|
||||
Only) which helps to protect from certain type of exploitation
|
||||
techniques altering the content of some ELF sections.
|
||||
|
||||
config BR2_RELRO_NONE
|
||||
bool "None"
|
||||
@ -756,9 +778,9 @@ config BR2_RELRO_PARTIAL
|
||||
config BR2_RELRO_FULL
|
||||
bool "Full"
|
||||
help
|
||||
This option includes the partial configuration, but also
|
||||
marks the GOT as read-only at the cost of initialization time
|
||||
during program loading, i.e every time an executable is started.
|
||||
This option includes the partial configuration, but also marks
|
||||
the GOT as read-only at the cost of initialization time during
|
||||
program loading, i.e every time an executable is started.
|
||||
|
||||
endchoice
|
||||
|
||||
@ -771,10 +793,10 @@ choice
|
||||
depends on !BR2_OPTIMIZE_0
|
||||
help
|
||||
Enable the _FORTIFY_SOURCE macro which introduces additional
|
||||
checks to detect buffer-overflows in the following standard library
|
||||
functions: memcpy, mempcpy, memmove, memset, strcpy, stpcpy,
|
||||
strncpy, strcat, strncat, sprintf, vsprintf, snprintf, vsnprintf,
|
||||
gets.
|
||||
checks to detect buffer-overflows in the following standard
|
||||
library functions: memcpy, mempcpy, memmove, memset, strcpy,
|
||||
stpcpy, strncpy, strcat, strncat, sprintf, vsprintf, snprintf,
|
||||
vsnprintf, gets.
|
||||
|
||||
NOTE: This feature requires an optimization level of s/1/2/3/g
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -51,7 +51,11 @@ F: package/libsemanage/
|
||||
F: package/libsepol/
|
||||
F: package/nginx-naxsi/
|
||||
F: package/policycoreutils/
|
||||
F: package/python-flask-sqlalchemy/
|
||||
F: package/python-mutagen/
|
||||
F: package/python-psycopg2/
|
||||
F: package/python-sqlalchemy/
|
||||
F: package/python-visitor/
|
||||
F: package/restorecond/
|
||||
F: package/refpolicy/
|
||||
F: package/selinux-python/
|
||||
@ -60,8 +64,10 @@ F: package/setools/
|
||||
F: package/sngrep/
|
||||
|
||||
N: Adrian Perez de Castro <aperez@igalia.com>
|
||||
F: package/brotli/
|
||||
F: package/libepoxy/
|
||||
F: package/webkitgtk/
|
||||
F: package/woff2/
|
||||
|
||||
N: Adrien Gallouët <adrien@gallouet.fr>
|
||||
F: package/glorytun/
|
||||
@ -72,6 +78,8 @@ F: package/libqmi/
|
||||
F: package/modem-manager/
|
||||
|
||||
N: Alex Suykov <alex.suykov@gmail.com>
|
||||
F: board/chromebook/snow/
|
||||
F: configs/chromebook_snow_defconfig
|
||||
F: package/vboot-utils/
|
||||
|
||||
N: Alexander Clouter <alex+buildroot@digriz.org.uk>
|
||||
@ -111,6 +119,7 @@ F: package/ktap/
|
||||
|
||||
N: André Hentschel <nerv@dawncrow.de>
|
||||
F: package/azure-iot-sdk-c/
|
||||
F: package/libkrb5/
|
||||
F: package/openal/
|
||||
F: package/p7zip/
|
||||
F: package/wine/
|
||||
@ -144,6 +153,9 @@ F: package/python-pydal/
|
||||
F: package/python-web2py/
|
||||
F: package/sysdig/
|
||||
|
||||
N: Anisse Astier <anisse@astier.eu>
|
||||
F: package/go/
|
||||
|
||||
N: Antony Pavlov <antonynpavlov@gmail.com>
|
||||
F: package/lsscsi/
|
||||
|
||||
@ -155,6 +167,12 @@ F: package/wf111/
|
||||
|
||||
N: ARC Maintainers <arc-buildroot@synopsys.com>
|
||||
F: arch/Config.in.arc
|
||||
F: board/synopsys/
|
||||
F: configs/snps_arc700_axs101_defconfig
|
||||
F: configs/snps_archs38_axs103_defconfig
|
||||
F: configs/snps_archs38_haps_defconfig
|
||||
F: configs/snps_archs38_hsdk_defconfig
|
||||
F: configs/snps_archs38_vdk_defconfig
|
||||
|
||||
N: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
|
||||
F: package/axfsutils/
|
||||
@ -174,6 +192,12 @@ F: package/python-bottle/
|
||||
F: package/sqlcipher/
|
||||
F: package/stress/
|
||||
|
||||
N: Asaf Kahlon <asafka7@gmail.com>
|
||||
F: package/python-jsonmodels/
|
||||
F: package/python-subprocess32/
|
||||
F: package/python-yieldfrom/
|
||||
F: package/zeromq/
|
||||
|
||||
N: Ash Charles <ash.charles@savoirfairelinux.com>
|
||||
F: package/pru-software-support/
|
||||
F: package/ti-cgt-pru/
|
||||
@ -203,6 +227,7 @@ F: package/pulseview/
|
||||
F: package/sigrok-cli/
|
||||
|
||||
N: Baruch Siach <baruch@tkos.co.il>
|
||||
F: package/18xx-ti-utils/
|
||||
F: package/daemon/
|
||||
F: package/dropbear/
|
||||
F: package/ebtables/
|
||||
@ -299,7 +324,6 @@ F: package/libyuv/
|
||||
F: package/mesa3d/
|
||||
F: package/minidlna/
|
||||
F: package/mjpg-streamer/
|
||||
F: package/mplayer/
|
||||
F: package/perl-crypt-openssl-random/
|
||||
F: package/perl-crypt-openssl-rsa/
|
||||
F: package/perl-digest-sha1/
|
||||
@ -384,8 +408,12 @@ N: Carlos Santos <casantos@datacom.ind.br>
|
||||
F: package/gtest/
|
||||
F: package/libpam-radius-auth/
|
||||
F: package/libpam-tacplus/
|
||||
F: package/modem-manager/
|
||||
F: package/perl-file-util/
|
||||
F: package/util-linux/
|
||||
F: package/tpm2-abrmd/
|
||||
F: package/tpm2-tools/
|
||||
F: package/tpm2-tss/
|
||||
|
||||
N: Carsten Schoenert <c.schoenert@gmail.com>
|
||||
F: package/dvbsnoop/
|
||||
@ -419,6 +447,7 @@ F: package/aufs-util/
|
||||
F: package/batman-adv/
|
||||
F: package/docker-containerd/
|
||||
F: package/docker-engine/
|
||||
F: package/docker-proxy/
|
||||
F: package/mosh/
|
||||
F: package/rtl8821au/
|
||||
F: package/runc/
|
||||
@ -456,6 +485,8 @@ F: arch/Config.in.powerpc
|
||||
F: package/kvm-unit-tests
|
||||
|
||||
N: Dagg Stompler <daggs@gmx.com>
|
||||
F: board/hardkernel/odroidc2
|
||||
F: configs/odroidc2_defconfig
|
||||
F: package/libamcodec/
|
||||
F: package/odroid-mali/
|
||||
F: package/odroid-scripts/
|
||||
@ -466,7 +497,6 @@ F: package/log4cpp/
|
||||
|
||||
N: Daniel Nyström <daniel.nystrom@timeterminal.se>
|
||||
F: package/e2tools/
|
||||
F: package/fbgrab/
|
||||
|
||||
N: Daniel Price <daniel.price@gmail.com>
|
||||
F: package/nodejs/
|
||||
@ -577,16 +607,24 @@ F: package/spi-tools/
|
||||
F: package/xdotool/
|
||||
F: configs/pc_x86_64_*
|
||||
|
||||
N: Erik Larsson <karl.erik.larsson@gmail.com>
|
||||
F: package/imx-mkimage/
|
||||
|
||||
N: Erik Stromdahl <erik.stromdahl@gmail.com>
|
||||
F: package/mxsldr/
|
||||
|
||||
N: Ernesto L. Williams Jr <realcontrols@gmail.com>
|
||||
F: package/szip/
|
||||
|
||||
N: Eugene Tarassov <eugene@largest.net>
|
||||
F: package/tcf-agent/
|
||||
|
||||
N: Evan Zelkowitz <evan.zelkowitz@gmail.com>
|
||||
F: package/sdl_gfx/
|
||||
|
||||
N: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
|
||||
F: board/ci20/
|
||||
F: configs/ci20_defconfig
|
||||
F: arch/Config.in.nios2
|
||||
F: package/fio/
|
||||
F: package/iptraf-ng/
|
||||
@ -600,11 +638,16 @@ F: package/supertuxkart/
|
||||
N: Fabio Estevam <festevam@gmail.com>
|
||||
F: board/warp7/
|
||||
F: configs/freescale_imx*
|
||||
F: configs/imx6-sabresd*
|
||||
F: configs/imx23evk_defconfig
|
||||
F: configs/imx6-sabre*
|
||||
F: configs/imx6slevk_defconfig
|
||||
F: configs/imx6sx-sdb_defconfig
|
||||
F: configs/imx6ulevk_defconfig
|
||||
F: configs/imx6ulpico_defconfig
|
||||
F: configs/imx7dpico_defconfig
|
||||
F: configs/mx25pdk_defconfig
|
||||
F: configs/mx51evk_defconfig
|
||||
F: configs/mx53loco_defconfig
|
||||
F: configs/mx6cubox_defconfig
|
||||
F: configs/mx6sx_udoo_neo_defconfig
|
||||
F: configs/mx6udoo_defconfig
|
||||
@ -635,15 +678,42 @@ F: package/gupnp/
|
||||
F: package/gupnp-dlna/
|
||||
F: package/gupnp-tools/
|
||||
F: package/hiredis/
|
||||
F: package/i2pd/
|
||||
F: package/igd2-for-linux/
|
||||
F: package/lcms2/
|
||||
F: package/lftp/
|
||||
F: package/libcap-ng/
|
||||
F: package/libcdio-paranoia/
|
||||
F: package/libcgicc/
|
||||
F: package/libconfig/
|
||||
F: package/libcue/
|
||||
F: package/libebml/
|
||||
F: package/libgee/
|
||||
F: package/libglib2/
|
||||
F: package/libgtk2/
|
||||
F: package/libgtk3/
|
||||
F: package/libidn/
|
||||
F: package/libjpeg/
|
||||
F: package/liblockfile/
|
||||
F: package/libmatroska/
|
||||
F: package/libmpdclient/
|
||||
F: package/libnetfilter_conntrack/
|
||||
F: package/libnetfilter_queue/
|
||||
F: package/libupnp/
|
||||
F: package/libupnp18/
|
||||
F: package/minissdpd/
|
||||
F: package/motion/
|
||||
F: package/mutt/
|
||||
F: package/ncmpc/
|
||||
F: package/pcmanfm/
|
||||
F: package/rygel/
|
||||
F: package/safeclib/
|
||||
F: package/tinycbor/
|
||||
F: package/tinydtls/
|
||||
F: package/whois/
|
||||
|
||||
N: Falco Hyfing <hyfinglists@gmail.com>
|
||||
F: package/python-pymodbus/
|
||||
|
||||
N: Floris Bos <bos@je-eigen-domein.nl>
|
||||
F: package/ipmitool/
|
||||
@ -657,6 +727,7 @@ F: board/olimex/a20_olinuxino
|
||||
F: configs/olimex_a20_olinuxino_*
|
||||
F: package/4th/
|
||||
F: package/botan/
|
||||
F: package/chipmunk/
|
||||
F: package/dado/
|
||||
F: package/ficl/
|
||||
F: package/gdbm/
|
||||
@ -728,6 +799,10 @@ F: package/ocrad/
|
||||
F: package/tesseract-ocr/
|
||||
F: package/webp/
|
||||
|
||||
N: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
||||
F: package/sunxi-mali-mainline/
|
||||
F: package/sunxi-mali-mainline-driver/
|
||||
|
||||
N: Gregory Dymarek <gregd72002@gmail.com>
|
||||
F: package/ding-libs/
|
||||
F: package/gengetopt/
|
||||
@ -744,6 +819,8 @@ F: package/sdl2/
|
||||
|
||||
N: Guillaume William Brs <guillaume.bressaix@gmail.com>
|
||||
F: package/liquid-dsp/
|
||||
F: package/pixiewps/
|
||||
F: package/reaver/
|
||||
|
||||
N: Guo Ren <ren_guo@c-sky.com>
|
||||
F: arch/Config.in.csky
|
||||
@ -782,8 +859,12 @@ N: Ismael Luceno <ismael@iodev.co.uk>
|
||||
F: package/axel/
|
||||
|
||||
N: Jagan Teki <jagan@amarulasolutions.com>
|
||||
F: board/amarula/
|
||||
F: board/asus/
|
||||
F: board/bananapi/
|
||||
F: board/engicam/
|
||||
F: configs/amarula_vyasa_rk3288_defconfig
|
||||
F: configs/asus_tinker_rk3288_defconfig
|
||||
F: board/friendlyarm/nanopi-a64/
|
||||
F: board/friendlyarm/nanopi-neo2/
|
||||
F: board/olimex/a64-olinuxino/
|
||||
@ -823,6 +904,10 @@ F: package/yad/
|
||||
N: Jan Heylen <jan.heylen@nokia.com>
|
||||
F: package/opentracing-cpp/
|
||||
|
||||
N: Jan Kundrát <jan.kundrat@cesnet.cz>
|
||||
F: configs/solidrun_clearfog_defconfig
|
||||
F: board/solidrun/clearfog/
|
||||
|
||||
N: Jan Kraval <jan.kraval@gmail.com>
|
||||
F: board/orangepi/orangepi-lite
|
||||
F: configs/orangepi_lite_defconfig
|
||||
@ -857,6 +942,8 @@ F: configs/qemu_ppc64le_pseries_defconfig
|
||||
|
||||
N: Joseph Kogut <joseph.kogut@gmail.com>
|
||||
F: package/gconf/
|
||||
F: package/libnss/
|
||||
F: package/python-cython/
|
||||
F: package/python-raven/
|
||||
F: package/python-schedule/
|
||||
F: package/python-websockets/
|
||||
@ -967,6 +1054,7 @@ F: board/lemaker/bananapro/
|
||||
F: configs/bananapro_defconfig
|
||||
F: package/augeas/
|
||||
F: package/bctoolbox/
|
||||
F: package/freescale-imx/imx-alsa-plugins/
|
||||
F: package/libshout/
|
||||
F: package/libupnpp/
|
||||
F: package/luv/
|
||||
@ -1006,6 +1094,7 @@ F: boot/afboot-stm32/
|
||||
|
||||
N: Lionel Flandrin <lionel@svkt.org>
|
||||
F: package/python-babel/
|
||||
F: package/python-daemonize/
|
||||
F: package/python-flask/
|
||||
F: package/python-flask-babel/
|
||||
F: package/python-gunicorn/
|
||||
@ -1020,7 +1109,9 @@ F: package/ti-sgx-um/
|
||||
|
||||
N: Luca Ceresoli <luca@lucaceresoli.net>
|
||||
F: board/olimex/a20_olinuxino/
|
||||
F: board/zynq/
|
||||
F: configs/olimex_a20_olinuxino_*
|
||||
F: configs/zynq_zed_defconfig
|
||||
F: package/agentpp/
|
||||
F: package/exim/
|
||||
F: package/libpjsip/
|
||||
@ -1105,9 +1196,14 @@ F: package/harfbuzz/
|
||||
F: package/libsecret/
|
||||
|
||||
N: Martin Bark <martin@barkynet.com>
|
||||
F: board/raspberrypi/
|
||||
F: configs/raspberrypi3_defconfig
|
||||
F: package/ca-certificates/
|
||||
F: package/connman/
|
||||
F: package/nodejs/
|
||||
F: package/rpi-bt-firmware/
|
||||
F: package/rpi-firmware/
|
||||
F: package/rpi-wifi-firmware/
|
||||
F: package/tzdata/
|
||||
F: package/zic/
|
||||
|
||||
@ -1125,6 +1221,12 @@ F: configs/ts4900_defconfig
|
||||
F: package/ts4900-fpga/
|
||||
|
||||
N: Matt Weber <matthew.weber@rockwellcollins.com>
|
||||
F: board/freescale/p*
|
||||
F: board/freescale/t*
|
||||
F: board/qemu/ppc64-e5500/
|
||||
F: configs/freescale_p*
|
||||
F: configs/freescale_t*
|
||||
F: configs/qemu_ppc64_e5500_defconfig
|
||||
F: package/argp-standalone/
|
||||
F: package/aufs/
|
||||
F: package/aufs-util/
|
||||
@ -1254,6 +1356,11 @@ F: package/tinyxml/
|
||||
N: Maxime Ripard <maxime.ripard@bootlin.com>
|
||||
F: package/kmsxx/
|
||||
|
||||
N: Michael Durrant <mdurrant@arcturusnetworks.com>
|
||||
F: board/arcturus/
|
||||
F: configs/arcturus_ucp1020_defconfig
|
||||
F: configs/arcturus_ucls1012a_defconfig
|
||||
|
||||
N: Michael Rommel <rommel@layer-7.net>
|
||||
F: package/knock/
|
||||
F: package/python-crc16/
|
||||
@ -1312,6 +1419,11 @@ F: package/tcf-agent/
|
||||
N: Olaf Rempel <razzor@kopf-tisch.de>
|
||||
F: package/ctorrent/
|
||||
|
||||
N: Oleksandr Zhadan <oleks@arcturusnetworks.com>
|
||||
F: board/arcturus/
|
||||
F: configs/arcturus_ucp1020_defconfig
|
||||
F: configs/arcturus_ucls1012a_defconfig
|
||||
|
||||
N: Oli Vogt <oli.vogt.pub01@gmail.com>
|
||||
F: package/python-django/
|
||||
F: package/python-flup/
|
||||
@ -1347,8 +1459,21 @@ N: Pedro Aguilar <paguilar@paguilar.org>
|
||||
F: package/libunistring/
|
||||
|
||||
N: Peter Korsgaard <peter@korsgaard.com>
|
||||
F: board/minnowboard/
|
||||
F: board/nexbox/a95x/
|
||||
F: board/openblocks/a6/
|
||||
F: board/orangepi/
|
||||
F: board/pandaboard/
|
||||
F: board/roseapplepi/
|
||||
F: configs/minnowboard_max-graphical_defconfig
|
||||
F: configs/minnowboard_max_defconfig
|
||||
F: configs/nexbox_a95x_defconfig
|
||||
F: configs/openblocks_a6_defconfig
|
||||
F: configs/orangepi_pc_defconfig
|
||||
F: configs/pandaboard_defconfig
|
||||
F: configs/roseapplepi_defconfig
|
||||
F: configs/sheevaplug_defconfig
|
||||
F: package/docker-compose/
|
||||
F: package/dump1090/
|
||||
F: package/flickcurl/
|
||||
F: package/fscryptctl/
|
||||
@ -1360,11 +1485,19 @@ F: package/lzop/
|
||||
F: package/memtool/
|
||||
F: package/mosquitto/
|
||||
F: package/python-alsaaudio/
|
||||
F: package/python-backports-ssl-match-hostname/
|
||||
F: package/python-cached-property/
|
||||
F: package/python-docker/
|
||||
F: package/python-dockerpty/
|
||||
F: package/python-docker-pycreds/
|
||||
F: package/python-enum/
|
||||
F: package/python-enum34/
|
||||
F: package/python-functools32/
|
||||
F: package/python-ipaddr/
|
||||
F: package/python-pam/
|
||||
F: package/python-psutil/
|
||||
F: package/python-texttable/
|
||||
F: package/python-websocket-client/
|
||||
F: package/triggerhappy/
|
||||
|
||||
N: Peter Seiderer <ps.report@gmx.net>
|
||||
@ -1377,11 +1510,14 @@ F: package/dejavu/
|
||||
F: package/dillo/
|
||||
F: package/edid-decode/
|
||||
F: package/ghostscript-fonts/
|
||||
F: package/gstreamer1/gst1-interpipe/
|
||||
F: package/gstreamer1/gst1-validate/
|
||||
F: package/gstreamer1/gstreamer1-editing-services/
|
||||
F: package/libevdev/
|
||||
F: package/log4cplus/
|
||||
F: package/postgresql/
|
||||
F: package/qt5/
|
||||
F: package/quotatool/
|
||||
F: package/racehound/
|
||||
F: package/wiringpi/
|
||||
|
||||
@ -1407,6 +1543,7 @@ F: package/modem-manager/
|
||||
F: package/network-manager/
|
||||
F: package/ofono/
|
||||
F: package/python-networkmanager/
|
||||
F: support/kconfig/
|
||||
|
||||
N: Phil Eichinger <phil.eichinger@gmail.com>
|
||||
F: package/libqrencode/
|
||||
@ -1414,10 +1551,6 @@ F: package/psplash/
|
||||
F: package/sispmctl/
|
||||
F: package/zsh/
|
||||
|
||||
N: Philipp Claves <claves@budelmann-elektronik.com>
|
||||
F: package/libassuan/
|
||||
F: package/libgpgme/
|
||||
|
||||
N: Philippe Proulx <eeppeliteloop@gmail.com>
|
||||
F: package/lttng-babeltrace/
|
||||
F: package/lttng-libust/
|
||||
@ -1493,7 +1626,8 @@ F: package/bullet/
|
||||
F: package/efl/
|
||||
F: package/enlightenment/
|
||||
F: package/expedite/
|
||||
F: package/iqvlinux/
|
||||
F: package/flare-engine/
|
||||
F: package/flare-game/
|
||||
F: package/irrlicht/
|
||||
F: package/liblinear/
|
||||
F: package/lensfun/
|
||||
@ -1512,6 +1646,7 @@ F: package/stress-ng/
|
||||
F: package/supertux/
|
||||
F: package/supertuxkart/
|
||||
F: package/terminology/
|
||||
F: package/tk/
|
||||
F: package/upower/
|
||||
F: package/xenomai/
|
||||
|
||||
@ -1603,6 +1738,7 @@ F: package/daq/
|
||||
F: package/libgdiplus/
|
||||
F: package/mongodb/
|
||||
F: package/pimd/
|
||||
F: package/snort/
|
||||
F: package/stella/
|
||||
F: package/traceroute/
|
||||
F: package/tunctl/
|
||||
@ -1657,6 +1793,7 @@ N: Stefan Fröberg <stefan.froberg@petroprogram.com>
|
||||
F: package/elfutils/
|
||||
F: package/libtasn1/
|
||||
F: package/proxychains-ng/
|
||||
F: package/vte/
|
||||
F: package/yasm/
|
||||
F: package/zlib-ng/
|
||||
|
||||
@ -1686,6 +1823,7 @@ F: package/dvdrw-tools/
|
||||
F: package/memtest86/
|
||||
F: package/mjpegtools/
|
||||
F: package/tovid/
|
||||
F: package/udftools/
|
||||
F: package/xorriso/
|
||||
|
||||
N: Steve Thomas <scjthm@live.com>
|
||||
@ -1695,8 +1833,9 @@ N: Steven Noonan <steven@uplinklabs.net>
|
||||
F: package/hwloc/
|
||||
F: package/powertop/
|
||||
|
||||
N: Sven Haardiek <sven.haardiek@greenbone.net>
|
||||
N: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
|
||||
F: package/lcdproc/
|
||||
F: package/python-influxdb/
|
||||
|
||||
N: Sven Neumann <neumann@teufel.de>
|
||||
F: package/gstreamer1/gst1-libav/
|
||||
@ -1793,10 +1932,17 @@ F: toolchain/
|
||||
N: Tiago Brusamarello <tiago.brusamarello@datacom.ind.br>
|
||||
F: package/aer-inject/
|
||||
|
||||
N: Timo Ketola <timo.ketola@exertus.fi>
|
||||
F: package/fbgrab/
|
||||
|
||||
N: Tzu-Jung Lee <roylee17@gmail.com>
|
||||
F: package/dropwatch/
|
||||
F: package/tstools/
|
||||
|
||||
N: Valentin Korenblit <valentin.korenblit@smile.fr>
|
||||
F: package/clang/
|
||||
F: package/llvm/
|
||||
|
||||
N: Vanya Sergeev <vsergeev@gmail.com>
|
||||
F: package/lua-periphery/
|
||||
|
||||
@ -1821,6 +1967,10 @@ F: package/pixz/
|
||||
N: Vinicius Tinti <viniciustinti@gmail.com>
|
||||
F: package/python-thrift/
|
||||
|
||||
N: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
|
||||
F: board/technologic/ts5500/
|
||||
F: configs/ts5500_defconfig
|
||||
|
||||
N: Volkov Viacheslav <sv99@inbox.ru>
|
||||
F: package/v4l2grab/
|
||||
F: package/zbar/
|
||||
@ -1829,12 +1979,6 @@ N: Wade Berrier <wberrier@gmail.com>
|
||||
F: package/ngrep/
|
||||
|
||||
N: Waldemar Brodkorb <wbx@openadk.org>
|
||||
F: arch/Config.in.bfin
|
||||
F: arch/Config.in.m68k
|
||||
F: arch/Config.in.or1k
|
||||
F: arch/Config.in.sparc
|
||||
F: package/glibc/
|
||||
F: package/mksh/
|
||||
F: package/uclibc/
|
||||
F: package/uclibc-ng-test/
|
||||
|
||||
|
@ -87,9 +87,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2018.02
|
||||
export BR2_VERSION := 2018.05-rc2
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1520198000
|
||||
BR2_VERSION_EPOCH = 1527024000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@ -215,7 +215,10 @@ BR_GRAPH_OUT := $(or $(BR2_GRAPH_OUT),pdf)
|
||||
|
||||
BUILD_DIR := $(BASE_DIR)/build
|
||||
BINARIES_DIR := $(BASE_DIR)/images
|
||||
TARGET_DIR := $(BASE_DIR)/target
|
||||
# The target directory is common to all packages,
|
||||
# but there is one that is specific to each filesystem.
|
||||
BASE_TARGET_DIR := $(BASE_DIR)/target
|
||||
TARGET_DIR = $(if $(ROOTFS),$(ROOTFS_$(ROOTFS)_TARGET_DIR),$(BASE_TARGET_DIR))
|
||||
# initial definition so that 'make clean' works for most users, even without
|
||||
# .config. HOST_DIR will be overwritten later when .config is included.
|
||||
HOST_DIR := $(BASE_DIR)/host
|
||||
@ -231,15 +234,6 @@ LEGAL_MANIFEST_CSV_HOST = $(LEGAL_INFO_DIR)/host-manifest.csv
|
||||
LEGAL_WARNINGS = $(LEGAL_INFO_DIR)/.warnings
|
||||
LEGAL_REPORT = $(LEGAL_INFO_DIR)/README
|
||||
|
||||
################################################################################
|
||||
#
|
||||
# staging and target directories do NOT list these as
|
||||
# dependencies anywhere else
|
||||
#
|
||||
################################################################################
|
||||
$(BUILD_DIR) $(TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST):
|
||||
@mkdir -p $@
|
||||
|
||||
BR2_CONFIG = $(CONFIG_DIR)/.config
|
||||
|
||||
# Pull in the user's configuration file
|
||||
@ -253,9 +247,6 @@ export TZ = UTC
|
||||
export LANG = C
|
||||
export LC_ALL = C
|
||||
export GZIP = -n
|
||||
BR2_VERSION_GIT_EPOCH = $(shell GIT_DIR=$(TOPDIR)/.git $(GIT) log -1 --format=%at)
|
||||
export SOURCE_DATE_EPOCH ?= $(if $(wildcard $(TOPDIR)/.git),$(BR2_VERSION_GIT_EPOCH),$(BR2_VERSION_EPOCH))
|
||||
DEPENDENCIES_HOST_PREREQ += host-fakedate
|
||||
endif
|
||||
|
||||
# To put more focus on warnings, be less verbose as default
|
||||
@ -438,7 +429,6 @@ KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \
|
||||
-e s/arceb/arc/ \
|
||||
-e s/arm.*/arm/ -e s/sa110/arm/ \
|
||||
-e s/aarch64.*/arm64/ \
|
||||
-e s/bfin/blackfin/ \
|
||||
-e s/or1k/openrisc/ \
|
||||
-e s/parisc64/parisc/ \
|
||||
-e s/powerpc64.*/powerpc/ \
|
||||
@ -455,12 +445,18 @@ TAR_OPTIONS = $(call qstrip,$(BR2_TAR_OPTIONS)) -xf
|
||||
# packages compiled for the host go here
|
||||
HOST_DIR := $(call qstrip,$(BR2_HOST_DIR))
|
||||
|
||||
ifneq ($(HOST_DIR),$(BASE_DIR)/host)
|
||||
HOST_DIR_SYMLINK = $(BASE_DIR)/host
|
||||
$(HOST_DIR_SYMLINK): $(BASE_DIR)
|
||||
ln -snf $(HOST_DIR) $(BASE_DIR)/host
|
||||
endif
|
||||
|
||||
# Quotes are needed for spaces and all in the original PATH content.
|
||||
BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(PATH)"
|
||||
|
||||
# Location of a file giving a big fat warning that output/target
|
||||
# should not be used as the root filesystem.
|
||||
TARGET_DIR_WARNING_FILE = $(TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
|
||||
TARGET_DIR_WARNING_FILE = $(BASE_TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
|
||||
|
||||
ifeq ($(BR2_CCACHE),y)
|
||||
CCACHE := $(HOST_DIR)/bin/ccache
|
||||
@ -502,11 +498,17 @@ include package/Makefile.in
|
||||
-include $(sort $(wildcard arch/arch.mk.*))
|
||||
include support/dependencies/dependencies.mk
|
||||
|
||||
PACKAGES += $(DEPENDENCIES_HOST_PREREQ)
|
||||
|
||||
include $(sort $(wildcard toolchain/*.mk))
|
||||
include $(sort $(wildcard toolchain/*/*.mk))
|
||||
|
||||
ifeq ($(BR2_REPRODUCIBLE),y)
|
||||
# If SOURCE_DATE_EPOCH has not been set then use the commit date, or the last
|
||||
# release date if the source tree is not within a Git repository.
|
||||
# See: https://reproducible-builds.org/specs/source-date-epoch/
|
||||
BR2_VERSION_GIT_EPOCH := $(shell $(GIT) log -1 --format=%at 2> /dev/null)
|
||||
export SOURCE_DATE_EPOCH ?= $(or $(BR2_VERSION_GIT_EPOCH),$(BR2_VERSION_EPOCH))
|
||||
endif
|
||||
|
||||
# Include the package override file if one has been provided in the
|
||||
# configuration.
|
||||
PACKAGE_OVERRIDE_FILE = $(call qstrip,$(BR2_PACKAGE_OVERRIDE_FILE))
|
||||
@ -559,8 +561,8 @@ $(foreach pkg,$(call UPPERCASE,$(PACKAGES)),\
|
||||
endif
|
||||
|
||||
.PHONY: dirs
|
||||
dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(HOST_DIR)/usr $(HOST_DIR)/lib $(BINARIES_DIR)
|
||||
dirs: $(BUILD_DIR) $(STAGING_DIR) $(BASE_TARGET_DIR) \
|
||||
$(HOST_DIR) $(HOST_DIR_SYMLINK) $(BINARIES_DIR)
|
||||
|
||||
$(BUILD_DIR)/buildroot-config/auto.conf: $(BR2_CONFIG)
|
||||
$(MAKE1) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" silentoldconfig
|
||||
@ -577,19 +579,9 @@ sdk: world
|
||||
$(TOPDIR)/support/scripts/fix-rpath host
|
||||
$(TOPDIR)/support/scripts/fix-rpath staging
|
||||
$(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh
|
||||
mkdir -p $(HOST_DIR)/share/buildroot
|
||||
echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location
|
||||
|
||||
# Compatibility symlink in case a post-build script still uses $(HOST_DIR)/usr
|
||||
$(HOST_DIR)/usr: $(HOST_DIR)
|
||||
@ln -snf . $@
|
||||
|
||||
$(HOST_DIR)/lib: $(HOST_DIR)
|
||||
@mkdir -p $@
|
||||
@case $(HOSTARCH) in \
|
||||
(*64) ln -snf lib $(@D)/lib64;; \
|
||||
(*) ln -snf lib $(@D)/lib32;; \
|
||||
esac
|
||||
|
||||
# Populating the staging with the base directories is handled by the skeleton package
|
||||
$(STAGING_DIR):
|
||||
@mkdir -p $(STAGING_DIR)
|
||||
@ -692,6 +684,9 @@ endif
|
||||
|
||||
$(TARGETS_ROOTFS): target-finalize
|
||||
|
||||
# Avoid the rootfs name leaking down the dependency chain
|
||||
target-finalize: ROOTFS=
|
||||
|
||||
.PHONY: target-finalize
|
||||
target-finalize: $(PACKAGES)
|
||||
@$(call MESSAGE,"Finalizing target directory")
|
||||
@ -761,8 +756,11 @@ endif
|
||||
$(call MESSAGE,"Executing post-build script $(s)"); \
|
||||
$(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
|
||||
touch $(TARGET_DIR)/usr
|
||||
|
||||
.PHONY: target-post-image
|
||||
target-post-image: $(TARGETS_ROOTFS) target-finalize
|
||||
@rm -f $(ROOTFS_COMMON_TAR)
|
||||
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \
|
||||
$(call MESSAGE,"Executing post-image script $(s)"); \
|
||||
$(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
@ -952,6 +950,11 @@ savedefconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# staging and target directories do NOT list these as
|
||||
# dependencies anywhere else
|
||||
$(BUILD_DIR) $(BASE_TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST):
|
||||
@mkdir -p $@
|
||||
|
||||
# outputmakefile generates a Makefile in the output directory, if using a
|
||||
# separate output directory. This allows convenient use of make in the
|
||||
# output directory.
|
||||
@ -985,7 +988,7 @@ printvars:
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
|
||||
rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \
|
||||
$(BUILD_DIR) $(BASE_DIR)/staging \
|
||||
$(LEGAL_INFO_DIR) $(GRAPHS_DIR)
|
||||
|
||||
@ -1037,6 +1040,10 @@ help:
|
||||
@echo ' <pkg>-build - Build <pkg> up to the build step'
|
||||
@echo ' <pkg>-show-depends - List packages on which <pkg> depends'
|
||||
@echo ' <pkg>-show-rdepends - List packages which have <pkg> as a dependency'
|
||||
@echo ' <pkg>-show-recursive-depends'
|
||||
@echo ' - Recursively list packages on which <pkg> depends'
|
||||
@echo ' <pkg>-show-recursive-rdepends'
|
||||
@echo ' - Recursively list packages which have <pkg> as a dependency'
|
||||
@echo ' <pkg>-graph-depends - Generate a graph of <pkg>'\''s dependencies'
|
||||
@echo ' <pkg>-graph-rdepends - Generate a graph of <pkg>'\''s reverse dependencies'
|
||||
@echo ' <pkg>-dirclean - Remove <pkg> build directory'
|
||||
|
@ -28,24 +28,25 @@ config BR2_arcle
|
||||
bool "ARC (little endian)"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
Synopsys' DesignWare ARC Processor Cores are a family of 32-bit CPUs
|
||||
that can be used from deeply embedded to high performance host
|
||||
applications. Little endian.
|
||||
Synopsys' DesignWare ARC Processor Cores are a family of
|
||||
32-bit CPUs that can be used from deeply embedded to high
|
||||
performance host applications. Little endian.
|
||||
|
||||
config BR2_arceb
|
||||
bool "ARC (big endian)"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
Synopsys' DesignWare ARC Processor Cores are a family of 32-bit CPUs
|
||||
that can be used from deeply embedded to high performance host
|
||||
applications. Big endian.
|
||||
Synopsys' DesignWare ARC Processor Cores are a family of
|
||||
32-bit CPUs that can be used from deeply embedded to high
|
||||
performance host applications. Big endian.
|
||||
|
||||
config BR2_arm
|
||||
bool "ARM (little endian)"
|
||||
# MMU support is set by the subarchitecture file, arch/Config.in.arm
|
||||
help
|
||||
ARM is a 32-bit reduced instruction set computer (RISC) instruction
|
||||
set architecture (ISA) developed by ARM Holdings. Little endian.
|
||||
ARM is a 32-bit reduced instruction set computer (RISC)
|
||||
instruction set architecture (ISA) developed by ARM Holdings.
|
||||
Little endian.
|
||||
http://www.arm.com/
|
||||
http://en.wikipedia.org/wiki/ARM
|
||||
|
||||
@ -53,8 +54,9 @@ config BR2_armeb
|
||||
bool "ARM (big endian)"
|
||||
# MMU support is set by the subarchitecture file, arch/Config.in.arm
|
||||
help
|
||||
ARM is a 32-bit reduced instruction set computer (RISC) instruction
|
||||
set architecture (ISA) developed by ARM Holdings. Big endian.
|
||||
ARM is a 32-bit reduced instruction set computer (RISC)
|
||||
instruction set architecture (ISA) developed by ARM Holdings.
|
||||
Big endian.
|
||||
http://www.arm.com/
|
||||
http://en.wikipedia.org/wiki/ARM
|
||||
|
||||
@ -76,16 +78,6 @@ config BR2_aarch64_be
|
||||
http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php
|
||||
http://en.wikipedia.org/wiki/ARM
|
||||
|
||||
config BR2_bfin
|
||||
bool "Blackfin"
|
||||
select BR2_ARCH_HAS_FDPIC_SUPPORT
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
|
||||
help
|
||||
The Blackfin is a family of 16 or 32-bit microprocessors developed,
|
||||
manufactured and marketed by Analog Devices.
|
||||
http://www.analog.com/
|
||||
http://en.wikipedia.org/wiki/Blackfin
|
||||
|
||||
config BR2_csky
|
||||
bool "csky"
|
||||
select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
|
||||
@ -113,8 +105,8 @@ config BR2_microblazeel
|
||||
bool "Microblaze AXI (little endian)"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
Soft processor core designed for Xilinx FPGAs from Xilinx. AXI bus
|
||||
based architecture (little endian)
|
||||
Soft processor core designed for Xilinx FPGAs from Xilinx. AXI
|
||||
bus based architecture (little endian)
|
||||
http://www.xilinx.com
|
||||
http://en.wikipedia.org/wiki/Microblaze
|
||||
|
||||
@ -122,8 +114,8 @@ config BR2_microblazebe
|
||||
bool "Microblaze non-AXI (big endian)"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
Soft processor core designed for Xilinx FPGAs from Xilinx. PLB bus
|
||||
based architecture (non-AXI, big endian)
|
||||
Soft processor core designed for Xilinx FPGAs from Xilinx. PLB
|
||||
bus based architecture (non-AXI, big endian)
|
||||
http://www.xilinx.com
|
||||
http://en.wikipedia.org/wiki/Microblaze
|
||||
|
||||
@ -131,7 +123,8 @@ config BR2_mips
|
||||
bool "MIPS (big endian)"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Big endian.
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Big
|
||||
endian.
|
||||
http://www.mips.com/
|
||||
http://en.wikipedia.org/wiki/MIPS_Technologies
|
||||
|
||||
@ -139,7 +132,8 @@ config BR2_mipsel
|
||||
bool "MIPS (little endian)"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Little endian.
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Little
|
||||
endian.
|
||||
http://www.mips.com/
|
||||
http://en.wikipedia.org/wiki/MIPS_Technologies
|
||||
|
||||
@ -148,7 +142,8 @@ config BR2_mips64
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Big endian.
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Big
|
||||
endian.
|
||||
http://www.mips.com/
|
||||
http://en.wikipedia.org/wiki/MIPS_Technologies
|
||||
|
||||
@ -157,7 +152,8 @@ config BR2_mips64el
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Little endian.
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Little
|
||||
endian.
|
||||
http://www.mips.com/
|
||||
http://en.wikipedia.org/wiki/MIPS_Technologies
|
||||
|
||||
@ -180,8 +176,8 @@ config BR2_powerpc
|
||||
bool "PowerPC"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
|
||||
Big endian.
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola
|
||||
alliance. Big endian.
|
||||
http://www.power.org/
|
||||
http://en.wikipedia.org/wiki/Powerpc
|
||||
|
||||
@ -190,8 +186,8 @@ config BR2_powerpc64
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
|
||||
Big endian.
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola
|
||||
alliance. Big endian.
|
||||
http://www.power.org/
|
||||
http://en.wikipedia.org/wiki/Powerpc
|
||||
|
||||
@ -200,8 +196,8 @@ config BR2_powerpc64le
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
|
||||
Little endian.
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola
|
||||
alliance. Little endian.
|
||||
http://www.power.org/
|
||||
http://en.wikipedia.org/wiki/Powerpc
|
||||
|
||||
@ -209,8 +205,9 @@ config BR2_sh
|
||||
bool "SuperH"
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
help
|
||||
SuperH (or SH) is a 32-bit reduced instruction set computer (RISC)
|
||||
instruction set architecture (ISA) developed by Hitachi.
|
||||
SuperH (or SH) is a 32-bit reduced instruction set computer
|
||||
(RISC) instruction set architecture (ISA) developed by
|
||||
Hitachi.
|
||||
http://www.hitachi.com/
|
||||
http://en.wikipedia.org/wiki/SuperH
|
||||
|
||||
@ -218,8 +215,9 @@ config BR2_sparc
|
||||
bool "SPARC"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
SPARC (from Scalable Processor Architecture) is a RISC instruction
|
||||
set architecture (ISA) developed by Sun Microsystems.
|
||||
SPARC (from Scalable Processor Architecture) is a RISC
|
||||
instruction set architecture (ISA) developed by Sun
|
||||
Microsystems.
|
||||
http://www.oracle.com/sun
|
||||
http://en.wikipedia.org/wiki/Sparc
|
||||
|
||||
@ -228,8 +226,9 @@ config BR2_sparc64
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
SPARC (from Scalable Processor Architecture) is a RISC instruction
|
||||
set architecture (ISA) developed by Sun Microsystems.
|
||||
SPARC (from Scalable Processor Architecture) is a RISC
|
||||
instruction set architecture (ISA) developed by Sun
|
||||
Microsystems.
|
||||
http://www.oracle.com/sun
|
||||
http://en.wikipedia.org/wiki/Sparc
|
||||
|
||||
@ -349,56 +348,44 @@ config BR2_BINFMT_ELF
|
||||
depends on BR2_USE_MMU
|
||||
select BR2_BINFMT_SUPPORTS_SHARED
|
||||
help
|
||||
ELF (Executable and Linkable Format) is a format for libraries and
|
||||
executables used across different architectures and operating
|
||||
systems.
|
||||
ELF (Executable and Linkable Format) is a format for libraries
|
||||
and executables used across different architectures and
|
||||
operating systems.
|
||||
|
||||
config BR2_BINFMT_FDPIC
|
||||
bool "FDPIC"
|
||||
depends on BR2_ARCH_HAS_FDPIC_SUPPORT
|
||||
select BR2_BINFMT_SUPPORTS_SHARED
|
||||
help
|
||||
ELF FDPIC binaries are based on ELF, but allow the individual load
|
||||
segments of a binary to be located in memory independently of each
|
||||
other. This makes this format ideal for use in environments where no
|
||||
MMU is available.
|
||||
ELF FDPIC binaries are based on ELF, but allow the individual
|
||||
load segments of a binary to be located in memory
|
||||
independently of each other. This makes this format ideal for
|
||||
use in environments where no MMU is available.
|
||||
|
||||
config BR2_BINFMT_FLAT
|
||||
bool "FLAT"
|
||||
depends on !BR2_USE_MMU
|
||||
help
|
||||
FLAT binary is a relatively simple and lightweight executable format
|
||||
based on the original a.out format. It is widely used in environment
|
||||
where no MMU is available.
|
||||
FLAT binary is a relatively simple and lightweight executable
|
||||
format based on the original a.out format. It is widely used
|
||||
in environment where no MMU is available.
|
||||
|
||||
endchoice
|
||||
|
||||
# Set up flat binary type
|
||||
choice
|
||||
prompt "FLAT Binary type"
|
||||
depends on BR2_BINFMT_FLAT
|
||||
default BR2_BINFMT_FLAT_ONE
|
||||
depends on BR2_BINFMT_FLAT
|
||||
|
||||
config BR2_BINFMT_FLAT_ONE
|
||||
bool "One memory region"
|
||||
help
|
||||
All segments are linked into one memory region.
|
||||
|
||||
config BR2_BINFMT_FLAT_SEP_DATA
|
||||
bool "Separate data and code region"
|
||||
# this FLAT binary type technically exists on m68k, but fails
|
||||
# to build numerous packages: due to architecture limitation,
|
||||
# big functions cannot be built in this mode. They cause build
|
||||
# failures such as "Tried to convert PC relative branch to
|
||||
# absolute jump" or "error: value -yyyyy out of range".
|
||||
depends on BR2_bfin
|
||||
help
|
||||
Allow for the data and text segments to be separated and placed in
|
||||
different regions of memory.
|
||||
|
||||
config BR2_BINFMT_FLAT_SHARED
|
||||
bool "Shared binary"
|
||||
depends on BR2_m68k || BR2_bfin
|
||||
depends on BR2_m68k
|
||||
# Even though this really generates shared binaries, there is no libdl
|
||||
# and dlopen() cannot be used. So packages that require shared
|
||||
# libraries cannot be built. Therefore, we don't select
|
||||
@ -418,10 +405,6 @@ if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
|
||||
source "arch/Config.in.arm"
|
||||
endif
|
||||
|
||||
if BR2_bfin
|
||||
source "arch/Config.in.bfin"
|
||||
endif
|
||||
|
||||
if BR2_csky
|
||||
source "arch/Config.in.csky"
|
||||
endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
choice
|
||||
prompt "Target CPU"
|
||||
depends on BR2_arc
|
||||
default BR2_arc770d
|
||||
depends on BR2_arc
|
||||
help
|
||||
Specific CPU to use
|
||||
|
||||
|
@ -456,9 +456,9 @@ config BR2_ARM_ENABLE_VFP
|
||||
|
||||
choice
|
||||
prompt "Target ABI"
|
||||
depends on BR2_arm || BR2_armeb
|
||||
default BR2_ARM_EABIHF if BR2_ARM_CPU_HAS_VFPV2
|
||||
default BR2_ARM_EABI
|
||||
depends on BR2_arm || BR2_armeb
|
||||
help
|
||||
Application Binary Interface to use. The Application Binary
|
||||
Interface describes the calling conventions (how arguments
|
||||
@ -746,7 +746,6 @@ config BR2_GCC_TARGET_ABI
|
||||
default "lp64" if BR2_aarch64 || BR2_aarch64_be
|
||||
|
||||
config BR2_GCC_TARGET_FPU
|
||||
depends on BR2_arm || BR2_armeb
|
||||
default "vfp" if BR2_ARM_FPU_VFPV2
|
||||
default "vfpv3" if BR2_ARM_FPU_VFPV3
|
||||
default "vfpv3-d16" if BR2_ARM_FPU_VFPV3D16
|
||||
@ -756,6 +755,7 @@ config BR2_GCC_TARGET_FPU
|
||||
default "neon-vfpv4" if BR2_ARM_FPU_NEON_VFPV4
|
||||
default "fp-armv8" if BR2_ARM_FPU_FP_ARMV8
|
||||
default "neon-fp-armv8" if BR2_ARM_FPU_NEON_FP_ARMV8
|
||||
depends on BR2_arm || BR2_armeb
|
||||
|
||||
config BR2_GCC_TARGET_FLOAT_ABI
|
||||
default "soft" if BR2_ARM_SOFT_FLOAT
|
||||
|
@ -1,102 +0,0 @@
|
||||
choice
|
||||
prompt "Target CPU"
|
||||
depends on BR2_bfin
|
||||
default BR2_bf532
|
||||
help
|
||||
Specify target CPU
|
||||
config BR2_bf512
|
||||
bool "bf512"
|
||||
config BR2_bf514
|
||||
bool "bf514"
|
||||
config BR2_bf516
|
||||
bool "bf516"
|
||||
config BR2_bf518
|
||||
bool "bf518"
|
||||
config BR2_bf522
|
||||
bool "bf522"
|
||||
config BR2_bf523
|
||||
bool "bf523"
|
||||
config BR2_bf524
|
||||
bool "bf524"
|
||||
config BR2_bf525
|
||||
bool "bf525"
|
||||
config BR2_bf526
|
||||
bool "bf526"
|
||||
config BR2_bf527
|
||||
bool "bf527"
|
||||
config BR2_bf531
|
||||
bool "bf531"
|
||||
config BR2_bf532
|
||||
bool "bf532"
|
||||
config BR2_bf533
|
||||
bool "bf533"
|
||||
config BR2_bf534
|
||||
bool "bf534"
|
||||
config BR2_bf536
|
||||
bool "bf536"
|
||||
config BR2_bf537
|
||||
bool "bf537"
|
||||
config BR2_bf538
|
||||
bool "bf538"
|
||||
config BR2_bf539
|
||||
bool "bf539"
|
||||
config BR2_bf542
|
||||
bool "bf542"
|
||||
config BR2_bf544
|
||||
bool "bf544"
|
||||
config BR2_bf547
|
||||
bool "bf547"
|
||||
config BR2_bf548
|
||||
bool "bf548"
|
||||
config BR2_bf549
|
||||
bool "bf549"
|
||||
config BR2_bf561
|
||||
bool "bf561"
|
||||
endchoice
|
||||
|
||||
config BR2_ARCH
|
||||
default "bfin"
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default bf606 if BR2_bf606
|
||||
default bf607 if BR2_bf607
|
||||
default bf608 if BR2_bf608
|
||||
default bf609 if BR2_bf609
|
||||
default bf512 if BR2_bf512
|
||||
default bf514 if BR2_bf514
|
||||
default bf516 if BR2_bf516
|
||||
default bf518 if BR2_bf518
|
||||
default bf522 if BR2_bf522
|
||||
default bf523 if BR2_bf523
|
||||
default bf524 if BR2_bf524
|
||||
default bf525 if BR2_bf525
|
||||
default bf526 if BR2_bf526
|
||||
default bf527 if BR2_bf527
|
||||
default bf531 if BR2_bf531
|
||||
default bf532 if BR2_bf532
|
||||
default bf533 if BR2_bf533
|
||||
default bf534 if BR2_bf534
|
||||
default bf536 if BR2_bf536
|
||||
default bf537 if BR2_bf537
|
||||
default bf538 if BR2_bf538
|
||||
default bf539 if BR2_bf539
|
||||
default bf542 if BR2_bf542
|
||||
default bf544 if BR2_bf544
|
||||
default bf547 if BR2_bf547
|
||||
default bf548 if BR2_bf548
|
||||
default bf549 if BR2_bf549
|
||||
default bf561 if BR2_bf561
|
||||
|
||||
config BR2_GCC_TARGET_CPU_REVISION
|
||||
string "Target CPU revision"
|
||||
help
|
||||
Specify a target CPU revision, which will be appended to the
|
||||
value of the -mcpu option. For example, if the selected CPU is
|
||||
bf609, and then selected CPU revision is "0.0", then gcc will
|
||||
receive the -mcpu=bf609-0.0 option.
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Analog Devices Blackfin"
|
@ -15,8 +15,8 @@ config BR2_m68k_cf
|
||||
# coldfire variants will be added later
|
||||
choice
|
||||
prompt "Target CPU"
|
||||
depends on BR2_m68k
|
||||
default BR2_m68k_68040
|
||||
depends on BR2_m68k
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
|
@ -28,9 +28,9 @@ config BR2_MIPS_CPU_MIPS64R6
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
default BR2_mips_32 if BR2_mips || BR2_mipsel
|
||||
default BR2_mips_64 if BR2_mips64 || BR2_mips64el
|
||||
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
@ -115,11 +115,10 @@ config BR2_mips_p6600
|
||||
select BR2_MIPS_CPU_MIPS64R6
|
||||
endchoice
|
||||
|
||||
|
||||
choice
|
||||
prompt "Target ABI"
|
||||
depends on BR2_mips64 || BR2_mips64el
|
||||
default BR2_MIPS_NABI32
|
||||
depends on BR2_mips64 || BR2_mips64el
|
||||
|
||||
help
|
||||
Application Binary Interface to use
|
||||
@ -145,11 +144,11 @@ config BR2_MIPS_SOFT_FLOAT
|
||||
|
||||
choice
|
||||
prompt "FP mode"
|
||||
depends on !BR2_ARCH_IS_64 && !BR2_MIPS_SOFT_FLOAT
|
||||
default BR2_MIPS_FP32_MODE_XX
|
||||
depends on !BR2_ARCH_IS_64 && !BR2_MIPS_SOFT_FLOAT
|
||||
help
|
||||
MIPS32 supports different FP modes (32,xx,64). Information about FP
|
||||
modes can be found here:
|
||||
MIPS32 supports different FP modes (32,xx,64). Information
|
||||
about FP modes can be found here:
|
||||
https://sourceware.org/binutils/docs/as/MIPS-Options.html
|
||||
https://dmz-portal.imgtec.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking#5._Generating_modeless_code
|
||||
|
||||
@ -180,8 +179,8 @@ config BR2_MIPS_NAN_2008
|
||||
|
||||
choice
|
||||
prompt "Target NaN"
|
||||
depends on BR2_mips_32r5 || BR2_mips_64r5
|
||||
default BR2_MIPS_ENABLE_NAN_2008
|
||||
depends on BR2_mips_32r5 || BR2_mips_64r5
|
||||
help
|
||||
MIPS supports two different NaN encodings, legacy and 2008.
|
||||
Information about MIPS NaN encodings can be found here:
|
||||
|
@ -71,12 +71,12 @@ config BR2_powerpc_740
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_7400
|
||||
bool "7400"
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_7450
|
||||
bool "7450"
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_750
|
||||
bool "750"
|
||||
depends on !BR2_ARCH_IS_64
|
||||
|
@ -1,7 +1,7 @@
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_sh
|
||||
default BR2_sh4
|
||||
depends on BR2_sh
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_sparc || BR2_sparc64
|
||||
default BR2_sparc_v8 if BR2_sparc
|
||||
default BR2_sparc_v9 if BR2_sparc64
|
||||
depends on BR2_sparc || BR2_sparc64
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
|
@ -20,8 +20,8 @@ config BR2_X86_CPU_HAS_AVX2
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
default BR2_x86_i586 if BR2_i386
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
@ -50,35 +50,35 @@ config BR2_x86_pentiumpro
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_pentium_mmx
|
||||
bool "pentium MMX"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
config BR2_x86_pentium_m
|
||||
bool "pentium mobile"
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_pentium2
|
||||
bool "pentium2"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
config BR2_x86_pentium3
|
||||
bool "pentium3"
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_pentium4
|
||||
bool "pentium4"
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_prescott
|
||||
bool "prescott"
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_nocona
|
||||
bool "nocona"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@ -140,21 +140,21 @@ config BR2_x86_silvermont
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
config BR2_x86_k6
|
||||
bool "k6"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
config BR2_x86_k6_2
|
||||
bool "k6-2"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
config BR2_x86_athlon
|
||||
bool "athlon"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
config BR2_x86_athlon_4
|
||||
bool "athlon-4"
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_opteron
|
||||
bool "opteron"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@ -198,21 +198,21 @@ config BR2_x86_geode
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_c3
|
||||
bool "Via/Cyrix C3 (Samuel/Ezra cores)"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
config BR2_x86_c32
|
||||
bool "Via C3-2 (Nehemiah cores)"
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
depends on !BR2_x86_64
|
||||
config BR2_x86_winchip_c6
|
||||
bool "IDT Winchip C6"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
config BR2_x86_winchip2
|
||||
bool "IDT Winchip 2"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
endchoice
|
||||
|
||||
config BR2_ARCH
|
||||
|
@ -1,15 +1,15 @@
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
depends on BR2_xtensa
|
||||
default BR2_xtensa_fsf
|
||||
depends on BR2_xtensa
|
||||
|
||||
config BR2_XTENSA_CUSTOM
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
bool "Custom Xtensa processor configuration"
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
|
||||
config BR2_xtensa_fsf
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
bool "fsf - Default configuration"
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
endchoice
|
||||
|
||||
@ -20,18 +20,18 @@ config BR2_XTENSA_OVERLAY_FILE
|
||||
Enter the path to the overlay tarball for a custom processor
|
||||
configuration.
|
||||
|
||||
These overlay files are tar packages with updated configuration
|
||||
files for various toolchain packages and Xtensa processor
|
||||
configurations. They are provided by the processor vendor or
|
||||
directly from Tensilica.
|
||||
These overlay files are tar packages with updated
|
||||
configuration files for various toolchain packages and Xtensa
|
||||
processor configurations. They are provided by the processor
|
||||
vendor or directly from Tensilica.
|
||||
|
||||
The path can be either absolute, or relative to the top directory
|
||||
of buildroot.
|
||||
The path can be either absolute, or relative to the top
|
||||
directory of buildroot.
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Endianness"
|
||||
depends on BR2_XTENSA_CUSTOM
|
||||
default BR2_XTENSA_LITTLE_ENDIAN
|
||||
depends on BR2_XTENSA_CUSTOM
|
||||
|
||||
config BR2_XTENSA_LITTLE_ENDIAN
|
||||
bool "Little endian"
|
||||
|
@ -12,7 +12,7 @@
|
||||
BR_ARCH_XTENSA_OVERLAY_FILE = $(call qstrip,$(BR2_XTENSA_OVERLAY_FILE))
|
||||
ifneq ($(filter http://% https://% ftp://% scp://%,$(BR_ARCH_XTENSA_OVERLAY_FILE)),)
|
||||
ARCH_XTENSA_OVERLAY_URL = $(BR_ARCH_XTENSA_OVERLAY_FILE)
|
||||
ARCH_XTENSA_OVERLAY_FILE = $(DL_DIR)/$(notdir $(BR_ARCH_XTENSA_OVERLAY_FILE))
|
||||
ARCH_XTENSA_OVERLAY_FILE = $($(PKG)_DL_DIR)/$(notdir $(BR_ARCH_XTENSA_OVERLAY_FILE))
|
||||
# Do not check that file, we can't know its hash
|
||||
BR_NO_CHECK_HASH_FOR += $(notdir $(ARCH_XTENSA_OVERLAY_URL))
|
||||
else
|
||||
|
4
buildroot/board/amarula/vyasa/extlinux.conf
Normal file
4
buildroot/board/amarula/vyasa/extlinux.conf
Normal file
@ -0,0 +1,4 @@
|
||||
label Vyasa linux-next
|
||||
kernel /boot/uImage
|
||||
devicetree /boot/rk3288-vyasa.dtb
|
||||
append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
|
21
buildroot/board/amarula/vyasa/genimage.cfg
Normal file
21
buildroot/board/amarula/vyasa/genimage.cfg
Normal file
@ -0,0 +1,21 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-tpl-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-tpl-spl-dtb.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-dtb.img"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
3
buildroot/board/amarula/vyasa/linux_gmac.fragment
Normal file
3
buildroot/board/amarula/vyasa/linux_gmac.fragment
Normal file
@ -0,0 +1,3 @@
|
||||
# Currently mainline kernel exhibits issues when running rockchip gmac
|
||||
# on the board, so enable it as loadable module and insert it later
|
||||
CONFIG_DWMAC_ROCKCHIP=m
|
9
buildroot/board/amarula/vyasa/post-build.sh
Executable file
9
buildroot/board/amarula/vyasa/post-build.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
MKIMAGE=$HOST_DIR/bin/mkimage
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
$MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-tpl.bin $BINARIES_DIR/u-boot-tpl.img
|
||||
cat $BINARIES_DIR/u-boot-tpl.img $BINARIES_DIR/u-boot-spl-dtb.bin > $BINARIES_DIR/u-boot-tpl-spl-dtb.img
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
|
31
buildroot/board/amarula/vyasa/readme.txt
Normal file
31
buildroot/board/amarula/vyasa/readme.txt
Normal file
@ -0,0 +1,31 @@
|
||||
Vyasa RK3288
|
||||
============
|
||||
|
||||
Vyasa is RK3288 based Single board computer with fully supported opensource software.
|
||||
|
||||
https://openedev.amarulasolutions.com/display/ODWIKI/Vyasa+RK3288
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
$ make amarula_vyasa_rk3288_defconfig
|
||||
|
||||
Then you can edit the build options using
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Compile all and build rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
Prepare your SDCard
|
||||
===================
|
||||
|
||||
Buildroot generates a ready-to-use SD card image that you can flash directly to
|
||||
the card. The image will be in output/images/sdcard.img.
|
||||
You can write this image directly to an SD card device (i.e. /dev/xxx):
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/xxx
|
||||
$ sudo sync
|
||||
|
||||
Finally, you can insert the SD card to the Vyasa RK3288 board, close J4 and boot it.
|
6
buildroot/board/arcturus/aarch64-ucls1012a/post-image.sh
Executable file
6
buildroot/board/arcturus/aarch64-ucls1012a/post-image.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
MKIMAGE=${HOST_DIR}/usr/bin/mkimage
|
||||
MKIMAGE_IN=${BINARIES_DIR}/br2-ucls1012a.its
|
||||
MKIMAGE_OUT=${BINARIES_DIR}/part0-000000.itb
|
||||
${MKIMAGE} -f ${MKIMAGE_IN} ${MKIMAGE_OUT}
|
74
buildroot/board/arcturus/aarch64-ucls1012a/readme.txt
Normal file
74
buildroot/board/arcturus/aarch64-ucls1012a/readme.txt
Normal file
@ -0,0 +1,74 @@
|
||||
Arcturus uCLS1012A SoM
|
||||
======================
|
||||
|
||||
This tutorial describes how to use the predefined Buildroot
|
||||
configuration for the Arcturus uCLS101A SoM platform.
|
||||
|
||||
Additional information about the uCLS1012A System on Module can be found at
|
||||
https://www.arcturusnetworks.com/products/ucls1012a
|
||||
and product support for registered users at
|
||||
https://www.arcturusnetworks.com/support
|
||||
|
||||
Building
|
||||
--------
|
||||
|
||||
Return to the top directory <buildrootdir> and execute the following commands.
|
||||
|
||||
make arcturus_ucls1012a_defconfig
|
||||
make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- arc-ucls1012a.dtb
|
||||
+-- Image
|
||||
+-- part0-000000.itb
|
||||
+-- rootfs.cpio
|
||||
+-- rootfs.cpio.gz
|
||||
+-- rootfs.tar
|
||||
+-- u-boot.bin
|
||||
+-- ucls1012a.its
|
||||
|
||||
Flashing
|
||||
--------
|
||||
|
||||
You'll need to program the image created by buildroot into the SPI NOR flash.
|
||||
|
||||
1. Reboot your module and via the serial console press <escape> to enter the B$
|
||||
u-boot shell.
|
||||
From the shell you will need to update four environment variables replacing the
|
||||
IPv4 IP Address with ones that will work with your network and tftp server.
|
||||
|
||||
B$ setenv ipaddr 192.168.1.81
|
||||
B$ setenv serverip 192.168.1.80
|
||||
B$ setenv gatewayip 192.168.1.1
|
||||
B$ setenv netmask 255.255.255.0
|
||||
B$ saveenv
|
||||
|
||||
2. Enable tftp server to serve the <buildrootdir>/output/images/ folder.
|
||||
|
||||
3. Program the new U-Boot binary (optional)
|
||||
If you don't feel confident upgrading your bootloader then don't do it,
|
||||
it's unnecessary most of the time.
|
||||
|
||||
B$ tftp u-boot.bin
|
||||
B$ run program_uboot
|
||||
|
||||
4. Program the ITB image (includes Kernel, DTB and Ramdisk)
|
||||
|
||||
B$ tftp part0-000000.itb
|
||||
B$ run iprogram
|
||||
|
||||
5. Booting your new system
|
||||
|
||||
Reboot your system by reset command
|
||||
B$ reset
|
||||
|
||||
or
|
||||
|
||||
B$ run bootcmd
|
||||
|
||||
Good Luck !
|
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
case "$1" in
|
||||
start)
|
||||
modprobe pfe
|
||||
;;
|
||||
stop)
|
||||
;;
|
||||
restart|reload)
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
esac
|
4
buildroot/board/asus/tinker/extlinux.conf
Normal file
4
buildroot/board/asus/tinker/extlinux.conf
Normal file
@ -0,0 +1,4 @@
|
||||
label Tinker linux-next
|
||||
kernel /boot/uImage
|
||||
devicetree /boot/rk3288-tinker.dtb
|
||||
append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
|
15
buildroot/board/asus/tinker/genimage.cfg
Normal file
15
buildroot/board/asus/tinker/genimage.cfg
Normal file
@ -0,0 +1,15 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-spl-dtb.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
9
buildroot/board/asus/tinker/post-build.sh
Executable file
9
buildroot/board/asus/tinker/post-build.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
MKIMAGE=$HOST_DIR/bin/mkimage
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
$MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-spl-dtb.bin $BINARIES_DIR/u-boot-spl-dtb.img
|
||||
cat $BINARIES_DIR/u-boot-dtb.bin >> $BINARIES_DIR/u-boot-spl-dtb.img
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
|
37
buildroot/board/asus/tinker/readme.txt
Normal file
37
buildroot/board/asus/tinker/readme.txt
Normal file
@ -0,0 +1,37 @@
|
||||
Tinker RK3288
|
||||
=============
|
||||
|
||||
Tinker Board is a Single Board Computer (SBC) in an ultra-small form
|
||||
factor that offers class-leading performance while leveraging outstanding
|
||||
mechanical compatibility.
|
||||
|
||||
Tinker link:
|
||||
https://www.asus.com/in/Single-Board-Computer/Tinker-Board/
|
||||
|
||||
Wiki link:
|
||||
https://openedev.amarulasolutions.com/display/ODWIKI/Tinker+RK3288
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
$ make asus_tinker_rk3288_defconfig
|
||||
|
||||
Then you can edit the build options using
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Compile all and build rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
Prepare your SDCard
|
||||
===================
|
||||
|
||||
Buildroot generates a ready-to-use SD card image that you can flash directly to
|
||||
the card. The image will be in output/images/sdcard.img.
|
||||
You can write this image directly to an SD card device (i.e. /dev/xxx):
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/xxx
|
||||
$ sudo sync
|
||||
|
||||
Finally, you can insert the SD card to the Tinker RK3288 board and boot it.
|
@ -4,6 +4,10 @@ BUILDIR=$1
|
||||
TTY=$2
|
||||
BOARD=$3
|
||||
|
||||
family_at91sam9260ek="at91sam9260ek"
|
||||
mach_at91sam9260ek="at91sam9260-ek"
|
||||
dtb_at91sam9260ek="at91sam9260ek.dtb"
|
||||
|
||||
family_at91sam9g45m10ek="at91sam9m10g45ek"
|
||||
mach_at91sam9g45m10ek="at91sam9m10-g45-ek"
|
||||
dtb_at91sam9g45m10ek="at91sam9m10g45ek.dtb"
|
||||
@ -16,6 +20,10 @@ family_at91sam9g15ek="at91sam9x5ek"
|
||||
mach_at91sam9g15ek="at91sam9g15-ek"
|
||||
dtb_at91sam9g15ek="at91sam9g15ek.dtb"
|
||||
|
||||
family_at91sam9g20ek="at91sam9g20ek"
|
||||
mach_at91sam9g20ek="at91sam9g20-ek"
|
||||
dtb_at91sam9g20ek="at91sam9g20ek.dtb"
|
||||
|
||||
family_at91sam9g25ek="at91sam9x5ek"
|
||||
mach_at91sam9g25ek="at91sam9g25-ek"
|
||||
dtb_at91sam9g25ek="at91sam9g25ek.dtb"
|
||||
@ -90,9 +98,11 @@ Usage:
|
||||
$0 <builddir_path> <interface> <board>
|
||||
|
||||
Available boards:
|
||||
at91sam9260ek
|
||||
at91sam9g45m10ek
|
||||
at91sam9rlek
|
||||
at91sam9g15ek
|
||||
at91sam9g20ek
|
||||
at91sam9g25ek
|
||||
at91sam9x25ek
|
||||
at91sam9g35ek
|
||||
@ -130,7 +140,6 @@ if [[ $BOARD == "*pda4" ]]; then
|
||||
video_mode="video=LVDS-1:480x272-16"
|
||||
fi
|
||||
|
||||
echo "Executing: ${!F} O=$1/images $1/host/opt/sam-ba/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode"
|
||||
echo "Executing: ${!F} O=$1/images $1/host/bin/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode"
|
||||
export O=$1/images
|
||||
$1/host/opt/sam-ba/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode
|
||||
|
||||
$1/host/bin/sam-ba $TTY ${!M} $(dirname $0)/nandflash.tcl -- ${!F} ${!D} $video_mode
|
||||
|
@ -1,4 +1,8 @@
|
||||
bootpart=0:1
|
||||
devtype=mmc
|
||||
bootdir=
|
||||
bootargs=console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
|
||||
uenvcmd=run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr};
|
||||
bootfile=zImage
|
||||
bootpartition=mmcblk0p2
|
||||
set_mmc1=if test $board_name = A33515BB; then setenv bootpartition mmcblk1p2; fi
|
||||
set_bootargs=setenv bootargs console=ttyO0,115200n8 root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
|
||||
uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr}
|
||||
|
@ -1,12 +0,0 @@
|
||||
# Minimal SD card image
|
||||
#
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copy to target
|
||||
cp ${BINARIES_DIR}/vmlinux.gz.itb ${TARGET_DIR}/fitImage
|
@ -1,65 +0,0 @@
|
||||
*********************
|
||||
* MIPS Creator CI40 *
|
||||
*********************
|
||||
|
||||
This document details how to build and run a Buildroot system on the
|
||||
MIPS Creator CI40 platform. For more details about the CI40, see
|
||||
https://creatordev.io/ci40-iot-hub.html.
|
||||
|
||||
How to build
|
||||
------------
|
||||
|
||||
$ make ci40_defconfig
|
||||
$ make
|
||||
|
||||
Prepare USB/MMC for boot
|
||||
------------------------
|
||||
|
||||
On successful build, "sdcard.img" file will be created in 'output/images'
|
||||
folder.
|
||||
|
||||
Use following command to write image to bootable device
|
||||
|
||||
$ sudo dd if=./output/images/sdcard.img of=/dev/<your-microsd-or-usb-device>
|
||||
|
||||
Booting from USB/MMC
|
||||
--------------------
|
||||
|
||||
The boot loader is already present in NOR flash. To boot your newly generated
|
||||
Linux and root filesystem, you need to interrupt U-Boot autoboot. Current
|
||||
U-Boot is configured with 2 seconds of boot-delay, after expiry of this
|
||||
boot-delay timeout U-Boot starts booting the default image. To interrupt
|
||||
autoboot, press any key before the boot-delay time expires, U-Boot will
|
||||
stop the autoboot process and give a U-Boot prompt. You can now boot to
|
||||
your preferred boot method as describe below:
|
||||
|
||||
From USB
|
||||
pistachio # run usbboot
|
||||
|
||||
From SD-Card
|
||||
pistachio # run mmcboot
|
||||
|
||||
Persistent boot command
|
||||
-----------------------
|
||||
|
||||
To boot automatically to your preferred boot method, use following command to
|
||||
make it persistent, for example to automatically boot to usb:
|
||||
|
||||
pistachio # setenv bootcmd run usbboot
|
||||
pistachio # saveenv
|
||||
|
||||
Flash new bootloader
|
||||
--------------------
|
||||
|
||||
The bootloader image will be available in the 'output/images' folder. To flash
|
||||
the new bootloader, copy it to the device and use the following command on the
|
||||
device:
|
||||
|
||||
# flashcp -v u-boot-pistachio_marduk-<version>.img /dev/mtd0
|
||||
|
||||
Online docs
|
||||
-----------
|
||||
|
||||
Mostly for OpenWRT but it is applicable to Buildroot
|
||||
https://docs.creatordev.io/ci40/guides/openwrt-platform/#overview
|
||||
|
@ -1,46 +0,0 @@
|
||||
Buildroot for Embest RIoTboard
|
||||
==============================
|
||||
|
||||
1. Compiling buildroot
|
||||
----------------------
|
||||
|
||||
make riotboard_defconfig
|
||||
make
|
||||
|
||||
2. Installing buildroot
|
||||
-----------------------
|
||||
|
||||
Prepare an SD-card and plug it into your card reader. Write the bootloader to
|
||||
your SD-card:
|
||||
|
||||
sudo dd if=output/images/u-boot.imx of=/dev/sdX bs=1k seek=1
|
||||
|
||||
Create 1 partition on the SD-card using your favourite tool. The
|
||||
partition should be big enough to hold your rootfs, for example
|
||||
128MiB. Here's an example partition layout:
|
||||
|
||||
Device Boot Start End Blocks Id System
|
||||
/dev/sdX1 2048 264191 131072 83 Linux
|
||||
|
||||
Format the SD-card partition with your favourite filesystem:
|
||||
|
||||
sudo mkfs.ext2 /dev/sdX1
|
||||
|
||||
Deploy your rootfs to the SD-card:
|
||||
|
||||
sudo mkdir /mnt/sdcard/
|
||||
sudo mount /dev/sdX1 /mnt/sdcard/
|
||||
sudo tar xf output/images/rootfs.tar -C /mnt/sdcard/
|
||||
sudo umount /dev/sdX1
|
||||
|
||||
3. Running buildroot
|
||||
--------------------
|
||||
|
||||
Position the board so you can read the label "RIoTboard" on the right side of
|
||||
SW1 DIP switches. Configure the SW1 swiches like this:
|
||||
|
||||
10100101 (1 means ON position, 0 means OFF position)
|
||||
|
||||
Now plug your prepared SD-card in slot J6. Connect a serial console (115200, 8,
|
||||
N, 1) to header J18. Connect a 5V/1A power supply to the board and enjoy your
|
||||
new toy.
|
@ -1,6 +0,0 @@
|
||||
default buildroot
|
||||
|
||||
label buildroot
|
||||
kernel /boot/uImage
|
||||
devicetree /boot/imx6dl-riotboard.dtb
|
||||
append console=ttymxc1,115200 root=/dev/mmcblk0p1 rw
|
@ -1,6 +0,0 @@
|
||||
default firefly-rk3288
|
||||
|
||||
label firefly-rk3288
|
||||
kernel /boot/uImage
|
||||
devicetree /boot/rk3288-firefly.dtb
|
||||
append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
|
@ -1,3 +0,0 @@
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
|
@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
MKIMAGE=$HOST_DIR/bin/mkimage
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/sd-image.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
$MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-spl-dtb.bin $BINARIES_DIR/u-boot-spl-dtb.img
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
exit $?
|
@ -1,40 +0,0 @@
|
||||
Firefly RK3288
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
$ make firefly_rk3288_defconfig
|
||||
|
||||
Then you can edit the build options using
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Compile all and build rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should get a tree like this:
|
||||
|
||||
output/images/
|
||||
├── rk3288-firefly.dtb
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── sdcard.img
|
||||
├── u-boot-dtb.img
|
||||
├── u-boot-spl-dtb.bin
|
||||
├── u-boot-spl-dtb.img
|
||||
└── uImage
|
||||
|
||||
Prepare your SDCard
|
||||
===================
|
||||
|
||||
Buildroot generates a ready-to-use SD card image that you can flash directly to
|
||||
the card. The image will be in output/images/sdcard.img.
|
||||
You can write this image directly to an SD card device (i.e. /dev/xxx):
|
||||
|
||||
$ dd if=output/images/sdcard.img of=/dev/xxx
|
||||
|
||||
Finally, you can insert the SD card to the Firefly RK3288 board and boot it.
|
@ -1,22 +0,0 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-spl-dtb.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-dtb.img"
|
||||
offset = 128K
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Minimal SD card image for the Freescale iMX8 boards
|
||||
#
|
||||
# We mimic the .sdcard Freescale's image format:
|
||||
# * the SD card must have 33 kB free space at the beginning,
|
||||
# * U-Boot is integrated into imx8-boot-sd.bin and is dumped as is,
|
||||
# * a FAT partition at offset 32MB is containing Image and DTB files
|
||||
# * a single root filesystem partition is required (ext2, ext3 or ext4)
|
||||
#
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
%FILES%
|
||||
}
|
||||
}
|
||||
size = 32M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition imx-boot {
|
||||
in-partition-table = "no"
|
||||
image = "imx8-boot-sd.bin"
|
||||
offset = 33K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
offset = 8M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
16
buildroot/board/freescale/common/imx/imx8-bootloader-prepare.sh
Executable file
16
buildroot/board/freescale/common/imx/imx8-bootloader-prepare.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
main ()
|
||||
{
|
||||
# Currently we support imx8mqevk.
|
||||
cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/lpddr4_pmu_train_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin
|
||||
BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot.bin ${HOST_DIR}/bin/mkimage_fit_atf.sh ${BINARIES_DIR}/fsl-imx8mq-evk.dtb > ${BINARIES_DIR}/u-boot.its
|
||||
${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb
|
||||
rm -f ${BINARIES_DIR}/u-boot.its
|
||||
|
||||
${HOST_DIR}/bin/mkimage_imx8 -fit -signed_hdmi ${BINARIES_DIR}/signed_hdmi_imx8m.bin -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x7E1000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
|
||||
|
||||
exit $?
|
||||
}
|
||||
|
||||
main $@
|
@ -7,10 +7,10 @@
|
||||
#
|
||||
dtb_list()
|
||||
{
|
||||
local DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})"
|
||||
local DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([\/a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})"
|
||||
|
||||
for dt in $DTB_LIST; do
|
||||
echo -n "\"$dt.dtb\", "
|
||||
echo -n "\"`basename $dt`.dtb\", "
|
||||
done
|
||||
}
|
||||
|
||||
@ -23,6 +23,8 @@ linux_image()
|
||||
{
|
||||
if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" ${BR2_CONFIG}; then
|
||||
echo "\"uImage\""
|
||||
elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" ${BR2_CONFIG}; then
|
||||
echo "\"Image\""
|
||||
else
|
||||
echo "\"zImage\""
|
||||
fi
|
||||
@ -30,7 +32,9 @@ linux_image()
|
||||
|
||||
genimage_type()
|
||||
{
|
||||
if grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then
|
||||
if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then
|
||||
echo "genimage.cfg.template_imx8"
|
||||
elif grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then
|
||||
echo "genimage.cfg.template_spl"
|
||||
else
|
||||
echo "genimage.cfg.template"
|
||||
|
@ -1 +0,0 @@
|
||||
# CONFIG_FB_MXS is not set
|
@ -1,92 +0,0 @@
|
||||
**************************************
|
||||
Freescale i.MX31 PDK development board
|
||||
**************************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale i.MX31 PDK in "3
|
||||
stack" configuration.
|
||||
|
||||
The i.MX31 Product Development Kit (or PDK) is Freescale development board [1]
|
||||
based on the i.MX31 application processor [2].
|
||||
|
||||
For more details on the i.MX31 PDK board, refer to the User's Guide [3].
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for your i.MX31 PDK board:
|
||||
|
||||
make freescale_imx31_3stack_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find in ./output/images/ the following files:
|
||||
- rootfs.cpio
|
||||
- rootfs.cpio.gz
|
||||
- rootfs.tar
|
||||
- zImage
|
||||
|
||||
The generated zImage does include the rootfs.
|
||||
|
||||
Boot the PDK board
|
||||
==================
|
||||
|
||||
The i.MX31 PDK contains a RedBoot bootloader in flash, which can be used to
|
||||
boot the newly created Buildroot images from the network.
|
||||
|
||||
This necessitates to setup a TFTP server first. This setup is explained for
|
||||
example in Freescale i.MX31 PDK 1.5 Linux User's Guide [4].
|
||||
|
||||
Here is a sample RedBoot configuration, for proper network boot of Buildroot on
|
||||
the i.MX31 PDK:
|
||||
|
||||
RedBoot> fconfig -l
|
||||
Run script at boot: true
|
||||
Boot script:
|
||||
.. load -r -b 0x100000 zImage
|
||||
.. exec -c "console=ttymxc0,115200"
|
||||
|
||||
Boot script timeout (1000ms resolution): 2
|
||||
Use BOOTP for network configuration: false
|
||||
Gateway IP address: <your gateway IP address>
|
||||
Local IP address: <your PDK IP address>
|
||||
Local IP address mask: 255.255.255.0
|
||||
Default server IP address: <your TFTP server IP address>
|
||||
Board specifics: 0
|
||||
Console baud rate: 115200
|
||||
Set eth0 network hardware address [MAC]: false
|
||||
GDB connection port: 9000
|
||||
Force console for special debug messages: false
|
||||
Network debug at boot time: false
|
||||
|
||||
Adapt those settings to your network configuration by replacing the appropriate
|
||||
network addresses where necessary.
|
||||
|
||||
You might want to verify that your i.MX31 PDK switches settings are the correct
|
||||
ones for UART, power, boot mode, etc. Here is a reference switches
|
||||
configuration:
|
||||
|
||||
SW4
|
||||
1 2 3 4 5 6 7 8
|
||||
ON off off off off off off ON
|
||||
|
||||
SW5 SW6 SW7 SW8 SW9 SW10
|
||||
0 1 0 0 0 0
|
||||
|
||||
See the i.MX31 PDK Linux Quick Start Guide [5] for more details on the switches
|
||||
settings.
|
||||
|
||||
Connect a serial terminal set to 115200n8 and power on the i.MX31 PDK board.
|
||||
Buildroot will present a login prompt on the serial port.
|
||||
|
||||
Enjoy!
|
||||
|
||||
References
|
||||
==========
|
||||
|
||||
[1] http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31PDK
|
||||
[2] http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31
|
||||
[3] http://cache.freescale.com/files/32bit/doc/user_guide/pdk15_imx31_Hardware_UG.pdf
|
||||
[4] http://cache.freescale.com/files/32bit/doc/support_info/IMX31_PDK15_LINUXDOCS_BUNDLE.zip, pdk15_imx31__Linux_UG.pdf
|
||||
[5] http://www.freescale.com/files/32bit/doc/quick_ref_guide/PDK14LINUXQUICKSTART.pdf
|
@ -0,0 +1,55 @@
|
||||
From 24ba28680abe868e8db3442a9bf523ad3af1febd Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
Date: Fri, 9 Mar 2018 08:25:00 -0300
|
||||
Subject: [PATCH] imximage: Remove failure when no IVT offset is found
|
||||
|
||||
Sometimes imximage throws the following error:
|
||||
|
||||
CFGS board/freescale/vf610twr/imximage.cfg.cfgtmp
|
||||
CFGS board/freescale/vf610twr/imximage.cfg.cfgtmp
|
||||
MKIMAGE u-boot-dtb.imx
|
||||
Error: No BOOT_FROM tag in board/freescale/vf610twr/imximage.cfg.cfgtmp
|
||||
arch/arm/mach-imx/Makefile:100: recipe for target 'u-boot-dtb.imx' failed
|
||||
|
||||
Later on, when running mkimage for the u-boot.imx it will succeed in
|
||||
finding the IVT offset.
|
||||
|
||||
Looks like some race condition happening during parallel build when
|
||||
processing mkimage for u-boot-dtb.imx and u-boot.imx.
|
||||
|
||||
A proper fix still needs to be implemented, but as a workaround let's
|
||||
remove the error when the IVT offset is not found.
|
||||
|
||||
It is useful to have such message, especially during bring-up phase,
|
||||
but the build error that it causes is severe, so better avoid the
|
||||
build error for now.
|
||||
|
||||
The error checking can be re-implemented later when we have a proper
|
||||
fix.
|
||||
|
||||
Reported-by: Breno Lima <breno.lima@nxp.com>
|
||||
Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
---
|
||||
tools/imximage.c | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/tools/imximage.c b/tools/imximage.c
|
||||
index 0c43196..bef56f8 100644
|
||||
--- a/tools/imximage.c
|
||||
+++ b/tools/imximage.c
|
||||
@@ -765,11 +765,6 @@ static uint32_t parse_cfg_file(struct imx_header *imxhdr, char *name)
|
||||
(*set_dcd_rst)(imxhdr, dcd_len, name, lineno);
|
||||
fclose(fd);
|
||||
|
||||
- /* Exit if there is no BOOT_FROM field specifying the flash_offset */
|
||||
- if (imximage_ivt_offset == FLASH_OFFSET_UNDEFINED) {
|
||||
- fprintf(stderr, "Error: No BOOT_FROM tag in %s\n", name);
|
||||
- exit(EXIT_FAILURE);
|
||||
- }
|
||||
return dcd_len;
|
||||
}
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
86
buildroot/board/freescale/imx8mqevk/readme.txt
Normal file
86
buildroot/board/freescale/imx8mqevk/readme.txt
Normal file
@ -0,0 +1,86 @@
|
||||
***************************
|
||||
Freescale i.MX8MQ EVK board
|
||||
***************************
|
||||
|
||||
This file documents the Buildroot support for the Freescale i.MX8MQ
|
||||
EVK board.
|
||||
|
||||
Hardware support
|
||||
================
|
||||
|
||||
Currently only basic support for hardware is available, currently no
|
||||
support for GPU, VPU and other HW features.
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for the i.MX8MQ EVK board:
|
||||
|
||||
make freescale_imx8mqevk_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
make
|
||||
|
||||
You will find in output/images/ the following files:
|
||||
- bl31.bin
|
||||
- boot.vfat
|
||||
- fsl-imx8mq-evk.dtb
|
||||
- Image
|
||||
- imx-boot-imx8mqevk-sd.bin
|
||||
- lpddr4_pmu_train_fw.bin
|
||||
- rootfs.ext2
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- signed_hdmi_imx8m.bin
|
||||
- u-boot.bin
|
||||
- u-boot.imx
|
||||
- u-boot-nodtb.bin
|
||||
- u-boot-spl-ddr.bin
|
||||
|
||||
Create a bootable SD card
|
||||
=========================
|
||||
|
||||
To determine the device associated to the SD card have a look in the
|
||||
/proc/partitions file:
|
||||
|
||||
cat /proc/partitions
|
||||
|
||||
Buildroot prepares a bootable "sdcard.img" image in the output/images/
|
||||
directory, ready to be dumped on a SD card. Launch the following
|
||||
command as root:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
|
||||
*** WARNING! This will destroy all the card content. Use with care! ***
|
||||
|
||||
For details about the medium image layout, see the definition in
|
||||
board/freescale/common/imx/genimage.cfg.template_imx8.
|
||||
|
||||
Boot the i.MX8MQ EVK board
|
||||
==========================
|
||||
|
||||
To boot your newly created system:
|
||||
- insert the SD card in the SD slot of the board;
|
||||
- Configure the switches as follows:
|
||||
SW801: ON ON OFF OFF
|
||||
SW802: ON OFF
|
||||
- put a micro USB cable into the Debug USB Port and connect using a terminal
|
||||
emulator at 115200 bps, 8n1;
|
||||
- power on the board.
|
||||
|
||||
Enable HDMI output
|
||||
==================
|
||||
|
||||
To enable HDMI output at boot you must provide the video kernel boot
|
||||
argument. To set the video boot argument from U-Boot run after
|
||||
stoping in U-Boot prompt:
|
||||
|
||||
setenv mmcargs 'setenv bootargs console=${console} root=${mmcroot} video=HDMI-A-1:1920x1080-32@60'
|
||||
saveenv
|
||||
reset
|
||||
|
||||
Change screen resolution to suit your connected display.
|
||||
|
||||
Enjoy!
|
@ -1,70 +0,0 @@
|
||||
CONFIG_FSL_EMB_PERFMON=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_SYSCTL_SYSCALL=y
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_MODULES=y
|
||||
# CONFIG_PPC_CHRP is not set
|
||||
# CONFIG_PPC_PMAC is not set
|
||||
CONFIG_PPC_83xx=y
|
||||
CONFIG_MPC831x_RDB=y
|
||||
CONFIG_MCU_MPC8349EMITX=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
# CONFIG_PCIEASPM is not set
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_AMDSTD=y
|
||||
CONFIG_MTD_PHYSMAP_OF=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_FSL_ELBC=y
|
||||
CONFIG_SCSI_MQ_DEFAULT=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_CONSTANTS=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_FSL=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_GIANFAR=y
|
||||
CONFIG_REALTEK_PHY=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MPC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_FSL_SPI=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_MPC8XXX=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_8xxx_WDT=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_FSL=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_DS1307=y
|
||||
CONFIG_RTC_DRV_GENERIC=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_FSL_DMA=y
|
||||
CONFIG_ASYNC_TX_DMA=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_SQUASHFS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_CRYPTO_DEV_TALITOS=y
|
@ -1,40 +0,0 @@
|
||||
You'll need to program the files created by buildroot into the flash.
|
||||
The fast way is to tftp transfer the files via one of the network interfaces.
|
||||
|
||||
Alternatively you can transfer the files via serial console with an Ymodem
|
||||
file transfer from your terminal program by using a "loady" command
|
||||
from the u-boot prompt instead of the "tftp ..." commands stated below.
|
||||
Beware that serial console file transfers are quite slow!
|
||||
|
||||
1. Program the kernel to NAND flash
|
||||
|
||||
=> tftp $loadaddr uImage
|
||||
=> nand erase 0x100000 0x1e0000
|
||||
=> nand write $loadaddr 0x100000 0x1e0000
|
||||
|
||||
2. Program the DTB to NAND flash
|
||||
|
||||
=> tftp $loadaddr mpc8315erdb.dtb
|
||||
=> nand erase 0x2e0000 0x20000
|
||||
=> nand write $loadaddr 0x2e0000 0x20000
|
||||
|
||||
3. Program the root filesystem to NAND flash
|
||||
|
||||
=> tftp $loadaddr rootfs.jffs2
|
||||
=> nand erase 0x400000 0x1c00000
|
||||
=> nand write $loadaddr 0x400000 $filesize
|
||||
|
||||
4. Booting your new system
|
||||
|
||||
=> setenv nandboot 'setenv bootargs root=/dev/mtdblock3 rootfstype=jffs2 console=$consoledev,$baudrate;nand read $fdtaddr 0x2e0000 0x20000;nand read $loadaddr 0x100000 0x1e0000;bootm $loadaddr - $fdtaddr'
|
||||
|
||||
If you want to set this boot option as default:
|
||||
|
||||
=> setenv bootcmd 'run nandboot'
|
||||
=> saveenv
|
||||
|
||||
...or for a single boot:
|
||||
|
||||
=> run nandboot
|
||||
|
||||
You can login with user "root".
|
@ -1,70 +0,0 @@
|
||||
CONFIG_PPC_85xx=y
|
||||
CONFIG_PHYS_64BIT=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_EXPERT=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_P1010_RDB=y
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_SWIOTLB=y
|
||||
CONFIG_FORCE_MAX_ZONEORDER=12
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_RAPIDIO=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
CONFIG_MTD_BLOCK=y
|
||||
CONFIG_FTL=y
|
||||
CONFIG_MTD_CFI=y
|
||||
CONFIG_MTD_CFI_INTELEXT=y
|
||||
CONFIG_MTD_CFI_AMDSTD=y
|
||||
CONFIG_MTD_PHYSMAP_OF=y
|
||||
CONFIG_MTD_NAND=y
|
||||
CONFIG_MTD_NAND_FSL_ELBC=y
|
||||
CONFIG_MTD_NAND_FSL_IFC=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_FSL=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_GIANFAR=y
|
||||
CONFIG_VITESSE_PHY=y
|
||||
CONFIG_FIXED_PHY=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=2
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
||||
CONFIG_SERIAL_8250_MANY_PORTS=y
|
||||
CONFIG_SERIAL_8250_DETECT_IRQ=y
|
||||
CONFIG_SERIAL_8250_RSA=y
|
||||
CONFIG_NVRAM=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_MPC=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_FSL_SPI=y
|
||||
CONFIG_SPI_FSL_ESPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_FSL=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_MMC_SDHCI_OF_ESDHC=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_CMOS=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_FSL_DMA=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_SQUASHFS=y
|
||||
CONFIG_CRYPTO_DEV_FSL_CAAM=y
|
@ -1,40 +0,0 @@
|
||||
You'll need to program the files created by buildroot into the flash.
|
||||
The fast way is to tftp transfer the files via one of the network interfaces.
|
||||
|
||||
Alternatively you can transfer the files via serial console with an Ymodem
|
||||
file transfer from your terminal program by using a "loady" command
|
||||
from the u-boot prompt instead of the "tftp ..." commands stated below.
|
||||
Beware that serial console file transfers are quite slow!
|
||||
|
||||
1. Program the DTB to NOR flash
|
||||
|
||||
=> tftp $loadaddr p1010rdb-pa.dtb
|
||||
=> erase 0xee000000 +$filesize
|
||||
=> cp.b $loadaddr 0xee000000 $filesize
|
||||
|
||||
2. Program the kernel to NOR flash
|
||||
|
||||
=> tftp $loadaddr uImage
|
||||
=> erase 0xee080000 +$filesize
|
||||
=> cp.b $loadaddr 0xee080000 $filesize
|
||||
|
||||
3. Program the root filesystem to NOR flash
|
||||
|
||||
=> tftp $loadaddr rootfs.jffs2
|
||||
=> erase 0xee800000 0xeff5ffff
|
||||
=> cp.b $loadaddr 0xee800000 $filesize
|
||||
|
||||
4. Booting your new system
|
||||
|
||||
=> setenv norboot 'setenv bootargs root=/dev/mtdblock2 rootfstype=jffs2 console=$consoledev,$baudrate;bootm 0xee080000 - 0xee000000'
|
||||
|
||||
If you want to set this boot option as default:
|
||||
|
||||
=> setenv bootcmd 'run norboot'
|
||||
=> saveenv
|
||||
|
||||
...or for a single boot:
|
||||
|
||||
=> run norboot
|
||||
|
||||
You can login with user "root".
|
25
buildroot/board/freescale/p1025twr/readme.txt
Normal file
25
buildroot/board/freescale/p1025twr/readme.txt
Normal file
@ -0,0 +1,25 @@
|
||||
The bootloader is no longer buildable in the latest Freescale/NXP tree or
|
||||
upstream. As such, retrieve the "Image: SDK V1.2 e500v2 Binary ISO" from
|
||||
NXP downloads and follow the release notes for reflashing.
|
||||
|
||||
For programming the kernel and rootfs created by buildroot into the flash.
|
||||
The fast way is to tftp transfer the files via one of the network interfaces.
|
||||
Make sure your devkit has ipaddr and serverip defined to reach your tftp
|
||||
server.
|
||||
|
||||
(Assuming the default u-boot env from NXP)
|
||||
1. Program the DTB to NOR flash
|
||||
|
||||
=> setenv dtbfile p1025twr.dtb
|
||||
=> run dtbflash
|
||||
|
||||
2. Program the kernel and rootfs to NOR flash (reusing orignal rootfs
|
||||
NOR location, as the kernel location is to small)
|
||||
|
||||
=> tftpboot $loadaddr uImage; protect off 0xeeb80000 +$filesize; erase 0xeeb80000 +$filesize; cp.b $loadaddr 0xeeb80000 $filesize; protect on 0xeeb80000 +$filesize; cmp.b $loadaddr 0xefa80000 $filesize
|
||||
|
||||
3. Booting your new system
|
||||
|
||||
=> bootm 0xeeb80000 - 0xefe80000
|
||||
|
||||
You can login with user "root".
|
24
buildroot/board/freescale/t1040d4rdb/readme.txt
Normal file
24
buildroot/board/freescale/t1040d4rdb/readme.txt
Normal file
@ -0,0 +1,24 @@
|
||||
For the bootloader, NXP has stablized at SDK2.0 (final release). It is
|
||||
suggested to download the prebuilt from NXP downloads and follow the
|
||||
release notes for reflashing.
|
||||
|
||||
To program the kernel and rootfs created by buildroot into the flash. The
|
||||
fast way is to tftp transfer the files via one of the network interfaces.
|
||||
Make sure your devkit has ipaddr and serverip defined to reach your tftp
|
||||
server.
|
||||
|
||||
(Assuming the default u-boot env from NXP)
|
||||
1. Program the DTB to NOR flash
|
||||
|
||||
=> tftpboot $loadaddr t1040d4rdb.dtb; protect off 0xe8800000 +$filesize; erase 0xe8800000 +$filesize; cp.b $loadaddr 0xe8800000 $filesize; protect on 0xe8800000 +$filesize; cmp.b $loadaddr 0xe8800000 $filesize
|
||||
|
||||
2. Program the kernel and rootfs to NOR flash
|
||||
|
||||
=> tftpboot $loadaddr uImage; protect off 0xe8020000 +$filesize; erase 0xe8020000 +$filesize; cp.b $loadaddr 0xe8020000 $filesize; protect on 0xe8020000 +$filesize; cmp.b $loadaddr 0xe8020000 $filesize
|
||||
=> tftpboot $loadaddr rootfs.cpio.uboot; protect off 0xe9300000 +$filesize; erase 0xe9300000 +$filesize; cp.b $loadaddr 0xe9300000 $filesize; protect on 0xe9300000 +$filesize; cmp.b $loadaddr 0xe9300000 $filesize
|
||||
|
||||
3. Booting your new system
|
||||
|
||||
=> boot
|
||||
|
||||
You can login with user "root".
|
@ -1,87 +0,0 @@
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
# CONFIG_RD_GZIP is not set
|
||||
# CONFIG_RD_BZIP2 is not set
|
||||
# CONFIG_RD_LZMA is not set
|
||||
# CONFIG_RD_XZ is not set
|
||||
# CONFIG_RD_LZO is not set
|
||||
# CONFIG_RD_LZ4 is not set
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
# CONFIG_UID16 is not set
|
||||
# CONFIG_SGETMASK_SYSCALL is not set
|
||||
# CONFIG_SYSFS_SYSCALL is not set
|
||||
# CONFIG_KALLSYMS is not set
|
||||
# CONFIG_BUG is not set
|
||||
# CONFIG_BASE_FULL is not set
|
||||
# CONFIG_ADVISE_SYSCALLS is not set
|
||||
# CONFIG_MEMBARRIER is not set
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_VM_EVENT_COUNTERS is not set
|
||||
# CONFIG_SLUB_DEBUG is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_MODULES=y
|
||||
# CONFIG_BLOCK is not set
|
||||
CONFIG_BF512=y
|
||||
# CONFIG_SET_GENERIC_CLOCKEVENTS is not set
|
||||
# CONFIG_I_ENTRY_L1 is not set
|
||||
# CONFIG_EXCPT_IRQ_SYSC_L1 is not set
|
||||
# CONFIG_DO_IRQ_L1 is not set
|
||||
# CONFIG_CORE_TIMER_IRQ_L1 is not set
|
||||
# CONFIG_IDLE_L1 is not set
|
||||
# CONFIG_SCHEDULE_L1 is not set
|
||||
# CONFIG_ARITHMETIC_OPS_L1 is not set
|
||||
# CONFIG_ACCESS_OK_L1 is not set
|
||||
# CONFIG_MEMSET_L1 is not set
|
||||
# CONFIG_MEMCPY_L1 is not set
|
||||
# CONFIG_STRCMP_L1 is not set
|
||||
# CONFIG_STRNCMP_L1 is not set
|
||||
# CONFIG_STRCPY_L1 is not set
|
||||
# CONFIG_STRNCPY_L1 is not set
|
||||
# CONFIG_SYS_BFIN_SPINLOCK_L1 is not set
|
||||
# CONFIG_CACHELINE_ALIGNED_L1 is not set
|
||||
# CONFIG_DCACHE_FLUSH_L1 is not set
|
||||
# CONFIG_APP_STACK_L1 is not set
|
||||
# CONFIG_BFIN_INS_LOWOVERHEAD is not set
|
||||
# CONFIG_BFIN_ICACHE is not set
|
||||
# CONFIG_BFIN_DCACHE is not set
|
||||
# CONFIG_C_AMCKEN is not set
|
||||
CONFIG_BINFMT_ELF_FDPIC=y
|
||||
CONFIG_BINFMT_FLAT=y
|
||||
# CONFIG_COREDUMP is not set
|
||||
# CONFIG_SUSPEND is not set
|
||||
# CONFIG_UEVENT_HELPER is not set
|
||||
# CONFIG_STANDALONE is not set
|
||||
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
||||
# CONFIG_FW_LOADER is not set
|
||||
# CONFIG_ALLOW_DEV_COREDUMP is not set
|
||||
# CONFIG_INPUT is not set
|
||||
# CONFIG_SERIO is not set
|
||||
# CONFIG_VT is not set
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
CONFIG_SERIAL_BFIN=y
|
||||
CONFIG_SERIAL_BFIN_CONSOLE=y
|
||||
CONFIG_SERIAL_BFIN_UART0=y
|
||||
CONFIG_SERIAL_BFIN_UART1=y
|
||||
# CONFIG_BFIN_OTP is not set
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_HWMON is not set
|
||||
# CONFIG_USB_SUPPORT is not set
|
||||
# CONFIG_MANDATORY_FILE_LOCKING is not set
|
||||
# CONFIG_DNOTIFY is not set
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
CONFIG_NLS=y
|
||||
CONFIG_NLS_DEFAULT="utf-8"
|
||||
CONFIG_PRINTK_TIME=y
|
||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
||||
# CONFIG_ENABLE_MUST_CHECK is not set
|
||||
# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
# CONFIG_SCHED_DEBUG is not set
|
||||
# CONFIG_FTRACE is not set
|
||||
# CONFIG_DEBUG_VERBOSE is not set
|
||||
# CONFIG_DEBUG_HUNT_FOR_ZERO is not set
|
||||
# CONFIG_DEBUG_BFIN_HWTRACE_ON is not set
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
# CONFIG_ACCESS_CHECK is not set
|
||||
# CONFIG_CRC32 is not set
|
@ -1,11 +0,0 @@
|
||||
Run the simulation with GDB for FDPIC:
|
||||
|
||||
./output/host/bin/bfin-buildroot-linux-uclibc-run --env operating --model bf512 output/images/vmlinux
|
||||
|
||||
Run the simulation with GDB for FLAT:
|
||||
|
||||
./output/host/bin/bfin-buildroot-uclinux-uclibc-run --env operating --model bf512 output/images/vmlinux
|
||||
|
||||
The login prompt will appear in the terminal that started GDB.
|
||||
|
||||
Tested with GDB 7.9
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
# no simulated network devices at the moment
|
||||
rm -f ${TARGET_DIR}/etc/init.d/S40network
|
||||
rm -rf ${TARGET_DIR}/etc/network/
|
@ -0,0 +1,10 @@
|
||||
# wireless core
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_MAC80211=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
|
||||
# wireless drivers
|
||||
CONFIG_WLAN=y
|
||||
CONFIG_WLAN_VENDOR_BROADCOM=y
|
||||
CONFIG_BRCMFMAC=m
|
@ -0,0 +1,73 @@
|
||||
From: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
Date: Sun, 11 Feb 2018 16:21:43 +0300
|
||||
Subject: [PATCH] arm64: dts: orange-pi-zero-plus2: enable AP6212a WiFi/BT combo
|
||||
|
||||
Enable AP6212a WiFi/BT combo chip on orange-pi-zero-plus2 board:
|
||||
- WiFi SDIO interface is connected to MMC1
|
||||
- WiFi REG_ON pin connected to gpio PA9: attach to mmc-pwrseq
|
||||
- WiFi HOST_WAKE pin connected to gpio PL7
|
||||
- BT is connected to UART1
|
||||
|
||||
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
||||
---
|
||||
.../allwinner/sun50i-h5-orangepi-zero-plus2.dts | 32 ++++++++++++++++++++++
|
||||
1 file changed, 32 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
||||
index a42fd79a62a3..d415b7b67cce 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
||||
@@ -64,6 +64,13 @@
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
+
|
||||
+ wifi_pwrseq: wifi_pwrseq {
|
||||
+ compatible = "mmc-pwrseq-simple";
|
||||
+ pinctrl-names = "default";
|
||||
+ reset-gpios = <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */
|
||||
+ post-power-on-delay-ms = <200>;
|
||||
+ };
|
||||
};
|
||||
|
||||
&mmc0 {
|
||||
@@ -75,6 +82,25 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&mmc1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&mmc1_pins_a>;
|
||||
+ vmmc-supply = <®_vcc3v3>;
|
||||
+ vqmmc-supply = <®_vcc3v3>;
|
||||
+ mmc-pwrseq = <&wifi_pwrseq>;
|
||||
+ bus-width = <4>;
|
||||
+ non-removable;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ brcmf: wifi@1 {
|
||||
+ reg = <1>;
|
||||
+ compatible = "brcm,bcm4329-fmac";
|
||||
+ interrupt-parent = <&r_pio>;
|
||||
+ interrupts = <0 7 IRQ_TYPE_LEVEL_LOW>; /* PL7 */
|
||||
+ interrupt-names = "host-wake";
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
&mmc2 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc2_8bit_pins>;
|
||||
@@ -90,3 +116,9 @@
|
||||
pinctrl-0 = <&uart0_pins_a>;
|
||||
status = "okay";
|
||||
};
|
||||
+
|
||||
+&uart1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
--
|
||||
2.16.1
|
||||
|
@ -1,30 +0,0 @@
|
||||
From f88e9301948173dd35afad4a6939092c7f269aed Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
Date: Fri, 3 Nov 2017 22:58:54 +0300
|
||||
Subject: [PATCH] arm64: dts: orange-pi-zero-plus2: fix sdcard detect
|
||||
|
||||
The sdcard detect pin on orange-pi-zero-plus2 is pulled up.
|
||||
Fix cd-gpio description to enable sdcard detect.
|
||||
|
||||
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
|
||||
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
||||
---
|
||||
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
||||
index b6b7a56..a42fd79 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
||||
@@ -71,7 +71,7 @@
|
||||
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
|
||||
vmmc-supply = <®_vcc3v3>;
|
||||
bus-width = <4>;
|
||||
- cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
|
||||
+ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
--
|
||||
1.9.1
|
||||
|
@ -0,0 +1,54 @@
|
||||
#AP6212_NVRAM_V1.0_20140603
|
||||
# 2.4 GHz, 20 MHz BW mode
|
||||
|
||||
# The following parameter values are just placeholders, need to be updated.
|
||||
manfid=0x2d0
|
||||
prodid=0x0726
|
||||
vendid=0x14e4
|
||||
devid=0x43e2
|
||||
boardtype=0x0726
|
||||
boardrev=0x1101
|
||||
boardnum=22
|
||||
macaddr=00:90:4c:c5:12:38
|
||||
sromrev=11
|
||||
boardflags=0x00404201
|
||||
xtalfreq=26000
|
||||
nocrc=1
|
||||
ag0=255
|
||||
aa2g=1
|
||||
ccode=ALL
|
||||
|
||||
pa0itssit=0x20
|
||||
extpagain2g=0
|
||||
|
||||
#PA parameters for 2.4GHz, measured at CHIP OUTPUT
|
||||
pa2ga0=-168,7161,-820
|
||||
AvVmid_c0=0x0,0xc8
|
||||
cckpwroffset0=5
|
||||
|
||||
# PPR params
|
||||
maxp2ga0=90
|
||||
txpwrbckof=6
|
||||
cckbw202gpo=0x5555
|
||||
legofdmbw202gpo=0x77777777
|
||||
mcsbw202gpo=0xaaaaaaaa
|
||||
|
||||
# OFDM IIR :
|
||||
ofdmdigfilttype=7
|
||||
# PAPD mode:
|
||||
papdmode=2
|
||||
|
||||
il0macaddr=00:90:4c:c5:12:38
|
||||
wl0id=0x431b
|
||||
|
||||
#OOB parameters
|
||||
hostwake=0x40
|
||||
hostrdy=0x41
|
||||
usbrdy=0x03
|
||||
usbrdydelay=100
|
||||
deadman_to=0xffffffff
|
||||
# muxenab: 0x1 for UART enable, 0x10 for Host awake
|
||||
muxenab=0x10
|
||||
# CLDO PWM voltage settings - 0x4 - 1.1 volt
|
||||
#cldo_pwm=0x4
|
||||
|
@ -1,6 +1,5 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_FHANDLE=y
|
||||
CONFIG_NO_HZ_IDLE=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_TASKSTATS=y
|
||||
@ -10,7 +9,6 @@ CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_BLK_DEV_BSGLIB=y
|
||||
CONFIG_ARCH_VEXPRESS=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_BINFMT_MISC=y
|
||||
CONFIG_COMPAT=y
|
@ -4,4 +4,4 @@ Run the emulation with:
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.9.0
|
||||
Tested with QEMU 2.11.0
|
||||
|
10
buildroot/board/qemu/ppc64-e5500/linux.fragment
Normal file
10
buildroot/board/qemu/ppc64-e5500/linux.fragment
Normal file
@ -0,0 +1,10 @@
|
||||
# Enables generic PPC e500 base arch support for QEMU.
|
||||
# The e5500 is a variant of the e500 arch.
|
||||
CONFIG_PPC_QEMU_E500=y
|
||||
|
||||
# Enable virtio (blk, rng and net devices)
|
||||
CONFIG_VIRTIO=y
|
||||
CONFIG_VIRTIO_PCI=y
|
||||
CONFIG_HW_RANDOM_VIRTIO=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
CONFIG_VIRTIO_NET=y
|
7
buildroot/board/qemu/ppc64-e5500/readme.txt
Normal file
7
buildroot/board/qemu/ppc64-e5500/readme.txt
Normal file
@ -0,0 +1,7 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 root=/dev/vda" -serial mon:stdio -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.0.0
|
@ -9,6 +9,7 @@ CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
@ -20,6 +21,7 @@ CONFIG_NETDEVICES=y
|
||||
CONFIG_VIRTIO_NET=y
|
||||
CONFIG_NE2K_PCI=y
|
||||
CONFIG_8139CP=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
|
@ -9,6 +9,7 @@ CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
# CONFIG_WIRELESS is not set
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
@ -20,6 +21,7 @@ CONFIG_NETDEVICES=y
|
||||
CONFIG_VIRTIO_NET=y
|
||||
CONFIG_NE2K_PCI=y
|
||||
CONFIG_8139CP=y
|
||||
# CONFIG_WLAN is not set
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
@ -47,3 +49,4 @@ CONFIG_EXT4_FS=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_UNWINDER_FRAME_POINTER=y
|
||||
|
@ -2,7 +2,6 @@ image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2708-rpi-b-plus.dtb",
|
||||
"bcm2708-rpi-0-w.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
"rpi-firmware/config.txt",
|
||||
|
31
buildroot/board/raspberrypi/genimage-raspberrypi0w.cfg
Normal file
31
buildroot/board/raspberrypi/genimage-raspberrypi0w.cfg
Normal file
@ -0,0 +1,31 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2708-rpi-0-w.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
"rpi-firmware/config.txt",
|
||||
"rpi-firmware/fixup.dat",
|
||||
"rpi-firmware/start.elf",
|
||||
"rpi-firmware/overlays",
|
||||
"zImage"
|
||||
}
|
||||
}
|
||||
size = 32M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
@ -2,6 +2,7 @@ image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"bcm2710-rpi-3-b.dtb",
|
||||
"bcm2710-rpi-3-b-plus.dtb",
|
||||
"bcm2710-rpi-cm3.dtb",
|
||||
"rpi-firmware/bootcode.bin",
|
||||
"rpi-firmware/cmdline.txt",
|
||||
|
@ -30,7 +30,7 @@ For model 2 B:
|
||||
|
||||
$ make raspberrypi2_defconfig
|
||||
|
||||
For model 3 B:
|
||||
For model 3 B and B+:
|
||||
|
||||
$ make raspberrypi3_defconfig
|
||||
|
||||
@ -56,6 +56,7 @@ After building, you should obtain this tree:
|
||||
+-- bcm2708-rpi-b-plus.dtb [1]
|
||||
+-- bcm2709-rpi-2-b.dtb [1]
|
||||
+-- bcm2710-rpi-3-b.dtb [1]
|
||||
+-- bcm2710-rpi-3-b-plus.dtb [1]
|
||||
+-- boot.vfat
|
||||
+-- rootfs.ext4
|
||||
+-- rpi-firmware/
|
||||
|
1
buildroot/board/raspberrypi0w
Symbolic link
1
buildroot/board/raspberrypi0w
Symbolic link
@ -0,0 +1 @@
|
||||
raspberrypi
|
5
buildroot/board/solidrun/clearfog/boot.scr.txt
Normal file
5
buildroot/board/solidrun/clearfog/boot.scr.txt
Normal file
@ -0,0 +1,5 @@
|
||||
setenv fdtfile armada-388-clearfog-base.dtb
|
||||
setenv bootargs root=/dev/mmcblk0p1
|
||||
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}/${fdtfile}
|
||||
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} ${prefix}/zImage
|
||||
bootz ${kernel_addr_r} - ${fdt_addr_r}
|
16
buildroot/board/solidrun/clearfog/genimage.cfg
Normal file
16
buildroot/board/solidrun/clearfog/genimage.cfg
Normal file
@ -0,0 +1,16 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-spl.kwb"
|
||||
offset = 512
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
offset = 1M
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user