Victor Posted December 26, 2019 Share Posted December 26, 2019 Hello all How to install on Zybo-Z7-10 the program similar to Midnight Commander ? Thank you. Best regards, Victor. Link to comment Share on other sites More sharing options...
Ionel Posted December 26, 2019 Share Posted December 26, 2019 Why not install Midnight Commander ? Append followng line to file: Zybo-Z7-10/project-spec/meta-user/recipes-core/images/petalinux-image.bbappendIMAGE_INSTALL_append = " mc" Then run petalinux-config -c rootfs and select mc Link to comment Share on other sites More sharing options...
Victor Posted December 26, 2019 Author Share Posted December 26, 2019 Hello @lonel, I have done it and got the messages: .............................................................. [INFO] succesfully configured rootfs Please suggest what necessary to do after that ? Thank you, Best regards, Victor. Link to comment Share on other sites More sharing options...
Ionel Posted December 26, 2019 Share Posted December 26, 2019 petalinux-build Link to comment Share on other sites More sharing options...
Victor Posted December 26, 2019 Author Share Posted December 26, 2019 I have got the error: root@victor-System-Product-Name:/home/victor/Zybo-Z7-10# petalinux-build [INFO] building project [INFO] sourcing bitbake INFO: bitbake petalinux-user-image ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories: Do not use Bitbake as root. Summary: There was 1 ERROR message shown, returning a non-zero exit code. ERROR: Failed to build project I do not understand this error. Please help to do this command without errors. Best regards, Victor. Link to comment Share on other sites More sharing options...
Ionel Posted December 26, 2019 Share Posted December 26, 2019 Do not use Bitbake as root. You stared petalinux-build as root (SUPER USER with full system permissions #). Do NOT use root user(sudo) casually. Sooner or later you will mess up you system and loose important data. Link to comment Share on other sites More sharing options...
Ionel Posted December 26, 2019 Share Posted December 26, 2019 Are you familiar with Linux file permissions? Are you familiar with Linux file ownership? Link to comment Share on other sites More sharing options...
Victor Posted December 26, 2019 Author Share Posted December 26, 2019 Error again: victor@victor-System-Product-Name:~/Zybo-Z7-10$ petalinux-build [INFO] building project [INFO] sourcing bitbake ERROR: Failed to source bitbake ERROR: Failed to build project victor@victor-System-Product-Name:~/Zybo-Z7-10$ Link to comment Share on other sites More sharing options...
Victor Posted December 26, 2019 Author Share Posted December 26, 2019 Yes I am familiar with Linux file permissions and Linux file ownership. Now I am running this command not under root. But I have got error again. Please help to complete this. Thank you. Link to comment Share on other sites More sharing options...
Ionel Posted December 26, 2019 Share Posted December 26, 2019 find project-spec/ -user root dose above command has any output? Link to comment Share on other sites More sharing options...
Ionel Posted December 26, 2019 Share Posted December 26, 2019 Please attach Zybo-Z7-10/project-spec/meta-user/recipes-core/images/petalinux-image.bbappend file Link to comment Share on other sites More sharing options...
Victor Posted December 26, 2019 Author Share Posted December 26, 2019 No. It seems as command hangs. Link to comment Share on other sites More sharing options...
Ionel Posted December 26, 2019 Share Posted December 26, 2019 Try remove build and components directories, then run a petalinux-build. If this fails please attach above mentioned file. Link to comment Share on other sites More sharing options...
Victor Posted December 26, 2019 Author Share Posted December 26, 2019 I have done it. victor@victor-System-Product-Name:~/Zybo-Z7-10$ petalinux-build [INFO] building project [INFO] generating Kconfig for project ........................................................................................................................ NOTE: Successfully copied built images to tftp dir: /var/lib/tftpboot [INFO] successfully built project victor@victor-System-Product-Name:~/Zybo-Z7-10$ petalinux-package --boot --force --fpga /home/victor/Zybo-Z7-10__v2/design_1_wrapper.bit --u-boot INFO: File in BOOT BIN: "/home/victor/Zybo-Z7-10/images/linux/zynq_fsbl.elf" INFO: File in BOOT BIN: "/home/victor/Zybo-Z7-10__v2/design_1_wrapper.bit" INFO: File in BOOT BIN: "/home/victor/Zybo-Z7-10/images/linux/u-boot.elf" INFO: Generating zynq binary package BOOT.BIN... INFO: Binary is ready. Then I erased files BOOT.BIN image.ub from SD and wrote there new ones. Anfortunately loading from the new SD gives errors. Please look the file "messages" in the attachment. Thank you. messages.txt Link to comment Share on other sites More sharing options...
Cris Posted December 7, 2020 Share Posted December 7, 2020 it doesn't work anymore in PetaLinux 2020.2 ☹️ I appended to file project-spec/meta-user/conf/user-rootfsconfig the line CONFIG_mc then I ran petalinux-config -c rootfs and selected the mc checkbox when running petalinux-build I get the error: ERROR: petalinux-image-minimal-1.0-r0 do_rootfs: The postinstall intercept hook 'update_gio_module_cache' failed, details in /project/test/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/petalinux-image-minimal/1.0-r0/temp/log.do_rootfs note that if I uncheck the mc checkbox it builds and runs fine I get the same update_gio_module_cache error when I try to build other PetaLinux standard packages that used to build ok before updating to 2020.2 is there any workaround for update_gio_module_cache errors ? Thanks! Cris Link to comment Share on other sites More sharing options...
Ionel Posted December 22, 2020 Share Posted December 22, 2020 Hi @Cris , Have you tried a clean build after upgrading to 2020.2 ? If not, try removing everything in build directory except downloads directory. Also remove components directory. Finish work in progress with petalinux-build -c {component} -x finish before removing components directory. Link to comment Share on other sites More sharing options...
Question
Victor
Hello all
How to install on Zybo-Z7-10 the program similar to Midnight Commander ?
Thank you.
Best regards,
Victor.
Link to comment
Share on other sites
15 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.