• 0
Victor

Midnight Commander for Zybo

Question

13 answers to this question

Recommended Posts

  • 0

Why not install Midnight Commander ?

Append followng line to file: Zybo-Z7-10/project-spec/meta-user/recipes-core/images/petalinux-image.bbappend

IMAGE_INSTALL_append = " mc"

Then run petalinux-config -c rootfs and select mc

Share this post


Link to post
Share on other sites
  • 0

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.

 

 

 

 

 

 

Share this post


Link to post
Share on other sites
  • 0

I have got the error:

[email protected]:/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.

Share this post


Link to post
Share on other sites
  • 0

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.

Edited by Ionel

Share this post


Link to post
Share on other sites
  • 0

Are you familiar with Linux file permissions?

Are you familiar with Linux file ownership?

Edited by Ionel

Share this post


Link to post
Share on other sites
  • 0

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.

 

 

Share this post


Link to post
Share on other sites
  • 0

Please attach Zybo-Z7-10/project-spec/meta-user/recipes-core/images/petalinux-image.bbappend file

 

Edited by Ionel

Share this post


Link to post
Share on other sites
  • 0

Try remove build and components directories, then run a petalinux-build. If this fails please attach above mentioned file.

Share this post


Link to post
Share on other sites
  • 0

I have done it.

[email protected]:~/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

[email protected]:~/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

Share this post


Link to post
Share on other sites

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