Closed acostach closed 2 years ago
Cross linking test thread on this in https://gitter.im/OE4T/jetpack-5-test?at=63123cb6aa09177429ee85fe - Looks like @ichergui has reproduced.
Hi @ichergui, do you know if there's any workaround or potential fix for using edk2-firmware-tegra from sources on the AGX Orin?
Thanks
Hey @acostach Sorry for the late reply. I will try to work on it over the weekend. I need to sync with @madisongh first I will keep you updated.
Thank you!
Hi @ichergui, just checking if you had time to look over this. Thank you!
I'm sorry @acostach I don't have updates for now. I'm still investigating the issue :disappointed:
Hey @acostach
As promised, I tried new fixes from nvidia on edk2-nvidia
repo via branch rel-35-updates
but still getting the same issue
I need to investigate more.
Thanks for @madisongh for his suggestion.
Attached file contains complete log from serial UART uefi_debug_mode_orin_agx_branch_rel-35-updates.log
@acostach FYI, I create post in the Nvidia forum. Hopefully the nvidia team can help me to progress on this issue. Here is the link: https://forums.developer.nvidia.com/t/building-edk2-firmware-for-tegra-with-gcc-12-2/227757
thank you for the update @ichergui, hopefully Nvidia can tell what can be done to fix this
@ichergui @acostach Do you have any updates on this issue? NVidia recommended using their toolchain. It's not clear if it's possible for balena processes.
We can help with testing Orin build as soon as it's ready.
Thank you.
Hey @mikhail-vl
I'm sorry, I don't have updates.
Regarding the toolchain, we are using the one from the OE-Core
. I will let @madisongh share his thoughts concerning the right toolchain to use
Hi Mikhail, BalenaOS uses meta-tegra as the upstream BSP. Once the issue is fixed here and we can boot the device using the firmware built from sources, we can patch it for BalenaOS and continue to look into supporting the AGX Orin.
@acostach Thank you for the update. Do you have a timeline for this issue?
Anything we can do to help?
@mikhail-vl I cannot offer a timeline, perhaps @ichergui or @madisongh can tell.
I finally got my hands on an Orin dev kit and was able to look into this. Turns out I missed updating the SRCREV of the repo that contains the NvGop pre-built driver (which is only used on Orin) when I originally updated the recipe for R35.1.0. The fix is in master and kirkstone now.
Hi @madisongh,
This is more of a question then a bug report. I've built the edk2-firmware-tegra from the wip-jetpack-5-ga branch and it doesn't seem to work on my AGX Orin. Previously I've built and used the one from wip-jetpack-5-dp and it worked just fine.
With this one I'm getting:
I also can't enter the uefi menu by pressing the Esc key like I could on 34.1.1, perhaps because of this crash.
My question is, does edk2-firmware-tegra work fine for you on the AGX Orin? If it does, then perhaps I'm doing something wrong in my setup, although I haven't patched this package yet.
Thank you