aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-30ANDROID: rockpi4: disable CONFIG_ERRNO_STRpaulliu-local-patchYing-Chun Liu (PaulLiu)
When compiling with clang, CONFIG_ERRNO_STR seems to cause failure boot. This is unstable because some build work but some don't. Change-Id: I3bbbb7494d5d5e2edd78c5701a9f2e566204ac4a Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2023-05-17Merge "Updates for Kiwi bootloaders"Treehugger Robot
2023-05-17Updates for Kiwi bootloadersTom Cherry
Keymint is not used by this platform, so disable its config. Update the slot from `a` to `_a` due to code changes. Bug: 282245718 Test: boot kiwi Change-Id: I44b119298a8bb92192e0b868c075cc75a2ca933f
2023-05-16Merge "ANDROID: arch: riscv: don't use -ffixed-gp"Treehugger Robot
2023-05-17ANDROID: arch: riscv: don't use -ffixed-gpYing-Chun Liu (PaulLiu)
When compling with clang, we don't have -ffixed-gp CFLAGS. Change-Id: I079d98be90ee4372c15abc66cb35e2107d143d07 Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2023-05-17ANDROID: gem5: enable CONFIG_NETYing-Chun Liu (PaulLiu)
We build ETH UCLASS but without CONFIG_NET enabled. This will cause build failure. It is because eth_set_enable_bootdevs is defined in eth-uclass.c. If we enabled CONFIG_DM_ETH we must turn on CONFIG_NET too. Change-Id: I8c5cbee2d56b8045e565f410c93b4a4fb971089c Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2023-05-17ANDROID: board/armltd/vexpress64: don't select LINUX_KERNEL_IMAGE_HEADERYing-Chun Liu (PaulLiu)
When compling with clang for gem5 target, enabling LINUX_KERNEL_IMAGE_HEADER we will get the following error: symbol _start is already defined Change-Id: I8424a2925ec62fe10ddc1ab3a80d23be368aacfe Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2023-05-09kleaf: Set arch for x86_64 and riscv64.Yifan Hong
arm will be set in follow up CLs. Bug: 272164611 Test: TH Change-Id: I402b104d8c2612e0bd6cbcec1576bd7deb5fc512
2023-05-02Merge changes I3749d9aa,Ic1ce9ec3,I7e8dac2e,I66451e2a,I7e090a6d, ...Ram Muthiah
* changes: Revert "rockchip: Support building the all output files in binman" Revert "rockchip: Use atf as firmware and move u-boot to loadables in FIT" Revert "Revert "rockchip: Only call binman when TPL available"" Revert "rockchip: Use an external TPL binary on RK3568" Revert "tools: binman: minor formatting fix in docs" Revert "binman: Add support for align argument to mkimage tool" Revert "rockchip: Align FIT image data to SD/MMC block length" Revert "binman: Add special subnodes to the nodes generated by split-elf" Revert "rockchip: Add sha256 hash to FIT images" Revert "binman: Add support for selecting firmware to use with split-elf" Revert "binman: Add support for a rockchip-tpl entry" Revert "rockchip: Convert all boards to use binman" Revert "rockchip: Drop the FIT generator script" Revert "binman: Mark mkimage entry missing when its subnodes is missing" ANDROID: arm: disable BOOTSTD Configs ANDROID: x86: explcitly enable NETDEVICES Merge branch 'v2023.04' into master
2023-05-02Revert "rockchip: Support building the all output files in binman"Ram Muthiah
This reverts commit e0c0efff2a02bf153d6afced3a57107790159ae2. Bug: 280449250 Change-Id: I3749d9aad1544b71ab824425c321ba4cc808e8fa Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "rockchip: Use atf as firmware and move u-boot to loadables in FIT"Ram Muthiah
This reverts commit 7e215ad05f4d9005d00e954e705fac05b86e62dd. Bug: 280449250 Change-Id: Ic1ce9ec36f22dc9f8ac86cdaae7c060fdc118303 Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "Revert "rockchip: Only call binman when TPL available""Ram Muthiah
This reverts commit 1a45a031d75d8c1e4b63ff72ef5222e491f6481f. Bug: 280449250 Change-Id: I7e8dac2e2b075910462623758a4ac2b6aef62dcd Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "rockchip: Use an external TPL binary on RK3568"Ram Muthiah
This reverts commit 4773e9d5ed4c12e02759f1d732bb66006139037a. Bug: 280449250 Signed-off-by: Ram Muthiah <rammuthiah@google.com> Change-Id: I66451e2abe1dffc45743deee3be233aca5456808
2023-05-02Revert "tools: binman: minor formatting fix in docs"Ram Muthiah
This reverts commit abe2a16aa52ea21acb435e9f1d9c85f5ac4e7794. Bug: 280449250 Change-Id: I7e090a6d3e53f75cf78f9d01e35f5c21ed03ba3e Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "binman: Add support for align argument to mkimage tool"Ram Muthiah
This reverts commit 9b2fd2d22852ee70c07934a78314b01ad9b96b62. Bug: 280449250 Change-Id: I5cfaa842f16e6378ca626e449ef519de5fec8d5d Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "rockchip: Align FIT image data to SD/MMC block length"Ram Muthiah
This reverts commit 5ad03fc77dfa055629bfbf283bdf938e6dd27d94. Bug: 280449250 Change-Id: I7e06d3c8d17d679d9c114c612e9b57294a30f6cf Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "binman: Add special subnodes to the nodes generated by split-elf"Ram Muthiah
This reverts commit 00b3d53f156927427b2bec95604acb6f6190c134. Bug: 280449250 Change-Id: I0c2f3b71c20aea7f82f325426623135ad9be83fc Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "rockchip: Add sha256 hash to FIT images"Ram Muthiah
This reverts commit 99e3a2cd4e74b8d6fd7cca3d3dc8e106170ac532. Bug: 280449250 Change-Id: I6fdee6b234063e15ea667e73d18ba89332e70752 Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "binman: Add support for selecting firmware to use with split-elf"Ram Muthiah
This reverts commit f584d44c2371b9d0027ac30fe4af5475926caecc. Bug: 280449250 Change-Id: If997c58401c1a2fe1cf74f101698bd93b3a09aba Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "binman: Add support for a rockchip-tpl entry"Ram Muthiah
This reverts commit 05b978be5f5c5494044bd749f9b6b38f2bb5e0cc. Bug: 280449250 Change-Id: Ieb7420f5b131fe49fecc1f50e771786d5080697b Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "rockchip: Convert all boards to use binman"Ram Muthiah
This reverts commit 31f35e83b18fe8c6b1bc6f1501b575c7cf764939. Bug: 280449250 Change-Id: If25ae8cd9e2a795e36d80d6a8cb233938dadece6 Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "rockchip: Drop the FIT generator script"Ram Muthiah
This reverts commit 12c3e948eeab0531c7eec813969e089f9f252891. Bug: 280449250 Change-Id: I8584e64114b99509f1774728c48545142507532f Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02Revert "binman: Mark mkimage entry missing when its subnodes is missing"Ram Muthiah
This reverts commit 40389c2a462256da7f2348bed791c8ba2ae6eec6. Bug: 280449250 Change-Id: Icb20bbc4fe87775a6d1c5c57bad664b9321455c2 Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02ANDROID: arm: disable BOOTSTD ConfigsRam Muthiah
With c2488a81 (arm: qemu: Switch to standard boot) brought in with the last merge into the Android branch, BOOTSTD configs were added to the base configs for qemu arm devices. Disable them fully since they're being partially disabled already as a part of our base qemu fragment. Bug: 280449250 Change-Id: I73d493bdb1ca87ed2b661dd14e310dec4d646342 Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-05-02ANDROID: x86: explcitly enable NETDEVICESRam Muthiah
With 8457d023 (global: Remove extraneous DM_ETH imply/select) brought in with the last merge into the Android branch, the explicit disable of NETDEVICES needs to be overriden to allow DM_ETH which is needed for the FASTBOOT and CMD_NET configs. Bug: 280449250 Signed-off-by: Ram Muthiah <rammuthiah@google.com> Change-Id: Idd6197ab204f1c25edc774e52a31f5c1daca69e7
2023-04-28Revert "ANDROID: virtio: Introduce virtio_iommu_platform_ops"Ying-Chun Liu (PaulLiu)
This reverts commit 07b5e732a853820053d417687fba31c9a5d547d9. Change-Id: I37ebd39bd1455f1aae32aa2457aefccae396205a
2023-04-28Revert "ANDROID: firmware: Add skeleton driver for KVM hypervisor services ↵Ying-Chun Liu (PaulLiu)
on arm64" This reverts commit 4d09a0693aeebfa24ce7db43183e746604e04b09. Change-Id: I7dd2b7687f1aef876bf35d97f128ac672aff0284
2023-04-28Revert "ANDROID: kvm: Hook up share/unshare callbacks for pKVM hyp services"Ying-Chun Liu (PaulLiu)
This reverts commit 321a9af44cd84435c73dc3ab2e43c4b7955b0b49. Change-Id: Icd732cd29a36a178eccdeafff07f29d58485b3c4
2023-04-28Revert "ANDROID: Enable KVM hypervisor services for arm64 crosvm guests"Ying-Chun Liu (PaulLiu)
This reverts commit 90f9ba437e8fac0bbebd3bb990793cab6bf7213d. Change-Id: Idaa519ae82150f0481d8dee2125b5795ee74d944
2023-04-27Merge branch 'v2023.04' into masterYing-Chun Liu (PaulLiu)
Change-Id: I97e6faf811dce0c4c7347c0f9ea35e96845efdb0
2023-04-22kleaf: add targets for qemu_x86_64 and kiwi(_p)Ram Muthiah
This commit adds bazel targets for unmigrated targets. Bug: 279151374 Change-Id: Id5d90f62d46e91a596317b437dcadcf26fd1491c
2023-04-21kleaf: add targets for rockpi4Ying-Chun Liu (PaulLiu)
This commit adds bazel target for rockpi4 because build.sh is not working anymore. Bug: 279151374 Change-Id: I66d40a2b00804a5cbd8a0cf63887da85bebb6e93 Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> Cc: Yifan Hong <elsk@google.com>
2023-04-13kleaf: change crosvm_x86_64 binary path to u-boot.romDmitrii Merkurev
x86 targets have a different u-boot binary name Bug: 259292099 Change-Id: Ic166e7e7569fb153ce5a902a52dacf856526ff00 Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-13Merge changes Id33a1ec9,I0621d1e8Treehugger Robot
* changes: fragments: do not disable CONFIG_STATIC_RELA Revert "ANDROID: Work around toolchain issue with CONFIG_STATIC_RELA"
2023-04-12fragments: do not disable CONFIG_STATIC_RELAYing-Chun Liu (PaulLiu)
The upstream now works with STATIC_RELA enabled by default when compiling with clang and llvm. Thus we re-enable STATIC_RELA by default. Change-Id: Id33a1ec96147e827822eaeffaa615b2307063c43 Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2023-04-12Revert "ANDROID: Work around toolchain issue with CONFIG_STATIC_RELA"Ying-Chun Liu (PaulLiu)
This reverts commit 5a32482b32fcba52aed32cb410d66e02abcb88b0. Change-Id: I0621d1e801f235515608563d556a95ae8d356ff2
2023-04-12net: handle fastboot boot commands after TCP connection is closedDmitrii Merkurev
Fixing race condition between ack and reset that causes fastboot client to hang Bug: 274107153 Change-Id: I103f2ce8ccb7f5a6de3a2cd2249a71c1f682cc58 Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-12net: start IP6 only tcp fastboot and fix fastboot continueDmitrii Merkurev
Add boot command to the fastboot tcp chain to properly handle fastboot continue command Bug: 274107153 Change-Id: I4abadc5db58fbeb1fadbaf69a3977d4ab8b78a67 Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-11net: update net_ip6 from link_local address when eth device is changedDmitrii Merkurev
Current active eth device may be changed (due to ethprime), so make sure current net_ip6 is updated as a reaction. Bug: 274107153 Test: checked fastboot tcp -ipv6 uses eth1 link_local IP6 address Change-Id: Ib7fb88ee4184b223998deb16a7b07052ef77ee68 Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-11net: add fastboot TCP documentation and IP6-only modeDmitrii Merkurev
Updated command to start IPv6 only TCP fastboot: fastboot tcp -ipv6 Bug: 274107153 Test: checked fastboot tcp -ipv6 Change-Id: I42315f9c0d8db1c99974d91677dd3a10f873a704 Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-10Merge changes I29a6d7ca,Ied03b8dc,Ifd420d48,I58c5e05f,Id6190d9bDmitrii Merkurev
* changes: net: enable IP6 for x86 CF targets net: add fastboot TCP6 support net: introduce TCP/IP6 support net: prepare existing TCP stack to be reused by IP6 net: split IP_TCP header into separate IP/IP6 and TCP headers
2023-04-06net: enable IP6 for x86 CF targetsDmitrii Merkurev
Bug: 276327463 Test: checked TCP/UDP using fastboot and wget on mainline u-boot Test: checked TCP/UDP using fastboot on AOSP u-boot Test: checked TCP IPv6 using fastboot on AOSP and mainline u-boot Change-Id: I29a6d7ca5da124a38cdf4f5b3c2c638ae856d7e0 Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-06net: add fastboot TCP6 supportDmitrii Merkurev
fastboot tcp command remains the same, but started listening IP6 in case it's enabled Bug: 276327463 Test: checked TCP/UDP using fastboot and wget on mainline u-boot Test: checked TCP/UDP using fastboot on AOSP u-boot Test: checked TCP IPv6 using fastboot on AOSP and mainline u-boot Change-Id: Ied03b8dc7ebebbb5f07f8b06ed9c0805b666ed4c Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-06net: introduce TCP/IP6 supportDmitrii Merkurev
Add TCP/IP6 related headers and reuse refactored TCP/IP implementation Bug: 276327463 Test: checked TCP/UDP using fastboot and wget on mainline u-boot Test: checked TCP/UDP using fastboot on AOSP u-boot Change-Id: Ifd420d48effab3e863c11ced929da1e4dc33ea65 Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-06net: prepare existing TCP stack to be reused by IP6Dmitrii Merkurev
Changes: 1. Separate reusable part from net_set_tcp_header to net_set_tcp_header_common 2. Make TCP signatures reusable by receiving particular IP agnostic TCP headers 3. Extract net_send_ip_packet6 from net_send_udp_packet6 to reuse the code 4. Expose TCP state machine related functions This allows us to reuse TCP logic between IP and IP6 stack. Bug: 276327463 Test: checked TCP/UDP using fastboot and wget on mainline u-boot Test: checked TCP/UDP using fastboot on AOSP u-boot Change-Id: I58c5e05f9fe9671569517ac8dd6a95213c9f572b Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-06net: split IP_TCP header into separate IP/IP6 and TCP headersDmitrii Merkurev
This allows us to reuse TCP logic between IP and IP6 stack Test: checked TCP/UDP using fastboot and wget on mainline u-boot Test: checked TCP/UDP using fastboot on AOSP u-boot Bug: 276327463 Change-Id: Id6190d9bfa7ffdc3306a117c793c2ee9c60dfb45 Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
2023-04-05Re-add missing include to fix gem5 buildRam Muthiah
Change-Id: I06b6f4c5da393ae0a88b11a19bcc244d4689b396 Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2023-04-03Prepare v2023.04Tom Rini
Signed-off-by: Tom Rini <trini@konsulko.com>
2023-04-03arm: dts: k3-j721e-sk-u-boot: fix boot on j721e SKSinthu Raja
J721e SK has been broken since at least March 2022. The main-navss and mcu-navss nodes were renamed and this caused the A72 SPL to fail early in the boot even before the serial port was enabled. Fix this. A later patch series between v2022.07 and v2022.10 additionally broke boot on this board by introducing hbmc nodes which are not present on this board. The right fix is to disable these by default in the SOC dtsi file, but for now we can also disable them in the u-boot dtsi. With both these fixed, we can now boot the j721e SK board fully from mainline u-boot. Fixes: 58d61fb5a77ef ("arm: dts: k3-j721e-sk: Add initial A72 specific dts support") Fixes: 297daac43afb9 ("arm: dts: k3-j721e-mcu-wakeup: Add HyperBus Controller node") Reported-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> [gadiyar@ti.com: update commit description] Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Cc: Bryan Brattlof <bb@ti.com>
2023-04-03pico-imx6: Pass the mmc alias to fix boot regressionFabio Estevam
Originally, the mmc aliases node was present in imx6qdl-pico.dtsi. After the sync with Linux in commit d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux"), the aliases node is gone as the upstream version does not have it. This causes a boot regression in which the eMMC card cannot be found anymore. Fix it by passing the alias node in the u-boot.dtsi file to restore the original behaviour where the eMMC (esdhc3) was mapped to mmc0. Fixes: d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux") Signed-off-by: Fabio Estevam <festevam@denx.de>