Jump to content
  • 0

Text editor nano for Zybo


Question

Posted

Hello all

I did not find text editor in Petalinux.
How to set them?

Thank you.

Best regards,
Victor.
====================================================
root@Zybo-Z7-10:/run/media/sda1# ls /bin
ash                  df                   hostname             nice                 stty
autologin            dmesg                kill                 pidof                su
bash                 dnsdomainname        ln                   pidof.sysvinit       su.shadow
busybox              dumpkmap             login                ping                 sync
busybox.nosuid       echo                 login.shadow         ping6                tar
busybox.suid         egrep                ls                   ps                   touch
cat                  egrep.grep           mkdir                pwd                  true
chattr               false                mknod                rm                   umount
chgrp                fgrep                mktemp               rmdir                uname
chmod                fgrep.grep           more                 run-parts            usleep
chown                getopt               mount                sed                  vi
cp                   grep                 mountpoint           sh                   watch
cpio                 grep.grep            mountpoint.sysvinit  sleep                zcat
date                 gunzip               mv                   start_getty
dd                   gzip                 netstat              stat

7 answers to this question

Recommended Posts

  • 0
Posted

I had this issue also (and hate vi)...

I found the recipie for nano in <PentaLinux project directory>/components/yocto/layers/meta-openembedded/meta-oe/recipies-support/nano. I was able to add nano to my rootfs by doing the following.

Edit your <PentaLinux project directory>/project-spec/meta-user/conf/user-rootfsconfig and add:

CONFIG_nano

Then do:

$ petalinux-config -c rootfs

And enable nano under user packages. Then rebuild and package petalinux for your board.

There may be another way but that worked for me.

Hartley

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...