[PATCH v3] arm-trusted-firmware-mvebu: CZ.NIC's Secure Firmware bump to v2021.09.07
Hauke Mehrtens
hauke at hauke-m.de
Wed Sep 15 08:45:39 PDT 2021
On 9/15/21 2:41 PM, Hauke Mehrtens wrote:
> On 9/14/21 8:42 PM, Josef Schlehofer wrote:
>>
>> On 14. 09. 21 20:21, Andre Heider wrote:
>>> On 14/09/2021 19:59, Hauke Mehrtens wrote:
>>>> On 9/14/21 10:50 AM, sean lee wrote:
>>>>> bump version and remove patches that have been applied
>>>>>
>>>>> 176d701 wtmi: Wait 1s after putting PHYs INTn pin low
>>>>> 2eeccfe wtmi: Change comment describing reset workaround
>>>>> e8c94a5 wtmi: Count RAM size from both CS0 and CS1
>>>>> 995979e wtmi: Rename macro
>>>>> e29eb29 wtmi: soc: Fix start_ap_workaround() for TF-A with debug
>>>>> 81245ed wtmi: Use constant name PLAT_MARVELL_MAILBOX_BASE
>>>>> 18ccb83 wtmi: Do a proper UART reset with clock change as described
>>>>> in spec
>>>>> 15ff106 avs: Validate VDD value from OTP
>>>>> 3f33626 fix: clock: a3700: change pwm clock for 600/600 and 1200/750
>>>>> preset
>>>>> fb5e436 wtmi: uart: fix UART baudrate divisor calculation
>>>>>
>>>>> Signed-off-by: sean lee <ilf at live.com>
>>>>> ---
>>>>> .../boot/arm-trusted-firmware-mvebu/Makefile | 4 +-
>>>>> ...ix-UART-baudrate-divisor-calculation.patch | 66
>>>>> -------------------
>>>>> ...change-pwm-clock-for-600-600-and-120.patch | 48 --------------
>>>>> .../102-avs-Validate-VDD-value-from-OTP.patch | 52 ---------------
>>>>> 4 files changed, 2 insertions(+), 168 deletions(-)
>>>>> delete mode 100644
>>>>> package/boot/arm-trusted-firmware-mvebu/patches-mox-boot-builder/100-wtmi-uart-fix-UART-baudrate-divisor-calculation.patch
>>>>>
>>>>>
>>>>> delete mode 100644
>>>>> package/boot/arm-trusted-firmware-mvebu/patches-mox-boot-builder/101-fix-clock-a3700-change-pwm-clock-for-600-600-and-120.patch
>>>>>
>>>>>
>>>>> delete mode 100644
>>>>> package/boot/arm-trusted-firmware-mvebu/patches-mox-boot-builder/102-avs-Validate-VDD-value-from-OTP.patch
>>>>>
>>>>>
>>>>>
>>>>
>>>> Hi,
>>>>
>>>> This is a little bit unrelated.
>>>>
>>>> Is the source code of image/a3700-utils/wtptp/linux/tbb_linux
>>>> available somewhere? I wanted to build mvebu/cortex53 on an aarch64
>>>> host system and this file is only available for x86_64 and the
>>>> compilation fails.
>>>
>>> Yeah, its source is bundled, and actually atf upstream recently
>>> switched to building it instead of using the checked in binary.
>> TBH, it was outdated, buggy and recent changes were not included in the
>> bundled library as said here
>> https://github.com/MarvellEmbeddedProcessors/A3700-utils-marvell/commit/f014428f4bf7feafec1dcc4c37506d847718649a
>>
>>>
>>> Building it requires cryptocpp though, which doesn't yet exists as
>>> package. We don't really care about crypto since we're building just
>>> an untrusted firmware, so I opted to revert to using the binary
>>> instead. This is on top of the x86_64 binary toolchain too anyway.
>>
>> This one:
>> https://github.com/BKPepe/openwrt/commit/42322bebc5804a99b60a5bb54200eeba0587076d
>>
>> worked for me. But I didn't send it yet as I didn't do run-time testing
>> yet. I will do it soon.
>
> Thank you, I will build test this out later today.
>
> Hauke
With this change it build for me on a Linux host system with aarch64
architecture.
Hauke
More information about the openwrt-devel
mailing list