Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
docs:user-guide:generic.flashing.serial [2018/02/17 19:03] – ↷ Page moved from doc:howto:generic.flashing.serial to docs:user-guide:generic.flashing.serial bobafetthotmaildocs:guide-user:installation:generic.flashing.serial [2022/03/08 11:06] – adding info on how to find/view serial/TTY port/device in various OS aterik
Line 1: Line 1:
-====== Generic Flashing over the Serial Port ======+====== Generic flashing over the Serial port ======
  
 === Technical references === === Technical references ===
-  * [[doc/hardware/port.serial]] +  * [[docs:techref:hardware:port.serial]] 
-  * Platform //ar71xx// bootloader //[[doc:techref:bootloader:uboot|Das U-Boot]]//: [[toh:tp-link:tl-wr1043nd#installation|TL-WR1043ND]]+  * Platform //ar71xx// bootloader //[[docs:techref:bootloader:uboot|Das U-Boot]]//: [[toh:tp-link:tl-wr1043nd#installation|TL-WR1043ND]]
  
 === Actual procedure === === Actual procedure ===
Line 26: Line 26:
  
   * 0x7c0000: size of the firmware (be aware that you may have a different size thus bricking your router)   * 0x7c0000: size of the firmware (be aware that you may have a different size thus bricking your router)
 +  * in GNU-Linux OS distro ''Terminal'' window, find-out serial port list with below command:
 +    * ''ll /sys/class/tty'' (list of all serial/TTY devices+ports).
 +    * ''ll /sys/class/tty/*/device/driver'' (list of serial/TTY devices that have ''device/driver'' entry).
 +  * in Windows ''Command-Prompt'' window, find-out serial port list with below command:
 +    * ''chgport'' (list of ports & device names)
 +    * ''reg query HKLM\HARDWARE\DEVICEMAP\SERIALCOMM'' (list of all serial ports)
 +    * ''mode'' (list of all ''CON'' (console), available ''COM'' & ''LPT'' devices)
 +  * in macOS ''Terminal'' utility app/window, find-out serial port list with this command: ''ls /dev/{tty,cu}.*''
  
 Commands: Commands:
Line 39: Line 47:
  
 === Kermit === === Kermit ===
-You can use a client using the [[wp>Kermit (protocol)]] to transfer the new image. It may take forever and a half (15-20min) to copy. But it's easier and more secure than running a tftpd server. These instructions assume you're using a Linux system, but they will give you all you need to do the same on a Windows box.+You can use a client using the [[wp>Kermit (protocol)]] to transfer the new image. It may take forever and a half (15-20min) to copy. But it's easier and more secure than running a [[docs:guide-user:troubleshooting:tftpserver|tftpd server]]. These instructions assume you're using a Linux system, but they will give you all you need to do the same on a Windows box.
  
 Requirements:  Requirements: 
  • Last modified: 2022/03/08 11:20
  • by aterik