Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7618236c1 | ||
|
|
9c2d88fd4e | ||
|
|
b85c174ab0 | ||
|
|
fc010c219e | ||
|
|
86c4680beb | ||
|
|
57094b4322 | ||
|
|
3d49303118 | ||
|
|
039978541e | ||
|
|
e64dc2d46a | ||
|
|
de77e894a6 | ||
|
|
8e8285236f | ||
|
|
cc54944e20 | ||
|
|
87cb2999c3 | ||
|
|
a8f70006e7 | ||
|
|
1ede9257cc | ||
|
|
63093d7db0 | ||
|
|
cc40eeb370 | ||
|
|
87803da53c | ||
|
|
b90349589c | ||
|
|
615ab9a6c1 | ||
|
|
b42f1ddcc7 | ||
|
|
ee3155d779 | ||
|
|
f3dae29d03 | ||
|
|
e0f78310ec | ||
|
|
04ca8a7e73 | ||
|
|
972e56bdaf | ||
|
|
70f8b08042 | ||
|
|
b5df684e07 | ||
|
|
8a66521a6c | ||
|
|
606d756629 | ||
|
|
eaac12e842 | ||
|
|
d797a2f2b3 | ||
|
|
9f7e74ca53 | ||
|
|
427efc1cd1 | ||
|
|
d034b179ea | ||
|
|
78ea2e4ccd | ||
|
|
8e241ea84f | ||
|
|
c13d79854d | ||
|
|
5ab1fb461e | ||
|
|
842eb8b54f | ||
|
|
d1b3a69a87 | ||
|
|
e0467347ed | ||
|
|
8588985bb2 | ||
|
|
2113a945cd | ||
|
|
8f83cdaaff | ||
|
|
4f96c2851d | ||
|
|
e5874289eb | ||
|
|
c196cbcb21 | ||
|
|
8c3b1b77cf | ||
|
|
d9e4a18b9c | ||
|
|
720c61fff9 | ||
|
|
0243bc0795 | ||
|
|
206c6f0acd | ||
|
|
e877a047b3 | ||
|
|
efd28be743 | ||
|
|
5ad23bdad0 | ||
|
|
e83ec66f83 | ||
|
|
c0a0849e72 | ||
|
|
c6c872f494 | ||
|
|
b347b51250 | ||
|
|
aaabe7720f | ||
|
|
f0a248e16c | ||
|
|
07222174fd | ||
|
|
557d2e0e56 | ||
|
|
de55528c6e | ||
|
|
ade2368fae | ||
|
|
b4cae331e8 | ||
|
|
917a81b342 | ||
|
|
04557874c1 | ||
|
|
a24532ff04 | ||
|
|
3d5595d8f7 | ||
|
|
03824b9a6d | ||
|
|
4809708664 | ||
|
|
4ca5d89653 | ||
|
|
aeaba38754 | ||
|
|
fcdc7c2dde | ||
|
|
246c103203 | ||
|
|
5c75ee937a | ||
|
|
f3b41a0459 | ||
|
|
68135035ad | ||
|
|
499d0a5bf1 | ||
|
|
ec2b0f56d0 | ||
|
|
3b15f7defb | ||
|
|
52f9df9222 | ||
|
|
e7074c3efb | ||
|
|
6b0b1682a8 | ||
|
|
f104f0f9e7 | ||
|
|
9c5e04561b | ||
|
|
6cb4e00427 | ||
|
|
d9b36ca5f1 | ||
|
|
15e4ee06c3 | ||
|
|
e4990b58c9 | ||
|
|
7f19d7720f | ||
|
|
d8210fd0eb | ||
|
|
11d52d7e4d | ||
|
|
2520b55ae9 | ||
|
|
df341bd347 | ||
|
|
0746a50e01 | ||
|
|
77206b8220 | ||
|
|
a0e4c65124 | ||
|
|
cadcb1f908 | ||
|
|
ecd1646cc8 | ||
|
|
e7ae0ea2d0 | ||
|
|
bd4c654b78 | ||
|
|
d65a720a00 | ||
|
|
80c395b83c | ||
|
|
747fcc5e7a | ||
|
|
dcc8b10cc7 | ||
|
|
b6d097aaed | ||
|
|
e1dc75fdba | ||
|
|
d22c7d0f22 | ||
|
|
511b426a75 | ||
|
|
ba222b5976 | ||
|
|
40afb3d5b5 | ||
|
|
1e32ef4c14 | ||
|
|
26585c72d1 | ||
|
|
3f059c0d3c | ||
|
|
0852d93cbe | ||
|
|
3c34715aa9 | ||
|
|
027850d2e5 | ||
|
|
d69b380c3c | ||
|
|
a6be28c767 | ||
|
|
be164d261d | ||
|
|
edde5c1a44 | ||
|
|
f70be8d584 | ||
|
|
5db78454b2 | ||
|
|
7e31c9deac | ||
|
|
090890c5f7 | ||
|
|
4a161d729b | ||
|
|
0b0c59a4d0 | ||
|
|
cc70cadb32 | ||
|
|
a14661a72d | ||
|
|
66425c8e14 | ||
|
|
1b6e22b6a4 | ||
|
|
6485c37fa3 | ||
|
|
511d9df4f5 | ||
|
|
48ab6da3ef | ||
|
|
b4c08cf470 | ||
|
|
7495b6bb4f | ||
|
|
83d384ac0f | ||
|
|
16598bdf5e | ||
|
|
40161617be | ||
|
|
934b8d9ffd | ||
|
|
ce1a444880 | ||
|
|
9e45b5366d | ||
|
|
bcf93b1c39 | ||
|
|
043fe66390 | ||
|
|
94b0b7d79c | ||
|
|
2d17c16ff7 | ||
|
|
736d908465 | ||
|
|
7cedebe44e | ||
|
|
5ce885b30b | ||
|
|
7a597b92f1 | ||
|
|
1413869250 | ||
|
|
df61e43aab | ||
|
|
b903a3b393 | ||
|
|
243df597f3 | ||
|
|
b0a601d8c6 | ||
|
|
43d9a911b2 | ||
|
|
618b1b056c | ||
|
|
c04b02323c | ||
|
|
328bd0be09 | ||
|
|
2c372847af | ||
|
|
8edb067494 | ||
|
|
b6544fbb6c | ||
|
|
42f828d28b | ||
|
|
c2c336ce64 | ||
|
|
75feb672cb | ||
|
|
78e646240f | ||
|
|
506c14d8e1 | ||
|
|
e9fe4e6cb9 | ||
|
|
1395e6cedc | ||
|
|
fee0865740 | ||
|
|
ff0edf2450 | ||
|
|
c0682780f3 | ||
|
|
c299d465b8 | ||
|
|
17076edc90 | ||
|
|
74c4478ea9 | ||
|
|
b0bfaa8d5a | ||
|
|
4365f24835 | ||
|
|
657687322b | ||
|
|
1d5cb8c6db | ||
|
|
5ba2961cc9 | ||
|
|
82b82594e8 | ||
|
|
530bfe46dc | ||
|
|
755f3532d3 | ||
|
|
1e6d3f7bab | ||
|
|
2cc170a99e | ||
|
|
c35946ccad | ||
|
|
fc1b43b2e6 | ||
|
|
8d5f51706d | ||
|
|
dbc9de026b | ||
|
|
923a6df874 | ||
|
|
0d56cfabf4 | ||
|
|
04d64ab6d5 | ||
|
|
828f9053d9 | ||
|
|
e5f7a9fb71 | ||
|
|
3c7f868fe6 | ||
|
|
a5b3306b04 | ||
|
|
f002755659 | ||
|
|
7fab58374d | ||
|
|
0f20caa178 | ||
|
|
889abedd5b | ||
|
|
8d22410d93 | ||
|
|
4124af6626 | ||
|
|
30f9e284d9 | ||
|
|
bd83efd288 | ||
|
|
f6c0475732 | ||
|
|
a0890d709b | ||
|
|
f066ea7f9c | ||
|
|
5c6e7340ad |
+62
-10
@@ -1,3 +1,4 @@
|
||||
board/aarch64-efi/post-image.sh Shellcheck
|
||||
board/amarula/vyasa/post-build.sh Shellcheck
|
||||
board/andes/ae350/patches/uboot/0001-mmc-ftsdc010_mci-Support-DTS-of-ftsdc010-driver-for-.patch lib_patch.Upstream
|
||||
board/andes/ae350/patches/uboot/0002-spl-Align-device-tree-blob-address-at-8-byte-boundar.patch lib_patch.Upstream
|
||||
@@ -21,6 +22,7 @@ board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh Shellcheck
|
||||
board/bsh/imx8mn-bsh-smm-s2/flash.sh Shellcheck lib_shellscript.EmptyLastLine
|
||||
board/bsh/imx8mn-bsh-smm-s2/post-build.sh Shellcheck
|
||||
board/canaan/k210-soc/post-build.sh Shellcheck
|
||||
board/canaan/k210-soc/rootfs_overlay/sbin/init Shellcheck
|
||||
board/chromebook/elm/sign.sh Shellcheck
|
||||
board/chromebook/mksd.sh Shellcheck
|
||||
board/chromebook/snow/sign.sh Shellcheck
|
||||
@@ -43,6 +45,7 @@ board/lego/ev3/post-image.sh Shellcheck
|
||||
board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch lib_patch.Upstream
|
||||
board/lemaker/bananapro/post-build.sh Shellcheck
|
||||
board/lemaker/bananapro/post-image.sh Shellcheck
|
||||
board/mender/x86_64/post-image-efi.sh lib_shellscript.ConsecutiveEmptyLines
|
||||
board/minnowboard/post-build.sh Shellcheck
|
||||
board/nexbox/a95x/post-build.sh Shellcheck
|
||||
board/nexbox/a95x/post-image.sh Shellcheck
|
||||
@@ -63,6 +66,7 @@ board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-sp
|
||||
board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch lib_patch.Upstream
|
||||
board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch lib_patch.Upstream
|
||||
board/pine64/rock64/post-build.sh Shellcheck
|
||||
board/pine64/rockpro64/post-build.sh Shellcheck
|
||||
board/qemu/aarch64-sbsa/assemble-flash-images Shellcheck
|
||||
board/qemu/x86/post-build.sh Shellcheck
|
||||
board/qemu/x86_64/post-build.sh Shellcheck
|
||||
@@ -78,14 +82,16 @@ board/solidrun/clearfog/post-build.sh Shellcheck
|
||||
board/solidrun/macchiatobin/post-build-mainline.sh Shellcheck
|
||||
board/solidrun/macchiatobin/post-build.sh Shellcheck
|
||||
board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh Shellcheck
|
||||
board/stmicroelectronics/common/stm32mp1xx/post-image.sh Shellcheck
|
||||
board/stmicroelectronics/common/stm32mp157/post-image.sh Shellcheck
|
||||
board/stmicroelectronics/stm32f429-disco/flash.sh Shellcheck
|
||||
board/stmicroelectronics/stm32f469-disco/flash_sd.sh Shellcheck
|
||||
board/stmicroelectronics/stm32f469-disco/flash_xip.sh Shellcheck
|
||||
board/stmicroelectronics/stm32f469-disco/post-build.sh Shellcheck
|
||||
board/synopsys/axs10x/post-build.sh Shellcheck
|
||||
board/technologic/ts4900/post-image.sh Shellcheck
|
||||
board/toradex/apalis-imx6/post-image.sh Shellcheck
|
||||
board/udoo/common/post-build.sh Shellcheck
|
||||
board/udoo/mx6qdl/patches/linux/0000-udoo-disable-usbh1.patch lib_patch.Upstream
|
||||
boot/afboot-stm32/0003-Makefile-disable-stack-protector.patch lib_patch.Upstream
|
||||
boot/optee-os/3.13.0/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch lib_patch.Upstream
|
||||
boot/syslinux/0001-bios-Fix-alignment-change-with-gcc-5.patch lib_patch.Upstream
|
||||
@@ -102,6 +108,7 @@ boot/syslinux/0013-Fix-build-with-gnu-efi-version-3.0.9.patch lib_patch.Upstream
|
||||
boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch lib_patch.Upstream
|
||||
boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch lib_patch.Upstream
|
||||
boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch lib_patch.Upstream
|
||||
configs/aarch64_efi_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/am574x_idk_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/arcturus_ucls1012a_defconfig lib_defconfig.ForceCheckHash
|
||||
@@ -153,6 +160,7 @@ configs/globalscale_espressobin_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/grinn_chiliboard_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/grinn_liteboard_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/hifive_unleashed_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/icnova-a20-adb4006_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx23evk_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx6-sabreauto_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx6-sabresd_defconfig lib_defconfig.ForceCheckHash
|
||||
@@ -171,6 +179,7 @@ configs/kontron_bl_imx8mm_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/kontron_pitx_imx8m_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/kontron_smarc_sal28_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/linksprite_pcduino_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/ls1046a-frwy_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/mangopi_mq1rdw2_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/mender_x86_64_efi_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/microchip_sam9x60ek_mmc_defconfig lib_defconfig.ForceCheckHash
|
||||
@@ -223,6 +232,7 @@ configs/riotboard_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/roc_pc_rk3399_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/rock64_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/rock_pi_n8_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/rockpro64_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/roseapplepi_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/s6lx9_microboard_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/sipeed_lichee_rv_defconfig lib_defconfig.ForceCheckHash
|
||||
@@ -243,6 +253,7 @@ configs/snps_archs38_axs103_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/snps_archs38_haps_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/snps_archs38_hsdk_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/socrates_cyclone5_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/solidrun_clearfog_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/solidrun_clearfog_gt_8k_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/solidrun_macchiatobin_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/stm32mp157c_odyssey_defconfig lib_defconfig.ForceCheckHash
|
||||
@@ -271,11 +282,12 @@ package/am33x-cm3/0004-Makefile-add-fno-builtin.patch lib_patch.Upstream
|
||||
package/am33x-cm3/S93-am335x-pm-firmware-load lib_sysv.Variables
|
||||
package/android-tools/0001-Fix-makefiles-for-out-of-tree-build.patch lib_patch.Upstream
|
||||
package/android-tools/0002-Fix-adbd-for-non-Ubuntu-systems.patch lib_patch.Upstream
|
||||
package/android-tools/0003-Fix-build-issue-with-uclibc.patch lib_patch.Upstream
|
||||
package/android-tools/0004-Fix-build-issue-with-musl.patch lib_patch.Upstream
|
||||
package/android-tools/0005-makefiles-use-pkgconf-to-get-libs-deps.patch lib_patch.Upstream
|
||||
package/android-tools/0006-Fix-build-on-big-endian-systems.patch lib_patch.Upstream
|
||||
package/android-tools/0007-Include-cdefs.h-wherever-it-is-needed.patch lib_patch.Upstream
|
||||
package/android-tools/0008-usb_linux.c-fix-minor-major-build-failure-due-to-gli.patch lib_patch.Upstream
|
||||
package/android-tools/0005-Use-pkgconf-to-get-libs-deps.patch lib_patch.Upstream
|
||||
package/android-tools/0006-fix-big-endian-build.patch lib_patch.Upstream
|
||||
package/android-tools/0007-include-cdefs-h-when-needed.patch lib_patch.Upstream
|
||||
package/android-tools/0008-Include-sysmacros.h-to-compile-with-glibc-2.28.patch lib_patch.Sob lib_patch.Upstream
|
||||
package/android-tools/0009-Fix-makefiles-for-out-of-tree-ext4_utils-build.patch lib_patch.Upstream
|
||||
package/android-tools/0010-adb-added-patch-for-openssl-1.1.0-compatibility.patch lib_patch.Upstream
|
||||
package/aoetools/0001-Change-shell-script-interpreter-from-bin-bash-to-bin.patch lib_patch.Upstream
|
||||
@@ -334,6 +346,7 @@ package/brickd/S70brickd Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/bridge-utils/0001-fix-build-on-musl.patch lib_patch.Upstream
|
||||
package/brltty/0001-Fix-linking-error-on-mips64el.patch lib_patch.Upstream
|
||||
package/brltty/S10brltty Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/bsdiff/0001-Add-missing-header-for-u_char.patch lib_patch.Upstream
|
||||
package/bustle/0001-Makefile-fix-pcap-config-call.patch lib_patch.Upstream
|
||||
package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch lib_patch.Upstream
|
||||
package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch lib_patch.Upstream
|
||||
@@ -358,7 +371,7 @@ package/cfm/S65cfm lib_sysv.Indent lib_sysv.Variables
|
||||
package/cgroupfs-mount/S30cgroupfs Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/chipmunk/0001-Fix-build-failure-on-musl.patch lib_patch.Upstream
|
||||
package/chocolate-doom/0001-Remove-redundant-demoextend-definition.patch lib_patch.Upstream
|
||||
package/chrony/S49chronyd lib_sysv.Variables
|
||||
package/chrony/S49chrony Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/cmake/0001-rename-cmake-rootfile.patch lib_patch.Upstream
|
||||
package/cmocka/0001-Don-t-redefine-uintptr_t.patch lib_patch.Upstream
|
||||
package/collectd/0001-src-netlink.c-remove-REG_NOERROR.patch lib_patch.Upstream
|
||||
@@ -424,6 +437,7 @@ package/dmalloc/0004-Makefile-use-the-configure-detected-or-user-supplied.patch
|
||||
package/dmalloc/0005-configure-use-LD-instead-of-hard-coding-ld.patch lib_patch.Upstream
|
||||
package/dmraid/0001-fix-compilation-under-musl.patch lib_patch.Upstream
|
||||
package/dmraid/S20dmraid lib_sysv.Variables
|
||||
package/docker-engine/S60dockerd Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/docopt-cpp/0001-only-build-one-target-use-BUILD_SHARED_LIBS-where-appropriate.patch lib_patch.Upstream
|
||||
package/domoticz/S99domoticz Shellcheck
|
||||
package/dovecot/0001-auth-Fix-handling-passdbs-with-identical-driver-args.patch lib_patch.Upstream
|
||||
@@ -441,6 +455,8 @@ package/dvdrw-tools/0002-Include-sysmacros.h-to-compile-with-newer-gcc.patch lib
|
||||
package/earlyoom/0001-main.c-fix-build-with-kernel-4.3.patch lib_patch.Upstream
|
||||
package/earlyoom/S02earlyoom Shellcheck lib_sysv.Indent
|
||||
package/ebtables/0001-replace-ebtables-save-perl-script-with-bash.patch lib_patch.Upstream
|
||||
package/ebtables/0002-ebtables.h-restore-KERNEL_64_USERSPACE_32-checks.patch lib_patch.Upstream
|
||||
package/ebtables/0003-configure.ac-add-option-enable-kernel-64-userland-32.patch lib_patch.Upstream
|
||||
package/ecryptfs-utils/0001-musl.patch lib_patch.Upstream
|
||||
package/ecryptfs-utils/0002-openssl110.patch lib_patch.Upstream
|
||||
package/ecryptfs-utils/0003-fix-parallel-build-issue.patch lib_patch.Upstream
|
||||
@@ -448,10 +464,17 @@ package/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch lib_
|
||||
package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch lib_patch.Upstream
|
||||
package/efl/0003-ecore_fb-fix-build-with-tslib.patch lib_patch.Upstream
|
||||
package/eigen/0001-Adds-new-CMake-Options-for-controlling-build-compone.patch lib_patch.Upstream
|
||||
package/ejabberd/0001-Makefile.in-do-not-download-or-compile-dependencies.patch lib_patch.Upstream
|
||||
package/ejabberd/0002-fix-ejabberdctl.patch lib_patch.Upstream
|
||||
package/ejabberd/0003-correct-includes.patch lib_patch.Upstream
|
||||
package/ejabberd/S50ejabberd Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/ejabberd/check-erlang-lib Shellcheck
|
||||
package/elftosb/0001-fixes-includes.patch lib_patch.Upstream
|
||||
package/elftosb/0002-force-cxx-compiler.patch lib_patch.Upstream
|
||||
package/elfutils/0001-Add-a-enable-disable-progs-configure-option.patch lib_patch.Upstream
|
||||
package/elfutils/0002-Really-make-Werror-conditional-to-BUILD_WERROR.patch lib_patch.Upstream
|
||||
package/erlang-p1-sip/0001-correct-include.patch lib_patch.Upstream
|
||||
package/erlang-p1-xmpp/0001-fix-includes.patch lib_patch.Upstream
|
||||
package/erlang-rebar/0001-src-rebar_port_compiler-add-fPIC-to-LDFLAGS-by-defau.patch lib_patch.Upstream
|
||||
package/espeak/0001-Fix-build-of-shared-library-on-architectures-needing.patch lib_patch.Upstream
|
||||
package/espeak/0002-tr_languages-cast-string_ordinal-init-values.patch lib_patch.Upstream
|
||||
@@ -475,6 +498,13 @@ package/fbterm/0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch lib_p
|
||||
package/fbterm/0002-mouse.cpp-fix-musl-compile.patch lib_patch.Upstream
|
||||
package/fbterm/0003-C++11-compliance.patch lib_patch.Upstream
|
||||
package/fbterm/0004-iconv.patch lib_patch.Upstream
|
||||
package/fbv/0001-cross.patch lib_patch.Sob lib_patch.Upstream
|
||||
package/fbv/0002-fix-24bpp-support-on-big-endian.patch lib_patch.Sob lib_patch.Upstream
|
||||
package/fbv/0003-fix-bgr555.patch lib_patch.Upstream
|
||||
package/fbv/0004-giflib.patch lib_patch.Upstream
|
||||
package/fbv/0005-include.patch lib_patch.Sob lib_patch.Upstream
|
||||
package/fbv/0006-libpng15.patch lib_patch.Upstream
|
||||
package/fbv/0007-gif.c-fic-build-with-gcc-10.patch lib_patch.Upstream
|
||||
package/fcgiwrap/0001-use-LIBS-from-configure.patch lib_patch.Upstream
|
||||
package/fcgiwrap/0002-link-with-libsystemd-instead-of-libsystemd-daemon.patch lib_patch.Upstream
|
||||
package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch lib_patch.Upstream
|
||||
@@ -553,6 +583,7 @@ package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch lib_p
|
||||
package/gob2/0001-dont-include-from-prefix.patch lib_patch.Upstream
|
||||
package/gobject-introspection/0001-disable-tests.patch lib_patch.Upstream
|
||||
package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch lib_patch.Upstream
|
||||
package/gobject-introspection/0003-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch lib_patch.Upstream
|
||||
package/gpsd/S50gpsd Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch lib_patch.Upstream
|
||||
package/graphite2/0001-don-t-install-a-libtool-file-with-static-library.patch lib_patch.Upstream
|
||||
@@ -572,6 +603,8 @@ package/heirloom-mailx/0001-fix-libressl-support.patch lib_patch.Upstream
|
||||
package/hplip/0001-build-use-pkg-config-to-discover-libusb.patch lib_patch.Upstream
|
||||
package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch lib_patch.Upstream
|
||||
package/htpdate/S43htpdate Shellcheck
|
||||
package/httping/0001-fix-math-library-linking.patch lib_patch.Upstream
|
||||
package/httping/0002-Makefile-allow-build-without-gettext.patch lib_patch.Upstream
|
||||
package/i2pd/S99i2pd Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/i7z/0001-fix-build-with-gcc-10.patch lib_patch.Upstream
|
||||
package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch lib_patch.Upstream
|
||||
@@ -678,6 +711,7 @@ package/libftdi1/0003-CMakeLists.txt-fix-static-build-with-libusb-and-lato.patch
|
||||
package/libfuse/0001-fix-aarch64-build.patch lib_patch.Upstream
|
||||
package/libfuse/0002-util-ulockmgr_server-c-conditionally-define-closefrom-fix-glibc-2-34.patch lib_patch.Upstream
|
||||
package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch lib_patch.Upstream
|
||||
package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch lib_patch.Upstream
|
||||
package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch lib_patch.Upstream
|
||||
package/libgsm/0001-Misc-fixes-from-Archlinux.patch lib_patch.Upstream
|
||||
package/libgtk2/0001-reduce-dependencies.patch lib_patch.Upstream
|
||||
@@ -824,6 +858,7 @@ package/lugaru/0001-ImageIO-fix-invalid-conversion.patch lib_patch.Upstream
|
||||
package/lugaru/0002-Fix-mismatched-usage-length-build-fail-on-g.patch lib_patch.Upstream
|
||||
package/lvm2/0001-cmdline-use-freopen-to-reopen-standard-streams.patch lib_patch.Upstream
|
||||
package/lvm2/0002-log-use-freopen-to-reopen-standard-streams.patch lib_patch.Upstream
|
||||
package/lz4/0001-build-Support-BUILD_SHARED-no.patch lib_patch.Upstream
|
||||
package/lzma/0001-Remove-static-from-LDFLAGS.patch lib_patch.Upstream
|
||||
package/lzop/0001-allow-overriding-modification-time.patch lib_patch.Upstream
|
||||
package/macchanger/0001-Fix-missing-include-for-caddr_t.patch lib_patch.Upstream
|
||||
@@ -935,6 +970,7 @@ package/nss-pam-ldapd/S45nslcd Shellcheck lib_sysv.EmptyLastLine lib_sysv.Indent
|
||||
package/ntp/0001-ntp-syscalls-fallback.patch lib_patch.Upstream
|
||||
package/ntp/S49ntp.in lib_sysv.Variables
|
||||
package/ntpsec/0001-wscript-remove-checks-for-bsd-string.h-fixes-host-co.patch lib_patch.Upstream
|
||||
package/numactl/0001-link-with-latomic-if-needed-again.patch lib_patch.Upstream
|
||||
package/nuttcp/0001-susv3-legacy.patch lib_patch.Upstream
|
||||
package/nvidia-driver/0001-use-LDFLAGS.patch lib_patch.Upstream
|
||||
package/octave/0001-Fix-BLAS-library-integer-size-detection.patch lib_patch.Upstream
|
||||
@@ -1022,6 +1058,7 @@ package/pistache/0001-src-common-transport.cc-fallback-value-for-RUSAGE_TH.patch
|
||||
package/pistache/0002-src-server-listener.cc-fix-libressl-build.patch lib_patch.Upstream
|
||||
package/pixman/0001-Disable-tests.patch lib_patch.Upstream
|
||||
package/pkgconf/0001-Only-prefix-with-the-sysroot-a-subset-of-variables.patch lib_patch.Upstream
|
||||
package/pkgconf/0002-Revert-main-assume-modversion-insted-of-version-if-o.patch lib_patch.Upstream
|
||||
package/pkgconf/pkg-config.in Shellcheck
|
||||
package/poke/0001-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch lib_patch.Upstream
|
||||
package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch lib_patch.Upstream
|
||||
@@ -1048,6 +1085,9 @@ package/pulseaudio/0001-shm.c-use-_Static_assert-instead-of-static_assert-fo.pat
|
||||
package/pulseaudio/S50pulseaudio lib_sysv.ConsecutiveEmptyLines lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables
|
||||
package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch lib_patch.Upstream
|
||||
package/pulseview/0002-Fix-broken-build-due-to-C-template-behind-C-linkage.patch lib_patch.Upstream
|
||||
package/python-aiohttp-remotes/0001-Fix-flit_core-build-requires-backend.patch lib_patch.Upstream
|
||||
package/python-automat/0001-Remove-uneeded-dependency-to-wheel.patch lib_patch.Upstream
|
||||
package/python-daphne/0001-remove-pytest-runner-requirement.patch lib_patch.Upstream
|
||||
package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch lib_patch.Upstream
|
||||
package/python-pylibftdi/0001-do-not-use-find-library.patch lib_patch.Upstream
|
||||
package/python-pyqt5/0001-configure-skip-qtdetail.patch lib_patch.Upstream
|
||||
@@ -1116,6 +1156,7 @@ package/ripgrep/0001-puts-jemalloc-allocator-behind-a-cargo-feature-flag.patch l
|
||||
package/riscv-isa-sim/0001-riscv-disable-precompiled-headers.patch lib_patch.Upstream
|
||||
package/rng-tools/S21rngd Shellcheck lib_sysv.Variables
|
||||
package/rocksdb/0001-build_tools-build_detect_platform-fix-C-tests.patch lib_patch.Upstream
|
||||
package/rp-pppoe/0001-src-pppoe.h-fix-build-with-musl-libc.patch lib_patch.Upstream
|
||||
package/rpcbind/0001-Remove-yellow-pages-support.patch lib_patch.Upstream
|
||||
package/rpcbind/S30rpcbind lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables
|
||||
package/rpi-userland/0001-Add-.pc-files-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch lib_patch.Upstream
|
||||
@@ -1136,10 +1177,13 @@ package/samba4/0001-build-find-pre-built-heimdal-build-tools-in-case-of-.patch l
|
||||
package/samba4/0002-ldap_message_test.c-include-stdint.h-before-cmoka.h.patch lib_patch.Upstream
|
||||
package/samba4/S91smb Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
package/sane-backends/0001-sane_backend-add-missing-config.h.patch lib_patch.Upstream
|
||||
package/screen/0001-Do-not-create-backup-of-old-installed-binary.patch lib_patch.Upstream
|
||||
package/screen/0002-Change-binary-permission-flags-even-if-chown-fails.patch lib_patch.Upstream
|
||||
package/screen/0003-Support-overriding-SCREEN-to-get-a-non-versioned-bin.patch lib_patch.Upstream
|
||||
package/screen/0004-Renamed-sched.h-to-eventqueue.h.patch lib_patch.Upstream
|
||||
package/screen/0001-Do-not-use-memcpy-as-an-alternative-for-bcopy-memmov.patch lib_patch.Upstream
|
||||
package/screen/0002-Do-not-create-backup-of-old-installed-binary.patch lib_patch.Upstream
|
||||
package/screen/0003-Change-binary-permission-flags-even-if-chown-fails.patch lib_patch.Upstream
|
||||
package/screen/0004-Support-overriding-SCREEN-to-get-a-non-versioned-bin.patch lib_patch.Upstream
|
||||
package/screen/0005-Renamed-sched.h-to-eventqueue.h.patch lib_patch.Upstream
|
||||
package/screen/0006-comm.h-now-depends-on-term.h.patch lib_patch.Upstream
|
||||
package/screen/0007-comm.h-needed-for-list_-display-generic-.o.patch lib_patch.Upstream
|
||||
package/scrub/0001-configure-ac-make-sure-m4-macros-are-included-in-the-build.patch lib_patch.Upstream
|
||||
package/sdl/0001-use-correct-directfb-config.patch lib_patch.Upstream
|
||||
package/sdl/0002-fix-compilation-with-libx11.patch lib_patch.Upstream
|
||||
@@ -1257,6 +1301,7 @@ package/uemacs/01-clear-ixon-termios-flag.patch lib_patch.Upstream
|
||||
package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch lib_patch.Upstream
|
||||
package/uhttpd/0001-Remove-Werror.patch lib_patch.Upstream
|
||||
package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch lib_patch.Upstream
|
||||
package/umtprd/0001-Fix-output_dir-make-dependency.patch lib_patch.Upstream
|
||||
package/unbound/S70unbound Shellcheck
|
||||
package/unifdef/0001-Makefile-fix-error-on-install.patch lib_patch.Upstream
|
||||
package/unscd/S46unscd Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
@@ -1315,6 +1360,7 @@ package/waffle/0003-drop-C-dependency.patch lib_patch.Upstream
|
||||
package/wampcc/0001-Add-RISC-V-endian-detection.patch lib_patch.Upstream
|
||||
package/wampcc/0002-include-wampcc-platform.h-fix-build-with-musl-1.2.0.patch lib_patch.Upstream
|
||||
package/wampcc/0003-Broken-build-on-Windows.patch lib_patch.Upstream
|
||||
package/watchdogd/S01watchdogd NotExecutable lib_sysv.Indent
|
||||
package/wget/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch lib_patch.Upstream
|
||||
package/wilc-driver/0001-cfg80211.c-fix-missing-prandom_u32-with-Linux-6.1.0.patch lib_patch.Upstream
|
||||
package/wilc-driver/0002-spi.c-fix-build-failure-on-remove-callback.patch lib_patch.Upstream
|
||||
@@ -1323,6 +1369,7 @@ package/wilc-driver/0004-Fix-struct-station_parameters-Linux-6.1-build-failur.pa
|
||||
package/wilc-driver/0005-Fix-cast-warnings.patch lib_patch.Upstream
|
||||
package/wipe/0001-musl.patch lib_patch.Upstream
|
||||
package/wireless_tools/0001-remove-bzero.patch lib_patch.Upstream
|
||||
package/wireshark/0001-cmake-lemon-wipe-CMAKE_-EXE_LINKER_FLAGS-SYSROOT-if-.patch lib_patch.Upstream
|
||||
package/woff2/0001-CMake-Handle-multiple-libraries-being-returned-for-B.patch lib_patch.Upstream
|
||||
package/wpa_supplicant/ifupdown.sh Shellcheck
|
||||
package/x11r7/xapp_luit/0001-posix-openpt.patch lib_patch.Upstream
|
||||
@@ -1349,10 +1396,15 @@ package/x11r7/xdriver_xf86-video-nouveau/0001-nouveau-fixup-driver-for-new-X-ser
|
||||
package/x11r7/xdriver_xf86-video-tdfx/0001-cross.patch lib_patch.Upstream
|
||||
package/x11r7/xserver_xorg-server/0001-include-misc.h-fix-uClibc-build.patch lib_patch.Upstream
|
||||
package/x11r7/xserver_xorg-server/S40xorg Shellcheck lib_sysv.Variables
|
||||
package/x11vnc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch lib_patch.Upstream
|
||||
package/x11vnc/0002-scan-limit-access-to-shared-memory-segments-to-current-user.patch lib_patch.Upstream
|
||||
package/xen/0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch lib_patch.Upstream
|
||||
package/xen/0002-Fix-build-with-64-bits-time_t.patch lib_patch.Upstream
|
||||
package/xen/0003-libs-light-fix-tv_sec-printf-format.patch lib_patch.Upstream
|
||||
package/xen/0004-libs-light-fix-tv_sec-fprintf-format.patch lib_patch.Upstream
|
||||
package/xenomai/3.0.10/0001-lib-boilerplate-iniparser-Allow-building-with-GCC-10-2-2020101.patch lib_patch.Upstream
|
||||
package/xenomai/3.0.10/0002-Add-disable-demo-testsuite-options.patch lib_patch.Upstream
|
||||
package/xenomai/3.0.10/0003-lib-cobalt-copperplate-Use-valid-addresses-for-pthread_setspecific.patch lib_patch.Upstream
|
||||
package/xinetd/0001-ar.patch lib_patch.Upstream
|
||||
package/xinetd/0002-destdir.patch lib_patch.Upstream
|
||||
package/xinetd/0003-rpc-fix.patch lib_patch.Upstream
|
||||
|
||||
@@ -1,162 +1,3 @@
|
||||
2024.11.3, released March 24st, 2025
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Defconfigs: Octavo osd23mp1: Fix TF-A/Linux compilation after
|
||||
move to newer toolchain versions.
|
||||
|
||||
Updated/fixed packages: compiler-rt, exim, expat, fio, foot,
|
||||
go, jbig2dec, libcamera, libjxl, libopenssl, libxml2, mokutil,
|
||||
musl, optee-os, php, pkgconf, postgresql, prboom,
|
||||
python-typing-extensions, rauc, systemd, util-linux,
|
||||
watchdogd, webkitgtk
|
||||
|
||||
2024.11.2, released February 21st, 2025
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Infrastructure: support/script/genimage.sh: exit on errors
|
||||
|
||||
Defconfigs: ti_am62ax_sk: Include PMIC driver to fix boot
|
||||
issue
|
||||
|
||||
Updated/fixed packages: acpica, apache, assimp, asterisk,
|
||||
bind, busybox, clamav, curlpp, dillo, elfutils, fakeroot,
|
||||
ffmpeg, freetype, git, glibc, gnu-efi, gnutls, go, gpsd,
|
||||
heimdal, imagemagick, intel-microcode, kodi, libbsd, libcurl,
|
||||
libopenssl, libtasn1, libxml2, mdnsd, mpg123, musl, nettle,
|
||||
nginx, nodejs, openjpeg, openssh, openvpn, php, pipewire,
|
||||
postgresql, python-django, python3, redis, rsync, socat,
|
||||
swipl, syslinux, tor, tzdata, uclibc, uemacs, unbound,
|
||||
usbutils, util-linux, webkitgtk, xen, zic, zlog, zstd,
|
||||
zxing-cpp
|
||||
|
||||
Issues resolved:
|
||||
- samba4 build failed in master
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/86
|
||||
|
||||
2024.11.1, released January 9th, 2025
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Infrastructure:
|
||||
|
||||
- Ensure CONFIG_TRIM_UNUSED_KSYMS is disabled when building
|
||||
external Linux kernel modules
|
||||
|
||||
Updated/fixed packages: apr, bc, bluez5_utils, c-icap,
|
||||
cryptodev-linux, dahdi-linux, dpdk, freeipmi, gdb, gnupg2,
|
||||
gnuplot, gnutls, go, gobject-introspection, grub2, gst-omx,
|
||||
gst1-devtools, gst1-libav, gst1-plugins-bad,
|
||||
gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly,
|
||||
gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1,
|
||||
gstreamer1-editing-services, igt-gpu-tools, iperf3, libcurl,
|
||||
libsha1, libsndfile, libsoup3, libvirt, libxcrypt, libxml2,
|
||||
libzenoh-pico, linux, linux-pam, netatalk, nettle, octave,
|
||||
opensc, perl, php, pixman, polkit, procps-ng,
|
||||
python-autocommand, python-django, python3, quickjs, samba4,
|
||||
skeleton, subversion, ti-k3-r5-loader, tzdata, v4l2loopback,
|
||||
wayland, webkitgtk, weston, wget, wireshark, wpewebkit,
|
||||
xr819-xradio, xxhash, zfs, zic
|
||||
|
||||
Issues resolved:
|
||||
- bluetooth.service cannot connect to D-BUS
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/65
|
||||
- gdb package doesn't have a licence hash in the gdb.hash file
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/66
|
||||
- package/libsha1: Build failure with GCC 14 [-Wimplicit-int]
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/69
|
||||
|
||||
2024.11, released December 8th, 2024
|
||||
|
||||
Various fixes.
|
||||
|
||||
Updated/fixed packages: eza, foot, gnutls, ibm-sw-tpm2,
|
||||
mosquitto, pixman
|
||||
|
||||
Issues resolved:
|
||||
- procps-ng: builderror in 2024.08
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/38
|
||||
|
||||
2024.11-rc3, released Decemmber 5th, 2024
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: alsa-lib, android-tools, bats-core,
|
||||
doxygen, frr, gnutls, libvpl, linux-tools, lmbench, lrzsz,
|
||||
musl, nfs-utils, opkg, polkit, postgresql, procps-ng,
|
||||
python-psycopg2, quagga, rt-tests, rust, sexpect
|
||||
|
||||
2024.11-rc2, released November 23rd, 2024
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: bmap-tools, go, intel-microcode,
|
||||
libblockdev, libcurl, libkrb5, libnvme, libpng, php,
|
||||
postgresql, python-sip, skopeo, tiff, util-linux-libs
|
||||
|
||||
2024.11-rc1, released November 13th, 2024
|
||||
|
||||
Fixes all over the tree and package updates.
|
||||
|
||||
Toolchain:
|
||||
|
||||
- binutils 2.43 added, binutils 2.42 becomes the default.
|
||||
- glibc updated to 2.40
|
||||
- ARM, Bootlin and Synopsys external toolchains updated
|
||||
- Support added for ARM FDPIC, which allows to use shared
|
||||
libraries on ARM noMMU targets
|
||||
|
||||
Go support: allow using a pre-built Go compiler, using the new
|
||||
go-bin package.
|
||||
|
||||
New defconfigs: friendlyarm_nanopi_neo, nvidia_bf3,
|
||||
stm32f746_disco_sd, ti_am62px_sk, versal_vek280
|
||||
|
||||
Removed defconfigs: qemu_nios2_10m50
|
||||
|
||||
New packages: andes-spi-burn, bfscripts, cpp-httplib, dlib,
|
||||
dpdk, evilwm, go-bin, iana-assignments, iotools, lua-uuid,
|
||||
oath-toolkit, perl-mime-base32, python-aiohappyeyeballs,
|
||||
python-aiomqtt, python-argcomplete, python-dotenv,
|
||||
python-dunamai, python-immutabledict, python-iterable-io,
|
||||
python-path, python-poetry-dynamic-versioning,
|
||||
python-propcache, python-proto-plus, python-psygnal,
|
||||
python-pyaml, python-pydantic-settings, python-pyqt5-sip,
|
||||
python-pysnmpcrypto, python-rgbmatrix, python-sdbus,
|
||||
python-sdbus-networkmanager, python-simple-websocket,
|
||||
python-tinyhtml5, python-zipstream-ng, qt6charts, qt6scxml,
|
||||
superiotool, tailscale, tinyinit, uefisettings
|
||||
|
||||
Removed packages: bsdiff, popperjs
|
||||
|
||||
Added tests: erofs filesystem, audit, dosfstools, dtc,
|
||||
exfatprogs, go-bin, iputils, oath-toolkit, parted, pppd, pv,
|
||||
pyqt5, python-sdbus, python-sdbus-networkmanager, rrdtool,
|
||||
unbound, which
|
||||
|
||||
Issues resolved:
|
||||
- host rpath fixups misses needed directory
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/39
|
||||
- procps-ng: build failure when linking to systemd
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/28
|
||||
- ripgrep leaves /usr/crates2.json / .crates.toml files
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/17
|
||||
|
||||
2024.08.2, released November 14th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Updated/fixed packages: apache, asterisk, bind, cmake, criu,
|
||||
file, fluidsynth, ghostscript, heimdal, intel-microcode,
|
||||
iproute2, jailhouse, jsoncpp, libarchive, libcurl, libldns,
|
||||
libgit2, liblinear, libmdbx, libopenh264, libpng,
|
||||
libtraceevent, libxml2, ltrace, nethogs, nghttp2, ntp,
|
||||
openjdk, php, postgresql,procps-ng, python-pyqt5, python3,
|
||||
qemu, ruby, sqlite, sysvinit, tor, trace-cmd, wpebackend-fdo
|
||||
|
||||
New packages: python-pyqt5-sip
|
||||
|
||||
2024.08.1, released October 20th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
@@ -327,44 +168,6 @@
|
||||
- Can't subscribe buildroot mailing list
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/25
|
||||
|
||||
2024.05.3, released September 9th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
A large number of GCC 14.x compilation fixes and additional
|
||||
runtime tests.
|
||||
|
||||
Infrastructure:
|
||||
- Be more robust against text files (for package hashes and
|
||||
users) incorrectly missing a terminating newline.
|
||||
|
||||
- Fix various issues with the pkg-kconfig infrastructure and
|
||||
per-package-directories builds
|
||||
(BR2_PER_PACKAGE_DIRECTORIES).
|
||||
|
||||
Updated/fixed packages: aer-inject, am335x-pru-package,
|
||||
apache, apr, apr-util, attr, augeas, autossh, bandwidthd,
|
||||
bcusdk, boost, brcm-patchram-plus, btrfs-progs, busybox,
|
||||
can-utils, coreutils, cpuload, cryptsetup, cwiid, dhrystone,
|
||||
dvb-apps, elfutils, faifa, fetchmail, ffmpeg, fluent-bit,
|
||||
fluidsynth, freerdp, gcc, gcc-bare-metal, gdb, gnutls, gpsd,
|
||||
hiawatha, hostapd, htop, ibm-sw-tpm2, intel-microcode, iperf3,
|
||||
iproute2, ksmbd-tools, libcli, libcoap, libcurl, libest,
|
||||
libfreefare, libgtk3, libngs, libpwquality, libressl, libupnp,
|
||||
libxml2, libxslt, lrzsz, mdio-tools, micropython,
|
||||
mjpg-streamer, mokutil, mpir, ncftp, nginx, nodejs, odb,
|
||||
open-iscsi, openldap, openswan, openvpn, pistache, procps-ng,
|
||||
python-django, quotatool, rtty, ruby, sconeserver, speex,
|
||||
swaybg, tar, tftpd, tinyssh, uclibc, uclibc-ng-test, unbound,
|
||||
uuu, vorbus-tools, wpewebkit, zfs, zsh
|
||||
|
||||
Issues resolved:
|
||||
- TAR-1.35 will not build for target (host-variant will build)
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/4
|
||||
- Toolchain (host-gcc-final-14.1.0) build failure with
|
||||
y2038/BR2_TIME_BITS_64 enabled
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/16
|
||||
|
||||
2024.05.2, released August 14th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
@@ -535,88 +338,6 @@
|
||||
#16036: android-tools version is too old
|
||||
#16075: Cannot use linux kernel extensions from external tree..
|
||||
|
||||
2024.02.8, released November 14th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Updated/fixed packages: apache, asterisk, bind, bootgen, criu,
|
||||
file, fluidsynth, ghostscript, heimdal, intel-microcode,
|
||||
jailhouse, jsoncpp, libarchive, libcurl, libldns, liblinear,
|
||||
libmdbx, libopenh264, ltrace, lightning, nghttp2, ntp, php,
|
||||
postgresql, procps-ng, python-pyqt5, ruby, sysvinit, tor,
|
||||
wpebackend-fdo
|
||||
|
||||
New packages: python-pyqt5-sip
|
||||
|
||||
2024.02.7, released October 21th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Per-package-directories fixes for the .gdbinit file and RPATH
|
||||
fixups for SDK.
|
||||
|
||||
utils/check-package: Also check for correct indentation of
|
||||
help lines.
|
||||
|
||||
A large number of typo fixes.
|
||||
|
||||
Updated/fixed packages: aer-inject, armadillo, asterisk,
|
||||
aumix, babeld, bind, botan, cache-calibrator, clamav,
|
||||
comix-cursors, cryptsetup, cups, dovecot, dovecot-pigeonhole,
|
||||
expat, fbset, genpart, glibc, gnu-efi, gnutls, go, grub2,
|
||||
libarchive, libcuefile, libcurl, libglob, libgpg-error,
|
||||
libilbc, libkcapi, libopenssl, libpcap, libuecc, linux-pam,
|
||||
mosquitto, nginx, ntpsec, p910nd, php, postgresql, procps-ng,
|
||||
proftpd, pure-ftpd, python-django, python-huepy,
|
||||
python-sqlparse, python-unittest-xml-reporting, python3,
|
||||
qt6base, qt6svg, rp-pppoe, sofia-sip, strongswan, szip,
|
||||
tllist, unbound, wpebackend-fdo, wpewebkit, x264, xenomai,
|
||||
xserver_xorg-server, zabbix
|
||||
|
||||
New packages: go-bootstrap-stage3
|
||||
|
||||
Issues resolved:
|
||||
- procps-ng: build failure when linking to systemd
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/28
|
||||
- orange pi 2w does not boot
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/36
|
||||
- glibc configure fails on aarch64 with mathvec SVE ACLE error
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/40
|
||||
- Kernel Build from Custom Git Repo fails with hash-error
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/46
|
||||
- package/linux-pam: Remove unneeded flex dependency
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/47
|
||||
|
||||
2024.02.6, released September 9th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Added a large number of additional runtime tests.
|
||||
|
||||
Infrastructure:
|
||||
- Be more robust against text files (for package hashes and
|
||||
users) incorrectly missing a terminating newline.
|
||||
|
||||
- Fix various issues with the pkg-kconfig infrastructure and
|
||||
per-package-directories builds
|
||||
(BR2_PER_PACKAGE_DIRECTORIES).
|
||||
|
||||
Updated/fixed packages: aer-inject, am335x-pru-package,
|
||||
apache, apr, apr-util, attr, boost, btrfs-progs, busybox,
|
||||
cryptsetup, dropbear, elfutils, fetchmail, ffmpeg, fluidsynth,
|
||||
freerdp, gcc, gdb, gnutls, gpsd, hiawatha, hostapd, htop,
|
||||
intel-microcode, iperf3, ksmbd-tools, libcoap, libcurl,
|
||||
libest, libgtk3, libpwquality, libressl, libupnp, libxml2,
|
||||
libxslt, lrzsz, mdio-tools, micropython, mjpg-streamer, mpir,
|
||||
ncftp, nginx, nodejs, open-iscsi, openldap, openvpn, pistache,
|
||||
procps-ng, python-django, ruby, speex, swaybg, tinyssh,
|
||||
uclibc, uclibc-ng-test, unbound, uuu, wpewebkit, zfs
|
||||
|
||||
Issues resolved:
|
||||
- Toolchain (host-gcc-final-14.1.0) build failure with
|
||||
y2038/BR2_TIME_BITS_64 enabled
|
||||
https://gitlab.com/buildroot.org/buildroot/-/issues/16
|
||||
|
||||
2024.02.5, released August 14th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
@@ -6,15 +6,6 @@ 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"
|
||||
@@ -294,7 +285,7 @@ config BR2_KERNEL_MIRROR
|
||||
|
||||
config BR2_GNU_MIRROR
|
||||
string "GNU Software mirror"
|
||||
default "https://ftpmirror.gnu.org"
|
||||
default "http://ftpmirror.gnu.org"
|
||||
help
|
||||
GNU has multiple software mirrors scattered around the
|
||||
world. The following allows you to select your preferred
|
||||
@@ -972,7 +963,7 @@ config BR2_FORTIFY_SOURCE_2
|
||||
# gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164
|
||||
depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
||||
help
|
||||
This option sets _FORTIFY_SOURCE to 2 and some more
|
||||
This option sets _FORTIFY_SOURCES to 2 and some more
|
||||
checking is added, but some conforming programs might fail.
|
||||
Also adds checks at run-time (detected buffer overflow
|
||||
terminates the program)
|
||||
@@ -981,7 +972,7 @@ config BR2_FORTIFY_SOURCE_3
|
||||
bool "Extended"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_12
|
||||
help
|
||||
This option sets _FORTIFY_SOURCE to 3 and even more
|
||||
This option sets _FORTIFY_SOURCES to 3 and even more
|
||||
checking is added compared to level 2. Extends checks at
|
||||
run-time that can introduce an additional performance
|
||||
overhead.
|
||||
|
||||
@@ -144,95 +144,6 @@ endif
|
||||
|
||||
###############################################################################
|
||||
|
||||
comment "Legacy options removed in 2024.11"
|
||||
|
||||
config BR2_PACKAGE_BSDIFF
|
||||
bool "bsdiff has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The bsdiff package was removed as it is not maintained
|
||||
anymore (no commit since 2014).
|
||||
|
||||
config BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP
|
||||
bool "BR2_PACKAGE_PROCPS_NS_ORIGINAL_TOP has been renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP
|
||||
help
|
||||
The option has been renamed to
|
||||
BR2_PACKAGE_PROCPS_NG_ORIGINAL_TOP.
|
||||
|
||||
config BR2_PACKAGE_QEMU_TARGET_NIOS2
|
||||
bool "qemu nios2 support has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
NIOS2 support has been removed since Qemu 9.1.0.
|
||||
|
||||
config BR2_PACKAGE_POPPERJS
|
||||
bool "popperjs has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The project has been renamed to floating-ui.
|
||||
|
||||
config BR2_KERNEL_HEADERS_6_10
|
||||
bool "kernel headers version 6.10.x are no longer supported"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Version 6.10.x of the Linux kernel headers are no longer
|
||||
maintained upstream and are now removed.
|
||||
|
||||
config BR2_PACKAGE_IPMITOOL_PEN_REG_URI
|
||||
string "IANA PEN registry moved to iana-assignment package"
|
||||
help
|
||||
Installation of the IANA PEN is now handled by the
|
||||
iana-assignment package; to install a custom PEN,
|
||||
use a rootfs-overlay for example.
|
||||
|
||||
config BR2_PACKAGE_IPMITOOL_PEN_REG_URI_WRAP
|
||||
bool
|
||||
default y if BR2_PACKAGE_IPMITOOL_PEN_REG_URI != ""
|
||||
select BR2_LEGACY
|
||||
|
||||
config BR2_PACKAGE_ERLANG_P1_YAML
|
||||
bool "erlang-p1-yaml has been renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_ERLANG_FAST_YAML
|
||||
help
|
||||
The erlang-p1-yaml package has been renamed to
|
||||
erlang-fast-yaml.
|
||||
|
||||
config BR2_PACKAGE_ERLANG_P1_XMPP
|
||||
bool "erlang-p1-xmpp has been renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_ERLANG_XMPP
|
||||
help
|
||||
The erlang-p1-xmpp package has been renamed to erlang-xmpp.
|
||||
|
||||
config BR2_PACKAGE_ERLANG_P1_XML
|
||||
bool "erlang-p1-xml has been renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_ERLANG_FAST_XML
|
||||
help
|
||||
The erlang-p1-xml package has been renamed to erlang-fast-xml.
|
||||
|
||||
config BR2_PACKAGE_ERLANG_P1_STUN
|
||||
bool "erlang-p1-stun has been renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_ERLANG_STUN
|
||||
help
|
||||
The erlang-p1-stun package has been renamed to erlang-stun.
|
||||
|
||||
config BR2_PACKAGE_FBV_GIF
|
||||
bool "fbv GIF support has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Fbv GIF support has been removed, use PNG, BMP or JPEG.
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_40_X
|
||||
bool "binutils 2.40 has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
binutils 2.40 has been removed, use a newer version.
|
||||
|
||||
comment "Legacy options removed in 2024.08"
|
||||
|
||||
config BR2_PACKAGE_MIDORI
|
||||
|
||||
+95
-102
@@ -81,9 +81,6 @@ F: package/libmbim/
|
||||
F: package/libqmi/
|
||||
F: package/modem-manager/
|
||||
|
||||
N: Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
|
||||
F: package/cpp-httplib/
|
||||
|
||||
N: Alessandro Partesotti <a.partesotti@gmail.com>
|
||||
F: package/oatpp/
|
||||
|
||||
@@ -177,7 +174,7 @@ F: package/wine/
|
||||
N: Andreas Klinger <ak@it-klinger.de>
|
||||
F: package/ply/
|
||||
|
||||
N: Andreas Naumann <dev@andin.de>
|
||||
N: Andreas Naumann <ANaumann@ultratronik.de>
|
||||
F: package/evemu/
|
||||
F: package/libevdev/
|
||||
F: package/pkg-qmake.mk
|
||||
@@ -242,7 +239,11 @@ F: package/sysdig/
|
||||
|
||||
N: Andy Shevchenko <andy.shevchenko@gmail.com>
|
||||
F: package/fb-test-app/
|
||||
F: package/iotools/
|
||||
|
||||
N: Anisse Astier <anisse@astier.eu>
|
||||
F: package/go/
|
||||
F: package/nghttp2/
|
||||
F: package/pkg-golang.mk
|
||||
|
||||
N: Anthony Viallard <viallard@syscom-instruments.com>
|
||||
F: package/gnuplot/
|
||||
@@ -282,6 +283,18 @@ F: package/python-bottle/
|
||||
F: package/sqlcipher/
|
||||
F: package/stress/
|
||||
|
||||
N: Asaf Kahlon <asafka7@gmail.com>
|
||||
F: package/collectd/
|
||||
F: package/libfuse3/
|
||||
F: package/libuv/
|
||||
F: package/python*
|
||||
F: package/snmpclitools/
|
||||
F: package/spdlog/
|
||||
F: package/uftp/
|
||||
F: package/uftrace/
|
||||
F: package/uvw/
|
||||
F: package/zeromq/
|
||||
|
||||
N: Ash Charles <ashcharles@gmail.com>
|
||||
F: package/pru-software-support/
|
||||
F: package/ti-cgt-pru/
|
||||
@@ -304,6 +317,7 @@ F: package/git/
|
||||
N: Bartosz Bilas <b.bilas@grinn-global.com>
|
||||
F: board/stmicroelectronics/stm32mp157a-dk1/
|
||||
F: configs/stm32mp157a_dk1_defconfig
|
||||
F: package/cegui/
|
||||
F: package/log4qt/
|
||||
F: package/python-esptool/
|
||||
F: package/python-pyaes/
|
||||
@@ -405,6 +419,7 @@ F: package/libfreeglut/
|
||||
F: package/libfribidi/
|
||||
F: package/libg7221/
|
||||
F: package/libglew/
|
||||
F: package/libglfw/
|
||||
F: package/libglu/
|
||||
F: package/libhdhomerun/
|
||||
F: package/libheif/
|
||||
@@ -544,10 +559,6 @@ F: package/vmtouch/
|
||||
F: support/testing/tests/package/test_atftp.py
|
||||
F: support/testing/tests/package/test_zip.py
|
||||
|
||||
N: Brandon Maier <brandon.maier@gmail.com>
|
||||
F: package/dtc/
|
||||
F: support/testing/tests/package/test_dtc*
|
||||
|
||||
N: Brock Williams <brock@cottonwoodcomputer.com>
|
||||
F: package/pdmenu/
|
||||
|
||||
@@ -558,7 +569,6 @@ F: boot/ti-k3-boot-firmware/
|
||||
F: boot/ti-k3-r5-loader/
|
||||
F: configs/beagleplay_defconfig
|
||||
F: configs/ti_am62ax_sk_defconfig
|
||||
F: configs/ti_am62px_sk_defconfig
|
||||
F: configs/ti_am62x_sk_defconfig
|
||||
F: configs/ti_am64x_sk_defconfig
|
||||
|
||||
@@ -589,6 +599,9 @@ F: package/alsa-plugins/
|
||||
N: Changming Huang <jerry.huang@nxp.com>
|
||||
F: package/qoriq-cadence-dp-firmware/
|
||||
|
||||
N: Chris Dimich <chris.dimich@boundarydevices.com>
|
||||
F: package/freescale-imx/imx-vpu-hantro-daemon/
|
||||
|
||||
N: Chris Packham <judge.packham@gmail.com>
|
||||
F: package/coremark/
|
||||
F: package/coremark-pro/
|
||||
@@ -596,9 +609,6 @@ F: package/gstreamer1/gst1-shark/
|
||||
F: package/micropython/
|
||||
F: package/syslog-ng/
|
||||
|
||||
N: Christian Hitz <christian@klarinett.li>
|
||||
F: package/qt6/qt6scxml/
|
||||
|
||||
N: Christian Kellermann <christian.kellermann@solectrix.de>
|
||||
F: package/python-pylibftdi/
|
||||
|
||||
@@ -775,19 +785,14 @@ F: package/xinetd/
|
||||
|
||||
N: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
||||
F: board/bsh/
|
||||
F: board/stmicroelectronics/stm32f746-disco/
|
||||
F: board/stmicroelectronics/stm32f769-disco/
|
||||
F: configs/imx6ulz_bsh_smm_m2_defconfig
|
||||
F: configs/imx8mn_bsh_smm_s2_defconfig
|
||||
F: configs/imx8mn_bsh_smm_s2_pro_defconfig
|
||||
F: configs/stm32f746_disco_sd_defconfig
|
||||
F: configs/stm32f769_disco_sd_defconfig
|
||||
F: package/aespipe/
|
||||
F: package/armadillo/
|
||||
F: package/babeld/
|
||||
F: package/iana-assignments/
|
||||
F: package/sscep/
|
||||
F: package/tinyinit/
|
||||
F: package/uuu/
|
||||
|
||||
N: Dario Binacchi <dariobin@libero.it>
|
||||
@@ -865,10 +870,6 @@ F: package/logsurfer/
|
||||
N: Dominik Michael Rauh <dmrauh@posteo.de>
|
||||
F: package/gdal/
|
||||
|
||||
N: Dong Wang <wangdong115@foxmail.com>
|
||||
F: board/friendlyarm/nanopi-neo/
|
||||
F: configs/friendlyarm_nanopi_neo_defconfig
|
||||
|
||||
N: Doug Kehn <rdkehn@gmail.com>
|
||||
F: package/nss-pam-ldapd/
|
||||
F: package/sp-oops-extract/
|
||||
@@ -918,6 +919,18 @@ N: Eric Limpens <limpens@gmail.com>
|
||||
F: package/pifmrds/
|
||||
F: package/ympd/
|
||||
|
||||
N: Erico Nunes <nunes.erico@gmail.com>
|
||||
F: board/aarch64-efi/
|
||||
F: configs/aarch64_efi_defconfig
|
||||
F: package/acpica/
|
||||
F: package/acpitool/
|
||||
F: package/efibootmgr/
|
||||
F: package/efivar/
|
||||
F: package/fwts/
|
||||
F: package/spi-tools/
|
||||
F: package/xdotool/
|
||||
F: configs/pc_x86_64_*
|
||||
|
||||
N: Erik Larsson <karl.erik.larsson@gmail.com>
|
||||
F: package/imx-mkimage/
|
||||
|
||||
@@ -1089,10 +1102,6 @@ N: Falco Hyfing <hyfinglists@gmail.com>
|
||||
F: package/python-pymodbus/
|
||||
|
||||
N: Fiona Klute <fiona.klute@gmx.de>
|
||||
F: package/*/S*
|
||||
F: package/python-aiomqtt/
|
||||
F: package/python-dunamai/
|
||||
F: package/python-poetry-dynamic-versioning/
|
||||
F: package/python-pyasynchat/
|
||||
F: package/python-pyasyncore/
|
||||
|
||||
@@ -1192,10 +1201,6 @@ N: Frank Vanbever <frank.vanbever@mind.be>
|
||||
F: package/libmodsecurity/
|
||||
F: package/nginx-modsecurity/
|
||||
|
||||
N: Gaël PORTAY <gael.portay+rtone@gmail.com>
|
||||
F: board/raspberrypi/
|
||||
F: configs/raspberrypi*
|
||||
|
||||
N: Gao Xiang <hsiangkao@aol.com>
|
||||
F: package/erofs-utils/
|
||||
|
||||
@@ -1203,7 +1208,6 @@ N: Gary Bisson <bisson.gary@gmail.com>
|
||||
F: board/boundarydevices/
|
||||
F: configs/nitrogen*
|
||||
F: package/freescale-imx/
|
||||
F: package/freescale-imx/imx-vpu-hantro-daemon/
|
||||
F: package/gstreamer1/gst1-imx/
|
||||
F: package/libimxvpuapi/
|
||||
F: package/mfgtools/
|
||||
@@ -1446,18 +1450,7 @@ F: package/axel/
|
||||
F: package/mawk/
|
||||
|
||||
N: J. Neuschäfer <j.neuschaefer@gmx.net>
|
||||
F: package/execline/
|
||||
F: package/mdevd/
|
||||
F: package/python-rgbmatrix/
|
||||
F: package/rpi-rgb-led-matrix/
|
||||
F: package/s6/
|
||||
F: package/s6-linux-init/
|
||||
F: package/s6-linux-utils/
|
||||
F: package/s6-networking/
|
||||
F: package/s6-portable-utils/
|
||||
F: package/s6-rc/
|
||||
F: package/skalibs/
|
||||
F: package/tipidee/
|
||||
F: package/tipidee
|
||||
|
||||
N: Jagan Teki <jagan@amarulasolutions.com>
|
||||
F: board/amarula/
|
||||
@@ -1511,9 +1504,6 @@ F: package/serd/
|
||||
F: package/sord/
|
||||
F: package/sratom/
|
||||
F: package/stb/
|
||||
F: package/superiotool/
|
||||
F: package/tailscale/
|
||||
F: package/uefisettings/
|
||||
F: package/zchunk/
|
||||
F: support/testing/tests/package/sample_python_rtoml.py
|
||||
F: support/testing/tests/package/test_python_rtoml.py
|
||||
@@ -1660,8 +1650,6 @@ N: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
F: package/ejabberd/
|
||||
F: package/erlang-base64url/
|
||||
F: package/erlang-eimp/
|
||||
F: package/erlang-fast-xml/
|
||||
F: package/erlang-fast-yaml/
|
||||
F: package/erlang-goldrush/
|
||||
F: package/erlang-idna/
|
||||
F: package/erlang-jiffy/
|
||||
@@ -1674,12 +1662,14 @@ F: package/erlang-p1-oauth2/
|
||||
F: package/erlang-p1-pkix/
|
||||
F: package/erlang-p1-sip/
|
||||
F: package/erlang-p1-stringprep/
|
||||
F: package/erlang-p1-stun/
|
||||
F: package/erlang-p1-tls/
|
||||
F: package/erlang-p1-utils/
|
||||
F: package/erlang-p1-xml/
|
||||
F: package/erlang-p1-xmpp/
|
||||
F: package/erlang-p1-yaml/
|
||||
F: package/erlang-p1-yconf/
|
||||
F: package/erlang-p1-zlib/
|
||||
F: package/erlang-stun/
|
||||
F: package/erlang-xmpp/
|
||||
F: package/forge/
|
||||
F: package/nginx-dav-ext/
|
||||
F: package/vis-network/
|
||||
@@ -1802,7 +1792,6 @@ F: package/kexec/
|
||||
F: package/libjxl/
|
||||
F: package/libopenmpt/
|
||||
F: package/mokutil/
|
||||
F: package/oath-toolkit/
|
||||
F: package/octave/
|
||||
F: package/ola/
|
||||
F: package/openblas/
|
||||
@@ -1850,7 +1839,6 @@ F: support/testing/tests/package/test_acpica/
|
||||
F: support/testing/tests/package/test_apache.py
|
||||
F: support/testing/tests/package/test_attr.py
|
||||
F: support/testing/tests/package/test_audio_codec_base.py
|
||||
F: support/testing/tests/package/test_audit.py
|
||||
F: support/testing/tests/package/test_bc.py
|
||||
F: support/testing/tests/package/test_bcc.py
|
||||
F: support/testing/tests/package/test_bcc/
|
||||
@@ -1867,9 +1855,6 @@ F: support/testing/tests/package/test_ddrescue.py
|
||||
F: support/testing/tests/package/test_ddrescue/
|
||||
F: support/testing/tests/package/test_dmidecode.py
|
||||
F: support/testing/tests/package/test_dos2unix.py
|
||||
F: support/testing/tests/package/test_dosfstools.py
|
||||
F: support/testing/tests/package/test_dosfstools/
|
||||
F: support/testing/tests/package/test_dpdk.py
|
||||
F: support/testing/tests/package/test_ed.py
|
||||
F: support/testing/tests/package/test_ethtool.py
|
||||
F: support/testing/tests/package/test_ethtool/
|
||||
@@ -1901,7 +1886,6 @@ F: support/testing/tests/package/test_iperf.py
|
||||
F: support/testing/tests/package/test_iperf3.py
|
||||
F: support/testing/tests/package/test_iproute2.py
|
||||
F: support/testing/tests/package/test_iptables.py
|
||||
F: support/testing/tests/package/test_iputils.py
|
||||
F: support/testing/tests/package/test_jailhouse.py
|
||||
F: support/testing/tests/package/test_jq.py
|
||||
F: support/testing/tests/package/test_jq/
|
||||
@@ -1915,7 +1899,6 @@ F: support/testing/tests/package/test_lame.py
|
||||
F: support/testing/tests/package/test_less.py
|
||||
F: support/testing/tests/package/test_libcamera.py
|
||||
F: support/testing/tests/package/test_libcamera/
|
||||
F: support/testing/tests/package/test_libcurl.py
|
||||
F: support/testing/tests/package/test_libgpgme.py
|
||||
F: support/testing/tests/package/test_libjxl.py
|
||||
F: support/testing/tests/package/test_links.py
|
||||
@@ -1951,20 +1934,14 @@ F: support/testing/tests/package/test_ntp.py
|
||||
F: support/testing/tests/package/test_ntp/
|
||||
F: support/testing/tests/package/test_numactl.py
|
||||
F: support/testing/tests/package/test_numactl/
|
||||
F: support/testing/tests/package/test_oath_toolkit.py
|
||||
F: support/testing/tests/package/test_octave.py
|
||||
F: support/testing/tests/package/test_ola.py
|
||||
F: support/testing/tests/package/test_ola/
|
||||
F: support/testing/tests/package/test_openblas.py
|
||||
F: support/testing/tests/package/test_parted.py
|
||||
F: support/testing/tests/package/test_patch.py
|
||||
F: support/testing/tests/package/test_patch/
|
||||
F: support/testing/tests/package/test_pciutils.py
|
||||
F: support/testing/tests/package/test_perftest.py
|
||||
F: support/testing/tests/package/test_pigz.py
|
||||
F: support/testing/tests/package/test_postgresql.py
|
||||
F: support/testing/tests/package/test_pppd.py
|
||||
F: support/testing/tests/package/test_pppd/
|
||||
F: support/testing/tests/package/test_pv.py
|
||||
F: support/testing/tests/package/test_python_distro.py
|
||||
F: support/testing/tests/package/test_python_gnupg.py
|
||||
@@ -1975,13 +1952,10 @@ F: support/testing/tests/package/test_python_midiutil.py
|
||||
F: support/testing/tests/package/test_python_ml_dtypes.py
|
||||
F: support/testing/tests/package/test_python_mpmath.py
|
||||
F: support/testing/tests/package/test_python_pyalsa.py
|
||||
F: support/testing/tests/package/test_python_pyqt5.py
|
||||
F: support/testing/tests/package/test_python_pyqt5/
|
||||
F: support/testing/tests/package/test_python_spake2.py
|
||||
F: support/testing/tests/package/test_python_sympy.py
|
||||
F: support/testing/tests/package/test_rdma_core.py
|
||||
F: support/testing/tests/package/test_rdma_core/
|
||||
F: support/testing/tests/package/test_rrdtool.py
|
||||
F: support/testing/tests/package/test_rt_tests.py
|
||||
F: support/testing/tests/package/test_screen.py
|
||||
F: support/testing/tests/package/test_sed.py
|
||||
@@ -1999,20 +1973,14 @@ F: support/testing/tests/package/test_tesseract_ocr.py
|
||||
F: support/testing/tests/package/test_thttpd.py
|
||||
F: support/testing/tests/package/test_trace_cmd.py
|
||||
F: support/testing/tests/package/test_trace_cmd/
|
||||
F: support/testing/tests/package/test_unbound.py
|
||||
F: support/testing/tests/package/test_unbound/
|
||||
F: support/testing/tests/package/test_usbutils.py
|
||||
F: support/testing/tests/package/test_usbutils/
|
||||
F: support/testing/tests/package/test_vorbis_tools.py
|
||||
F: support/testing/tests/package/test_weston.py
|
||||
F: support/testing/tests/package/test_weston/
|
||||
F: support/testing/tests/package/test_wget.py
|
||||
F: support/testing/tests/package/test_which.py
|
||||
F: support/testing/tests/package/test_wine.py
|
||||
F: support/testing/tests/package/test_xfsprogs.py
|
||||
F: support/testing/tests/package/test_xfsprogs/
|
||||
F: support/testing/tests/package/test_xvisor.py
|
||||
F: support/testing/tests/package/test_xxhash.py
|
||||
F: support/testing/tests/package/test_xz.py
|
||||
F: support/testing/tests/package/test_z3.py
|
||||
F: support/testing/tests/package/test_z3/
|
||||
@@ -2127,6 +2095,11 @@ F: package/python-huepy/
|
||||
F: package/python-tqdm/
|
||||
F: package/rtl8189es/
|
||||
|
||||
N: Louis-Paul Cordier <lpdev@cordier.org>
|
||||
F: package/intel-gmmlib/
|
||||
F: package/intel-mediadriver/
|
||||
F: package/intel-mediasdk/
|
||||
|
||||
N: Luca Ceresoli <luca.ceresoli@bootlin.com>
|
||||
F: board/olimex/a20_olinuxino/
|
||||
F: board/zynq/
|
||||
@@ -2240,7 +2213,6 @@ N: Marcus Hoffmann <bubu@bubu1.eu>
|
||||
F: package/nethogs/
|
||||
F: package/pico-sdk/
|
||||
F: package/picotool/
|
||||
F: package/python-immutabledict/
|
||||
F: package/python-jc/
|
||||
F: package/python-ruamel-yaml-clib/
|
||||
F: support/testing/tests/package/test_python_fastapi.py
|
||||
@@ -2270,7 +2242,7 @@ F: configs/qemu_riscv32_virt_defconfig
|
||||
F: configs/qemu_riscv64_virt_defconfig
|
||||
|
||||
N: Marleen Vos <marleen.vos@mind.be>
|
||||
F: board/stmicroelectronics/common/stm32mp1xx/
|
||||
F: board/stmicroelectronics/common/stm32mp157/
|
||||
F: configs/avenger96_defconfig
|
||||
F: configs/stm32mp157a_dk1_defconfig
|
||||
F: configs/stm32mp157c_dk2_defconfig
|
||||
@@ -2436,7 +2408,6 @@ F: board/zynq/
|
||||
F: board/zynqmp/
|
||||
F: boot/xilinx-prebuilt/
|
||||
F: configs/versal_vck190_defconfig
|
||||
F: configs/versal_vek280_defconfig
|
||||
F: configs/versal_vpk180_defconfig
|
||||
F: configs/zynq_zc702_defconfig
|
||||
F: configs/zynq_zc706_defconfig
|
||||
@@ -2492,7 +2463,6 @@ F: support/testing/tests/package/test_python_git.py
|
||||
F: support/testing/tests/package/test_python_unittest_xml_reporting.py
|
||||
|
||||
N: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
|
||||
F: package/bluez-alsa/
|
||||
F: package/libgit2/
|
||||
|
||||
N: Nicolas Serafini <nicolas.serafini@ik.me>
|
||||
@@ -2518,10 +2488,9 @@ F: package/dbus-broker/
|
||||
F: package/systemd/
|
||||
F: package/tcf-agent/
|
||||
|
||||
N: Leo Yu-Chi Liang <ycliang@andestech.com>
|
||||
N: Yu Chien Peter Lin <peterlin@andestech.com>
|
||||
F: board/andes
|
||||
F: configs/andes_ae350_45_defconfig
|
||||
F: package/andes-spi-burn/
|
||||
F: package/kmon/
|
||||
|
||||
N: Olaf Rempel <razzor@kopf-tisch.de>
|
||||
@@ -2751,9 +2720,6 @@ F: package/gupnp-av/
|
||||
F: package/let-me-create/
|
||||
F: package/nanomsg/
|
||||
|
||||
N: Ralf Dragon <hypnotoad@lindra.de>
|
||||
F: package/python-pyqt5-sip/
|
||||
|
||||
N: Ramon Fried <rfried.dev@gmail.com>
|
||||
F: package/bitwise/
|
||||
|
||||
@@ -2767,20 +2733,14 @@ F: package/python-jmespath/
|
||||
F: package/python-pymupdf/
|
||||
F: package/python-rsa/
|
||||
F: package/python-s3transfer/
|
||||
F: package/python-sdbus/
|
||||
F: package/python-sdbus-networkmanager/
|
||||
F: support/testing/tests/package/sample_python_jmespath.py
|
||||
F: support/testing/tests/package/sample_python_pymupdf.py
|
||||
F: support/testing/tests/package/sample_python_rsa.py
|
||||
F: support/testing/tests/package/sample_python_s3transfer.py
|
||||
F: support/testing/tests/package/sample_python_sdbus.py
|
||||
F: support/testing/tests/package/sample_python_sdbus_networkmanager.py
|
||||
F: support/testing/tests/package/test_python_jmespath.py
|
||||
F: support/testing/tests/package/test_python_pymupdf.py
|
||||
F: support/testing/tests/package/test_python_rsa.py
|
||||
F: support/testing/tests/package/test_python_s3transfer.py
|
||||
F: support/testing/tests/package/test_python_sdbus.py
|
||||
F: support/testing/tests/package/test_python_sdbus_networkmanager.py
|
||||
|
||||
N: Raphael Pavlidis <raphael.pavlidis@gmail.com>
|
||||
F: package/nvidia-persistenced/
|
||||
@@ -2902,7 +2862,6 @@ F: support/testing/tests/package/test_python_mako.py
|
||||
F: toolchain/
|
||||
|
||||
N: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
|
||||
F: package/dlib/
|
||||
F: package/qt6/
|
||||
|
||||
N: Rufus Segar <rhs@riseup.net>
|
||||
@@ -3218,7 +3177,6 @@ F: support/testing/tests/package/test_python_flask.py
|
||||
F: support/testing/tests/package/test_python_flask_expects_json.py
|
||||
F: support/testing/tests/package/test_python_git.py
|
||||
F: support/testing/tests/package/test_python_unittest_xml_reporting.py
|
||||
F: support/testing/tests/toolchain/test_external_arm.py
|
||||
F: toolchain/
|
||||
|
||||
N: Timo Ketola <timo.ketola@exertus.fi>
|
||||
@@ -3270,12 +3228,6 @@ F: package/rtl8822cs/
|
||||
N: Victor Huesca <victor.huesca@bootlin.com>
|
||||
F: support/testing/tests/core/test_root_password.py
|
||||
|
||||
N: Vincent Jardin <vjardin@free.fr>
|
||||
F: board/nvidia/bf3/
|
||||
F: configs/nvidia_bf3_defconfig
|
||||
F: package/bfscripts/
|
||||
F: package/dpdk/
|
||||
|
||||
N: Vincent Prince <vincent.prince.fr@gmail.com>
|
||||
F: package/nss-myhostname/
|
||||
F: package/utp_com/
|
||||
@@ -3299,8 +3251,6 @@ F: package/pixz/
|
||||
F: package/zerofree/
|
||||
F: support/testing/tests/package/test_msr_tools*
|
||||
F: support/testing/tests/package/test_pixz.py
|
||||
F: support/testing/tests/package/test_xen.py
|
||||
F: support/testing/tests/package/test_xen/
|
||||
F: support/testing/tests/package/test_zerofree.py
|
||||
|
||||
N: Vinicius Tinti <viniciustinti@gmail.com>
|
||||
@@ -3319,18 +3269,13 @@ F: package/ngrep/
|
||||
|
||||
N: Waldemar Brodkorb <wbx@openadk.org>
|
||||
F: board/qemu/riscv32-virt/
|
||||
F: board/stmicroelectronics/stm32f746-disco/
|
||||
F: configs/qemu_riscv32_nommu_virt_defconfig
|
||||
F: configs/stm32f746_disco_sd_defconfig
|
||||
F: package/asterisk/
|
||||
F: package/evilwm/
|
||||
F: package/fbv/
|
||||
F: package/libjwt/
|
||||
F: package/mksh/
|
||||
F: package/ruby/
|
||||
F: package/uclibc/
|
||||
F: package/uclibc-ng-test/
|
||||
F: package/zabbix/
|
||||
F: support/testing/tests/package/test_ruby.py
|
||||
|
||||
N: Will Newton <will.newton@gmail.com>
|
||||
@@ -3374,6 +3319,54 @@ F: package/casync/
|
||||
F: package/gloox/
|
||||
F: package/tpm2-pkcs11/
|
||||
|
||||
N: Yann E. MORIN <yann.morin.1998@free.fr>
|
||||
F: fs/squashfs/
|
||||
F: package/asterisk/
|
||||
F: package/cegui/
|
||||
F: package/dahdi-linux/
|
||||
F: package/dahdi-tools/
|
||||
F: package/dbus-broker/
|
||||
F: package/dtc/
|
||||
F: package/dtv-scan-tables/
|
||||
F: package/freerdp/
|
||||
F: package/keyutils/
|
||||
F: package/libbsd/
|
||||
F: package/libedit/
|
||||
F: package/libgsm/
|
||||
F: package/libiberty/
|
||||
F: package/libinput/
|
||||
F: package/libiscsi/
|
||||
F: package/libpri/
|
||||
F: package/libseccomp/
|
||||
F: package/libss7/
|
||||
F: package/linux-firmware/
|
||||
F: package/linux-tools/
|
||||
F: package/matchbox*
|
||||
F: package/mesa3d-headers/
|
||||
F: package/nbd/
|
||||
F: package/nut/
|
||||
F: package/nvidia-driver/
|
||||
F: package/python-pyparsing/
|
||||
F: package/pkg-download.mk
|
||||
F: package/pkg-waf.mk
|
||||
F: package/slirp/
|
||||
F: package/snappy/
|
||||
F: package/spice/
|
||||
F: package/spice-protocol/
|
||||
F: package/systemd/
|
||||
F: package/systemd-bootchart/
|
||||
F: package/tmux/
|
||||
F: package/tvheadend/
|
||||
F: package/usbredir/
|
||||
F: package/vde2/
|
||||
F: package/w_scan/
|
||||
F: package/wayland/
|
||||
F: package/weston/
|
||||
F: package/wtfutil/
|
||||
F: package/zisofs-tools/
|
||||
F: support/download/
|
||||
F: support/testing/tests/graphics_base.py
|
||||
|
||||
N: Yann E. MORIN <yann.morin@orange.com>
|
||||
F: .editorconfig
|
||||
F: package/gpsd/
|
||||
|
||||
@@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2024.11.3
|
||||
export BR2_VERSION := 2024.08.1
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1742834500
|
||||
BR2_VERSION_EPOCH = 1729431000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
@@ -12,9 +12,6 @@ config BR2_SOFT_FLOAT
|
||||
config BR2_USE_MMU
|
||||
bool
|
||||
|
||||
config BR2_ARCH_HAS_FDPIC_SUPPORT
|
||||
bool
|
||||
|
||||
choice
|
||||
prompt "Target Architecture"
|
||||
default BR2_i386
|
||||
@@ -315,10 +312,6 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_14
|
||||
bool
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_13
|
||||
|
||||
config BR2_ARCH_NEEDS_GCC_AT_LEAST_15
|
||||
bool
|
||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_14
|
||||
|
||||
# The following string values are defined by the individual
|
||||
# Config.in.$ARCH files
|
||||
config BR2_ARCH
|
||||
@@ -444,16 +437,6 @@ config BR2_BINFMT_ELF
|
||||
and executables used across different architectures and
|
||||
operating systems.
|
||||
|
||||
config BR2_BINFMT_FDPIC
|
||||
bool "FDPIC"
|
||||
depends on BR2_ARCH_HAS_FDPIC_SUPPORT
|
||||
select BR2_BINFMT_SUPPORTS_SHARED
|
||||
help
|
||||
ELF FDPIC binaries are based on ELF, but allow the individual
|
||||
load segments of a binary to be located in memory
|
||||
independently of each other. This makes this format ideal for
|
||||
use in environments where no MMU is available.
|
||||
|
||||
config BR2_BINFMT_FLAT
|
||||
bool "FLAT"
|
||||
depends on !BR2_USE_MMU
|
||||
|
||||
@@ -89,7 +89,6 @@ config BR2_ARM_CPU_ARMV7A
|
||||
|
||||
config BR2_ARM_CPU_ARMV7M
|
||||
bool
|
||||
select BR2_ARCH_HAS_FDPIC_SUPPORT
|
||||
|
||||
config BR2_ARM_CPU_ARMV8A
|
||||
bool
|
||||
|
||||
@@ -23,11 +23,6 @@ choice
|
||||
help
|
||||
Specific CPU variant to use
|
||||
|
||||
config BR2_m68k_68030
|
||||
bool "68030"
|
||||
select BR2_m68k_m68k
|
||||
select BR2_USE_MMU
|
||||
|
||||
config BR2_m68k_68040
|
||||
bool "68040"
|
||||
select BR2_m68k_m68k
|
||||
@@ -41,7 +36,6 @@ config BR2_m68k_cf5208
|
||||
endchoice
|
||||
|
||||
config BR2_GCC_TARGET_CPU
|
||||
default "68030" if BR2_m68k_68030
|
||||
default "68040" if BR2_m68k_68040
|
||||
default "5208" if BR2_m68k_cf5208
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 524858852f5869a9ef17de8b1e6e7faf05bcb2c462bc96b3c24dbf82ede373cf linux-6.10.12.tar.xz
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR=$(dirname "$0")
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
cp -f "${BOARD_DIR}/grub.cfg" "${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg"
|
||||
cp -f ${BOARD_DIR}/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
|
||||
|
||||
@@ -149,14 +149,8 @@
|
||||
#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>;
|
||||
};
|
||||
eth0_addr: eth-mac-addr@9A {
|
||||
reg = <0x0 0x06>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -41,49 +41,6 @@ After building, you should obtain the following files:
|
||||
|-- u-boot-spl.bin
|
||||
`-- u-boot.itb
|
||||
|
||||
How to update the bootloader and device-tree
|
||||
============================================
|
||||
|
||||
To update the bootloader and device tree, make sure you have
|
||||
an ICEman (Andes OpenOCD [1]) and AICE [2] connection set up
|
||||
as below:
|
||||
|
||||
Local Host Local/Remote Host
|
||||
.-----------------. .--------------.
|
||||
| buildroot images| | |
|
||||
| | ICEman host <IP:PORT>
|
||||
| .----------. | | .--------. |
|
||||
| | SPI_burn |<---+--socket--+->| ICEman | |
|
||||
| '----------' | | '--.-----' |
|
||||
'-----------------' '-----|--------'
|
||||
|
|
||||
USB
|
||||
.--------------. |
|
||||
| target | .-----v-----.
|
||||
| board <----JTAG---| AICE |
|
||||
| | '-----------'
|
||||
'--------------'
|
||||
|
||||
[1] https://github.com/andestech/ICEman
|
||||
[2] https://www.andestech.com/en/products-solutions/andeshape-platforms/aice-micro/
|
||||
|
||||
The Andes SPI_burn tool will be located in output/host/bin. Use
|
||||
the following commands to update the bootloader and device tree:
|
||||
|
||||
$ SPI_burn --host $ICE_IP --port $ICE_BURNER_PORT --addr 0x0 -i u-boot-spl.bin
|
||||
$ SPI_burn --host $ICE_IP --port $ICE_BURNER_PORT --addr 0x10000 -i u-boot.itb
|
||||
$ SPI_burn --host $ICE_IP --port $ICE_BURNER_PORT --addr 0xf0000 -i ae350_ax45mp.dtb
|
||||
|
||||
Note that the --addr option specifies the offset starting from
|
||||
the flash base address 0x80000000 and set by U-Boot configurations.
|
||||
e.g.
|
||||
u-boot-spl.bin : CONFIG_SPL_TEXT_BASE=0x80000000
|
||||
u-boot.itb : CONFIG_SPL_LOAD_FIT_ADDRESS=0x80010000
|
||||
ae350_ax45mp.dtb: CONFIG_SYS_FDT_BASE=0x800f0000
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Copy the sdcard.img to a SD card with "dd":
|
||||
|
||||
$ sudo dd if=sdcard.img of=/dev/sdX bs=4096
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
CONFIG_SPL_FS_FAT=y
|
||||
CONFIG_SPL_MMC=y
|
||||
# CONFIG_SPL_RAM_SUPPORT is not set
|
||||
CONFIG_SPL_OPENSBI_LOAD_ADDR=0x0
|
||||
CONFIG_SPL_OPENSBI_SCRATCH_OPTIONS=0x0
|
||||
CONFIG_DISPLAY_CPUINFO=y
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
From 8c30a0c7fe0162de0618b26fb34cc91ea582e5f7 Mon Sep 17 00:00:00 2001
|
||||
From: Debbie Martin <Debbie.Martin@arm.com>
|
||||
Date: Wed, 27 Sep 2023 18:05:26 +0100
|
||||
Subject: [PATCH] feat(fvp): add stdout-path
|
||||
|
||||
Add stdout-path to the fvp-base devicetree to be passed to BL33 (U-Boot)
|
||||
and then to the Linux kernel to be compliant to Arm SystemReady IR:
|
||||
https://developer.arm.com/documentation/DUI1101/2-0/
|
||||
Configure-U-Boot-for-SystemReady/Adapt-the-Devicetree
|
||||
|
||||
This has been tested by booting fvp-base to Linux and ensuring the
|
||||
console is accessible.
|
||||
|
||||
Change-Id: Iae98630f18f735ce344c1158f41f358c2a49eeb6
|
||||
Signed-off-by: Diego Sueiro <Diego.Sueiro@arm.com>
|
||||
Signed-off-by: Debbie Martin <Debbie.Martin@arm.com>
|
||||
Upstream: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/+/8c30a0c7fe0162de0618b26fb34cc91ea582e5f7%5E!/
|
||||
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
|
||||
---
|
||||
fdts/fvp-base-psci-common.dtsi | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/fdts/fvp-base-psci-common.dtsi b/fdts/fvp-base-psci-common.dtsi
|
||||
index 79cf37d3b0..ff31ba7616 100644
|
||||
--- a/fdts/fvp-base-psci-common.dtsi
|
||||
+++ b/fdts/fvp-base-psci-common.dtsi
|
||||
@@ -27,11 +27,12 @@
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
||||
+ chosen {
|
||||
+ stdout-path = "serial0:115200n8";
|
||||
#if (ENABLE_RME == 1)
|
||||
- chosen { bootargs = "console=ttyAMA0 earlycon=pl011,0x1c090000 root=/dev/vda ip=on";};
|
||||
-#else
|
||||
- chosen {};
|
||||
+ bootargs = "console=ttyAMA0 earlycon=pl011,0x1c090000 root=/dev/vda ip=on";
|
||||
#endif
|
||||
+ };
|
||||
|
||||
aliases {
|
||||
serial0 = &v2m_serial0;
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 7efa89e1b4e4106ee05d68e876c8efbb146364d89cfd5d26bf4647b09c08f32b arm-trusted-firmware-v2.10-git4.tar.gz
|
||||
@@ -1,2 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 524858852f5869a9ef17de8b1e6e7faf05bcb2c462bc96b3c24dbf82ede373cf linux-6.10.12.tar.xz
|
||||
# Locally calculated
|
||||
sha256 b78dcd09f6b725872a2c0c87a70a064b0fbbcccfe5ce60aa46c669934a9e28b6 linux-6.8.11.tar.xz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
sha256 077cf8ca283411103ad274a3724dacb5068ede824de749beff9c9e5b531b43ea u-boot-2024.07-rc3.tar.bz2
|
||||
|
||||
@@ -26,8 +26,8 @@ Running on the FVP
|
||||
Download the FVP from one of the following sources, corresponding to your host
|
||||
computer:
|
||||
|
||||
- https://developer.arm.com/-/cdn-downloads/permalink/Fixed-Virtual-Platforms/FM-11.27/FVP_Base_RevC-2xAEMvA_11.27_19_Linux64.tgz
|
||||
- https://developer.arm.com/-/cdn-downloads/permalink/Fixed-Virtual-Platforms/FM-11.27/FVP_Base_RevC-2xAEMvA_11.27_19_Linux64_armv8l.tgz
|
||||
- https://developer.arm.com/-/media/Files/downloads/ecosystem-models/FM_11_25/FVP_Base_RevC-2xAEMvA_11.25_15_Linux64.tgz
|
||||
- https://developer.arm.com/-/media/Files/downloads/ecosystem-models/FM_11_25/FVP_Base_RevC-2xAEMvA_11.25_15_Linux64_armv8l.tgz
|
||||
|
||||
The FVP will be located under one of the corresponding folders:
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
sha256 7efa89e1b4e4106ee05d68e876c8efbb146364d89cfd5d26bf4647b09c08f32b arm-trusted-firmware-v2.10-git4.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226 linux-6.10.tar.xz
|
||||
sha256 24fa01fb989c7a3e28453f117799168713766e119c5381dac30115f18f268149 linux-6.9.tar.xz
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../uboot/uboot.hash
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 7bd234a93bc6351d6a830f9ef18e9e780d70c478d280a6513a30bc2f945fb050 linux-linux4microchip+fpga-2024.09.1.tar.gz
|
||||
sha256 dcb7b41fd363729675c34545fcb514d5a94dbb3714ee10f527a26ca7716c2579 linux-linux4microchip+fpga-2024.06.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 a2fad7fe7f933fa4679b070e952e1e7a21dbd8b586d7a9a11bfcb99e75ae7ad6 uboot-linux4microchip+fpga-2024.09.tar.gz
|
||||
sha256 d461c45a9c5acd019776cdcf8ab2b571315282a880dd6580431f7dd5bfac3889 uboot-linux4microchip+fpga-2024.06.tar.gz
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/sbin/init
|
||||
Regular → Executable
+10
-1
@@ -11,7 +11,7 @@
|
||||
# When the kernel is directly booted, devtmpfs is not automatically mounted.
|
||||
# Manually mount it if needed.
|
||||
devmnt=$(mount | grep -c devtmpfs)
|
||||
if [ "${devmnt}" -eq 0 ]; then
|
||||
if [ ${devmnt} -eq 0 ]; then
|
||||
/bin/mount -t devtmpfs devtmpfs /dev
|
||||
fi
|
||||
|
||||
@@ -28,5 +28,14 @@ fi
|
||||
# Clear memory to reduce page fragmentation
|
||||
echo 3 > /proc/sys/vm/drop_caches
|
||||
|
||||
# Print a fun logo :)
|
||||
echo " __ _"
|
||||
echo " / / (_) ____ _ _ __ __"
|
||||
echo " / / | || _ \\ | | | |\\ \\/ /"
|
||||
echo " / /___| || | | || |_| | > < "
|
||||
echo " /_____/|_||_| |_| \\____|/_/\\_\\"
|
||||
echo " 64-bits RISC-V Kendryte K210 NOMMU"
|
||||
echo ""
|
||||
|
||||
# Finally, let's start an interactive shell
|
||||
exec /bin/sh
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c954f60197008f1e1f32a1e77293903cf3801d2543ec4bf521f5651eb7f133ce linux-6.11.6.tar.xz
|
||||
sha256 19b31956d229b5b9ca5671fa1c74320179682a3d8d00fc86794114b21da86039 linux-6.8.12.tar.xz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
sha256 18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a u-boot-2024.04.tar.bz2
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 4f4dc78bfb5b7391a65ae0f83856661071f666ac2bf6a9380fddbe376a8bdaaa atf-lf-6.6.23-2.0.0.tar.gz
|
||||
sha256 0dda154c335e1a50c727601e698b6a0827e3f92308873b373449fb888df5acfd atf-LSDK-21.08.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 6d592722e004516309f8ce33e654f1322e4d1f0f33567acb86ca19229176fd9e linux-lf-6.6.23-2.0.0.tar.gz
|
||||
sha256 6db58cf91b98f7fc279f341279a5d43d4069fb56a660a34209aba6af53ea2b57 linux-LSDK-21.08.tar.gz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 a2bcd7a34d4908ffbadfea731d0f0fd20f19a31cff6ff6310980e7f6743ceb24 u-boot-lf-6.6.23-2.0.0.tar.gz
|
||||
sha256 6279c161ad8a218b549e6631be969b74f358cf01a20103953ccaf3bb14185ac2 u-boot-LSDK-21.08.tar.gz
|
||||
|
||||
@@ -12,11 +12,11 @@ for the software NXP LSDK (Layerscape Software Development Kit), see
|
||||
- https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev21.08.pdf
|
||||
|
||||
the components from NXP are:
|
||||
- rcw, lf-6.6.23-2.0.0
|
||||
- atf (fork), lf-6.6.23-2.0.0
|
||||
- uboot (fork), lf-6.6.23-2.0.0
|
||||
- rcw, LSDK 21.08
|
||||
- atf (fork), LSDK 21.08
|
||||
- uboot (fork), LSDK 21.08
|
||||
- cadence-dp-firmware (blob), LSDK 20.12
|
||||
- linux (fork), lf-6.6.23-2.0.0
|
||||
- linux (fork), LSDK 21.08
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 4f4dc78bfb5b7391a65ae0f83856661071f666ac2bf6a9380fddbe376a8bdaaa atf-lf-6.6.23-2.0.0.tar.gz
|
||||
@@ -1 +0,0 @@
|
||||
../linux/linux.hash
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally computed
|
||||
sha256 6d592722e004516309f8ce33e654f1322e4d1f0f33567acb86ca19229176fd9e linux-lf-6.6.23-2.0.0.tar.gz
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally computed
|
||||
sha256 a2bcd7a34d4908ffbadfea731d0f0fd20f19a31cff6ff6310980e7f6743ceb24 u-boot-lf-6.6.23-2.0.0.tar.gz
|
||||
@@ -13,11 +13,11 @@ for the software NXP LSDK (Layerscape Software Development Kit), see
|
||||
- https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev21.08.pdf
|
||||
|
||||
the components from NXP are:
|
||||
- rcw, lf-6.6.23-2.0.0
|
||||
- atf (fork), lf-6.6.23-2.0.0
|
||||
- uboot (fork), lf-6.6.23-2.0.0
|
||||
- qoriq-fm-ucode (blob), lf-6.6.23-2.0.0
|
||||
- linux (fork), lf-6.6.23-2.0.0
|
||||
- rcw, LSDK 21.08
|
||||
- atf (fork), LSDK 21.08
|
||||
- uboot (fork), LSDK 21.08
|
||||
- qoriq-fm-ucode (blob), LSDK 21.08
|
||||
- linux (fork), LSDK 21.08
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
label NanoPi NEO linux
|
||||
kernel /boot/zImage
|
||||
devicetree /boot/sun8i-h3-nanopi-neo.dtb
|
||||
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait panic=10
|
||||
@@ -1,17 +0,0 @@
|
||||
# Minimal SD card image for the NanoPi NEO.
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = false
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8K
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
offset = 1M
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
../linux/linux.hash
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 93218296934915636fe6ba08e125948424cc270fd8948502c0ab91087a9fccd8 linux-6.6.44.tar.xz
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
|
||||
install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$TARGET_DIR"/boot/extlinux/extlinux.conf
|
||||
@@ -1,41 +0,0 @@
|
||||
Nanopi NEO
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the NanoPi NEO. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
FriendlyARM Nanopi NEO link:
|
||||
https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make friendlyarm_nanopi_neo_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required
|
||||
sources.
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SD card in your Nanopi NEO and power it up. The console
|
||||
is on the debug TTL UART, 115200 8N1.
|
||||
|
||||
Ethernet
|
||||
==========
|
||||
|
||||
# udhcpc -i eth0
|
||||
|
||||
Enjoy!
|
||||
@@ -1 +0,0 @@
|
||||
../linux/linux.hash
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 f74812f78e88992c416434cb107639e13a551dbaff36bb90d6346ab16ab71a95 linux-6.6.56.tar.xz
|
||||
-48
@@ -1,48 +0,0 @@
|
||||
From 3cdf8aa3ff45e35a237285c107785bc3d2c6976a Mon Sep 17 00:00:00 2001
|
||||
From: Ludwig Kormann <ludwig.kormann@ict42.de>
|
||||
Date: Wed, 31 Jan 2024 11:28:19 +0100
|
||||
Subject: [PATCH] sunxi: sun4i: Reduce cpu clock at SPL initialization to 144
|
||||
MHz
|
||||
|
||||
Up until now cpu clock gets initialized at 384 MHz, which is
|
||||
the highest supported cpu clock.
|
||||
|
||||
Recent A20 batches show an increased percentage of modules
|
||||
reacting very sensitive to operating conditions outside the
|
||||
specifications.
|
||||
|
||||
The cpu dies very shortly after PLLs, core frequency or cpu
|
||||
voltage are missconfigured. E.g.:
|
||||
- uboot SPL selects 384 MHz as cpu clock which requires a cpu
|
||||
voltage of at least 1.1 V.
|
||||
- Linux CPU Frequency scaling with most sun7i dts will reduce
|
||||
cpu voltage down to 1.0 V.
|
||||
- When intiating a reboot or reset from linux the cpu voltage
|
||||
may keep the 1.0 V configuration and the cpu dies during SPL
|
||||
initialization.
|
||||
|
||||
Therefore reduce cpu clock at uboot SPL initialization down
|
||||
to 144 MHz from 384 MHz.
|
||||
|
||||
Signed-off-by: Ludwig Kormann <ludwig.kormann@ict42.de>
|
||||
Upstream: Not Applicable
|
||||
---
|
||||
arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
|
||||
index 2cec91cb20..252c4c693e 100644
|
||||
--- a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
|
||||
+++ b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
|
||||
@@ -141,7 +141,7 @@ struct sunxi_ccm_reg {
|
||||
#define CCM_PLL1_CFG_SIG_DELT_PAT_EN_SHIFT 2
|
||||
#define CCM_PLL1_CFG_FACTOR_M_SHIFT 0
|
||||
|
||||
-#define PLL1_CFG_DEFAULT 0xa1005000
|
||||
+#define PLL1_CFG_DEFAULT 0xa1004c01
|
||||
|
||||
#if defined CONFIG_OLD_SUNXI_KERNEL_COMPAT && defined CONFIG_MACH_SUN5I
|
||||
/*
|
||||
--
|
||||
2.39.2
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
@@ -3,7 +3,7 @@ set -e
|
||||
DEVICE_TYPE="buildroot-x86_64"
|
||||
ARTIFACT_NAME="1.0"
|
||||
|
||||
parse_args() {
|
||||
function parse_args {
|
||||
local o O opts
|
||||
o='a:o:d:'
|
||||
O='artifact-name:,data-part-size:,device-type:'
|
||||
@@ -28,8 +28,8 @@ parse_args() {
|
||||
done
|
||||
}
|
||||
|
||||
# Create a persistent directory to mount the data partition at.
|
||||
mender_fixup() {
|
||||
# Create a persistent directory to mount the data partition at.
|
||||
function mender_fixup {
|
||||
pushd "${TARGET_DIR}"
|
||||
if [[ -L var/lib/mender ]]; then
|
||||
rm var/lib/mender
|
||||
@@ -44,7 +44,7 @@ mender_fixup() {
|
||||
popd
|
||||
}
|
||||
|
||||
main() {
|
||||
function main {
|
||||
parse_args "${@}"
|
||||
mender_fixup
|
||||
echo "device_type=${DEVICE_TYPE}" > "${TARGET_DIR}/etc/mender/device_type"
|
||||
|
||||
@@ -5,8 +5,9 @@ DATA_PART_SIZE="32M"
|
||||
DEVICE_TYPE="buildroot-x86_64"
|
||||
ARTIFACT_NAME="1.0"
|
||||
|
||||
|
||||
# Parse arguments.
|
||||
parse_args() {
|
||||
function parse_args {
|
||||
local o O opts
|
||||
o='a:o:d:'
|
||||
O='artifact-name:,data-part-size:,device-type:'
|
||||
@@ -31,7 +32,7 @@ parse_args() {
|
||||
}
|
||||
|
||||
# Create the data partition
|
||||
make_data_partition() {
|
||||
function make_data_partition {
|
||||
"${HOST_DIR}/sbin/mkfs.ext4" \
|
||||
-F \
|
||||
-r 1 \
|
||||
@@ -41,8 +42,9 @@ make_data_partition() {
|
||||
"${BINARIES_DIR}/data-part.ext4" "${DATA_PART_SIZE}"
|
||||
}
|
||||
|
||||
|
||||
# Create a mender image.
|
||||
generate_mender_image() {
|
||||
function generate_mender_image {
|
||||
echo "Creating ${BINARIES_DIR}/${DEVICE_TYPE}-${ARTIFACT_NAME}.mender"
|
||||
"${HOST_DIR}/bin/mender-artifact" \
|
||||
--compression lzma \
|
||||
@@ -53,12 +55,13 @@ generate_mender_image() {
|
||||
-o "${BINARIES_DIR}/${DEVICE_TYPE}-${ARTIFACT_NAME}.mender"
|
||||
}
|
||||
|
||||
generate_image() {
|
||||
support/scripts/genimage.sh -c "${BOARD_DIR}/genimage-efi.cfg"
|
||||
|
||||
function generate_image {
|
||||
sh support/scripts/genimage.sh -c "${BOARD_DIR}/genimage-efi.cfg"
|
||||
}
|
||||
|
||||
# Main function.
|
||||
main() {
|
||||
function main {
|
||||
parse_args "${@}"
|
||||
make_data_partition
|
||||
generate_image
|
||||
|
||||
@@ -1,163 +0,0 @@
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_NO_HZ_IDLE=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_TASKSTATS=y
|
||||
CONFIG_MEMCG=y
|
||||
CONFIG_BLK_CGROUP=y
|
||||
CONFIG_CPUSETS=y
|
||||
CONFIG_CGROUP_DEVICE=y
|
||||
CONFIG_CGROUP_CPUACCT=y
|
||||
CONFIG_SCHED_AUTOGROUP=y
|
||||
CONFIG_PROFILING=y
|
||||
CONFIG_ARCH_VEXPRESS=y
|
||||
CONFIG_COMPAT=y
|
||||
CONFIG_ACPI=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_BLK_DEV_BSGLIB=y
|
||||
CONFIG_BINFMT_MISC=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_PACKET_DIAG=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_NET_KEY=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_MULTICAST=y
|
||||
CONFIG_IP_ADVANCED_ROUTER=y
|
||||
CONFIG_BRIDGE=y
|
||||
CONFIG_NET_SCHED=y
|
||||
CONFIG_VSOCKETS=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_PCI_HOST_GENERIC=y
|
||||
CONFIG_DEVTMPFS=y
|
||||
CONFIG_DEVTMPFS_MOUNT=y
|
||||
CONFIG_FW_CFG_SYSFS=y
|
||||
CONFIG_FW_CFG_SYSFS_CMDLINE=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_CHR_DEV_SG=y
|
||||
CONFIG_SCSI_CONSTANTS=y
|
||||
CONFIG_SCSI_LOGGING=y
|
||||
CONFIG_SCSI_SCAN_ASYNC=y
|
||||
CONFIG_SCSI_VIRTIO=y
|
||||
CONFIG_ATA=y
|
||||
CONFIG_NETDEVICES=y
|
||||
CONFIG_DUMMY=y
|
||||
CONFIG_MACVLAN=y
|
||||
CONFIG_VIRTIO_NET=y
|
||||
CONFIG_NLMON=y
|
||||
CONFIG_INPUT_EVDEV=y
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
CONFIG_VIRTIO_CONSOLE=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_HW_RANDOM_VIRTIO=y
|
||||
CONFIG_TCG_TPM=y
|
||||
CONFIG_TCG_TIS=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_PL031=y
|
||||
CONFIG_VIRTIO_PCI=y
|
||||
CONFIG_VIRTIO_INPUT=y
|
||||
CONFIG_VIRTIO_MMIO=y
|
||||
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
|
||||
CONFIG_MAILBOX=y
|
||||
CONFIG_PL320_MBOX=y
|
||||
CONFIG_ARM_SMMU_V3=y
|
||||
CONFIG_EXT4_FS=y
|
||||
CONFIG_FUSE_FS=y
|
||||
CONFIG_VIRTIO_FS=y
|
||||
CONFIG_OVERLAY_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_TMPFS_POSIX_ACL=y
|
||||
CONFIG_RAS=y
|
||||
CONFIG_EDAC=y
|
||||
CONFIG_EDAC_LEGACY_SYSFS=y
|
||||
CONFIG_EDAC_BLUEFIELD=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_MELLANOX_PLATFORM=y
|
||||
CONFIG_REGMAP_I2C=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
CONFIG_GPIO_MLXBF2=y
|
||||
CONFIG_GPIO_MLXBF3=y
|
||||
CONFIG_GPIO_MLXBF=y
|
||||
CONFIG_I2C_MLXBF=y
|
||||
CONFIG_I2C_MLXCPLD=y
|
||||
CONFIG_I2C_MUX=y
|
||||
CONFIG_I2C_MUX_MLXCPLD=y
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_MLXCPLD=y
|
||||
CONFIG_LEDS_MLXREG=y
|
||||
CONFIG_NET_SWITCHDEV=y
|
||||
CONFIG_MLX5_BRIDGE=y
|
||||
CONFIG_NET_CLS_ACT=y
|
||||
CONFIG_NET_TC_SKB_EXT=y
|
||||
CONFIG_CONFIG_NET_CLS_ACT=y
|
||||
CONFIG_MLX5_CLS_ACT=y
|
||||
CONFIG_DCB=y
|
||||
CONFIG_MLX5_CORE_EN_DCB=y
|
||||
CONFIG_MLX5_CORE_EN=y
|
||||
CONFIG_MLX5_CORE=y
|
||||
CONFIG_MLX5_DPLL=y
|
||||
CONFIG_MLX5_EN_ARFS=y
|
||||
CONFIG_INET_ESP=y
|
||||
CONFIG_INET6_ESP=y
|
||||
CONFIG_XFRM_OFFLOAD=y
|
||||
CONFIG_INET_ESP_OFFLOAD=y
|
||||
CONFIG_INET6_ESP_OFFLOAD=y
|
||||
CONFIG_MLX5_EN_IPSEC=y
|
||||
CONFIG_MLX5_EN_RXNFC=y
|
||||
CONFIG_TLS_DEVICE=y
|
||||
CONFIG_TLS=y
|
||||
CONFIG_MLX5_EN_TLS=y
|
||||
CONFIG_MLX5_ESWITCH=y
|
||||
CONFIG_MLX5_FPGA_IPSEC=y
|
||||
CONFIG_MLX5_FPGA_TLS=y
|
||||
CONFIG_MLX5_FPGA=y
|
||||
CONFIG_MLX5_IPSEC=y
|
||||
CONFIG_MACSEC=y
|
||||
CONFIG_MLX5_MACSEC=y
|
||||
CONFIG_MLX5_MPFS=y
|
||||
CONFIG_MLX5_SF_MANAGER=y
|
||||
CONFIG_MLX5_SF=y
|
||||
CONFIG_MLX5_SW_STEERING=y
|
||||
CONFIG_NETFILTER=y
|
||||
CONFIG_NETFILTER_INGRESS=y
|
||||
CONFIG_NF_CONNTRACK=y
|
||||
CONFIG_NF_TABLES=y
|
||||
CONFIG_NF_FLOW_TABLE=y
|
||||
CONFIG_NET_ACT_CT=y
|
||||
CONFIG_MLX5_TC_CT=y
|
||||
CONFIG_MLX5_TC_SAMPLE=y
|
||||
CONFIG_MLX5_TLS=y
|
||||
CONFIG_VDPA=y
|
||||
CONFIG_VHOST_IOTLB=y
|
||||
CONFIG_MLX5_VDPA_NET=y
|
||||
CONFIG_MLX5_VDPA_STEERING_DEBUG=y
|
||||
CONFIG_MLX5_VDPA=y
|
||||
CONFIG_IOMMUFD=y
|
||||
CONFIG_IOMMU_SUPPORT=y
|
||||
CONFIG_VFIO=y
|
||||
CONFIG_MLX5_VFIO_PCI=y
|
||||
CONFIG_MLXBF_BOOTCTL=y
|
||||
CONFIG_MLXBF_GIGE=y
|
||||
CONFIG_MLXBF_PMC=y
|
||||
CONFIG_MLXBF_TMFIFO=y
|
||||
CONFIG_MLXFW=y
|
||||
CONFIG_MLXREG_HOTPLUG=y
|
||||
CONFIG_MLXREG_IO=y
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_MLX_WDT=y
|
||||
CONFIG_MMC=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_DW_BLUEFIELD=y
|
||||
CONFIG_NET_VENDOR_MELLANOX=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_PINCTRL_MLXBF3=y
|
||||
CONFIG_POWER_MLXBF=y
|
||||
CONFIG_SENSORS_MLXREG_FAN=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_RD_GZIP=y
|
||||
CONFIG_INITRAMFS_COMPRESSION_GZIP=y
|
||||
@@ -1 +0,0 @@
|
||||
../linux/linux.hash
|
||||
@@ -1,4 +0,0 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
# After checking with pgp with using key
|
||||
# B8868C80BA62A1FFFAF5FDA9632D3A06589DA6B1
|
||||
sha256 c954f60197008f1e1f32a1e77293903cf3801d2543ec4bf521f5651eb7f133ce linux-6.11.6.tar.xz
|
||||
@@ -1,70 +0,0 @@
|
||||
*****************
|
||||
BlueField 3 Board
|
||||
*****************
|
||||
|
||||
The BlueField 3 board is provided "as-is" without official support
|
||||
from NVIDIA.
|
||||
|
||||
For a detailed description of this board, please refer to the official
|
||||
website:
|
||||
https://www.nvidia.com/en-us/networking/products/data-processing-unit/
|
||||
|
||||
|
||||
Missing Kernel Modules
|
||||
======================
|
||||
|
||||
Please note that the following kernel modules are unavailable as they
|
||||
are not included in the Linux upstream repository:
|
||||
- CONFIG_MLXBF_PTM (module: mlxbf-ptm)
|
||||
- CONFIG_MLXBF_PKA (module: mlxbf-pka)
|
||||
|
||||
For further details on these kernel modules and their usage, please
|
||||
refer to the NVIDIA documentation:
|
||||
https://docs.nvidia.com/networking/display/bluefielddpuosv470/installing+popular+linux+distributions+on+bluefield
|
||||
|
||||
|
||||
Boot loader
|
||||
===========
|
||||
|
||||
NVIDIA does not provide information for rebuilding the ARM BL1, BL2,
|
||||
BL3, UEFI, or other components in the boot stages. Therefore, we
|
||||
assume the BF3 board is already running the pre-built Ubuntu image
|
||||
provided in the BFB installation format.
|
||||
|
||||
Since there are no available details on the BF3's BFB format or the
|
||||
ARM Trusted Firmware (ATF) needed to rebuild BL1, BL2, BL3, UEFI, or
|
||||
GRUB, these components are assumed to remain unmodified.
|
||||
|
||||
|
||||
Grub Configuration and Image Loading
|
||||
====================================
|
||||
|
||||
The board's image is loaded from the BF3's GRUB, with the following
|
||||
GRUB settings, assuming the console is set to `hvc0` to provide access
|
||||
thru `/dev/rshimN/console` from the root CPU since the root CPU's
|
||||
rshim exposes a virtio console over the PCIe bus to the BR3 board.
|
||||
|
||||
To update GRUB settings, boot using the built-in BF3 Ubuntu image.
|
||||
|
||||
Extract of /etc/default/grub:
|
||||
|
||||
GRUB_DEFAULT=0
|
||||
GRUB_TIMEOUT_STYLE=menu
|
||||
GRUB_TIMEOUT=-1
|
||||
GRUB_RECORDFAIL_TIMEOUT=5
|
||||
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
|
||||
GRUB_CMDLINE_LINUX_DEFAULT=""
|
||||
GRUB_CMDLINE_LINUX="console=hvc0 earlyprintk=hvc0 earlycon=hvc0 loglevel=7 fixrtc net.ifnames=0 biosdevname=0 iommu.passthrough=1"
|
||||
|
||||
|
||||
Uploading Buildroot Images
|
||||
--------------------------
|
||||
|
||||
After configuring GRUB, you can upload your Buildroot images to the
|
||||
BF3’s GRUB boot folder:
|
||||
|
||||
scp build_folder/images/Image BF3:/boot/vmlinuz-buildroot-xyz
|
||||
|
||||
Finally, run `update-grub` on the BF3 board to apply the updated GRUB settings.
|
||||
|
||||
Enjoy!
|
||||
-61
@@ -1,61 +0,0 @@
|
||||
From 0f75b03c008eacb9818af3a56dc088e72a623d17 Mon Sep 17 00:00:00 2001
|
||||
From: Marco Felsch <m.felsch@pengutronix.de>
|
||||
Date: Wed, 9 Nov 2022 12:59:09 +0100
|
||||
Subject: [PATCH] feat(build): add support for new binutils versions
|
||||
|
||||
Users of GNU ld (BPF) from binutils 2.39+ will observe multiple instaces
|
||||
of a new warning when linking the bl*.elf in the form:
|
||||
|
||||
ld.bfd: warning: stm32mp1_helper.o: missing .note.GNU-stack section implies executable stack
|
||||
ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
|
||||
ld.bfd: warning: bl2.elf has a LOAD segment with RWX permissions
|
||||
ld.bfd: warning: bl32.elf has a LOAD segment with RWX permissions
|
||||
|
||||
These new warnings are enbaled by default to secure elf binaries:
|
||||
- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107
|
||||
- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0d38576a34ec64a1b4500c9277a8e9d0f07e6774
|
||||
|
||||
Fix it in a similar way to what the Linux kernel does, see:
|
||||
https://lore.kernel.org/all/20220810222442.2296651-1-ndesaulniers@google.com/
|
||||
|
||||
Following the reasoning there, we set "-z noexecstack" for all linkers
|
||||
(although LLVM's LLD defaults to it) and optional add
|
||||
--no-warn-rwx-segments since this a ld.bfd related.
|
||||
|
||||
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
|
||||
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
||||
Change-Id: I9430f5fa5036ca88da46cd3b945754d62616b617
|
||||
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
|
||||
Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/1f49db5f25cdd4e43825c9bcc0575070b80f628c
|
||||
---
|
||||
Makefile | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1ddb7b844..470956b19 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -416,6 +416,8 @@ endif
|
||||
|
||||
GCC_V_OUTPUT := $(shell $(CC) -v 2>&1)
|
||||
|
||||
+TF_LDFLAGS += -z noexecstack
|
||||
+
|
||||
# LD = armlink
|
||||
ifneq ($(findstring armlink,$(notdir $(LD))),)
|
||||
TF_LDFLAGS += --diag_error=warning --lto_level=O1
|
||||
@@ -442,7 +444,10 @@ TF_LDFLAGS += $(subst --,-Xlinker --,$(TF_LDFLAGS_$(ARCH)))
|
||||
|
||||
# LD = gcc-ld (ld) or llvm-ld (ld.lld) or other
|
||||
else
|
||||
-TF_LDFLAGS += --fatal-warnings -O1
|
||||
+# With ld.bfd version 2.39 and newer new warnings are added. Skip those since we
|
||||
+# are not loaded by a elf loader.
|
||||
+TF_LDFLAGS += $(call ld_option, --no-warn-rwx-segments)
|
||||
+TF_LDFLAGS += -O1
|
||||
TF_LDFLAGS += --gc-sections
|
||||
# ld.lld doesn't recognize the errata flags,
|
||||
# therefore don't add those in that case
|
||||
--
|
||||
2.30.2
|
||||
|
||||
-357
@@ -1,357 +0,0 @@
|
||||
From 201719b670b0861f5846ebcda1ad3e4626ae0a33 Mon Sep 17 00:00:00 2001
|
||||
From: Arnd Bergmann <arnd@arndb.de>
|
||||
Date: Sat, 3 Dec 2022 11:54:25 +0100
|
||||
Subject: [PATCH] ata: ahci: fix enum constants for gcc-13
|
||||
|
||||
commit f07788079f515ca4a681c5f595bdad19cfbd7b1d upstream.
|
||||
|
||||
gcc-13 slightly changes the type of constant expressions that are defined
|
||||
in an enum, which triggers a compile time sanity check in libata:
|
||||
|
||||
linux/drivers/ata/libahci.c: In function 'ahci_led_store':
|
||||
linux/include/linux/compiler_types.h:357:45: error: call to '__compiletime_assert_302' declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
|
||||
357 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
|
||||
|
||||
The new behavior is that sizeof() returns the same value for the
|
||||
constant as it does for the enum type, which is generally more sensible
|
||||
and consistent.
|
||||
|
||||
The problem in libata is that it contains a single enum definition for
|
||||
lots of unrelated constants, some of which are large positive (unsigned)
|
||||
integers like 0xffffffff, while others like (1<<31) are interpreted as
|
||||
negative integers, and this forces the enum type to become 64 bit wide
|
||||
even though most constants would still fit into a signed 32-bit 'int'.
|
||||
|
||||
Fix this by changing the entire enum definition to use BIT(x) in place
|
||||
of (1<<x), which results in all values being seen as 'unsigned' and
|
||||
fitting into an unsigned 32-bit type.
|
||||
|
||||
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107917
|
||||
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107405
|
||||
Reported-by: Luis Machado <luis.machado@arm.com>
|
||||
Cc: linux-ide@vger.kernel.org
|
||||
Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com>
|
||||
Cc: stable@vger.kernel.org
|
||||
Cc: Randy Dunlap <rdunlap@infradead.org>
|
||||
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
||||
Tested-by: Luis Machado <luis.machado@arm.com>
|
||||
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
|
||||
[Backport to linux-4.19.y]
|
||||
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
|
||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4c3ddc06cedb62f2904e58fd95170bf206bee149
|
||||
---
|
||||
drivers/ata/ahci.h | 232 +++++++++++++++++++++++----------------------
|
||||
1 file changed, 117 insertions(+), 115 deletions(-)
|
||||
|
||||
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
|
||||
index d1f284f0c83d..de1bc374e1b6 100644
|
||||
--- a/drivers/ata/ahci.h
|
||||
+++ b/drivers/ata/ahci.h
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <linux/libata.h>
|
||||
#include <linux/phy/phy.h>
|
||||
#include <linux/regulator/consumer.h>
|
||||
+#include <linux/bits.h>
|
||||
|
||||
/* Enclosure Management Control */
|
||||
#define EM_CTRL_MSG_TYPE 0x000f0000
|
||||
@@ -54,12 +55,12 @@ enum {
|
||||
AHCI_PORT_PRIV_FBS_DMA_SZ = AHCI_CMD_SLOT_SZ +
|
||||
AHCI_CMD_TBL_AR_SZ +
|
||||
(AHCI_RX_FIS_SZ * 16),
|
||||
- AHCI_IRQ_ON_SG = (1 << 31),
|
||||
- AHCI_CMD_ATAPI = (1 << 5),
|
||||
- AHCI_CMD_WRITE = (1 << 6),
|
||||
- AHCI_CMD_PREFETCH = (1 << 7),
|
||||
- AHCI_CMD_RESET = (1 << 8),
|
||||
- AHCI_CMD_CLR_BUSY = (1 << 10),
|
||||
+ AHCI_IRQ_ON_SG = BIT(31),
|
||||
+ AHCI_CMD_ATAPI = BIT(5),
|
||||
+ AHCI_CMD_WRITE = BIT(6),
|
||||
+ AHCI_CMD_PREFETCH = BIT(7),
|
||||
+ AHCI_CMD_RESET = BIT(8),
|
||||
+ AHCI_CMD_CLR_BUSY = BIT(10),
|
||||
|
||||
RX_FIS_PIO_SETUP = 0x20, /* offset of PIO Setup FIS data */
|
||||
RX_FIS_D2H_REG = 0x40, /* offset of D2H Register FIS data */
|
||||
@@ -77,37 +78,37 @@ enum {
|
||||
HOST_CAP2 = 0x24, /* host capabilities, extended */
|
||||
|
||||
/* HOST_CTL bits */
|
||||
- HOST_RESET = (1 << 0), /* reset controller; self-clear */
|
||||
- HOST_IRQ_EN = (1 << 1), /* global IRQ enable */
|
||||
- HOST_MRSM = (1 << 2), /* MSI Revert to Single Message */
|
||||
- HOST_AHCI_EN = (1 << 31), /* AHCI enabled */
|
||||
+ HOST_RESET = BIT(0), /* reset controller; self-clear */
|
||||
+ HOST_IRQ_EN = BIT(1), /* global IRQ enable */
|
||||
+ HOST_MRSM = BIT(2), /* MSI Revert to Single Message */
|
||||
+ HOST_AHCI_EN = BIT(31), /* AHCI enabled */
|
||||
|
||||
/* HOST_CAP bits */
|
||||
- HOST_CAP_SXS = (1 << 5), /* Supports External SATA */
|
||||
- HOST_CAP_EMS = (1 << 6), /* Enclosure Management support */
|
||||
- HOST_CAP_CCC = (1 << 7), /* Command Completion Coalescing */
|
||||
- HOST_CAP_PART = (1 << 13), /* Partial state capable */
|
||||
- HOST_CAP_SSC = (1 << 14), /* Slumber state capable */
|
||||
- HOST_CAP_PIO_MULTI = (1 << 15), /* PIO multiple DRQ support */
|
||||
- HOST_CAP_FBS = (1 << 16), /* FIS-based switching support */
|
||||
- HOST_CAP_PMP = (1 << 17), /* Port Multiplier support */
|
||||
- HOST_CAP_ONLY = (1 << 18), /* Supports AHCI mode only */
|
||||
- HOST_CAP_CLO = (1 << 24), /* Command List Override support */
|
||||
- HOST_CAP_LED = (1 << 25), /* Supports activity LED */
|
||||
- HOST_CAP_ALPM = (1 << 26), /* Aggressive Link PM support */
|
||||
- HOST_CAP_SSS = (1 << 27), /* Staggered Spin-up */
|
||||
- HOST_CAP_MPS = (1 << 28), /* Mechanical presence switch */
|
||||
- HOST_CAP_SNTF = (1 << 29), /* SNotification register */
|
||||
- HOST_CAP_NCQ = (1 << 30), /* Native Command Queueing */
|
||||
- HOST_CAP_64 = (1 << 31), /* PCI DAC (64-bit DMA) support */
|
||||
+ HOST_CAP_SXS = BIT(5), /* Supports External SATA */
|
||||
+ HOST_CAP_EMS = BIT(6), /* Enclosure Management support */
|
||||
+ HOST_CAP_CCC = BIT(7), /* Command Completion Coalescing */
|
||||
+ HOST_CAP_PART = BIT(13), /* Partial state capable */
|
||||
+ HOST_CAP_SSC = BIT(14), /* Slumber state capable */
|
||||
+ HOST_CAP_PIO_MULTI = BIT(15), /* PIO multiple DRQ support */
|
||||
+ HOST_CAP_FBS = BIT(16), /* FIS-based switching support */
|
||||
+ HOST_CAP_PMP = BIT(17), /* Port Multiplier support */
|
||||
+ HOST_CAP_ONLY = BIT(18), /* Supports AHCI mode only */
|
||||
+ HOST_CAP_CLO = BIT(24), /* Command List Override support */
|
||||
+ HOST_CAP_LED = BIT(25), /* Supports activity LED */
|
||||
+ HOST_CAP_ALPM = BIT(26), /* Aggressive Link PM support */
|
||||
+ HOST_CAP_SSS = BIT(27), /* Staggered Spin-up */
|
||||
+ HOST_CAP_MPS = BIT(28), /* Mechanical presence switch */
|
||||
+ HOST_CAP_SNTF = BIT(29), /* SNotification register */
|
||||
+ HOST_CAP_NCQ = BIT(30), /* Native Command Queueing */
|
||||
+ HOST_CAP_64 = BIT(31), /* PCI DAC (64-bit DMA) support */
|
||||
|
||||
/* HOST_CAP2 bits */
|
||||
- HOST_CAP2_BOH = (1 << 0), /* BIOS/OS handoff supported */
|
||||
- HOST_CAP2_NVMHCI = (1 << 1), /* NVMHCI supported */
|
||||
- HOST_CAP2_APST = (1 << 2), /* Automatic partial to slumber */
|
||||
- HOST_CAP2_SDS = (1 << 3), /* Support device sleep */
|
||||
- HOST_CAP2_SADM = (1 << 4), /* Support aggressive DevSlp */
|
||||
- HOST_CAP2_DESO = (1 << 5), /* DevSlp from slumber only */
|
||||
+ HOST_CAP2_BOH = BIT(0), /* BIOS/OS handoff supported */
|
||||
+ HOST_CAP2_NVMHCI = BIT(1), /* NVMHCI supported */
|
||||
+ HOST_CAP2_APST = BIT(2), /* Automatic partial to slumber */
|
||||
+ HOST_CAP2_SDS = BIT(3), /* Support device sleep */
|
||||
+ HOST_CAP2_SADM = BIT(4), /* Support aggressive DevSlp */
|
||||
+ HOST_CAP2_DESO = BIT(5), /* DevSlp from slumber only */
|
||||
|
||||
/* registers for each SATA port */
|
||||
PORT_LST_ADDR = 0x00, /* command list DMA addr */
|
||||
@@ -129,24 +130,25 @@ enum {
|
||||
PORT_DEVSLP = 0x44, /* device sleep */
|
||||
|
||||
/* PORT_IRQ_{STAT,MASK} bits */
|
||||
- PORT_IRQ_COLD_PRES = (1 << 31), /* cold presence detect */
|
||||
- PORT_IRQ_TF_ERR = (1 << 30), /* task file error */
|
||||
- PORT_IRQ_HBUS_ERR = (1 << 29), /* host bus fatal error */
|
||||
- PORT_IRQ_HBUS_DATA_ERR = (1 << 28), /* host bus data error */
|
||||
- PORT_IRQ_IF_ERR = (1 << 27), /* interface fatal error */
|
||||
- PORT_IRQ_IF_NONFATAL = (1 << 26), /* interface non-fatal error */
|
||||
- PORT_IRQ_OVERFLOW = (1 << 24), /* xfer exhausted available S/G */
|
||||
- PORT_IRQ_BAD_PMP = (1 << 23), /* incorrect port multiplier */
|
||||
-
|
||||
- PORT_IRQ_PHYRDY = (1 << 22), /* PhyRdy changed */
|
||||
- PORT_IRQ_DEV_ILCK = (1 << 7), /* device interlock */
|
||||
- PORT_IRQ_CONNECT = (1 << 6), /* port connect change status */
|
||||
- PORT_IRQ_SG_DONE = (1 << 5), /* descriptor processed */
|
||||
- PORT_IRQ_UNK_FIS = (1 << 4), /* unknown FIS rx'd */
|
||||
- PORT_IRQ_SDB_FIS = (1 << 3), /* Set Device Bits FIS rx'd */
|
||||
- PORT_IRQ_DMAS_FIS = (1 << 2), /* DMA Setup FIS rx'd */
|
||||
- PORT_IRQ_PIOS_FIS = (1 << 1), /* PIO Setup FIS rx'd */
|
||||
- PORT_IRQ_D2H_REG_FIS = (1 << 0), /* D2H Register FIS rx'd */
|
||||
+ PORT_IRQ_COLD_PRES = BIT(31), /* cold presence detect */
|
||||
+ PORT_IRQ_TF_ERR = BIT(30), /* task file error */
|
||||
+ PORT_IRQ_HBUS_ERR = BIT(29), /* host bus fatal error */
|
||||
+ PORT_IRQ_HBUS_DATA_ERR = BIT(28), /* host bus data error */
|
||||
+ PORT_IRQ_IF_ERR = BIT(27), /* interface fatal error */
|
||||
+ PORT_IRQ_IF_NONFATAL = BIT(26), /* interface non-fatal error */
|
||||
+ PORT_IRQ_OVERFLOW = BIT(24), /* xfer exhausted available S/G */
|
||||
+ PORT_IRQ_BAD_PMP = BIT(23), /* incorrect port multiplier */
|
||||
+
|
||||
+ PORT_IRQ_PHYRDY = BIT(22), /* PhyRdy changed */
|
||||
+ PORT_IRQ_DEV_ILCK = BIT(7), /* device interlock */
|
||||
+ PORT_IRQ_DMPS = BIT(7), /* mechanical presence status */
|
||||
+ PORT_IRQ_CONNECT = BIT(6), /* port connect change status */
|
||||
+ PORT_IRQ_SG_DONE = BIT(5), /* descriptor processed */
|
||||
+ PORT_IRQ_UNK_FIS = BIT(4), /* unknown FIS rx'd */
|
||||
+ PORT_IRQ_SDB_FIS = BIT(3), /* Set Device Bits FIS rx'd */
|
||||
+ PORT_IRQ_DMAS_FIS = BIT(2), /* DMA Setup FIS rx'd */
|
||||
+ PORT_IRQ_PIOS_FIS = BIT(1), /* PIO Setup FIS rx'd */
|
||||
+ PORT_IRQ_D2H_REG_FIS = BIT(0), /* D2H Register FIS rx'd */
|
||||
|
||||
PORT_IRQ_FREEZE = PORT_IRQ_HBUS_ERR |
|
||||
PORT_IRQ_IF_ERR |
|
||||
@@ -162,34 +164,34 @@ enum {
|
||||
PORT_IRQ_PIOS_FIS | PORT_IRQ_D2H_REG_FIS,
|
||||
|
||||
/* PORT_CMD bits */
|
||||
- PORT_CMD_ASP = (1 << 27), /* Aggressive Slumber/Partial */
|
||||
- PORT_CMD_ALPE = (1 << 26), /* Aggressive Link PM enable */
|
||||
- PORT_CMD_ATAPI = (1 << 24), /* Device is ATAPI */
|
||||
- PORT_CMD_FBSCP = (1 << 22), /* FBS Capable Port */
|
||||
- PORT_CMD_ESP = (1 << 21), /* External Sata Port */
|
||||
- PORT_CMD_HPCP = (1 << 18), /* HotPlug Capable Port */
|
||||
- PORT_CMD_PMP = (1 << 17), /* PMP attached */
|
||||
- PORT_CMD_LIST_ON = (1 << 15), /* cmd list DMA engine running */
|
||||
- PORT_CMD_FIS_ON = (1 << 14), /* FIS DMA engine running */
|
||||
- PORT_CMD_FIS_RX = (1 << 4), /* Enable FIS receive DMA engine */
|
||||
- PORT_CMD_CLO = (1 << 3), /* Command list override */
|
||||
- PORT_CMD_POWER_ON = (1 << 2), /* Power up device */
|
||||
- PORT_CMD_SPIN_UP = (1 << 1), /* Spin up device */
|
||||
- PORT_CMD_START = (1 << 0), /* Enable port DMA engine */
|
||||
-
|
||||
- PORT_CMD_ICC_MASK = (0xf << 28), /* i/f ICC state mask */
|
||||
- PORT_CMD_ICC_ACTIVE = (0x1 << 28), /* Put i/f in active state */
|
||||
- PORT_CMD_ICC_PARTIAL = (0x2 << 28), /* Put i/f in partial state */
|
||||
- PORT_CMD_ICC_SLUMBER = (0x6 << 28), /* Put i/f in slumber state */
|
||||
+ PORT_CMD_ASP = BIT(27), /* Aggressive Slumber/Partial */
|
||||
+ PORT_CMD_ALPE = BIT(26), /* Aggressive Link PM enable */
|
||||
+ PORT_CMD_ATAPI = BIT(24), /* Device is ATAPI */
|
||||
+ PORT_CMD_FBSCP = BIT(22), /* FBS Capable Port */
|
||||
+ PORT_CMD_ESP = BIT(21), /* External Sata Port */
|
||||
+ PORT_CMD_HPCP = BIT(18), /* HotPlug Capable Port */
|
||||
+ PORT_CMD_PMP = BIT(17), /* PMP attached */
|
||||
+ PORT_CMD_LIST_ON = BIT(15), /* cmd list DMA engine running */
|
||||
+ PORT_CMD_FIS_ON = BIT(14), /* FIS DMA engine running */
|
||||
+ PORT_CMD_FIS_RX = BIT(4), /* Enable FIS receive DMA engine */
|
||||
+ PORT_CMD_CLO = BIT(3), /* Command list override */
|
||||
+ PORT_CMD_POWER_ON = BIT(2), /* Power up device */
|
||||
+ PORT_CMD_SPIN_UP = BIT(1), /* Spin up device */
|
||||
+ PORT_CMD_START = BIT(0), /* Enable port DMA engine */
|
||||
+
|
||||
+ PORT_CMD_ICC_MASK = (0xfu << 28), /* i/f ICC state mask */
|
||||
+ PORT_CMD_ICC_ACTIVE = (0x1u << 28), /* Put i/f in active state */
|
||||
+ PORT_CMD_ICC_PARTIAL = (0x2u << 28), /* Put i/f in partial state */
|
||||
+ PORT_CMD_ICC_SLUMBER = (0x6u << 28), /* Put i/f in slumber state */
|
||||
|
||||
/* PORT_FBS bits */
|
||||
PORT_FBS_DWE_OFFSET = 16, /* FBS device with error offset */
|
||||
PORT_FBS_ADO_OFFSET = 12, /* FBS active dev optimization offset */
|
||||
PORT_FBS_DEV_OFFSET = 8, /* FBS device to issue offset */
|
||||
PORT_FBS_DEV_MASK = (0xf << PORT_FBS_DEV_OFFSET), /* FBS.DEV */
|
||||
- PORT_FBS_SDE = (1 << 2), /* FBS single device error */
|
||||
- PORT_FBS_DEC = (1 << 1), /* FBS device error clear */
|
||||
- PORT_FBS_EN = (1 << 0), /* Enable FBS */
|
||||
+ PORT_FBS_SDE = BIT(2), /* FBS single device error */
|
||||
+ PORT_FBS_DEC = BIT(1), /* FBS device error clear */
|
||||
+ PORT_FBS_EN = BIT(0), /* Enable FBS */
|
||||
|
||||
/* PORT_DEVSLP bits */
|
||||
PORT_DEVSLP_DM_OFFSET = 25, /* DITO multiplier offset */
|
||||
@@ -197,45 +199,45 @@ enum {
|
||||
PORT_DEVSLP_DITO_OFFSET = 15, /* DITO offset */
|
||||
PORT_DEVSLP_MDAT_OFFSET = 10, /* Minimum assertion time */
|
||||
PORT_DEVSLP_DETO_OFFSET = 2, /* DevSlp exit timeout */
|
||||
- PORT_DEVSLP_DSP = (1 << 1), /* DevSlp present */
|
||||
- PORT_DEVSLP_ADSE = (1 << 0), /* Aggressive DevSlp enable */
|
||||
+ PORT_DEVSLP_DSP = BIT(1), /* DevSlp present */
|
||||
+ PORT_DEVSLP_ADSE = BIT(0), /* Aggressive DevSlp enable */
|
||||
|
||||
/* hpriv->flags bits */
|
||||
|
||||
#define AHCI_HFLAGS(flags) .private_data = (void *)(flags)
|
||||
|
||||
- AHCI_HFLAG_NO_NCQ = (1 << 0),
|
||||
- AHCI_HFLAG_IGN_IRQ_IF_ERR = (1 << 1), /* ignore IRQ_IF_ERR */
|
||||
- AHCI_HFLAG_IGN_SERR_INTERNAL = (1 << 2), /* ignore SERR_INTERNAL */
|
||||
- AHCI_HFLAG_32BIT_ONLY = (1 << 3), /* force 32bit */
|
||||
- AHCI_HFLAG_MV_PATA = (1 << 4), /* PATA port */
|
||||
- AHCI_HFLAG_NO_MSI = (1 << 5), /* no PCI MSI */
|
||||
- AHCI_HFLAG_NO_PMP = (1 << 6), /* no PMP */
|
||||
- AHCI_HFLAG_SECT255 = (1 << 8), /* max 255 sectors */
|
||||
- AHCI_HFLAG_YES_NCQ = (1 << 9), /* force NCQ cap on */
|
||||
- AHCI_HFLAG_NO_SUSPEND = (1 << 10), /* don't suspend */
|
||||
- AHCI_HFLAG_SRST_TOUT_IS_OFFLINE = (1 << 11), /* treat SRST timeout as
|
||||
- link offline */
|
||||
- AHCI_HFLAG_NO_SNTF = (1 << 12), /* no sntf */
|
||||
- AHCI_HFLAG_NO_FPDMA_AA = (1 << 13), /* no FPDMA AA */
|
||||
- AHCI_HFLAG_YES_FBS = (1 << 14), /* force FBS cap on */
|
||||
- AHCI_HFLAG_DELAY_ENGINE = (1 << 15), /* do not start engine on
|
||||
- port start (wait until
|
||||
- error-handling stage) */
|
||||
- AHCI_HFLAG_NO_DEVSLP = (1 << 17), /* no device sleep */
|
||||
- AHCI_HFLAG_NO_FBS = (1 << 18), /* no FBS */
|
||||
+ AHCI_HFLAG_NO_NCQ = BIT(0),
|
||||
+ AHCI_HFLAG_IGN_IRQ_IF_ERR = BIT(1), /* ignore IRQ_IF_ERR */
|
||||
+ AHCI_HFLAG_IGN_SERR_INTERNAL = BIT(2), /* ignore SERR_INTERNAL */
|
||||
+ AHCI_HFLAG_32BIT_ONLY = BIT(3), /* force 32bit */
|
||||
+ AHCI_HFLAG_MV_PATA = BIT(4), /* PATA port */
|
||||
+ AHCI_HFLAG_NO_MSI = BIT(5), /* no PCI MSI */
|
||||
+ AHCI_HFLAG_NO_PMP = BIT(6), /* no PMP */
|
||||
+ AHCI_HFLAG_SECT255 = BIT(8), /* max 255 sectors */
|
||||
+ AHCI_HFLAG_YES_NCQ = BIT(9), /* force NCQ cap on */
|
||||
+ AHCI_HFLAG_NO_SUSPEND = BIT(10), /* don't suspend */
|
||||
+ AHCI_HFLAG_SRST_TOUT_IS_OFFLINE = BIT(11), /* treat SRST timeout as
|
||||
+ link offline */
|
||||
+ AHCI_HFLAG_NO_SNTF = BIT(12), /* no sntf */
|
||||
+ AHCI_HFLAG_NO_FPDMA_AA = BIT(13), /* no FPDMA AA */
|
||||
+ AHCI_HFLAG_YES_FBS = BIT(14), /* force FBS cap on */
|
||||
+ AHCI_HFLAG_DELAY_ENGINE = BIT(15), /* do not start engine on
|
||||
+ port start (wait until
|
||||
+ error-handling stage) */
|
||||
+ AHCI_HFLAG_NO_DEVSLP = BIT(17), /* no device sleep */
|
||||
+ AHCI_HFLAG_NO_FBS = BIT(18), /* no FBS */
|
||||
|
||||
#ifdef CONFIG_PCI_MSI
|
||||
- AHCI_HFLAG_MULTI_MSI = (1 << 20), /* per-port MSI(-X) */
|
||||
+ AHCI_HFLAG_MULTI_MSI = BIT(20), /* per-port MSI(-X) */
|
||||
#else
|
||||
/* compile out MSI infrastructure */
|
||||
AHCI_HFLAG_MULTI_MSI = 0,
|
||||
#endif
|
||||
- AHCI_HFLAG_WAKE_BEFORE_STOP = (1 << 22), /* wake before DMA stop */
|
||||
- AHCI_HFLAG_YES_ALPM = (1 << 23), /* force ALPM cap on */
|
||||
- AHCI_HFLAG_NO_WRITE_TO_RO = (1 << 24), /* don't write to read
|
||||
- only registers */
|
||||
- AHCI_HFLAG_IS_MOBILE = (1 << 25), /* mobile chipset, use
|
||||
+ AHCI_HFLAG_WAKE_BEFORE_STOP = BIT(22), /* wake before DMA stop */
|
||||
+ AHCI_HFLAG_YES_ALPM = BIT(23), /* force ALPM cap on */
|
||||
+ AHCI_HFLAG_NO_WRITE_TO_RO = BIT(24), /* don't write to read
|
||||
+ only registers */
|
||||
+ AHCI_HFLAG_IS_MOBILE = BIT(25), /* mobile chipset, use
|
||||
SATA_MOBILE_LPM_POLICY
|
||||
as default lpm_policy */
|
||||
AHCI_HFLAG_SUSPEND_PHYS = (1 << 26), /* handle PHYs during
|
||||
@@ -258,22 +260,22 @@ enum {
|
||||
EM_MAX_RETRY = 5,
|
||||
|
||||
/* em_ctl bits */
|
||||
- EM_CTL_RST = (1 << 9), /* Reset */
|
||||
- EM_CTL_TM = (1 << 8), /* Transmit Message */
|
||||
- EM_CTL_MR = (1 << 0), /* Message Received */
|
||||
- EM_CTL_ALHD = (1 << 26), /* Activity LED */
|
||||
- EM_CTL_XMT = (1 << 25), /* Transmit Only */
|
||||
- EM_CTL_SMB = (1 << 24), /* Single Message Buffer */
|
||||
- EM_CTL_SGPIO = (1 << 19), /* SGPIO messages supported */
|
||||
- EM_CTL_SES = (1 << 18), /* SES-2 messages supported */
|
||||
- EM_CTL_SAFTE = (1 << 17), /* SAF-TE messages supported */
|
||||
- EM_CTL_LED = (1 << 16), /* LED messages supported */
|
||||
+ EM_CTL_RST = BIT(9), /* Reset */
|
||||
+ EM_CTL_TM = BIT(8), /* Transmit Message */
|
||||
+ EM_CTL_MR = BIT(0), /* Message Received */
|
||||
+ EM_CTL_ALHD = BIT(26), /* Activity LED */
|
||||
+ EM_CTL_XMT = BIT(25), /* Transmit Only */
|
||||
+ EM_CTL_SMB = BIT(24), /* Single Message Buffer */
|
||||
+ EM_CTL_SGPIO = BIT(19), /* SGPIO messages supported */
|
||||
+ EM_CTL_SES = BIT(18), /* SES-2 messages supported */
|
||||
+ EM_CTL_SAFTE = BIT(17), /* SAF-TE messages supported */
|
||||
+ EM_CTL_LED = BIT(16), /* LED messages supported */
|
||||
|
||||
/* em message type */
|
||||
- EM_MSG_TYPE_LED = (1 << 0), /* LED */
|
||||
- EM_MSG_TYPE_SAFTE = (1 << 1), /* SAF-TE */
|
||||
- EM_MSG_TYPE_SES2 = (1 << 2), /* SES-2 */
|
||||
- EM_MSG_TYPE_SGPIO = (1 << 3), /* SGPIO */
|
||||
+ EM_MSG_TYPE_LED = BIT(0), /* LED */
|
||||
+ EM_MSG_TYPE_SAFTE = BIT(1), /* SAF-TE */
|
||||
+ EM_MSG_TYPE_SES2 = BIT(2), /* SES-2 */
|
||||
+ EM_MSG_TYPE_SGPIO = BIT(3), /* SGPIO */
|
||||
};
|
||||
|
||||
struct ahci_cmd_hdr {
|
||||
--
|
||||
2.34.1
|
||||
|
||||
-61
@@ -1,61 +0,0 @@
|
||||
From 0f75b03c008eacb9818af3a56dc088e72a623d17 Mon Sep 17 00:00:00 2001
|
||||
From: Marco Felsch <m.felsch@pengutronix.de>
|
||||
Date: Wed, 9 Nov 2022 12:59:09 +0100
|
||||
Subject: [PATCH] feat(build): add support for new binutils versions
|
||||
|
||||
Users of GNU ld (BPF) from binutils 2.39+ will observe multiple instaces
|
||||
of a new warning when linking the bl*.elf in the form:
|
||||
|
||||
ld.bfd: warning: stm32mp1_helper.o: missing .note.GNU-stack section implies executable stack
|
||||
ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
|
||||
ld.bfd: warning: bl2.elf has a LOAD segment with RWX permissions
|
||||
ld.bfd: warning: bl32.elf has a LOAD segment with RWX permissions
|
||||
|
||||
These new warnings are enbaled by default to secure elf binaries:
|
||||
- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107
|
||||
- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0d38576a34ec64a1b4500c9277a8e9d0f07e6774
|
||||
|
||||
Fix it in a similar way to what the Linux kernel does, see:
|
||||
https://lore.kernel.org/all/20220810222442.2296651-1-ndesaulniers@google.com/
|
||||
|
||||
Following the reasoning there, we set "-z noexecstack" for all linkers
|
||||
(although LLVM's LLD defaults to it) and optional add
|
||||
--no-warn-rwx-segments since this a ld.bfd related.
|
||||
|
||||
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
|
||||
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
||||
Change-Id: I9430f5fa5036ca88da46cd3b945754d62616b617
|
||||
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
|
||||
Upstream: https://github.com/ARM-software/arm-trusted-firmware/commit/1f49db5f25cdd4e43825c9bcc0575070b80f628c
|
||||
---
|
||||
Makefile | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1ddb7b844..470956b19 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -416,6 +416,8 @@ endif
|
||||
|
||||
GCC_V_OUTPUT := $(shell $(CC) -v 2>&1)
|
||||
|
||||
+TF_LDFLAGS += -z noexecstack
|
||||
+
|
||||
# LD = armlink
|
||||
ifneq ($(findstring armlink,$(notdir $(LD))),)
|
||||
TF_LDFLAGS += --diag_error=warning --lto_level=O1
|
||||
@@ -442,7 +444,10 @@ TF_LDFLAGS += $(subst --,-Xlinker --,$(TF_LDFLAGS_$(ARCH)))
|
||||
|
||||
# LD = gcc-ld (ld) or llvm-ld (ld.lld) or other
|
||||
else
|
||||
-TF_LDFLAGS += --fatal-warnings -O1
|
||||
+# With ld.bfd version 2.39 and newer new warnings are added. Skip those since we
|
||||
+# are not loaded by a elf loader.
|
||||
+TF_LDFLAGS += $(call ld_option, --no-warn-rwx-segments)
|
||||
+TF_LDFLAGS += -O1
|
||||
TF_LDFLAGS += --gc-sections
|
||||
# ld.lld doesn't recognize the errata flags,
|
||||
# therefore don't add those in that case
|
||||
--
|
||||
2.30.2
|
||||
|
||||
-357
@@ -1,357 +0,0 @@
|
||||
From 201719b670b0861f5846ebcda1ad3e4626ae0a33 Mon Sep 17 00:00:00 2001
|
||||
From: Arnd Bergmann <arnd@arndb.de>
|
||||
Date: Sat, 3 Dec 2022 11:54:25 +0100
|
||||
Subject: [PATCH] ata: ahci: fix enum constants for gcc-13
|
||||
|
||||
commit f07788079f515ca4a681c5f595bdad19cfbd7b1d upstream.
|
||||
|
||||
gcc-13 slightly changes the type of constant expressions that are defined
|
||||
in an enum, which triggers a compile time sanity check in libata:
|
||||
|
||||
linux/drivers/ata/libahci.c: In function 'ahci_led_store':
|
||||
linux/include/linux/compiler_types.h:357:45: error: call to '__compiletime_assert_302' declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
|
||||
357 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
|
||||
|
||||
The new behavior is that sizeof() returns the same value for the
|
||||
constant as it does for the enum type, which is generally more sensible
|
||||
and consistent.
|
||||
|
||||
The problem in libata is that it contains a single enum definition for
|
||||
lots of unrelated constants, some of which are large positive (unsigned)
|
||||
integers like 0xffffffff, while others like (1<<31) are interpreted as
|
||||
negative integers, and this forces the enum type to become 64 bit wide
|
||||
even though most constants would still fit into a signed 32-bit 'int'.
|
||||
|
||||
Fix this by changing the entire enum definition to use BIT(x) in place
|
||||
of (1<<x), which results in all values being seen as 'unsigned' and
|
||||
fitting into an unsigned 32-bit type.
|
||||
|
||||
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107917
|
||||
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107405
|
||||
Reported-by: Luis Machado <luis.machado@arm.com>
|
||||
Cc: linux-ide@vger.kernel.org
|
||||
Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com>
|
||||
Cc: stable@vger.kernel.org
|
||||
Cc: Randy Dunlap <rdunlap@infradead.org>
|
||||
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
||||
Tested-by: Luis Machado <luis.machado@arm.com>
|
||||
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
|
||||
[Backport to linux-4.19.y]
|
||||
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
|
||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4c3ddc06cedb62f2904e58fd95170bf206bee149
|
||||
---
|
||||
drivers/ata/ahci.h | 232 +++++++++++++++++++++++----------------------
|
||||
1 file changed, 117 insertions(+), 115 deletions(-)
|
||||
|
||||
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
|
||||
index d1f284f0c83d..de1bc374e1b6 100644
|
||||
--- a/drivers/ata/ahci.h
|
||||
+++ b/drivers/ata/ahci.h
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <linux/libata.h>
|
||||
#include <linux/phy/phy.h>
|
||||
#include <linux/regulator/consumer.h>
|
||||
+#include <linux/bits.h>
|
||||
|
||||
/* Enclosure Management Control */
|
||||
#define EM_CTRL_MSG_TYPE 0x000f0000
|
||||
@@ -54,12 +55,12 @@ enum {
|
||||
AHCI_PORT_PRIV_FBS_DMA_SZ = AHCI_CMD_SLOT_SZ +
|
||||
AHCI_CMD_TBL_AR_SZ +
|
||||
(AHCI_RX_FIS_SZ * 16),
|
||||
- AHCI_IRQ_ON_SG = (1 << 31),
|
||||
- AHCI_CMD_ATAPI = (1 << 5),
|
||||
- AHCI_CMD_WRITE = (1 << 6),
|
||||
- AHCI_CMD_PREFETCH = (1 << 7),
|
||||
- AHCI_CMD_RESET = (1 << 8),
|
||||
- AHCI_CMD_CLR_BUSY = (1 << 10),
|
||||
+ AHCI_IRQ_ON_SG = BIT(31),
|
||||
+ AHCI_CMD_ATAPI = BIT(5),
|
||||
+ AHCI_CMD_WRITE = BIT(6),
|
||||
+ AHCI_CMD_PREFETCH = BIT(7),
|
||||
+ AHCI_CMD_RESET = BIT(8),
|
||||
+ AHCI_CMD_CLR_BUSY = BIT(10),
|
||||
|
||||
RX_FIS_PIO_SETUP = 0x20, /* offset of PIO Setup FIS data */
|
||||
RX_FIS_D2H_REG = 0x40, /* offset of D2H Register FIS data */
|
||||
@@ -77,37 +78,37 @@ enum {
|
||||
HOST_CAP2 = 0x24, /* host capabilities, extended */
|
||||
|
||||
/* HOST_CTL bits */
|
||||
- HOST_RESET = (1 << 0), /* reset controller; self-clear */
|
||||
- HOST_IRQ_EN = (1 << 1), /* global IRQ enable */
|
||||
- HOST_MRSM = (1 << 2), /* MSI Revert to Single Message */
|
||||
- HOST_AHCI_EN = (1 << 31), /* AHCI enabled */
|
||||
+ HOST_RESET = BIT(0), /* reset controller; self-clear */
|
||||
+ HOST_IRQ_EN = BIT(1), /* global IRQ enable */
|
||||
+ HOST_MRSM = BIT(2), /* MSI Revert to Single Message */
|
||||
+ HOST_AHCI_EN = BIT(31), /* AHCI enabled */
|
||||
|
||||
/* HOST_CAP bits */
|
||||
- HOST_CAP_SXS = (1 << 5), /* Supports External SATA */
|
||||
- HOST_CAP_EMS = (1 << 6), /* Enclosure Management support */
|
||||
- HOST_CAP_CCC = (1 << 7), /* Command Completion Coalescing */
|
||||
- HOST_CAP_PART = (1 << 13), /* Partial state capable */
|
||||
- HOST_CAP_SSC = (1 << 14), /* Slumber state capable */
|
||||
- HOST_CAP_PIO_MULTI = (1 << 15), /* PIO multiple DRQ support */
|
||||
- HOST_CAP_FBS = (1 << 16), /* FIS-based switching support */
|
||||
- HOST_CAP_PMP = (1 << 17), /* Port Multiplier support */
|
||||
- HOST_CAP_ONLY = (1 << 18), /* Supports AHCI mode only */
|
||||
- HOST_CAP_CLO = (1 << 24), /* Command List Override support */
|
||||
- HOST_CAP_LED = (1 << 25), /* Supports activity LED */
|
||||
- HOST_CAP_ALPM = (1 << 26), /* Aggressive Link PM support */
|
||||
- HOST_CAP_SSS = (1 << 27), /* Staggered Spin-up */
|
||||
- HOST_CAP_MPS = (1 << 28), /* Mechanical presence switch */
|
||||
- HOST_CAP_SNTF = (1 << 29), /* SNotification register */
|
||||
- HOST_CAP_NCQ = (1 << 30), /* Native Command Queueing */
|
||||
- HOST_CAP_64 = (1 << 31), /* PCI DAC (64-bit DMA) support */
|
||||
+ HOST_CAP_SXS = BIT(5), /* Supports External SATA */
|
||||
+ HOST_CAP_EMS = BIT(6), /* Enclosure Management support */
|
||||
+ HOST_CAP_CCC = BIT(7), /* Command Completion Coalescing */
|
||||
+ HOST_CAP_PART = BIT(13), /* Partial state capable */
|
||||
+ HOST_CAP_SSC = BIT(14), /* Slumber state capable */
|
||||
+ HOST_CAP_PIO_MULTI = BIT(15), /* PIO multiple DRQ support */
|
||||
+ HOST_CAP_FBS = BIT(16), /* FIS-based switching support */
|
||||
+ HOST_CAP_PMP = BIT(17), /* Port Multiplier support */
|
||||
+ HOST_CAP_ONLY = BIT(18), /* Supports AHCI mode only */
|
||||
+ HOST_CAP_CLO = BIT(24), /* Command List Override support */
|
||||
+ HOST_CAP_LED = BIT(25), /* Supports activity LED */
|
||||
+ HOST_CAP_ALPM = BIT(26), /* Aggressive Link PM support */
|
||||
+ HOST_CAP_SSS = BIT(27), /* Staggered Spin-up */
|
||||
+ HOST_CAP_MPS = BIT(28), /* Mechanical presence switch */
|
||||
+ HOST_CAP_SNTF = BIT(29), /* SNotification register */
|
||||
+ HOST_CAP_NCQ = BIT(30), /* Native Command Queueing */
|
||||
+ HOST_CAP_64 = BIT(31), /* PCI DAC (64-bit DMA) support */
|
||||
|
||||
/* HOST_CAP2 bits */
|
||||
- HOST_CAP2_BOH = (1 << 0), /* BIOS/OS handoff supported */
|
||||
- HOST_CAP2_NVMHCI = (1 << 1), /* NVMHCI supported */
|
||||
- HOST_CAP2_APST = (1 << 2), /* Automatic partial to slumber */
|
||||
- HOST_CAP2_SDS = (1 << 3), /* Support device sleep */
|
||||
- HOST_CAP2_SADM = (1 << 4), /* Support aggressive DevSlp */
|
||||
- HOST_CAP2_DESO = (1 << 5), /* DevSlp from slumber only */
|
||||
+ HOST_CAP2_BOH = BIT(0), /* BIOS/OS handoff supported */
|
||||
+ HOST_CAP2_NVMHCI = BIT(1), /* NVMHCI supported */
|
||||
+ HOST_CAP2_APST = BIT(2), /* Automatic partial to slumber */
|
||||
+ HOST_CAP2_SDS = BIT(3), /* Support device sleep */
|
||||
+ HOST_CAP2_SADM = BIT(4), /* Support aggressive DevSlp */
|
||||
+ HOST_CAP2_DESO = BIT(5), /* DevSlp from slumber only */
|
||||
|
||||
/* registers for each SATA port */
|
||||
PORT_LST_ADDR = 0x00, /* command list DMA addr */
|
||||
@@ -129,24 +130,25 @@ enum {
|
||||
PORT_DEVSLP = 0x44, /* device sleep */
|
||||
|
||||
/* PORT_IRQ_{STAT,MASK} bits */
|
||||
- PORT_IRQ_COLD_PRES = (1 << 31), /* cold presence detect */
|
||||
- PORT_IRQ_TF_ERR = (1 << 30), /* task file error */
|
||||
- PORT_IRQ_HBUS_ERR = (1 << 29), /* host bus fatal error */
|
||||
- PORT_IRQ_HBUS_DATA_ERR = (1 << 28), /* host bus data error */
|
||||
- PORT_IRQ_IF_ERR = (1 << 27), /* interface fatal error */
|
||||
- PORT_IRQ_IF_NONFATAL = (1 << 26), /* interface non-fatal error */
|
||||
- PORT_IRQ_OVERFLOW = (1 << 24), /* xfer exhausted available S/G */
|
||||
- PORT_IRQ_BAD_PMP = (1 << 23), /* incorrect port multiplier */
|
||||
-
|
||||
- PORT_IRQ_PHYRDY = (1 << 22), /* PhyRdy changed */
|
||||
- PORT_IRQ_DEV_ILCK = (1 << 7), /* device interlock */
|
||||
- PORT_IRQ_CONNECT = (1 << 6), /* port connect change status */
|
||||
- PORT_IRQ_SG_DONE = (1 << 5), /* descriptor processed */
|
||||
- PORT_IRQ_UNK_FIS = (1 << 4), /* unknown FIS rx'd */
|
||||
- PORT_IRQ_SDB_FIS = (1 << 3), /* Set Device Bits FIS rx'd */
|
||||
- PORT_IRQ_DMAS_FIS = (1 << 2), /* DMA Setup FIS rx'd */
|
||||
- PORT_IRQ_PIOS_FIS = (1 << 1), /* PIO Setup FIS rx'd */
|
||||
- PORT_IRQ_D2H_REG_FIS = (1 << 0), /* D2H Register FIS rx'd */
|
||||
+ PORT_IRQ_COLD_PRES = BIT(31), /* cold presence detect */
|
||||
+ PORT_IRQ_TF_ERR = BIT(30), /* task file error */
|
||||
+ PORT_IRQ_HBUS_ERR = BIT(29), /* host bus fatal error */
|
||||
+ PORT_IRQ_HBUS_DATA_ERR = BIT(28), /* host bus data error */
|
||||
+ PORT_IRQ_IF_ERR = BIT(27), /* interface fatal error */
|
||||
+ PORT_IRQ_IF_NONFATAL = BIT(26), /* interface non-fatal error */
|
||||
+ PORT_IRQ_OVERFLOW = BIT(24), /* xfer exhausted available S/G */
|
||||
+ PORT_IRQ_BAD_PMP = BIT(23), /* incorrect port multiplier */
|
||||
+
|
||||
+ PORT_IRQ_PHYRDY = BIT(22), /* PhyRdy changed */
|
||||
+ PORT_IRQ_DEV_ILCK = BIT(7), /* device interlock */
|
||||
+ PORT_IRQ_DMPS = BIT(7), /* mechanical presence status */
|
||||
+ PORT_IRQ_CONNECT = BIT(6), /* port connect change status */
|
||||
+ PORT_IRQ_SG_DONE = BIT(5), /* descriptor processed */
|
||||
+ PORT_IRQ_UNK_FIS = BIT(4), /* unknown FIS rx'd */
|
||||
+ PORT_IRQ_SDB_FIS = BIT(3), /* Set Device Bits FIS rx'd */
|
||||
+ PORT_IRQ_DMAS_FIS = BIT(2), /* DMA Setup FIS rx'd */
|
||||
+ PORT_IRQ_PIOS_FIS = BIT(1), /* PIO Setup FIS rx'd */
|
||||
+ PORT_IRQ_D2H_REG_FIS = BIT(0), /* D2H Register FIS rx'd */
|
||||
|
||||
PORT_IRQ_FREEZE = PORT_IRQ_HBUS_ERR |
|
||||
PORT_IRQ_IF_ERR |
|
||||
@@ -162,34 +164,34 @@ enum {
|
||||
PORT_IRQ_PIOS_FIS | PORT_IRQ_D2H_REG_FIS,
|
||||
|
||||
/* PORT_CMD bits */
|
||||
- PORT_CMD_ASP = (1 << 27), /* Aggressive Slumber/Partial */
|
||||
- PORT_CMD_ALPE = (1 << 26), /* Aggressive Link PM enable */
|
||||
- PORT_CMD_ATAPI = (1 << 24), /* Device is ATAPI */
|
||||
- PORT_CMD_FBSCP = (1 << 22), /* FBS Capable Port */
|
||||
- PORT_CMD_ESP = (1 << 21), /* External Sata Port */
|
||||
- PORT_CMD_HPCP = (1 << 18), /* HotPlug Capable Port */
|
||||
- PORT_CMD_PMP = (1 << 17), /* PMP attached */
|
||||
- PORT_CMD_LIST_ON = (1 << 15), /* cmd list DMA engine running */
|
||||
- PORT_CMD_FIS_ON = (1 << 14), /* FIS DMA engine running */
|
||||
- PORT_CMD_FIS_RX = (1 << 4), /* Enable FIS receive DMA engine */
|
||||
- PORT_CMD_CLO = (1 << 3), /* Command list override */
|
||||
- PORT_CMD_POWER_ON = (1 << 2), /* Power up device */
|
||||
- PORT_CMD_SPIN_UP = (1 << 1), /* Spin up device */
|
||||
- PORT_CMD_START = (1 << 0), /* Enable port DMA engine */
|
||||
-
|
||||
- PORT_CMD_ICC_MASK = (0xf << 28), /* i/f ICC state mask */
|
||||
- PORT_CMD_ICC_ACTIVE = (0x1 << 28), /* Put i/f in active state */
|
||||
- PORT_CMD_ICC_PARTIAL = (0x2 << 28), /* Put i/f in partial state */
|
||||
- PORT_CMD_ICC_SLUMBER = (0x6 << 28), /* Put i/f in slumber state */
|
||||
+ PORT_CMD_ASP = BIT(27), /* Aggressive Slumber/Partial */
|
||||
+ PORT_CMD_ALPE = BIT(26), /* Aggressive Link PM enable */
|
||||
+ PORT_CMD_ATAPI = BIT(24), /* Device is ATAPI */
|
||||
+ PORT_CMD_FBSCP = BIT(22), /* FBS Capable Port */
|
||||
+ PORT_CMD_ESP = BIT(21), /* External Sata Port */
|
||||
+ PORT_CMD_HPCP = BIT(18), /* HotPlug Capable Port */
|
||||
+ PORT_CMD_PMP = BIT(17), /* PMP attached */
|
||||
+ PORT_CMD_LIST_ON = BIT(15), /* cmd list DMA engine running */
|
||||
+ PORT_CMD_FIS_ON = BIT(14), /* FIS DMA engine running */
|
||||
+ PORT_CMD_FIS_RX = BIT(4), /* Enable FIS receive DMA engine */
|
||||
+ PORT_CMD_CLO = BIT(3), /* Command list override */
|
||||
+ PORT_CMD_POWER_ON = BIT(2), /* Power up device */
|
||||
+ PORT_CMD_SPIN_UP = BIT(1), /* Spin up device */
|
||||
+ PORT_CMD_START = BIT(0), /* Enable port DMA engine */
|
||||
+
|
||||
+ PORT_CMD_ICC_MASK = (0xfu << 28), /* i/f ICC state mask */
|
||||
+ PORT_CMD_ICC_ACTIVE = (0x1u << 28), /* Put i/f in active state */
|
||||
+ PORT_CMD_ICC_PARTIAL = (0x2u << 28), /* Put i/f in partial state */
|
||||
+ PORT_CMD_ICC_SLUMBER = (0x6u << 28), /* Put i/f in slumber state */
|
||||
|
||||
/* PORT_FBS bits */
|
||||
PORT_FBS_DWE_OFFSET = 16, /* FBS device with error offset */
|
||||
PORT_FBS_ADO_OFFSET = 12, /* FBS active dev optimization offset */
|
||||
PORT_FBS_DEV_OFFSET = 8, /* FBS device to issue offset */
|
||||
PORT_FBS_DEV_MASK = (0xf << PORT_FBS_DEV_OFFSET), /* FBS.DEV */
|
||||
- PORT_FBS_SDE = (1 << 2), /* FBS single device error */
|
||||
- PORT_FBS_DEC = (1 << 1), /* FBS device error clear */
|
||||
- PORT_FBS_EN = (1 << 0), /* Enable FBS */
|
||||
+ PORT_FBS_SDE = BIT(2), /* FBS single device error */
|
||||
+ PORT_FBS_DEC = BIT(1), /* FBS device error clear */
|
||||
+ PORT_FBS_EN = BIT(0), /* Enable FBS */
|
||||
|
||||
/* PORT_DEVSLP bits */
|
||||
PORT_DEVSLP_DM_OFFSET = 25, /* DITO multiplier offset */
|
||||
@@ -197,45 +199,45 @@ enum {
|
||||
PORT_DEVSLP_DITO_OFFSET = 15, /* DITO offset */
|
||||
PORT_DEVSLP_MDAT_OFFSET = 10, /* Minimum assertion time */
|
||||
PORT_DEVSLP_DETO_OFFSET = 2, /* DevSlp exit timeout */
|
||||
- PORT_DEVSLP_DSP = (1 << 1), /* DevSlp present */
|
||||
- PORT_DEVSLP_ADSE = (1 << 0), /* Aggressive DevSlp enable */
|
||||
+ PORT_DEVSLP_DSP = BIT(1), /* DevSlp present */
|
||||
+ PORT_DEVSLP_ADSE = BIT(0), /* Aggressive DevSlp enable */
|
||||
|
||||
/* hpriv->flags bits */
|
||||
|
||||
#define AHCI_HFLAGS(flags) .private_data = (void *)(flags)
|
||||
|
||||
- AHCI_HFLAG_NO_NCQ = (1 << 0),
|
||||
- AHCI_HFLAG_IGN_IRQ_IF_ERR = (1 << 1), /* ignore IRQ_IF_ERR */
|
||||
- AHCI_HFLAG_IGN_SERR_INTERNAL = (1 << 2), /* ignore SERR_INTERNAL */
|
||||
- AHCI_HFLAG_32BIT_ONLY = (1 << 3), /* force 32bit */
|
||||
- AHCI_HFLAG_MV_PATA = (1 << 4), /* PATA port */
|
||||
- AHCI_HFLAG_NO_MSI = (1 << 5), /* no PCI MSI */
|
||||
- AHCI_HFLAG_NO_PMP = (1 << 6), /* no PMP */
|
||||
- AHCI_HFLAG_SECT255 = (1 << 8), /* max 255 sectors */
|
||||
- AHCI_HFLAG_YES_NCQ = (1 << 9), /* force NCQ cap on */
|
||||
- AHCI_HFLAG_NO_SUSPEND = (1 << 10), /* don't suspend */
|
||||
- AHCI_HFLAG_SRST_TOUT_IS_OFFLINE = (1 << 11), /* treat SRST timeout as
|
||||
- link offline */
|
||||
- AHCI_HFLAG_NO_SNTF = (1 << 12), /* no sntf */
|
||||
- AHCI_HFLAG_NO_FPDMA_AA = (1 << 13), /* no FPDMA AA */
|
||||
- AHCI_HFLAG_YES_FBS = (1 << 14), /* force FBS cap on */
|
||||
- AHCI_HFLAG_DELAY_ENGINE = (1 << 15), /* do not start engine on
|
||||
- port start (wait until
|
||||
- error-handling stage) */
|
||||
- AHCI_HFLAG_NO_DEVSLP = (1 << 17), /* no device sleep */
|
||||
- AHCI_HFLAG_NO_FBS = (1 << 18), /* no FBS */
|
||||
+ AHCI_HFLAG_NO_NCQ = BIT(0),
|
||||
+ AHCI_HFLAG_IGN_IRQ_IF_ERR = BIT(1), /* ignore IRQ_IF_ERR */
|
||||
+ AHCI_HFLAG_IGN_SERR_INTERNAL = BIT(2), /* ignore SERR_INTERNAL */
|
||||
+ AHCI_HFLAG_32BIT_ONLY = BIT(3), /* force 32bit */
|
||||
+ AHCI_HFLAG_MV_PATA = BIT(4), /* PATA port */
|
||||
+ AHCI_HFLAG_NO_MSI = BIT(5), /* no PCI MSI */
|
||||
+ AHCI_HFLAG_NO_PMP = BIT(6), /* no PMP */
|
||||
+ AHCI_HFLAG_SECT255 = BIT(8), /* max 255 sectors */
|
||||
+ AHCI_HFLAG_YES_NCQ = BIT(9), /* force NCQ cap on */
|
||||
+ AHCI_HFLAG_NO_SUSPEND = BIT(10), /* don't suspend */
|
||||
+ AHCI_HFLAG_SRST_TOUT_IS_OFFLINE = BIT(11), /* treat SRST timeout as
|
||||
+ link offline */
|
||||
+ AHCI_HFLAG_NO_SNTF = BIT(12), /* no sntf */
|
||||
+ AHCI_HFLAG_NO_FPDMA_AA = BIT(13), /* no FPDMA AA */
|
||||
+ AHCI_HFLAG_YES_FBS = BIT(14), /* force FBS cap on */
|
||||
+ AHCI_HFLAG_DELAY_ENGINE = BIT(15), /* do not start engine on
|
||||
+ port start (wait until
|
||||
+ error-handling stage) */
|
||||
+ AHCI_HFLAG_NO_DEVSLP = BIT(17), /* no device sleep */
|
||||
+ AHCI_HFLAG_NO_FBS = BIT(18), /* no FBS */
|
||||
|
||||
#ifdef CONFIG_PCI_MSI
|
||||
- AHCI_HFLAG_MULTI_MSI = (1 << 20), /* per-port MSI(-X) */
|
||||
+ AHCI_HFLAG_MULTI_MSI = BIT(20), /* per-port MSI(-X) */
|
||||
#else
|
||||
/* compile out MSI infrastructure */
|
||||
AHCI_HFLAG_MULTI_MSI = 0,
|
||||
#endif
|
||||
- AHCI_HFLAG_WAKE_BEFORE_STOP = (1 << 22), /* wake before DMA stop */
|
||||
- AHCI_HFLAG_YES_ALPM = (1 << 23), /* force ALPM cap on */
|
||||
- AHCI_HFLAG_NO_WRITE_TO_RO = (1 << 24), /* don't write to read
|
||||
- only registers */
|
||||
- AHCI_HFLAG_IS_MOBILE = (1 << 25), /* mobile chipset, use
|
||||
+ AHCI_HFLAG_WAKE_BEFORE_STOP = BIT(22), /* wake before DMA stop */
|
||||
+ AHCI_HFLAG_YES_ALPM = BIT(23), /* force ALPM cap on */
|
||||
+ AHCI_HFLAG_NO_WRITE_TO_RO = BIT(24), /* don't write to read
|
||||
+ only registers */
|
||||
+ AHCI_HFLAG_IS_MOBILE = BIT(25), /* mobile chipset, use
|
||||
SATA_MOBILE_LPM_POLICY
|
||||
as default lpm_policy */
|
||||
AHCI_HFLAG_SUSPEND_PHYS = (1 << 26), /* handle PHYs during
|
||||
@@ -258,22 +260,22 @@ enum {
|
||||
EM_MAX_RETRY = 5,
|
||||
|
||||
/* em_ctl bits */
|
||||
- EM_CTL_RST = (1 << 9), /* Reset */
|
||||
- EM_CTL_TM = (1 << 8), /* Transmit Message */
|
||||
- EM_CTL_MR = (1 << 0), /* Message Received */
|
||||
- EM_CTL_ALHD = (1 << 26), /* Activity LED */
|
||||
- EM_CTL_XMT = (1 << 25), /* Transmit Only */
|
||||
- EM_CTL_SMB = (1 << 24), /* Single Message Buffer */
|
||||
- EM_CTL_SGPIO = (1 << 19), /* SGPIO messages supported */
|
||||
- EM_CTL_SES = (1 << 18), /* SES-2 messages supported */
|
||||
- EM_CTL_SAFTE = (1 << 17), /* SAF-TE messages supported */
|
||||
- EM_CTL_LED = (1 << 16), /* LED messages supported */
|
||||
+ EM_CTL_RST = BIT(9), /* Reset */
|
||||
+ EM_CTL_TM = BIT(8), /* Transmit Message */
|
||||
+ EM_CTL_MR = BIT(0), /* Message Received */
|
||||
+ EM_CTL_ALHD = BIT(26), /* Activity LED */
|
||||
+ EM_CTL_XMT = BIT(25), /* Transmit Only */
|
||||
+ EM_CTL_SMB = BIT(24), /* Single Message Buffer */
|
||||
+ EM_CTL_SGPIO = BIT(19), /* SGPIO messages supported */
|
||||
+ EM_CTL_SES = BIT(18), /* SES-2 messages supported */
|
||||
+ EM_CTL_SAFTE = BIT(17), /* SAF-TE messages supported */
|
||||
+ EM_CTL_LED = BIT(16), /* LED messages supported */
|
||||
|
||||
/* em message type */
|
||||
- EM_MSG_TYPE_LED = (1 << 0), /* LED */
|
||||
- EM_MSG_TYPE_SAFTE = (1 << 1), /* SAF-TE */
|
||||
- EM_MSG_TYPE_SES2 = (1 << 2), /* SES-2 */
|
||||
- EM_MSG_TYPE_SGPIO = (1 << 3), /* SGPIO */
|
||||
+ EM_MSG_TYPE_LED = BIT(0), /* LED */
|
||||
+ EM_MSG_TYPE_SAFTE = BIT(1), /* SAF-TE */
|
||||
+ EM_MSG_TYPE_SES2 = BIT(2), /* SES-2 */
|
||||
+ EM_MSG_TYPE_SGPIO = BIT(3), /* SGPIO */
|
||||
};
|
||||
|
||||
struct ahci_cmd_hdr {
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 5fae869d6a24055c16ffc2d92669e3fb2b258e34d36c850bb8cf9def417ecfa0 linux-6.6.54.tar.xz
|
||||
sha256 b9676828b737e8fb8eaa5198303d35d35e8df019550be153c8a42c99afe0cdd5 linux-6.6.36.tar.xz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
|
||||
+2
-2
@@ -42,8 +42,8 @@ Emulation in qemu (BIOS)
|
||||
1. Edit grub-bios.cfg
|
||||
|
||||
Since the driver will show up in the virtual machine as /dev/vda,
|
||||
change board/pc/grub-bios.cfg to use root=/dev/vda1 instead of
|
||||
root=/dev/sda1. Then rebuild grub2 and the image.
|
||||
change board/pc/grub-bios.cfg to use root=/dev/vda2 instead of
|
||||
root=/dev/sda2. Then rebuild grub2 and the image.
|
||||
|
||||
2. Run the emulation with:
|
||||
|
||||
|
||||
@@ -14,17 +14,23 @@ image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition spl {
|
||||
in-partition-table = "no"
|
||||
image = "sunxi-spl.bin"
|
||||
offset = 8K
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8K
|
||||
image = "u-boot.itb"
|
||||
offset = 40K
|
||||
size = 1M # 1MB - 40KB
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
offset = 1M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../linux/linux.hash
|
||||
@@ -1,2 +0,0 @@
|
||||
# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 55e5bcbc68d66776fc46896291f0a24844beb57817345a854d65e3d055fa423e linux-6.10.14.tar.xz
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR=$(dirname "$0")
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
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
|
||||
|
||||
@@ -17,7 +17,7 @@ Run the emulation with:
|
||||
|
||||
qemu-system-aarch64 \
|
||||
-M sbsa-ref \
|
||||
-cpu neoverse-n1 \
|
||||
-cpu cortex-a57 \
|
||||
-smp 4 \
|
||||
-m 1024 \
|
||||
-nographic \
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# Embed the DTB in the kernel image
|
||||
CONFIG_NIOS2_DTB_SOURCE_BOOL=y
|
||||
CONFIG_NIOS2_DTB_SOURCE="10m50_devboard.dts"
|
||||
@@ -0,0 +1,5 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-nios2 -kernel output/images/vmlinux -nographic # qemu_nios2_10m50_defconfig
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
@@ -1,4 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 c9f0d0bf967d690edbf34b621728a6271856f2e26ed46081a285b6d627a358c5 arm-trusted-firmware-v2.7-git4.tar.gz
|
||||
sha256 7efa89e1b4e4106ee05d68e876c8efbb146364d89cfd5d26bf4647b09c08f32b arm-trusted-firmware-v2.10-git4.tar.gz
|
||||
sha256 c0f23ccc71c49989e9ad238acf334473c17b7c88f79a20c829c3d443e3794a22 arm-trusted-firmware-v2.11-git4.tar.gz
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Run Linux in emulation with:
|
||||
|
||||
qemu-system-riscv32 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv32_virt_defconfig
|
||||
qemu-system-riscv32 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv32_virt_defconfig
|
||||
|
||||
qemu-system-riscv32 -M virt -bios none -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0,if=none -device virtio-blk-device,drive=hd0 -nographic -cpu rv32,mmu=off -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 # qemu_riscv32_nommu_virt_defconfig
|
||||
qemu-system-riscv32 -M virt -bios none -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -nographic -cpu rv32,mmu=off -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 # qemu_riscv32_nommu_virt_defconfig
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
@@ -22,7 +22,8 @@ Run the emulation with:
|
||||
-blockdev node-name=pflash0,driver=file,read-only=on,filename=output/images/RISCV_VIRT_CODE.fd \
|
||||
-blockdev node-name=pflash1,driver=file,filename=output/images/RISCV_VIRT_VARS.fd \
|
||||
\
|
||||
-drive file=output/images/disk.img,format=raw \
|
||||
-drive file=output/images/disk.img,format=raw,id=hd0 \
|
||||
-device virtio-blk-device,drive=hd0 \
|
||||
\
|
||||
-netdev user,id=net0 \
|
||||
-device virtio-net-device,netdev=net0 # qemu_riscv64_virt_efi_defconfig
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Run Linux in emulation with:
|
||||
|
||||
qemu-system-riscv64 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv64_virt_defconfig
|
||||
qemu-system-riscv64 -M virt -bios output/images/fw_jump.elf -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic # qemu_riscv64_virt_defconfig
|
||||
|
||||
qemu-system-riscv64 -M virt -bios none -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0,if=none -device virtio-blk-device,drive=hd0 -nographic -cpu rv64,mmu=off -netdev user,id=net0 -device virtio-net-device,netdev=net0 # qemu_riscv64_nommu_virt_defconfig
|
||||
qemu-system-riscv64 -M virt -bios none -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -nographic -cpu rv64,mmu=off -netdev user,id=net0 -device virtio-net-device,netdev=net0 # qemu_riscv64_nommu_virt_defconfig
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
label Radxa Rock 5b Linux
|
||||
kernel /boot/Image
|
||||
devicetree /boot/rk3588-rock-5b.dtb
|
||||
append root=PARTLABEL=rootfs earlycon rootwait
|
||||
append root=/dev/mmcblk1p1 rw rootfstype=ext4 earlycon rootwait
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
partition-table-type = "gpt"
|
||||
partition-table-type = "hybrid"
|
||||
}
|
||||
|
||||
partition uboot {
|
||||
@@ -11,15 +11,8 @@ image sdcard.img {
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition uboot-env {
|
||||
partition-type-uuid = 3de21764-95bd-54bd-a5c3-4abe786f38a8
|
||||
offset = 16M
|
||||
size = 64K
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type-uuid = L
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
bootable = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 057263d0afc17d5253794afd3d239ba4da4aa734b22fa36c1665f41b95449b73 linux-6.11.3.tar.xz
|
||||
# Locally calculated
|
||||
sha256 f68d9f5ffc0a24f850699b86c8aea8b8687de7384158d5ed3bede37de098d60c linux-6.7.4.tar.xz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
CONFIG_ENV_SIZE=0x10000
|
||||
CONFIG_PARTITION_TYPE_GUID=y
|
||||
# CONFIG_ENV_IS_NOWHERE is not set
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_MMC_ENV_DEV=1
|
||||
@@ -4,7 +4,7 @@ image sdcard.img {
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-with-spl.kwb"
|
||||
image = "u-boot-spl.kwb"
|
||||
offset = 512
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../linux/linux.hash
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 0ad83b1a1a780a1aad948d55aa55ee63c50c626f2d46910b9d2180028d100a5e linux-6.6.43.tar.xz
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
+1
-1
@@ -22,7 +22,7 @@ main()
|
||||
GENIMAGE_CFG="$(mktemp --suffix genimage.cfg)"
|
||||
|
||||
sed -e "s/%ATFBIN%/${ATFBIN}/" \
|
||||
board/stmicroelectronics/common/stm32mp1xx/genimage.cfg.template > ${GENIMAGE_CFG}
|
||||
board/stmicroelectronics/common/stm32mp157/genimage.cfg.template > ${GENIMAGE_CFG}
|
||||
|
||||
support/scripts/genimage.sh -c ${GENIMAGE_CFG}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../linux/linux.hash
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 8bd8de3562fb006653e550a934e66ed9f80b7576258a03e2caa2e3ce1c1f9f24 linux-6.1.112.tar.xz
|
||||
sha256 97cdc9127c7700556ea0891267a0c24cf372f4b81636fb8203a914f3a69f3406 linux-6.1.98.tar.xz
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
label stm32f469-disco-buildroot
|
||||
kernel /boot/zImage
|
||||
devicetree /boot/stm32f469-disco.dtb
|
||||
append console=ttySTM0,115200 root=/dev/mmcblk0p1 rw rootfstype=ext2 rootwait earlyprintk consoleblank=0 ignore_loglevel
|
||||
kernel /zImage
|
||||
devicetree /stm32f469-disco.dtb
|
||||
append console=ttySTM0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext2 rootwait earlyprintk consoleblank=0 ignore_loglevel
|
||||
|
||||
@@ -1,7 +1,24 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"stm32f469-disco.dtb",
|
||||
"extlinux"
|
||||
}
|
||||
}
|
||||
|
||||
size = 16M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
partition-type = 0xC
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b1751f18ece3df08d502dd87a9ab1a317dc0f9486355bf8ee62ba6af0b35da30 linux-5.15.167.tar.xz
|
||||
sha256 91bfc0ea152ce7b102a0b79d35a7c92843874ebf085c99d2ba8b4d85e62b1a7c linux-5.15.162.tar.xz
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
|
||||
sha256 f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f u-boot-2024.07.tar.bz2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D "${BOARD_DIR}"/extlinux.conf "${TARGET_DIR}"/boot/extlinux/extlinux.conf
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
label stm32f746-disco-buildroot
|
||||
kernel /boot/zImage
|
||||
devicetree /boot/stm32f746-disco.dtb
|
||||
append console=ttySTM0,115200 root=/dev/mmcblk0p1 rw rootwait consoleblank=0 ignore_loglevel
|
||||
@@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
OUTPUT_DIR=output
|
||||
else
|
||||
OUTPUT_DIR=$1
|
||||
fi
|
||||
|
||||
if ! test -d "${OUTPUT_DIR}" ; then
|
||||
echo "ERROR: no output directory specified."
|
||||
echo "Usage: $0 OUTPUT_DIR"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
"${OUTPUT_DIR}"/host/bin/openocd -f board/stm32f746g-disco.cfg \
|
||||
-c "init" \
|
||||
-c "reset init" \
|
||||
-c "flash probe 0" \
|
||||
-c "flash info 0" \
|
||||
-c "flash write_image erase ${OUTPUT_DIR}/images/u-boot.bin 0x08000000" \
|
||||
-c "reset run" \
|
||||
-c "shutdown"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user