Victor Posted April 15, 2020 Posted April 15, 2020 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
0 Ionel Posted April 15, 2020 Posted April 15, 2020 (edited) Try /usr/bin vi should be there you can add nano with petalinux-config -c rootfs Edited April 15, 2020 by Ionel Victor 1
0 Ionel Posted April 15, 2020 Posted April 15, 2020 NOTE: If you edit files in initramfs on reboot all changes will be lost Victor 1
0 Victor Posted April 16, 2020 Author Posted April 16, 2020 Hello all Please advice to install text editor "nano" in Petalinux for Zybo-Z7-10 Thank you. Best regards, Victor.
0 JColvin Posted April 16, 2020 Posted April 16, 2020 Hi @Victor, This isn't specifically for the Nano text editor, but this Xilinx forum thread should be of help to you: https://forums.xilinx.com/t5/Embedded-Linux/How-to-add-applications-to-petalinux/td-p/490012. Thanks, JColvin Victor 1
0 Victor Posted April 20, 2020 Author Posted April 20, 2020 Hi @ JColvin Can you suggest, how to add more convenient edditor than vi ? Thank you, Best regards, Victor
0 Hartley Posted March 8, 2022 Posted March 8, 2022 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
Question
Victor
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
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 accountSign in
Already have an account? Sign in here.
Sign In Now