debug_port
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| debug_port [2025/05/04 18:50] – ounsatn | debug_port [2025/05/04 18:54] (current) – ounsatn | ||
|---|---|---|---|
| Line 51: | Line 51: | ||
| To log into linux, as we don't have password, we are going to change it by mounting the rootfs partition and then we run passwd to change password. | To log into linux, as we don't have password, we are going to change it by mounting the rootfs partition and then we run passwd to change password. | ||
| - | Under uboot, print current bootargs, UUID will be different so use the one you have. | + | |
| - | We add //" | + | |
| < | < | ||
| + | # Under uboot, print current bootargs , UUID will be different so use the one you have. | ||
| + | |||
| $> | $> | ||
| $> | $> | ||
| + | # We add " | ||
| $>setenv bootargs ' | $>setenv bootargs ' | ||
| + | |||
| + | # Print again to check everything is fine : | ||
| + | $> | ||
| + | |||
| + | # Then boot | ||
| $>boot | $>boot | ||
| + | |||
| + | #Remount rootfs / with read write rights : | ||
| $>mount -rw -o remount / | $>mount -rw -o remount / | ||
| + | |||
| + | #Change password, type what you want | ||
| $>passwd root | $>passwd root | ||
| + | |||
| + | #Reboot | ||
| $>reboot -f | $>reboot -f | ||
| </ | </ | ||
| + | |||
| + | and Voila, you have a console access to your device. | ||
debug_port.1746377458.txt.gz · Last modified: 2025/05/04 18:50 by ounsatn