Tommy Tang

Members
  • Content Count

    4
  • Joined

  • Last visited

About Tommy Tang

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It works perfect. This forum is far better than many worldwide software company Thanks for your prompt reply.
  2. for mainline kernel ``` Linux version 4.11.5-sun8i (root@devel) (gcc version 7.1.1 20170510 (Linaro GCC 7.1-2017.05) ) #11 SMP Fri Jun 23 20:03:23 CEST 2017 user@orangepipcplus:/boot/dtb$ dtc -I dtb sun8i-h3-orangepi-pc-plus.dtb -O dts |less uart1 { pins = "PG6", "PG7"; function = "uart1"; linux,phandle = <0x19>; phandle = <0x19>; }; uart1_rts_cts { pins = "PG8", "PG9"; function = "uart1"; linux,phandle = <0x48>; phandle = <0x48>; }; user@orangepipcplus:/boot/dtb$ ls -al /dev/ttyS* crw--w---- 1 root tty 4, 64 Jun 25 12:07 /dev/ttyS0 crw-rw---- 1 root dialout 4, 65 Jun 25 12:07 /dev/ttyS1 crw-rw---- 1 root dialout 4, 66 Jun 25 12:07 /dev/ttyS2 crw-rw---- 1 root dialout 4, 67 Jun 25 12:07 /dev/ttyS3 crw-rw---- 1 root dialout 4, 68 Jun 25 12:07 /dev/ttyS4 crw-rw---- 1 root dialout 4, 69 Jun 25 12:07 /dev/ttyS5 crw-rw---- 1 root dialout 4, 70 Jun 25 12:07 /dev/ttyS6 crw-rw---- 1 root dialout 4, 71 Jun 25 12:07 /dev/ttyS7 minicom with hardware flow disabled and software flow enabled │ A - Serial Device : /dev/ttyS1 │ │ B - Lockfile Location : /var/lock │ │ C - Callin Program : │ │ D - Callout Program : │ │ E - Bps/Par/Bits : 9600 8N1 │ │ F - Hardware Flow Control : No │ │ G - Software Flow Control : Yes │ │ │ │ Change which setting? ``` Even connected pin 38 and 40, no characters are shown in local echo. Any steps (kernel or user layout) required to enable ttyS1.
  3. for mainline kernel ``` Linux version 4.11.5-sun8i (root@devel) (gcc version 7.1.1 20170510 (Linaro GCC 7.1-2017.05) ) #11 SMP Fri Jun 23 20:03:23 CEST 2017 user@orangepipcplus:/boot/dtb$ ls -al /dev/ttyS* crw--w---- 1 root tty 4, 64 Jun 25 12:07 /dev/ttyS0 crw-rw---- 1 root dialout 4, 65 Jun 25 12:07 /dev/ttyS1 crw-rw---- 1 root dialout 4, 66 Jun 25 12:07 /dev/ttyS2 crw-rw---- 1 root dialout 4, 67 Jun 25 12:07 /dev/ttyS3 crw-rw---- 1 root dialout 4, 68 Jun 25 12:07 /dev/ttyS4 crw-rw---- 1 root dialout 4, 69 Jun 25 12:07 /dev/ttyS5 crw-rw---- 1 root dialout 4, 70 Jun 25 12:07 /dev/ttyS6 crw-rw---- 1 root dialout 4, 71 Jun 25 12:07 /dev/ttyS7 ``` Even connected pin 38 and 40, no characters are shown in local echo. Any steps (kernel or user layout) required to enable ttyS1.
  4. My case is to change u-boot default resolution to 1024x768. The steps below configured successfully on orange pi pc plus and 10" hdmi monitor. 1. dd if=Armbian_5.25_Orangepipcplus_Debian_jessie_default_3.4.113.img of=/dev/sdb bs=1M 2. change root passwd add general user account nmtui to activate wifi internet connection 3. DEVICE_NAME=orangepipcplus apt-get update apt-get install -y linux-u-boot-${DEVICE_NAME}-dev \ linux-image-dev-sun8i \ linux-headers-dev-sun8i \ linux-dtb-dev-sun8i \ linux-jessie-root-${DEVICE_NAME} 4. connect serial console by esplink press any key to stop at u-boot prompt 5. setenv video-mode sunxi:1024x768-24@60,monitor=hdmi,hpd=0,edid=0 saveenv reset