meta-arago.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* TMDSSK3358 am335x-pru0-fw firmware load failure
@ 2024-04-24 11:21 charles.cc.zhang
  2024-04-24 13:55 ` charles.cc.zhang
       [not found] ` <Groupsio.1.M6Km.1713957686485366841.d3N4@lists.yoctoproject.org>
  0 siblings, 2 replies; 3+ messages in thread
From: charles.cc.zhang @ 2024-04-24 11:21 UTC (permalink / raw)
  To: meta-arago

Hi,
I am trying out the Arago build for TI AM335x Starter Kit (TMDSSK3358).
I built the image with:
```
git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk
cd tisdk/
./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-kirkstone-09.02.01.09-config.txt
cd build/
. conf/setenv
MACHINE=am335x-evm ARAGO_RT_ENABLE=1 bitbake -k tisdk-base-image
```

Then I boot the image and try to load the firmware with the following error:
```
root@am335x-evm:~# dmesg | grep pru
[   29.717917] remoteproc remoteproc0: 4a334000.pru is available
[   29.739480] remoteproc remoteproc1: 4a338000.pru is available
root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc0/firmware
am335x-pru0-fw
root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc0/state
offline
root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc1/firmware
am335x-pru1-fw
root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc1/state
offline
root@am335x-evm:~# echo 'start' > /sys/class/remoteproc/remoteproc0/state
[  119.827705] remoteproc remoteproc0: powering up 4a334000.pru
[  119.827895] remoteproc remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
-sh: echo: write error: No such file or directory[  119.827921] remoteproc remoteproc0: request_firmware failed: -2

[  119.827930] remoteproc remoteproc0: Boot failed: -2
root@am335x-evm:~# dmesg | grep pru
[   29.717917] remoteproc remoteproc0: 4a334000.pru is available
[   29.739480] remoteproc remoteproc1: 4a338000.pru is available
[  119.827705] remoteproc remoteproc0: powering up 4a334000.pru
[  119.827895] remoteproc remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
```

Could you please help me on this issue? Thanks in advance!
Best regards,
Charles


^ permalink raw reply	[flat|nested] 3+ messages in thread

* TMDSSK3358 am335x-pru0-fw firmware load failure
  2024-04-24 11:21 TMDSSK3358 am335x-pru0-fw firmware load failure charles.cc.zhang
@ 2024-04-24 13:55 ` charles.cc.zhang
       [not found] ` <Groupsio.1.M6Km.1713957686485366841.d3N4@lists.yoctoproject.org>
  1 sibling, 0 replies; 3+ messages in thread
From: charles.cc.zhang @ 2024-04-24 13:55 UTC (permalink / raw)
  To: meta-arago

Hi,
I am trying out the Arago build for TI AM335x Starter Kit (TMDSSK3358).
I built the image with:
> git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk
> cd tisdk/
> ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-kirkstone-09.02.01.09-config.txt
> cd build/
> . conf/setenv
> MACHINE=am335x-evm ARAGO_RT_ENABLE=1 bitbake -k tisdk-base-image

Then I boot the image and try to load the firmware with the following error:
> root@am335x-evm:~# dmesg | grep pru
> [   29.717917] remoteproc remoteproc0: 4a334000.pru is available
> [   29.739480] remoteproc remoteproc1: 4a338000.pru is available
> root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc0/firmware
> am335x-pru0-fw
> root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc0/state
> offline
> root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc1/firmware
> am335x-pru1-fw
> root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc1/state
> offline
> root@am335x-evm:~# echo 'start' > /sys/class/remoteproc/remoteproc0/state
> [  119.827705] remoteproc remoteproc0: powering up 4a334000.pru
> [  119.827895] remoteproc remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
> -sh: echo: write error: No such file or directory[  119.827921] remoteproc remoteproc0: request_firmware failed: -2
> 
> [  119.827930] remoteproc remoteproc0: Boot failed: -2
> root@am335x-evm:~# dmesg | grep pru
> [   29.717917] remoteproc remoteproc0: 4a334000.pru is available
> [   29.739480] remoteproc remoteproc1: 4a338000.pru is available
> [  119.827705] remoteproc remoteproc0: powering up 4a334000.pru
> [  119.827895] remoteproc remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2

If I look at the firmware folder:
> root@am335x-evm:~# ls /lib/firmware/ti-pruss/
> am335x-pru0-prueth-fw.elf  am335x-pru0-pruprp-fw.elf  am335x-pru1-pruhsr-fw.elf
> am335x-pru0-pruhsr-fw.elf  am335x-pru1-prueth-fw.elf  am335x-pru1-pruprp-fw.elf

