Compare commits
260 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bf0d8c9659 | |||
| d236f924ea | |||
| 96ccfcaa66 | |||
| 9c64faace9 | |||
| 6fb47a01ca | |||
| dd784c64cd | |||
| 1c25b81303 | |||
| c3983b5e8c | |||
| 839106302e | |||
| 04be89153e | |||
| 207149b623 | |||
| a8d2f65334 | |||
| 6d5d5c0693 | |||
| 2a7a38573b | |||
| 6b29f656a3 | |||
| 9d2111fbfb | |||
| 6d03240427 | |||
| 08ac2f4540 | |||
| f9f05667b3 | |||
| 2186b88dd7 | |||
| 131cb373bc | |||
| cf0491ebcd | |||
| cd4fc11abb | |||
| 774e310383 | |||
| 05f18fd04d | |||
| d7a54191fb | |||
| 8657bd6243 | |||
| 54b27ca959 | |||
| d65d0d82ca | |||
| 8176126b0a | |||
| 1f4a9dbebc | |||
| 1f49d55e84 | |||
| b83c653199 | |||
| dfdeccd912 | |||
| ef5d468a88 | |||
| 507dcaa30d | |||
| a5c9f8f271 | |||
| 6ebd1890ca | |||
| 8840f12aa1 | |||
| 7353d57b2c | |||
| cb69436ef6 | |||
| cd3e9622a2 | |||
| e5a43f0038 | |||
| 68101bd0c9 | |||
| a224b41b8d | |||
| 686d5ba781 | |||
| fe209bd472 | |||
| ac74775612 | |||
| 864b246bd6 | |||
| ae505761d0 | |||
| a8c67ea5d1 | |||
| c6720de9c0 | |||
| 71c6ba101d | |||
| 186e736baa | |||
| 56fdf0d2ca | |||
| de9aa59da6 | |||
| 96417b5fb6 | |||
| 7dd7331698 | |||
| a3dca69bd2 | |||
| 9ad20dd1fb | |||
| 4935903026 | |||
| bb0546155a | |||
| 0945915e4b | |||
| 4a29798715 | |||
| 1a41de765e | |||
| 87209f1a9e | |||
| a5d709287f | |||
| ac74ab30c1 | |||
| 5284543cc0 | |||
| 7216212387 | |||
| b00af36491 | |||
| c6fde1d1f3 | |||
| ba1500d931 | |||
| e0893d5b38 | |||
| 64273340d0 | |||
| 77c68719b7 | |||
| 138d70995f | |||
| 4a6308d9c6 | |||
| 3628685a28 | |||
| abfdae4eb2 | |||
| d952378f3e | |||
| 1e2d8041e1 | |||
| 6a7e7e2016 | |||
| 3068edf19d | |||
| dba1771d4c | |||
| af02102de8 | |||
| 1f92be091b | |||
| 61d9b07a19 | |||
| 51226554f9 | |||
| 1906b0055a | |||
| 71dd5db411 | |||
| 443df53318 | |||
| 1cebbbcdb5 | |||
| c25e77eec5 | |||
| 9de6f14a26 | |||
| e95fa1c56c | |||
| e2daea5fcc | |||
| 0dbc290484 | |||
| 09c055ee29 | |||
| 088028edbc | |||
| 97e19b306b | |||
| 0a19278555 | |||
| f6ae0737bb | |||
| aaaaf7a1ee | |||
| fe8b3034da | |||
| 61054337b3 | |||
| 2a6d96bbb5 | |||
| df77da086d | |||
| bb5c40b896 | |||
| df044f0750 | |||
| be070658aa | |||
| 6b80ec9cac | |||
| 9fb74b0152 | |||
| c889b962a6 | |||
| 74c890a556 | |||
| c6701cf543 | |||
| 5e55b592fd | |||
| b54a351aca | |||
| 707df553dd | |||
| 5dbeaa3339 | |||
| 3ccca04bdf | |||
| 081f4c2482 | |||
| b77f526620 | |||
| aab9b61957 | |||
| 4a94500c21 | |||
| fd0238db2a | |||
| 3fa36af681 | |||
| bf58a236f7 | |||
| ecf8efb292 | |||
| 10a192a07e | |||
| 943ec68988 | |||
| 94ea586798 | |||
| f36b357132 | |||
| 3736acba6c | |||
| d23382db1f | |||
| c5d717492d | |||
| 9267bd192e | |||
| 033611ac7f | |||
| ce38be1e67 | |||
| c815591768 | |||
| b72ecc4250 | |||
| a118ccd0db | |||
| b2f53b8f63 | |||
| a2349b7493 | |||
| a87616b597 | |||
| aff92f7130 | |||
| 135672d723 | |||
| a19bd265d5 | |||
| a8705c4706 | |||
| dc6b4ba667 | |||
| 447357e90f | |||
| 9f4990579e | |||
| 2e399893b4 | |||
| bd938352dd | |||
| d619fa054b | |||
| 2436051a7d | |||
| 878c1a6fee | |||
| a85c032d9a | |||
| 4ee6208195 | |||
| 5f725c0c27 | |||
| bdcfd98372 | |||
| 4a13baf05f | |||
| 9f0e851d49 | |||
| fa3239f7c1 | |||
| 39608445f3 | |||
| 8b53ad4a8e | |||
| cf01912c4f | |||
| abf4226fab | |||
| c4c7386d32 | |||
| fcd5e110cf | |||
| 89c216dd6e | |||
| bdd6e41e38 | |||
| c4651aa24e | |||
| b720e8c6ba | |||
| 83e32e4dfd | |||
| 61fd225033 | |||
| 08726993d1 | |||
| eaf50b2e60 | |||
| 202ca78487 | |||
| 45e044076d | |||
| dfe7913b41 | |||
| 8b64f613ba | |||
| 2c2a10f5b4 | |||
| 271b75b875 | |||
| 0ecd08ed2f | |||
| d8deeee80e | |||
| 062b22bb6e | |||
| fc7cfce21b | |||
| 02edbc3383 | |||
| 1c1d12f6fa | |||
| 0017e54f11 | |||
| 8de67c0e8a | |||
| 60b4ccdc35 | |||
| 3a8d893770 | |||
| 1fc260b395 | |||
| ccd3fb6ac2 | |||
| 0873184f3d | |||
| 1e8370d5fb | |||
| 4e0f1b1f80 | |||
| 9e40974572 | |||
| 8e06b8c130 | |||
| 76d1ac024a | |||
| 1666013009 | |||
| 24f15feb16 | |||
| 52da03a34a | |||
| ab90fa796c | |||
| 8d125066c2 | |||
| 97052fb2db | |||
| dc13edb0d5 | |||
| 2f337dedfa | |||
| 055fffe6a2 | |||
| 7e0ee5c054 | |||
| 690eaefb80 | |||
| 830d99ad6b | |||
| 5ad8119573 | |||
| 21a3af7d65 | |||
| c18a3e1d56 | |||
| 8428f5430b | |||
| 78b3a2b33e | |||
| c4eb3dd0a6 | |||
| d5708c051a | |||
| 3ff0a4ca5e | |||
| 3678ad62f0 | |||
| 40037b32f6 | |||
| 10b59d2cb4 | |||
| 7b4ac44b35 | |||
| 43420d5853 | |||
| addb97661c | |||
| cd1a4443b3 | |||
| 453ee1af2d | |||
| 97f4b9eefa | |||
| fd2056909c | |||
| 34aec9d246 | |||
| c2777b8fa5 | |||
| c0091eb3cb | |||
| 6a4f95cc52 | |||
| c29ad301f5 | |||
| d398d4e59a | |||
| 96429716fc | |||
| 7b69072733 | |||
| 0e9ee99873 | |||
| 9038e5d1c8 | |||
| 20788bc523 | |||
| 1b26ef9e45 | |||
| 8ebacc810e | |||
| fa534c5f31 | |||
| 3f7d62b5c3 | |||
| 612acef82f | |||
| 473efeaf4f | |||
| 5b53f4072b | |||
| 3fa20a575a | |||
| 5ca7f462b0 | |||
| 0352cceac2 | |||
| ec65b1060a | |||
| b1c6287de7 | |||
| ca6747ae72 | |||
| abd6027aa1 | |||
| a6d51d0b2d | |||
| 0d9aaabd52 | |||
| 6618b27113 |
-1654
File diff suppressed because it is too large
Load Diff
+1
-6
@@ -1,7 +1,7 @@
|
||||
# Configuration for Gitlab-CI.
|
||||
# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
|
||||
|
||||
image: $CI_REGISTRY/buildroot.org/buildroot/base:20230207.1123
|
||||
image: $CI_REGISTRY/buildroot.org/buildroot/base:20220206.1756
|
||||
|
||||
stages:
|
||||
- generate-gitlab-ci
|
||||
@@ -10,11 +10,6 @@ stages:
|
||||
generate-gitlab-ci-yml:
|
||||
stage: generate-gitlab-ci
|
||||
script: ./support/scripts/generate-gitlab-ci-yml support/misc/gitlab-ci.yml.in > generated-gitlab-ci.yml
|
||||
retry:
|
||||
max: 2
|
||||
when:
|
||||
- runner_system_failure
|
||||
- stuck_or_timeout_failure
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
|
||||
@@ -65,7 +65,7 @@ config BR2_NEEDS_HOST_JAVA
|
||||
|
||||
# Hidden boolean selected by pre-built packages for x86, when they
|
||||
# need to run on x86-64 machines (example: pre-built external
|
||||
# toolchains, binary tools, etc.).
|
||||
# toolchains, binary tools like SAM-BA, etc.).
|
||||
config BR2_HOSTARCH_NEEDS_IA32_LIBS
|
||||
bool
|
||||
|
||||
@@ -87,8 +87,6 @@ config BR2_NEEDS_HOST_GCC_PLUGIN_SUPPORT
|
||||
|
||||
source "arch/Config.in"
|
||||
|
||||
source "toolchain/Config.in"
|
||||
|
||||
menu "Build options"
|
||||
|
||||
menu "Commands"
|
||||
@@ -241,7 +239,7 @@ if !BR2_PRIMARY_SITE_ONLY
|
||||
|
||||
config BR2_BACKUP_SITE
|
||||
string "Backup download site"
|
||||
default "https://sources.buildroot.net"
|
||||
default "http://sources.buildroot.net"
|
||||
help
|
||||
Backup site to download from. If this option is set then
|
||||
buildroot will fall back to download package sources from here
|
||||
@@ -287,15 +285,14 @@ config BR2_LUAROCKS_MIRROR
|
||||
|
||||
config BR2_CPAN_MIRROR
|
||||
string "CPAN mirror (Perl packages)"
|
||||
default "https://cpan.metacpan.org"
|
||||
default "http://cpan.metacpan.org"
|
||||
help
|
||||
CPAN (Comprehensive Perl Archive Network) is a repository of
|
||||
Perl packages. It has multiple software mirrors scattered
|
||||
around the world. This option allows you to select a mirror.
|
||||
|
||||
The list of mirrors is available at:
|
||||
http://mirrors.cpan.org/ (tabular)
|
||||
http://mirrors.cpan.org/map.html (clickable world map)
|
||||
http://search.cpan.org/mirror
|
||||
|
||||
endif
|
||||
|
||||
@@ -435,7 +432,7 @@ config BR2_ENABLE_RUNTIME_DEBUG
|
||||
config BR2_STRIP_strip
|
||||
bool "strip target binaries"
|
||||
default y
|
||||
depends on BR2_BINFMT_ELF
|
||||
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
|
||||
@@ -554,25 +551,6 @@ config BR2_OPTIMIZE_FAST
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_ENABLE_LTO
|
||||
bool "build packages with link-time optimisation"
|
||||
help
|
||||
Enable the link-time optimisation (LTO) option when building
|
||||
packages. Link-time optimisation re-runs optimisations at
|
||||
link time, which allows the compiler to do interprocedural
|
||||
analysis across compilation units and thus come with better
|
||||
results: smaller size and better performance.
|
||||
|
||||
Note that this analysis is limited to statically linked
|
||||
object files and libraries.
|
||||
|
||||
This option may significantly increase build times,
|
||||
sometimes 5 times longer, with only limited gains.
|
||||
|
||||
At this time, this option only enables LTO in packages that
|
||||
have an explicit configuration option for it. Other packages
|
||||
always enable LTO, but most packages never enable LTO.
|
||||
|
||||
config BR2_GOOGLE_BREAKPAD_ENABLE
|
||||
bool "Enable google-breakpad support"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
@@ -623,7 +601,8 @@ choice
|
||||
|
||||
config BR2_STATIC_LIBS
|
||||
bool "static only"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on !BR2_TOOLCHAIN_BUILDROOT || \
|
||||
BR2_TOOLCHAIN_BUILDROOT_STATIC_LIBS_SUPPORTS
|
||||
help
|
||||
Build and use only static libraries. No shared libraries will
|
||||
be installed on the target. This potentially increases your
|
||||
@@ -632,9 +611,6 @@ config BR2_STATIC_LIBS
|
||||
option is enabled, due to their need for dynamic library
|
||||
support.
|
||||
|
||||
comment "static only needs a toolchain w/ uclibc or musl"
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
|
||||
config BR2_SHARED_LIBS
|
||||
bool "shared only"
|
||||
depends on BR2_BINFMT_SUPPORTS_SHARED
|
||||
@@ -664,12 +640,12 @@ config BR2_PACKAGE_OVERRIDE_FILE
|
||||
documentation for more details on this feature.
|
||||
|
||||
config BR2_GLOBAL_PATCH_DIR
|
||||
string "global patch and hash directories"
|
||||
string "global patch directories"
|
||||
help
|
||||
You may specify a space separated list of one or more
|
||||
directories containing global package patches and/or hashes.
|
||||
For a specific version <packageversion> of a specific package
|
||||
<packagename>, patches are looked up as follows:
|
||||
directories containing global package patches. For a specific
|
||||
version <packageversion> of a specific package <packagename>,
|
||||
patches are applied as follows:
|
||||
|
||||
First, the default Buildroot patch set for the package is
|
||||
applied from the package's directory in Buildroot.
|
||||
@@ -683,10 +659,26 @@ config BR2_GLOBAL_PATCH_DIR
|
||||
exists, then all *.patch files in the directory will be
|
||||
applied.
|
||||
|
||||
The hash files are looked up similarly to the patches.
|
||||
|
||||
menu "Advanced"
|
||||
|
||||
config BR2_COMPILER_PARANOID_UNSAFE_PATH
|
||||
bool "paranoid check of library/header paths"
|
||||
default y
|
||||
help
|
||||
By default, when this option is disabled, when the Buildroot
|
||||
cross-compiler will encounter an unsafe library or header path
|
||||
(such as /usr/include, or /usr/lib), the compiler will display
|
||||
a warning.
|
||||
|
||||
By enabling this option, this warning is turned into an error,
|
||||
which will completely abort the build when such unsafe paths
|
||||
are encountered.
|
||||
|
||||
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).
|
||||
|
||||
config BR2_FORCE_HOST_BUILD
|
||||
bool "Force the building of host dependencies"
|
||||
help
|
||||
@@ -699,23 +691,6 @@ config BR2_FORCE_HOST_BUILD
|
||||
|
||||
This option will increase build time.
|
||||
|
||||
config BR2_DOWNLOAD_FORCE_CHECK_HASHES
|
||||
bool "Force all downloads to have a valid hash"
|
||||
depends on BR2_GLOBAL_PATCH_DIR != ""
|
||||
help
|
||||
For packages where a custom version or location can be set,
|
||||
Buildroot does not carry a hash for those custom versions or
|
||||
locations, so the integrity of such downloads is not verified.
|
||||
|
||||
Say 'y' here to enforce downloads to have at least one valid
|
||||
hash (and of course, that all hashes be valid).
|
||||
|
||||
Those hashes are looked in files in BR2_GLOBAL_PATCH_DIR,
|
||||
see above.
|
||||
|
||||
comment "Forcing all downloads to have a valid hash needs a global patch and hash directory"
|
||||
depends on BR2_GLOBAL_PATCH_DIR = ""
|
||||
|
||||
config BR2_REPRODUCIBLE
|
||||
bool "Make the build reproducible (experimental)"
|
||||
# SOURCE_DATE_EPOCH support in toolchain-wrapper requires GCC 4.4
|
||||
@@ -931,15 +906,6 @@ config BR2_FORTIFY_SOURCE_2
|
||||
Also adds checks at run-time (detected buffer overflow
|
||||
terminates the program)
|
||||
|
||||
config BR2_FORTIFY_SOURCE_3
|
||||
bool "Extended"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_12
|
||||
help
|
||||
This option sets _FORTIFY_SOURCES to 3 and even more
|
||||
checking is added compared to level 2. Extends checks at
|
||||
run-time that can introduce an additional performance
|
||||
overhead.
|
||||
|
||||
endchoice
|
||||
|
||||
comment "Fortify Source needs a glibc toolchain and optimization"
|
||||
@@ -947,6 +913,8 @@ comment "Fortify Source needs a glibc toolchain and optimization"
|
||||
depends on (!BR2_TOOLCHAIN_USES_GLIBC || BR2_OPTIMIZE_0)
|
||||
endmenu
|
||||
|
||||
source "toolchain/Config.in"
|
||||
|
||||
source "system/Config.in"
|
||||
|
||||
source "linux/Config.in"
|
||||
|
||||
+39
-469
@@ -144,393 +144,7 @@ endif
|
||||
|
||||
###############################################################################
|
||||
|
||||
comment "Legacy options removed in 2023.08"
|
||||
|
||||
config BR2_TARGET_LPC32XXCDL
|
||||
bool "lpc32xxcdl has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
lpc32xxcdl has been removed, due to licensing concerns.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_38_X
|
||||
bool "binutils 2.38.x has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
binutils 2.38 has been removed, use a newer version.
|
||||
|
||||
config BR2_GCC_VERSION_10_X
|
||||
bool "gcc 10.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for gcc version 10.x has been removed. The current
|
||||
default version (12.x or later) has been selected instead.
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_3
|
||||
bool "kernel headers version 6.3.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.3.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_TOVID
|
||||
bool "tovid removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
tovid was removed
|
||||
|
||||
config BR2_PACKAGE_LIBASPLIB
|
||||
bool "libasplib removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
libasplib is no longer needed.
|
||||
|
||||
config BR2_PACKAGE_OCF_LINUX
|
||||
bool "ocf-linux has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
ocf-linux is incompatible with newer kernels.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_37_X
|
||||
bool "binutils 2.37.x has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
binutils 2.37 has been removed, use a newer version.
|
||||
|
||||
comment "Legacy options removed in 2023.05"
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_2
|
||||
bool "kernel headers version 6.2.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.2.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_ATK
|
||||
bool "atk removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
atk is now part of at-spi2-core.
|
||||
|
||||
config BR2_PACKAGE_AT_SPI2_ATK
|
||||
bool "at-spi2-atk removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
at-spi2-atk is now part of at-spi2-core.
|
||||
|
||||
config BR2_PACKAGE_OPTEE_BENCHMARK
|
||||
bool "optee-benchmark has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
optee-benchmark is no longer maintained upstream.
|
||||
|
||||
config BR2_PACAKGE_OPENFPGALOADER_CMSIS
|
||||
bool "openfpgaloader cmsis option name fixed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
A typo on BR2_PACAKGE_OPENFPGALOADER_CMSIS was fixed by
|
||||
renaming the option to BR2_PACKAGE_OPENFPGALOADER_CMSIS.
|
||||
|
||||
comment "Legacy options removed in 2023.02"
|
||||
|
||||
config BR2_PACKAGE_PUGIXML_HEADER_ONLY
|
||||
bool "pugixml header-only removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The header-only version raises a build failure with gerbera.
|
||||
|
||||
config BR2_PACKAGE_UCCP420WLAN
|
||||
bool "uccp420wlan removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The uccp420wlan package is unmaintained and doesn't build
|
||||
with any "recent" kernel (e.g. >= 4.7).
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES
|
||||
bool "imx-gpu-g2d examples removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The examples are not provided by NXP anymore.
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_0
|
||||
bool "kernel headers version 6.0.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.0.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_9
|
||||
bool "kernel headers version 4.9.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 4.9.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_DOCKER_PROXY
|
||||
bool "docker-proxy removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_DOCKER_ENGINE
|
||||
help
|
||||
docker-proxy has been dropped by upstream since version
|
||||
563fe8. it has been merged into docker-engine (moby).
|
||||
|
||||
config BR2_PACKAGE_PYTHON_BUNCH
|
||||
bool "python-bunch removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The python-bunch package is unmaintained and is replaced
|
||||
by the python-munch package.
|
||||
|
||||
config BR2_TARGET_GUMMIBOOT
|
||||
bool "gummiboot removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
gummiboot has been deprecated since 2015, with no further
|
||||
updates. It became integrated into the systemd project as
|
||||
systemd-boot.
|
||||
|
||||
config BR2_PACKAGE_IPUTILS_NINFOD
|
||||
bool "iputils 20221126 removed ninfod"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
iputils 20221126 removed ninfod.
|
||||
|
||||
config BR2_PACKAGE_IPUTILS_RARPD
|
||||
bool "iputils 20221126 removed rarpd"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
iputils 20221126 removed rarpd.
|
||||
|
||||
config BR2_PACKAGE_IPUTILS_RDISC
|
||||
bool "iputils 20221126 removed rdisc"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
iputils 20221126 removed rdisc.
|
||||
|
||||
config BR2_PACKAGE_IPUTILS_RDISC_SERVER
|
||||
bool "iputils 20221126 removed rdisc"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
iputils 20221126 removed rdisc.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_XINGMUX
|
||||
bool "xingmux moved"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_XINGMUX
|
||||
help
|
||||
The xingmux option has been moved to gst1-plugins-good.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE
|
||||
bool "videoscale removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERTSCALE
|
||||
help
|
||||
The videoscale option has been combined with videoconvert.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT
|
||||
bool "videoconvert removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERTSCALE
|
||||
help
|
||||
The videoconvert option has been combined with videoscale.
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
||||
bool "imx-gpu-viv X11 output has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The X11 output was dropped by NXP.
|
||||
|
||||
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV
|
||||
bool "xf86-video-imx-viv has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The X11 output was dropped by NXP.
|
||||
|
||||
config BR2_PACKAGE_QEMU_CUSTOM_TARGETS
|
||||
string "the QEMU specific targets option has been removed"
|
||||
help
|
||||
This option has been replaced by a list of individual targets
|
||||
for the many architectures supported by QEMU.
|
||||
|
||||
config BR2_PACKAGE_QEMU_CUSTOM_TARGETS_WRAP
|
||||
bool
|
||||
default y if BR2_PACKAGE_QEMU_CUSTOM_TARGETS != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD
|
||||
bool "xf86-input-keyboard removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The X.org keyboard input driver no longer support Linux.
|
||||
|
||||
config BR2_TARGET_SUN20I_D1_SPL
|
||||
bool "sun20-d1-spl removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
U-Boot has gained SPL support for D1, so this temporary
|
||||
bootloader is no longer supported.
|
||||
|
||||
config BR2_PACKAGE_PYTHON_M2R
|
||||
bool "python-m2r removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The python-m2r package is unmaintained.
|
||||
|
||||
config BR2_PACKAGE_MESA3D_XVMC
|
||||
bool "mesa Gallium XvMC state tracker removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The Gallium XvMC state tracker was removed upstream.
|
||||
|
||||
config BR2_KERNEL_HEADERS_5_19
|
||||
bool "kernel headers version 5.19.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 5.19.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_TGA
|
||||
bool "xf86-video-tga removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The X.org xf86-video-tga package was removed.
|
||||
|
||||
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_GLINT
|
||||
bool "xf86-video-glint removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The X.org xf86-video-glint package no longer builds with
|
||||
Xserver 21 and is unmaintained.
|
||||
|
||||
config BR2_PACKAGE_USBREDIR_SERVER
|
||||
bool "usbredirserver removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
usbredirserver has been dropped by upstream since version
|
||||
0.13.0. usbredir tools (which include usbredirect binary) can
|
||||
be used as a replacement.
|
||||
|
||||
comment "Legacy options removed in 2022.11"
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_36_X
|
||||
bool "binutils 2.36.x has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
binutils 2.36 has been removed, use a newer version.
|
||||
|
||||
config BR2_PACKAGE_RABBITMQ_SERVER
|
||||
bool "rabbitmq-server removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Package was removed because it was unmaintained and had
|
||||
known security issues.
|
||||
|
||||
config BR2_PACKAGE_LIBOPENSSL_ENABLE_RC5
|
||||
bool "libopenssl rc5 was never enabled"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The libopenssl option for rc5 never actually enabled rc5,
|
||||
which had always been disabled in Buildroot.
|
||||
|
||||
config BR2_PACKAGE_LIBDCADEC
|
||||
bool "package was deprecated upstream, use ffmpeg instead"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This decoder has been fully integrated into FFmpeg master
|
||||
branch and further development will continue there. Using
|
||||
FFmpeg for DTS decoding is now recommended.
|
||||
|
||||
config BR2_KERNEL_HEADERS_5_17
|
||||
bool "kernel headers version 5.17.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 5.17.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_iwmmxt
|
||||
bool "ARM iwmmxt variant removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for the ARM iwmmxt architecture variant in GCC has
|
||||
bitroten and is no longer maintained. GCC maintainers
|
||||
recommend to no longer use it, and suggest to use "xscale"
|
||||
as a replacement architecture variant. See
|
||||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106972
|
||||
|
||||
config BR2_PACKAGE_UHD_N230
|
||||
bool "uhd N230 support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
uhd N230 support has been dropped by upstream since version
|
||||
4.0.0.0.
|
||||
|
||||
config BR2_PACKAGE_UHD_RFNOC
|
||||
bool "uhd RFNoC support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
uhd RFNoC support has been dropped by upstream since version
|
||||
4.0.0.0.
|
||||
|
||||
config BR2_PACKAGE_GPSD_OLDSTYLE
|
||||
bool "gpsd oldstyle removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
gpsd oldstyle option has been removed by upstream in 2015.
|
||||
|
||||
config BR2_GDB_VERSION_9_2
|
||||
bool "gdb 9.2 removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for GDB 9.2 has been removed. A new version has
|
||||
automatically been selected.
|
||||
|
||||
comment "Legacy options removed in 2022.08"
|
||||
|
||||
config BR2_ECLIPSE_REGISTER
|
||||
bool "Eclipse integration removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The Buildroot integration with the Eclipse IDE has been
|
||||
removed, as the corresponding Eclipse plugin is no longer
|
||||
maintained, and is no longer usable with current versions of
|
||||
Eclipse.
|
||||
|
||||
config BR2_csky
|
||||
bool "csky architecture removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The csky architecture was removed, by lack of toolchain
|
||||
support.
|
||||
|
||||
config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
|
||||
bool "mesa DRI i915 driver removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The DRI i915 driver was removed upstream.
|
||||
|
||||
config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
|
||||
bool "mesa DRI i965 driver removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The DRI i965 driver was removed upstream.
|
||||
|
||||
config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU
|
||||
bool "mesa DRI nouveau driver removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The DRI radeon nouveau was removed upstream.
|
||||
|
||||
config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
|
||||
bool "mesa DRI radeon r100 driver removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The DRI radeon r100 driver was removed upstream.
|
||||
|
||||
config BR2_GCC_VERSION_9_X
|
||||
bool "gcc 9.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for gcc version 9.x has been removed. The current
|
||||
default version (11.x or later) has been selected instead.
|
||||
comment "Legacy options removed in 2022.05"
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_WDDX
|
||||
bool "php wddx removed"
|
||||
@@ -538,24 +152,6 @@ config BR2_PACKAGE_PHP_EXT_WDDX
|
||||
help
|
||||
The WDDX extension was removed from php.
|
||||
|
||||
config BR2_nds32
|
||||
bool "nds32 architecture removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for the nds32 architecture has been removed, due to
|
||||
its support being removed from the upstream Linux kernel,
|
||||
and its lack of maintenance in Buildroot.
|
||||
|
||||
config BR2_PACKAGE_RTL8723BS
|
||||
bool "rtl8723bs removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Package was removed because it is not compatible with latest
|
||||
kernels and is not maintained anymore: code has been removed
|
||||
in 2017 as driver is available in the linux-next tree.
|
||||
|
||||
comment "Legacy options removed in 2022.05"
|
||||
|
||||
config BR2_PACKAGE_KTAP
|
||||
bool "ktap removed"
|
||||
select BR2_LEGACY
|
||||
@@ -916,22 +512,20 @@ config BR2_PACKAGE_SUNXI_MALI_MAINLINE
|
||||
config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2
|
||||
bool "sunxi-mali-mainline-r6p2 was renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_SUNXI_MALI_UTGARD_R6P2
|
||||
help
|
||||
The sunxi-mali-mainline package has been renamed
|
||||
sunxi-mali-utgard, the suboptions of this package have also
|
||||
been renamed accordingly.
|
||||
# Note: BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2 is still referenced from
|
||||
# package/sunxi-mali-utgard/Config.in
|
||||
|
||||
config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1
|
||||
bool "sunxi-mali-mainline-r8p1 was renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_SUNXI_MALI_UTGARD_R8P1
|
||||
help
|
||||
The sunxi-mali-mainline package has been renamed
|
||||
sunxi-mali-utgard, the suboptions of this package have also
|
||||
been renamed accordingly.
|
||||
# Note: BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1 is still referenced from
|
||||
# package/sunxi-mali-utgard/Config.in
|
||||
|
||||
config BR2_PACKAGE_QT5WEBKIT_EXAMPLES
|
||||
bool "qt5webkit-examples removed"
|
||||
@@ -989,20 +583,18 @@ comment "Legacy options removed in 2021.11"
|
||||
config BR2_OPENJDK_VERSION_LTS
|
||||
bool "OpenJDK LTS version was renamed to OpenJDK 11"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_OPENJDK_VERSION_11
|
||||
help
|
||||
The LTS version option was renamed to OpenJDK 11 to make it
|
||||
clear what LTS version is.
|
||||
# Note: BR2_OPENJDK_VERSION_LTS is still referenced from
|
||||
# package/openjdk/Config.in
|
||||
|
||||
config BR2_OPENJDK_VERSION_LATEST
|
||||
bool "OpenJDK latest version (16.x) was removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_OPENJDK_VERSION_17
|
||||
help
|
||||
OpenJDK 16.x is no longer mainted, so the option has been
|
||||
removed. Use OpenJDK 17.x instead.
|
||||
# Note: BR2_OPENJDK_VERSION_LATEST is still referenced from
|
||||
# package/openjdk/Config.in
|
||||
|
||||
config BR2_PACKAGE_MPD_TIDAL
|
||||
bool "mpd tidal option removed"
|
||||
@@ -1918,35 +1510,6 @@ config BR2_PACKAGE_RPI_USERLAND_START_VCFILED
|
||||
help
|
||||
The vcfiled support was removed upstream.
|
||||
|
||||
config BR2_PACKAGE_TI_SGX_KM_AM335X
|
||||
bool "ti-sgx-km AM335X option removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_TI_SGX_KM
|
||||
help
|
||||
Starting from buildroot release 2020.02, the buildroot package
|
||||
only supports the target am335x.
|
||||
|
||||
config BR2_PACKAGE_TI_SGX_KM_AM437X
|
||||
bool "ti-sgx-km AM437X option removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Starting from buildroot release 2020.02, the buildroot package
|
||||
only supports the target am335x.
|
||||
|
||||
config BR2_PACKAGE_TI_SGX_KM_AM4430
|
||||
bool "ti-sgx-km AM4430 option removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Starting from buildroot release 2020.02, the buildroot package
|
||||
only supports the target am335x.
|
||||
|
||||
config BR2_PACKAGE_TI_SGX_KM_AM5430
|
||||
bool "ti-sgx-km AM5430 option removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Starting from buildroot release 2020.02, the buildroot package
|
||||
only supports the target am335x.
|
||||
|
||||
comment "Legacy options removed in 2019.11"
|
||||
|
||||
config BR2_PACKAGE_OPENVMTOOLS_PROCPS
|
||||
@@ -2412,9 +1975,9 @@ config BR2_PACKAGE_FFTW_PRECISION_QUAD
|
||||
config BR2_PACKAGE_LUA_5_2
|
||||
bool "Lua 5.2.x version removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_LUA_5_3
|
||||
help
|
||||
The Lua 5.2.x version was removed.
|
||||
# Note: BR2_PACKAGE_LUA_5_2 is still referenced from package/lua/Config.in
|
||||
|
||||
config BR2_TARGET_GENERIC_PASSWD_MD5
|
||||
bool "target passwd md5 format support has been removed"
|
||||
@@ -2912,7 +2475,7 @@ config BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF
|
||||
BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF has been renamed to
|
||||
BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF
|
||||
|
||||
config BR2_PACKAGE_MEDIAART_BACKEND_QT
|
||||
config BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF
|
||||
bool "libmediaart qt backend option renamed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
@@ -2920,34 +2483,45 @@ config BR2_PACKAGE_MEDIAART_BACKEND_QT
|
||||
BR2_PACKAGE_MEDIAART_BACKEND_QT has been renamed to
|
||||
BR2_PACKAGE_LIBMEDIAART_BACKEND_QT
|
||||
|
||||
# Note: BR2_PACKAGE_TI_SGX_AM335X is still referenced from
|
||||
# package/ti-sgx-km/Config.in
|
||||
config BR2_PACKAGE_TI_SGX_AM335X
|
||||
bool "ti-sgx-km AM335X option removed"
|
||||
bool "ti-sgx-km AM335X option renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_TI_SGX_KM
|
||||
help
|
||||
Starting from buildroot release 2020.02, the buildroot package
|
||||
only supports the target am335x.
|
||||
For consistency reasons, the option
|
||||
BR2_PACKAGE_TI_SGX_AM335X has been renamed to
|
||||
BR2_PACKAGE_TI_SGX_KM_AM335X.
|
||||
|
||||
# Note: BR2_PACKAGE_TI_SGX_AM437X is still referenced from
|
||||
# package/ti-sgx-km/Config.in
|
||||
config BR2_PACKAGE_TI_SGX_AM437X
|
||||
bool "ti-sgx-km AM437X option removed"
|
||||
bool "ti-sgx-km AM437X option renamed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Starting from buildroot release 2020.02, the buildroot package
|
||||
only supports the target am335x.
|
||||
For consistency reasons, the option
|
||||
BR2_PACKAGE_TI_SGX_AM437X has been renamed to
|
||||
BR2_PACKAGE_TI_SGX_KM_AM437X.
|
||||
|
||||
# Note: BR2_PACKAGE_TI_SGX_AM4430 is still referenced from
|
||||
# package/ti-sgx-km/Config.in
|
||||
config BR2_PACKAGE_TI_SGX_AM4430
|
||||
bool "ti-sgx-km AM4430 option removed"
|
||||
bool "ti-sgx-km AM4430 option renamed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Starting from buildroot release 2020.02, the buildroot package
|
||||
only supports the target am335x.
|
||||
For consistency reasons, the option
|
||||
BR2_PACKAGE_TI_SGX_AM4430 has been renamed to
|
||||
BR2_PACKAGE_TI_SGX_KM_AM4430.
|
||||
|
||||
# Note: BR2_PACKAGE_TI_SGX_AM5430 is still referenced from
|
||||
# package/ti-sgx-km/Config.in
|
||||
config BR2_PACKAGE_TI_SGX_AM5430
|
||||
bool "ti-sgx-km AM5430 option removed"
|
||||
bool "ti-sgx-km AM5430 option renamed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Starting from buildroot release 2020.02, the buildroot package
|
||||
only supports the target am335x.
|
||||
For consistency reasons, the option
|
||||
BR2_PACKAGE_TI_SGX_AM5430 has been renamed to
|
||||
BR2_PACKAGE_TI_SGX_KM_AM5430.
|
||||
|
||||
config BR2_PACKAGE_JANUS_AUDIO_BRIDGE
|
||||
bool "janus-gateway audio-bridge option renamed"
|
||||
@@ -3547,7 +3121,7 @@ config BR2_PACKAGE_POLICYCOREUTILS_RESTORECOND
|
||||
select BR2_PACKAGE_RESTORECOND
|
||||
help
|
||||
The policycoreutils package no longer offers restorecond
|
||||
as a option. This package has been moved into a separate
|
||||
as a option. This package has been moved into a seperate
|
||||
package maintained by the SELinux maintainers.
|
||||
|
||||
config BR2_PACKAGE_SEPOLGEN
|
||||
@@ -4141,7 +3715,7 @@ config BR2_GDB_VERSION_7_9
|
||||
comment "Legacy options removed in 2016.11"
|
||||
|
||||
config BR2_PACKAGE_PHP_SAPI_CLI_CGI
|
||||
bool "PHP CGI and CLI options are now separate"
|
||||
bool "PHP CGI and CLI options are now seperate"
|
||||
select BR2_PACKAGE_PHP_SAPI_CLI
|
||||
select BR2_PACKAGE_PHP_SAPI_CGI
|
||||
select BR2_LEGACY
|
||||
@@ -4277,11 +3851,10 @@ config BR2_LINUX_KERNEL_TOOL_SELFTESTS
|
||||
config BR2_GCC_VERSION_4_8_ARC
|
||||
bool "gcc arc option renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_GCC_VERSION_ARC
|
||||
help
|
||||
The option that selects the gcc version for the ARC
|
||||
architecture has been renamed to BR2_GCC_VERSION_ARC.
|
||||
# Note: BR2_GCC_VERSION_4_8_ARC is still referenced from
|
||||
# package/gcc/Config.in.host
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_0
|
||||
bool "kernel headers version 4.0.x are no longer supported"
|
||||
@@ -4315,7 +3888,6 @@ config BR2_PACKAGE_ELEMENTARY
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_LOCAL
|
||||
bool "Linux kernel local directory option removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The option to select a local directory as the source of the
|
||||
Linux kernel has been removed. It hurts reproducibility of
|
||||
@@ -4621,21 +4193,19 @@ config BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL
|
||||
config BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE
|
||||
bool "openpowerlink package has been updated"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB
|
||||
help
|
||||
openpowerlink kernel modules are built if the
|
||||
kernel stack library is selected.
|
||||
# Note: BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE is still referenced from
|
||||
# package/openpowerlink/Config.in
|
||||
|
||||
config BR2_PACKAGE_OPENPOWERLINK_LIBPCAP
|
||||
bool "openpowerlink package has been updated"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_OPENPOWERLINK_STACK_USERSPACE_DAEMON_LIB
|
||||
help
|
||||
The user space support has been split in two part:
|
||||
- a monolithic user space library
|
||||
- a user space daemon driver
|
||||
# Note: BR2_PACKAGE_OPENPOWERLINK_LIBPCAP is still referenced from
|
||||
# package/openpowerlink/Config.in
|
||||
- a monolitic user space library
|
||||
- a user spae deamon driver
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "using the linux headers version for the kernel has been removed"
|
||||
@@ -5174,7 +4744,7 @@ config BR2_PACKAGE_KODI_PVR_ADDONS
|
||||
select BR2_PACKAGE_KODI_PVR_VUPLUS
|
||||
select BR2_PACKAGE_KODI_PVR_WMC
|
||||
help
|
||||
Kodi PVR addon was split into separate modules
|
||||
Kodi PVR addon was split into seperate modules
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_23_2
|
||||
bool "binutils 2.23 option renamed"
|
||||
|
||||
+297
-438
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,8 @@
|
||||
# Makefile for buildroot
|
||||
#
|
||||
# Copyright (C) the Buildroot developers <buildroot@buildroot.org>
|
||||
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
||||
# Copyright (C) 2006-2014 by the Buildroot developers <buildroot@uclibc.org>
|
||||
# Copyright (C) 2014-2020 by the Buildroot developers <buildroot@buildroot.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -90,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2023.08.3
|
||||
export BR2_VERSION := 2022.05.2
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1699976000
|
||||
BR2_VERSION_EPOCH = 1661958000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -123,7 +125,7 @@ endif
|
||||
noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconfig \
|
||||
defconfig %_defconfig allyesconfig allnoconfig alldefconfig syncconfig release \
|
||||
randpackageconfig allyespackageconfig allnopackageconfig \
|
||||
print-version olddefconfig distclean manual manual-% check-package
|
||||
print-version olddefconfig distclean manual manual-% check-package check-flake8
|
||||
|
||||
# Some global targets do not trigger a build, but are used to collect
|
||||
# metadata, or do various checks. When such targets are triggered,
|
||||
@@ -227,6 +229,8 @@ LEGAL_MANIFEST_CSV_HOST = $(LEGAL_INFO_DIR)/host-manifest.csv
|
||||
LEGAL_WARNINGS = $(LEGAL_INFO_DIR)/.warnings
|
||||
LEGAL_REPORT = $(LEGAL_INFO_DIR)/README
|
||||
|
||||
CPE_UPDATES_DIR = $(BASE_DIR)/cpe-updates
|
||||
|
||||
BR2_CONFIG = $(CONFIG_DIR)/.config
|
||||
|
||||
# Pull in the user's configuration file
|
||||
@@ -392,9 +396,6 @@ unexport DESTDIR
|
||||
# Causes breakage with packages that needs host-ruby
|
||||
unexport RUBYOPT
|
||||
|
||||
# Compilation of perl-related packages will fail otherwise
|
||||
unexport PERL_MM_OPT
|
||||
|
||||
include package/pkg-utils.mk
|
||||
include package/doc-asciidoc.mk
|
||||
|
||||
@@ -477,7 +478,8 @@ BR_CACHE_DIR ?= $(call qstrip,$(BR2_CCACHE_DIR))
|
||||
export BR_CACHE_DIR
|
||||
HOSTCC = $(CCACHE) $(HOSTCC_NOCCACHE)
|
||||
HOSTCXX = $(CCACHE) $(HOSTCXX_NOCCACHE)
|
||||
export BR2_USE_CCACHE ?= 1
|
||||
else
|
||||
export BR_NO_CCACHE
|
||||
endif
|
||||
|
||||
# Scripts in support/ or post-build scripts may need to reference
|
||||
@@ -594,7 +596,6 @@ prepare-sdk: world
|
||||
@$(call MESSAGE,"Rendering the SDK relocatable")
|
||||
PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath host
|
||||
PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath staging
|
||||
$(call ppd-fixup-paths,$(BASE_DIR))
|
||||
$(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
|
||||
@@ -646,6 +647,14 @@ STRIP_FIND_SPECIAL_LIBS_CMD = \
|
||||
\( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) \
|
||||
-print0
|
||||
|
||||
ifeq ($(BR2_ECLIPSE_REGISTER),y)
|
||||
define TOOLCHAIN_ECLIPSE_REGISTER
|
||||
./support/scripts/eclipse-register-toolchain `readlink -f $(O)` \
|
||||
$(notdir $(TARGET_CROSS)) $(BR2_ARCH)
|
||||
endef
|
||||
TARGET_FINALIZE_HOOKS += TOOLCHAIN_ECLIPSE_REGISTER
|
||||
endif
|
||||
|
||||
# Generate locale data.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||
GLIBC_GENERATE_LOCALES = $(call qstrip,$(BR2_GENERATE_LOCALE))
|
||||
@@ -653,7 +662,7 @@ ifneq ($(GLIBC_GENERATE_LOCALES),)
|
||||
PACKAGES += host-localedef
|
||||
|
||||
define GENERATE_GLIBC_LOCALES
|
||||
+$(MAKE) -f support/misc/gen-glibc-locales.mk \
|
||||
$(MAKE) -f support/misc/gen-glibc-locales.mk \
|
||||
ENDIAN=$(call LOWERCASE,$(BR2_ENDIAN)) \
|
||||
LOCALES="$(GLIBC_GENERATE_LOCALES)" \
|
||||
Q=$(Q)
|
||||
@@ -711,7 +720,7 @@ STAGING_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list-staging.t
|
||||
.PHONY: host-finalize
|
||||
host-finalize: $(PACKAGES) $(HOST_DIR) $(HOST_DIR_SYMLINK)
|
||||
@$(call MESSAGE,"Finalizing host directory")
|
||||
$(call per-package-rsync,$(sort $(PACKAGES)),host,$(HOST_DIR),copy)
|
||||
$(call per-package-rsync,$(sort $(PACKAGES)),host,$(HOST_DIR))
|
||||
|
||||
.PHONY: staging-finalize
|
||||
staging-finalize: $(STAGING_DIR_SYMLINK)
|
||||
@@ -719,12 +728,12 @@ staging-finalize: $(STAGING_DIR_SYMLINK)
|
||||
.PHONY: target-finalize
|
||||
target-finalize: $(PACKAGES) $(TARGET_DIR) host-finalize
|
||||
@$(call MESSAGE,"Finalizing target directory")
|
||||
$(call per-package-rsync,$(sort $(PACKAGES)),target,$(TARGET_DIR),copy)
|
||||
$(call per-package-rsync,$(sort $(PACKAGES)),target,$(TARGET_DIR))
|
||||
$(foreach hook,$(TARGET_FINALIZE_HOOKS),$($(hook))$(sep))
|
||||
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \
|
||||
$(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \
|
||||
$(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake \
|
||||
$(TARGET_DIR)/usr/lib/rpm $(TARGET_DIR)/usr/doc
|
||||
$(TARGET_DIR)/usr/doc
|
||||
find $(TARGET_DIR)/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f
|
||||
find $(TARGET_DIR)/lib/ $(TARGET_DIR)/usr/lib/ $(TARGET_DIR)/usr/libexec/ \
|
||||
\( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f
|
||||
@@ -799,14 +808,6 @@ endif # merged /usr
|
||||
|
||||
touch $(TARGET_DIR)/usr
|
||||
|
||||
# Note: this will run in the filesystem context, so will use a copy
|
||||
# of target/, not the real one, so the files are still available on
|
||||
# re-builds (foo-rebuild, etc...)
|
||||
define ROOTFS_RM_HWDB_DATA
|
||||
rm -rf $(TARGET_DIR)/usr/lib/udev/hwdb.d/ $(TARGET_DIR)/etc/udev/hwdb.d/
|
||||
endef
|
||||
ROOTFS_PRE_CMD_HOOKS += ROOTFS_RM_HWDB_DATA
|
||||
|
||||
.PHONY: target-post-image
|
||||
target-post-image: $(TARGETS_ROOTFS) target-finalize staging-finalize
|
||||
@rm -f $(ROOTFS_COMMON_TAR)
|
||||
@@ -830,7 +831,7 @@ legal-info-clean:
|
||||
.PHONY: legal-info-prepare
|
||||
legal-info-prepare: $(LEGAL_INFO_DIR)
|
||||
@$(call MESSAGE,"Buildroot $(BR2_VERSION_FULL) Collecting legal info")
|
||||
@$(call legal-license-file,HOST,buildroot,buildroot,COPYING,COPYING,support/legal-info/buildroot.hash)
|
||||
@$(call legal-license-file,buildroot,buildroot,support/legal-info/buildroot.hash,COPYING,COPYING,HOST)
|
||||
@$(call legal-manifest,TARGET,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,DEPENDENCIES WITH LICENSES)
|
||||
@$(call legal-manifest,HOST,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,DEPENDENCIES WITH LICENSES)
|
||||
@$(call legal-manifest,HOST,buildroot,$(BR2_VERSION_FULL),GPL-2.0+,COPYING,not saved,not saved)
|
||||
@@ -926,6 +927,14 @@ pkg-stats:
|
||||
--html $(O)/pkg-stats.html \
|
||||
--nvd-path $(DL_DIR)/buildroot-nvd
|
||||
|
||||
.PHONY: missing-cpe
|
||||
missing-cpe:
|
||||
$(Q)mkdir -p $(CPE_UPDATES_DIR)
|
||||
$(Q)cd "$(CONFIG_DIR)" ; \
|
||||
$(TOPDIR)/support/scripts/gen-missing-cpe \
|
||||
--nvd-path $(DL_DIR)/buildroot-nvd \
|
||||
--output $(CPE_UPDATES_DIR)
|
||||
|
||||
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
# Some subdirectories are also package names. To avoid that "make linux"
|
||||
@@ -1002,18 +1011,13 @@ oldconfig syncconfig olddefconfig: $(BUILD_DIR)/buildroot-config/conf outputmake
|
||||
defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
@$(COMMON_CONFIG_ENV) $< --defconfig$(if $(DEFCONFIG),=$(DEFCONFIG)) $(CONFIG_CONFIG_IN)
|
||||
|
||||
%_defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
@defconfig=$(or \
|
||||
$(firstword \
|
||||
$(foreach d, \
|
||||
$(call reverse,$(TOPDIR) $(BR2_EXTERNAL_DIRS)), \
|
||||
$(wildcard $(d)/configs/$@) \
|
||||
) \
|
||||
), \
|
||||
$(error "Can't find $@") \
|
||||
); \
|
||||
$(COMMON_CONFIG_ENV) BR2_DEFCONFIG=$${defconfig} \
|
||||
$< --defconfig=$${defconfig} $(CONFIG_CONFIG_IN)
|
||||
define percent_defconfig
|
||||
# Override the BR2_DEFCONFIG from COMMON_CONFIG_ENV with the new defconfig
|
||||
%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(1)/configs/%_defconfig outputmakefile
|
||||
@$$(COMMON_CONFIG_ENV) BR2_DEFCONFIG=$(1)/configs/$$@ \
|
||||
$$< --defconfig=$(1)/configs/$$@ $$(CONFIG_CONFIG_IN)
|
||||
endef
|
||||
$(eval $(foreach d,$(call reverse,$(TOPDIR) $(BR2_EXTERNAL_DIRS)),$(call percent_defconfig,$(d))$(sep)))
|
||||
|
||||
update-defconfig: savedefconfig
|
||||
|
||||
@@ -1033,7 +1037,7 @@ savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
|
||||
|
||||
# staging and target directories do NOT list these as
|
||||
# dependencies anywhere else
|
||||
$(BASE_DIR) $(BUILD_DIR) $(BASE_TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST) $(PER_PACKAGE_DIR):
|
||||
$(BUILD_DIR) $(BASE_TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST) $(PER_PACKAGE_DIR):
|
||||
@mkdir -p $@
|
||||
|
||||
# outputmakefile generates a Makefile in the output directory, if using a
|
||||
@@ -1045,22 +1049,23 @@ ifeq ($(NEED_WRAPPER),y)
|
||||
$(Q)$(TOPDIR)/support/scripts/mkmakefile $(TOPDIR) $(O)
|
||||
endif
|
||||
|
||||
.PHONY: check-make-version
|
||||
check-make-version:
|
||||
ifneq ($(filter $(RUNNING_MAKE_VERSION),4.3),)
|
||||
@echo "Make 4.3 doesn't support 'printvars' and 'show-vars' recipes"
|
||||
@exit 1
|
||||
endif
|
||||
|
||||
# printvars prints all the variables currently defined in our
|
||||
# Makefiles. Alternatively, if a non-empty VARS variable is passed,
|
||||
# only the variables matching the make pattern passed in VARS are
|
||||
# displayed.
|
||||
# show-vars does the same, but as a JSON dictionnary.
|
||||
#
|
||||
# Note: we iterate of .VARIABLES and filter each variable individually,
|
||||
# to workaround a bug in make 4.3; see https://savannah.gnu.org/bugs/?59093
|
||||
.PHONY: printvars
|
||||
printvars:
|
||||
ifndef VARS
|
||||
$(error Please pass a non-empty VARS to 'make printvars')
|
||||
endif
|
||||
printvars: check-make-version
|
||||
@:
|
||||
$(foreach V, \
|
||||
$(sort $(foreach X, $(.VARIABLES), $(filter $(VARS),$(X)))), \
|
||||
$(sort $(filter $(VARS),$(.VARIABLES))), \
|
||||
$(if $(filter-out environment% default automatic, \
|
||||
$(origin $V)), \
|
||||
$(if $(QUOTED_VARS),\
|
||||
@@ -1068,35 +1073,28 @@ endif
|
||||
$(info $V=$(if $(RAW_VARS),$(value $V),$($V))))))
|
||||
# ')))) # Syntax colouring...
|
||||
|
||||
# See details above, same as for printvars
|
||||
.PHONY: show-vars
|
||||
show-vars: VARS?=%
|
||||
show-vars:
|
||||
show-vars: check-make-version
|
||||
@:
|
||||
$(foreach i, \
|
||||
$(call clean-json, { \
|
||||
$(info $(call clean-json, { \
|
||||
$(foreach V, \
|
||||
$(.VARIABLES), \
|
||||
$(and $(filter $(VARS),$(V)) \
|
||||
, \
|
||||
$(filter-out environment% default automatic, $(origin $V)) \
|
||||
, \
|
||||
$(sort $(filter $(VARS),$(.VARIABLES))), \
|
||||
$(if $(filter-out environment% default automatic, $(origin $V)), \
|
||||
"$V": { \
|
||||
"expanded": $(call mk-json-str,$($V))$(comma) \
|
||||
"raw": $(call mk-json-str,$(value $V)) \
|
||||
}$(comma) \
|
||||
) \
|
||||
) \
|
||||
} ) \
|
||||
, \
|
||||
$(info $(i)) \
|
||||
)
|
||||
} ))
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \
|
||||
$(BUILD_DIR) $(BASE_DIR)/staging \
|
||||
$(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(O)/pkg-stats.*
|
||||
$(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \
|
||||
$(O)/pkg-stats.*
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
@@ -1181,6 +1179,7 @@ help:
|
||||
@echo ' legal-info - generate info about license compliance'
|
||||
@echo ' show-info - generate info about packages, as a JSON blurb'
|
||||
@echo ' pkg-stats - generate info about packages as JSON and HTML'
|
||||
@echo ' missing-cpe - generate XML snippets for missing CPE identifiers'
|
||||
@echo ' printvars - dump internal variables selected with VARS=...'
|
||||
@echo ' show-vars - dump all internal variables as a JSON blurb; use VARS=...'
|
||||
@echo ' to limit the list to variables names matching that pattern'
|
||||
@@ -1238,21 +1237,20 @@ release:
|
||||
print-version:
|
||||
@echo $(BR2_VERSION_FULL)
|
||||
|
||||
check-package:
|
||||
$(Q)./utils/check-package `git ls-tree -r --name-only HEAD` \
|
||||
--ignore-list=$(TOPDIR)/.checkpackageignore
|
||||
check-flake8:
|
||||
$(Q)git ls-tree -r --name-only HEAD \
|
||||
| xargs file \
|
||||
| grep 'Python script' \
|
||||
| cut -d':' -f1 \
|
||||
| xargs -- python3 -m flake8 --statistics
|
||||
|
||||
.PHONY: .checkpackageignore
|
||||
.checkpackageignore:
|
||||
$(Q)./utils/check-package --failed-only `git ls-tree -r --name-only HEAD` \
|
||||
> .checkpackageignore
|
||||
check-package:
|
||||
find $(TOPDIR) -type f \( -name '*.mk' -o -name '*.hash' -o -name 'Config.*' -o -name '*.patch' \) \
|
||||
-exec ./utils/check-package --exclude=Sob --exclude=HashSpaces {} +
|
||||
|
||||
include docs/manual/manual.mk
|
||||
-include $(foreach dir,$(BR2_EXTERNAL_DIRS),$(sort $(wildcard $(dir)/docs/*/*.mk)))
|
||||
|
||||
.PHONY: $(noconfig_targets)
|
||||
|
||||
# .WAIT was introduced in make 4.4. For older make, define it as phony.
|
||||
.PHONY: .WAIT
|
||||
|
||||
endif #umask / $(CURDIR) / $(O)
|
||||
|
||||
+106
-90
@@ -9,7 +9,10 @@ config BR2_KERNEL_64_USERLAND_32
|
||||
config BR2_SOFT_FLOAT
|
||||
bool
|
||||
|
||||
config BR2_USE_MMU
|
||||
config BR2_ARCH_HAS_MMU_MANDATORY
|
||||
bool
|
||||
|
||||
config BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
bool
|
||||
|
||||
choice
|
||||
@@ -20,7 +23,7 @@ choice
|
||||
|
||||
config BR2_arcle
|
||||
bool "ARC (little endian)"
|
||||
select BR2_USE_MMU
|
||||
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
|
||||
@@ -28,7 +31,7 @@ config BR2_arcle
|
||||
|
||||
config BR2_arceb
|
||||
bool "ARC (big endian)"
|
||||
select BR2_USE_MMU
|
||||
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
|
||||
@@ -46,7 +49,7 @@ config BR2_arm
|
||||
|
||||
config BR2_armeb
|
||||
bool "ARM (big endian)"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
ARM is a 32-bit reduced instruction set computer (RISC)
|
||||
instruction set architecture (ISA) developed by ARM Holdings.
|
||||
@@ -70,9 +73,19 @@ config BR2_aarch64_be
|
||||
http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php
|
||||
http://en.wikipedia.org/wiki/ARM
|
||||
|
||||
config BR2_csky
|
||||
bool "csky"
|
||||
select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
help
|
||||
csky is processor IP from china.
|
||||
http://www.c-sky.com/
|
||||
http://www.github.com/c-sky
|
||||
|
||||
config BR2_i386
|
||||
bool "i386"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
Intel i386 architecture compatible microprocessor
|
||||
http://en.wikipedia.org/wiki/I386
|
||||
@@ -86,7 +99,7 @@ config BR2_m68k
|
||||
|
||||
config BR2_microblazeel
|
||||
bool "Microblaze AXI (little endian)"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
Soft processor core designed for Xilinx FPGAs from Xilinx. AXI
|
||||
bus based architecture (little endian)
|
||||
@@ -95,7 +108,7 @@ config BR2_microblazeel
|
||||
|
||||
config BR2_microblazebe
|
||||
bool "Microblaze non-AXI (big endian)"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
Soft processor core designed for Xilinx FPGAs from Xilinx. PLB
|
||||
bus based architecture (non-AXI, big endian)
|
||||
@@ -104,7 +117,7 @@ config BR2_microblazebe
|
||||
|
||||
config BR2_mips
|
||||
bool "MIPS (big endian)"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Big
|
||||
endian.
|
||||
@@ -113,7 +126,7 @@ config BR2_mips
|
||||
|
||||
config BR2_mipsel
|
||||
bool "MIPS (little endian)"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Little
|
||||
endian.
|
||||
@@ -123,7 +136,7 @@ config BR2_mipsel
|
||||
config BR2_mips64
|
||||
bool "MIPS64 (big endian)"
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Big
|
||||
endian.
|
||||
@@ -133,16 +146,24 @@ config BR2_mips64
|
||||
config BR2_mips64el
|
||||
bool "MIPS64 (little endian)"
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
MIPS is a RISC microprocessor from MIPS Technologies. Little
|
||||
endian.
|
||||
http://www.mips.com/
|
||||
http://en.wikipedia.org/wiki/MIPS_Technologies
|
||||
|
||||
config BR2_nds32
|
||||
bool "nds32"
|
||||
select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
nds32 is a 32-bit architecture developed by Andes Technology.
|
||||
https://en.wikipedia.org/wiki/Andes_Technology
|
||||
|
||||
config BR2_nios2
|
||||
bool "Nios II"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
Nios II is a soft core processor from Altera Corporation.
|
||||
http://www.altera.com/
|
||||
@@ -150,14 +171,14 @@ config BR2_nios2
|
||||
|
||||
config BR2_or1k
|
||||
bool "OpenRISC"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
OpenRISC is a free and open processor for embedded system.
|
||||
http://openrisc.io
|
||||
|
||||
config BR2_powerpc
|
||||
bool "PowerPC"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola
|
||||
alliance. Big endian.
|
||||
@@ -167,7 +188,7 @@ config BR2_powerpc
|
||||
config BR2_powerpc64
|
||||
bool "PowerPC64 (big endian)"
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola
|
||||
alliance. Big endian.
|
||||
@@ -177,7 +198,7 @@ config BR2_powerpc64
|
||||
config BR2_powerpc64le
|
||||
bool "PowerPC64 (little endian)"
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
PowerPC is a RISC architecture created by Apple-IBM-Motorola
|
||||
alliance. Little endian.
|
||||
@@ -197,7 +218,7 @@ config BR2_riscv
|
||||
config BR2_s390x
|
||||
bool "s390x"
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
s390x is a big-endian architecture made by IBM.
|
||||
http://www.ibm.com/
|
||||
@@ -205,7 +226,7 @@ config BR2_s390x
|
||||
|
||||
config BR2_sh
|
||||
bool "SuperH"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
SuperH (or SH) is a 32-bit reduced instruction set computer
|
||||
(RISC) instruction set architecture (ISA) developed by
|
||||
@@ -215,12 +236,7 @@ config BR2_sh
|
||||
|
||||
config BR2_sparc
|
||||
bool "SPARC"
|
||||
select BR2_USE_MMU
|
||||
# uClibc-ng broken on sparc due to recent gcc changes
|
||||
# that need to be reverted since gcc 8.4, 9.3 and 10.1.
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
|
||||
# gcc <= 10.x has been removed from Buildroot.
|
||||
select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
SPARC (from Scalable Processor Architecture) is a RISC
|
||||
instruction set architecture (ISA) developed by Sun
|
||||
@@ -231,7 +247,7 @@ config BR2_sparc
|
||||
config BR2_sparc64
|
||||
bool "SPARC64"
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
SPARC (from Scalable Processor Architecture) is a RISC
|
||||
instruction set architecture (ISA) developed by Sun
|
||||
@@ -242,7 +258,7 @@ config BR2_sparc64
|
||||
config BR2_x86_64
|
||||
bool "x86_64"
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
help
|
||||
x86-64 is an extension of the x86 instruction set (Intel i386
|
||||
architecture compatible microprocessor).
|
||||
@@ -305,14 +321,6 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_11
|
||||
bool
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_10
|
||||
|
||||
config BR2_ARCH_NEEDS_GCC_AT_LEAST_12
|
||||
bool
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
|
||||
|
||||
config BR2_ARCH_NEEDS_GCC_AT_LEAST_13
|
||||
bool
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
|
||||
|
||||
# The following string values are defined by the individual
|
||||
# Config.in.$ARCH files
|
||||
config BR2_ARCH
|
||||
@@ -367,62 +375,6 @@ config BR2_BINFMT_SUPPORTS_SHARED
|
||||
config BR2_READELF_ARCH_NAME
|
||||
string
|
||||
|
||||
if BR2_arcle || BR2_arceb
|
||||
source "arch/Config.in.arc"
|
||||
endif
|
||||
|
||||
if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
|
||||
source "arch/Config.in.arm"
|
||||
endif
|
||||
|
||||
if BR2_m68k
|
||||
source "arch/Config.in.m68k"
|
||||
endif
|
||||
|
||||
if BR2_microblazeel || BR2_microblazebe
|
||||
source "arch/Config.in.microblaze"
|
||||
endif
|
||||
|
||||
if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el
|
||||
source "arch/Config.in.mips"
|
||||
endif
|
||||
|
||||
if BR2_nios2
|
||||
source "arch/Config.in.nios2"
|
||||
endif
|
||||
|
||||
if BR2_or1k
|
||||
source "arch/Config.in.or1k"
|
||||
endif
|
||||
|
||||
if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
||||
source "arch/Config.in.powerpc"
|
||||
endif
|
||||
|
||||
if BR2_riscv
|
||||
source "arch/Config.in.riscv"
|
||||
endif
|
||||
|
||||
if BR2_s390x
|
||||
source "arch/Config.in.s390x"
|
||||
endif
|
||||
|
||||
if BR2_sh
|
||||
source "arch/Config.in.sh"
|
||||
endif
|
||||
|
||||
if BR2_sparc || BR2_sparc64
|
||||
source "arch/Config.in.sparc"
|
||||
endif
|
||||
|
||||
if BR2_i386 || BR2_x86_64
|
||||
source "arch/Config.in.x86"
|
||||
endif
|
||||
|
||||
if BR2_xtensa
|
||||
source "arch/Config.in.xtensa"
|
||||
endif
|
||||
|
||||
# Set up target binary format
|
||||
choice
|
||||
prompt "Target Binary Format"
|
||||
@@ -473,4 +425,68 @@ config BR2_BINFMT_FLAT_SHARED
|
||||
|
||||
endchoice
|
||||
|
||||
if BR2_arcle || BR2_arceb
|
||||
source "arch/Config.in.arc"
|
||||
endif
|
||||
|
||||
if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
|
||||
source "arch/Config.in.arm"
|
||||
endif
|
||||
|
||||
if BR2_csky
|
||||
source "arch/Config.in.csky"
|
||||
endif
|
||||
|
||||
if BR2_m68k
|
||||
source "arch/Config.in.m68k"
|
||||
endif
|
||||
|
||||
if BR2_microblazeel || BR2_microblazebe
|
||||
source "arch/Config.in.microblaze"
|
||||
endif
|
||||
|
||||
if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el
|
||||
source "arch/Config.in.mips"
|
||||
endif
|
||||
|
||||
if BR2_nds32
|
||||
source "arch/Config.in.nds32"
|
||||
endif
|
||||
|
||||
if BR2_nios2
|
||||
source "arch/Config.in.nios2"
|
||||
endif
|
||||
|
||||
if BR2_or1k
|
||||
source "arch/Config.in.or1k"
|
||||
endif
|
||||
|
||||
if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
||||
source "arch/Config.in.powerpc"
|
||||
endif
|
||||
|
||||
if BR2_riscv
|
||||
source "arch/Config.in.riscv"
|
||||
endif
|
||||
|
||||
if BR2_s390x
|
||||
source "arch/Config.in.s390x"
|
||||
endif
|
||||
|
||||
if BR2_sh
|
||||
source "arch/Config.in.sh"
|
||||
endif
|
||||
|
||||
if BR2_sparc || BR2_sparc64
|
||||
source "arch/Config.in.sparc"
|
||||
endif
|
||||
|
||||
if BR2_i386 || BR2_x86_64
|
||||
source "arch/Config.in.x86"
|
||||
endif
|
||||
|
||||
if BR2_xtensa
|
||||
source "arch/Config.in.xtensa"
|
||||
endif
|
||||
|
||||
endmenu # Target options
|
||||
|
||||
+10
-30
@@ -73,26 +73,26 @@ config BR2_ARM_CPU_HAS_THUMB2
|
||||
|
||||
config BR2_ARM_CPU_ARMV4
|
||||
bool
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
config BR2_ARM_CPU_ARMV5
|
||||
bool
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
config BR2_ARM_CPU_ARMV6
|
||||
bool
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
config BR2_ARM_CPU_ARMV7A
|
||||
bool
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
config BR2_ARM_CPU_ARMV7M
|
||||
bool
|
||||
|
||||
config BR2_ARM_CPU_ARMV8A
|
||||
bool
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
@@ -129,6 +129,10 @@ config BR2_arm926t
|
||||
select BR2_ARM_CPU_MAYBE_HAS_VFPV2
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
select BR2_ARM_CPU_ARMV5
|
||||
config BR2_iwmmxt
|
||||
bool "iwmmxt"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_ARMV5
|
||||
config BR2_xscale
|
||||
bool "xscale"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
@@ -766,31 +770,6 @@ config BR2_ARM_INSTRUCTIONS_THUMB2
|
||||
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "MMU Page Size"
|
||||
default BR2_ARM64_PAGE_SIZE_4K
|
||||
depends on BR2_aarch64 || BR2_aarch64_be
|
||||
help
|
||||
The default is 4KB, and you should probably keep this unless
|
||||
you know what you are doing. In particular, the kernel
|
||||
configuration must match this choice. If your kernel is
|
||||
built by Buildroot, the kernel configuration is
|
||||
automatically adjusted, but not if you built your kernel
|
||||
outside of Buildroot.
|
||||
|
||||
config BR2_ARM64_PAGE_SIZE_4K
|
||||
bool "4KB"
|
||||
|
||||
config BR2_ARM64_PAGE_SIZE_64K
|
||||
bool "64KB"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_ARM64_PAGE_SIZE
|
||||
string
|
||||
default "4K" if BR2_ARM64_PAGE_SIZE_4K
|
||||
default "64K" if BR2_ARM64_PAGE_SIZE_64K
|
||||
|
||||
config BR2_ARCH
|
||||
default "arm" if BR2_arm
|
||||
default "armeb" if BR2_armeb
|
||||
@@ -813,6 +792,7 @@ config BR2_GCC_TARGET_CPU
|
||||
default "strongarm" if BR2_strongarm
|
||||
# armv5
|
||||
default "arm926ej-s" if BR2_arm926t
|
||||
default "iwmmxt" if BR2_iwmmxt
|
||||
default "xscale" if BR2_xscale
|
||||
# armv6
|
||||
default "arm1136j-s" if BR2_arm1136j_s
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
default BR2_ck610
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
config BR2_ck610
|
||||
# Not supported by upstream gcc <= 9, and handled as a special
|
||||
# exception in package/gcc/Config.in.host
|
||||
bool "ck610"
|
||||
|
||||
config BR2_ck807
|
||||
bool "ck807"
|
||||
|
||||
config BR2_ck810
|
||||
bool "ck810"
|
||||
|
||||
config BR2_ck860
|
||||
bool "ck860"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_CSKY_FPU
|
||||
bool "Enable FPU coprocessor"
|
||||
depends on BR2_ck810 || BR2_ck807 || BR2_ck860
|
||||
help
|
||||
You can say N here if your C-SKY CPU doesn't have a
|
||||
Floating-Point Coprocessor or if you don't need FPU support
|
||||
for your user-space programs.
|
||||
|
||||
config BR2_CSKY_VDSP
|
||||
bool "Enable VDSP enhanced instructions Co-processor"
|
||||
depends on BR2_CSKY_FPU
|
||||
|
||||
config BR2_GCC_TARGET_FLOAT_ABI
|
||||
default "soft" if !BR2_CSKY_FPU
|
||||
default "hard" if BR2_CSKY_FPU
|
||||
|
||||
config BR2_ARCH
|
||||
default "csky"
|
||||
|
||||
config BR2_NORMALIZED_ARCH
|
||||
default "csky"
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "CSKY"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
+1
-1
@@ -26,7 +26,7 @@ choice
|
||||
config BR2_m68k_68040
|
||||
bool "68040"
|
||||
select BR2_m68k_m68k
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
config BR2_m68k_cf5208
|
||||
bool "5208"
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
config BR2_ARCH
|
||||
default "nds32le"
|
||||
|
||||
config BR2_NORMALIZED_ARCH
|
||||
default "nds32"
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "v3"
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "Andes Technology compact code size embedded RISC processor family"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
+40
-44
@@ -3,7 +3,6 @@ config BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
|
||||
config BR2_POWERPC_CPU_HAS_VSX
|
||||
bool
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
|
||||
config BR2_POWERPC_CPU_HAS_SPE
|
||||
bool
|
||||
@@ -16,134 +15,132 @@ choice
|
||||
config BR2_generic_powerpc
|
||||
bool "generic"
|
||||
# No C library supports this variant on ppc64le
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
depends on !BR2_powerpc64le
|
||||
config BR2_powerpc_401
|
||||
bool "401"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_403
|
||||
bool "403"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_405
|
||||
bool "405"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_405fp
|
||||
bool "405 with FPU"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_440
|
||||
bool "440"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_440fp
|
||||
bool "440 with FPU"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_464
|
||||
bool "464"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_464fp
|
||||
bool "464 with FPU"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_476
|
||||
bool "476"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_476fp
|
||||
bool "476 with FPU"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_505
|
||||
bool "505"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_602
|
||||
bool "602"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_603
|
||||
bool "603"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_603e
|
||||
bool "603e"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_604
|
||||
bool "604"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_604e
|
||||
bool "604e"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_620
|
||||
bool "620"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
# No C library supports this variant on ppc64le
|
||||
depends on !BR2_powerpc64le
|
||||
config BR2_powerpc_630
|
||||
bool "630"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
# No C library supports this variant on ppc64le
|
||||
depends on !BR2_powerpc64le
|
||||
config BR2_powerpc_740
|
||||
bool "740"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_7400
|
||||
bool "7400"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_7450
|
||||
bool "7450"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_750
|
||||
bool "750"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_821
|
||||
bool "821"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_823
|
||||
bool "823"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_860
|
||||
bool "860"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_970
|
||||
bool "970"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_8540
|
||||
bool "8540 / e500v1"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_POWERPC_CPU_HAS_SPE
|
||||
config BR2_powerpc_8548
|
||||
bool "8548 / e500v2"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
select BR2_POWERPC_CPU_HAS_SPE
|
||||
config BR2_powerpc_e300c2
|
||||
bool "e300c2"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_e300c3
|
||||
bool "e300c3"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_e500mc
|
||||
bool "e500mc"
|
||||
depends on BR2_powerpc
|
||||
depends on !BR2_ARCH_IS_64
|
||||
config BR2_powerpc_e5500
|
||||
bool "e5500"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
depends on !BR2_powerpc64le
|
||||
config BR2_powerpc_e6500
|
||||
bool "e6500"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
depends on !BR2_powerpc64le
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_power4
|
||||
bool "power4"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
# No C library supports this variant on ppc64le
|
||||
depends on !BR2_powerpc64le
|
||||
config BR2_powerpc_power5
|
||||
bool "power5"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
# No C library supports this variant on ppc64le
|
||||
depends on !BR2_powerpc64le
|
||||
config BR2_powerpc_power6
|
||||
bool "power6"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
config BR2_powerpc_power7
|
||||
bool "power7"
|
||||
depends on BR2_powerpc || BR2_powerpc64
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
select BR2_POWERPC_CPU_HAS_VSX
|
||||
config BR2_powerpc_power8
|
||||
bool "power8"
|
||||
select BR2_POWERPC_CPU_HAS_VSX
|
||||
config BR2_powerpc_power9
|
||||
bool "power9"
|
||||
select BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
select BR2_POWERPC_CPU_HAS_VSX
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
|
||||
endchoice
|
||||
|
||||
choice
|
||||
@@ -221,7 +218,6 @@ config BR2_GCC_TARGET_CPU
|
||||
default "power6" if BR2_powerpc_power6
|
||||
default "power7" if BR2_powerpc_power7
|
||||
default "power8" if BR2_powerpc_power8
|
||||
default "power9" if BR2_powerpc_power9
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "PowerPC" if BR2_powerpc
|
||||
|
||||
+3
-19
@@ -18,9 +18,6 @@ config BR2_RISCV_ISA_RVD
|
||||
config BR2_RISCV_ISA_RVC
|
||||
bool
|
||||
|
||||
config BR2_RISCV_ISA_RVV
|
||||
bool
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
default BR2_riscv_g
|
||||
@@ -38,6 +35,7 @@ config BR2_riscv_g
|
||||
config BR2_riscv_custom
|
||||
bool "Custom architecture"
|
||||
select BR2_RISCV_ISA_RVI
|
||||
select BR2_RISCV_ISA_CUSTOM_RVA
|
||||
|
||||
endchoice
|
||||
|
||||
@@ -65,12 +63,6 @@ config BR2_RISCV_ISA_CUSTOM_RVD
|
||||
config BR2_RISCV_ISA_CUSTOM_RVC
|
||||
bool "Compressed Instructions (C)"
|
||||
select BR2_RISCV_ISA_RVC
|
||||
|
||||
config BR2_RISCV_ISA_CUSTOM_RVV
|
||||
bool "Vector Instructions (V)"
|
||||
select BR2_RISCV_ISA_RVV
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
|
||||
|
||||
endif
|
||||
|
||||
choice
|
||||
@@ -79,23 +71,15 @@ choice
|
||||
|
||||
config BR2_RISCV_32
|
||||
bool "32-bit"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
config BR2_RISCV_64
|
||||
bool "64-bit"
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_RISCV_USE_MMU
|
||||
bool "MMU support"
|
||||
default y
|
||||
depends on BR2_RISCV_64
|
||||
select BR2_USE_MMU
|
||||
help
|
||||
Enable this option if your RISC-V core has a MMU (Memory
|
||||
Management Unit).
|
||||
|
||||
choice
|
||||
prompt "Target ABI"
|
||||
default BR2_RISCV_ABI_ILP32D if !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD
|
||||
|
||||
+6
-204
@@ -19,20 +19,12 @@ config BR2_X86_CPU_HAS_AVX
|
||||
bool
|
||||
config BR2_X86_CPU_HAS_AVX2
|
||||
bool
|
||||
|
||||
# BR2_X86_CPU_HAS_AVX512 implies the following AVX512 extensions:
|
||||
# AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL
|
||||
# This subset is common to Intel Xeon (excl Xeon Phi), AMD Zen 4, and
|
||||
# the x86-64-v4 psABI.
|
||||
#
|
||||
# Only select BR2_X86_CPU_HAS_AVX512 if the CPU supports this entire
|
||||
# subset of extensions.
|
||||
config BR2_X86_CPU_HAS_AVX512
|
||||
bool
|
||||
|
||||
# This list of CPU architecture variant is (loosely) ordered according
|
||||
# to the gcc documentation at
|
||||
# https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/x86-Options.html
|
||||
# https://gcc.gnu.org/onlinedocs/gcc-11.2.0/gcc/x86-Options.html
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
default BR2_x86_i586 if BR2_i386
|
||||
@@ -235,17 +227,6 @@ config BR2_x86_sandybridge
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
|
||||
config BR2_x86_ivybridge
|
||||
bool "ivybridge"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
|
||||
config BR2_x86_core_avx2
|
||||
bool "core-avx2"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@@ -354,54 +335,6 @@ config BR2_x86_tremont
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
config BR2_x86_sierraforest
|
||||
bool "sierraforest"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_13
|
||||
config BR2_x86_grandridge
|
||||
bool "grandridge"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_13
|
||||
config BR2_x86_knightslanding
|
||||
bool "knightslanding"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_5
|
||||
config BR2_x86_knightsmill
|
||||
bool "knightsmill"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
|
||||
config BR2_x86_skylake_avx512
|
||||
bool "skylake-avx512"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@@ -506,8 +439,6 @@ config BR2_x86_sapphirerapids
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_X86_CPU_HAS_AVX512
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
|
||||
help
|
||||
Use for Sapphire Rapids, Emerald Rapids
|
||||
config BR2_x86_alderlake
|
||||
bool "alderlake"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@@ -519,9 +450,8 @@ config BR2_x86_alderlake
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_X86_CPU_HAS_AVX512
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
|
||||
help
|
||||
Use for Alder Lake, Raptor Lake, Meteor Lake
|
||||
config BR2_x86_rocketlake
|
||||
bool "rocketlake"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@@ -535,32 +465,6 @@ config BR2_x86_rocketlake
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_X86_CPU_HAS_AVX512
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
|
||||
config BR2_x86_graniterapids
|
||||
bool "graniterapids"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_X86_CPU_HAS_AVX512
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_13
|
||||
config BR2_x86_graniterapids_d
|
||||
bool "graniterapids-d"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_X86_CPU_HAS_AVX512
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_13
|
||||
config BR2_x86_k6
|
||||
bool "k6"
|
||||
depends on !BR2_x86_64
|
||||
@@ -598,13 +502,6 @@ config BR2_x86_barcelona
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
config BR2_x86_bobcat
|
||||
bool "bobcat"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
config BR2_x86_jaguar
|
||||
bool "jaguar"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@@ -614,25 +511,6 @@ config BR2_x86_jaguar
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
|
||||
config BR2_x86_bulldozer
|
||||
bool "bulldozer"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
config BR2_x86_piledriver
|
||||
bool "piledriver"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
config BR2_x86_steamroller
|
||||
bool "steamroller"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@@ -642,73 +520,12 @@ config BR2_x86_steamroller
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
|
||||
config BR2_x86_excavator
|
||||
bool "excavator"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
|
||||
config BR2_x86_zen
|
||||
bool "zen"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_6
|
||||
config BR2_x86_zen2
|
||||
bool "zen 2"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
config BR2_x86_zen3
|
||||
bool "zen 3"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
|
||||
config BR2_x86_zen4
|
||||
bool "zen 4"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
select BR2_X86_CPU_HAS_AVX
|
||||
select BR2_X86_CPU_HAS_AVX2
|
||||
select BR2_X86_CPU_HAS_AVX512
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_13
|
||||
config BR2_x86_geode
|
||||
bool "AMD Geode"
|
||||
bool "geode"
|
||||
# Don't include MMX support because there several variant of geode
|
||||
# processor, some with MMX support, some without.
|
||||
# See: http://en.wikipedia.org/wiki/Geode_%28processor%29
|
||||
depends on !BR2_x86_64
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_3DNOW
|
||||
config BR2_x86_c3
|
||||
bool "Via/Cyrix C3 (Samuel/Ezra cores)"
|
||||
depends on !BR2_x86_64
|
||||
@@ -776,7 +593,6 @@ config BR2_GCC_TARGET_ARCH
|
||||
default "nehalem" if BR2_x86_nehalem
|
||||
default "corei7-avx" if BR2_x86_corei7_avx
|
||||
default "sandybridge" if BR2_x86_sandybridge
|
||||
default "ivybridge" if BR2_x86_ivybridge
|
||||
default "core-avx2" if BR2_x86_core_avx2
|
||||
default "haswell" if BR2_x86_haswell
|
||||
default "broadwell" if BR2_x86_broadwell
|
||||
@@ -788,10 +604,6 @@ config BR2_GCC_TARGET_ARCH
|
||||
default "goldmont" if BR2_x86_goldmont
|
||||
default "goldmont-plus" if BR2_x86_goldmont_plus
|
||||
default "tremont" if BR2_x86_tremont
|
||||
default "sierraforest" if BR2_x86_sierraforest
|
||||
default "grandridge" if BR2_x86_grandridge
|
||||
default "knl" if BR2_x86_knightslanding
|
||||
default "knm" if BR2_x86_knightsmill
|
||||
default "skylake-avx512" if BR2_x86_skylake_avx512
|
||||
default "cannonlake" if BR2_x86_cannonlake
|
||||
default "icelake-client" if BR2_x86_icelake_client
|
||||
@@ -802,21 +614,11 @@ config BR2_GCC_TARGET_ARCH
|
||||
default "sapphirerapids" if BR2_x86_sapphirerapids
|
||||
default "alderlake" if BR2_x86_alderlake
|
||||
default "rocketlake" if BR2_x86_rocketlake
|
||||
default "graniterapids" if BR2_x86_graniterapids
|
||||
default "graniterapids-d" if BR2_x86_graniterapids_d
|
||||
default "k8" if BR2_x86_opteron
|
||||
default "k8-sse3" if BR2_x86_opteron_sse3
|
||||
default "barcelona" if BR2_x86_barcelona
|
||||
default "btver1" if BR2_x86_bobcat
|
||||
default "btver2" if BR2_x86_jaguar
|
||||
default "bdver1" if BR2_x86_bulldozer
|
||||
default "bdver2" if BR2_x86_piledriver
|
||||
default "bdver3" if BR2_x86_steamroller
|
||||
default "bdver4" if BR2_x86_excavator
|
||||
default "znver1" if BR2_x86_zen
|
||||
default "znver2" if BR2_x86_zen2
|
||||
default "znver3" if BR2_x86_zen3
|
||||
default "znver4" if BR2_x86_zen4
|
||||
default "k6" if BR2_x86_k6
|
||||
default "k6-2" if BR2_x86_k6_2
|
||||
default "athlon" if BR2_x86_athlon
|
||||
|
||||
+2
-10
@@ -5,10 +5,11 @@ choice
|
||||
|
||||
config BR2_XTENSA_CUSTOM
|
||||
bool "Custom Xtensa processor configuration"
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
|
||||
config BR2_xtensa_fsf
|
||||
bool "fsf - Default configuration"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_HAS_MMU_MANDATORY
|
||||
|
||||
endchoice
|
||||
|
||||
@@ -40,15 +41,6 @@ config BR2_XTENSA_BIG_ENDIAN
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_XTENSA_USE_MMU
|
||||
bool "MMU support"
|
||||
default y
|
||||
depends on BR2_XTENSA_CUSTOM
|
||||
select BR2_USE_MMU
|
||||
help
|
||||
Enable this option if your Xtensa core has a MMU (Memory
|
||||
Management Unit).
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE" if BR2_XTENSA_LITTLE_ENDIAN
|
||||
default "BIG" if BR2_xtensa_fsf || BR2_XTENSA_BIG_ENDIAN
|
||||
|
||||
@@ -18,16 +18,5 @@ GCC_TARGET_FPU := $(call qstrip,$(BR2_GCC_TARGET_FPU))
|
||||
GCC_TARGET_FLOAT_ABI := $(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI))
|
||||
GCC_TARGET_MODE := $(call qstrip,$(BR2_GCC_TARGET_MODE))
|
||||
|
||||
# Explicitly set LD's "max-page-size" instead of relying on some defaults
|
||||
ifeq ($(BR2_ARC_PAGE_SIZE_4K)$(BR2_ARM64_PAGE_SIZE_4K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096
|
||||
else ifeq ($(BR2_ARC_PAGE_SIZE_8K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=8192 -Wl,-z,common-page-size=8192
|
||||
else ifeq ($(BR2_ARC_PAGE_SIZE_16K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384
|
||||
else ifeq ($(BR2_ARM64_PAGE_SIZE_64K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=65536 -Wl,-z,common-page-size=65536
|
||||
endif
|
||||
|
||||
# Include any architecture specific makefiles.
|
||||
-include $(sort $(wildcard arch/arch.mk.*))
|
||||
|
||||
+10
-1
@@ -2,7 +2,16 @@ ifeq ($(BR2_arc),y)
|
||||
|
||||
# -matomic is always required when the ARC core has the atomic extensions
|
||||
ifeq ($(BR2_ARC_ATOMIC_EXT),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -matomic
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS = -matomic
|
||||
endif
|
||||
|
||||
# Explicitly set LD's "max-page-size" instead of relying on some defaults
|
||||
ifeq ($(BR2_ARC_PAGE_SIZE_4K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=4096
|
||||
else ifeq ($(BR2_ARC_PAGE_SIZE_8K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=8192
|
||||
else ifeq ($(BR2_ARC_PAGE_SIZE_16K),y)
|
||||
ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=16384
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
#
|
||||
# Configure the GCC_TARGET_ARCH variable and append the
|
||||
# appropriate C-SKY ISA extensions.
|
||||
#
|
||||
|
||||
ifeq ($(BR2_csky),y)
|
||||
|
||||
ifeq ($(BR2_ck610),y)
|
||||
GCC_TARGET_CPU := ck610
|
||||
else ifeq ($(BR2_ck807),y)
|
||||
GCC_TARGET_CPU := ck807
|
||||
else ifeq ($(BR2_ck810),y)
|
||||
GCC_TARGET_CPU := ck810
|
||||
else ifeq ($(BR2_ck860),y)
|
||||
GCC_TARGET_CPU := ck860
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_CSKY_FPU),y)
|
||||
GCC_TARGET_CPU := $(GCC_TARGET_CPU)f
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_CSKY_VDSP),y)
|
||||
GCC_TARGET_CPU := $(GCC_TARGET_CPU)v
|
||||
endif
|
||||
|
||||
endif
|
||||
@@ -26,17 +26,5 @@ endif
|
||||
ifeq ($(BR2_RISCV_ISA_RVC),y)
|
||||
GCC_TARGET_ARCH := $(GCC_TARGET_ARCH)c
|
||||
endif
|
||||
ifeq ($(BR2_RISCV_ISA_RVV),y)
|
||||
GCC_TARGET_ARCH := $(GCC_TARGET_ARCH)v
|
||||
endif
|
||||
|
||||
# Starting from gcc 12.x, csr and fence instructions have been
|
||||
# separated from the base I instruction set, and special -march
|
||||
# suffixes are needed to enable their support. In Buildroot, we assume
|
||||
# all RISC-V cores that support Linux implement those instructions, so
|
||||
# we unconditionally enable those extensions.
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_12),y)
|
||||
GCC_TARGET_ARCH := $(GCC_TARGET_ARCH)_zicsr_zifencei
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
+1
-6
@@ -1,9 +1,3 @@
|
||||
BR_ARCH_XTENSA_OVERLAY_FILE = $(call qstrip,$(BR2_XTENSA_OVERLAY_FILE))
|
||||
|
||||
ifeq ($(BR_BUILDING)$(BR2_XTENSA_CUSTOM)$(BR2_TOOLCHAIN_BUILDROOT):$(BR_ARCH_XTENSA_OVERLAY_FILE),yyy:)
|
||||
$(error No xtensa overlay file provided. Check your BR2_XTENSA_OVERLAY_FILE setting)
|
||||
endif
|
||||
|
||||
################################################################################
|
||||
# This variable can be used by packages that need to extract the overlay.
|
||||
#
|
||||
@@ -15,6 +9,7 @@ endif
|
||||
# tar xf $(ARCH_XTENSA_OVERLAY_FILE) -C $(@D) --strip-components=1 gcc
|
||||
# endif
|
||||
################################################################################
|
||||
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 = $($(PKG)_DL_DIR)/$(notdir $(BR_ARCH_XTENSA_OVERLAY_FILE))
|
||||
|
||||
@@ -18,7 +18,7 @@ image disk.img {
|
||||
|
||||
partition boot {
|
||||
image = "efi-part.vfat"
|
||||
partition-type-uuid = U
|
||||
partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
|
||||
offset = 32K
|
||||
bootable = true
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Copyright (C) 2014 Atmel,
|
||||
* 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
|
||||
*
|
||||
* 2022 Sergio Tanzilli <tanzilli@acmesystems.it>
|
||||
* 2020 Sergio Tanzilli <tanzilli@acmesystems.it>
|
||||
*
|
||||
* Licensed under GPLv2 or later.
|
||||
*/
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
bootargs = "mem=256M console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait net.ifnames=0";
|
||||
bootargs = "mem=256M console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait consoleblank=0";
|
||||
};
|
||||
|
||||
memory {
|
||||
@@ -128,19 +128,15 @@
|
||||
|
||||
i2c3@ {
|
||||
compatible = "i2c-gpio";
|
||||
|
||||
sda-gpios = <&pioE 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
|
||||
scl-gpios = <&pioE 2 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_i2c3_gpio>;
|
||||
|
||||
i2c-gpio,delay-us = <4>; /* ~178 kHz */
|
||||
gpios = <&pioE 1 0 /* SDA */
|
||||
&pioE 2 0 /* SCK */
|
||||
>;
|
||||
i2c-gpio,delay-us = <4>; /* ~178 kHz */
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
||||
/* EEPROM contains the eth0 MAC address */
|
||||
|
||||
|
||||
eeprom@58 {
|
||||
compatible = "atmel,24mac402";
|
||||
pagesize = <256>;
|
||||
@@ -153,7 +149,6 @@
|
||||
reg = <0x0 0x06>;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
pwm0: pwm@f002c000 {
|
||||
@@ -209,17 +204,6 @@
|
||||
};
|
||||
|
||||
pinctrl@fffff200 {
|
||||
|
||||
atmel,mux-mask = <
|
||||
/* A B C */
|
||||
0xffffffff 0xc0fc0000 0xc0ff0000 /* pioA */
|
||||
0xffffffff 0x0ff8ffff 0x00000000 /* pioB */
|
||||
0xffffffff 0xbc00f1ff 0x7c00fc00 /* pioC */
|
||||
0xffffffff 0xc001c0e0 0x0001c1e0 /* pioD */
|
||||
0xfffffff9 0xbf9f8000 0x18000000 /* pioE */
|
||||
/* 0xffffffff 0xb8000000 0x18000000 */ /* pioE */
|
||||
>;
|
||||
|
||||
board {
|
||||
pinctrl_i2c0_pu: i2c0_pu {
|
||||
atmel,pins =
|
||||
@@ -233,13 +217,6 @@
|
||||
<AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;
|
||||
};
|
||||
|
||||
pinctrl_i2c3_gpio: i2c3-gpio {
|
||||
atmel,pins =
|
||||
<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
|
||||
AT91_PIOE 2 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
|
||||
};
|
||||
|
||||
|
||||
pinctrl_key_gpio: key_gpio_0 {
|
||||
atmel,pins =
|
||||
<AT91_PIOE 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
|
||||
@@ -259,20 +236,12 @@
|
||||
atmel,pins =
|
||||
<AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
|
||||
};
|
||||
|
||||
pinctrl_gpio_leds: gpio_leds_default {
|
||||
atmel,pins =
|
||||
<AT91_PIOE 3 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
|
||||
AT91_PIOE 4 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
|
||||
AT91_PIOE 5 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
|
||||
AT91_PIOE 6 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
usb0: gadget@500000 {
|
||||
status = "disabled";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
usb1: ohci@600000 {
|
||||
@@ -303,8 +272,6 @@
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_gpio_leds>;
|
||||
|
||||
led0 {
|
||||
label = "led0";
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
label linux-4.17.0-rc3
|
||||
kernel /Image
|
||||
devicetree /sun50i-a64-amarula-relic.dtb
|
||||
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p4 rootwait
|
||||
@@ -0,0 +1,11 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"Image",
|
||||
"sun50i-a64-amarula-relic.dtb",
|
||||
"extlinux"
|
||||
}
|
||||
}
|
||||
|
||||
size = 64M
|
||||
}
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
|
||||
@@ -0,0 +1,90 @@
|
||||
Amarula A64 Relic
|
||||
================
|
||||
|
||||
Amarula A64-Relic is an Allwinner A64 based IoT device, which supports:
|
||||
- Allwinner A64 Cortex-A53
|
||||
- Mali-400MP2 GPU
|
||||
- AXP803 PMIC
|
||||
- 1GB DDR3 RAM
|
||||
- 8GB eMMC
|
||||
- AP6330 Wifi/BLE
|
||||
- MIPI-DSI
|
||||
- CSI: OV5640 sensor
|
||||
- USB OTG
|
||||
- 12V DC power supply
|
||||
|
||||
Wiki link:
|
||||
https://openedev.amarulasolutions.com/display/ODWIKI/Amarual+A64-Relic
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
$ make amarula_a64_relic_defconfig
|
||||
|
||||
$ make
|
||||
|
||||
build files at output/images/:
|
||||
- sunxi-spl.bin
|
||||
- u-boot.itb
|
||||
- Image
|
||||
- sun50i-a64-amarula-relic.dtb
|
||||
- boot.vfat
|
||||
- rootfs.ext4
|
||||
|
||||
Write eMMC
|
||||
=========
|
||||
|
||||
The board comes with an operating system preloaded on the eMMC.
|
||||
To replace it with the Buildroot-built system, take the following
|
||||
steps
|
||||
|
||||
1. Connect the board UART with host and open minicom(ttyUSBx/115200N8)
|
||||
|
||||
2. Supply 12V DC for power-on the board.
|
||||
|
||||
3. Interrupt U-Boot by pressing enter
|
||||
|
||||
4. Create GPT partitions
|
||||
=> mmc dev 1
|
||||
=> gpt write mmc 1 $partitions
|
||||
|
||||
5. Connect the board USB-OTG with USB slot on the host.
|
||||
|
||||
6. Initiate fastboot
|
||||
=> fastboot 0
|
||||
|
||||
7. Write images from host onto eMMC using fastboot
|
||||
$ cd output/images
|
||||
$ sudo fastboot -i 0x1f3a flash loader1 sunxi-spl.bin
|
||||
$ sudo fastboot -i 0x1f3a flash loader2 u-boot.itb
|
||||
$ sudo fastboot -i 0x1f3a flash esp boot.vfat
|
||||
$ sudo fastboot -i 0x1f3a flash system rootfs.ext4
|
||||
|
||||
Update eMMC during Development
|
||||
==============================
|
||||
|
||||
During development, reflashing the entire filesystem image at every
|
||||
change is time consuming. A useful alternative is to directly access
|
||||
over USB the filesystem stored on the eMMC, using the USB Mass Storage
|
||||
capability of U-Boot. To achieve this:
|
||||
|
||||
1. Build U-Boot by enabling UMS
|
||||
$ make uboot-menuconfig
|
||||
(select CONFIG_CMD_USB_MASS_STORAGE=y)
|
||||
|
||||
2. Follow all 6 steps from 'Write eMMC' and mount eMMC on host
|
||||
=> mmc dev 1
|
||||
=> ums 0 mmc 1
|
||||
|
||||
WiFi
|
||||
====
|
||||
|
||||
# wpa_passphrase ACCESSPOINTNAME >> /etc/wpa_supplicant.conf
|
||||
(type password and enter)
|
||||
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
|
||||
# udhcpc -i wlan0
|
||||
# ping google.com
|
||||
|
||||
--
|
||||
Jagan Teki <jagan@amarulasolutions.com>
|
||||
29-Jun-2018
|
||||
@@ -0,0 +1,83 @@
|
||||
#AP6330_NVRAM_V1.0_20121130
|
||||
#Sample variables file for BCM94330 SD FC AGB board
|
||||
manfid=0x2d0
|
||||
prodid=0x0547
|
||||
vendid=0x14e4
|
||||
devid=0x4360
|
||||
boardtype=0x05e1
|
||||
boardrev=0x1202
|
||||
boardflags=0x0080200
|
||||
nocrc=1
|
||||
xtalfreq=26000
|
||||
boardnum=22
|
||||
macaddr=00:90:4c:c5:12:38
|
||||
ag0=254
|
||||
aa2g=1
|
||||
ccode=ALL
|
||||
pa0itssit=0x20
|
||||
pa0b0=5587
|
||||
pa0b1=-633
|
||||
pa0b2=-158
|
||||
rssismf2g=0xa
|
||||
rssismc2g=0x3
|
||||
rssisav2g=0x7
|
||||
#rssi params for 5GHz
|
||||
rssismf5g=0x4
|
||||
rssismc5g=0x3
|
||||
rssisav5g=0x7
|
||||
#PA parameters for lower a-band
|
||||
pa1lob0=4748
|
||||
pa1lob1=-566
|
||||
pa1lob2=-180
|
||||
#PA parameters for midband
|
||||
pa1b0=4762
|
||||
pa1b1=-593
|
||||
pa1b2=-172
|
||||
#PA parameters for high band
|
||||
#pa1hib0=4596
|
||||
pa1hib0=4666
|
||||
pa1hib1=-619
|
||||
pa1hib2=-163
|
||||
rxpo5g=0
|
||||
maxp2ga0=74
|
||||
maxp5ga0=66
|
||||
maxp5gla0=66
|
||||
maxp5gha0=66
|
||||
# 2.4G Tx Power offsets
|
||||
cck2gpo=0x2222
|
||||
ofdm2gpo=0x44444444
|
||||
mcs2gpo0=0x6666
|
||||
mcs2gpo1=0x6666
|
||||
# 5G Tx Power offsets
|
||||
ofdm5gpo=0x44444444
|
||||
ofdm5glpo=0x44444444
|
||||
ofdm5ghpo=0x44444444
|
||||
mcs5gpo0=0x6666
|
||||
mcs5gpo1=0x6666
|
||||
mcs5glpo0=0x6666
|
||||
mcs5glpo1=0x6666
|
||||
mcs5ghpo0=0x6666
|
||||
mcs5ghpo1=0x6666
|
||||
sromrev=3
|
||||
il0macaddr=00:90:4c:c5:12:38
|
||||
wl0id=0x431b
|
||||
cckPwrOffset=4
|
||||
swctrlmap_2g=0x44844484,0x42824282,0x40804484,0x18282,0x1ff
|
||||
triso5g=0
|
||||
swctrlmap_5g=0x00100010,0x20202020,0x20202020,0x14202,0x0f0
|
||||
rfreg033=0x19
|
||||
rfreg033_cck=0x1f
|
||||
dacrate2g=160
|
||||
dacrate5g=160
|
||||
txalpfbyp2g=1
|
||||
bphyscale=17
|
||||
cckPwrIdxCorr=-15
|
||||
pacalidx2g=50
|
||||
#pacalidx5g=20
|
||||
noise_cal_ref_2g=53
|
||||
noise_cal_po_2g=0
|
||||
noise_cal_ref_5g=52
|
||||
noise_cal_po_5g=5,0,0
|
||||
# 4330 OOB parameter: High level trigger
|
||||
muxenab=0x10
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
CONFIG_NDS32_BUILTIN_DTB="ae3xx"
|
||||
@@ -0,0 +1,28 @@
|
||||
From 90d52d180dcc5d1300dc352ca709eb6453894143 Mon Sep 17 00:00:00 2001
|
||||
From: Nylon Chen <nylon7@andestech.com>
|
||||
Date: Wed, 28 Nov 2018 16:26:46 +0800
|
||||
Subject: [PATCH] nds32: Fix boot messages garbled
|
||||
|
||||
In order to display uart correctly we have to pass the correct setting of uart to kernel by bootarg.
|
||||
This patch will provide such settings to set the correct uart baud rate.
|
||||
|
||||
Signed-off-by: Nylon Chen <nylon7@andestech.com>
|
||||
---
|
||||
arch/nds32/boot/dts/ae3xx.dts | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/arch/nds32/boot/dts/ae3xx.dts b/arch/nds32/boot/dts/ae3xx.dts
|
||||
index bb39749a6673..aefe2090926a 100644
|
||||
--- a/arch/nds32/boot/dts/ae3xx.dts
|
||||
+++ b/arch/nds32/boot/dts/ae3xx.dts
|
||||
@@ -6,6 +6,7 @@
|
||||
interrupt-parent = <&intc>;
|
||||
|
||||
chosen {
|
||||
+ bootargs = "memblock=debug earlycon console=ttyS0,38400n8 debug loglevel=7";
|
||||
stdout-path = &serial0;
|
||||
};
|
||||
|
||||
--
|
||||
2.18.0
|
||||
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
From f9df4186c17d686f1ca38f973d7a3a49e8e37c01 Mon Sep 17 00:00:00 2001
|
||||
From: Dirk Mueller <dmueller@suse.com>
|
||||
Date: Tue, 14 Jan 2020 18:53:41 +0100
|
||||
Subject: [PATCH] scripts/dtc: Remove redundant YYLOC global declaration
|
||||
|
||||
gcc 10 will default to -fno-common, which causes this error at link
|
||||
time:
|
||||
|
||||
(.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here
|
||||
|
||||
This is because both dtc-lexer as well as dtc-parser define the same
|
||||
global symbol yyloc. Before with -fcommon those were merged into one
|
||||
defintion. The proper solution would be to to mark this as "extern",
|
||||
however that leads to:
|
||||
|
||||
dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls]
|
||||
26 | extern YYLTYPE yylloc;
|
||||
| ^~~~~~
|
||||
In file included from dtc-lexer.l:24:
|
||||
dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here
|
||||
127 | extern YYLTYPE yylloc;
|
||||
| ^~~~~~
|
||||
cc1: all warnings being treated as errors
|
||||
|
||||
which means the declaration is completely redundant and can just be
|
||||
dropped.
|
||||
|
||||
Signed-off-by: Dirk Mueller <dmueller@suse.com>
|
||||
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
||||
[robh: cherry-pick from upstream]
|
||||
Cc: stable@vger.kernel.org
|
||||
Signed-off-by: Rob Herring <robh@kernel.org>
|
||||
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
|
||||
---
|
||||
scripts/dtc/dtc-lexer.l | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
|
||||
index 06c040902444..d1b3810156c7 100644
|
||||
--- a/scripts/dtc/dtc-lexer.l
|
||||
+++ b/scripts/dtc/dtc-lexer.l
|
||||
@@ -38,7 +38,6 @@ LINECOMMENT "//".*\n
|
||||
#include "srcpos.h"
|
||||
#include "dtc-parser.tab.h"
|
||||
|
||||
-YYLTYPE yylloc;
|
||||
extern bool treesource_error;
|
||||
|
||||
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
Andestech(nds32) AE300 Platform
|
||||
|
||||
The AE300 prototype demonstrates the AE300 example platform on the FPGA.
|
||||
It is composed of one Andestech(nds32) processor and AE300.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
The andes_ae300_defconfig configuration is a sample configuration with
|
||||
all that is required to bring the FPGA Development Board:
|
||||
|
||||
$ make andes_ae300_defconfig
|
||||
|
||||
Build everything
|
||||
----------------
|
||||
Note: you will need to have access to the network, since Buildroot will
|
||||
download the packages' sources.
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- vmlinux
|
||||
+-- rootfs.cpio
|
||||
+-- rootfs.tar
|
||||
|
||||
How to run it
|
||||
=============
|
||||
|
||||
Run
|
||||
---
|
||||
|
||||
Setup the Console with the rate 38400/8-N-1.
|
||||
|
||||
$ cd output/images
|
||||
$ ../host/bin/nds32le-linux-gdb vmlinux
|
||||
$ target remote [your host]
|
||||
$ lo
|
||||
$ c
|
||||
Executable
+274
@@ -0,0 +1,274 @@
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
compatible = "andestech,ae350";
|
||||
model = "andestech,ax45";
|
||||
aliases {
|
||||
uart0 = &serial0;
|
||||
spi0 = &spi;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,38400n8 earlycon=sbi debug loglevel=7";
|
||||
stdout-path = "uart0:38400n8";
|
||||
};
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
timebase-frequency = <60000000>;
|
||||
CPU0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
status = "okay";
|
||||
compatible = "riscv";
|
||||
riscv,isa = "rv64i2p0m2p0a2p0f2p0d2p0c2p0xv5-1p1xdsp0p0";
|
||||
riscv,priv-major = <1>;
|
||||
riscv,priv-minor = <10>;
|
||||
mmu-type = "riscv,sv48";
|
||||
clock-frequency = <60000000>;
|
||||
i-cache-size = <0x8000>;
|
||||
i-cache-sets = <256>;
|
||||
i-cache-block-size = <64>;
|
||||
i-cache-line-size = <64>;
|
||||
d-cache-size = <0x8000>;
|
||||
d-cache-sets = <128>;
|
||||
d-cache-block-size = <64>;
|
||||
d-cache-line-size = <64>;
|
||||
next-level-cache = <&L2>;
|
||||
CPU0_intc: interrupt-controller {
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-controller;
|
||||
compatible = "riscv,cpu-intc";
|
||||
};
|
||||
};
|
||||
CPU1: cpu@1 {
|
||||
device_type = "cpu";
|
||||
reg = <1>;
|
||||
status = "okay";
|
||||
compatible = "riscv";
|
||||
riscv,isa = "rv64i2p0m2p0a2p0f2p0d2p0c2p0xv5-1p1xdsp0p0";
|
||||
riscv,priv-major = <1>;
|
||||
riscv,priv-minor = <10>;
|
||||
mmu-type = "riscv,sv48";
|
||||
clock-frequency = <60000000>;
|
||||
i-cache-size = <0x8000>;
|
||||
i-cache-sets = <256>;
|
||||
i-cache-block-size = <64>;
|
||||
i-cache-line-size = <64>;
|
||||
d-cache-size = <0x8000>;
|
||||
d-cache-sets = <128>;
|
||||
d-cache-block-size = <64>;
|
||||
d-cache-line-size = <64>;
|
||||
next-level-cache = <&L2>;
|
||||
CPU1_intc: interrupt-controller {
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-controller;
|
||||
compatible = "riscv,cpu-intc";
|
||||
};
|
||||
};
|
||||
CPU2: cpu@2 {
|
||||
device_type = "cpu";
|
||||
reg = <2>;
|
||||
status = "okay";
|
||||
compatible = "riscv";
|
||||
riscv,isa = "rv64i2p0m2p0a2p0f2p0d2p0c2p0xv5-1p1xdsp0p0";
|
||||
riscv,priv-major = <1>;
|
||||
riscv,priv-minor = <10>;
|
||||
mmu-type = "riscv,sv48";
|
||||
clock-frequency = <60000000>;
|
||||
i-cache-size = <0x8000>;
|
||||
i-cache-sets = <256>;
|
||||
i-cache-block-size = <64>;
|
||||
i-cache-line-size = <64>;
|
||||
d-cache-size = <0x8000>;
|
||||
d-cache-sets = <128>;
|
||||
d-cache-block-size = <64>;
|
||||
d-cache-line-size = <64>;
|
||||
next-level-cache = <&L2>;
|
||||
CPU2_intc: interrupt-controller {
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-controller;
|
||||
compatible = "riscv,cpu-intc";
|
||||
};
|
||||
};
|
||||
CPU3: cpu@3 {
|
||||
device_type = "cpu";
|
||||
reg = <3>;
|
||||
status = "okay";
|
||||
compatible = "riscv";
|
||||
riscv,isa = "rv64i2p0m2p0a2p0f2p0d2p0c2p0xv5-1p1xdsp0p0";
|
||||
riscv,priv-major = <1>;
|
||||
riscv,priv-minor = <10>;
|
||||
mmu-type = "riscv,sv48";
|
||||
clock-frequency = <60000000>;
|
||||
i-cache-size = <0x8000>;
|
||||
i-cache-sets = <256>;
|
||||
i-cache-block-size = <64>;
|
||||
i-cache-line-size = <64>;
|
||||
d-cache-size = <0x8000>;
|
||||
d-cache-sets = <128>;
|
||||
d-cache-block-size = <64>;
|
||||
d-cache-line-size = <64>;
|
||||
next-level-cache = <&L2>;
|
||||
CPU3_intc: interrupt-controller {
|
||||
#interrupt-cells = <1>;
|
||||
interrupt-controller;
|
||||
compatible = "riscv,cpu-intc";
|
||||
};
|
||||
};
|
||||
};
|
||||
L2: l2-cache@e0500000 {
|
||||
compatible = "cache";
|
||||
cache-level = <2>;
|
||||
cache-size = <0x80000>;
|
||||
reg = <0x00000000 0xe0500000 0x00000000 0x00001000>;
|
||||
andes,inst-prefetch = <3>;
|
||||
andes,data-prefetch = <3>;
|
||||
// The value format is <XRAMOCTL XRAMICTL>
|
||||
andes,tag-ram-ctl = <0 0>;
|
||||
andes,data-ram-ctl = <0 0>;
|
||||
};
|
||||
memory@0 {
|
||||
reg = <0x00000000 0x00000000 0x00000000 0x80000000>;
|
||||
device_type = "memory";
|
||||
};
|
||||
soc {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
compatible = "andestech,riscv-ae350-soc", "simple-bus";
|
||||
ranges;
|
||||
plic0: interrupt-controller@e4000000 {
|
||||
compatible = "riscv,plic0";
|
||||
reg = <0x00000000 0xe4000000 0x00000000 0x02000000>;
|
||||
interrupts-extended = < &CPU0_intc 11 &CPU0_intc 9 &CPU1_intc 11 &CPU1_intc 9 &CPU2_intc 11 &CPU2_intc 9 &CPU3_intc 11 &CPU3_intc 9>;
|
||||
interrupt-controller;
|
||||
#address-cells = <2>;
|
||||
#interrupt-cells = <2>;
|
||||
riscv,ndev = <71>;
|
||||
};
|
||||
plic1: interrupt-controller@e6400000 {
|
||||
compatible = "riscv,plic1";
|
||||
reg = <0x00000000 0xe6400000 0x00000000 0x00400000>;
|
||||
interrupts-extended = < &CPU0_intc 3 &CPU1_intc 3 &CPU2_intc 3 &CPU3_intc 3>;
|
||||
interrupt-controller;
|
||||
#address-cells = <2>;
|
||||
#interrupt-cells = <2>;
|
||||
riscv,ndev = <4>;
|
||||
};
|
||||
plmt0: plmt0@e6000000 {
|
||||
compatible = "riscv,plmt0";
|
||||
reg = <0x00000000 0xe6000000 0x00000000 0x00100000>;
|
||||
interrupts-extended = < &CPU0_intc 7 &CPU1_intc 7 &CPU2_intc 7 &CPU3_intc 7>;
|
||||
};
|
||||
spiclk: virt_100mhz {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <100000000>;
|
||||
};
|
||||
timer0: timer@f0400000 {
|
||||
compatible = "andestech,atcpit100";
|
||||
reg = <0x00000000 0xf0400000 0x00000000 0x00001000>;
|
||||
interrupts = <3 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
clock-frequency = <60000000>;
|
||||
};
|
||||
pwm: pwm@f0400000 {
|
||||
compatible = "andestech,atcpit100-pwm";
|
||||
reg = <0x00000000 0xf0400000 0x00000000 0x00001000>;
|
||||
interrupts = <3 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
clock-frequency = <60000000>;
|
||||
pwm-cells = <2>;
|
||||
};
|
||||
wdt: wdt@f0500000 {
|
||||
compatible = "andestech,atcwdt200";
|
||||
reg = <0x00000000 0xf0500000 0x00000000 0x00001000>;
|
||||
interrupts = <3 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
clock-frequency = <15000000>;
|
||||
};
|
||||
serial0: serial@f0300000 {
|
||||
compatible = "andestech,uart16550", "ns16550a";
|
||||
reg = <0x00000000 0xf0300000 0x00000000 0x00001000>;
|
||||
interrupts = <9 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
clock-frequency = <19660800>;
|
||||
reg-shift = <2>;
|
||||
reg-offset = <32>;
|
||||
no-loopback-test = <1>;
|
||||
};
|
||||
rtc0: rtc@f0600000 {
|
||||
compatible = "andestech,atcrtc100";
|
||||
reg = <0x00000000 0xf0600000 0x00000000 0x00001000>;
|
||||
interrupts = <1 4 2 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
wakeup-source;
|
||||
};
|
||||
gpio: gpio@f0700000 {
|
||||
compatible = "andestech,atcgpio100";
|
||||
reg = <0x00000000 0xf0700000 0x00000000 0x00001000>;
|
||||
interrupts = <7 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
wakeup-source;
|
||||
};
|
||||
mac0: mac@e0100000 {
|
||||
compatible = "andestech,atmac100";
|
||||
reg = <0x00000000 0xe0100000 0x00000000 0x00001000>;
|
||||
interrupts = <19 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
dma-coherent;
|
||||
};
|
||||
smu: smu@f0100000 {
|
||||
compatible = "andestech,atcsmu";
|
||||
reg = <0x00000000 0xf0100000 0x00000000 0x00001000>;
|
||||
};
|
||||
mmc0: mmc@f0e00000 {
|
||||
compatible = "andestech,atfsdc010";
|
||||
reg = <0x00000000 0xf0e00000 0x00000000 0x00001000>;
|
||||
interrupts = <18 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
clock-freq-min-max = <400000 100000000>;
|
||||
max-frequency = <100000000>;
|
||||
fifo-depth = <16>;
|
||||
cap-sd-highspeed;
|
||||
dma-coherent;
|
||||
};
|
||||
dma0: dma@f0c00000 {
|
||||
compatible = "andestech,atcdmac300";
|
||||
reg = <0x00000000 0xf0c00000 0x00000000 0x00001000>;
|
||||
interrupts = <10 4 64 4 65 4 66 4 67 4 68 4 69 4 70 4 71 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
dma-channels = <8>;
|
||||
};
|
||||
lcd0: lcd@e0200000 {
|
||||
compatible = "andestech,atflcdc100";
|
||||
reg = <0x00000000 0xe0200000 0x00000000 0x00001000>;
|
||||
interrupts = <20 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
dma-coherent;
|
||||
};
|
||||
pmu: pmu {
|
||||
compatible = "riscv,andes-pmu";
|
||||
device_type = "pmu";
|
||||
};
|
||||
spi: spi@f0b00000 {
|
||||
compatible = "andestech,atcspi200";
|
||||
reg = <0x00000000 0xf0b00000 0x00000000 0x00001000>;
|
||||
interrupts = <4 4>;
|
||||
interrupt-parent = <&plic0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
num-cs = <1>;
|
||||
clocks = <&spiclk>;
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0x00000000>;
|
||||
spi-max-frequency = <50000000>;
|
||||
spi-cpol;
|
||||
spi-cpha;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -3,7 +3,7 @@ image boot.vfat {
|
||||
files = {
|
||||
"u-boot-spl.bin",
|
||||
"u-boot.itb",
|
||||
"ae350_ax45mp.dtb",
|
||||
"ae350.dtb",
|
||||
}
|
||||
}
|
||||
size = 2M
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From 3ccb71eeca42dbcd5e4d00ae1877a489ae82598d Mon Sep 17 00:00:00 2001
|
||||
From: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
Date: Wed, 29 Dec 2021 16:04:54 +0800
|
||||
Subject: [PATCH] Disable PIC explicitly for assembling
|
||||
|
||||
This patch is necessary if the fw_dynamic load address
|
||||
is not equal to link address.
|
||||
However, they are equal currently, since we include an u-boot
|
||||
patch for preventing fw_dynamic relocation.
|
||||
|
||||
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
---
|
||||
Makefile | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index d6f097d..441518d 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -225,6 +225,7 @@ ASFLAGS += -mcmodel=$(PLATFORM_RISCV_CODE_MODEL)
|
||||
ASFLAGS += $(GENFLAGS)
|
||||
ASFLAGS += $(platform-asflags-y)
|
||||
ASFLAGS += $(firmware-asflags-y)
|
||||
+ASFLAGS += -fno-pic
|
||||
|
||||
ARFLAGS = rcs
|
||||
|
||||
--
|
||||
2.25.1
|
||||
@@ -0,0 +1,25 @@
|
||||
From 325328f4204b40b1fcc8db3b46c7c8805710d21c Mon Sep 17 00:00:00 2001
|
||||
From: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
Date: Thu, 30 Dec 2021 08:47:34 +0800
|
||||
Subject: [PATCH] Enable cache for opensbi jump mode
|
||||
|
||||
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
---
|
||||
firmware/fw_base.S | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/firmware/fw_base.S b/firmware/fw_base.S
|
||||
index ab33e11..155d230 100644
|
||||
--- a/firmware/fw_base.S
|
||||
+++ b/firmware/fw_base.S
|
||||
@@ -46,6 +46,8 @@
|
||||
.globl _start
|
||||
.globl _start_warm
|
||||
_start:
|
||||
+ li t0, 0x80003
|
||||
+ csrw 0x7ca, t0
|
||||
/* Find preferred boot HART id */
|
||||
MOV_3R s0, a0, s1, a1, s2, a2
|
||||
call fw_boot_hart
|
||||
--
|
||||
2.25.1
|
||||
@@ -0,0 +1,27 @@
|
||||
From ea4675215b53d16a72d29b8a6fc6a86cccf59cf0 Mon Sep 17 00:00:00 2001
|
||||
From: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
Date: Wed, 5 Jan 2022 11:00:59 +0800
|
||||
Subject: [PATCH] Fix mmc no partition table error
|
||||
|
||||
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
---
|
||||
drivers/mmc/ftsdc010_mci.c | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/drivers/mmc/ftsdc010_mci.c b/drivers/mmc/ftsdc010_mci.c
|
||||
index 570d54cf..3b1e0aa0 100644
|
||||
--- a/drivers/mmc/ftsdc010_mci.c
|
||||
+++ b/drivers/mmc/ftsdc010_mci.c
|
||||
@@ -438,10 +438,6 @@ static int ftsdc010_mmc_probe(struct udevice *dev)
|
||||
return ret;
|
||||
#endif
|
||||
|
||||
- if (dev_read_bool(dev, "cap-mmc-highspeed") || \
|
||||
- dev_read_bool(dev, "cap-sd-highspeed"))
|
||||
- chip->caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
|
||||
-
|
||||
ftsdc_setup_cfg(&plat->cfg, dev->name, chip->buswidth, chip->caps,
|
||||
priv->minmax[1] , priv->minmax[0]);
|
||||
chip->mmc = &plat->mmc;
|
||||
--
|
||||
2.25.1
|
||||
-38
@@ -1,38 +0,0 @@
|
||||
From 16aad5594e08550295ea3c12c1c9ed6f64774748 Mon Sep 17 00:00:00 2001
|
||||
From: Rick Chen <rick@andestech.com>
|
||||
Date: Tue, 29 Mar 2022 13:41:10 +0800
|
||||
Subject: [PATCH] mmc: ftsdc010_mci: Support DTS of ftsdc010 driver for
|
||||
generic dma
|
||||
|
||||
The ftsdc010 driver has been implemented for generic dma in Linux
|
||||
kernel. And its compatible is andestech,atfsdc010g to distinguish
|
||||
the legacy andestech,atfsdc010 which is not for generic dma.
|
||||
|
||||
Althought the ftsdc010_mci driver in U-Boot does not use dma, but
|
||||
it still can work well with the mmc node for generic dma. So add
|
||||
the compatible string to support it.
|
||||
|
||||
Signed-off-by: Rick Chen <rick@andestech.com>
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
---
|
||||
drivers/mmc/ftsdc010_mci.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/drivers/mmc/ftsdc010_mci.c b/drivers/mmc/ftsdc010_mci.c
|
||||
index 570d54cf9d..65b1d447a8 100644
|
||||
--- a/drivers/mmc/ftsdc010_mci.c
|
||||
+++ b/drivers/mmc/ftsdc010_mci.c
|
||||
@@ -460,6 +460,7 @@ int ftsdc010_mmc_bind(struct udevice *dev)
|
||||
|
||||
static const struct udevice_id ftsdc010_mmc_ids[] = {
|
||||
{ .compatible = "andestech,atfsdc010" },
|
||||
+ { .compatible = "andestech,atfsdc010g" },
|
||||
{ }
|
||||
};
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From 4c0c5378d032f2f95577585935624baf7b4decf3 Mon Sep 17 00:00:00 2001
|
||||
From: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
Date: Wed, 5 Jan 2022 11:02:26 +0800
|
||||
Subject: [PATCH] Prevent fw_dynamic from relocation
|
||||
|
||||
This patch prevents OpenSBI relocation, load fw_dynamic to link address
|
||||
|
||||
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
---
|
||||
board/AndesTech/ax25-ae350/Kconfig | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/board/AndesTech/ax25-ae350/Kconfig b/board/AndesTech/ax25-ae350/Kconfig
|
||||
index e50f505a..385c4c11 100644
|
||||
--- a/board/AndesTech/ax25-ae350/Kconfig
|
||||
+++ b/board/AndesTech/ax25-ae350/Kconfig
|
||||
@@ -25,7 +25,7 @@ config SPL_TEXT_BASE
|
||||
default 0x800000
|
||||
|
||||
config SPL_OPENSBI_LOAD_ADDR
|
||||
- default 0x01000000
|
||||
+ default 0x0
|
||||
|
||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||
def_bool y
|
||||
--
|
||||
2.25.1
|
||||
-42
@@ -1,42 +0,0 @@
|
||||
From 933ad8a59f7fd9b2088badc3e97167d750a40b5a Mon Sep 17 00:00:00 2001
|
||||
From: Bin Meng <bmeng.cn@gmail.com>
|
||||
Date: Mon, 12 Jul 2021 11:52:31 +0800
|
||||
Subject: [PATCH] spl: Align device tree blob address at 8-byte boundary
|
||||
|
||||
Since libfdt v1.6.1, a new requirement on the device tree address via:
|
||||
|
||||
commit 5e735860c478 ("libfdt: Check for 8-byte address alignment in fdt_ro_probe_()")
|
||||
|
||||
must be met that the device tree must be loaded in to memory at an
|
||||
8-byte aligned address.
|
||||
|
||||
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
|
||||
|
||||
This patch was imported from U-boot patchwork:
|
||||
https://patchwork.ozlabs.org/project/uboot/patch/20210712035231.26475-1-bmeng.cn@gmail.com/
|
||||
|
||||
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
---
|
||||
common/spl/spl_fit.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
|
||||
index a35be529..a76ad14a 100644
|
||||
--- a/common/spl/spl_fit.c
|
||||
+++ b/common/spl/spl_fit.c
|
||||
@@ -382,6 +382,12 @@ static int spl_fit_append_fdt(struct spl_image_info *spl_image,
|
||||
*/
|
||||
image_info.load_addr = spl_image->load_addr + spl_image->size;
|
||||
|
||||
+ /*
|
||||
+ * Since libfdt v1.6.1, the device tree must be loaded in to memory
|
||||
+ * at an 8-byte aligned address.
|
||||
+ */
|
||||
+ image_info.load_addr = roundup(image_info.load_addr, 8);
|
||||
+
|
||||
/* Figure out which device tree the board wants to use */
|
||||
node = spl_fit_get_image_node(ctx, FIT_FDT_PROP, index++);
|
||||
if (node < 0) {
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From 3d09501175ae6f5e3f6520b48b1358226a99ff16 Mon Sep 17 00:00:00 2001
|
||||
From: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
Date: Wed, 5 Jan 2022 18:17:39 +0800
|
||||
Subject: [PATCH] Fix u-boot proper booting issue
|
||||
|
||||
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
---
|
||||
arch/riscv/cpu/start.S | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S
|
||||
index 76850ec9..2ccda4f5 100644
|
||||
--- a/arch/riscv/cpu/start.S
|
||||
+++ b/arch/riscv/cpu/start.S
|
||||
@@ -139,7 +139,9 @@ call_harts_early_init:
|
||||
* accesses gd).
|
||||
*/
|
||||
mv gp, s0
|
||||
+#if !CONFIG_IS_ENABLED(RISCV_SMODE)
|
||||
bnez tp, secondary_hart_loop
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
jal board_init_f_init_reserve
|
||||
--
|
||||
2.25.1
|
||||
@@ -0,0 +1,25 @@
|
||||
From 3847a959ac4c07facbd80104ca5fa6a91fad5f35 Mon Sep 17 00:00:00 2001
|
||||
From: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
Date: Thu, 6 Jan 2022 13:50:07 +0800
|
||||
Subject: [PATCH] Enable printing OpenSBI boot logo
|
||||
|
||||
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
---
|
||||
include/opensbi.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/opensbi.h b/include/opensbi.h
|
||||
index d812cc8c..91fb8fd9 100644
|
||||
--- a/include/opensbi.h
|
||||
+++ b/include/opensbi.h
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
enum sbi_scratch_options {
|
||||
/** Disable prints during boot */
|
||||
- SBI_SCRATCH_NO_BOOT_PRINTS = (1 << 0),
|
||||
+ SBI_SCRATCH_NO_BOOT_PRINTS = 0,
|
||||
};
|
||||
|
||||
/** Representation dynamic info passed by previous booting stage */
|
||||
--
|
||||
2.25.1
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
cp $BINARIES_DIR/Image $TARGET_DIR/boot
|
||||
cp $BINARIES_DIR/ae350_ax45mp.dtb $TARGET_DIR/boot
|
||||
cp $BINARIES_DIR/ae350.dtb $TARGET_DIR/boot
|
||||
|
||||
@@ -30,10 +30,12 @@ Result of the build
|
||||
After building, you should obtain the following files:
|
||||
|
||||
output/images/
|
||||
|-- ae350_ax45mp.dtb
|
||||
|-- ae350.dtb
|
||||
|-- boot.vfat
|
||||
|-- fw_dynamic.bin
|
||||
|-- fw_dynamic.elf
|
||||
|-- fw_jump.bin
|
||||
|-- fw_jump.elf
|
||||
|-- Image
|
||||
|-- rootfs.ext2
|
||||
|-- rootfs.ext4 -> rootfs.ext2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
label linux
|
||||
kernel /boot/Image
|
||||
fdt /boot/ae350_ax45mp.dtb
|
||||
fdt /boot/ae350.dtb
|
||||
append earlycon=sbi root=/dev/mmcblk0p2 rootwait
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
CONFIG_SPL_FS_FAT=y
|
||||
CONFIG_SPL_MMC=y
|
||||
# CONFIG_SPL_RAM_SUPPORT is not set
|
||||
CONFIG_SPL_OPENSBI_LOAD_ADDR=0x0
|
||||
CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS=0x0
|
||||
CONFIG_DISPLAY_CPUINFO=y
|
||||
CONFIG_DISPLAY_BOARDINFO=y
|
||||
# CONFIG_OF_BOARD is not set
|
||||
CONFIG_OF_SEPARATE=y
|
||||
|
||||
@@ -3,14 +3,14 @@ ARM software simulator of the AArch64 architecture.
|
||||
|
||||
First, one has to download the AArch64 software simulator from:
|
||||
|
||||
https://armkeil.blob.core.windows.net/developer/Files/downloads/ecosystem-models/Foundation_Platform_11.20_15_Linux64.tgz
|
||||
https://silver.arm.com/download/download.tm?pv=4807186
|
||||
|
||||
Then, use the arm_foundationv8_defconfig configuration to build your
|
||||
Buildroot system.
|
||||
|
||||
Finally, boot your system with:
|
||||
|
||||
${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/models/Linux64_GCC-9.3/Foundation_Platform \
|
||||
${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/models/Linux64_GCC-6.4/Foundation_Platform \
|
||||
--image output/images/linux-system.axf \
|
||||
--block-device output/images/rootfs.ext2 \
|
||||
--network=nat \
|
||||
|
||||
@@ -0,0 +1,169 @@
|
||||
CONFIG_SMP=y
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_FHANDLE=y
|
||||
CONFIG_AUDIT=y
|
||||
CONFIG_NO_HZ_IDLE=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||
CONFIG_TASKSTATS=y
|
||||
CONFIG_TASK_DELAY_ACCT=y
|
||||
CONFIG_TASK_XACCT=y
|
||||
CONFIG_TASK_IO_ACCOUNTING=y
|
||||
CONFIG_IKCONFIG=y
|
||||
CONFIG_IKCONFIG_PROC=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_MEMCG=y
|
||||
CONFIG_MEMCG_SWAP=y
|
||||
CONFIG_MEMCG_KMEM=y
|
||||
CONFIG_CGROUP_HUGETLB=y
|
||||
CONFIG_SCHED_AUTOGROUP=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_ARCH_VEXPRESS=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCI_MSI=y
|
||||
CONFIG_PCI_HOST_GENERIC=y
|
||||
CONFIG_PCIEPORTBUS=y
|
||||
CONFIG_HOTPLUG_PCI_PCIE=y
|
||||
CONFIG_HOTPLUG_PCI=y
|
||||
CONFIG_NR_CPUS=6
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_KSM=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_CMA=y
|
||||
CONFIG_CMDLINE="console=ttyAMA0"
|
||||
CONFIG_COMPAT=y
|
||||
CONFIG_CPU_IDLE=y
|
||||
CONFIG_ARM_CPUIDLE=y
|
||||
CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
|
||||
CONFIG_ARM_BIG_LITTLE_CPUFREQ=y
|
||||
CONFIG_ARM_DT_BL_CPUFREQ=y
|
||||
CONFIG_ARM_SCPI_CPUFREQ=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
CONFIG_IP_PNP_BOOTP=y
|
||||
CONFIG_BPF_JIT=y
|
||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_SATA_AHCI=y
|
||||
CONFIG_SATA_AHCI_PLATFORM=y
|
||||
CONFIG_AHCI_XGENE=y
|
||||
CONFIG_PATA_PLATFORM=y
|
||||
CONFIG_PATA_OF_PLATFORM=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_TUN=y
|
||||
CONFIG_SKY2=y
|
||||
CONFIG_SMC91X=y
|
||||
CONFIG_SMSC911X=y
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_SERIO_AMBAKMI=y
|
||||
CONFIG_LEGACY_PTY_COUNT=16
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
CONFIG_SERIAL_OF_PLATFORM=y
|
||||
CONFIG_SERIAL_XILINX_PS_UART=y
|
||||
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_I2C_DESIGNWARE_PLATFORM=y
|
||||
CONFIG_I2C_SLAVE=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_PL022=y
|
||||
CONFIG_PTP_1588_CLOCK=m
|
||||
CONFIG_GPIO_PL061=y
|
||||
CONFIG_GPIO_XGENE=y
|
||||
CONFIG_POWER_RESET_XGENE=y
|
||||
CONFIG_POWER_RESET_SYSCON=y
|
||||
CONFIG_REGULATOR=y
|
||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||
CONFIG_REGULATOR_VEXPRESS=m
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_I2C_NXP_TDA998X=y
|
||||
CONFIG_DRM_ARM=y
|
||||
CONFIG_DRM_HDLCD=y
|
||||
CONFIG_DRM_VIRTUAL_HDLCD=y
|
||||
CONFIG_FB_ARMCLCD=y
|
||||
CONFIG_LOGO=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_HCD_PLATFORM=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD_PLATFORM=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_ISP1760=y
|
||||
CONFIG_NOP_USB_XCEIV=y
|
||||
CONFIG_USB_ULPI=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_ARMMMCI=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
CONFIG_MMC_SPI=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_EFI=y
|
||||
CONFIG_RTC_DRV_PL030=y
|
||||
CONFIG_RTC_DRV_PL031=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_PL330_DMA=y
|
||||
CONFIG_COMMON_CLK_SCPI=y
|
||||
CONFIG_ARM_TIMER_SP804=y
|
||||
CONFIG_MAILBOX=y
|
||||
CONFIG_ARM_MHU=y
|
||||
CONFIG_PHY_XGENE=y
|
||||
CONFIG_ARM_SCPI_PROTOCOL=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
CONFIG_FANOTIFY=y
|
||||
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
|
||||
CONFIG_QUOTA=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_FUSE_FS=y
|
||||
CONFIG_CUSE=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_HUGETLBFS=y
|
||||
CONFIG_EFIVAR_FS=y
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
CONFIG_VIRTUALIZATION=y
|
||||
CONFIG_KVM=y
|
||||
CONFIG_DYNAMIC_DEBUG=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_LOCKUP_DETECTOR=y
|
||||
CONFIG_SECURITY=y
|
||||
CONFIG_CRYPTO_ANSI_CPRNG=y
|
||||
CONFIG_ARM64_CRYPTO=y
|
||||
CONFIG_CRYPTO_SHA1_ARM64_CE=y
|
||||
CONFIG_CRYPTO_SHA2_ARM64_CE=y
|
||||
CONFIG_CRYPTO_GHASH_ARM64_CE=y
|
||||
CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
|
||||
CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
|
||||
CONFIG_SOUND=y
|
||||
CONFIG_SND=y
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_SIMPLE_CARD=y
|
||||
CONFIG_SND_DESIGNWARE_I2S=y
|
||||
CONFIG_CMA=y
|
||||
CONFIG_CMA_SIZE_MBYTES=64
|
||||
@@ -0,0 +1,134 @@
|
||||
ARM Juno r1/r0
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
These instructions apply to all models of the ARM Juno:
|
||||
- Juno r0 (does not support PCIe)
|
||||
- Juno r1 (supports PCIe)
|
||||
- Juno r2 (Big Cluster with A72)
|
||||
|
||||
Buildroot will generate the kernel image, device tree blob, bootloader binaries
|
||||
and a minimal root filesystem.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot
|
||||
-------------------
|
||||
|
||||
Configuring Buildroot is pretty simple, just execute:
|
||||
|
||||
$ make arm_juno_defconfig
|
||||
|
||||
Build the rootfs, kernel and DTB
|
||||
--------------------------------
|
||||
|
||||
Note: you will need to have access to the network, since Buildroot will
|
||||
download the packages' sources.
|
||||
|
||||
You may now build your rootfs with:
|
||||
|
||||
$ make
|
||||
|
||||
(This may take a while)
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should obtain this tree:
|
||||
|
||||
output/images/
|
||||
+-- rootfs.tar
|
||||
+-- juno.dtb (if Juno r0 is used)
|
||||
+-- juno-r1.dtb (if Juno r1 is used)
|
||||
+-- juno-r2.dtb (if Juno r2 is used)
|
||||
+-- Image
|
||||
+-- bl1.bin
|
||||
+-- bl2.bin
|
||||
+-- bl2u.bin
|
||||
+-- bl31.bin
|
||||
+-- fip.bin
|
||||
+-- scp-fw.bin
|
||||
+-- u-boot.bin
|
||||
|
||||
Preparing your rootfs
|
||||
======================
|
||||
|
||||
Format your pen drive as a ext3 filesystem by executing:
|
||||
|
||||
$ mkfs.ext3 /dev/<your device>
|
||||
|
||||
Preparing your rootfs
|
||||
======================
|
||||
|
||||
Format your pen drive as a ext3 filesystem by executing:
|
||||
|
||||
$ mkfs.ext3 /dev/<your device>
|
||||
|
||||
Installing your rootfs
|
||||
======================
|
||||
|
||||
After mounting the pen drive please execute the following:
|
||||
|
||||
$ sudo tar -xvf output/images/rootfs.tar -C <pen drive mount path>
|
||||
|
||||
When completed make sure to unmount the device:
|
||||
|
||||
$ umount <pen drive mount path>
|
||||
|
||||
Insert the pen drive in one of the ARM Juno' USB type A connectors.
|
||||
|
||||
Configure *.dtb in the boot configuration for Juno r0
|
||||
=====================================================
|
||||
|
||||
SITE1/HBI0262B/images.txt
|
||||
.....
|
||||
NOR3UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
|
||||
NOR3ADDRESS: 0x00C00000 ;Image Flash Address
|
||||
NOR3FILE: \SOFTWARE\juno.dtb ;Image File Name
|
||||
NOR3NAME: board.dtb ;Specify Image name to preserve file extension
|
||||
NOR3LOAD: 00000000 ;Image Load Address
|
||||
NOR3ENTRY: 00000000 ;Image Entry Point
|
||||
......
|
||||
|
||||
Configure *.dtb in the boot configuration for Juno r1
|
||||
=====================================================
|
||||
|
||||
SITE1/HBI0262C/images.txt
|
||||
......
|
||||
NOR3UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
|
||||
NOR3ADDRESS: 0x00C00000 ;Image Flash Address
|
||||
NOR3FILE: \SOFTWARE\juno-r1.dtb ;Image File Name
|
||||
NOR3NAME: board.dtb ;Specify target filename to preserve file extension
|
||||
NOR3LOAD: 00000000 ;Image Load Address
|
||||
NOR3ENTRY: 00000000 ;Image Entry Point
|
||||
......
|
||||
|
||||
Configure *.dtb in the boot configuration for Juno r2
|
||||
=====================================================
|
||||
|
||||
SITE1/HBI0262D/images.txt
|
||||
......
|
||||
NOR3UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
|
||||
NOR3ADDRESS: 0x02000000 ;Image Flash Address
|
||||
NOR3FILE: \SOFTWARE\juno-r2.dtb ;Image File Name
|
||||
NOR3NAME: board.dtb ;Specify target filename to preserve file extension
|
||||
NOR3LOAD: 00000000 ;Image Load Address
|
||||
NOR3ENTRY: 00000000 ;Image Entry Point
|
||||
......
|
||||
|
||||
Installing kernel image and DTB
|
||||
===============================
|
||||
|
||||
1. Connect to the ARM Juno UART0 and execute USB_ON in the terminal
|
||||
2. Connect a USB cable between your PC and ARM Juno USB type B connector
|
||||
A mass storage device should appear in your desktop.
|
||||
3. Open the software/ folder
|
||||
4. Copy the 'Image' file to software/
|
||||
5. Copy the 'juno-r1.dtb' (r1), 'juno.dtb' (r0) or juno-r2.dtb (r2) file to software/
|
||||
6. Copy the bootloader binaries (bl1.bin and fip.bin) to software/
|
||||
7. Press the red button in the front pannel of ARM Juno
|
||||
|
||||
At this time, the board will erase the Flash entry for each new item and
|
||||
replace it with the lastest ones.
|
||||
-51
@@ -1,51 +0,0 @@
|
||||
From 336dc301e02d64507447f82020ce7a349797bef3 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <peter@korsgaard.com>
|
||||
Date: Sun, 5 Nov 2023 14:59:16 +0100
|
||||
Subject: [PATCH] stm32mp157a-avenger96.dts: enable hash device to unbreak boot
|
||||
issue
|
||||
|
||||
The avenger96 board was forgotten when authentication support was added with
|
||||
commit 4bdb1a7a6a1325343 (stm32mp1: add authentication support for
|
||||
stm32image), causing a panic when stm32mp_init_auth() is called, so fix it
|
||||
similar to how it was done for the STM32MP157C-ED1 board with:
|
||||
|
||||
commit b37b52ef8bc05bfd8dcca992d4ba84cd7c5d23bb
|
||||
Author: Yann Gautier <yann.gautier@st.com>
|
||||
Date: Tue Oct 13 18:05:06 2020 +0200
|
||||
|
||||
fdts: add missing hash node in STM32MP157C-ED1 board DT
|
||||
|
||||
Without this node, the board fails to boot and panics in the function
|
||||
stm32mp_init_auth().
|
||||
|
||||
Change-Id: Ia54924410dac2a8c94dd6e45d7e93977fe7d87e2
|
||||
Signed-off-by: Yann Gautier <yann.gautier@st.com>
|
||||
|
||||
Upstream: N/A - Upstream reworked authentication to skip it for MP157A
|
||||
variant since v2.7, see "feat(st): disable authentication based on
|
||||
part_number"
|
||||
(https://github.com/ARM-software/arm-trusted-firmware/commit/49abdfd8cececb91a4bc7e7b29a30c09dce461c7)
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
fdts/stm32mp157a-avenger96.dts | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/fdts/stm32mp157a-avenger96.dts b/fdts/stm32mp157a-avenger96.dts
|
||||
index b967736e4..76edecb83 100644
|
||||
--- a/fdts/stm32mp157a-avenger96.dts
|
||||
+++ b/fdts/stm32mp157a-avenger96.dts
|
||||
@@ -271,6 +271,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
+&hash1 {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&rng1 {
|
||||
status = "okay";
|
||||
};
|
||||
--
|
||||
2.39.2
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# This config reproduces the OpenBMC flash layout defined in Linux :
|
||||
#
|
||||
# arch/arm/boot/dts/openbmc-flash-layout.dtsi
|
||||
#
|
||||
# and included by aspeed-ast2500-evb.dts
|
||||
#
|
||||
flash nor-32M-256 {
|
||||
pebsize = 4K
|
||||
numpebs = 8K
|
||||
minimum-io-unit-size = 256
|
||||
}
|
||||
|
||||
image flash.img {
|
||||
flash {
|
||||
}
|
||||
flashtype = "nor-32M-256"
|
||||
|
||||
partition uboot {
|
||||
image = "u-boot.bin"
|
||||
size = 384K
|
||||
}
|
||||
|
||||
partition ubootenv {
|
||||
/* TODO */
|
||||
offset = 384K
|
||||
size = 128K
|
||||
}
|
||||
|
||||
partition fitimage {
|
||||
image = "image.itb"
|
||||
offset = 512K
|
||||
size = 4352K
|
||||
}
|
||||
|
||||
partition spare {
|
||||
offset = 4864K
|
||||
size = 27904K
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
CONFIG_KERNEL_XZ=y
|
||||
CONFIG_ARCH_MULTI_V7=n
|
||||
CONFIG_MACH_ASPEED_G6=n
|
||||
CONFIG_SMP=n
|
||||
CONFIG_EXT4_FS=n
|
||||
CONFIG_DEBUG_FS=n
|
||||
CONFIG_SUSPEND=n
|
||||
@@ -1,80 +0,0 @@
|
||||
Aspeed AST2500 EVB
|
||||
|
||||
Introduction
|
||||
============
|
||||
|
||||
The AST2500 EVB is an evaluation board for the AST2500 SoC, most
|
||||
commonly used as a Server Management Processor. It includes an 800MHz
|
||||
ARM11 processor with DDR3 or DDR4 SDRAM (up to 1GB), SPI flash memory
|
||||
devices for BMC and host firmwares and numerous controllers to drive
|
||||
the server board.
|
||||
|
||||
https://www.aspeedtech.com/server_ast2500/
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure buildroot:
|
||||
|
||||
$ make aspeed_ast2500evb_defconfig
|
||||
|
||||
Compile everything and build the rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
===================
|
||||
|
||||
After building, the output/images directory contains:
|
||||
|
||||
output/images/
|
||||
├── aspeed-ast2500-evb.dtb
|
||||
├── flash.img
|
||||
├── image.itb
|
||||
├── rootfs.cpio
|
||||
├── rootfs.cpio.xz
|
||||
├── rootfs.tar
|
||||
├── u-boot.bin
|
||||
└── zImage
|
||||
|
||||
Flashing the image
|
||||
==================
|
||||
|
||||
To update the contents of the first flash device, copy flash.img :
|
||||
|
||||
$ flashcp flash.img /dev/mtd0
|
||||
|
||||
or simply the boot loader:
|
||||
|
||||
$ flashcp u-boot.bin /dev/mtd1
|
||||
|
||||
Preparing the board
|
||||
===================
|
||||
|
||||
* Connect a serial line to the board
|
||||
* Power-up the board
|
||||
|
||||
Booting the board
|
||||
=================
|
||||
|
||||
The AST2500 EVB boots from the SPI flash device directly and loads a
|
||||
first bootloader (usually U-Boot). U-Boot will attempt to load a Linux
|
||||
kernel from the same flash device by default but other storage could
|
||||
be used.
|
||||
|
||||
* from U-Boot
|
||||
|
||||
The FIT image image.itb can be used to boot the board from U-Boot
|
||||
using tftp
|
||||
|
||||
* with QEMU
|
||||
|
||||
$ qemu-system-arm -M ast2500-evb \
|
||||
-drive file=output/images/flash.img,format=raw,if=mtd \
|
||||
-nographic
|
||||
|
||||
$ qemu-system-arm -M ast2500-evb \
|
||||
-kernel output/images/zImage \
|
||||
-initrd output/images/rootfs.cpio \
|
||||
-dtb output/images/aspeed-ast2500-evb.dtb \
|
||||
-nographic
|
||||
@@ -1,3 +0,0 @@
|
||||
CONFIG_BOOTCOMMAND="bootm 20080000"
|
||||
CONFIG_FIT=y
|
||||
CONFIG_SHA256=y
|
||||
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# This config reproduces the OpenBMC flash layout defined in Linux :
|
||||
#
|
||||
# arch/arm/boot/dts/openbmc-flash-layout-64.dtsi
|
||||
#
|
||||
# and included by aspeed-ast2600-evb.dts
|
||||
#
|
||||
flash nor-64M-256 {
|
||||
pebsize = 4K
|
||||
numpebs = 16K
|
||||
minimum-io-unit-size = 256
|
||||
}
|
||||
|
||||
image flash.img {
|
||||
flash {
|
||||
}
|
||||
flashtype = "nor-64M-256"
|
||||
|
||||
partition uboot {
|
||||
image = "u-boot.bin"
|
||||
size = 896K
|
||||
}
|
||||
|
||||
partition ubootenv {
|
||||
/* TODO */
|
||||
offset = 896K
|
||||
size = 128K
|
||||
}
|
||||
|
||||
partition fitimage {
|
||||
image = "image.itb"
|
||||
offset = 1M
|
||||
size = 9M
|
||||
}
|
||||
|
||||
partition spare {
|
||||
offset = 10M
|
||||
size = 54M
|
||||
}
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
Aspeed AST2600 EVB
|
||||
|
||||
Introduction
|
||||
============
|
||||
|
||||
The AST2600 EVB is an evaluation board for the AST2600 SoC, most
|
||||
commonly used as a Server Management Processor. It includes a
|
||||
Dual-core ARM Cortex A7 processor with DDR4 SDRAM (up to 2GB), SPI
|
||||
flash memory devices for BMC and host firmwares and numerous
|
||||
controllers to drive the server board.
|
||||
|
||||
https://www.aspeedtech.com/server_ast2600/
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure buildroot:
|
||||
|
||||
$ make aspeed_ast2600evb_defconfig
|
||||
|
||||
Compile everything and build the rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
===================
|
||||
|
||||
After building, the output/images directory contains:
|
||||
|
||||
output/images/
|
||||
├── aspeed-ast2600-evb.dtb
|
||||
├── flash.img
|
||||
├── image.itb
|
||||
├── rootfs.cpio
|
||||
├── rootfs.cpio.xz
|
||||
├── rootfs.tar
|
||||
├── u-boot.bin
|
||||
└── zImage
|
||||
|
||||
Flashing the image
|
||||
==================
|
||||
|
||||
To update the contents of the first flash device, copy flash.img :
|
||||
|
||||
$ flashcp flash.img /dev/mtd0
|
||||
|
||||
or simply the boot loader:
|
||||
|
||||
$ flashcp u-boot.bin /dev/mtd1
|
||||
|
||||
Preparing the board
|
||||
===================
|
||||
|
||||
* Connect a serial line to the board
|
||||
* Power-up the board
|
||||
|
||||
Booting the board
|
||||
=================
|
||||
|
||||
The AST2600 EVB boots from the SPI flash device directly and loads a
|
||||
first bootloader (usually U-Boot). U-Boot will attempt to load a Linux
|
||||
kernel from the same flash device by default but other storage could
|
||||
be used.
|
||||
|
||||
* from U-Boot
|
||||
|
||||
The FIT image image.itb can be used to boot the board from U-Boot
|
||||
using tftp
|
||||
|
||||
* with QEMU
|
||||
|
||||
$ qemu-system-arm -M ast2600-evb \
|
||||
-drive file=output/images/flash.img,format=raw,if=mtd \
|
||||
-nographic
|
||||
|
||||
$ qemu-system-arm -M ast2600-evb \
|
||||
-kernel output/images/zImage \
|
||||
-initrd output/images/rootfs.cpio \
|
||||
-dtb output/images/aspeed-ast2600-evb.dtb \
|
||||
-nographic
|
||||
@@ -1,56 +0,0 @@
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
description = "Kernel and buildroot image";
|
||||
#address-cells = <1>;
|
||||
|
||||
images {
|
||||
kernel-1 {
|
||||
description = "Linux kernel";
|
||||
data = /incbin/("zImage");
|
||||
type = "kernel";
|
||||
arch = "arm";
|
||||
os = "linux";
|
||||
compression = "none";
|
||||
load = <0x80001000>;
|
||||
entry = <0x80001000>;
|
||||
hash-1 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
fdt-1 {
|
||||
description = "Flattened Device Tree blob";
|
||||
data = /incbin/("%BOARD_DTB%");
|
||||
type = "flat_dt";
|
||||
arch = "arm";
|
||||
compression = "none";
|
||||
hash-1 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
ramdisk-1 {
|
||||
description = "ramdisk";
|
||||
data = /incbin/("rootfs.cpio.xz");
|
||||
type = "ramdisk";
|
||||
arch = "arm";
|
||||
os = "linux";
|
||||
compression = "none";
|
||||
hash-1 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
default = "conf-1";
|
||||
conf-1 {
|
||||
description = "Boot Linux kernel with FDT blob, ramdisk";
|
||||
kernel = "kernel-1";
|
||||
fdt = "fdt-1";
|
||||
ramdisk = "ramdisk-1";
|
||||
hash-1 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
mkimage=$HOST_DIR/bin/mkimage
|
||||
|
||||
BOARD_DT=$(sed -n \
|
||||
's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \
|
||||
${BR2_CONFIG})
|
||||
|
||||
sed -e "s/%BOARD_DTB%/${BOARD_DT}.dtb/" \
|
||||
$BOARD_DIR/image.its.template > $BINARIES_DIR/image.its
|
||||
|
||||
(cd $BINARIES_DIR && $mkimage -f image.its image.itb)
|
||||
|
||||
GENIMAGE_CFG="board/aspeed/${BOARD_DT#aspeed-*}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
rm -f $BINARIES_DIR/image.its
|
||||
@@ -1,4 +1,4 @@
|
||||
label Tinker linux
|
||||
label Tinker linux-next
|
||||
kernel /boot/uImage
|
||||
devicetree /boot/rk3288-tinker.dtb
|
||||
append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
|
||||
|
||||
@@ -2,19 +2,12 @@ image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-tpl-spl-dtb {
|
||||
partition u-boot-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-tpl-spl-dtb.img"
|
||||
image = "u-boot-spl-dtb.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-dtb.img"
|
||||
offset = 8M
|
||||
size = 30M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
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
|
||||
$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
|
||||
|
||||
@@ -35,9 +35,3 @@ You can write this image directly to an SD card device (i.e. /dev/xxx):
|
||||
$ sudo sync
|
||||
|
||||
Finally, you can insert the SD card to the Tinker RK3288 board and boot it.
|
||||
|
||||
NOTE:
|
||||
USB power supply requires more than the standard 500mA USB current, so
|
||||
this board must be supplied from a capable port or from an external
|
||||
AC/DC adapter. Otherwise it will hang forever while loading the kernel
|
||||
image.
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
|
||||
mmc dev 0
|
||||
fatload mmc 0 $kernel_addr_r zImage
|
||||
fatload mmc 0 $fdt_addr_r sun7i-a20-bananapi.dtb
|
||||
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
@@ -0,0 +1,34 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun7i-a20-bananapi.dtb",
|
||||
"boot.scr"
|
||||
}
|
||||
}
|
||||
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8K
|
||||
size = 1016K # 1MB - 8KB
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the Bananapi M1. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
Bananapi M1 link:
|
||||
http://www.banana-pi.org/m1.html
|
||||
|
||||
Wiki link:
|
||||
https://openedev.amarulasolutions.com/display/ODWIKI/Bananapi+M1
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make bananapi_m1_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required
|
||||
sources.
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SDcard in your Bananapi M1 and power it up. The console
|
||||
is on the serial line, 115200 8N1.
|
||||
@@ -0,0 +1,6 @@
|
||||
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
|
||||
fatload mmc 0 $kernel_addr_r Image
|
||||
fatload mmc 0 $fdt_addr_r sun50i-a64-bananapi-m64.dtb
|
||||
|
||||
booti $kernel_addr_r - $fdt_addr_r
|
||||
@@ -0,0 +1,40 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"Image",
|
||||
"sun50i-a64-bananapi-m64.dtb",
|
||||
"boot.scr"
|
||||
}
|
||||
}
|
||||
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition spl {
|
||||
in-partition-table = "no"
|
||||
image = "sunxi-spl.bin"
|
||||
offset = 8K
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.itb"
|
||||
offset = 40K
|
||||
size = 1M # 1MB - 40KB
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the Bananapi M64. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
Bananapi M64 link:
|
||||
http://www.banana-pi.org/m64.html
|
||||
|
||||
Wiki link:
|
||||
https://openedev.amarulasolutions.com/display/ODWIKI/Bananapi+M64
|
||||
|
||||
This configuration uses U-Boot mainline and kernel mainline.
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make bananapi_m64_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required
|
||||
sources.
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SDcard in your Bananapi M64 and power it up. The console
|
||||
is on the serial line, 115200 8N1.
|
||||
@@ -1,4 +0,0 @@
|
||||
label beaglebone-buildroot
|
||||
kernel /zImage
|
||||
fdtdir /
|
||||
append console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
|
||||
@@ -11,8 +11,6 @@ image boot.vfat {
|
||||
"am335x-boneblack.dtb",
|
||||
"am335x-bonegreen.dtb",
|
||||
"am335x-boneblack-wireless.dtb",
|
||||
"am335x-bonegreen-wireless.dtb",
|
||||
"extlinux"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
|
||||
|
||||
@@ -28,10 +28,6 @@ Result of the build
|
||||
===================
|
||||
output/images/
|
||||
+-- am335x-boneblack.dtb
|
||||
+-- am335x-boneblack-wireless.dtb
|
||||
+-- am335x-boneblue.dtb
|
||||
+-- am335x-bonegreen.dtb
|
||||
+-- am335x-bonegreen-wireless.dtb
|
||||
+-- am335x-bone.dtb
|
||||
+-- am335x-evm.dtb
|
||||
+-- am335x-evmsk.dtb
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
From 0cf11f3c0478f4286adcfb09bf9137f8b00212e3 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Ghiti <alexandre.ghiti@canonical.com>
|
||||
Date: Mon, 3 Oct 2022 18:07:54 +0200
|
||||
Subject: [PATCH] riscv: Fix build against binutils 2.38
|
||||
|
||||
The following description is copied from the equivalent patch for the
|
||||
Linux Kernel proposed by Aurelien Jarno:
|
||||
|
||||
>From version 2.38, binutils default to ISA spec version 20191213. This
|
||||
means that the csr read/write (csrr*/csrw*) instructions and fence.i
|
||||
instruction has separated from the `I` extension, become two standalone
|
||||
extensions: Zicsr and Zifencei. As the kernel uses those instruction,
|
||||
this causes the following build failure:
|
||||
|
||||
arch/riscv/cpu/mtrap.S: Assembler messages:
|
||||
arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause'
|
||||
arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc'
|
||||
arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval'
|
||||
arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0'
|
||||
|
||||
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
|
||||
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
||||
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
||||
Tested-by: Heiko Stuebner <heiko@sntech.de>
|
||||
Tested-by: Christian Stewart <christian@paral.in>
|
||||
Reviewed-by: Rick Chen <rick@andestech.com>
|
||||
(cherry picked from commit 1dde977518f13824b847e23275001191139bc384)
|
||||
Upstream: https://gitlab.com/u-boot/u-boot/-/commit/1dde977518f13824b847e23275001191139bc384
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
arch/riscv/Makefile | 11 ++++++++++-
|
||||
1 file changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
|
||||
index 0b80eb8d864..53d1194ffb6 100644
|
||||
--- a/arch/riscv/Makefile
|
||||
+++ b/arch/riscv/Makefile
|
||||
@@ -24,7 +24,16 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y)
|
||||
CMODEL = medany
|
||||
endif
|
||||
|
||||
-ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C) -mabi=$(ABI) \
|
||||
+RISCV_MARCH = $(ARCH_BASE)$(ARCH_A)$(ARCH_C)
|
||||
+
|
||||
+# Newer binutils versions default to ISA spec version 20191213 which moves some
|
||||
+# instructions from the I extension to the Zicsr and Zifencei extensions.
|
||||
+toolchain-need-zicsr-zifencei := $(call cc-option-yn, -mabi=$(ABI) -march=$(RISCV_MARCH)_zicsr_zifencei)
|
||||
+ifeq ($(toolchain-need-zicsr-zifencei),y)
|
||||
+ RISCV_MARCH := $(RISCV_MARCH)_zicsr_zifencei
|
||||
+endif
|
||||
+
|
||||
+ARCH_FLAGS = -march=$(RISCV_MARCH) -mabi=$(ABI) \
|
||||
-mcmodel=$(CMODEL)
|
||||
|
||||
PLATFORM_CPPFLAGS += $(ARCH_FLAGS)
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -17,7 +17,7 @@ Build results
|
||||
|
||||
After building, output/images contains:
|
||||
|
||||
+ bootloader-JH7100-buildroot.bin.out
|
||||
+ bootloader-BEAGLEV-buildroot.bin.out
|
||||
+ ddrinit-2133-buildroot.bin.out
|
||||
+ Image
|
||||
+ fw_payload.bin
|
||||
@@ -30,7 +30,7 @@ After building, output/images contains:
|
||||
|
||||
The four important files are:
|
||||
|
||||
- bootloader-JH7100-buildroot.bin.out, the first stage bootloader
|
||||
- bootloader-BEAGLEV-buildroot.bin.out, the first stage bootloader
|
||||
|
||||
- ddrinit-2133-buildroot.bin.out, the DDR initialization firmware
|
||||
|
||||
@@ -109,7 +109,7 @@ You can flash them as follows:
|
||||
"expert" features.
|
||||
|
||||
- Then, press 0 and send over X-modem the
|
||||
bootloader-JH7100-buildroot.bin.out file.
|
||||
bootloader-BEAGLEV-buildroot.bin.out file.
|
||||
|
||||
- Then, press 1 and send over X-modem the
|
||||
ddrinit-2133-buildroot.bin.out.
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
CONFIG_EMBEDDED=y
|
||||
CONFIG_ARCH_BCM=y
|
||||
CONFIG_ARCH_BCM_5301X=y
|
||||
CONFIG_ARCH_BCM_53573=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_NR_CPUS=2
|
||||
CONFIG_HIGHMEM=y
|
||||
CONFIG_ARM_APPENDED_DTB=y
|
||||
CONFIG_CMDLINE="ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubifs"
|
||||
CONFIG_CMDLINE_FORCE=y
|
||||
# CONFIG_SUSPEND is not set
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_BRIDGE=y
|
||||
CONFIG_BRIDGE_VLAN_FILTERING=y
|
||||
CONFIG_NET_DSA=y
|
||||
CONFIG_VLAN_8021Q=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_BCM47XX_NVRAM=y
|
||||
CONFIG_BCM47XX_SPROM=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_BCM47XX_PARTS=y
|
||||
CONFIG_MTD_PARSER_TRX=y
|
||||
CONFIG_MTD_BCM47XXSFLASH=y
|
||||
CONFIG_MTD_RAW_NAND=y
|
||||
CONFIG_MTD_NAND_BRCMNAND=y
|
||||
CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_VXLAN=y
|
||||
CONFIG_VETH=y
|
||||
CONFIG_B53=y
|
||||
CONFIG_BGMAC_BCMA=y
|
||||
CONFIG_BROADCOM_PHY=y
|
||||
CONFIG_MDIO_BUS_MUX_MMIOREG=y
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=2
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
|
||||
CONFIG_SERIAL_OF_PLATFORM=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_THERMAL=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_BCM47XX_WDT=y
|
||||
CONFIG_BCMA_HOST_SOC=y
|
||||
CONFIG_BCMA_DRIVER_GMAC_CMN=y
|
||||
CONFIG_BCMA_DRIVER_GPIO=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_LEDS_TRIGGER_USBPORT=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
CONFIG_USB_XHCI_PLATFORM=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
# CONFIG_USB_OHCI_HCD_PCI is not set
|
||||
CONFIG_USB_HCD_BCMA=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_GPIO=y
|
||||
CONFIG_LEDS_TRIGGERS=y
|
||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||
CONFIG_PHY_BCM_NS_USB2=y
|
||||
CONFIG_PHY_BCM_NS_USB3=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
CONFIG_DEBUG_LL=y
|
||||
CONFIG_DEBUG_UNCOMPRESS=y
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
@@ -1,40 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $1: images directory path
|
||||
# $2: device dts filename
|
||||
# $3: board id
|
||||
build_lxl() {
|
||||
local images="$1"
|
||||
local device="$2"
|
||||
local board="$3"
|
||||
|
||||
$HOST_DIR/bin/lzma_alone e $images/zImage.$device $images/zImage.$device.lzma -d16
|
||||
rm -f $images/zImage.$device
|
||||
$HOST_DIR/bin/otrx create $images/$device.trx -f $images/zImage.$device.lzma -a 0x20000 -f $images/rootfs.ubi
|
||||
rm -f $images/zImage.$device.lzma
|
||||
$HOST_DIR/bin/lxlfw create $images/$device.lxl -i $images/$device.trx -b "$board"
|
||||
}
|
||||
|
||||
# $1: images directory path
|
||||
# $2: device dts filename
|
||||
build_trx() {
|
||||
local images="$1"
|
||||
local device="$2"
|
||||
|
||||
$HOST_DIR/bin/lzma_alone e $images/zImage.$device $images/zImage.$device.lzma -d16
|
||||
rm -f $images/zImage.$device
|
||||
$HOST_DIR/bin/otrx create $images/$device.trx -f $images/zImage.$device.lzma -a 0x20000 -f $images/rootfs.ubi
|
||||
rm -f $images/zImage.$device.lzma
|
||||
}
|
||||
|
||||
devices="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})"
|
||||
for device in $devices; do
|
||||
case "$device" in
|
||||
"bcm4708-smartrg-sr400ac")
|
||||
build_trx "$1" "$device"
|
||||
;;
|
||||
"bcm47094-luxul-xwr-3150-v1")
|
||||
build_lxl "$1" "$device" "XWR-3150"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
@@ -1,38 +0,0 @@
|
||||
Broadcom Northstar
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This readme covers Northstar family of Broadcom SoCs. It includes:
|
||||
- BCM4708 (2 x 800 MHz)
|
||||
- BCM47081 (1 x 800 MHz)
|
||||
- BCM4709 (2 x 1 GHz)
|
||||
- BCM47094 (2 x 1 GHz) (AKA BCM4709C0)
|
||||
|
||||
Northstar platform is used in some home routers by multiple vendors. There are
|
||||
over 100 market devices based on it and they can all be supported with 1 kernel.
|
||||
|
||||
There is no point in having separated board for each model. This board code is
|
||||
meant for all supported Northstar devices.
|
||||
|
||||
All Northstar devices come with CFE bootloader by default. It's basically closed
|
||||
source as sources are available for some old releases only. There is no U-Boot (or
|
||||
any other) drop-in replacement or second stage loader with Northstar support.
|
||||
|
||||
CFE supports flashing firmware images over TFTP and HTTP (depending on vendor /
|
||||
device setup).
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
$ make broadcom_northstar_defconfig
|
||||
|
||||
$ make
|
||||
|
||||
How to flash over HTTP
|
||||
======================
|
||||
|
||||
Power on device and press (and hold) CTRL+C in serial console terminal. When CFE
|
||||
gets into prompt mode it'll automatically start built-in HTTP server. Navigate
|
||||
to http://192.168.1.1/ (unless IP was changed - verify with "ifconfig") and
|
||||
upload new firmware using a web browser.
|
||||
@@ -1,895 +0,0 @@
|
||||
# CONFIG_BPF_SYSCALL is not set
|
||||
CONFIG_TASK_DELAY_ACCT=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
# CONFIG_CGROUP_BPF is not set
|
||||
CONFIG_RELAY=y
|
||||
# CONFIG_ARCH_ACTIONS is not set
|
||||
# CONFIG_ARCH_SUNXI is not set
|
||||
# CONFIG_ARCH_ALPINE is not set
|
||||
# CONFIG_ARCH_APPLE is not set
|
||||
# CONFIG_ARCH_BCM2835 is not set
|
||||
# CONFIG_ARCH_BCM4908 is not set
|
||||
# CONFIG_ARCH_BCM_IPROC is not set
|
||||
# CONFIG_ARCH_BERLIN is not set
|
||||
# CONFIG_ARCH_BRCMSTB is not set
|
||||
# CONFIG_ARCH_EXYNOS is not set
|
||||
# CONFIG_ARCH_K3 is not set
|
||||
# CONFIG_ARCH_LAYERSCAPE is not set
|
||||
# CONFIG_ARCH_LG1K is not set
|
||||
# CONFIG_ARCH_HISI is not set
|
||||
# CONFIG_ARCH_KEEMBAY is not set
|
||||
# CONFIG_ARCH_MEDIATEK is not set
|
||||
# CONFIG_ARCH_MESON is not set
|
||||
# CONFIG_ARCH_MVEBU is not set
|
||||
# CONFIG_ARCH_QCOM is not set
|
||||
# CONFIG_ARCH_RENESAS is not set
|
||||
# CONFIG_ARCH_ROCKCHIP is not set
|
||||
# CONFIG_ARCH_S32 is not set
|
||||
# CONFIG_ARCH_SEATTLE is not set
|
||||
# CONFIG_ARCH_INTEL_SOCFPGA is not set
|
||||
# CONFIG_ARCH_SYNQUACER is not set
|
||||
# CONFIG_ARCH_TEGRA is not set
|
||||
# CONFIG_ARCH_TESLA_FSD is not set
|
||||
# CONFIG_ARCH_SPRD is not set
|
||||
# CONFIG_ARCH_THUNDER is not set
|
||||
# CONFIG_ARCH_THUNDER2 is not set
|
||||
# CONFIG_ARCH_UNIPHIER is not set
|
||||
# CONFIG_ARCH_VEXPRESS is not set
|
||||
# CONFIG_ARCH_VISCONTI is not set
|
||||
# CONFIG_ARCH_XGENE is not set
|
||||
# CONFIG_ARCH_ZYNQMP is not set
|
||||
# CONFIG_KEXEC is not set
|
||||
# CONFIG_KEXEC_FILE is not set
|
||||
# CONFIG_XEN is not set
|
||||
# CONFIG_ARM64_PTR_AUTH is not set
|
||||
# CONFIG_ARM64_TLB_RANGE is not set
|
||||
# CONFIG_ARM64_MTE is not set
|
||||
CONFIG_PM_DEBUG=y
|
||||
CONFIG_PM_TEST_SUSPEND=y
|
||||
# CONFIG_HIBERNATION is not set
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
|
||||
# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
|
||||
# CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM is not set
|
||||
# CONFIG_ARM_ARMADA_37XX_CPUFREQ is not set
|
||||
CONFIG_ARM_IMX_CPUFREQ_DT=y
|
||||
# CONFIG_ARM_QCOM_CPUFREQ_NVMEM is not set
|
||||
# CONFIG_ARM_QCOM_CPUFREQ_HW is not set
|
||||
# CONFIG_ARM_RASPBERRYPI_CPUFREQ is not set
|
||||
# CONFIG_ARM_SCMI_CPUFREQ is not set
|
||||
# CONFIG_ARM_TEGRA186_CPUFREQ is not set
|
||||
# CONFIG_ARM_MEDIATEK_CPUFREQ is not set
|
||||
# CONFIG_QORIQ_CPUFREQ is not set
|
||||
# CONFIG_ACPI_APEI_PCIEAER is not set
|
||||
# CONFIG_VIRTUALIZATION is not set
|
||||
# CONFIG_KVM is not set
|
||||
# CONFIG_GCC_PLUGINS is not set
|
||||
CONFIG_IPV6=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
CONFIG_IPV6_SIT=m
|
||||
CONFIG_NET_DSA_TAG_OCELOT=m
|
||||
CONFIG_VLAN_8021Q=y
|
||||
CONFIG_LLC2=y
|
||||
CONFIG_NET_SCH_MULTIQ=m
|
||||
CONFIG_NET_CLS_TCINDEX=m
|
||||
CONFIG_NET_PKTGEN=m
|
||||
CONFIG_BT=y
|
||||
CONFIG_BT_RFCOMM=y
|
||||
CONFIG_BT_RFCOMM_TTY=y
|
||||
CONFIG_BT_BNEP=y
|
||||
CONFIG_BT_BNEP_MC_FILTER=y
|
||||
CONFIG_BT_BNEP_PROTO_FILTER=y
|
||||
CONFIG_BT_HIDP=y
|
||||
# CONFIG_CAN_RCAR is not set
|
||||
# CONFIG_CAN_RCAR_CANFD is not set
|
||||
# CONFIG_CAN_MCP251XFD is not set
|
||||
CONFIG_BT_HCIUART=y
|
||||
CONFIG_BT_HCIUART_BCSP=y
|
||||
CONFIG_BT_HCIUART_ATH3K=y
|
||||
CONFIG_BT_HCIUART_3WIRE=y
|
||||
CONFIG_BT_HCIVHCI=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_NL80211_TESTMODE=y
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
CONFIG_MAC80211=y
|
||||
# CONFIG_BT_HCIUART_MRVL is not set
|
||||
# CONFIG_BT_MRVL is not set
|
||||
# CONFIG_BT_MRVL_SDIO is not set
|
||||
# CONFIG_BT_QCOMSMD is not set
|
||||
# CONFIG_RFKILL is not set
|
||||
# CONFIG_PCI is not set
|
||||
# CONFIG_PCIEPORTBUS is not set
|
||||
# CONFIG_PCIEAER is not set
|
||||
# CONFIG_PCI_IOV is not set
|
||||
# CONFIG_PCI_PASID is not set
|
||||
# CONFIG_HOTPLUG_PCI is not set
|
||||
# CONFIG_HOTPLUG_PCI_ACPI is not set
|
||||
# CONFIG_PCI_AARDVARK is not set
|
||||
# CONFIG_PCI_TEGRA is not set
|
||||
# CONFIG_PCIE_RCAR_HOST is not set
|
||||
# CONFIG_PCIE_RCAR_EP is not set
|
||||
# CONFIG_PCI_HOST_GENERIC is not set
|
||||
# CONFIG_PCI_XGENE is not set
|
||||
# CONFIG_PCIE_ALTERA is not set
|
||||
# CONFIG_PCIE_ALTERA_MSI is not set
|
||||
# CONFIG_PCI_HOST_THUNDER_PEM is not set
|
||||
# CONFIG_PCI_HOST_THUNDER_ECAM is not set
|
||||
# CONFIG_PCIE_ROCKCHIP_HOST is not set
|
||||
# CONFIG_PCIE_BRCMSTB is not set
|
||||
# CONFIG_PCI_IMX6 is not set
|
||||
# CONFIG_PCI_LAYERSCAPE is not set
|
||||
# CONFIG_PCI_HISI is not set
|
||||
# CONFIG_PCIE_QCOM is not set
|
||||
# CONFIG_PCIE_ARMADA_8K is not set
|
||||
# CONFIG_PCIE_KIRIN is not set
|
||||
# CONFIG_PCIE_HISI_STB is not set
|
||||
# CONFIG_PCIE_TEGRA194_HOST is not set
|
||||
# CONFIG_PCIE_VISCONTI_HOST is not set
|
||||
# CONFIG_PCIE_LAYERSCAPE_GEN4 is not set
|
||||
# CONFIG_PCI_ENDPOINT is not set
|
||||
# CONFIG_PCI_ENDPOINT_CONFIGFS is not set
|
||||
# CONFIG_PCI_EPF_TEST is not set
|
||||
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
|
||||
CONFIG_BRCMSTB_GISB_ARB=y
|
||||
CONFIG_VEXPRESS_CONFIG=y
|
||||
# CONFIG_HISILICON_LPC is not set
|
||||
# CONFIG_TEGRA_ACONNECT is not set
|
||||
# CONFIG_RASPBERRYPI_FIRMWARE is not set
|
||||
# CONFIG_INTEL_STRATIX10_SERVICE is not set
|
||||
# CONFIG_INTEL_STRATIX10_RSU is not set
|
||||
CONFIG_IMX_DSP=y
|
||||
# CONFIG_GNSS is not set
|
||||
# CONFIG_GNSS_MTK_SERIAL is not set
|
||||
CONFIG_MTD_CMDLINE_PARTS=y
|
||||
# CONFIG_MTD_NAND_BRCMNAND is not set
|
||||
CONFIG_MTD_NAND_GPMI_NAND=y
|
||||
# CONFIG_MTD_NAND_MARVELL is not set
|
||||
# CONFIG_MTD_NAND_FSL_IFC is not set
|
||||
# CONFIG_MTD_NAND_QCOM is not set
|
||||
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
|
||||
CONFIG_MTD_UBI=y
|
||||
# CONFIG_BLK_DEV_NVME is not set
|
||||
# CONFIG_PCI_ENDPOINT_TEST is not set
|
||||
CONFIG_RAID_ATTRS=m
|
||||
# CONFIG_SCSI_HISI_SAS_PCI is not set
|
||||
# CONFIG_MEGARAID_SAS is not set
|
||||
# CONFIG_SCSI_MPT3SAS is not set
|
||||
# CONFIG_SCSI_UFS_QCOM is not set
|
||||
# CONFIG_SCSI_UFS_HISI is not set
|
||||
# CONFIG_SCSI_UFS_EXYNOS is not set
|
||||
# CONFIG_SATA_AHCI is not set
|
||||
CONFIG_AHCI_IMX=y
|
||||
# CONFIG_AHCI_BRCM is not set
|
||||
# CONFIG_AHCI_MVEBU is not set
|
||||
# CONFIG_SATA_SIL24 is not set
|
||||
# CONFIG_SATA_RCAR is not set
|
||||
CONFIG_DM_CRYPT=m
|
||||
# CONFIG_NET_DSA_BCM_SF2 is not set
|
||||
# CONFIG_NET_DSA_MSCC_FELIX is not set
|
||||
# CONFIG_NET_XGENE is not set
|
||||
# CONFIG_ATL1C is not set
|
||||
# CONFIG_SYSTEMPORT is not set
|
||||
# CONFIG_BNX2X is not set
|
||||
# CONFIG_THUNDER_NIC_PF is not set
|
||||
CONFIG_FSL_XGMAC_MDIO=y
|
||||
CONFIG_FSL_ENETC_IERB=y
|
||||
# CONFIG_FSL_FMAN is not set
|
||||
# CONFIG_FSL_DPAA_ETH is not set
|
||||
# CONFIG_FSL_DPAA2_ETH is not set
|
||||
# CONFIG_FSL_ENETC is not set
|
||||
# CONFIG_FSL_ENETC_VF is not set
|
||||
# CONFIG_FSL_ENETC_QOS is not set
|
||||
CONFIG_MVMDIO=y
|
||||
CONFIG_MSCC_OCELOT_SWITCH=m
|
||||
# CONFIG_HNS3 is not set
|
||||
# CONFIG_HNS3_HCLGE is not set
|
||||
# CONFIG_HNS3_ENET is not set
|
||||
# CONFIG_E1000 is not set
|
||||
# CONFIG_E1000E is not set
|
||||
# CONFIG_IGB is not set
|
||||
# CONFIG_IGBVF is not set
|
||||
# CONFIG_MVNETA is not set
|
||||
# CONFIG_MVPP2 is not set
|
||||
# CONFIG_SKY2 is not set
|
||||
# CONFIG_MLX4_EN is not set
|
||||
# CONFIG_MLX5_CORE is not set
|
||||
# CONFIG_MLX5_CORE_EN is not set
|
||||
# CONFIG_R8169 is not set
|
||||
# CONFIG_SH_ETH is not set
|
||||
# CONFIG_RAVB is not set
|
||||
CONFIG_STMMAC_ETH=y
|
||||
CONFIG_DWMAC_GENERIC=m
|
||||
CONFIG_MICROCHIP_PHY=y
|
||||
CONFIG_NXP_TJA11XX_PHY=y
|
||||
CONFIG_MDIO_BITBANG=y
|
||||
# CONFIG_SNI_AVE is not set
|
||||
# CONFIG_SNI_NETSEC is not set
|
||||
# CONFIG_TI_K3_AM65_CPSW_NUSS is not set
|
||||
# CONFIG_QCOM_IPA is not set
|
||||
# CONFIG_MESON_GXL_PHY is not set
|
||||
# CONFIG_AQUANTIA_PHY is not set
|
||||
# CONFIG_BCM54140_PHY is not set
|
||||
# CONFIG_MARVELL_PHY is not set
|
||||
# CONFIG_MARVELL_10G_PHY is not set
|
||||
# CONFIG_MICREL_PHY is not set
|
||||
# CONFIG_MICROSEMI_PHY is not set
|
||||
# CONFIG_AT803X_PHY is not set
|
||||
# CONFIG_REALTEK_PHY is not set
|
||||
# CONFIG_ROCKCHIP_PHY is not set
|
||||
# CONFIG_DP83867_PHY is not set
|
||||
# CONFIG_VITESSE_PHY is not set
|
||||
# CONFIG_USB_BRCMSTB is not set
|
||||
CONFIG_USB_RTL8152=y
|
||||
CONFIG_USB_USBNET=y
|
||||
CONFIG_BRCMFMAC=y
|
||||
CONFIG_HOSTAP=y
|
||||
# CONFIG_ATH10K is not set
|
||||
# CONFIG_ATH10K_PCI is not set
|
||||
# CONFIG_ATH10K_SNOC is not set
|
||||
# CONFIG_WCN36XX is not set
|
||||
# CONFIG_MWIFIEX is not set
|
||||
# CONFIG_MWIFIEX_SDIO is not set
|
||||
# CONFIG_MWIFIEX_PCIE is not set
|
||||
CONFIG_KEYBOARD_SNVS_PWRKEY=y
|
||||
# CONFIG_KEYBOARD_IMX_SC_KEY is not set
|
||||
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
|
||||
# CONFIG_INPUT_PM8941_PWRKEY is not set
|
||||
# CONFIG_INPUT_PM8XXX_VIBRATOR is not set
|
||||
# CONFIG_INPUT_PWM_BEEPER is not set
|
||||
# CONFIG_INPUT_PWM_VIBRA is not set
|
||||
# CONFIG_INPUT_HISI_POWERKEY is not set
|
||||
# CONFIG_SERIAL_8250_BCM2835AUX is not set
|
||||
# CONFIG_SERIAL_8250_OMAP is not set
|
||||
# CONFIG_SERIAL_8250_MT6577 is not set
|
||||
# CONFIG_SERIAL_8250_UNIPHIER is not set
|
||||
# CONFIG_SERIAL_MESON is not set
|
||||
# CONFIG_SERIAL_MESON_CONSOLE is not set
|
||||
# CONFIG_SERIAL_SAMSUNG is not set
|
||||
# CONFIG_SERIAL_SAMSUNG_CONSOLE is not set
|
||||
# CONFIG_SERIAL_TEGRA is not set
|
||||
# CONFIG_SERIAL_TEGRA_TCU is not set
|
||||
# CONFIG_SERIAL_SH_SCI is not set
|
||||
# CONFIG_SERIAL_MSM is not set
|
||||
# CONFIG_SERIAL_MSM_CONSOLE is not set
|
||||
# CONFIG_SERIAL_QCOM_GENI is not set
|
||||
# CONFIG_SERIAL_QCOM_GENI_CONSOLE is not set
|
||||
# CONFIG_SERIAL_MVEBU_UART is not set
|
||||
# CONFIG_SERIAL_OWL is not set
|
||||
# CONFIG_I2C_MUX is not set
|
||||
# CONFIG_I2C_BCM2835 is not set
|
||||
# CONFIG_I2C_MESON is not set
|
||||
# CONFIG_I2C_MT65XX is not set
|
||||
# CONFIG_I2C_MV64XXX is not set
|
||||
# CONFIG_I2C_OMAP is not set
|
||||
# CONFIG_I2C_OWL is not set
|
||||
# CONFIG_I2C_PXA is not set
|
||||
# CONFIG_I2C_QCOM_CCI is not set
|
||||
# CONFIG_I2C_QCOM_GENI is not set
|
||||
# CONFIG_I2C_QUP is not set
|
||||
# CONFIG_I2C_RIIC is not set
|
||||
# CONFIG_I2C_S3C2410 is not set
|
||||
# CONFIG_I2C_SH_MOBILE is not set
|
||||
# CONFIG_I2C_TEGRA is not set
|
||||
# CONFIG_I2C_UNIPHIER_F is not set
|
||||
# CONFIG_I2C_RCAR is not set
|
||||
# CONFIG_SPI_ARMADA_3700 is not set
|
||||
# CONFIG_SPI_BCM2835 is not set
|
||||
# CONFIG_SPI_BCM2835AUX is not set
|
||||
# CONFIG_SPI_DESIGNWARE is not set
|
||||
# CONFIG_SPI_DW_DMA is not set
|
||||
# CONFIG_SPI_DW_MMIO is not set
|
||||
CONFIG_SPI_IMX=y
|
||||
# CONFIG_SPI_FSL_DSPI is not set
|
||||
# CONFIG_SPI_MESON_SPICC is not set
|
||||
# CONFIG_SPI_MESON_SPIFC is not set
|
||||
# CONFIG_SPI_ORION is not set
|
||||
CONFIG_SPI_SPIDEV=y
|
||||
CONFIG_SPI_SLAVE=y
|
||||
CONFIG_SPI_SLAVE_TIME=y
|
||||
CONFIG_SPI_SLAVE_SYSTEM_CONTROL=y
|
||||
CONFIG_PINCTRL=y
|
||||
# CONFIG_SPI_RPCIF is not set
|
||||
# CONFIG_SPI_RSPI is not set
|
||||
# CONFIG_SPI_QCOM_QSPI is not set
|
||||
# CONFIG_SPI_QUP is not set
|
||||
# CONFIG_SPI_QCOM_GENI is not set
|
||||
# CONFIG_SPI_S3C64XX is not set
|
||||
# CONFIG_SPI_SH_MSIOF is not set
|
||||
# CONFIG_SPI_SUN6I is not set
|
||||
# CONFIG_SPMI is not set
|
||||
# CONFIG_PINCTRL_OWL is not set
|
||||
# CONFIG_PINCTRL_S700 is not set
|
||||
# CONFIG_PINCTRL_S900 is not set
|
||||
CONFIG_GPIOLIB=y
|
||||
# CONFIG_PINCTRL_MSM is not set
|
||||
# CONFIG_PINCTRL_IPQ8074 is not set
|
||||
# CONFIG_PINCTRL_IPQ6018 is not set
|
||||
# CONFIG_PINCTRL_MSM8916 is not set
|
||||
# CONFIG_PINCTRL_MSM8994 is not set
|
||||
# CONFIG_PINCTRL_MSM8996 is not set
|
||||
# CONFIG_PINCTRL_MSM8998 is not set
|
||||
# CONFIG_PINCTRL_QCS404 is not set
|
||||
# CONFIG_PINCTRL_QDF2XXX is not set
|
||||
# CONFIG_PINCTRL_QCOM_SPMI_PMIC is not set
|
||||
# CONFIG_PINCTRL_SC7180 is not set
|
||||
# CONFIG_PINCTRL_SC7280 is not set
|
||||
# CONFIG_PINCTRL_SDM845 is not set
|
||||
# CONFIG_PINCTRL_SM8150 is not set
|
||||
# CONFIG_PINCTRL_SM8250 is not set
|
||||
# CONFIG_PINCTRL_SM8350 is not set
|
||||
# CONFIG_PINCTRL_SM8450 is not set
|
||||
# CONFIG_PINCTRL_LPASS_LPI is not set
|
||||
# CONFIG_GPIO_DAVINCI is not set
|
||||
# CONFIG_GPIO_MPC8XXX is not set
|
||||
# CONFIG_GPIO_RCAR is not set
|
||||
# CONFIG_GPIO_UNIPHIER is not set
|
||||
# CONFIG_GPIO_VISCONTI is not set
|
||||
# CONFIG_GPIO_XGENE_SB is not set
|
||||
CONFIG_POWER_RESET_BRCMSTB=y
|
||||
# CONFIG_GPIO_MAX77620 is not set
|
||||
# CONFIG_GPIO_SL28CPLD is not set
|
||||
# CONFIG_POWER_RESET_MSM is not set
|
||||
# CONFIG_POWER_RESET_QCOM_PON is not set
|
||||
# CONFIG_BATTERY_MAX17042 is not set
|
||||
# CONFIG_CHARGER_BQ25890 is not set
|
||||
# CONFIG_CHARGER_BQ25980 is not set
|
||||
# CONFIG_SENSORS_JC42 is not set
|
||||
# CONFIG_SENSORS_LM75 is not set
|
||||
# CONFIG_SENSORS_RASPBERRYPI_HWMON is not set
|
||||
# CONFIG_SENSORS_SL28CPLD is not set
|
||||
CONFIG_THERMAL_WRITABLE_TRIPS=y
|
||||
CONFIG_IMX_SC_THERMAL=y
|
||||
CONFIG_IMX8MM_THERMAL=y
|
||||
CONFIG_QORIQ_THERMAL=y
|
||||
# CONFIG_SUN8I_THERMAL is not set
|
||||
# CONFIG_ROCKCHIP_THERMAL is not set
|
||||
# CONFIG_RCAR_THERMAL is not set
|
||||
# CONFIG_RCAR_GEN3_THERMAL is not set
|
||||
# CONFIG_RZG2L_THERMAL is not set
|
||||
# CONFIG_ARMADA_THERMAL is not set
|
||||
# CONFIG_BCM2711_THERMAL is not set
|
||||
# CONFIG_BCM2835_THERMAL is not set
|
||||
# CONFIG_BRCMSTB_THERMAL is not set
|
||||
# CONFIG_EXYNOS_THERMAL is not set
|
||||
# CONFIG_TEGRA_SOCTHERM is not set
|
||||
# CONFIG_TEGRA_BPMP_THERMAL is not set
|
||||
# CONFIG_QCOM_TSENS is not set
|
||||
# CONFIG_QCOM_SPMI_TEMP_ALARM is not set
|
||||
# CONFIG_QCOM_LMH is not set
|
||||
# CONFIG_UNIPHIER_THERMAL is not set
|
||||
# CONFIG_SL28CPLD_WATCHDOG is not set
|
||||
# CONFIG_S3C2410_WATCHDOG is not set
|
||||
# CONFIG_BCM7038_WDT is not set
|
||||
# CONFIG_SUNXI_WATCHDOG is not set
|
||||
CONFIG_IMX_SC_WDT=y
|
||||
CONFIG_IMX7ULP_WDT=y
|
||||
# CONFIG_QCOM_WDT is not set
|
||||
# CONFIG_MESON_GXBB_WATCHDOG is not set
|
||||
# CONFIG_MESON_WATCHDOG is not set
|
||||
# CONFIG_RENESAS_WDT is not set
|
||||
# CONFIG_RENESAS_RZG2LWDT is not set
|
||||
# CONFIG_UNIPHIER_WATCHDOG is not set
|
||||
# CONFIG_BCM2835_WDT is not set
|
||||
# CONFIG_MFD_ALTERA_SYSMGR is not set
|
||||
# CONFIG_MFD_AXP20X_RSB is not set
|
||||
# CONFIG_MFD_EXYNOS_LPASS is not set
|
||||
# CONFIG_MFD_HI655X_PMIC is not set
|
||||
# CONFIG_MFD_MT6397 is not set
|
||||
# CONFIG_MFD_SPMI_PMIC is not set
|
||||
# CONFIG_MFD_SL28CPLD is not set
|
||||
CONFIG_REGULATOR=y
|
||||
# CONFIG_REGULATOR_HI655X is not set
|
||||
# CONFIG_REGULATOR_MP8859 is not set
|
||||
# CONFIG_REGULATOR_MT6358 is not set
|
||||
# CONFIG_REGULATOR_MT6397 is not set
|
||||
# CONFIG_REGULATOR_PF8X00 is not set
|
||||
# CONFIG_REGULATOR_QCOM_RPMH is not set
|
||||
# CONFIG_REGULATOR_QCOM_SMD_RPM is not set
|
||||
# CONFIG_REGULATOR_QCOM_SPMI is not set
|
||||
# CONFIG_REGULATOR_TPS65132 is not set
|
||||
CONFIG_MEDIA_SUPPORT=y
|
||||
# CONFIG_RC_CORE is not set
|
||||
# CONFIG_RC_DECODERS is not set
|
||||
# CONFIG_RC_DEVICES is not set
|
||||
# CONFIG_IR_MESON is not set
|
||||
# CONFIG_IR_SUNXI is not set
|
||||
CONFIG_SDR_PLATFORM_DRIVERS=y
|
||||
# CONFIG_VIDEO_QCOM_CAMSS is not set
|
||||
# CONFIG_VIDEO_RCAR_CSI2 is not set
|
||||
# CONFIG_VIDEO_RCAR_VIN is not set
|
||||
# CONFIG_VIDEO_SUN6I_CSI is not set
|
||||
# CONFIG_VIDEO_RCAR_ISP is not set
|
||||
# CONFIG_VIDEO_SAMSUNG_S5P_JPEG is not set
|
||||
# CONFIG_VIDEO_SAMSUNG_S5P_MFC is not set
|
||||
# CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC is not set
|
||||
# CONFIG_VIDEO_RENESAS_FDP1 is not set
|
||||
# CONFIG_VIDEO_RENESAS_FCP is not set
|
||||
# CONFIG_VIDEO_RENESAS_VSP1 is not set
|
||||
# CONFIG_VIDEO_QCOM_VENUS is not set
|
||||
# CONFIG_VIDEO_RCAR_DRIF is not set
|
||||
CONFIG_VIDEO_OV5640=y
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_I2C_CH7006=m
|
||||
CONFIG_DRM_I2C_SIL164=m
|
||||
# CONFIG_DRM_NOUVEAU is not set
|
||||
# CONFIG_DRM_EXYNOS is not set
|
||||
# CONFIG_DRM_EXYNOS5433_DECON is not set
|
||||
# CONFIG_DRM_EXYNOS7_DECON is not set
|
||||
# CONFIG_DRM_EXYNOS_DSI is not set
|
||||
# CONFIG_DRM_EXYNOS_DP is not set
|
||||
# CONFIG_DRM_EXYNOS_HDMI is not set
|
||||
# CONFIG_DRM_EXYNOS_MIC is not set
|
||||
# CONFIG_DRM_ROCKCHIP is not set
|
||||
# CONFIG_ROCKCHIP_ANALOGIX_DP is not set
|
||||
# CONFIG_ROCKCHIP_CDN_DP is not set
|
||||
# CONFIG_ROCKCHIP_DW_HDMI is not set
|
||||
# CONFIG_ROCKCHIP_DW_MIPI_DSI is not set
|
||||
# CONFIG_ROCKCHIP_INNO_HDMI is not set
|
||||
# CONFIG_ROCKCHIP_LVDS is not set
|
||||
# CONFIG_DRM_RCAR_DU is not set
|
||||
# CONFIG_DRM_RCAR_MIPI_DSI is not set
|
||||
# CONFIG_DRM_SUN4I is not set
|
||||
# CONFIG_DRM_SUN6I_DSI is not set
|
||||
# CONFIG_DRM_SUN8I_DW_HDMI is not set
|
||||
# CONFIG_DRM_SUN8I_MIXER is not set
|
||||
# CONFIG_DRM_MSM is not set
|
||||
# CONFIG_DRM_TEGRA is not set
|
||||
# CONFIG_DRM_PANEL_BOE_TV101WUM_NL6 is not set
|
||||
# CONFIG_DRM_PANEL_LVDS is not set
|
||||
# CONFIG_DRM_PANEL_SIMPLE is not set
|
||||
# CONFIG_DRM_PANEL_EDP is not set
|
||||
# CONFIG_DRM_PANEL_MANTIX_MLAF057WE51 is not set
|
||||
# CONFIG_DRM_PANEL_RAYDIUM_RM67191 is not set
|
||||
# CONFIG_DRM_PANEL_SITRONIX_ST7703 is not set
|
||||
CONFIG_DRM_DISPLAY_CONNECTOR=m
|
||||
# CONFIG_DRM_LONTIUM_LT8912B is not set
|
||||
CONFIG_DRM_NWL_MIPI_DSI=y
|
||||
# CONFIG_DRM_LONTIUM_LT9611UXC is not set
|
||||
# CONFIG_DRM_PARADE_PS8640 is not set
|
||||
CONFIG_DRM_I2C_ADV7511=y
|
||||
CONFIG_DRM_DW_HDMI_I2S_AUDIO=m
|
||||
CONFIG_DRM_IMX_DCSS=y
|
||||
# CONFIG_DRM_VC4 is not set
|
||||
# CONFIG_DRM_HISI_HIBMC is not set
|
||||
CONFIG_DRM_MXSFB=y
|
||||
# CONFIG_DRM_MEDIATEK is not set
|
||||
# CONFIG_DRM_MEDIATEK_HDMI is not set
|
||||
# CONFIG_DRM_MESON is not set
|
||||
CONFIG_DRM_LEGACY=y
|
||||
# CONFIG_FB is not set
|
||||
# CONFIG_FB_MODE_HELPERS is not set
|
||||
# CONFIG_FB_EFI is not set
|
||||
# CONFIG_BACKLIGHT_PWM is not set
|
||||
# CONFIG_BACKLIGHT_LP855X is not set
|
||||
# CONFIG_LOGO is not set
|
||||
CONFIG_SND_DYNAMIC_MINORS=y
|
||||
CONFIG_SND_ALOOP=m
|
||||
# CONFIG_SND_SPI is not set
|
||||
# CONFIG_SND_USB is not set
|
||||
# CONFIG_SND_HDA_TEGRA is not set
|
||||
# CONFIG_SND_HDA_CODEC_HDMI is not set
|
||||
CONFIG_SND_SOC_FSL_ASRC=y
|
||||
CONFIG_SND_SOC_FSL_EASRC=y
|
||||
CONFIG_SND_IMX_SOC=y
|
||||
CONFIG_SND_SOC_FSL_ASOC_CARD=y
|
||||
CONFIG_SND_SOC_SOF_TOPLEVEL=y
|
||||
CONFIG_SND_SOC_SOF_OF=m
|
||||
CONFIG_SND_SOC_SOF_IMX_TOPLEVEL=y
|
||||
CONFIG_SND_SOC_AK4458=y
|
||||
CONFIG_SND_SOC_AK5558=y
|
||||
CONFIG_SND_SOC_PCM512x_I2C=y
|
||||
CONFIG_SND_SIMPLE_CARD=y
|
||||
CONFIG_SND_AUDIO_GRAPH_CARD=y
|
||||
CONFIG_USB_CONN_GPIO=y
|
||||
# CONFIG_SND_BCM2835_SOC_I2S is not set
|
||||
# CONFIG_SND_SOC_FSL_MICFIL is not set
|
||||
# CONFIG_SND_SOC_IMX_SGTL5000 is not set
|
||||
# CONFIG_SND_SOC_IMX_SPDIF is not set
|
||||
# CONFIG_SND_SOC_IMX_AUDMIX is not set
|
||||
# CONFIG_SND_MESON_AXG_SOUND_CARD is not set
|
||||
# CONFIG_SND_MESON_GX_SOUND_CARD is not set
|
||||
# CONFIG_SND_SOC_QCOM is not set
|
||||
# CONFIG_SND_SOC_APQ8016_SBC is not set
|
||||
# CONFIG_SND_SOC_MSM8996 is not set
|
||||
# CONFIG_SND_SOC_SDM845 is not set
|
||||
# CONFIG_SND_SOC_SM8250 is not set
|
||||
# CONFIG_SND_SOC_ROCKCHIP is not set
|
||||
# CONFIG_SND_SOC_ROCKCHIP_SPDIF is not set
|
||||
# CONFIG_SND_SOC_ROCKCHIP_RT5645 is not set
|
||||
# CONFIG_SND_SOC_RK3399_GRU_SOUND is not set
|
||||
# CONFIG_SND_SOC_SAMSUNG is not set
|
||||
# CONFIG_SND_SOC_RCAR is not set
|
||||
# CONFIG_SND_SOC_RZ is not set
|
||||
# CONFIG_SND_SUN4I_I2S is not set
|
||||
# CONFIG_SND_SUN4I_SPDIF is not set
|
||||
# CONFIG_SND_SOC_TEGRA is not set
|
||||
# CONFIG_SND_SOC_TEGRA210_AHUB is not set
|
||||
# CONFIG_SND_SOC_TEGRA210_DMIC is not set
|
||||
# CONFIG_SND_SOC_TEGRA210_I2S is not set
|
||||
# CONFIG_SND_SOC_TEGRA186_DSPK is not set
|
||||
# CONFIG_SND_SOC_TEGRA210_ADMAIF is not set
|
||||
# CONFIG_SND_SOC_TEGRA210_MVC is not set
|
||||
# CONFIG_SND_SOC_TEGRA210_SFC is not set
|
||||
# CONFIG_SND_SOC_TEGRA210_AMX is not set
|
||||
# CONFIG_SND_SOC_TEGRA210_ADX is not set
|
||||
# CONFIG_SND_SOC_TEGRA210_MIXER is not set
|
||||
# CONFIG_SND_SOC_TEGRA_AUDIO_GRAPH_CARD is not set
|
||||
# CONFIG_SND_SOC_AK4613 is not set
|
||||
# CONFIG_SND_SOC_ES7134 is not set
|
||||
# CONFIG_SND_SOC_ES7241 is not set
|
||||
# CONFIG_SND_SOC_GTM601 is not set
|
||||
# CONFIG_SND_SOC_MSM8916_WCD_ANALOG is not set
|
||||
# CONFIG_SND_SOC_MSM8916_WCD_DIGITAL is not set
|
||||
# CONFIG_SND_SOC_PCM3168A_I2C is not set
|
||||
# CONFIG_SND_SOC_RT5659 is not set
|
||||
# CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set
|
||||
# CONFIG_SND_SOC_SIMPLE_MUX is not set
|
||||
# CONFIG_SND_SOC_TAS571X is not set
|
||||
# CONFIG_SND_SOC_TLV320AIC32X4_I2C is not set
|
||||
# CONFIG_SND_SOC_WCD934X is not set
|
||||
# CONFIG_SND_SOC_WM8904 is not set
|
||||
# CONFIG_SND_SOC_WM8960 is not set
|
||||
# CONFIG_SND_SOC_WM8962 is not set
|
||||
# CONFIG_SND_SOC_WM8978 is not set
|
||||
# CONFIG_SND_SOC_WSA881X is not set
|
||||
# CONFIG_SND_SOC_NAU8822 is not set
|
||||
# CONFIG_SND_SOC_LPASS_WSA_MACRO is not set
|
||||
# CONFIG_SND_SOC_LPASS_VA_MACRO is not set
|
||||
# CONFIG_SND_AUDIO_GRAPH_CARD2 is not set
|
||||
# CONFIG_HID_MULTITOUCH is not set
|
||||
# CONFIG_I2C_HID_ACPI is not set
|
||||
# CONFIG_I2C_HID_OF is not set
|
||||
# CONFIG_USB_XHCI_PCI_RENESAS is not set
|
||||
# CONFIG_USB_XHCI_TEGRA is not set
|
||||
# CONFIG_USB_EHCI_EXYNOS is not set
|
||||
# CONFIG_USB_OHCI_EXYNOS is not set
|
||||
CONFIG_USB_HCD_TEST_MODE=y
|
||||
# CONFIG_USB_RENESAS_USBHS_HCD is not set
|
||||
# CONFIG_USB_RENESAS_USBHS is not set
|
||||
CONFIG_USB_UAS=y
|
||||
# CONFIG_USB_CDNS_SUPPORT is not set
|
||||
# CONFIG_USB_CDNS3 is not set
|
||||
# CONFIG_USB_CDNS3_GADGET is not set
|
||||
# CONFIG_USB_CDNS3_HOST is not set
|
||||
# CONFIG_USB_MTU3 is not set
|
||||
# CONFIG_USB_MUSB_SUNXI is not set
|
||||
CONFIG_USB_SERIAL=y
|
||||
CONFIG_USB_SERIAL_CONSOLE=y
|
||||
CONFIG_USB_SERIAL_GENERIC=y
|
||||
CONFIG_USB_SERIAL_SIMPLE=y
|
||||
CONFIG_USB_SERIAL_FTDI_SIO=y
|
||||
CONFIG_USB_TEST=m
|
||||
CONFIG_USB_EHSET_TEST_FIXTURE=y
|
||||
# CONFIG_USB_SERIAL_CP210X is not set
|
||||
# CONFIG_USB_SERIAL_OPTION is not set
|
||||
CONFIG_USB_MXS_PHY=y
|
||||
CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_SNP_UDC_PLAT=y
|
||||
CONFIG_USB_BDC_UDC=y
|
||||
CONFIG_USB_CONFIGFS=y
|
||||
# CONFIG_USB_RENESAS_USBHS_UDC is not set
|
||||
# CONFIG_USB_RENESAS_USB3 is not set
|
||||
# CONFIG_USB_TEGRA_XUDC is not set
|
||||
CONFIG_USB_CONFIGFS_F_LB_SS=y
|
||||
CONFIG_USB_CONFIGFS_F_UAC1=y
|
||||
CONFIG_USB_CONFIGFS_F_UAC1_LEGACY=y
|
||||
CONFIG_USB_CONFIGFS_F_UAC2=y
|
||||
CONFIG_USB_CONFIGFS_F_MIDI=y
|
||||
CONFIG_USB_CONFIGFS_F_HID=y
|
||||
CONFIG_USB_CONFIGFS_F_UVC=y
|
||||
CONFIG_USB_ZERO=m
|
||||
CONFIG_USB_AUDIO=m
|
||||
CONFIG_USB_ETH=m
|
||||
CONFIG_USB_MASS_STORAGE=m
|
||||
CONFIG_USB_G_SERIAL=m
|
||||
CONFIG_TYPEC=y
|
||||
CONFIG_TYPEC_TCPM=y
|
||||
CONFIG_TYPEC_TCPCI=y
|
||||
# CONFIG_TYPEC_TPS6598X is not set
|
||||
# CONFIG_MMC_SDHCI_ACPI is not set
|
||||
# CONFIG_MMC_SDHCI_TEGRA is not set
|
||||
# CONFIG_MMC_MESON_GX is not set
|
||||
# CONFIG_MMC_SDHCI_MSM is not set
|
||||
# CONFIG_MMC_SDHI is not set
|
||||
# CONFIG_MMC_UNIPHIER is not set
|
||||
# CONFIG_MMC_DW_ROCKCHIP is not set
|
||||
# CONFIG_MMC_SUNXI is not set
|
||||
# CONFIG_MMC_BCM2835 is not set
|
||||
# CONFIG_MMC_MTK is not set
|
||||
# CONFIG_MMC_OWL is not set
|
||||
# CONFIG_LEDS_LM3692X is not set
|
||||
# CONFIG_LEDS_PCA9532 is not set
|
||||
# CONFIG_EDAC_LAYERSCAPE is not set
|
||||
# CONFIG_RTC_DRV_HYM8563 is not set
|
||||
# CONFIG_RTC_DRV_PCF85063 is not set
|
||||
# CONFIG_RTC_DRV_M41T80 is not set
|
||||
# CONFIG_RTC_DRV_RV3028 is not set
|
||||
# CONFIG_RTC_DRV_FSL_FTM_ALARM is not set
|
||||
# CONFIG_RTC_DRV_S3C is not set
|
||||
CONFIG_RTC_DRV_SNVS=y
|
||||
CONFIG_RTC_DRV_IMX_SC=y
|
||||
# CONFIG_RTC_DRV_SUN6I is not set
|
||||
# CONFIG_RTC_DRV_ARMADA38X is not set
|
||||
# CONFIG_RTC_DRV_PM8XXX is not set
|
||||
# CONFIG_RTC_DRV_TEGRA is not set
|
||||
# CONFIG_RTC_DRV_XGENE is not set
|
||||
# CONFIG_RTC_DRV_MT6397 is not set
|
||||
CONFIG_BCM_SBA_RAID=m
|
||||
# CONFIG_DMA_BCM2835 is not set
|
||||
# CONFIG_DMA_SUN6I is not set
|
||||
CONFIG_FSL_QDMA=m
|
||||
CONFIG_IMX_SDMA=y
|
||||
# CONFIG_K3_DMA is not set
|
||||
# CONFIG_MV_XOR is not set
|
||||
CONFIG_MXS_DMA=y
|
||||
# CONFIG_OWL_DMA is not set
|
||||
# CONFIG_TEGRA186_GPC_DMA is not set
|
||||
# CONFIG_TEGRA20_APB_DMA is not set
|
||||
# CONFIG_TEGRA210_ADMA is not set
|
||||
# CONFIG_QCOM_BAM_DMA is not set
|
||||
CONFIG_DMATEST=y
|
||||
CONFIG_DMABUF_HEAPS=y
|
||||
CONFIG_DMABUF_HEAPS_SYSTEM=y
|
||||
CONFIG_DMABUF_HEAPS_CMA=y
|
||||
# CONFIG_RCAR_DMAC is not set
|
||||
# CONFIG_RENESAS_USB_DMAC is not set
|
||||
# CONFIG_RZ_DMAC is not set
|
||||
# CONFIG_TI_K3_UDMA is not set
|
||||
# CONFIG_TI_K3_UDMA_GLUE_LAYER is not set
|
||||
# CONFIG_VFIO_PCI is not set
|
||||
# CONFIG_VIRTIO_PCI is not set
|
||||
# CONFIG_XEN_GNTDEV is not set
|
||||
# CONFIG_XEN_GRANT_DEV_ALLOC is not set
|
||||
# CONFIG_VIDEO_HANTRO is not set
|
||||
# CONFIG_VIDEO_IMX_MEDIA is not set
|
||||
# CONFIG_COMMON_CLK_SCMI is not set
|
||||
# CONFIG_COMMON_CLK_FSL_SAI is not set
|
||||
CONFIG_COMMON_CLK_XGENE=y
|
||||
# CONFIG_COMMON_CLK_BD718XX is not set
|
||||
# CONFIG_CLK_RASPBERRYPI is not set
|
||||
# CONFIG_CLK_IMX8MM is not set
|
||||
# CONFIG_CLK_IMX8MP is not set
|
||||
# CONFIG_CLK_IMX8MQ is not set
|
||||
# CONFIG_CLK_IMX8QXP is not set
|
||||
# CONFIG_CLK_IMX8ULP is not set
|
||||
# CONFIG_TI_SCI_CLK is not set
|
||||
# CONFIG_COMMON_CLK_QCOM is not set
|
||||
# CONFIG_QCOM_A53PLL is not set
|
||||
# CONFIG_QCOM_CLK_APCS_MSM8916 is not set
|
||||
# CONFIG_QCOM_CLK_APCC_MSM8996 is not set
|
||||
# CONFIG_QCOM_CLK_SMD_RPM is not set
|
||||
# CONFIG_QCOM_CLK_RPMH is not set
|
||||
# CONFIG_IPQ_GCC_6018 is not set
|
||||
# CONFIG_IPQ_GCC_8074 is not set
|
||||
# CONFIG_MSM_GCC_8916 is not set
|
||||
# CONFIG_MSM_GCC_8994 is not set
|
||||
# CONFIG_MSM_MMCC_8996 is not set
|
||||
# CONFIG_MSM_GCC_8998 is not set
|
||||
# CONFIG_QCS_GCC_404 is not set
|
||||
# CONFIG_SC_GCC_7180 is not set
|
||||
# CONFIG_SC_GCC_7280 is not set
|
||||
# CONFIG_SDM_CAMCC_845 is not set
|
||||
# CONFIG_SDM_GPUCC_845 is not set
|
||||
# CONFIG_SDM_VIDEOCC_845 is not set
|
||||
# CONFIG_SDM_DISPCC_845 is not set
|
||||
# CONFIG_SM_GCC_8350 is not set
|
||||
# CONFIG_SM_GCC_8450 is not set
|
||||
# CONFIG_SM_GPUCC_8150 is not set
|
||||
# CONFIG_SM_GPUCC_8250 is not set
|
||||
# CONFIG_QCOM_HFPLL is not set
|
||||
# CONFIG_CLK_GFM_LPASS_SM8250 is not set
|
||||
# CONFIG_CLK_RCAR_USB2_CLOCK_SEL is not set
|
||||
# CONFIG_HWSPINLOCK_QCOM is not set
|
||||
# CONFIG_RENESAS_OSTM is not set
|
||||
# CONFIG_BCM2835_MBOX is not set
|
||||
# CONFIG_QCOM_APCS_IPC is not set
|
||||
# CONFIG_QCOM_IPCC is not set
|
||||
# CONFIG_ROCKCHIP_IOMMU is not set
|
||||
# CONFIG_TEGRA_IOMMU_SMMU is not set
|
||||
# CONFIG_MTK_IOMMU is not set
|
||||
# CONFIG_QCOM_IOMMU is not set
|
||||
CONFIG_IMX_REMOTEPROC=y
|
||||
CONFIG_IMX_DSP_REMOTEPROC=y
|
||||
CONFIG_RPMSG_CHAR=y
|
||||
# CONFIG_QCOM_Q6V5_MSS is not set
|
||||
# CONFIG_QCOM_Q6V5_PAS is not set
|
||||
# CONFIG_QCOM_SYSMON is not set
|
||||
# CONFIG_QCOM_WCNSS_PIL is not set
|
||||
# CONFIG_RPMSG_QCOM_GLINK_SMEM is not set
|
||||
# CONFIG_RPMSG_QCOM_SMD is not set
|
||||
CONFIG_SOC_BRCMSTB=y
|
||||
# CONFIG_OWL_PM_DOMAINS is not set
|
||||
# CONFIG_RASPBERRYPI_POWER is not set
|
||||
# CONFIG_FSL_DPAA is not set
|
||||
# CONFIG_FSL_MC_DPIO is not set
|
||||
CONFIG_SOC_TI=y
|
||||
# CONFIG_MTK_DEVAPC is not set
|
||||
# CONFIG_MTK_PMIC_WRAP is not set
|
||||
# CONFIG_QCOM_AOSS_QMP is not set
|
||||
# CONFIG_QCOM_COMMAND_DB is not set
|
||||
# CONFIG_QCOM_CPR is not set
|
||||
# CONFIG_QCOM_GENI_SE is not set
|
||||
# CONFIG_QCOM_RMTFS_MEM is not set
|
||||
# CONFIG_QCOM_RPMH is not set
|
||||
# CONFIG_QCOM_RPMHPD is not set
|
||||
# CONFIG_QCOM_RPMPD is not set
|
||||
# CONFIG_QCOM_SMEM is not set
|
||||
# CONFIG_QCOM_SMD_RPM is not set
|
||||
# CONFIG_QCOM_SMP2P is not set
|
||||
# CONFIG_QCOM_SMSM is not set
|
||||
# CONFIG_QCOM_SOCINFO is not set
|
||||
# CONFIG_QCOM_STATS is not set
|
||||
# CONFIG_QCOM_WCNSS_CTRL is not set
|
||||
# CONFIG_QCOM_APR is not set
|
||||
# CONFIG_ARCH_R8A77995 is not set
|
||||
# CONFIG_ARCH_R8A77990 is not set
|
||||
# CONFIG_ARCH_R8A77950 is not set
|
||||
# CONFIG_ARCH_R8A77951 is not set
|
||||
# CONFIG_ARCH_R8A77965 is not set
|
||||
# CONFIG_ARCH_R8A77960 is not set
|
||||
# CONFIG_ARCH_R8A77961 is not set
|
||||
# CONFIG_ARCH_R8A779F0 is not set
|
||||
# CONFIG_ARCH_R8A77980 is not set
|
||||
# CONFIG_ARCH_R8A77970 is not set
|
||||
# CONFIG_ARCH_R8A779A0 is not set
|
||||
# CONFIG_ARCH_R8A774C0 is not set
|
||||
# CONFIG_ARCH_R8A774E1 is not set
|
||||
# CONFIG_ARCH_R8A774A1 is not set
|
||||
# CONFIG_ARCH_R8A774B1 is not set
|
||||
# CONFIG_ARCH_R9A07G044 is not set
|
||||
# CONFIG_ROCKCHIP_IODOMAIN is not set
|
||||
# CONFIG_ROCKCHIP_PM_DOMAINS is not set
|
||||
# CONFIG_ARCH_TEGRA_132_SOC is not set
|
||||
# CONFIG_ARCH_TEGRA_210_SOC is not set
|
||||
# CONFIG_ARCH_TEGRA_186_SOC is not set
|
||||
# CONFIG_ARCH_TEGRA_194_SOC is not set
|
||||
# CONFIG_ARCH_TEGRA_234_SOC is not set
|
||||
# CONFIG_TI_SCI_PM_DOMAINS is not set
|
||||
# CONFIG_ARM_IMX_BUS_DEVFREQ is not set
|
||||
# CONFIG_ARM_IMX8M_DDRC_DEVFREQ is not set
|
||||
CONFIG_MEMORY=y
|
||||
# CONFIG_RENESAS_RPCIF is not set
|
||||
CONFIG_IMX8QXP_ADC=y
|
||||
# CONFIG_EXYNOS_ADC is not set
|
||||
# CONFIG_QCOM_SPMI_VADC is not set
|
||||
# CONFIG_QCOM_SPMI_ADC5 is not set
|
||||
# CONFIG_ROCKCHIP_SARADC is not set
|
||||
# CONFIG_RZG2L_ADC is not set
|
||||
# CONFIG_TI_ADS1015 is not set
|
||||
CONFIG_IIO_ST_LSM6DSX=y
|
||||
# CONFIG_SENSORS_ISL29018 is not set
|
||||
# CONFIG_VCNL4000 is not set
|
||||
# CONFIG_IIO_ST_MAGN_3AXIS is not set
|
||||
# CONFIG_MPL3115 is not set
|
||||
# CONFIG_PWM_BCM2835 is not set
|
||||
# CONFIG_PWM_BRCMSTB is not set
|
||||
CONFIG_PWM_FSL_FTM=m
|
||||
CONFIG_PWM_IMX27=y
|
||||
# CONFIG_PWM_MESON is not set
|
||||
# CONFIG_PWM_MTK_DISP is not set
|
||||
# CONFIG_PWM_MEDIATEK is not set
|
||||
# CONFIG_PWM_RCAR is not set
|
||||
# CONFIG_PWM_RENESAS_TPU is not set
|
||||
# CONFIG_PWM_ROCKCHIP is not set
|
||||
# CONFIG_PWM_SAMSUNG is not set
|
||||
# CONFIG_PWM_SL28CPLD is not set
|
||||
# CONFIG_PWM_SUN4I is not set
|
||||
# CONFIG_PWM_TEGRA is not set
|
||||
# CONFIG_PWM_VISCONTI is not set
|
||||
# CONFIG_SL28CPLD_INTC is not set
|
||||
# CONFIG_QCOM_PDC is not set
|
||||
# CONFIG_RESET_QCOM_AOSS is not set
|
||||
# CONFIG_RESET_QCOM_PDC is not set
|
||||
# CONFIG_RESET_RZG2L_USBPHY_CTRL is not set
|
||||
# CONFIG_RESET_TI_SCI is not set
|
||||
CONFIG_PHY_CADENCE_SALVO=y
|
||||
CONFIG_PHY_MIXEL_MIPI_DPHY=y
|
||||
# CONFIG_PHY_SUN4I_USB is not set
|
||||
# CONFIG_PHY_CADENCE_SIERRA is not set
|
||||
# CONFIG_PHY_FSL_IMX8M_PCIE is not set
|
||||
# CONFIG_PHY_HI6220_USB is not set
|
||||
# CONFIG_PHY_HISTB_COMBPHY is not set
|
||||
# CONFIG_PHY_HISI_INNO_USB2 is not set
|
||||
# CONFIG_PHY_MVEBU_CP110_COMPHY is not set
|
||||
# CONFIG_PHY_MTK_TPHY is not set
|
||||
# CONFIG_PHY_QCOM_QMP is not set
|
||||
# CONFIG_PHY_QCOM_QUSB2 is not set
|
||||
CONFIG_PHY_SAMSUNG_USB2=y
|
||||
# CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2 is not set
|
||||
# CONFIG_PHY_RCAR_GEN3_PCIE is not set
|
||||
# CONFIG_PHY_RCAR_GEN3_USB2 is not set
|
||||
# CONFIG_PHY_RCAR_GEN3_USB3 is not set
|
||||
# CONFIG_PHY_ROCKCHIP_EMMC is not set
|
||||
# CONFIG_PHY_ROCKCHIP_INNO_HDMI is not set
|
||||
# CONFIG_PHY_ROCKCHIP_INNO_USB2 is not set
|
||||
# CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY is not set
|
||||
# CONFIG_PHY_ROCKCHIP_PCIE is not set
|
||||
# CONFIG_PHY_ROCKCHIP_TYPEC is not set
|
||||
# CONFIG_PHY_SAMSUNG_UFS is not set
|
||||
# CONFIG_PHY_UNIPHIER_USB2 is not set
|
||||
# CONFIG_PHY_UNIPHIER_USB3 is not set
|
||||
# CONFIG_PHY_TEGRA_XUSB is not set
|
||||
# CONFIG_PHY_AM654_SERDES is not set
|
||||
# CONFIG_PHY_J721E_WIZ is not set
|
||||
CONFIG_FSL_IMX8_DDR_PMU=y
|
||||
# CONFIG_QCOM_L2_PMU is not set
|
||||
# CONFIG_QCOM_L3_PMU is not set
|
||||
# CONFIG_MTK_EFUSE is not set
|
||||
# CONFIG_QCOM_QFPROM is not set
|
||||
# CONFIG_ROCKCHIP_EFUSE is not set
|
||||
# CONFIG_NVMEM_SUNXI_SID is not set
|
||||
# CONFIG_UNIPHIER_EFUSE is not set
|
||||
# CONFIG_MESON_EFUSE is not set
|
||||
# CONFIG_NVMEM_RMEM is not set
|
||||
# CONFIG_NVMEM_LAYERSCAPE_SFP is not set
|
||||
# CONFIG_FPGA_MGR_ALTERA_CVP is not set
|
||||
# CONFIG_FPGA_MGR_STRATIX10_SOC is not set
|
||||
# CONFIG_SLIMBUS is not set
|
||||
# CONFIG_SLIM_QCOM_NGD_CTRL is not set
|
||||
# CONFIG_INTERCONNECT_IMX is not set
|
||||
# CONFIG_INTERCONNECT_IMX8MM is not set
|
||||
# CONFIG_INTERCONNECT_IMX8MN is not set
|
||||
# CONFIG_INTERCONNECT_IMX8MQ is not set
|
||||
# CONFIG_INTERCONNECT_QCOM is not set
|
||||
# CONFIG_INTERCONNECT_QCOM_MSM8916 is not set
|
||||
# CONFIG_INTERCONNECT_QCOM_OSM_L3 is not set
|
||||
# CONFIG_INTERCONNECT_QCOM_SC7280 is not set
|
||||
# CONFIG_INTERCONNECT_QCOM_SDM845 is not set
|
||||
# CONFIG_INTERCONNECT_QCOM_SM8150 is not set
|
||||
# CONFIG_INTERCONNECT_QCOM_SM8250 is not set
|
||||
# CONFIG_INTERCONNECT_QCOM_SM8350 is not set
|
||||
# CONFIG_INTERCONNECT_QCOM_SM8450 is not set
|
||||
# CONFIG_TMPFS_POSIX_ACL is not set
|
||||
# CONFIG_CONFIGFS_FS is not set
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_UBIFS_FS=y
|
||||
CONFIG_SQUASHFS_XZ=y
|
||||
CONFIG_CRYPTO_USER=y
|
||||
CONFIG_CRYPTO_TEST=m
|
||||
CONFIG_CRYPTO_DH=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_CFB=m
|
||||
CONFIG_CRYPTO_CTS=m
|
||||
CONFIG_CRYPTO_LRW=m
|
||||
CONFIG_CRYPTO_OFB=m
|
||||
CONFIG_CRYPTO_PCBC=m
|
||||
CONFIG_CRYPTO_XCBC=m
|
||||
CONFIG_CRYPTO_VMAC=m
|
||||
CONFIG_CRYPTO_MD4=m
|
||||
CONFIG_CRYPTO_RMD160=m
|
||||
CONFIG_CRYPTO_STREEBOG=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
CONFIG_CRYPTO_ANUBIS=m
|
||||
CONFIG_CRYPTO_ARC4=m
|
||||
CONFIG_CRYPTO_BLOWFISH=m
|
||||
CONFIG_CRYPTO_CAMELLIA=m
|
||||
CONFIG_CRYPTO_CAST5=m
|
||||
CONFIG_CRYPTO_CAST6=m
|
||||
CONFIG_CRYPTO_DES=m
|
||||
CONFIG_CRYPTO_FCRYPT=m
|
||||
CONFIG_CRYPTO_KHAZAD=m
|
||||
CONFIG_CRYPTO_SEED=m
|
||||
CONFIG_CRYPTO_SERPENT=m
|
||||
CONFIG_CRYPTO_TEA=m
|
||||
CONFIG_CRYPTO_TWOFISH=m
|
||||
CONFIG_CRYPTO_USER_API_HASH=m
|
||||
CONFIG_CRYPTO_USER_API_SKCIPHER=m
|
||||
CONFIG_CRYPTO_USER_API_AEAD=m
|
||||
# CONFIG_CRYPTO_DEV_SUN8I_CE is not set
|
||||
# CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM is not set
|
||||
# CONFIG_CRYPTO_DEV_QCOM_RNG is not set
|
||||
CONFIG_CRYPTO_DEV_AMLOGIC_GXL=m
|
||||
CONFIG_INDIRECT_PIO=y
|
||||
CONFIG_CRC_CCITT=m
|
||||
# CONFIG_CRYPTO_DEV_HISI_SEC2 is not set
|
||||
# CONFIG_CRYPTO_DEV_HISI_ZIP is not set
|
||||
# CONFIG_CRYPTO_DEV_HISI_HPRE is not set
|
||||
# CONFIG_CRYPTO_DEV_HISI_TRNG is not set
|
||||
CONFIG_IRQ_POLL=y
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
# CONFIG_DEBUG_INFO_REDUCED is not set
|
||||
CONFIG_CORESIGHT=y
|
||||
CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y
|
||||
CONFIG_CORESIGHT_SOURCE_ETM4X=y
|
||||
@@ -1,4 +0,0 @@
|
||||
label buildroot
|
||||
kernel /boot/Image
|
||||
devicetree /boot/freescale/imx8mn-bsh-smm-s2pro.dtb
|
||||
append root=PARTUUID=%PARTUUID% rootwait rw
|
||||
@@ -1,23 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
OUTPUT_DIR=output
|
||||
else
|
||||
OUTPUT_DIR=$1
|
||||
fi
|
||||
|
||||
if ! test -d "${OUTPUT_DIR}" ; then
|
||||
echo "ERROR: no output directory specified."
|
||||
echo "Usage: $0 OUTPUT_DIR"
|
||||
echo ""
|
||||
echo "Arguments:"
|
||||
echo " OUTPUT_DIR The Buildroot output directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
IMAGES_DIR=${OUTPUT_DIR}/images
|
||||
|
||||
${OUTPUT_DIR}/host/bin/uuu -v -b emmc_all \
|
||||
${IMAGES_DIR}/flash.bin \
|
||||
${IMAGES_DIR}/sdcard.img
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
partition-table-type = "gpt"
|
||||
}
|
||||
|
||||
partition imx-boot {
|
||||
in-partition-table = "no"
|
||||
image = "flash.bin"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
offset = 8M
|
||||
image = "rootfs.ext4"
|
||||
partition-uuid = %PARTUUID%
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
PARTUUID="$($HOST_DIR/bin/uuidgen)"
|
||||
|
||||
install -d "$TARGET_DIR/boot/extlinux/"
|
||||
sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf"
|
||||
sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg"
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
support/scripts/genimage.sh -c ${BINARIES_DIR}/genimage.cfg
|
||||
@@ -1,73 +0,0 @@
|
||||
i.MX8MN BSH SMM S2 PRO
|
||||
======================
|
||||
|
||||
How to build it
|
||||
---------------
|
||||
|
||||
Configure buildroot:
|
||||
|
||||
$ make imx8mn_bsh_smm_s2_pro_defconfig
|
||||
|
||||
Change settings to fit your needs (optional):
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Compile everything and build the rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, the output/images directory contains:
|
||||
|
||||
output/images/
|
||||
├── bl31.bin
|
||||
├── Image
|
||||
├── flash.bin
|
||||
├── ddr3*
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── u-boot.bin
|
||||
├── u-boot-nodtb.bin
|
||||
└── u-boot-spl.bin
|
||||
|
||||
|
||||
Preparing the board
|
||||
-------------------
|
||||
|
||||
Plug the USB type A to micro B cable into the USB Debug
|
||||
Connector (DBG UART). Use serial port settings 115200 8N1
|
||||
to access the debug console.
|
||||
|
||||
Plug another USB type A to micro B cable into the USB-OTG
|
||||
Connector (USB1). This connection is used to flash the board
|
||||
firmware using the Freescale/NXP UUU tool.
|
||||
|
||||
Connect the power supply/adaptor to the DC Power Jack (labelled
|
||||
+5V).
|
||||
|
||||
|
||||
Flashing the emmc card image
|
||||
----------------------------
|
||||
|
||||
Power up the board by switching on the Power ON Switch, which is
|
||||
placed right next to the DC Jack.
|
||||
|
||||
Enter the following U-Boot commands on the debug serial console:
|
||||
|
||||
$ fastboot usb 0
|
||||
|
||||
Flash the images on eMMC. On your computer, run:
|
||||
|
||||
$ board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh output/
|
||||
|
||||
|
||||
Booting the board
|
||||
-----------------
|
||||
|
||||
By default the bootloader will search for the first valid image,
|
||||
starting with the internal eMMC.
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
OUTPUT_DIR=output
|
||||
else
|
||||
OUTPUT_DIR=$1
|
||||
fi
|
||||
|
||||
if ! test -d "${OUTPUT_DIR}" ; then
|
||||
echo "ERROR: no output directory specified."
|
||||
echo "Usage: $0 OUTPUT_DIR"
|
||||
echo ""
|
||||
echo "Arguments:"
|
||||
echo " OUTPUT_DIR The Buildroot output directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
IMAGES_DIR=${OUTPUT_DIR}/images
|
||||
|
||||
${OUTPUT_DIR}/host/bin/uuu -v -b ${IMAGES_DIR}/nand-full.lst \
|
||||
${IMAGES_DIR}/flash.bin \
|
||||
${IMAGES_DIR}/flash.bin \
|
||||
${IMAGES_DIR}/rootfs.ubifs \
|
||||
${IMAGES_DIR}/Image \
|
||||
${IMAGES_DIR}/freescale/imx8mn-bsh-smm-s2.dtb
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
# @_flash.bin | bootloader
|
||||
# @_image [_flash.bin] | image burn to nand, default is the same as bootloader
|
||||
# @_filesystem | filesystem to burn
|
||||
# @_kernel | kernel image
|
||||
# @_dtb | dtb image
|
||||
|
||||
# This command will be run when ROM support stream mode
|
||||
# i.MX8QXP, i.MX8QM
|
||||
SDPS: boot -f _flash.bin
|
||||
|
||||
FB: ucmd setenv fastboot_buffer ${loadaddr}
|
||||
FB: download -f _image
|
||||
# Burn image to nandfit partition if needed
|
||||
FB: ucmd if env exists nandfit_part; then nand erase.part nandfit; nand write ${fastboot_buffer} nandfit ${filesize}; else true; fi;
|
||||
FB: ucmd nandbcb init ${fastboot_buffer} nandboot ${filesize}
|
||||
|
||||
FB[-t 10000]: ucmd ubi part nandrootfs
|
||||
FB[-t 10000]: ucmd ubi create root -
|
||||
FB: download -f _filesystem
|
||||
FB[-t 60000]: ucmd ubi write ${loadaddr} root ${filesize}
|
||||
|
||||
FB: download -f _kernel
|
||||
FB[-t 10000]: ucmd nand write ${loadaddr} nandkernel ${filesize}
|
||||
|
||||
FB: download -f _dtb
|
||||
FB[-t 8000]: ucmd nand write ${loadaddr} nanddtb ${filesize}
|
||||
|
||||
FB: reboot
|
||||
FB: done
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
cp ${BOARD_DIR}/nand-full.lst ${BINARIES_DIR}
|
||||
@@ -1,75 +0,0 @@
|
||||
i.MX8MN BSH SMM S2
|
||||
==================
|
||||
|
||||
This tutorial describes how to use the predefined Buildroot
|
||||
configuration for the i.MX8MN BSH SMM S2 board.
|
||||
|
||||
Building
|
||||
--------
|
||||
|
||||
Configure buildroot:
|
||||
|
||||
$ make imx8mn_bsh_smm_s2_defconfig
|
||||
|
||||
Change settings to fit your needs (optional):
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Compile everything and build the rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, the output/images directory contains:
|
||||
|
||||
output/images/
|
||||
├── bl31.bin
|
||||
├── ddr3*
|
||||
├── flash.bin
|
||||
├── freescale/imx8mn-bsh-smm-s2.dtb
|
||||
├── Image
|
||||
├── nand-full.lst
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── rootfs.ubifs
|
||||
├── u-boot.bin
|
||||
└── u-boot-spl.bin
|
||||
|
||||
|
||||
Preparing the board
|
||||
-------------------
|
||||
|
||||
Plug the USB type A to micro B cable into the USB Debug
|
||||
Connector (DBG UART). Use serial port settings 115200 8N1
|
||||
to access the debug console.
|
||||
|
||||
Plug another USB type A to micro B cable into the USB-OTG
|
||||
Connector (USB1). This connection is used to flash the board
|
||||
firmware using the Freescale/NXP UUU tool.
|
||||
|
||||
Connect the power supply/adaptor to the DC Power Jack (labelled
|
||||
+5V).
|
||||
|
||||
|
||||
Flashing
|
||||
--------
|
||||
|
||||
Power up the board by switching on the Power ON Switch, which is
|
||||
placed right next to the DC Jack.
|
||||
|
||||
Enter the following U-Boot commands on the debug serial console:
|
||||
|
||||
$ nand erase.chip
|
||||
$ reset
|
||||
|
||||
Flash the built images directly to board’s memory. On your computer,
|
||||
run:
|
||||
|
||||
$ board/bsh/imx8mn-bsh-smm-s2/flash.sh output/
|
||||
|
||||
It will flash the bootloader, the Device Tree Blob, the kernel image
|
||||
and the UBI root file system.
|
||||
@@ -1,231 +0,0 @@
|
||||
#
|
||||
# Additional config changes for busybox-minimal.config
|
||||
# to reduce the size of the busybox executable.
|
||||
#
|
||||
|
||||
#
|
||||
# Settings
|
||||
#
|
||||
# CONFIG_INCLUDE_SUSv2 is not set
|
||||
# CONFIG_LONG_OPTS is not set
|
||||
# CONFIG_LFS is not set
|
||||
# CONFIG_FEATURE_DEVPTS is not set
|
||||
# CONFIG_FEATURE_SYSLOG_INFO is not set
|
||||
# CONFIG_FEATURE_SYSLOG is not set
|
||||
|
||||
#
|
||||
# Library Tuning
|
||||
#
|
||||
# CONFIG_FEATURE_RTMINMAX is not set
|
||||
# CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS is not set
|
||||
# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
|
||||
CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
|
||||
# CONFIG_FEATURE_EDITING_VI is not set
|
||||
# CONFIG_FEATURE_EDITING_SAVEHISTORY is not set
|
||||
# CONFIG_FEATURE_REVERSE_SEARCH is not set
|
||||
# CONFIG_FEATURE_EDITING_WINCH is not set
|
||||
# CONFIG_FEATURE_HWIB is not set
|
||||
|
||||
#
|
||||
# Archival Utilities
|
||||
#
|
||||
# CONFIG_ZCAT is not set
|
||||
# CONFIG_BZCAT is not set
|
||||
# CONFIG_LZCAT is not set
|
||||
# CONFIG_XZCAT is not set
|
||||
# CONFIG_UNLZOP is not set
|
||||
# CONFIG_LZOPCAT is not set
|
||||
|
||||
#
|
||||
# Coreutils
|
||||
#
|
||||
# CONFIG_CKSUM is not set
|
||||
# CONFIG_DOS2UNIX is not set
|
||||
# CONFIG_UNIX2DOS is not set
|
||||
# CONFIG_DU is not set
|
||||
# CONFIG_FACTOR is not set
|
||||
# CONFIG_FOLD is not set
|
||||
# CONFIG_HEAD is not set
|
||||
# CONFIG_INSTALL is not set
|
||||
# CONFIG_LINK is not set
|
||||
# CONFIG_LOGNAME is not set
|
||||
# CONFIG_MD5SUM is not set
|
||||
# CONFIG_SHA1SUM is not set
|
||||
# CONFIG_SHA256SUM is not set
|
||||
# CONFIG_SHA512SUM is not set
|
||||
# CONFIG_SHA3SUM is not set
|
||||
# CONFIG_MKFIFO is not set
|
||||
# CONFIG_NICE is not set
|
||||
# CONFIG_NL is not set
|
||||
# CONFIG_NOHUP is not set
|
||||
# CONFIG_OD is not set
|
||||
# CONFIG_PASTE is not set
|
||||
# CONFIG_SHRED is not set
|
||||
# CONFIG_SORT is not set
|
||||
# CONFIG_TAIL is not set
|
||||
# CONFIG_TEE is not set
|
||||
# CONFIG_TIMEOUT is not set
|
||||
# CONFIG_TR is not set
|
||||
# CONFIG_UNIQ is not set
|
||||
# CONFIG_UUDECODE is not set
|
||||
# CONFIG_BASE32 is not set
|
||||
# CONFIG_UUENCODE is not set
|
||||
# CONFIG_WC is not set
|
||||
# CONFIG_WHOAMI is not set
|
||||
# CONFIG_WHO is not set
|
||||
# CONFIG_W is not set
|
||||
# CONFIG_USERS is not set
|
||||
# CONFIG_YES is not set
|
||||
|
||||
#
|
||||
# Common options
|
||||
#
|
||||
# CONFIG_FEATURE_VERBOSE is not set
|
||||
|
||||
#
|
||||
# Debian Utilities
|
||||
#
|
||||
# CONFIG_RUN_PARTS is not set
|
||||
# CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set
|
||||
# CONFIG_FEATURE_RUN_PARTS_FANCY is not set
|
||||
# CONFIG_START_STOP_DAEMON is not set
|
||||
# CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set
|
||||
# CONFIG_FEATURE_START_STOP_DAEMON_FANCY is not set
|
||||
# CONFIG_WHICH is not set
|
||||
|
||||
#
|
||||
# klibc-utils
|
||||
#
|
||||
# CONFIG_NUKE is not set
|
||||
# CONFIG_RESUME is not set
|
||||
# CONFIG_RUN_INIT is not set
|
||||
|
||||
#
|
||||
# Editors
|
||||
#
|
||||
# CONFIG_SED is not set
|
||||
CONFIG_VI=y
|
||||
CONFIG_FEATURE_VI_MAX_LEN=4096
|
||||
CONFIG_FEATURE_VI_COLON=y
|
||||
CONFIG_FEATURE_VI_YANKMARK=y
|
||||
CONFIG_FEATURE_VI_USE_SIGNALS=y
|
||||
CONFIG_FEATURE_VI_DOT_CMD=y
|
||||
CONFIG_FEATURE_VI_READONLY=y
|
||||
CONFIG_FEATURE_VI_SETOPTS=y
|
||||
CONFIG_FEATURE_VI_SET=y
|
||||
CONFIG_FEATURE_VI_WIN_RESIZE=y
|
||||
CONFIG_FEATURE_VI_ASK_TERMINAL=y
|
||||
CONFIG_FEATURE_VI_UNDO=y
|
||||
|
||||
#
|
||||
# Finding Utilities
|
||||
#
|
||||
CONFIG_GREP=y
|
||||
# CONFIG_EGREP is not set
|
||||
# CONFIG_FGREP is not set
|
||||
# CONFIG_XARGS is not set
|
||||
|
||||
#
|
||||
# Init Utilities
|
||||
#
|
||||
# CONFIG_HALT is not set
|
||||
# CONFIG_POWEROFF is not set
|
||||
# CONFIG_FEATURE_WAIT_FOR_INIT is not set
|
||||
# CONFIG_FEATURE_CALL_TELINIT is not set
|
||||
# CONFIG_INIT is not set
|
||||
# CONFIG_LINUXRC is not set
|
||||
|
||||
#
|
||||
# Login/Password Management Utilities
|
||||
#
|
||||
# CONFIG_FEATURE_SHADOWPASSWDS is not set
|
||||
# CONFIG_USE_BB_CRYPT is not set
|
||||
# CONFIG_USE_BB_CRYPT_SHA is not set
|
||||
# CONFIG_ADDUSER is not set
|
||||
# CONFIG_GETTY is not set
|
||||
# CONFIG_LOGIN is not set
|
||||
# CONFIG_PASSWD is not set
|
||||
|
||||
#
|
||||
# Linux System Utilities
|
||||
#
|
||||
# CONFIG_FALLOCATE is not set
|
||||
# CONFIG_FREERAMDISK is not set
|
||||
# CONFIG_FSFREEZE is not set
|
||||
# CONFIG_GETOPT is not set
|
||||
# CONFIG_XXD is not set
|
||||
# CONFIG_MESG is not set
|
||||
# CONFIG_MKE2FS is not set
|
||||
# CONFIG_MKDOSFS is not set
|
||||
# CONFIG_FEATURE_MOUNT_CIFS is not set
|
||||
# CONFIG_FEATURE_MOUNT_FSTAB is not set
|
||||
# CONFIG_FEATURE_MOUNT_OTHERTAB is not set
|
||||
# CONFIG_NOLOGIN is not set
|
||||
# CONFIG_LINUX32 is not set
|
||||
# CONFIG_LINUX64 is not set
|
||||
# CONFIG_SETPRIV is not set
|
||||
|
||||
#
|
||||
# Common options for mount/umount
|
||||
#
|
||||
# CONFIG_FEATURE_MOUNT_LOOP is not set
|
||||
# CONFIG_FEATURE_MOUNT_LOOP_CREATE is not set
|
||||
|
||||
#
|
||||
# Miscellaneous Utilities
|
||||
#
|
||||
# CONFIG_BC is not set
|
||||
# CONFIG_HEXEDIT is not set
|
||||
# CONFIG_I2CTRANSFER is not set
|
||||
# CONFIG_LSSCSI is not set
|
||||
# CONFIG_MIM is not set
|
||||
# CONFIG_PARTPROBE is not set
|
||||
# CONFIG_SETFATTR is not set
|
||||
# CONFIG_SETSERIAL is not set
|
||||
# CONFIG_TS is not set
|
||||
|
||||
#
|
||||
# Networking Utilities
|
||||
#
|
||||
# CONFIG_HOSTNAME is not set
|
||||
# CONFIG_DNSDOMAINNAME is not set
|
||||
# CONFIG_IFCONFIG is not set
|
||||
# CONFIG_IFUP is not set
|
||||
# CONFIG_IFDOWN is not set
|
||||
# CONFIG_IP is not set
|
||||
# CONFIG_IPADDR is not set
|
||||
# CONFIG_IPLINK is not set
|
||||
# CONFIG_IPROUTE is not set
|
||||
# CONFIG_NC is not set
|
||||
# CONFIG_NETSTAT is not set
|
||||
# CONFIG_PING is not set
|
||||
# CONFIG_ROUTE is not set
|
||||
# CONFIG_TC is not set
|
||||
# CONFIG_TELNET is not set
|
||||
# CONFIG_WGET is not set
|
||||
# CONFIG_UDHCPC is not set
|
||||
|
||||
#
|
||||
# Process Utilities
|
||||
#
|
||||
# CONFIG_KILLALL is not set
|
||||
# CONFIG_KILLALL5 is not set
|
||||
|
||||
#
|
||||
# Runit Utilities
|
||||
#
|
||||
# CONFIG_SVC is not set
|
||||
# CONFIG_SVOK is not set
|
||||
|
||||
#
|
||||
# Shells
|
||||
#
|
||||
CONFIG_BASH_IS_HUSH=y
|
||||
# CONFIG_BASH_IS_NONE is not set
|
||||
# CONFIG_HUSH_SAVEHISTORY is not set
|
||||
|
||||
#
|
||||
# Options common to all shells
|
||||
#
|
||||
# CONFIG_FEATURE_SH_READ_FRAC is not set
|
||||
# CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS is not set
|
||||
@@ -1,30 +0,0 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
file uImage {
|
||||
image = "uImage"
|
||||
}
|
||||
|
||||
file k210.dtb {
|
||||
image = "k210.dtb"
|
||||
}
|
||||
}
|
||||
size = 4M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
image = "boot.vfat"
|
||||
bootable = "true"
|
||||
offset = 4M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
size = 64M
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
CONFIG_BUILTIN_DTB=n
|
||||
CONFIG_SOC_CANAAN_K210_DTB_BUILTIN=n
|
||||
CONFIG_SOC_CANAAN_K210_DTB_SOURCE=""
|
||||
CONFIG_CMDLINE="earlycon console=ttySIF0 root=/dev/mmcblk0p2 rootwait ro"
|
||||
@@ -1,58 +0,0 @@
|
||||
From 0cf11f3c0478f4286adcfb09bf9137f8b00212e3 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Ghiti <alexandre.ghiti@canonical.com>
|
||||
Date: Mon, 3 Oct 2022 18:07:54 +0200
|
||||
Subject: [PATCH] riscv: Fix build against binutils 2.38
|
||||
|
||||
The following description is copied from the equivalent patch for the
|
||||
Linux Kernel proposed by Aurelien Jarno:
|
||||
|
||||
>From version 2.38, binutils default to ISA spec version 20191213. This
|
||||
means that the csr read/write (csrr*/csrw*) instructions and fence.i
|
||||
instruction has separated from the `I` extension, become two standalone
|
||||
extensions: Zicsr and Zifencei. As the kernel uses those instruction,
|
||||
this causes the following build failure:
|
||||
|
||||
arch/riscv/cpu/mtrap.S: Assembler messages:
|
||||
arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause'
|
||||
arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc'
|
||||
arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval'
|
||||
arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0'
|
||||
|
||||
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
|
||||
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
|
||||
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
|
||||
Tested-by: Heiko Stuebner <heiko@sntech.de>
|
||||
Tested-by: Christian Stewart <christian@paral.in>
|
||||
Reviewed-by: Rick Chen <rick@andestech.com>
|
||||
(cherry picked from commit 1dde977518f13824b847e23275001191139bc384)
|
||||
Upstream: https://gitlab.com/u-boot/u-boot/-/commit/1dde977518f13824b847e23275001191139bc384
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
arch/riscv/Makefile | 11 ++++++++++-
|
||||
1 file changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
|
||||
index 0b80eb8d864..53d1194ffb6 100644
|
||||
--- a/arch/riscv/Makefile
|
||||
+++ b/arch/riscv/Makefile
|
||||
@@ -24,7 +24,16 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y)
|
||||
CMODEL = medany
|
||||
endif
|
||||
|
||||
-ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C) -mabi=$(ABI) \
|
||||
+RISCV_MARCH = $(ARCH_BASE)$(ARCH_A)$(ARCH_C)
|
||||
+
|
||||
+# Newer binutils versions default to ISA spec version 20191213 which moves some
|
||||
+# instructions from the I extension to the Zicsr and Zifencei extensions.
|
||||
+toolchain-need-zicsr-zifencei := $(call cc-option-yn, -mabi=$(ABI) -march=$(RISCV_MARCH)_zicsr_zifencei)
|
||||
+ifeq ($(toolchain-need-zicsr-zifencei),y)
|
||||
+ RISCV_MARCH := $(RISCV_MARCH)_zicsr_zifencei
|
||||
+endif
|
||||
+
|
||||
+ARCH_FLAGS = -march=$(RISCV_MARCH) -mabi=$(ABI) \
|
||||
-mcmodel=$(CMODEL)
|
||||
|
||||
PLATFORM_CPPFLAGS += $(ARCH_FLAGS)
|
||||
--
|
||||
2.41.0
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
MKIMAGE=${HOST_DIR}/bin/mkimage
|
||||
|
||||
# Generate u-Boot kernel image
|
||||
${MKIMAGE} -A riscv -O linux -T kernel -C none \
|
||||
-a 0x80000000 -e 0x80000000 \
|
||||
-n Linux -d ${BINARIES_DIR}/loader.bin ${BINARIES_DIR}/uImage
|
||||
|
||||
# Link the kernel-built board dtb file to using the k210.dtb generic
|
||||
# name for use by genimage.cfg
|
||||
BOARDDTBKPATH="$(grep BR2_LINUX_KERNEL_INTREE_DTS_NAME ${BR2_CONFIG} | cut -d'=' -f2 | tr -d \")"
|
||||
|
||||
BOARDDTB="$(basename ${BOARDDTBKPATH})"
|
||||
if [ -z "${BOARDDTB}" ]; then
|
||||
echo "Board DTB file not specified"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BOARDDTB="${BINARIES_DIR}/${BOARDDTB}.dtb"
|
||||
if [ ! -f "${BOARDDTB}" ]; then
|
||||
echo "Board DTB file not found in ${BINARIES_DIR}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
TARGETDTB=${BINARIES_DIR}/k210.dtb
|
||||
rm -f ${TARGETDTB}
|
||||
ln -s ${BOARDDTB} ${TARGETDTB}
|
||||
@@ -1 +0,0 @@
|
||||
/sbin/init
|
||||
@@ -1,41 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This script replaces the default busybox init process to avoid having that
|
||||
# process staying alive and sleeping in the background, (uselessly) consuming
|
||||
# precious memory.
|
||||
|
||||
# Mount procfs and sysfs
|
||||
/bin/mount -t proc proc /proc
|
||||
/bin/mount -t sysfs sysfs /sys
|
||||
|
||||
# When the kernel is directly booted, devtmpfs is not automatically mounted.
|
||||
# Manually mount it if needed.
|
||||
devmnt=$(mount | grep -c devtmpfs)
|
||||
if [ ${devmnt} -eq 0 ]; then
|
||||
/bin/mount -t devtmpfs devtmpfs /dev
|
||||
fi
|
||||
|
||||
# Use the /dev/console device node from devtmpfs if possible to not
|
||||
# confuse glibc's ttyname_r().
|
||||
# This may fail (E.G. booted with console=), and errors from exec will
|
||||
# terminate the shell, so use a subshell for the test
|
||||
if (exec 0</dev/console) 2>/dev/null; then
|
||||
exec 0</dev/console
|
||||
exec 1>/dev/console
|
||||
exec 2>/dev/console
|
||||
fi
|
||||
|
||||
# Clear memory to reduce page fragmentation
|
||||
echo 3 > /proc/sys/vm/drop_caches
|
||||
|
||||
# Print a fun logo :)
|
||||
echo " __ _"
|
||||
echo " / / (_) ____ _ _ __ __"
|
||||
echo " / / | || _ \\ | | | |\\ \\/ /"
|
||||
echo " / /___| || | | || |_| | > < "
|
||||
echo " /_____/|_||_| |_| \\____|/_/\\_\\"
|
||||
echo " 64-bits RISC-V Kendryte K210 NOMMU"
|
||||
echo ""
|
||||
|
||||
# Finally, let's start an interactive shell
|
||||
exec /bin/sh
|
||||
@@ -1 +0,0 @@
|
||||
# CONFIG_WATCHDOG_AUTOSTART is not set
|
||||
@@ -1,2 +0,0 @@
|
||||
CONFIG_SOC_CANAAN_K210_DTB_BUILTIN=y
|
||||
CONFIG_SOC_CANAAN_K210_DTB_SOURCE="canaan_kd233"
|
||||
@@ -1,149 +0,0 @@
|
||||
Canaan KD233 Board
|
||||
==================
|
||||
|
||||
The Canaan KD233 is a dual-core RISC-V 64-bits board based on the Canaan
|
||||
Kendryte K210 SoC.
|
||||
|
||||
Prerequisite
|
||||
------------
|
||||
|
||||
In order to use the kflash utility to program this board, the user must have
|
||||
access to the board USB serial device file. The simplest way to do this is to
|
||||
add your user to the same group as this device file. Assume the device file is
|
||||
/dev/ttyUSB0, first identify the device group name. In most cases, it is
|
||||
either "dialout" or "uucp". Also verify that read-write access is enabled for
|
||||
the group:
|
||||
|
||||
```
|
||||
$ ls -l /dev/ttyUSB0
|
||||
crw-rw---- 1 root dialout 188, 0 May 26 13:48 /dev/ttyUSB0
|
||||
```
|
||||
|
||||
Then add yourself to that group (dialout in this example):
|
||||
|
||||
```
|
||||
$ sudo usermod -a -G dialout $(whoami)
|
||||
```
|
||||
|
||||
To enable the above, it is sometimes necessary to logout and login again.
|
||||
|
||||
Buildroot Configuration
|
||||
-----------------------
|
||||
|
||||
Unlike other K210 based boards (Sipeed boards), U-Boot does not work on the
|
||||
KD233 board due to the different wiring for the SD-Card mmc controller. As such,
|
||||
the KD233 board can only be used by directly booting into Linux Kernel.
|
||||
|
||||
buildroot can be configured to do so using the canaan_kd233_defconfig
|
||||
configuration file. This configuration allows building a bootable kernel image
|
||||
with a built-in initramfs root file system (the board SD card is not used). The
|
||||
built kernel image can be flashed directly to the board ROM for direct booting.
|
||||
No boot loader is required.
|
||||
|
||||
Once booted, the on-board SD card can be used by Linux.
|
||||
|
||||
The configuration file will also compile and install the kflash and
|
||||
pyserial-miniterm host utilities to program bootable image files to the board
|
||||
and open a serial terminal console.
|
||||
|
||||
Direct Linux Kernel Boot
|
||||
-------------------------
|
||||
|
||||
Using the canaan_kd233_defconfig configuration, the bootable kernel binary image
|
||||
is built as follows.
|
||||
|
||||
```
|
||||
$ make canaan_kd233_defconfig
|
||||
$ make
|
||||
```
|
||||
|
||||
The bootable binary image is the output/images/loader.bin file. This image file
|
||||
can be written to the board boot flash using the kflash utility.
|
||||
|
||||
```
|
||||
$ output/host/bin/kflash -b 1500000 -p /dev/ttyUSB0 -t output/images/loader.bin
|
||||
```
|
||||
|
||||
Once the kernel image file is fully programmed, a terminal console is open and
|
||||
the board can be rebooted by pressing the reset button on the board (if it does
|
||||
not reboot automatically).
|
||||
|
||||
The output will be similar to the following.
|
||||
|
||||
```
|
||||
[ 0.000000] Linux version 5.17.0 (foo@bar.com) (riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02-560-g6a2b542a09-dirty) 10.3.0, GNU ld (GNU Binutils) 2.32) #2 SMP Thu Apr 21 16:40:44 JST 2022
|
||||
[ 0.000000] Machine model: Kendryte KD233
|
||||
[ 0.000000] earlycon: sifive0 at MMIO 0x0000000038000000 (options '115200n8')
|
||||
[ 0.000000] printk: bootconsole [sifive0] enabled
|
||||
[ 0.000000] Zone ranges:
|
||||
[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000807fffff]
|
||||
[ 0.000000] Normal empty
|
||||
[ 0.000000] Movable zone start for each node
|
||||
[ 0.000000] Early memory node ranges
|
||||
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000807fffff]
|
||||
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000807fffff]
|
||||
[ 0.000000] riscv: ISA extensions acdfim
|
||||
[ 0.000000] riscv: ELF capabilities acdfim
|
||||
[ 0.000000] percpu: max_distance=0x16000 too large for vmalloc space 0x0
|
||||
[ 0.000000] percpu: Embedded 11 pages/cpu s15264 r0 d29792 u45056
|
||||
[ 0.000000] percpu: wasting 10 pages per chunk
|
||||
[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 2020
|
||||
[ 0.000000] Kernel command line: earlycon console=ttySIF0
|
||||
[ 0.000000] Dentry cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
|
||||
[ 0.000000] Inode-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
|
||||
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
|
||||
[ 0.000000] Memory: 5984K/8192K available (964K kernel code, 137K rwdata, 205K rodata, 546K init, 66K bss, 2208K reserved, 0K cma-reserved)
|
||||
[ 0.000000] rcu: Hierarchical RCU implementation.
|
||||
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
|
||||
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
|
||||
[ 0.000000] riscv-intc: 64 local interrupts mapped
|
||||
[ 0.000000] plic: interrupt-controller@c000000: mapped 65 interrupts with 2 handlers for 4 contexts.
|
||||
[ 0.000000] k210-clk: clock-controller: CPU running at 390 MHz
|
||||
[ 0.000000] clint: timer@2000000: timer running at 7800000 Hz
|
||||
[ 0.000000] clocksource: clint_clocksource: mask: 0xffffffffffffffff max_cycles: 0x3990be68b, max_idle_ns: 881590404272 ns
|
||||
[ 0.000001] sched_clock: 64 bits at 7MHz, resolution 128ns, wraps every 4398046511054ns
|
||||
[ 0.008178] Calibrating delay loop (skipped), value calculated using timer frequency.. 15.60 BogoMIPS (lpj=31200)
|
||||
[ 0.018251] pid_max: default: 4096 minimum: 301
|
||||
[ 0.022861] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
|
||||
[ 0.029971] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
|
||||
[ 0.040234] rcu: Hierarchical SRCU implementation.
|
||||
[ 0.045110] smp: Bringing up secondary CPUs ...
|
||||
[ 0.050211] smp: Brought up 1 node, 2 CPUs
|
||||
[ 0.054340] devtmpfs: initialized
|
||||
[ 0.070401] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
|
||||
[ 0.079473] pinctrl core: initialized pinctrl subsystem
|
||||
[ 0.117795] clocksource: Switched to clocksource clint_clocksource
|
||||
[ 0.130245] workingset: timestamp_bits=62 max_order=11 bucket_order=0
|
||||
[ 0.176925] k210-sysctl 50440000.syscon: K210 system controller
|
||||
[ 0.192947] k210-rst 50440000.syscon:reset-controller: K210 reset controller
|
||||
[ 0.200870] cacheinfo: Unable to detect cache hierarchy for CPU 0
|
||||
[ 0.210947] i2c_dev: i2c /dev entries driver
|
||||
[ 0.220535] k210-fpioa 502b0000.pinmux: K210 FPIOA pin controller
|
||||
[ 0.232253] 38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1, base_baud = 115200) is a SiFive UART v0
|
||||
[ 0.241202] printk: console [ttySIF0] enabled
|
||||
[ 0.241202] printk: console [ttySIF0] enabled
|
||||
[ 0.249818] printk: bootconsole [sifive0] disabled
|
||||
[ 0.249818] printk: bootconsole [sifive0] disabled
|
||||
[ 0.261664] panel@0 enforce active low on chipselect handle
|
||||
[ 0.275950] Freeing unused kernel image (initmem) memory: 540K
|
||||
[ 0.281098] This architecture does not have kernel memory protection.
|
||||
[ 0.287520] Run /init as init process
|
||||
__ _
|
||||
/ / (_) ____ _ _ __ __
|
||||
/ / | || _ \ | | | |\ \/ /
|
||||
/ /___| || | | || |_| | > <
|
||||
/_____/|_||_| |_| \____|/_/\_\
|
||||
64-bits RISC-V Kendryte K210 NOMMU
|
||||
|
||||
/ #
|
||||
```
|
||||
|
||||
To open a terminal console without re-flashing the board, the pyserial-miniterm
|
||||
host tool can be used.
|
||||
|
||||
```
|
||||
$ output/host/bin/pyserial-miniterm --raw --eol=LF /dev/ttyUSB0 115200
|
||||
```
|
||||
|
||||
The options "--raw" and "--eol=LF" are added here to avoid a double carriage
|
||||
return each time a command is entered.
|
||||
@@ -0,0 +1,25 @@
|
||||
tar jtag jtag://127.0.0.1:1025
|
||||
reset
|
||||
|
||||
# setup CCR (Cache Config Reg)
|
||||
# 0-1:MP,2:IE,3:DE,4:WB,5:RS,6:Z,7:BE
|
||||
set $cr18 = 0x7d
|
||||
|
||||
# vendor custom setup, double cache line & preload
|
||||
set $cr30 = 0xc
|
||||
|
||||
# pin mux for serial8250
|
||||
set *(unsigned int *) 0xa030a14c |= (1 << 22) | (1 << 23)
|
||||
|
||||
# pass devicetree blob
|
||||
# r2 is magic
|
||||
# r3 is address
|
||||
set $r2 = 0x20150401
|
||||
set $r3 = 0x92000000
|
||||
restore gx6605s.dtb binary 0x92000000
|
||||
|
||||
# flush cache
|
||||
set $cr17 = 0x33
|
||||
|
||||
load
|
||||
|
||||
@@ -0,0 +1,155 @@
|
||||
/dts-v1/;
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
model = "C-SKY gx6605s";
|
||||
compatible = "csky,gx6605s";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x10000000 0x04000000>;
|
||||
};
|
||||
|
||||
soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "simple-bus";
|
||||
ranges;
|
||||
|
||||
dummy_apb: apb-clock {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <27000000>;
|
||||
clock-output-names = "dummy_apb";
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
intc: interrupt-controller@500000 {
|
||||
compatible = "csky,gx6605s-intc";
|
||||
reg = <0x00500000 0x400>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
};
|
||||
|
||||
timer@20a000 {
|
||||
compatible = "csky,gx6605s-timer";
|
||||
reg = <0x0020a000 0x400>;
|
||||
clocks = <&dummy_apb>;
|
||||
interrupts = <10>;
|
||||
interrupt-parent = <&intc>;
|
||||
};
|
||||
|
||||
ehci-hcd@900000 {
|
||||
compatible = "generic-ehci";
|
||||
reg = <0x00900000 0x400>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <59>;
|
||||
};
|
||||
|
||||
ohci-hcd0@a00000 {
|
||||
compatible = "generic-ohci";
|
||||
reg = <0x00a00000 0x400>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <58>;
|
||||
};
|
||||
|
||||
ohci-hcd1@b00000 {
|
||||
compatible = "generic-ohci";
|
||||
reg = <0x00b00000 0x400>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <57>;
|
||||
};
|
||||
|
||||
serial@403000 {
|
||||
compatible = "ns16550a";
|
||||
reg = <0x00403000 0x400>;
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <15>;
|
||||
clock-frequency = <29491200>;
|
||||
baud = <115200>;
|
||||
reg-shift = <2>;
|
||||
reg-io-width = <1>;
|
||||
};
|
||||
|
||||
gpio0: gpio@305000 {
|
||||
compatible = "wd,mbl-gpio";
|
||||
reg-names = "dirout", "dat", "set", "clr";
|
||||
reg = <0x305000 4>, <0x305004 4>, <0x305008 4>, <0x30500c 4>;
|
||||
bgpio-base = <0>;
|
||||
#gpio-cells = <2>;
|
||||
gpio-controller;
|
||||
};
|
||||
|
||||
gpio_buttons {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
poll-interval = <100>;
|
||||
autorepeat;
|
||||
|
||||
button0 {
|
||||
label = "button8";
|
||||
linux,code = <KEY_LEFT>;
|
||||
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
button1 {
|
||||
label = "button6";
|
||||
linux,code = <KEY_RIGHT>;
|
||||
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
button2 {
|
||||
label = "button5";
|
||||
linux,code = <KEY_UP>;
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
button3 {
|
||||
label = "button9";
|
||||
linux,code = <KEY_DOWN>;
|
||||
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
button4 {
|
||||
label = "button7";
|
||||
linux,code = <KEY_ENTER>;
|
||||
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
gpio_leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led0 {
|
||||
label = "led10";
|
||||
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
led1 {
|
||||
label = "led11";
|
||||
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "timer";
|
||||
};
|
||||
|
||||
led2 {
|
||||
label = "led12";
|
||||
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "default-on";
|
||||
};
|
||||
|
||||
led3 {
|
||||
label = "led13";
|
||||
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "default-on";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200 init=/sbin/init root=/dev/sda2 rw rootwait";
|
||||
};
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user