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:25] – ounsatn | debug_port [2025/05/04 18:54] (current) – ounsatn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | To get console access via UART on Akai devices you have to proceed like on the pictures below | + | To get console access via UART on Akai devices you have to proceed like on the pictures below : |
| + | |||
| + | {{http:// | ||
| On my AKF i have 6 pins, sometimes on MPC there is less pins. | On my AKF i have 6 pins, sometimes on MPC there is less pins. | ||
| Line 9: | Line 12: | ||
| - GND from Akf to GND on usb stick | - GND from Akf to GND on usb stick | ||
| + | (you can measure gnd when running with a voltmeter), if you have 0v between measuring point and the gnd, there is a big change that the measuring point is a gnd. | ||
| + | |||
| - Rx from Akf to Tx on usb stick | - Rx from Akf to Tx on usb stick | ||
| - Tx from Akf to Rx on usb stick | - Tx from Akf to Rx on usb stick | ||
| + | |||
| + | **/!\ Do not connect Pins 5v or 3.3v** | ||
| + | |||
| + | |||
| + | Connect USB dongle to your computer. | ||
| + | Connect USB type B on force to the same computer ( if you dont do this, you can have inconsistent messages when sending commands or receiving messages in the console application). | ||
| + | |||
| + | Then when its done, download putty and run it. | ||
| + | In session choose Serial and adjust Com1 port to the port used by your USB/TTL converter. | ||
| + | On my side its often COM6, COM4 or COM7. | ||
| + | Change speed on 115200, and click Open. | ||
| + | I wrong port has been chosen you will have an error message. | ||
| + | Otherwise you'll have black screen. | ||
| + | |||
| + | Then power on your force and Uboot prompt & start will appear. | ||
| + | |||
| + | Let linux boot then you will see login prompt (force login:), waiting for you to login. | ||
| + | |||
| + | If you have already a firwmare with ssh enabled, you can log like this on your device. | ||
| + | Otherwise if you dont have the login, you'll have to go into uboot console. | ||
| + | |||
| + | To do this and just after booting your device, there is a quick message allowing you to interrupt boot process. | ||
| + | |||
| + | |||
| + | {{http:// | ||
| + | |||
| + | So to interrupt, press space or another key few times in your putty ( console apps ) | ||
| + | Then you'll be on uboot prompt ( => ) . | ||
| + | |||
| + | There you can type help to get list of all commands but be careful of what you do. | ||
| + | |||
| + | 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 " | ||
| + | $>setenv bootargs ' | ||
| + | |||
| + | # Print again to check everything is fine : | ||
| + | $> | ||
| + | |||
| + | # Then boot | ||
| + | $>boot | ||
| + | |||
| + | #Remount rootfs / with read write rights : | ||
| + | $>mount -rw -o remount / | ||
| + | |||
| + | #Change password, type what you want | ||
| + | $>passwd root | ||
| + | |||
| + | #Reboot | ||
| + | $>reboot -f | ||
| + | </ | ||
| + | |||
| + | and Voila, you have a console access to your device. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| - | {{http:// | ||
debug_port.1746375931.txt.gz · Last modified: 2025/05/04 18:25 by ounsatn