From: Romain Naour <romain.naour@smile.fr>
To: Andreas Dannenberg <dannenberg@ti.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v12 00/16] Add support for AM62x-SK HS-FS devices
Date: Wed, 10 Apr 2024 23:38:33 +0200 [thread overview]
Message-ID: <bbb129b8-077f-44e2-b30e-4e5ca33ed7e6@smile.fr> (raw)
In-Reply-To: <20240410082429.r2qhdb7uaqbr2ukk@dasso>
Hi Andreas, Gero, Dario, All,
Le 10/04/2024 à 10:24, Andreas Dannenberg via buildroot a écrit :
> Gero, Dario,
>
> On Wed, Apr 10, 2024 at 10:00:06AM +0200, Gero Schwäricke via buildroot wrote:
>> On Wed, Apr 10, 2024 at 09:34:16AM +0200, Dario Binacchi wrote:
>>> Hi Romain, All
>>>
>>> On Tue, Apr 9, 2024 at 11:17 PM Romain Naour <romain.naour@smile.fr> wrote:
>>>>
>>>> Hello Arnout, All,
>> [...]
>>>>
>>>> Thanks, the series is merged.
>>>>
>>>> Thanks to Dario and Michael for the initial work on the HS-FS topic!
>>>>
>>>> The initial series showed that it was necessary to rework heavily the TI K3 SoC
>>>> related packages in Buildroot. This was the opportinity to anticipate on the
>>>> addition of new TI K3 SoC support.
>>>>
>>>> Thanks to Andreas and Bryan from TI for the review and fine details about TI K3
>>>> SoC familly and the runtime testing.
>>>>
>>>> Thanks to all testers and reviewers.
>>>
>>> I think my two patches for version 10 were ultimately lost:
>>>
>>> [v10,05/12] package/ti-k3: disable HS-FS for AM65 SOC
>>> [v10,04/12] package/ti-k3: move TI_K3_{SECTYPE, SOC} out of the image-gen scope
>>>
>>> Specifically, patch 4 is necessary for the proper creation of the
>>> image. Has version 12 actually been tested by anyone?
>>> I can assure you version 10 has been.
>>>
>>> Additionally, it seems that patch
>>> [v10,02/12] boot/ti-k3-r5-loader: set binman environment
>>> has been incorporated into your patch "boot/ti-k3-r5-loader: remove
>>> BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN"
>>> and I don't understand why.
>>>
>>> Thanks and regards,
>>> Dario
>>
>> Hi Dario,
>>
>> I can confirm that something is amiss, maybe it would have been better
>> to await more tests with patch V12.
>
> I just tested top-of-master w/o any additional patches on SK-AM62 (with
> GP silicon) and SK-AM62B (production board, with HS-FS silicon) and it
> worked like a champ. Here's the beginning of the boot using SK-AM62...
>
> <...snip...>
> U-Boot SPL 2024.01 (Apr 09 2024 - 20:11:30 -0500)
> SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
> SPL initial stack usage: 13368 bytes
> Trying to boot from MMC2
> Authentication passed
> Authentication passed
> Authentication passed
> Authentication passed
> Authentication passed
> Starting ATF on ARM64 core...
>
> NOTICE: BL31: v2.7(release):v2.7
> NOTICE: BL31: Built : 20:08:16, Apr 9 2024
> I/TC:
> I/TC: OP-TEE version: Unknown_4.0 (gcc version 12.3.0 (Buildroot
> 2024.02-416-gd01e13c4d4)) #1 Wed Apr 10 01:08:14 UTC 2024 aarch64
> I/TC: WARNING: This OP-TEE configuration might be insecure!
> I/TC: WARNING: Please check
> https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
> I/TC: Primary CPU initializing
> I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill
> Capybar')
> I/TC: HUK Initialized
> I/TC: Activated SA2UL device
> I/TC: Enabled firewalls for SA2UL TRNG device
> I/TC: SA2UL TRNG initialized
> I/TC: SA2UL Drivers initialized
> I/TC: Primary CPU switching to normal world boot
>
> U-Boot SPL 2024.01 (Apr 09 2024 - 20:11:48 -0500)
> SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
> SPL initial stack usage: 1872 bytes
> Trying to boot from MMC2
> Authentication passed
> Authentication passed
>
>
> U-Boot 2024.01 (Apr 09 2024 - 20:11:48 -0500)
>
> SoC: AM62X SR1.0 HS-FS
> Model: Texas Instruments AM625 SK
> DRAM: 2 GiB
> Core: 56 devices, 23 uclasses, devicetree: separate
> MMC: mmc@fa10000: 0, mmc@fa00000: 1
> Loading Environment from nowhere... OK
> In: serial@2800000
> Out: serial@2800000
> Err: serial@2800000
> Net: eth0: ethernet@8000000port@1
> Hit any key to stop autoboot: 0
> <...snip...>
>
>
>> At least my current test of ti_am62x_sk_defconfig on master failed to boot:
>>
>> U-Boot SPL 2024.01 (Apr 10 2024 - 09:32:17 +0200)
>> k3_system_controller sysctrler: k3_sysctrler_start: Boot Notification response failed. ret = -110
>> Firmware init failed on rproc (-110)
>>
>> resetting ...
>>
>> I tested with AM62x SK EVM E3. I'll try to apply your two missing
>> patches and test again.
>
> Are you using a board with PCB revision 'PROC114E3'? If so this board is
> known as 'Third prototype, early release revision of the AM62x SK EVM'
> and should have GP silicon. Which means you must have re-added...
>
> BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN="tiboot3-am62x-gp-evm.bin
>
> ...to your .config?
>
> I don't have a PROC114E3 board but the board I used to test the GP
> variant today is a PROC114E2, and it worked. But neither of those boards
> is considered "production".
>
> Also just for refernce, an SK-AM62 PCB revision history can be found in
> Table 1-1 in the AM62x SK EVM User's Guide [1].
Thanks for the additional testing Andreas!
Gero, if you are using an early hardware revision of the SK-AM62 you must re-add:
BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN="tiboot3-am62x-gp-evm.bin"
I added a new comment in board/ti/am62x-sk/readme.txt [1] that refer to the TI
E2E forum post [2].
[1]
https://gitlab.com/buildroot.org/buildroot/-/blob/master/board/ti/am62x-sk/readme.txt?ref_type=heads&plain=1#L20
[2]
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1210443/faq-am625-generating-sitara-am62x-am62ax-am64x-gp-device-bootable-mmc-sd-card-images-using-sdk-v8-6-and-yocto
Best regards,
Romain
>
>
> --
> Andreas Dannenberg
> Texas Instruments Inc
>
>
> [1] https://www.ti.com/lit/pdf/spruj40
>
>
>
>
>> Best,
>> Gero
>>
>>>> Best regards,
>>>> Romain
>>>>
>> [...]
>>
>> --
>>
>>
>>
>> –––
>>
>>
>> grandcentrix GmbH | A Vodafone Company · Holzmarkt 1 · 50676
>> *Cologne* | Phoenixseestrasse 18 · 44263 *Dortmund* · Germany
>> | in
>> <https://www.linkedin.com/company/grandcentrix> | phone: +49-221-677-860-0
>> | email: hello@grandcentrix.net <mailto:hello@grandcentrix.net>
>>
>>
>> grandcentrix cares about privacy
>> <https://grandcentrix.net/de/pages/privacymail/>
>>
>> Amtsgericht Köln | HRB
>> 70119 | Geschäftsführer: M. Krömer, R. Hänel | USt.-IdNr.: DE266333969
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-04-10 21:38 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-07 10:34 [Buildroot] [PATCH v12 00/16] Add support for AM62x-SK HS-FS devices Romain Naour
2024-04-07 10:34 ` [Buildroot] [PATCH v12 01/16] boot/ti-k3-r5-loader: drop hash for version 2022.10 Romain Naour
2024-04-07 10:34 ` [Buildroot] [PATCH v12 02/16] board/ti/am6{2, 4}x-sk: add arm-trusted-firmware v2.7 hash Romain Naour
2024-04-07 19:53 ` Arnout Vandecappelle via buildroot
2024-04-09 11:35 ` Romain Naour
2024-04-07 10:34 ` [Buildroot] [PATCH v12 03/16] boot/uboot: rename TI_K3_DM option to cover further TI K3 SoCs support Romain Naour
2024-04-07 20:01 ` Arnout Vandecappelle via buildroot
2024-04-09 11:36 ` Romain Naour
2024-04-07 10:34 ` [Buildroot] [PATCH v12 04/16] boot/ti-k3-r5-loader: add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option Romain Naour
2024-04-07 20:07 ` Arnout Vandecappelle via buildroot
2024-04-07 10:34 ` [Buildroot] [PATCH v12 05/16] boot/uboot: add BR2_TARGET_UBOOT_USE_BINMAN option Romain Naour
2024-04-08 16:11 ` James Hilliard
2024-04-09 11:58 ` Romain Naour
2024-04-07 10:34 ` [Buildroot] [PATCH v12 06/16] boot/ti-k3-r5-loader: install tiboot3.bin and sysfw.itb to BINARIES_DIR Romain Naour
2024-04-07 20:19 ` Arnout Vandecappelle via buildroot
2024-04-07 10:35 ` [Buildroot] [PATCH v12 07/16] configs/ti_am62x_sk_defconfig: bump U-Boot version to 2024.01 Romain Naour
2024-04-08 13:00 ` Arnout Vandecappelle via buildroot
2024-04-09 11:36 ` Romain Naour
2024-04-09 12:05 ` Romain Naour
2024-04-07 10:35 ` [Buildroot] [PATCH v12 08/16] configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.18 Romain Naour
2024-04-07 10:35 ` [Buildroot] [PATCH v12 09/16] board/ti/am62x-sk: generalize post-build.sh Romain Naour
2024-04-08 13:25 ` Arnout Vandecappelle via buildroot
2024-04-09 11:41 ` Romain Naour
2024-04-07 10:35 ` [Buildroot] [PATCH v12 10/16] board/ti/am62x-sk: move post-build.sh to board/ti/common/am6xx Romain Naour
2024-04-08 13:26 ` Arnout Vandecappelle via buildroot
2024-04-07 10:35 ` [Buildroot] [PATCH v12 11/16] configs/ti_am64x_sk_defconfig: bump U-Boot version to 2024.01 Romain Naour
2024-04-07 10:35 ` [Buildroot] [PATCH v12 12/16] configs/ti_am64x_sk_defconfig: bump Linux version to 6.6.18 Romain Naour
2024-04-07 10:35 ` [Buildroot] [PATCH v12 13/16] boot/uboot: remove BR2_TARGET_UBOOT_TI_K3_DM_SOCNAME Romain Naour
2024-04-07 10:35 ` [Buildroot] [PATCH v12 14/16] boot/ti-k3-image-gen: remove package Romain Naour
2024-04-07 10:35 ` [Buildroot] [PATCH v12 15/16] boot/ti-k3-r5-loader: remove BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN Romain Naour
2024-04-08 13:39 ` Arnout Vandecappelle via buildroot
2024-04-07 10:35 ` [Buildroot] [PATCH v12 16/16] package/ti-k3: switch ti_am6{2, 4}x_sk_defconfig to HS-FS by default Romain Naour
2024-04-08 13:46 ` Arnout Vandecappelle via buildroot
2024-04-09 21:35 ` Andreas Dannenberg via buildroot
2024-04-07 20:30 ` [Buildroot] [PATCH v12 00/16] Add support for AM62x-SK HS-FS devices Arnout Vandecappelle via buildroot
2024-04-08 13:47 ` Arnout Vandecappelle via buildroot
2024-04-09 21:17 ` Romain Naour
2024-04-10 7:34 ` Dario Binacchi
2024-04-10 8:00 ` Gero Schwäricke via buildroot
2024-04-10 8:24 ` Andreas Dannenberg via buildroot
2024-04-10 9:23 ` Andreas Dannenberg via buildroot
2024-04-10 9:36 ` Dario Binacchi
2024-04-10 11:10 ` Gero Schwäricke via buildroot
2024-04-10 21:38 ` Romain Naour [this message]
2024-04-10 21:30 ` Romain Naour
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bbb129b8-077f-44e2-b30e-4e5ca33ed7e6@smile.fr \
--to=romain.naour@smile.fr \
--cc=buildroot@buildroot.org \
--cc=dannenberg@ti.com \
--cc=dario.binacchi@amarulasolutions.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.