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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
2,928 Views
建华董
Contributor I

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

1 Solution
2,734 Views
建华董
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.

View solution in original post

2 Replies
2,734 Views
sumit_shrestha
Contributor II

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

0 Kudos
Reply
2,735 Views
建华董
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.