mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-21 10:02:13 +00:00
Compare commits
27 Commits
include-vi
...
i586
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
436e4ec558 | ||
|
|
53ff6d0b1f | ||
|
|
41babc35b3 | ||
|
|
e36af7c0c8 | ||
|
|
ebf6f9d355 | ||
|
|
f6ce3e3e64 | ||
|
|
21e02a3cf8 | ||
|
|
70b99a4530 | ||
|
|
16933b883c | ||
|
|
f13ccbc889 | ||
|
|
763e5a13ec | ||
|
|
2207e01415 | ||
|
|
c5896c2e44 | ||
|
|
cbfae94bc0 | ||
|
|
540d0d49d7 | ||
|
|
acd8f5976f | ||
|
|
cb7442500d | ||
|
|
82c1387ab0 | ||
|
|
0bc266b783 | ||
|
|
9837083d98 | ||
|
|
80f9de5331 | ||
|
|
c525a2ff71 | ||
|
|
d9b225e4c4 | ||
|
|
26d86c6d47 | ||
|
|
c3d6ec6673 | ||
|
|
47dc200bc9 | ||
|
|
460d6ab764 |
43
Config.in
43
Config.in
@@ -6,6 +6,15 @@ config BR2_HAVE_DOT_CONFIG
|
||||
bool
|
||||
default y
|
||||
|
||||
# Hidden symbol kept to false, to temporarily mark a configuration
|
||||
# known to be broken (by depending on it). Ideally, we don't want to
|
||||
# keep broken parts for too long. The intended use of this symbol is
|
||||
# to give some time to a developer to fix the feature. Features marked
|
||||
# as broken will be removed if they are not fixed in a reasonable
|
||||
# amount of time.
|
||||
config BR2_BROKEN
|
||||
bool
|
||||
|
||||
config BR2_VERSION
|
||||
string
|
||||
option env="BR2_VERSION_FULL"
|
||||
@@ -65,6 +74,26 @@ config BR2_HOST_GCC_AT_LEAST_11
|
||||
default y if BR2_HOST_GCC_VERSION = "11"
|
||||
select BR2_HOST_GCC_AT_LEAST_10
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_12
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "12"
|
||||
select BR2_HOST_GCC_AT_LEAST_11
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_13
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "13"
|
||||
select BR2_HOST_GCC_AT_LEAST_12
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_14
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "14"
|
||||
select BR2_HOST_GCC_AT_LEAST_13
|
||||
|
||||
config BR2_HOST_GCC_AT_LEAST_15
|
||||
bool
|
||||
default y if BR2_HOST_GCC_VERSION = "15"
|
||||
select BR2_HOST_GCC_AT_LEAST_14
|
||||
|
||||
# When adding new entries above, be sure to update
|
||||
# the HOSTCC_MAX_VERSION variable in the Makefile.
|
||||
|
||||
@@ -105,15 +134,15 @@ menu "Commands"
|
||||
|
||||
config BR2_CURL
|
||||
string "Curl command"
|
||||
default "curl -q --ftp-pasv --retry 3"
|
||||
default "curl -q --ftp-pasv --retry 3 --connect-timeout 10"
|
||||
|
||||
config BR2_WGET
|
||||
string "Wget command"
|
||||
default "wget -nd -t 3"
|
||||
default "wget -nd -t 3 --connect-timeout=10"
|
||||
|
||||
config BR2_SVN
|
||||
string "Subversion (svn) command"
|
||||
default "svn --non-interactive"
|
||||
default "svn --non-interactive --config-option servers:global:http-timeout=10"
|
||||
|
||||
config BR2_BZR
|
||||
string "Bazaar (bzr) command"
|
||||
@@ -133,11 +162,11 @@ config BR2_LOCALFILES
|
||||
|
||||
config BR2_SCP
|
||||
string "Secure copy (scp) command"
|
||||
default "scp"
|
||||
default "scp -o ConnectTimeout=10"
|
||||
|
||||
config BR2_SFTP
|
||||
string "Secure file transfer (sftp) command"
|
||||
default "sftp"
|
||||
default "sftp -o ConnectTimeout=10"
|
||||
|
||||
config BR2_HG
|
||||
string "Mercurial (hg) command"
|
||||
@@ -285,7 +314,7 @@ config BR2_KERNEL_MIRROR
|
||||
|
||||
config BR2_GNU_MIRROR
|
||||
string "GNU Software mirror"
|
||||
default "http://ftpmirror.gnu.org"
|
||||
default "https://ftpmirror.gnu.org"
|
||||
help
|
||||
GNU has multiple software mirrors scattered around the
|
||||
world. The following allows you to select your preferred
|
||||
@@ -799,8 +828,6 @@ config BR2_PIC_PIE_ARCH_SUPPORTS
|
||||
default y
|
||||
# Microblaze glibc toolchains don't work with PIC/PIE enabled
|
||||
depends on !BR2_microblaze
|
||||
# Nios2 toolchains produce non working binaries with -fPIC
|
||||
depends on !BR2_nios2
|
||||
|
||||
config BR2_PIC_PIE
|
||||
bool "Build code with PIC/PIE"
|
||||
|
||||
697
Config.in.legacy
697
Config.in.legacy
@@ -144,6 +144,701 @@ endif
|
||||
|
||||
###############################################################################
|
||||
|
||||
comment "Legacy options removed in 2025.11"
|
||||
|
||||
config BR2_KERNEL_HEADERS_5_4
|
||||
bool "kernel headers version 5.4.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 5.4.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_LIBARGTABLE2
|
||||
bool "libargtable2 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
libargtable2 is unmaintained and has been removed
|
||||
|
||||
config BR2_PACKAGE_OLA
|
||||
bool "ola has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
ola is incompatible with current versions of protobuf
|
||||
|
||||
config BR2_PACKAGE_BATMAN_ADV_NC
|
||||
bool "batman-adv removed network coding"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
batman-adv removed B.A.T.M.A.N. network coding
|
||||
|
||||
config BR2_PACKAGE_DVBSNOOP
|
||||
bool "dvbsnoop has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
dvbsnoop is unmaintained and has been removed
|
||||
|
||||
config BR2_PACKAGE_PROCRANK_LINUX
|
||||
bool "procrank_linux has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
procrank_linux is unmaintained and has been removed
|
||||
|
||||
config BR2_PACKAGE_MONGREL2
|
||||
bool "mongrel2 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
mongrel2 is incompatible with MbedTLS 3.6 and has been removed
|
||||
|
||||
config BR2_PACKAGE_EXPECT
|
||||
bool "expect has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
expect is unmaintained and has been removed
|
||||
|
||||
config BR2_PACKAGE_BCTOOLBOX
|
||||
bool "bctoolbox has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package has been removed as part of the linphone
|
||||
removal. In addition, newer version of linphone directly
|
||||
bundle bctoolbox making a separate package unnecessary.
|
||||
|
||||
config BR2_PACKAGE_ORTP
|
||||
bool "ortp has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package has been removed as part of the linphone
|
||||
removal. In addition, newer version of linphone directly
|
||||
bundle ortp making a separate package unnecessary.
|
||||
|
||||
config BR2_PACKAGE_MEDIASTREAMER
|
||||
bool "mediastreamer has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package has been removed as part of the linphone
|
||||
removal. In addition, newer version of linphone directly
|
||||
bundle mediastreamer making a separate package unnecessary.
|
||||
|
||||
config BR2_PACKAGE_BELR
|
||||
bool "belr has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package has been removed as part of the linphone
|
||||
removal. In addition, newer version of linphone directly
|
||||
bundle belr making a separate package unnecessary.
|
||||
|
||||
config BR2_PACKAGE_BELLE_SIP
|
||||
bool "belle-sip has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package has been removed as part of the linphone
|
||||
removal. In addition, newer version of linphone directly
|
||||
bundle belle-sip making a separate package unnecessary.
|
||||
|
||||
config BR2_PACKAGE_LINPHONE
|
||||
bool "linphone has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package was no longer maintained in Buildroot and was
|
||||
no longer building. It can be re-added if someone volunteers
|
||||
to fix the issues, update the package and maintain it.
|
||||
|
||||
config BR2_PACKAGE_LIBJWT
|
||||
bool "libjwt has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The only dependee of libjwt, asterisk, is incompatible with
|
||||
version 3 so the version bundled with asterisk is used and
|
||||
this package has been removed.
|
||||
|
||||
config BR2_PACKAGE_RAMSPEED
|
||||
bool "ramspeed has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The ramspeed package was removed as it is not maintained
|
||||
anymore and the upstream repo is gone.
|
||||
|
||||
config BR2_PACKAGE_LESSTIF
|
||||
bool "lesstif has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
lesstif is unmaintained and has been removed
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_16
|
||||
bool "kernel headers version 6.16.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.16.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_MURATA_CYW_FW_CYW4339_1CK
|
||||
bool "This firmware has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This firmware has been removed from Murata package
|
||||
|
||||
config BR2_PACKAGE_MURATA_CYW_FW_CYW4339_ZP
|
||||
bool "BR2_PACKAGE_MURATA_CYW_FW_CYW4339_ZP has been renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_MURATA_CYW_FW_CYW4339
|
||||
help
|
||||
The option has been renamed to
|
||||
BR2_PACKAGE_MURATA_CYW_FW_CYW4339
|
||||
|
||||
config BR2_PACKAGE_LIBBSON
|
||||
bool "libbson has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
libbson is officially deprecated upstream and has been removed
|
||||
|
||||
config BR2_TARGET_ROOTFS_AXFS
|
||||
bool "AXFS root filesystem has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
AXFS root filesystem support has been removed.
|
||||
|
||||
config BR2_PACKAGE_LOGSURFER
|
||||
bool "logsurfer has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Logsurfer last updates was on 2011 and fails to build with
|
||||
GCC14.
|
||||
|
||||
config BR2_LINUX_KERNEL_EXT_FBTFT
|
||||
bool "FB TFT drivers are deprecated"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
FB TFT drivers were only needed for linux kernels until v3.19,
|
||||
since v4.0 the drivers are included in the staging area.
|
||||
|
||||
config BR2_PACKAGE_DMENU_WAYLAND
|
||||
bool "dmenu-wayland has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The package has been abandoned for several years.
|
||||
The only package that previously relied on dmenu-wayland
|
||||
was sway, and that now relies on wmenu. Please select
|
||||
wmenu instead.
|
||||
|
||||
config BR2_PACKAGE_SYLPHEED
|
||||
bool "sylpheed has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Due to the removal of libgtk2, the sylpheed package has been
|
||||
removed.
|
||||
|
||||
config BR2_PACKAGE_PINENTRY_GTK2
|
||||
bool "gtk2 backend of pinentry has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Due to the removal of libgtk2, the gtk2 backend of pinentry
|
||||
has been removed.
|
||||
|
||||
config BR2_PACKAGE_OPENCV4_WITH_GTK
|
||||
bool "opencv4 gtk support has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Due to the removal of libgtk2, the gtk support of opencv4
|
||||
has been removed. gtk3 support is still available.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_GTK
|
||||
bool "opencv3 gtk support has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Due to the removal of libgtk2, the gtk support of opencv3
|
||||
has been removed. gtk3 support is still available.
|
||||
|
||||
config BR2_PACKAGE_NETSURF_GTK
|
||||
bool "gtk frontend of netsurf has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Due to the removal of libgtk2, the gtk frontend of netsurf
|
||||
has been removed. The gtk3 frontend can be used instead for
|
||||
example.
|
||||
|
||||
config BR2_PACKAGE_METACITY
|
||||
bool "metacity has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The metacity package has been removed, as libgtk2 has been
|
||||
removed as well.
|
||||
|
||||
config BR2_PACKAGE_LIBSEXY
|
||||
bool "libsexy has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The libsexy package has been removed, as libgtk2 has been
|
||||
removed as well.
|
||||
|
||||
config BR2_PACKAGE_LIBGLADE
|
||||
bool "libglade has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The libglade package has been removed, as libgtk2 has been
|
||||
removed as well.
|
||||
|
||||
config BR2_PACKAGE_LEAFPAD
|
||||
bool "leafpad has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The leafpad package has been removed, as libgtk2 has been
|
||||
removed as well.
|
||||
|
||||
config BR2_PACKAGE_GTKPERF
|
||||
bool "gtkperf has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The gtkperf package has been removed, as libgtk2 has been
|
||||
removed as well.
|
||||
|
||||
config BR2_PACKAGE_GTK2_ENGINES
|
||||
bool "gtk2-engines has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The gtk2-engines package has been removed, as libgtk2 has
|
||||
been removed as well.
|
||||
|
||||
config BR2_PACKAGE_GKRELLM_CLIENT
|
||||
bool "gkrellm client has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The gkrellm client option has been removed, as it required
|
||||
libgtk2, which was removed from Buildroot.
|
||||
|
||||
config BR2_PACKAGE_CWIID_WMGUI
|
||||
bool "cwiid wmgui has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The wmgui part of cwiid required libgtk2, which has been
|
||||
removed from Buildroot.
|
||||
|
||||
config BR2_LINUX_KERNEL_EXT_AUFS
|
||||
bool "Aufs Filesystem Module patch has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
aufs kernel module patch is unmaintained and has been
|
||||
removed.
|
||||
|
||||
config BR2_PACKAGE_AUFS_UTIL
|
||||
bool "aufs-util has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
aufs-util package is unmaintained and has been removed.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
|
||||
bool "Linaro armeb 2018.05 external toolchain is deprecated"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Linaro armeb 2018.05 is no longer maintained and has been
|
||||
removed from Buildroot.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
|
||||
bool "Linaro ARM 2018.05 external toolchain is deprecated"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Linaro ARM 2018.05 is no longer maintained and has been
|
||||
removed from Buildroot.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_BE
|
||||
bool "Linaro AArch64 BE 2018.05 external toolchain is deprecated"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Linaro AArch64 2018.05 BE is no longer maintained and has been
|
||||
removed from Buildroot.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
|
||||
bool "Linaro AArch64 2018.05 external toolchain is deprecated"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Linaro AArch64 2018.05 is no longer maintained and has been
|
||||
removed from Buildroot.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
bool "Sourcery CodeBench MIPS external toolchain is deprecated"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Sourcery CodeBench MIPS 2016.05 is no longer maintained
|
||||
and has been removed from Buildroot.
|
||||
|
||||
config BR2_LINUX_KERNEL_EXT_EV3DEV_LINUX_DRIVERS
|
||||
bool "ev3dev Linux drivers have been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Linux drivers for LEGO MINDSTORMS EV3 from the ev3dev project
|
||||
are targeting an outdated kernel which is no longer supported.
|
||||
|
||||
comment "Legacy options removed in 2025.08"
|
||||
|
||||
config BR2_PACKAGE_NETSTAT_NAT
|
||||
bool "netstat-nat has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The upstream URL is gone and netstat-nat has been removed
|
||||
from Buildroot.
|
||||
|
||||
config BR2_PACKAGE_LIGHTTPD_LIBEV
|
||||
bool "lighttpd removed libev support"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Lighttpd 1.4.80 removed optional libev support.
|
||||
|
||||
config BR2_PACKAGE_LIBSVGTINY
|
||||
bool "libsvgtiny has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Libsvgtiny has been removed from Buildroot.
|
||||
|
||||
config BR2_PACKAGE_THTTPD
|
||||
bool "thttpd has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
thttpd is no longer maintained actively by upstream and has
|
||||
been removed from Buildroot.
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_15
|
||||
bool "kernel headers version 6.15.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.15.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_LIBCURL_BEARSSL
|
||||
bool "libcurl removed BearSSL support"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Libcurl removed optional BearSSL support.
|
||||
|
||||
config BR2_PACKAGE_LIBOLM
|
||||
bool "libolm has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
libolm is deprecated and has been removed from Buildroot.
|
||||
https://gitlab.matrix.org/matrix-org/olm#important-libolm-is-now-deprecated
|
||||
|
||||
config BR2_PACKAGE_LIBWEBSOCK
|
||||
bool "libwebsock has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The upstream Github repository payden/libwebsock is no
|
||||
longer available, and has been removed from Buildroot.
|
||||
|
||||
config BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX
|
||||
bool "EDK2 Socionext DeveloperBox support has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The Socionext DeveloperBox support has been removed upstream
|
||||
in EDK2 version edk2-stable202505.
|
||||
|
||||
config BR2_PACKAGE_LIBEBUR128
|
||||
bool "libebur128 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The libebur128 package has been removed from Buildroot.
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_14
|
||||
bool "kernel headers version 6.14.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.14.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_GPSD_OCEANSERVER
|
||||
bool "gpsd OceanServer removed upstream"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for OceanServer has been removed upstream in gpsd
|
||||
v3.26.
|
||||
|
||||
config BR2_PACKAGE_MESA3D_OSMESA_GALLIUM
|
||||
bool "mesa3d OSMesa (Gallium) library support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Mesa3d removed the OSMesa (Off-Screen) interface library.
|
||||
|
||||
config BR2_PACKAGE_ALSA_LIB_ALISP
|
||||
bool "alsa-lib alisp support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for alisp was removed from alsa-lib v1.12.14.
|
||||
|
||||
comment "Legacy options removed in 2025.05"
|
||||
|
||||
config BR2_GCC_VERSION_12_X
|
||||
bool "gcc 12.x support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for building a toolchain based on GCC 12.x has been
|
||||
removed, chose a newer GCC version instead.
|
||||
|
||||
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
|
||||
bool "mesa Gallium swrast driver was replaced by softpipe"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE
|
||||
help
|
||||
The Gallium swrast driver was replaced by softpipe.
|
||||
|
||||
config BR2_PACKAGE_MBEDTLS_COMPRESSION
|
||||
bool "mbedtls compression support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
MbedTLS has dropped support for TLS record-level
|
||||
compression.
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_13
|
||||
bool "kernel headers version 6.13.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.13.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_MPD_SOUNDCLOUD
|
||||
bool "mpd soundcloud support has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
MPD SoundCloud support has been removed.
|
||||
|
||||
# BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT is still referenced in docker-engine
|
||||
config BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT
|
||||
bool "docker-engine init support is now a choice"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
docker-engine init support is now a choice. The original
|
||||
setting has been adapted; be sure to review it in the
|
||||
docker-engine package.
|
||||
|
||||
comment "Legacy options removed in 2025.02"
|
||||
|
||||
config BR2_PACKAGE_SQLITE_ENABLE_JSON1
|
||||
bool "Enable the JSON extensions for SQLite has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Since SQLite 3.38 the JSON Extension is enabled by default.
|
||||
|
||||
config BR2_PACKAGE_ANGULARJS
|
||||
bool "angularjs has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The angularjs package was removed as the upstream
|
||||
project has been archived.
|
||||
|
||||
config BR2_PACKAGE_ANGULAR_WEBSOCKET
|
||||
bool "angular-websocket has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The angular-websocket package was removed as the upstream
|
||||
project has been archived.
|
||||
|
||||
config BR2_PACKAGE_LATENCYTOP
|
||||
bool "latencytop has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The latencytop package is no longer available for download.
|
||||
|
||||
config BR2_PACKAGE_OBSIDIAN_CURSORS
|
||||
bool "obsidian-cursors has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The obsidian cursors package is no longer available for
|
||||
direct download.
|
||||
|
||||
config BR2_PACKAGE_W_SCAN
|
||||
bool "w_scan has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The w_scan package was removed as it is not maintained
|
||||
anymore and the upstream URL is gone.
|
||||
|
||||
config BR2_PACKAGE_GENROMFS
|
||||
bool "genromfs"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Romfs root filesystem support has been removed.
|
||||
|
||||
config BR2_TARGET_ROOTFS_ROMFS
|
||||
bool "romfs root filesystem has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Romfs root filesystem support has been removed.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_41_X
|
||||
bool "binutils 2.41 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
binutils 2.41 has been removed, use a newer version.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EXT2_2r0
|
||||
bool "ext2 rev0 support been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for ext2 revision 0 format has been removed and
|
||||
revision 1 is now unconditionally used.
|
||||
|
||||
config BR2_GDB_VERSION_13
|
||||
bool "gdb 13.x has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
GDB 13.x support has been removed, a newer version should be
|
||||
used instead.
|
||||
|
||||
config BR2_nios2
|
||||
bool "nios2 architecture removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The nios2 architecture was removed, by lack of toolchain
|
||||
support.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_BLEEDING_EDGE
|
||||
bool "Bootlin nios2 glibc bleeding-edge toolchain removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The nios2 Bootlin toolchains have been removed.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_STABLE
|
||||
bool "Bootlin nios2 glibc stable toolchain removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The nios2 Bootlin toolchains have been removed.
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB
|
||||
bool "directfb has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package was no longer maintained upstream, so it was
|
||||
dropped from Buildroot.
|
||||
|
||||
config BR2_PACKAGE_GST_OMX
|
||||
bool "gst-omx has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The gst-omx module has been removed from Gstreamer in
|
||||
release 1.24 in favor of Video4Linux-based video encoders.
|
||||
|
||||
config BR2_PACKAGE_MIMIC
|
||||
bool "mimic has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The mimic package has been removed from Buildroot.
|
||||
|
||||
config BR2_PACKAGE_SDL2_DIRECTFB
|
||||
bool "sdl2 directfb support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The directfb support from SDL2 is no longer available, as
|
||||
directfb is no longer packaged in Buildroot.
|
||||
|
||||
config BR2_PACKAGE_SDL_DIRECTFB
|
||||
bool "sdl directfb support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The directfb support from SDL is no longer available, as
|
||||
directfb is no longer packaged in Buildroot.
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_DIRECTFB
|
||||
bool "qt5base directfb support removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The directfb support from qt5base is no longer available, as
|
||||
directfb is no longer packaged in Buildroot.
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB
|
||||
bool "gstreamer directfb plugin removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The directfb plugin from GStreamer is no longer supported,
|
||||
as directfb is no longer packaged in Buildroot.
|
||||
|
||||
config BR2_PACKAGE_LITE
|
||||
bool "lite has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package was no longer maintained upstream, so it was
|
||||
dropped from Buildroot.
|
||||
|
||||
config BR2_PACKAGE_LINUX_FUSION
|
||||
bool "linux-fusion has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package was no longer maintained upstream, so it was
|
||||
dropped from Buildroot.
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_EXAMPLES
|
||||
bool "directfb-examples has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package was no longer maintained upstream, so it was
|
||||
dropped from Buildroot.
|
||||
|
||||
config BR2_PACKAGE_HIAWATHA
|
||||
bool "hiwatha has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This package is no longer maintained upstream, has no bug
|
||||
tracker, and the latest versions cause build
|
||||
failures. Therefore, it has been removed.
|
||||
|
||||
config BR2_PACKAGE_MONGODB
|
||||
bool "mongodb has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The mongodb package has been removed as it was unmaintained.
|
||||
|
||||
config BR2_PACKAGE_PYTHON_M2CRYPTO
|
||||
bool "python-m2crypto has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The python-m2crypto package was removed as it is in maintained
|
||||
only mode and is not recommended for new projects.
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_19
|
||||
bool "kernel headers version 4.19.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 4.19.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_11
|
||||
bool "kernel headers version 6.11.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.11.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_GIBLIB
|
||||
bool "giblib has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The giblib package was removed as it is not maintained
|
||||
anymore and the upstream URL is gone.
|
||||
|
||||
config BR2_PACKAGE_FCONFIG
|
||||
bool "fconfig has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The fconfig package was removed as it is not maintained
|
||||
anymore and the upstream URL is gone.
|
||||
|
||||
config BR2_PACKAGE_LIBHID
|
||||
bool "libhid has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The libhid package was removed as it is not maintained
|
||||
anymore and the upstream URL is gone. Consider using hidapi
|
||||
instead.
|
||||
|
||||
config BR2_PACKAGE_QUAGGA
|
||||
bool "quagga has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The quagga package was removed as it is not maintained
|
||||
anymore and the upstream repo is gone.
|
||||
|
||||
config BR2_PACKAGE_RAMSMP
|
||||
bool "ramsmp has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The ramsmp package was removed as it is not maintained
|
||||
anymore and the upstream repo is gone.
|
||||
|
||||
comment "Legacy options removed in 2024.11"
|
||||
|
||||
config BR2_PACKAGE_BSDIFF
|
||||
@@ -5707,7 +6402,6 @@ config BR2_PACKAGE_KOBS_NG
|
||||
config BR2_PACKAGE_SAWMAN
|
||||
bool "sawman package removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_DIRECTFB_SAWMAN
|
||||
help
|
||||
This option has been removed because the sawman package no
|
||||
longer exists: it was merged inside DirectFB itself. This
|
||||
@@ -5717,7 +6411,6 @@ config BR2_PACKAGE_SAWMAN
|
||||
config BR2_PACKAGE_DIVINE
|
||||
bool "divine package removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_DIRECTFB_DIVINE
|
||||
help
|
||||
This option has been removed because the divine package no
|
||||
longer exists: it was merged inside DirectFB itself. This
|
||||
|
||||
342
DEVELOPERS
342
DEVELOPERS
File diff suppressed because it is too large
Load Diff
68
Makefile
68
Makefile
@@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2024.11
|
||||
export BR2_VERSION := 2025.11
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1733653000
|
||||
BR2_VERSION_EPOCH = 1765493000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -353,7 +353,7 @@ export HOSTARCH := $(shell LC_ALL=C $(HOSTCC_NOCCACHE) -v 2>&1 | \
|
||||
|
||||
# When adding a new host gcc version in Config.in,
|
||||
# update the HOSTCC_MAX_VERSION variable:
|
||||
HOSTCC_MAX_VERSION := 11
|
||||
HOSTCC_MAX_VERSION := 15
|
||||
|
||||
HOSTCC_VERSION := $(shell V=$$($(HOSTCC_NOCCACHE) --version | \
|
||||
sed -n -r 's/^.* ([0-9]*)\.([0-9]*)\.([0-9]*)[ ]*.*/\1 \2/p'); \
|
||||
@@ -407,27 +407,28 @@ ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
# Hide troublesome environment variables from sub processes
|
||||
#
|
||||
################################################################################
|
||||
unexport CROSS_COMPILE
|
||||
unexport AR
|
||||
unexport ARCH
|
||||
unexport CC
|
||||
unexport LD
|
||||
unexport AR
|
||||
unexport CXX
|
||||
unexport CPP
|
||||
unexport RANLIB
|
||||
unexport CFLAGS
|
||||
unexport CXXFLAGS
|
||||
unexport GREP_OPTIONS
|
||||
unexport TAR_OPTIONS
|
||||
unexport CONFIG_SITE
|
||||
unexport QMAKESPEC
|
||||
unexport TERMINFO
|
||||
unexport CPP
|
||||
unexport CROSS_COMPILE
|
||||
unexport CXX
|
||||
unexport CXXFLAGS
|
||||
unexport DEVICE_TREE
|
||||
unexport GCC_COLORS
|
||||
unexport GREP_OPTIONS
|
||||
unexport LD
|
||||
unexport MACHINE
|
||||
unexport O
|
||||
unexport GCC_COLORS
|
||||
unexport PLATFORM
|
||||
unexport OS
|
||||
unexport DEVICE_TREE
|
||||
unexport PLATFORM
|
||||
unexport QMAKESPEC
|
||||
unexport RANLIB
|
||||
unexport TAR_OPTIONS
|
||||
unexport TERMINFO
|
||||
unexport TOPDIR
|
||||
|
||||
GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)
|
||||
|
||||
@@ -780,19 +781,12 @@ endif
|
||||
|
||||
# For a merged /usr, ensure that /lib, /bin and /sbin and their /usr
|
||||
# counterparts are appropriately setup as symlinks ones to the others.
|
||||
ifeq ($(BR2_ROOTFS_MERGED_USR),y)
|
||||
|
||||
$(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \
|
||||
@$(call MESSAGE,"Sanity check in overlay $(d)")$(sep) \
|
||||
$(Q)not_merged_dirs="$$(support/scripts/check-merged-usr.sh $(d))"; \
|
||||
test -n "$$not_merged_dirs" && { \
|
||||
echo "ERROR: The overlay in $(d) is not" \
|
||||
"using a merged /usr for the following directories:" \
|
||||
$$not_merged_dirs; \
|
||||
exit 1; \
|
||||
} || true$(sep))
|
||||
|
||||
endif # merged /usr
|
||||
@$(call MESSAGE,"Sanity check in overlays $(call qstrip,$(BR2_ROOTFS_OVERLAY))")
|
||||
support/scripts/check-merged \
|
||||
-t overlay \
|
||||
$(if $(BR2_ROOTFS_MERGED_USR),-u) \
|
||||
$(if $(BR2_ROOTFS_MERGED_BIN),-b) \
|
||||
$(call qstrip,$(BR2_ROOTFS_OVERLAY))
|
||||
|
||||
$(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \
|
||||
@$(call MESSAGE,"Copying overlay $(d)")$(sep) \
|
||||
@@ -1218,17 +1212,17 @@ help:
|
||||
# $(2): br2-external name, empty for bundled
|
||||
define list-defconfigs
|
||||
@first=true; \
|
||||
for defconfig in $(1)/configs/*_defconfig; do \
|
||||
for defconfig in $$([ -d $(1)/configs ] && find $(1)/configs -name '*_defconfig' |sort); do \
|
||||
[ -f "$${defconfig}" ] || continue; \
|
||||
if $${first}; then \
|
||||
if [ "$(2)" ]; then \
|
||||
printf 'External configs in "$(call qstrip,$(2))":\n'; \
|
||||
printf 'External configs in "%s":\n' "$(call qstrip,$(2))"; \
|
||||
else \
|
||||
printf "Built-in configs:\n"; \
|
||||
fi; \
|
||||
first=false; \
|
||||
fi; \
|
||||
defconfig="$${defconfig##*/}"; \
|
||||
defconfig="$${defconfig#$(1)/configs/}"; \
|
||||
printf " %-35s - Build for %s\n" "$${defconfig}" "$${defconfig%_defconfig}"; \
|
||||
done; \
|
||||
$${first} || printf "\n"
|
||||
@@ -1249,10 +1243,12 @@ release: OUT = buildroot-$(BR2_VERSION)
|
||||
# documentation to the git output
|
||||
release:
|
||||
git archive --format=tar --prefix=$(OUT)/ HEAD > $(OUT).tar
|
||||
$(MAKE) O=$(OUT) manual-html manual-text manual-pdf
|
||||
SOURCE_DATE_EPOCH=$$(git log -1 --format=%at 2> /dev/null) \
|
||||
$(MAKE) O=$(OUT) manual-html manual-text manual-pdf
|
||||
$(MAKE) O=$(OUT) distclean
|
||||
tar rf $(OUT).tar $(OUT)
|
||||
gzip -9 -c < $(OUT).tar > $(OUT).tar.gz
|
||||
tar rf $(OUT).tar --owner=0 --group=0 \
|
||||
--mtime="$$(git log -1 --pretty=format:%ci)" $(OUT)
|
||||
gzip -9 -n -c < $(OUT).tar > $(OUT).tar.gz
|
||||
xz -9 -c < $(OUT).tar > $(OUT).tar.xz
|
||||
rm -rf $(OUT) $(OUT).tar
|
||||
|
||||
|
||||
@@ -878,6 +878,9 @@ INFO: vfat(boot.vfat): cmd: "rm -f "/home/shredos/Downloads/shredos/mcopybug/shr
|
||||
make[1]: [Makefile:823: target-post-image] Error 1
|
||||
make: [Makefile:84: _all] Error 2
|
||||
|
||||
- **Konsole randomly closes in the middle of a build** If you are building on a KDE based distro like KDE Neon and the konsole gets killed by the kernels oom (out of memory) killer. The first sign that you have a problem is a pop up message appearing that says the oom killer has killed various processes. Once this notification appears you can't get rid of it. The following may help to resolve why the oom killer is activated:
|
||||
1. Check your /swapfile size, for some reason a default install of KDE Neon and very likely ubuntu only create a /swapfile that's 512Mbytes. This is nowhere near large enough and you will get the oom killer randomly killing processes including the terminal that your build process is running in. If you have the disc space make the swap file the same size as your system memory. There is some debate over what should be the best size but when your system RAM is 16G and your swapfile is 0.5G that is asking for random processes to get killed especially if you are trying to build ShredOS.
|
||||
1. Again, if building on the KDE platform with such a small swap file and 1Tbyte in your home directory the baloo file indexor will cause memory issues. So while building ShredOS, disable the file indexer. Your build will no longer crash and will be faster.
|
||||
|
||||
### Commands to configure buildroot, you will only need to use these if you are making changes to ShredOS
|
||||
|
||||
|
||||
@@ -80,6 +80,16 @@ config BR2_i386
|
||||
Intel i386 architecture compatible microprocessor
|
||||
http://en.wikipedia.org/wiki/I386
|
||||
|
||||
config BR2_loongarch64
|
||||
bool "LoongArch64"
|
||||
select BR2_USE_MMU
|
||||
select BR2_ARCH_IS_64
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
|
||||
help
|
||||
LoongArch64 is 64-bit architecture developed by Loongson.
|
||||
http://www.loongson.cn/
|
||||
https://en.wikipedia.org/wiki/Loongson
|
||||
|
||||
config BR2_m68k
|
||||
bool "m68k"
|
||||
# MMU support is set by the subarchitecture file, arch/Config.in.m68k
|
||||
@@ -143,14 +153,6 @@ config BR2_mips64el
|
||||
http://www.mips.com/
|
||||
http://en.wikipedia.org/wiki/MIPS_Technologies
|
||||
|
||||
config BR2_nios2
|
||||
bool "Nios II"
|
||||
select BR2_USE_MMU
|
||||
help
|
||||
Nios II is a soft core processor from Altera Corporation.
|
||||
http://www.altera.com/
|
||||
http://en.wikipedia.org/wiki/Nios_II
|
||||
|
||||
config BR2_or1k
|
||||
bool "OpenRISC"
|
||||
select BR2_USE_MMU
|
||||
@@ -319,6 +321,10 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_15
|
||||
bool
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_14
|
||||
|
||||
config BR2_ARCH_NEEDS_GCC_AT_LEAST_16
|
||||
bool
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_15
|
||||
|
||||
# The following string values are defined by the individual
|
||||
# Config.in.$ARCH files
|
||||
config BR2_ARCH
|
||||
@@ -357,6 +363,12 @@ config BR2_GCC_TARGET_FPU
|
||||
config BR2_GCC_TARGET_FLOAT_ABI
|
||||
string
|
||||
|
||||
# The value of this option will be passed as --with-simd=<value> when
|
||||
# building gcc (internal backend) or -simd=<value> in the toolchain
|
||||
# wrapper (external toolchain)
|
||||
config BR2_GCC_TARGET_SIMD
|
||||
string
|
||||
|
||||
# The value of this option will be passed as --with-mode=<value> when
|
||||
# building gcc (internal backend) or -m<value> in the toolchain
|
||||
# wrapper (external toolchain)
|
||||
@@ -381,6 +393,10 @@ if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
|
||||
source "arch/Config.in.arm"
|
||||
endif
|
||||
|
||||
if BR2_loongarch64
|
||||
source "arch/Config.in.loongarch"
|
||||
endif
|
||||
|
||||
if BR2_m68k
|
||||
source "arch/Config.in.m68k"
|
||||
endif
|
||||
@@ -393,10 +409,6 @@ 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
|
||||
|
||||
@@ -95,6 +95,14 @@ config BR2_ARM_CPU_ARMV8A
|
||||
bool
|
||||
select BR2_USE_MMU
|
||||
|
||||
# Armv9.0-A base specification is a super-set of Armv8.5-A. It is
|
||||
# fully compatible with Armv8. This symbol is defined to allow checks
|
||||
# for doing Armv9 optimization. Armv8 is also selected for
|
||||
# compatibility.
|
||||
config BR2_ARM_CPU_ARMV9A
|
||||
bool
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
default BR2_cortex_a53 if BR2_ARCH_IS_64
|
||||
@@ -466,6 +474,14 @@ config BR2_cortex_a76_a55
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
|
||||
config BR2_cortex_a78
|
||||
bool "cortex-A78"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
|
||||
config BR2_neoverse_n1
|
||||
bool "neoverse-N1 (aka ares)"
|
||||
select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
|
||||
@@ -488,6 +504,28 @@ config BR2_saphira
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV8A
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
|
||||
|
||||
comment "armv9.0a cores"
|
||||
config BR2_cortex_a710
|
||||
bool "Cortex-A710 (aka matterhorn)"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV9A
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
|
||||
config BR2_neoverse_n2
|
||||
bool "neoverse-N2 (aka perseus)"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV9A
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
|
||||
|
||||
comment "armv9.2a cores"
|
||||
config BR2_cortex_a720
|
||||
bool "Cortex-A720 (aka hunter)"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARM_CPU_HAS_FP_ARMV8
|
||||
select BR2_ARM_CPU_ARMV9A
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_14
|
||||
endchoice
|
||||
|
||||
config BR2_ARM_ENABLE_NEON
|
||||
@@ -747,7 +785,7 @@ config BR2_ARM_INSTRUCTIONS_THUMB
|
||||
# Thumb-1 and VFP are not compatible
|
||||
depends on BR2_ARM_SOFT_FLOAT
|
||||
help
|
||||
This option instructions the compiler to generate Thumb
|
||||
This option instructs the compiler to generate Thumb
|
||||
instructions, which allows to mix 16 bits instructions and
|
||||
32 bits instructions. This generally provides a much smaller
|
||||
compiled binary size.
|
||||
@@ -760,7 +798,7 @@ config BR2_ARM_INSTRUCTIONS_THUMB2
|
||||
bool "Thumb2"
|
||||
depends on BR2_ARM_CPU_HAS_THUMB2
|
||||
help
|
||||
This option instructions the compiler to generate Thumb2
|
||||
This option instructs the compiler to generate Thumb2
|
||||
instructions, which allows to mix 16 bits instructions and
|
||||
32 bits instructions. This generally provides a much smaller
|
||||
compiled binary size.
|
||||
@@ -876,10 +914,16 @@ config BR2_GCC_TARGET_CPU
|
||||
default "cortex-a75.cortex-a55" if BR2_cortex_a75_a55
|
||||
default "cortex-a76" if BR2_cortex_a76
|
||||
default "cortex-a76.cortex-a55" if BR2_cortex_a76_a55
|
||||
default "cortex-a78" if BR2_cortex_a78
|
||||
default "neoverse-n1" if BR2_neoverse_n1
|
||||
default "tsv110" if BR2_tsv110
|
||||
# armv8.4a
|
||||
default "saphira" if BR2_saphira
|
||||
# armv9.0a
|
||||
default "cortex-a710" if BR2_cortex_a710
|
||||
default "neoverse-n2" if BR2_neoverse_n2
|
||||
# armv9.2a
|
||||
default "cortex-a720" if BR2_cortex_a720
|
||||
|
||||
config BR2_GCC_TARGET_ABI
|
||||
default "aapcs-linux" if BR2_arm || BR2_armeb
|
||||
|
||||
138
arch/Config.in.loongarch
Normal file
138
arch/Config.in.loongarch
Normal file
@@ -0,0 +1,138 @@
|
||||
# LoongArch CPU
|
||||
|
||||
choice
|
||||
prompt "Target Architecture Variant"
|
||||
default BR2_loongarch64_generic if BR2_ARCH_IS_64
|
||||
|
||||
config BR2_loongarch64_generic
|
||||
bool "Generic LoongArch 64-bit"
|
||||
depends on BR2_ARCH_IS_64
|
||||
help
|
||||
Generic LoongArch 64-bit processor.
|
||||
|
||||
config BR2_loongarch64_v1_0
|
||||
bool "LoongArch64 ISA version 1.0"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_14
|
||||
help
|
||||
LoongArch64 ISA version 1.0 processor.
|
||||
|
||||
config BR2_loongarch64_v1_1
|
||||
bool "LoongArch64 ISA version 1.1"
|
||||
depends on BR2_ARCH_IS_64
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_14
|
||||
help
|
||||
LoongArch64 ISA version 1.1 processor.
|
||||
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "FPU Type"
|
||||
default BR2_LOONGARCH_FPU_64
|
||||
|
||||
config BR2_LOONGARCH_FPU_64
|
||||
bool "64"
|
||||
help
|
||||
Allow the use of hardware floating-point instructions for
|
||||
32-bit and 64-bit operations.
|
||||
|
||||
config BR2_LOONGARCH_FPU_32
|
||||
bool "32"
|
||||
# Only supported by lp64s and lp64f ABIs which are marked as broken
|
||||
depends on BR2_BROKEN
|
||||
help
|
||||
Allow the use of hardware floating-point instructions for
|
||||
32-bit operations only.
|
||||
|
||||
config BR2_LOONGARCH_FPU_NONE
|
||||
bool "none"
|
||||
# Only supported by lp64s ABI which is marked as broken
|
||||
depends on BR2_BROKEN
|
||||
help
|
||||
Prevent the use of hardware floating-point instructions.
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "SIMD Type"
|
||||
default BR2_LOONGARCH_SIMD_NONE
|
||||
|
||||
config BR2_LOONGARCH_SIMD_NONE
|
||||
bool "none"
|
||||
help
|
||||
Prevent the use of hardware SIMD instructions.
|
||||
|
||||
config BR2_LOONGARCH_SIMD_LSX
|
||||
bool "LSX"
|
||||
depends on BR2_LOONGARCH_FPU_64
|
||||
help
|
||||
Enable generating instructions from the 128-bit LoongArch SIMD
|
||||
Extension (LSX).
|
||||
|
||||
config BR2_LOONGARCH_SIMD_LASX
|
||||
bool "LASX"
|
||||
depends on BR2_LOONGARCH_FPU_64
|
||||
help
|
||||
Enable generating instructions from the 256-bit LoongArch
|
||||
Advanced SIMD Extension (LASX) and the 128-bit LoongArch
|
||||
SIMD Extension (LSX).
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "Target ABI"
|
||||
default BR2_LOONGARCH_ABI_LP64D if BR2_ARCH_IS_64 && BR2_LOONGARCH_FPU_64
|
||||
default BR2_LOONGARCH_ABI_LP64F if BR2_ARCH_IS_64 && BR2_LOONGARCH_FPU_32
|
||||
default BR2_LOONGARCH_ABI_LP64S if BR2_ARCH_IS_64 && BR2_LOONGARCH_SIMD_NONE
|
||||
|
||||
config BR2_LOONGARCH_ABI_LP64D
|
||||
bool "lp64d"
|
||||
depends on BR2_ARCH_IS_64
|
||||
depends on BR2_LOONGARCH_FPU_64
|
||||
|
||||
config BR2_LOONGARCH_ABI_LP64F
|
||||
bool "lp64f"
|
||||
depends on BR2_ARCH_IS_64
|
||||
# Failed to build host GCC initial, pending investigation
|
||||
depends on BR2_BROKEN
|
||||
depends on BR2_LOONGARCH_FPU_64 || BR2_LOONGARCH_FPU_32
|
||||
|
||||
config BR2_LOONGARCH_ABI_LP64S
|
||||
bool "lp64s"
|
||||
depends on BR2_ARCH_IS_64
|
||||
# GCC can't find libraries, pending investigation
|
||||
depends on BR2_BROKEN
|
||||
endchoice
|
||||
|
||||
config BR2_ARCH
|
||||
default "loongarch64" if BR2_ARCH_IS_64
|
||||
|
||||
config BR2_NORMALIZED_ARCH
|
||||
default "loongarch"
|
||||
|
||||
config BR2_ENDIAN
|
||||
default "LITTLE"
|
||||
|
||||
config BR2_GCC_TARGET_ARCH
|
||||
default "loongarch64" if BR2_loongarch64_generic
|
||||
default "la64v1.0" if BR2_loongarch64_v1_0
|
||||
default "la64v1.1" if BR2_loongarch64_v1_1
|
||||
|
||||
config BR2_GCC_TARGET_FPU
|
||||
default "64" if BR2_LOONGARCH_FPU_64
|
||||
default "32" if BR2_LOONGARCH_FPU_32
|
||||
default "none" if BR2_LOONGARCH_FPU_NONE
|
||||
|
||||
config BR2_GCC_TARGET_SIMD
|
||||
default "lasx" if BR2_LOONGARCH_SIMD_LASX
|
||||
default "lsx" if BR2_LOONGARCH_SIMD_LSX
|
||||
default "none" if BR2_LOONGARCH_FPU_NONE
|
||||
|
||||
config BR2_GCC_TARGET_ABI
|
||||
default "lp64d" if BR2_LOONGARCH_ABI_LP64D
|
||||
default "lp64f" if BR2_LOONGARCH_ABI_LP64F
|
||||
default "lp64s" if BR2_LOONGARCH_ABI_LP64S
|
||||
|
||||
config BR2_READELF_ARCH_NAME
|
||||
default "LoongArch"
|
||||
|
||||
# vim: ft=kconfig
|
||||
# -*- mode:kconfig; -*-
|
||||
@@ -16,6 +16,7 @@ GCC_TARGET_FP32_MODE := $(call qstrip,$(BR2_GCC_TARGET_FP32_MODE))
|
||||
GCC_TARGET_CPU := $(call qstrip,$(BR2_GCC_TARGET_CPU))
|
||||
GCC_TARGET_FPU := $(call qstrip,$(BR2_GCC_TARGET_FPU))
|
||||
GCC_TARGET_FLOAT_ABI := $(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI))
|
||||
GCC_TARGET_SIMD := $(call qstrip,$(BR2_GCC_TARGET_SIMD))
|
||||
GCC_TARGET_MODE := $(call qstrip,$(BR2_GCC_TARGET_MODE))
|
||||
|
||||
# Explicitly set LD's "max-page-size" instead of relying on some defaults
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 524858852f5869a9ef17de8b1e6e7faf05bcb2c462bc96b3c24dbf82ede373cf linux-6.10.12.tar.xz
|
||||
sha256 62148e7e17f54c4a5ab5e75ad4882682c54bee818948be61a5963234fc0849fc linux-6.11.11.tar.xz
|
||||
|
||||
340
board/acmesystems/acqua-a5/dts/microchip/at91-sama5d3_acqua.dts
Normal file
340
board/acmesystems/acqua-a5/dts/microchip/at91-sama5d3_acqua.dts
Normal file
@@ -0,0 +1,340 @@
|
||||
/*
|
||||
* acme-acqua.dts - Device Tree file for Acqua A5 Board
|
||||
*
|
||||
* Copyright (C) 2014 Atmel,
|
||||
* 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
|
||||
*
|
||||
* 2022 Sergio Tanzilli <tanzilli@acmesystems.it>
|
||||
*
|
||||
* Licensed under GPLv2 or later.
|
||||
*/
|
||||
/dts-v1/;
|
||||
#include "sama5d31.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Acme Systems Acqua SOM";
|
||||
compatible = "acme,acqua", "atmel,sama5d3", "atmel,sama5";
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
bootargs = "mem=256M console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait net.ifnames=0";
|
||||
};
|
||||
|
||||
memory {
|
||||
reg = <0x20000000 0x10000000>;
|
||||
};
|
||||
|
||||
clocks {
|
||||
slow_xtal {
|
||||
clock-frequency = <32768>;
|
||||
};
|
||||
|
||||
main_xtal {
|
||||
clock-frequency = <12000000>;
|
||||
};
|
||||
};
|
||||
|
||||
ahb {
|
||||
apb {
|
||||
hlcdc: hlcdc@f0030000 {
|
||||
status = "disabled";
|
||||
hlcdc-display-controller {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888_alt>;
|
||||
port@0 {
|
||||
hlcdc_panel_output: endpoint@0 {
|
||||
remote-endpoint = <&panel_input>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* MicroSD mounted on the SOM */
|
||||
|
||||
mmc0: mmc@f0000000 {
|
||||
pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
|
||||
status = "okay";
|
||||
slot@0 {
|
||||
reg = <0>;
|
||||
bus-width = <4>;
|
||||
};
|
||||
};
|
||||
|
||||
/* Optional MicroSD to mount on the carrier board */
|
||||
|
||||
mmc1: mmc@f8000000 {
|
||||
pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
|
||||
status = "disabled";
|
||||
slot@0 {
|
||||
reg = <0>;
|
||||
bus-width = <4>;
|
||||
cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
spi0: spi@f0004000 {
|
||||
cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
can0: can@f000c000 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
tcb0: timer@f0010000 {
|
||||
timer0: timer@0 {
|
||||
compatible = "atmel,tcb-timer";
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
timer1: timer@1 {
|
||||
compatible = "atmel,tcb-timer";
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c0: i2c@f0014000 {
|
||||
pinctrl-0 = <&pinctrl_i2c0_pu>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c1: i2c@f0018000 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
macb1: ethernet@f802c000 {
|
||||
compatible = "atmel,sama5d3-macb", "cdns,at91sam9260-macb", "cdns,macb";
|
||||
|
||||
status = "okay";
|
||||
phy-mode = "rmii";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
nvmem-cells = <ð0_addr>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
|
||||
phy0: ethernet-phy@1 {
|
||||
interrupt-parent = <&pioE>;
|
||||
interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
/*ethernet-phy@1 {
|
||||
reg = <0x1>;
|
||||
};*/
|
||||
};
|
||||
|
||||
/* Bit banging internal I2C to manage the AT24MAC402 chip */
|
||||
|
||||
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 */
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
/* EEPROM contains the eth0 MAC address */
|
||||
|
||||
eeprom@58 {
|
||||
compatible = "atmel,24mac402";
|
||||
pagesize = <256>;
|
||||
read-only;
|
||||
reg = <0x58>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
nvmem-layout {
|
||||
compatible = "fixed-layout";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
eth0_addr: eth-mac-addr@9A {
|
||||
reg = <0x0 0x06>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
pwm0: pwm@f002c000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pwm0_pwmh0_0 &pinctrl_pwm0_pwmh1_0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
usart0: serial@f001c000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
usart1: serial@f0020000 {
|
||||
pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uart0: serial@f0024000 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
spi1: spi@f8008000 {
|
||||
cs-gpios = <&pioC 25 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
adc0: adc@f8018000 {
|
||||
atmel,adc-vref = <3300>;
|
||||
atmel,adc-channels-used = <0xfe>;
|
||||
pinctrl-0 = <
|
||||
&pinctrl_adc0_adtrg
|
||||
&pinctrl_adc0_ad1
|
||||
&pinctrl_adc0_ad2
|
||||
&pinctrl_adc0_ad3
|
||||
&pinctrl_adc0_ad4
|
||||
&pinctrl_adc0_ad5
|
||||
&pinctrl_adc0_ad6
|
||||
&pinctrl_adc0_ad7
|
||||
>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c2: i2c@f801c000 {
|
||||
dmas = <0>, <0>; /* Do not use DMA for i2c2 */
|
||||
pinctrl-0 = <&pinctrl_i2c2_pu>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
dbgu: serial@ffffee00 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
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 =
|
||||
<AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
|
||||
<AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
|
||||
};
|
||||
|
||||
pinctrl_i2c2_pu: i2c2_pu {
|
||||
atmel,pins =
|
||||
<AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>,
|
||||
<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>;
|
||||
};
|
||||
|
||||
pinctrl_mmc0_cd: mmc0_cd {
|
||||
atmel,pins =
|
||||
<AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
|
||||
};
|
||||
|
||||
pinctrl_mmc1_cd: mmc1_cd {
|
||||
atmel,pins =
|
||||
<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
|
||||
};
|
||||
|
||||
pinctrl_usba_vbus: usba_vbus {
|
||||
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";
|
||||
};
|
||||
|
||||
usb1: ohci@600000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
usb2: ehci@700000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
panel: panel {
|
||||
/* compatible = "acme,43inch", "simple-panel"; */
|
||||
compatible = "acme,50inch", "simple-panel";
|
||||
/* compatible = "acme,70inch", "simple-panel"; */
|
||||
|
||||
status = "disable";
|
||||
|
||||
port@0 {
|
||||
panel_input: endpoint@0 {
|
||||
remote-endpoint = <&hlcdc_panel_output>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_gpio_leds>;
|
||||
|
||||
led0 {
|
||||
label = "led0";
|
||||
gpios = <&pioE 3 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led1 {
|
||||
label = "led1";
|
||||
gpios = <&pioE 4 GPIO_ACTIVE_LOW>;
|
||||
default-state = "off";
|
||||
};
|
||||
|
||||
led2 {
|
||||
label = "led2";
|
||||
gpios = <&pioE 5 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
led3 {
|
||||
label = "led3";
|
||||
gpios = <&pioE 6 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "mmc0";
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b66a5b863b0f8669448b74ca83bd641a856f164b29956e539bbcb5fdeeab9cc6 linux-6.6.30.tar.xz
|
||||
sha256 6b19a3ae99423de2416964d67251d745910277af258b4c4c63e88fd87dbf0e27 linux-6.12.41.tar.xz
|
||||
|
||||
1
board/andes/ae350/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/andes/ae350/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/andes/ae350/patches/linux/linux.hash
Normal file
2
board/andes/ae350/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c71af3d2c86c0a0deca4f54b51d1c35217082b030052cc3513dc42e852652733 linux-v6.0.y-andes.tar.gz
|
||||
2
board/andes/ae350/patches/opensbi/opensbi.hash
Normal file
2
board/andes/ae350/patches/opensbi/opensbi.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 d11702103f177a2914e94eec57ce5ed820296d874f6b6525c4482e55d71a3667 opensbi-1.6.tar.gz
|
||||
2
board/andes/ae350/patches/uboot/uboot.hash
Normal file
2
board/andes/ae350/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7 u-boot-2025.07.tar.bz2
|
||||
@@ -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"/Image "$TARGET_DIR"/boot
|
||||
cp "$BINARIES_DIR"/ae350_ax45mp.dtb "$TARGET_DIR"/boot
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b0bb92d982f88380e5b2059349c3a862e0afa712e0646eb0e082b9c2c5cb5176 linux-6.8.10.tar.xz
|
||||
# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 3507dd105b0a0e1101bd43d294472fccf853429a259a5fa7c67467bba318f8e9 linux-6.15.7.tar.xz
|
||||
|
||||
@@ -1,16 +1,39 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
This is the support for the ARM Foundation v8 machine emulated by the
|
||||
ARM software simulator of the AArch64 architecture.
|
||||
|
||||
First, one has to download the AArch64 software simulator from:
|
||||
Building
|
||||
========
|
||||
|
||||
https://developer.arm.com/-/media/Files/downloads/ecosystem-models/FM_11_25/Foundation_Platform_11.25_15_Linux64.tgz
|
||||
$ make arm_foundationv8_defconfig
|
||||
$ make
|
||||
|
||||
Then, use the arm_foundationv8_defconfig configuration to build your
|
||||
Buildroot system.
|
||||
Generated files under output/images:
|
||||
|
||||
* linux-system.axf: An image comprising the boot-wrapper-aarch64 minimal
|
||||
firmware and bootloader, a Devicetree and the Linux kernel.
|
||||
* rootfs.ext2: The OS root filesystem.
|
||||
|
||||
Running on the simulator
|
||||
========================
|
||||
|
||||
Download the AArch64 software simulator from one of the following sources,
|
||||
corresponding to your host computer:
|
||||
|
||||
- https://developer.arm.com/-/cdn-downloads/permalink/FVPs-Architecture/FM-11.29/Foundation_Platform_11.29_27_Linux64.tgz
|
||||
- https://developer.arm.com/-/cdn-downloads/permalink/FVPs-Architecture/FM-11.29/Foundation_Platform_11.29_27_Linux64_armv8l.tgz
|
||||
|
||||
The model will be located under one of the corresponding folders:
|
||||
|
||||
- Foundation_Platformpkg/models/Linux64_GCC-9.3
|
||||
- Foundation_Platformpkg/models/Linux64_armv8l_GCC-9.3
|
||||
|
||||
Finally, boot your system with:
|
||||
|
||||
${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/models/Linux64_GCC-9.3/Foundation_Platform \
|
||||
Foundation_Platform \
|
||||
--arm-v8.0 \
|
||||
--image output/images/linux-system.axf \
|
||||
--block-device output/images/rootfs.ext2 \
|
||||
--network=nat \
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
@@ -30,11 +30,11 @@ image flash.img {
|
||||
partition fitimage {
|
||||
image = "image.itb"
|
||||
offset = 512K
|
||||
size = 4352K
|
||||
size = 7000K
|
||||
}
|
||||
|
||||
partition spare {
|
||||
offset = 4864K
|
||||
size = 27904K
|
||||
offset = 7512K
|
||||
size = 25256K
|
||||
}
|
||||
}
|
||||
|
||||
2
board/aspeed/ast2500-evb/patches/linux/linux.hash
Normal file
2
board/aspeed/ast2500-evb/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 5be3daa1f9427b1bdb34c4894d9c1adfac38cff674376fe0611a3065729a1a81 linux-6.16.7.tar.xz
|
||||
2
board/aspeed/ast2500-evb/patches/uboot/uboot.hash
Normal file
2
board/aspeed/ast2500-evb/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7 u-boot-2025.07.tar.bz2
|
||||
2
board/aspeed/ast2600-evb/patches/linux/linux.hash
Normal file
2
board/aspeed/ast2600-evb/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 5be3daa1f9427b1bdb34c4894d9c1adfac38cff674376fe0611a3065729a1a81 linux-6.16.7.tar.xz
|
||||
2
board/aspeed/ast2600-evb/patches/uboot/uboot.hash
Normal file
2
board/aspeed/ast2600-evb/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 16da36d1832f058cf1a6673b6a2eedeef1260576c15e76c4998e30d0fb13d339 uboot-66672e5af36fe294df56f8e7942069e3909f3790-git4.tar.gz
|
||||
@@ -3,8 +3,8 @@
|
||||
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' \
|
||||
BOARD_DT=$(sed -nr \
|
||||
-e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="(aspeed/)?([a-z0-9\-]*).*"$|\2|p' \
|
||||
${BR2_CONFIG})
|
||||
|
||||
sed -e "s/%BOARD_DTB%/${BOARD_DT}.dtb/" \
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f1ae7325c6c146e0f852866a3bfd3f90ae1b5f46e414bc99a38384ed677e3721 linux-6.6.32-ti-arm32-r7.tar.gz
|
||||
sha256 1db327d0743e97ec725fefe05065a6fb779abe3063845fc3b551a4a716247c0a linux-6.12.34-ti-arm32-r12.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
sha256 b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a u-boot-2025.10.tar.bz2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
|
||||
cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt
|
||||
cp "${BOARD_DIR}/uEnv.txt" "${BINARIES_DIR}/uEnv.txt"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
|
||||
install -m 0644 -D "${BOARD_DIR}/extlinux.conf" "${BINARIES_DIR}/extlinux/extlinux.conf"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c52bc1ffc396c11bce335c9ee5cd55fe4213cbc1fb4026ff62bb90c864c61f62 linux-5.10.217.tar.xz
|
||||
sha256 c435bd74d1c21fc5a950781a50d78bae2b93944144694843359948ad3afc72a5 linux-6.12.50.tar.xz
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 0b161f8e89a411fe54059cf1d0ba61354ee1e8a2 Mon Sep 17 00:00:00 2001
|
||||
From: Robert Nelson <robertcnelson@gmail.com>
|
||||
Date: Wed, 3 Aug 2022 11:28:10 -0500
|
||||
Subject: [PATCH] am57xx/board.c: assume on failure its a BBONE-AI
|
||||
|
||||
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
|
||||
Upstream: https://github.com/beagleboard/u-boot/commit/0b161f8e89a411fe54059cf1d0ba61354ee1e8a2
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
board/ti/am57xx/board.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
|
||||
index cfc825e52a3..f369693f382 100644
|
||||
--- a/board/ti/am57xx/board.c
|
||||
+++ b/board/ti/am57xx/board.c
|
||||
@@ -529,8 +529,10 @@ void do_board_detect(void)
|
||||
|
||||
rc = ti_i2c_eeprom_am_get(CONFIG_EEPROM_BUS_ADDRESS,
|
||||
CONFIG_EEPROM_CHIP_ADDRESS);
|
||||
- if (rc)
|
||||
+ if (rc) {
|
||||
printf("ti_i2c_eeprom_init failed %d\n", rc);
|
||||
+ ti_i2c_eeprom_am_set("BBONE-AI", "A");
|
||||
+ };
|
||||
|
||||
#ifdef CONFIG_SUPPORT_EMMC_BOOT
|
||||
rc = board_bootmode_has_emmc();
|
||||
--
|
||||
2.39.5
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 0d438b1bb5cceb57a18ea2de4a0d51f7be5b05b98717df05938636e0aadfe11a u-boot-2021.04.tar.bz2
|
||||
sha256 439d3bef296effd54130be6a731c5b118be7fddd7fcc663ccbc5fb18294d8718 u-boot-2025.04.tar.bz2
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
cp board/beagleboard/beagleboneai/uEnv.txt $BINARIES_DIR/uEnv.txt
|
||||
cp board/beagleboard/beagleboneai/uEnv.txt "$BINARIES_DIR/uEnv.txt"
|
||||
|
||||
@@ -108,12 +108,12 @@ https://docs.beagleboard.org/latest/boards/beaglev/fire/demos-and-tutorials/gate
|
||||
Unzip the downloaded artifacts.zip file.
|
||||
|
||||
Go to the custom FPGA design directory:
|
||||
'cd artifacts/bitstreams/my_custom_fpga_design'
|
||||
'cd artifacts/bitstreams/my_custom_fpga_design/LinuxProgramming/'
|
||||
|
||||
On your Linux host development computer, copy the bitstream to BeagleV-Fire
|
||||
board, replacing </path/to/your/> with the path to your BeagleV-Fire root file
|
||||
system.
|
||||
'cp -r ./LinuxProgramming /path/to/your/buildroot/board/beagleboard/beaglev_fire/rootfs-overlay/etc/'
|
||||
'cp ./* /path/to/your/buildroot/board/beagleboard/beaglev_fire/rootfs-overlay/lib/firmware/'
|
||||
|
||||
To apply these changes to your image, make sure to re-build it with:
|
||||
`make`
|
||||
@@ -121,14 +121,7 @@ https://docs.beagleboard.org/latest/boards/beaglev/fire/demos-and-tutorials/gate
|
||||
Then, re-flash your image - to ensure you have the necessary firmware files - by
|
||||
following the above section "Flashing the image to your eMMC".
|
||||
|
||||
On BeagleV-Fire,
|
||||
1. Make your update gateware script executable
|
||||
'chmod +x /usr/share/microchip/update-gateware.sh'
|
||||
2. Create a firmware directory
|
||||
'mkdir /lib/firmware'
|
||||
3. Change to the directory of your gateware script
|
||||
`cd /usr/share/microchip/`
|
||||
3. initiate the reprogramming of the FPGA with your gateware bitstream:
|
||||
'./update-gateware.sh /etc/LinuxProgramming/'
|
||||
On BeagleV-Fire initiate the reprogramming of the FPGA with your gateware bitstream:
|
||||
`/usr/share/microchip/update-gateware.sh`
|
||||
|
||||
Wait for a couple of minutes for the BeagleV-Fire to reprogram itself.
|
||||
|
||||
@@ -12,4 +12,5 @@ bootm loados ${scriptaddr};
|
||||
bootm ramdisk;
|
||||
bootm prep;
|
||||
fdt set /soc/ethernet@20110000 mac-address ${beaglevfire_mac_addr0};
|
||||
run design_overlays;
|
||||
bootm go;
|
||||
|
||||
74
board/beagleboard/beaglev_fire/rootfs-overlay/usr/share/microchip/update-gateware.sh
Normal file → Executable file
74
board/beagleboard/beaglev_fire/rootfs-overlay/usr/share/microchip/update-gateware.sh
Normal file → Executable file
@@ -1,32 +1,66 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -e "$1"/mpfs_bitstream.spi ]; then
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "No gateware location provided. Checking default location."
|
||||
if [ ! -e /lib/firmware/mpfs_bitstream.spi ]; then
|
||||
echo "No gateware file found."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "Gateware location provided: $1"
|
||||
if [ ! -e "$1"/mpfs_bitstream.spi ]; then
|
||||
echo "No gateware file found."
|
||||
exit 1
|
||||
else
|
||||
if [ ! -d /lib/firmware ]; then
|
||||
mkdir /lib/firmware
|
||||
fi
|
||||
cp "$1"/mpfs_dtbo.spi /lib/firmware/mpfs_dtbo.spi
|
||||
cp "$1"/mpfs_bitstream.spi /lib/firmware/mpfs_bitstream.spi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -d /lib/firmware ]
|
||||
then
|
||||
mkdir /lib/firmware
|
||||
fi
|
||||
|
||||
cp "$1"/mpfs_dtbo.spi /lib/firmware/mpfs_dtbo.spi
|
||||
cp "$1"/mpfs_bitstream.spi /lib/firmware/mpfs_bitstream.spi
|
||||
|
||||
mount -t debugfs none /sys/kernel/debug
|
||||
|
||||
# Trash existing device tree overlay in case the rest of the process fails:
|
||||
flash_erase /dev/mtd0 0 1024
|
||||
flash_erase /dev/mtd0 0 16
|
||||
|
||||
# # Write device tree overlay
|
||||
dd if=/lib/firmware/mpfs_dtbo.spi of=/dev/mtd0 seek=1024
|
||||
# Initiate FPGA update for dtbo
|
||||
echo 1 > /sys/class/firmware/mpfs-auto-update/loading
|
||||
|
||||
# Write device tree overlay
|
||||
cat /lib/firmware/mpfs_dtbo.spi > /sys/class/firmware/mpfs-auto-update/data
|
||||
|
||||
# Signal completion for dtbo load
|
||||
echo 0 > /sys/class/firmware/mpfs-auto-update/loading
|
||||
|
||||
while [ "$(cat /sys/class/firmware/mpfs-auto-update/status)" != "idle" ]; do
|
||||
# Do nothing, just keep checking
|
||||
sleep 1
|
||||
done
|
||||
|
||||
# Fake the presence of a golden image for now.
|
||||
dd if=/dev/zero of=/dev/mtd0 count=4 bs=1
|
||||
dd if=/dev/zero of=/dev/mtd0 count=1 bs=4
|
||||
|
||||
# Initiate FPGA update.
|
||||
echo 1 > /sys/kernel/debug/fpga/microchip_exec_update
|
||||
# Initiate FPGA update for bitstream
|
||||
echo 1 > /sys/class/firmware/mpfs-auto-update/loading
|
||||
|
||||
# Reboot Linux for the gateware update to take effect.
|
||||
# FPGA reprogramming takes places between Linux shut-down and HSS restarting the board.
|
||||
reboot
|
||||
# Write the firmware image to the data sysfs file
|
||||
cat /lib/firmware/mpfs_bitstream.spi > /sys/class/firmware/mpfs-auto-update/data
|
||||
|
||||
# Signal completion for bitstream load
|
||||
echo 0 > /sys/class/firmware/mpfs-auto-update/loading
|
||||
|
||||
while [ "$(cat /sys/class/firmware/mpfs-auto-update/status)" != "idle" ]; do
|
||||
# Do nothing, just keep checking
|
||||
sleep 1
|
||||
done
|
||||
|
||||
# When the status is 'idle' and no error has occured, reboot the system for
|
||||
# the gateware update to take effect. FPGA reprogramming takes places between
|
||||
# Linux shut-down and HSS restarting the board.
|
||||
if [ "$(cat /sys/class/firmware/mpfs-auto-update/error)" = "" ]; then
|
||||
echo "FPGA update ready. Rebooting."
|
||||
reboot
|
||||
else
|
||||
echo "FPGA update failed with status: $(cat /sys/class/firmware/mpfs-auto-update/error)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
5
board/beagleboard/beagley-ai/extlinux.conf
Normal file
5
board/beagleboard/beagley-ai/extlinux.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
default buildroot
|
||||
label buildroot
|
||||
kernel /Image
|
||||
devicetreedir /
|
||||
append root=/dev/mmcblk1p2 rootwait rw console=ttyS2,115200n8
|
||||
32
board/beagleboard/beagley-ai/genimage.cfg
Normal file
32
board/beagleboard/beagley-ai/genimage.cfg
Normal file
@@ -0,0 +1,32 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"tiboot3.bin",
|
||||
"tispl.bin",
|
||||
"u-boot.img",
|
||||
"Image",
|
||||
"ti",
|
||||
"extlinux",
|
||||
}
|
||||
|
||||
label = "boot"
|
||||
}
|
||||
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/beagleboard/beagley-ai/patches/linux/linux.hash
Normal file
2
board/beagleboard/beagley-ai/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 2bb586c954277d070c8fdf6d7275faa93b4807d9bf3353b491d8149cca02b4fc linux-6.15.6.tar.xz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7 u-boot-2025.07.tar.bz2
|
||||
2
board/beagleboard/beagley-ai/patches/uboot/uboot.hash
Normal file
2
board/beagleboard/beagley-ai/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7 u-boot-2025.07.tar.bz2
|
||||
5
board/beagleboard/beagley-ai/post-build.sh
Executable file
5
board/beagleboard/beagley-ai/post-build.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
|
||||
install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$BINARIES_DIR"/extlinux/extlinux.conf
|
||||
38
board/beagleboard/beagley-ai/readme.txt
Normal file
38
board/beagleboard/beagley-ai/readme.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
BeagleBoard.org BeagleY-AI Development Board
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
This configuration will build a basic image for the BeagleBoard.org
|
||||
BeagleY-AI. For more details about the board, visit:
|
||||
|
||||
https://www.beagleboard.org/boards/beagley-ai
|
||||
|
||||
How to Build
|
||||
============
|
||||
|
||||
Select the default configuration for the target:
|
||||
|
||||
$ make beagley_ai_defconfig
|
||||
|
||||
Optional: modify the configuration:
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Build:
|
||||
|
||||
$ make
|
||||
|
||||
To copy the resulting output image file to an SD card use dd:
|
||||
|
||||
$ dd if=output/images/sdcard.img of=/dev/sdX bs=1M
|
||||
|
||||
How to Run
|
||||
==========
|
||||
|
||||
Insert the SD card into the BeagleY-AI board, and power it up
|
||||
through the USB Type-C connector. The system should come up.
|
||||
You can use a USB to serial adapter to connect to the connector
|
||||
labeled UART0 (J13) to communicate with the board.
|
||||
|
||||
https://docs.beagle.cc/boards/beagley/ai/02-quick-start.html
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226 linux-6.10.tar.xz
|
||||
# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 55432b2af352f7bf3053c348d8549df2f2deeaa4a361c65d638c2f3b2ca7ec96 linux-6.12.56.tar.xz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
sha256 b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a u-boot-2025.10.tar.bz2
|
||||
|
||||
@@ -25,6 +25,8 @@ SDPV: jump
|
||||
|
||||
FB: ucmd setenv fastboot_buffer ${loadaddr}
|
||||
FB[-t 60000]: ucmd nand erase.chip
|
||||
FB: download -f _image
|
||||
FB: ucmd nandbcb init ${fastboot_buffer} nandboot ${filesize}
|
||||
FB[-t 60000]: ucmd ubi part rootfs
|
||||
FB[-t 60000]: ucmd ubi create root -
|
||||
FB: download -f _filesystem
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 365ff26a30e206de9b18489f45d38582a0a61b7c5919f8ab89295a47316784e1 linux-6.1.68.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 55432b2af352f7bf3053c348d8549df2f2deeaa4a361c65d638c2f3b2ca7ec96 linux-6.12.56.tar.xz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 e00e6c6f014e046101739d08d06f328811cebcf5ae101348f409cbbd55ce6900 u-boot-2023.10.tar.bz2
|
||||
sha256 b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a u-boot-2025.10.tar.bz2
|
||||
|
||||
@@ -10,6 +10,8 @@ SDPS: boot -f _flash.bin
|
||||
|
||||
FB: ucmd setenv fastboot_buffer ${loadaddr}
|
||||
FB: download -f _image
|
||||
FB[-t 10000]: ucmd nand erase.chip
|
||||
|
||||
# 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}
|
||||
|
||||
45
board/compulab/iot-gate-imx8-ebbr/genimage.cfg
Normal file
45
board/compulab/iot-gate-imx8-ebbr/genimage.cfg
Normal file
@@ -0,0 +1,45 @@
|
||||
image efi-part.vfat {
|
||||
vfat {
|
||||
file EFI {
|
||||
image = "efi-part/EFI"
|
||||
}
|
||||
|
||||
file Image {
|
||||
image = "Image"
|
||||
}
|
||||
}
|
||||
|
||||
size = 64M
|
||||
}
|
||||
|
||||
image disk.img {
|
||||
hdimage {
|
||||
partition-table-type = "gpt"
|
||||
}
|
||||
|
||||
# When in eMMC user data, this protects U-Boot environment
|
||||
partition env {
|
||||
partition-type-uuid = u-boot-env
|
||||
offset = 17K
|
||||
size = 16K
|
||||
}
|
||||
|
||||
# This allows to boot from recovery SD card
|
||||
partition firmware {
|
||||
image = "flash.bin"
|
||||
# Linux reserved
|
||||
partition-type-uuid = 8DA63339-0007-60C0-C436-083AC8230908
|
||||
offset = 33K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
image = "efi-part.vfat"
|
||||
partition-type-uuid = esp
|
||||
bootable = true
|
||||
}
|
||||
|
||||
partition root {
|
||||
partition-type-uuid = root-arm64
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
||||
6
board/compulab/iot-gate-imx8-ebbr/grub.cfg
Normal file
6
board/compulab/iot-gate-imx8-ebbr/grub.cfg
Normal file
@@ -0,0 +1,6 @@
|
||||
set default="0"
|
||||
set timeout="5"
|
||||
|
||||
menuentry "Buildroot" {
|
||||
linux /Image root=PARTLABEL=root rootwait
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 e11880bf39dabfcb5945b58e848ddba661a1cd92425a997c626dec62b2dac6a9 arm-trusted-firmware-v2.13-git4.tar.gz
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
@@ -0,0 +1,2 @@
|
||||
# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 231311bd7084dc3129944d26bb43be6ff837da82fb2104a67704aebca8bfa69f linux-6.16.8.tar.xz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 e6c6b93e2be417df57ceb05a2eb6505744e3fbdd3b2ae5e5bf79bf6028b6f84d optee-client-4.7.0.tar.gz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 976b9c184678516038d4e79766608e81d10bf136f76fd0db2dc48f90f994fbd9 optee-os-4.7.0.tar.gz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7 u-boot-2025.07.tar.bz2
|
||||
69
board/compulab/iot-gate-imx8-ebbr/post-image.sh
Executable file
69
board/compulab/iot-gate-imx8-ebbr/post-image.sh
Executable file
@@ -0,0 +1,69 @@
|
||||
#!/bin/sh
|
||||
set -eux
|
||||
|
||||
BOARD_DIR=$(dirname "$0")
|
||||
|
||||
# Override the default GRUB configuration file with our own.
|
||||
cp -vf "${BOARD_DIR}/grub.cfg" "${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg"
|
||||
|
||||
BINMAN_DIR="$BINARIES_DIR/binman"
|
||||
BINMAN_DTB="$BINMAN_DIR/u-boot.dtb"
|
||||
UBOOT_DIR=$(find "$BUILD_DIR" -maxdepth 1 -type d -name 'uboot-*')
|
||||
|
||||
# Adjust binman dtb.
|
||||
rm -fr "$BINMAN_DIR"
|
||||
mkdir -v "$BINMAN_DIR"
|
||||
cp -v "$UBOOT_DIR/u-boot.dtb" "$BINMAN_DTB"
|
||||
# Add the fip image to the list of loadables.
|
||||
fdtput -t s "$BINMAN_DTB" /binman/section/fit/configurations/@config-SEQ loadables atf fip
|
||||
# Remove the tee node to avoid duplicate, as it is in the FIP image.
|
||||
fdtput --remove "$BINMAN_DTB" /binman/section/fit/images/tee
|
||||
|
||||
# Generate flash image with binman.
|
||||
# We do this here to break the build dependency loop involving tf-a, op-tee, and
|
||||
# u-boot.
|
||||
# We use BL2 instead of BL31 in this configuration.
|
||||
(cd "${UBOOT_DIR}" && \
|
||||
./tools/binman/binman \
|
||||
--toolpath ./tools \
|
||||
-v5 \
|
||||
build \
|
||||
-u \
|
||||
-d "$BINMAN_DTB" \
|
||||
-O . \
|
||||
-m \
|
||||
--allow-missing \
|
||||
--fake-ext-blobs \
|
||||
-I "$BINMAN_DIR" \
|
||||
-I . \
|
||||
-I ./board/compulab/imx8mm-cl-iot-gate \
|
||||
-I arch/arm/dts \
|
||||
-a of-list="imx8mm-cl-iot-gate-optee" \
|
||||
-I "$BINARIES_DIR" \
|
||||
-a atf-bl31-path=bl2.bin \
|
||||
-a tee-os-path= \
|
||||
-a ti-dm-path= \
|
||||
-a opensbi-path= \
|
||||
-a default-dt="imx8mm-cl-iot-gate-optee" \
|
||||
-a scp-path= \
|
||||
-a rockchip-tpl-path= \
|
||||
-a spl-bss-pad= \
|
||||
-a tpl-bss-pad=1 \
|
||||
-a vpl-bss-pad=1 \
|
||||
-a spl-dtb=y \
|
||||
-a tpl-dtb= \
|
||||
-a vpl-dtb= \
|
||||
-a pre-load-key-path= \
|
||||
-a of-spl-remove-props="interrupt-parent interrupts" \
|
||||
)
|
||||
|
||||
# Copy the flash image.
|
||||
cp -v "$UBOOT_DIR/flash.bin" "$BINARIES_DIR/"
|
||||
|
||||
# Verify that it will fit in the eMMC boot partition.
|
||||
size=$(du -b "$BINARIES_DIR/flash.bin" |cut -f 1)
|
||||
|
||||
if [ "$size" -gt 4160512 ]; then
|
||||
echo "Flash image is too big! (${size} bytes)" >&2
|
||||
exit 1
|
||||
fi
|
||||
131
board/compulab/iot-gate-imx8-ebbr/readme.txt
Normal file
131
board/compulab/iot-gate-imx8-ebbr/readme.txt
Normal file
@@ -0,0 +1,131 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
The iot-gate-imx8_ebbr_defconfig is meant to illustrate some aspects of the Arm
|
||||
EBBR specification[1] and the Arm SystemReady Devicetree band[2].
|
||||
It allows building an AArch64 disk image with a U-Boot based firmware
|
||||
implementing the subset of UEFI defined by EBBR, as well as a Linux OS booting
|
||||
with UEFI, to run on the Compulab IOT-GATE-iMX8. [3]
|
||||
|
||||
This configuration is not related with the official BSP from Compulab. [4]
|
||||
|
||||
Building
|
||||
========
|
||||
|
||||
$ make iot-gate-imx8_ebbr_defconfig
|
||||
$ make
|
||||
|
||||
Generated files under output/images/:
|
||||
|
||||
* disk.img: An eMMC or USB key disk image comprising TF-A, OP-TEE, the U-Boot
|
||||
bootloader, the GRUB bootloader, the Linux kernel and the root filesystem.
|
||||
|
||||
* flash.bin: A firmware image suitable for flashing in eMMC boot partition
|
||||
comprising TF-A, OP-TEE and the U-Boot bootloader.
|
||||
|
||||
Running
|
||||
=======
|
||||
|
||||
Before flashing the firmware to eMMC, make sure that you have the IOTG-ACC-M2SD
|
||||
M.2 to SD adapter for recovery and prepare a recovery SD card. [5]
|
||||
Insert the SD card and the M.2 adapter.
|
||||
|
||||
Prepare a USB key on a PC:
|
||||
|
||||
# dd if=output/images/disk.img of=<USB key device> ; sync
|
||||
|
||||
Insert the USB key, close jumper E1 on the board to select recovery boot,
|
||||
connect to the UART console on the micro USB connector (a Silicon Labs CP2104
|
||||
UART bridge) with baudrate 115200, power on the board and break to U-Boot
|
||||
prompt.
|
||||
|
||||
Flash the firmware from the USB key to the eMMC boot partition:
|
||||
|
||||
u-boot=> usb start
|
||||
u-boot=> usb dev 0
|
||||
u-boot=> usb read ${loadaddr} 0x42 0x1fbe
|
||||
u-boot=> mmc dev 2 1
|
||||
u-boot=> mmc write ${loadaddr} 0x42 0x1fbe
|
||||
u-boot=> mmc partconf 2 0 1 0
|
||||
|
||||
Power off the board, remove jumper E1 and the M.2 SD card adapter, then restart
|
||||
the board; it should boot to Linux, with the root filesystem on the USB key.
|
||||
|
||||
Other setups are also possible, with the firmware and/or the root filesystem in
|
||||
the eMMC user data. The firmware binary is also available as flash.bin for
|
||||
convenience, to allow network download for example.
|
||||
|
||||
With the firmware in the eMMC boot partition, it is possible to install or run
|
||||
another OS supporting the EBBR specification.
|
||||
|
||||
The image generated by the aarch64_efi_defconfig, the images from Linux
|
||||
distributions such as Debian, Fedora, openSUSE, Ubuntu, OpenWrt and Yocto, and
|
||||
the Arm ACS Devicetree images[6] are examples of compatible OS images.
|
||||
|
||||
When installing other OSes to eMMC, it is recommended to protect the first 32KB
|
||||
of the user data with a partition, as this is where the U-Boot environment can
|
||||
be saved.
|
||||
|
||||
Firmware details
|
||||
================
|
||||
|
||||
Noteworthy firmware features:
|
||||
|
||||
- TF-A, OP-TEE & U-Boot
|
||||
- UEFI, with EFI variables stored on disk in the ESP
|
||||
- Support for ethernet, USB and RTC
|
||||
- U-Boot environment in eMMC user data (starting from byte 0x4400)
|
||||
|
||||
Architecture diagram:
|
||||
|
||||
Non-Secure : Secure
|
||||
:
|
||||
+---------------------------+ :
|
||||
EL0 | Busybox | :
|
||||
+---------------------------+ : +--------+
|
||||
EL1 | Linux | : | OP-TEE | S-EL1
|
||||
+---------------------------+ : +--------+
|
||||
EL2 | U-Boot, GRUB, Linux (kvm) | :
|
||||
+---------------------------+ :
|
||||
...................................:
|
||||
+----------------------------------------+
|
||||
| ROM, U-Boot SPL, TF-A | EL3
|
||||
+----------------------------------------+
|
||||
|
||||
Boot flow:
|
||||
|
||||
ROM -+-> SPL -> TF-A -+-> OP-TEE
|
||||
`-> U-Boot -> GRUB -> Linux -> Busybox
|
||||
|
||||
The ROM loads U-Boot SPL.
|
||||
U-Boot SPL does the DRAM setup, loads the fit image with TF-A, OP-TEE, U-Boot
|
||||
and the Devicetree.
|
||||
In this configuration TF-A is booting with BL2 and BL31.
|
||||
OP-TEE amends the Devicetree, calls back TF-A to go to normal world.
|
||||
U-Boot loads GRUB with UEFI, boots Linux at EL2.
|
||||
|
||||
Miscellaneous
|
||||
=============
|
||||
|
||||
This configuration is based on the work of Paul Liu[7] and is inspired by the
|
||||
other configurations related with EBBR, and the Arm SystemReady Devicetree Band
|
||||
Integration and Testing Guide[8].
|
||||
|
||||
To avoid a circular build dependency, we skip the binman step during U-Boot
|
||||
build:
|
||||
|
||||
BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="cmd_binman=:"
|
||||
|
||||
Then we run binman manually in the post-image script.
|
||||
|
||||
Firmware update and UEFI Secure Boot are currently not supported.
|
||||
The disk image cannot be used for SD card recovery at this point.
|
||||
|
||||
[1] https://github.com/ARM-software/ebbr
|
||||
[2] https://www.arm.com/architecture/system-architectures/systemready-compliance-program/systemready-devicetree-band
|
||||
[3] https://www.compulab.com/products/iot-gateways/iot-gate-imx8-industrial-arm-iot-gateway/
|
||||
[4] https://mediawiki.compulab.com/w/index.php?title=Building_IOT-GATE-iMX8_and_SBC-IOT-iMX8_Yocto_Linux_images
|
||||
[5] https://mediawiki.compulab.com/w/index.php?title=IOT-GATE-iMX8_and_SBC-IOT-iMX8:_U-Boot:_Recovery
|
||||
[6] https://github.com/ARM-software/arm-systemready/tree/main/SystemReady-devicetree-band/prebuilt_images
|
||||
[7] https://git.linaro.org/plugins/gitiles/people/paul.liu/systemready/build-scripts
|
||||
[8] https://developer.arm.com/documentation/DUI1101/latest/
|
||||
6
board/compulab/iot-gate-imx8-ebbr/u-boot.fragment
Normal file
6
board/compulab/iot-gate-imx8-ebbr/u-boot.fragment
Normal file
@@ -0,0 +1,6 @@
|
||||
CONFIG_ARCH_MISC_INIT=y
|
||||
CONFIG_CMD_RNG=y
|
||||
CONFIG_DM_REGULATOR_ANATOP=y
|
||||
CONFIG_DM_RNG=y
|
||||
CONFIG_FSL_CAAM=y
|
||||
CONFIG_PHY_ANEG_TIMEOUT=5000
|
||||
4
board/coolpi/coolpi-4b/extlinux.conf
Normal file
4
board/coolpi/coolpi-4b/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
label coolpi-4b-buildroot
|
||||
kernel /Image.gz
|
||||
devicetree /rk3588s-coolpi-4b.dtb
|
||||
append root=/dev/mmcblk1p2 rw rootfstype=ext4 earlycon earlyprintk console=ttyS2,1500000n8 rootwait
|
||||
35
board/coolpi/coolpi-4b/genimage.cfg
Normal file
35
board/coolpi/coolpi-4b/genimage.cfg
Normal file
@@ -0,0 +1,35 @@
|
||||
# SD card image for Cool PI 4b
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"Image.gz",
|
||||
"rk3588s-coolpi-4b.dtb",
|
||||
"extlinux"
|
||||
}
|
||||
}
|
||||
size = 32M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
partition-table-type = "hybrid"
|
||||
}
|
||||
|
||||
partition uboot {
|
||||
in-partition-table = "false"
|
||||
image = "u-boot-rockchip.bin"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = "0xC"
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
}
|
||||
}
|
||||
1
board/coolpi/coolpi-4b/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/coolpi/coolpi-4b/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/coolpi/coolpi-4b/patches/linux/linux.hash
Normal file
2
board/coolpi/coolpi-4b/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 de8b97cfeae74c22f832ee4ca2333c157cc978d98baa122f0ee9c01796a2fe43 linux-6.14.10.tar.xz
|
||||
2
board/coolpi/coolpi-4b/patches/uboot/uboot.hash
Normal file
2
board/coolpi/coolpi-4b/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 439d3bef296effd54130be6a731c5b118be7fddd7fcc663ccbc5fb18294d8718 u-boot-2025.04.tar.bz2
|
||||
7
board/coolpi/coolpi-4b/post-image.sh
Executable file
7
board/coolpi/coolpi-4b/post-image.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
gzip -fk "${BINARIES_DIR}/Image"
|
||||
install -m 0644 -D "$BOARD_DIR/extlinux.conf" "$BINARIES_DIR/extlinux/extlinux.conf"
|
||||
support/scripts/genimage.sh -c board/coolpi/coolpi-4b/genimage.cfg
|
||||
57
board/coolpi/coolpi-4b/readme.txt
Normal file
57
board/coolpi/coolpi-4b/readme.txt
Normal file
@@ -0,0 +1,57 @@
|
||||
Cool Pi 4B
|
||||
==============
|
||||
https://www.cool-pi.com/product/cp4b/
|
||||
|
||||
Build:
|
||||
======
|
||||
$ make coolpi_4b_defconfig
|
||||
$ make
|
||||
|
||||
Files created in output directory
|
||||
=================================
|
||||
|
||||
output/images
|
||||
.
|
||||
output/images/
|
||||
├── boot.vfat
|
||||
├── extlinux
|
||||
│ └── extlinux.conf
|
||||
├── Image
|
||||
├── Image.gz
|
||||
├── rk3588_bl31_v1.40.elf
|
||||
├── rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin
|
||||
├── rk3588s-coolpi-4b.dtb
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── u-boot.bin
|
||||
└── u-boot-rockchip.bin
|
||||
|
||||
Creating bootable SD card:
|
||||
==========================
|
||||
|
||||
Simply invoke (as root)
|
||||
|
||||
sudo dd if=output/images/sdcard.img of=/dev/sdX && sync
|
||||
|
||||
Where X is your SD card device.
|
||||
|
||||
Booting:
|
||||
========
|
||||
|
||||
Serial console:
|
||||
---------------
|
||||
The Cool Pi 4B has a 40-pin GPIO header.
|
||||
|
||||
The Uart pins are as follows:
|
||||
|
||||
pin 6: gnd
|
||||
pin 8: tx
|
||||
pin 10: rx
|
||||
|
||||
Baudrate for this board is 1500000.
|
||||
|
||||
Login:
|
||||
------
|
||||
Enter 'root' as login user, and the prompt is ready.
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c954f60197008f1e1f32a1e77293903cf3801d2543ec4bf521f5651eb7f133ce linux-6.11.6.tar.xz
|
||||
sha256 b4850cf670a032c70f38b713a27d62046c5f747caf028c5f50b18f98606a9eb1 linux-6.12.52.tar.xz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
sha256 b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a u-boot-2025.10.tar.bz2
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
DEFAULT linux
|
||||
LABEL linux
|
||||
KERNEL /boot/zImage
|
||||
DEVICETREE /boot/sun4i-a10-cubieboard.dtb
|
||||
APPEND console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait
|
||||
label cubieboard-buildroot
|
||||
kernel /boot/zImage
|
||||
devicetree /boot/sun4i-a10-cubieboard.dtb
|
||||
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait
|
||||
|
||||
@@ -1,18 +1,3 @@
|
||||
# Minimal SD card image for the Cubieboard2
|
||||
# Based in the Orange Pi genimage.cfg
|
||||
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun7i-a20-cubieboard2.dtb",
|
||||
"boot.scr"
|
||||
}
|
||||
}
|
||||
|
||||
size = 10M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
@@ -24,15 +9,8 @@ image sdcard.img {
|
||||
size = 1016K # 1MB - 8KB
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/cubietech/cubieboard2/patches/linux/linux.hash
Normal file
2
board/cubietech/cubieboard2/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b4850cf670a032c70f38b713a27d62046c5f747caf028c5f50b18f98606a9eb1 linux-6.12.52.tar.xz
|
||||
2
board/cubietech/cubieboard2/patches/uboot/uboot.hash
Normal file
2
board/cubietech/cubieboard2/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a u-boot-2025.10.tar.bz2
|
||||
@@ -0,0 +1,4 @@
|
||||
label cubieboard-buildroot
|
||||
kernel /boot/zImage
|
||||
devicetree /boot/sun7i-a20-cubieboard2.dtb
|
||||
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait
|
||||
4
board/engicam/px30core/extlinux.conf
Normal file
4
board/engicam/px30core/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
label Engicam-EDIMM linux
|
||||
kernel /boot/Image
|
||||
devicetree /boot/px30-engicam-px30-core-ctouch2-of10.dtb
|
||||
append earlycon=uart8250,mmio32,0xff160000 root=/dev/mmcblk1p1 rootwait
|
||||
22
board/engicam/px30core/genimage.cfg
Normal file
22
board/engicam/px30core/genimage.cfg
Normal file
@@ -0,0 +1,22 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-tpl-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "idbloader.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.itb"
|
||||
offset = 8M
|
||||
size = 30M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
1
board/engicam/px30core/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/engicam/px30core/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/engicam/px30core/patches/linux/linux.hash
Normal file
2
board/engicam/px30core/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 ab48800ab49985a78d2318ae8ac5f28fd3e123ea17357ef21498105a53337336 linux-6.12.22.tar.xz
|
||||
2
board/engicam/px30core/patches/uboot/uboot.hash
Normal file
2
board/engicam/px30core/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 439d3bef296effd54130be6a731c5b118be7fddd7fcc663ccbc5fb18294d8718 u-boot-2025.04.tar.bz2
|
||||
5
board/engicam/px30core/post-build.sh
Executable file
5
board/engicam/px30core/post-build.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
|
||||
install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$TARGET_DIR"/boot/extlinux/extlinux.conf
|
||||
60
board/engicam/px30core/readme.txt
Normal file
60
board/engicam/px30core/readme.txt
Normal file
@@ -0,0 +1,60 @@
|
||||
ENGICAM PX30-EDIMM2.2 carrier board
|
||||
===================================
|
||||
|
||||
Build:
|
||||
|
||||
$ make engicam_px30_core_defconfig
|
||||
$ make
|
||||
|
||||
Files created in output directory
|
||||
---------------------------------
|
||||
|
||||
output/images
|
||||
|
||||
├── bl31.elf
|
||||
├── idbloader.img
|
||||
├── Image
|
||||
├── px30-engicam-px30-core-ctouch2-of10.dtb
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── u-boot.bin
|
||||
└── u-boot.itb
|
||||
|
||||
How to connect the board and get started:
|
||||
-----------------------------------------
|
||||
Ensure that the power supply is stable and provides enough current to handle
|
||||
the board's needs, especially when peripherals are connected.
|
||||
|
||||
Insert micro SD card on the board micro SD slot J17
|
||||
|
||||
Creating bootable SD card:
|
||||
--------------------------
|
||||
sudo dd if=output/images/sdcard.img of=/dev/sdX && sync
|
||||
|
||||
/dev/sdX is the path in host via which SD card is detected
|
||||
Where X is your SD card device
|
||||
|
||||
Connect UART port on the board J26
|
||||
|
||||
Serial console
|
||||
--------------
|
||||
Launch minicom at host with 1152008N1
|
||||
|
||||
Power on the kit using J4
|
||||
|
||||
Refer link on checking board booting
|
||||
|
||||
Program eMMC
|
||||
------------
|
||||
Connect USB otg cable A-type to host pc, Micro USB end to board.
|
||||
|
||||
Close Jumper JM5.
|
||||
|
||||
Boot the Kit with SD boot.
|
||||
|
||||
Program eMMC in U-Boot. (Refer link for the steps)
|
||||
|
||||
Wiki link:
|
||||
https://wiki.amarulasolutions.com/bsp/rockchip/px30/engicam-px30-edimm2.2.html
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/firefly/roc-rk3399-pc/patches/linux/linux.hash
Normal file
2
board/firefly/roc-rk3399-pc/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f74812f78e88992c416434cb107639e13a551dbaff36bb90d6346ab16ab71a95 linux-6.6.56.tar.xz
|
||||
2
board/firefly/roc-rk3399-pc/patches/uboot/uboot.hash
Normal file
2
board/firefly/roc-rk3399-pc/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
@@ -18,19 +18,19 @@ main ()
|
||||
|
||||
if grep -Eq "^BR2_TARGET_OPTEE_OS=y$" "${BR2_CONFIG}"; then
|
||||
"${HOST_DIR}/bin/mkimage_imx8" -soc IMX9 -c \
|
||||
-ap "${BINARIES_DIR}/bl31.bin" a35 ${ATF_LOAD_ADDR} \
|
||||
-ap "${BINARIES_DIR}/u-boot-hash.bin" a35 0x80200000 \
|
||||
-ap "${BINARIES_DIR}/tee.bin" a35 0x96000000 \
|
||||
-ap "${BINARIES_DIR}/bl31.bin" a55 ${ATF_LOAD_ADDR} \
|
||||
-ap "${BINARIES_DIR}/u-boot-hash.bin" a55 0x80200000 \
|
||||
-ap "${BINARIES_DIR}/tee-raw.bin" a55 0x96000000 \
|
||||
-out "${BINARIES_DIR}/u-boot-atf-container.img"
|
||||
else
|
||||
"${HOST_DIR}/bin/mkimage_imx8" -soc IMX9 -c \
|
||||
-ap "${BINARIES_DIR}/bl31.bin" a35 ${ATF_LOAD_ADDR} \
|
||||
-ap "${BINARIES_DIR}/u-boot-hash.bin" a35 0x80200000 \
|
||||
-ap "${BINARIES_DIR}/bl31.bin" a55 ${ATF_LOAD_ADDR} \
|
||||
-ap "${BINARIES_DIR}/u-boot-hash.bin" a55 0x80200000 \
|
||||
-out "${BINARIES_DIR}/u-boot-atf-container.img"
|
||||
fi
|
||||
|
||||
"${HOST_DIR}/bin/mkimage_imx8" -soc IMX9 -append "${BINARIES_DIR}/ahab-container.img" -c \
|
||||
-ap "${BINARIES_DIR}/u-boot-spl-ddr.bin" a35 ${SPL_LOAD_ADDR} \
|
||||
-ap "${BINARIES_DIR}/u-boot-spl-ddr.bin" a55 ${SPL_LOAD_ADDR} \
|
||||
-out "${BINARIES_DIR}/imx9-boot-sd.bin"
|
||||
|
||||
flashbin_size="$(wc -c "${BINARIES_DIR}/imx9-boot-sd.bin" | awk '{print $1}')"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
#
|
||||
# dtb_list extracts the list of DTB files from BR2_LINUX_KERNEL_INTREE_DTS_NAME
|
||||
# in ${BR_CONFIG}, then prints the corresponding list of file names for the
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
#
|
||||
# dtb_list extracts the list of DTB files from BR2_LINUX_KERNEL_INTREE_DTS_NAME
|
||||
# in ${BR_CONFIG}, then prints the corresponding list of file names for the
|
||||
@@ -7,10 +9,12 @@
|
||||
#
|
||||
dtb_list()
|
||||
{
|
||||
local DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})"
|
||||
local DTB_LIST
|
||||
|
||||
DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([\/a-z0-9 \-]*\)"$/\1/p' "${BR2_CONFIG}")"
|
||||
|
||||
for dt in $DTB_LIST; do
|
||||
echo -n "\"$dt.dtb\", "
|
||||
echo -n "\"$(basename "${dt}").dtb\", "
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/freescale/imx28evk/patches/linux/linux.hash
Normal file
2
board/freescale/imx28evk/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 af54b449f4fb93b8e8daa346144a7309e8e95174bd962c4b5917cf56120456d9 linux-6.6.26.tar.xz
|
||||
2
board/freescale/imx28evk/patches/uboot/uboot.hash
Normal file
2
board/freescale/imx28evk/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2
|
||||
@@ -12,7 +12,7 @@ Build
|
||||
|
||||
First, configure Buildroot for your i.MX28 EVK board:
|
||||
|
||||
make freescale_imx28evk_defconfig
|
||||
make imx28evk_defconfig
|
||||
|
||||
Build all components:
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c70adedadce88f8685cb26d9703b930292c1349138e2c55ed9b4cd6e277de3bd linux-imx-lf-6.6.23-2.0.0.tar.gz
|
||||
sha256 4c1147a9bbe4bf36fbcbd8b1e6b0d73ec0da3c454821c58a61d32d3879afc146 linux-imx-lf-6.12.3-1.0.0.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 179b6531ef1d4ce681d139741ac7b4144220c90b7223297df28b61e98e8d37fc uboot-imx-lf-6.6.23-2.0.0.tar.gz
|
||||
sha256 18a32d6c79538e4f90746674873b196f9c48be24caef0ab5c1bec920a1816825 uboot-imx-lf-6.12.3-1.0.0.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c70adedadce88f8685cb26d9703b930292c1349138e2c55ed9b4cd6e277de3bd linux-imx-lf-6.6.23-2.0.0.tar.gz
|
||||
sha256 4c1147a9bbe4bf36fbcbd8b1e6b0d73ec0da3c454821c58a61d32d3879afc146 linux-imx-lf-6.12.3-1.0.0.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 179b6531ef1d4ce681d139741ac7b4144220c90b7223297df28b61e98e8d37fc uboot-imx-lf-6.6.23-2.0.0.tar.gz
|
||||
sha256 18a32d6c79538e4f90746674873b196f9c48be24caef0ab5c1bec920a1816825 uboot-imx-lf-6.12.3-1.0.0.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c70adedadce88f8685cb26d9703b930292c1349138e2c55ed9b4cd6e277de3bd linux-imx-lf-6.6.23-2.0.0.tar.gz
|
||||
sha256 4c1147a9bbe4bf36fbcbd8b1e6b0d73ec0da3c454821c58a61d32d3879afc146 linux-imx-lf-6.12.3-1.0.0.tar.gz
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user