cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vijaydhoki
Adventurer
Adventurer
392 Views
Registered: ‎07-03-2019

Not able to modify .cpio file to run an application affter booting up the board

Hello all...

I am trying to Run an linux application on zcu102/zynq US.I have some basic knowledge that i need to include my application file in the cpio file /usr/bin.

i am able to access my cpio file and made changes as per the commands given by xilinx wiki.the link is 

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842473/Build+and+Modify+a+Rootfs

so i am able to include my file into the cpio file.but when i try to boot the board i am getting an error at mounting time the error is like this

Starting tcf-agent: OK
touch: /var/lock/subsys/tcf-agent: No such file or directory
Jun 11 07:48:40 zcu102-zynqmp auth.err getty[2037]: can't open '/dev/hvc0': No such file or directory^M
Jun 11 07:48:40 zcu102-zynqmp auth.err getty[2036]: can't open '/dev/tty1': No such file or directory^M
INIT: Id "PS0" respawning too fast: disabled for 5 minutes
Jun 11 07:48:50 zcu102-zynqmp auth.err getty[2050]: can't open '/dev/hvc0': No such file or directory^M
Jun 11 07:48:50 zcu102-zynqmp auth.err getty[2051]: can't open '/dev/tty1': No such file or directory^M
Jun 11 07:49:00 zcu102-zynqmp auth.err getty[2056]: can't open '/dev/hvc0': No such file or directory^M
Jun 11 07:49:00 zcu102-zynqmp auth.err getty[2055]: can't open '/dev/tty1': No such file or directory^M
Jun 11 07:49:10 zcu102-zynqmp auth.err getty[2060]: can't open '/dev/tty1': No such file or directory^M
Jun 11 07:49:15 zcu102-zynqmp auth.err getty[2062]: can't open '/dev/hvc0': No such file or directory^M
Jun 11 07:49:20 zcu102-zynqmp auth.err getty[2063]: can't open '/dev/tty1': No such file or directory^M
Jun 11 07:49:25 zcu102-zynqmp auth.err getty[2064]: can't open '/dev/hvc0': No such file or directory^M
Jun 11 07:49:30 zcu102-zynqmp auth.err getty[2065]: can't open '/dev/tty1': No such file or directory^M
Jun 11 07:49:35 zcu102-zynqmp auth.err getty[2066]: can't open '/dev/hvc0': No such file or directory^M
Jun 11 07:49:40 zcu102-zynqmp auth.err getty[2067]: can't open '/dev/tty1': No such file or directory^M
Jun 11 07:49:45 zcu102-zynqmp auth.err getty[2068]: can't open '/dev/hvc0': No such file or directory^M
Jun 11 07:49:50 zcu102-zynqmp auth.err getty[2069]: can't open '/dev/tty1': No such file or directory^M
Jun 11 07:49:55 zcu102-zynqmp auth.err getty[2070]: can't open '/dev/hvc0': No such file or directory^M
Jun 11 07:50:00 zcu102-zynqmp auth.err getty[2071]: can't open '/dev/tty1': No such file or directory^M
Jun 11 07:50:05 zcu102-zynqmp auth.err getty[2072]: can't open '/dev/hvc0': No such file or directory^M
Jun 11 07:50:10 zcu102-zynqmp auth.err getty[2073]: can't open '/dev/tty1': No such file or directory^M
Jun 11 07:50:15 zcu102-zynqmp auth.err getty[2074]: can't open '/dev/hvc0': No such file or directory^M
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "X0" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel

after coming this the operation is hanging and stopped there only

i am not getting why this error is coming.i am following as per the commands given by xilinx.

Regards

Vijay

0 Kudos
2 Replies
sandeepg
Moderator
Moderator
364 Views
Registered: ‎04-24-2017

Hi @vijaydhoki ,

What kind of application are you adding to to rootfs? just user space app or init scripts of or some libraries?

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos
vijaydhoki
Adventurer
Adventurer
354 Views
Registered: ‎07-03-2019

hi @sandeepg
i am using an user application as to run after boot.
0 Kudos