ZYNQ Linux Add root password

Source: Internet
Author: User

vivado:2016.4

linux:ubuntu16.4

zynq:xc7z020

  

Download file name

2016.4-zed-release.tar.xz

Device-tree-xlnx-xilinx-v2016.4.zip

Linux-xlnx-xilinx-v2016.4.zip

U-boot-xlnx-xilinx-v2016.4.zip

Arm_ramdisk.image.gz

The default RAMDisk boot is not required to enter the user name password directly, you want to add password to start the following steps:

1. Refer to the blog post in the link to see if the/bin folder has login this soft link, the above arm_ramdisk.image.gz decompression is to have this soft connection.

2. After the system is running, change the password, get the file to save the password: passwd prompt to enter the password after the modification, the/etc/passwd file will be copied out for backup.

3. After re-solving the filesystem and mount, add/bin/login to the/etc/init.d/rcs file and copy the passwd file from the previous step to the Mount directory

4. Follow the steps in the previous blog post to re-compress the root file system.

5. After burning the root file system, you can see the login interface needs to enter a password.

Reference Post connection: 44206033

ZYNQ Linux Add root password

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.