I also tried:
> echo 'am335x-pru0-prueth-fw' > /sys/class/remoteproc/remoteproc0/firmware
> root@am335x-evm:~# echo 'start' > /sys/class/remoteproc/remoteproc0/state
> -sh: echo: write error: No such file or directory
> [  458.718686] remoteproc remoteproc0: powering up 4a334000.pru  th error -2
> [  458.718819] remoteproc remoteproc0: request_firmware failed: -2irmware load for am335x-pru0-prueth-fw failed wit
> [  458.718828] remoteproc remoteproc0: Boot failed: -2

Could you please help me on this issue? Thanks in advance!
Best regards,
Charles


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-arago] TMDSSK3358 am335x-pru0-fw firmware load failure
       [not found] ` <Groupsio.1.M6Km.1713957686485366841.d3N4@lists.yoctoproject.org>
@ 2024-04-24 14:43   ` Ryan Eatmon
  0 siblings, 0 replies; 3+ messages in thread
From: Ryan Eatmon @ 2024-04-24 14:43 UTC (permalink / raw)
  To: charles.cc.zhang, meta-arago



On 4/24/2024 8:55 AM, charles.cc.zhang@gmail.com wrote:
> [Edited Message Follows]
> 
> Hi,
> I am trying out the Arago build for TI AM335x Starter Kit (TMDSSK3358).
> I built the image with:
>> git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk
>> cd tisdk/
>> ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-kirkstone-09.02.01.09-config.txt
>> cd build/
>> . conf/setenv
>> MACHINE=am335x-evm ARAGO_RT_ENABLE=1 bitbake -k tisdk-base-image
> 
> Then I boot the image and try to load the firmware with the following error:
>> root@am335x-evm:~# dmesg | grep pru
>> [   29.717917] remoteproc remoteproc0: 4a334000.pru is available
>> [   29.739480] remoteproc remoteproc1: 4a338000.pru is available
>> root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc0/firmware
>> am335x-pru0-fw
>> root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc0/state
>> offline
>> root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc1/firmware
>> am335x-pru1-fw
>> root@am335x-evm:~# cat /sys/class/remoteproc/remoteproc1/state
>> offline
>> root@am335x-evm:~# echo 'start' > /sys/class/remoteproc/remoteproc0/state
>> [  119.827705] remoteproc remoteproc0: powering up 4a334000.pru
>> [  119.827895] remoteproc remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
>> -sh: echo: write error: No such file or directory[  119.827921] remoteproc remoteproc0: request_firmware failed: -2
>>
>> [  119.827930] remoteproc remoteproc0: Boot failed: -2
>> root@am335x-evm:~# dmesg | grep pru
>> [   29.717917] remoteproc remoteproc0: 4a334000.pru is available
>> [   29.739480] remoteproc remoteproc1: 4a338000.pru is available
>> [  119.827705] remoteproc remoteproc0: powering up 4a334000.pru
>> [  119.827895] remoteproc remoteproc0: Direct firmware load for am335x-pru0-fw failed with error -2
> 
> If I look at the firmware folder:
>> root@am335x-evm:~# ls /lib/firmware/ti-pruss/
>> am335x-pru0-prueth-fw.elf  am335x-pru0-pruprp-fw.elf  am335x-pru1-pruhsr-fw.elf
>> am335x-pru0-pruhsr-fw.elf  am335x-pru1-prueth-fw.elf  am335x-pru1-pruprp-fw.elf
> 
> I also tried:
>> echo 'am335x-pru0-prueth-fw' > /sys/class/remoteproc/remoteproc0/firmware
>> root@am335x-evm:~# echo 'start' > /sys/class/remoteproc/remoteproc0/state
>> -sh: echo: write error: No such file or directory
>> [  458.718686] remoteproc remoteproc0: powering up 4a334000.pru  th error -2
>> [  458.718819] remoteproc remoteproc0: request_firmware failed: -2irmware load for am335x-pru0-prueth-fw failed wit
>> [  458.718828] remoteproc remoteproc0: Boot failed: -2
> 
> Could you please help me on this issue? Thanks in advance!

This mailing list is mainly meant for patch submissions and reviews for 
the meta-arago repository.  You will better served to visit 
https://e2e.ti.com/ for support with the TI SDK.



> Best regards,
> Charles
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#15304): https://lists.yoctoproject.org/g/meta-arago/message/15304
> Mute This Topic: https://lists.yoctoproject.org/mt/105707853/6551054
> Group Owner: meta-arago+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [reatmon@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 
> 

-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-24 14:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-24 11:21 TMDSSK3358 am335x-pru0-fw firmware load failure charles.cc.zhang
2024-04-24 13:55 ` charles.cc.zhang
     [not found] ` <Groupsio.1.M6Km.1713957686485366841.d3N4@lists.yoctoproject.org>
2024-04-24 14:43   ` [meta-arago] " Ryan Eatmon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).