Not able to login as root user with the RFS generated. #kirkstone

[email protected] Tue, 10 Jan 2023 01:37:33 -0800
Newsgroups org.yoctoproject.lists.meta-freescale
Message-ID <[email protected]>
--Z84Xh5V1TSwWpa0oa8wA
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

I am using a imx6 based custom board
Made the build system ready using the following guide: https://www.nxp.com/=
docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

After cloning the yocto source, initialized the build with: DISTRO=3Dfsl-im=
x-fb MACHINE=3Dimx6dlsabresd source imx-setup-release.sh -b build_imx

Then started the build using: bitbake -k core-image-minimal.

The core-image-minimal-xxxx-xxx.tar is generated.=C2=A0 But when the board =
is booted with this RFS image, it did not accept any password for the root =
user.

I checked the local.conf. It has:
EXTRA_IMAGE_FEATURES ?=3D "debug-tweaks"
Yet it did not accept a blank password or any other password.

I had a look at /etc/shadow file.=C2=A0 The root user's password field is e=
mpty.
I tried to change the password manually in /etc/shadow file, but it did not=
 work out.

Can any one point out what should i do to fix the login issue.

--Z84Xh5V1TSwWpa0oa8wA
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

I am using a imx6 based custom board&nbsp;<br />Made the build system ready=
 using the following guide:&nbsp;<a href=3D"https://www.nxp.com/docs/en/use=
r-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target=3D"_blank" rel=3D"noopene=
r">https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf=
</a><br /><br />After cloning the yocto source, initialized the build with:=
 DISTRO=3Dfsl-imx-fb MACHINE=3Dimx6dlsabresd source imx-setup-release.sh -b=
 build_imx<br /><br />Then started the build using: bitbake -k core-image-m=
inimal.<br /><br />The core-image-minimal-xxxx-xxx.tar is generated.&nbsp; =
But when the board is booted with this RFS image, it did not accept any pas=
sword for the root user.<br /><br />I checked the local.conf. It has:<br />=
EXTRA_IMAGE_FEATURES ?=3D "debug-tweaks"<br />Yet it did not accept a blank=
 password or any other password.<br /><br />I had a look at /etc/shadow fil=
e.&nbsp; The root user's password field is empty.&nbsp;<br />I tried to cha=
nge the password manually in /etc/shadow file, but it did not work out.<br =
/><br />Can any one point out what should i do to fix the login issue.&nbsp=
;

--Z84Xh5V1TSwWpa0oa8wA--