what's the default login name and password of pre-build sd-card image based on debian rootfs?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

what's the default login name and password of pre-build sd-card image based on debian rootfs?

跳至解决方案
2,441 次查看
建华董
Contributor I

I'v booted sucessfully from sd-card on s32v234 evb board,but i can't login the system.

1 解答
2,247 次查看
建华董
Contributor I

Yes,I have got the solution from nxp local representive.

Below is how you can set the password to whatever you want with a few commands:
1. Stop at u-Boot stage by pressing any key after "Hit any key to stop autoboot" appears.  
2. Modify the environment as specified below and boot:
    => setenv mmcroot /dev/mmcblk0p2 rootwait rw init=/bin/sh
    => boot
    do _not_ issue "saveenv".    
3. You will be presented a root shell without any authentication.
   Use  "passwd" command to set the password to whatever you want:
    #/usr/bin/passwd vision
    #sync    
4. Powercycle the board.
5. When the system boots and comes to login, enter "vision" as username and the password you set.

在原帖中查看解决方案

2 回复数
2,247 次查看
sumit_shrestha
Contributor II

Did you get the username and password? Even I am currently struggling with the same thing.

0 项奖励
2,248 次查看
建华董
Contributor I

Yes,I have got the solution from nxp local representive.

Below is how you can set the password to whatever you want with a few commands:
1. Stop at u-Boot stage by pressing any key after "Hit any key to stop autoboot" appears.  
2. Modify the environment as specified below and boot:
    => setenv mmcroot /dev/mmcblk0p2 rootwait rw init=/bin/sh
    => boot
    do _not_ issue "saveenv".    
3. You will be presented a root shell without any authentication.
   Use  "passwd" command to set the password to whatever you want:
    #/usr/bin/passwd vision
    #sync    
4. Powercycle the board.
5. When the system boots and comes to login, enter "vision" as username and the password you set.