SHARE
TWEET

Untitled

a guest Oct 21st, 2019 20 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. + echo 'Running Mer Boat Loader'
  2. Running Mer Boat Loader
  3. + BOOTLOGO=%BOOTLOGO%
  4. + ALWAYSDEBUG=%ALWAYSDEBUG%
  5. + DATA_PARTITION=%DATA_PART%
  6. + DEFAULT_OS=%DEFAULT_OS%
  7. + export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
  8. + PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
  9. + USB_FUNCTIONS=rndis
  10. + ANDROID_USB=/sys/class/android_usb/android0
  11. + GADGET_DIR=/config/usb_gadget
  12. + LOCAL_IP=192.168.2.15
  13. + DONE_SWITCH=no
  14. + '[' /init-debug = /init-debug ']'
  15. + DONE_SWITCH=yes
  16. + '[' yes = no ']'
  17. + EXPLICIT_BUSYBOX=/bin/busybox-static
  18. + TELNET_DEBUG_PORT=2323
  19. + do_mount_devprocsys
  20. + echo '########################## mounting devprocsys'
  21. ########################## mounting devprocsys
  22. + mkdir /dev
  23. mkdir: cannot create directory `/dev': File exists
  24. + mount -t devtmpfs devtmpfs /dev
  25. + mkdir /dev/pts
  26. mkdir: cannot create directory `/dev/pts': File exists
  27. + mount -t devpts devpts /dev/pts
  28. + mkdir /proc
  29. mkdir: cannot create directory `/proc': File exists
  30. + mkdir /sys
  31. mkdir: cannot create directory `/sys': File exists
  32. + mount -t sysfs sysfs /sys
  33. + mount -t proc proc /proc
  34. + mkdir /config
  35. mkdir: cannot create directory `/config': File exists
  36. + mount -t configfs none /config
  37. + HALT_BOOT=n
  38. + '[' -f /init_enter_debug2 ']'
  39. + '[' -f /init_disable_telnet ']'
  40. + run_debug_session 'init-debug in real rootfs' n
  41. + CUSTOMPRODUCT='init-debug in real rootfs'
  42. + echo '########################## Debug session : init-debug in real rootfs'
  43. ########################## Debug session : init-debug in real rootfs
  44. + usb_setup 'Mer Debug setting up (DONE_SWITCH=yes)'
  45. + '[' -d /sys/class/android_usb/android0 ']'
  46. + '[' -d /config/usb_gadget ']'
  47. + usb_setup_configfs Mer Debug setting up '(DONE_SWITCH=yes)'
  48. + G_USB_ISERIAL=/config/usb_gadget/g1/strings/0x409/serialnumber
  49. + mkdir /config/usb_gadget/g1
  50. + write /config/usb_gadget/g1/idVendor 0x18D1
  51. + echo -n 0x18D1
  52. + write /config/usb_gadget/g1/idProduct 0xD001
  53. + echo -n 0xD001
  54. + mkdir /config/usb_gadget/g1/strings/0x409
  55. + write /config/usb_gadget/g1/strings/0x409/serialnumber Mer
  56. + echo -n Mer
  57. + write /config/usb_gadget/g1/strings/0x409/manufacturer 'Mer Boat Loader'
  58. + echo -n 'Mer Boat Loader'
  59. + write /config/usb_gadget/g1/strings/0x409/product 'init-debug in real rootfs'
  60. + echo -n 'init-debug in real rootfs'
  61. + echo rndis
  62. + grep -q rndis
  63. + mkdir /config/usb_gadget/g1/functions/rndis.usb0
  64. + mkdir /config/usb_gadget/g1/functions/rndis_bam.rndis
  65. mkdir: cannot create directory `/config/usb_gadget/g1/functions/rndis_bam.rndis': No such file or directory
  66. + echo rndis
  67. + grep -q mass_storage
  68. + mkdir /config/usb_gadget/g1/configs/c.1
  69. + mkdir /config/usb_gadget/g1/configs/c.1/strings/0x409
  70. + write /config/usb_gadget/g1/configs/c.1/strings/0x409/configuration rndis
  71. + echo -n rndis
  72. + echo rndis
  73. + grep -q rndis
  74. + ln -s /config/usb_gadget/g1/functions/rndis.usb0 /config/usb_gadget/g1/configs/c.1
  75. + ln -s /config/usb_gadget/g1/functions/rndis_bam.rndis /config/usb_gadget/g1/configs/c.1
  76. ln: creating symbolic link `/config/usb_gadget/g1/configs/c.1/rndis_bam.rndis': No such file or directory
  77. + echo rndis
  78. + grep -q mass_storage
  79. ++ ls /sys/class/udc
  80. + echo a600000.dwc3
  81. + USB_IFACE=notfound
  82. + /sbin/ifconfig rndis0 192.168.2.15
  83. + USB_IFACE=rndis0
  84. + '[' xrndis0 = xnotfound ']'
  85. + /sbin/ifconfig -a
  86. bond0     Link encap:Ethernet  HWaddr 46:A5:81:9B:44:C2  
  87.           BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
  88.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  89.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  90.           collisions:0 txqueuelen:1000
  91.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  92.  
  93. ip6_vti0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
  94.           NOARP  MTU:1500  Metric:1
  95.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  96.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  97.           collisions:0 txqueuelen:1
  98.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  99.  
  100. ip_vti0   Link encap:IPIP Tunnel  HWaddr  
  101.           NOARP  MTU:1480  Metric:1
  102.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  103.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  104.           collisions:0 txqueuelen:1
  105.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  106.  
  107. ip6tnl0   Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
  108.           NOARP  MTU:1452  Metric:1
  109.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  110.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  111.           collisions:0 txqueuelen:1
  112.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  113.  
  114. lo        Link encap:Local Loopback  
  115.           LOOPBACK  MTU:65536  Metric:1
  116.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  117.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  118.           collisions:0 txqueuelen:1
  119.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  120.  
  121. rndis0    Link encap:Ethernet  HWaddr 02:F7:58:D6:A8:F2  
  122.           inet addr:192.168.2.15  Bcast:192.168.2.255  Mask:255.255.255.0
  123.           UP BROADCAST MULTICAST  MTU:1500  Metric:1
  124.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  125.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  126.           collisions:0 txqueuelen:1000
  127.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  128.  
  129. sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-39-AA-00-00-00-00-00-00-00-00  
  130.           NOARP  MTU:1480  Metric:1
  131.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  132.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  133.           collisions:0 txqueuelen:1
  134.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  135.  
  136. + '[' xrndis0 = xnotfound ']'
  137. + echo 'start 192.168.2.20'
  138. /init-debug: line 281: /etc/udhcpd.conf: No such file or directory
  139. + echo 'end 192.168.2.90'
  140. /init-debug: line 282: /etc/udhcpd.conf: No such file or directory
  141. + echo 'lease_file /var/udhcpd.leases'
  142. /init-debug: line 283: /etc/udhcpd.conf: No such file or directory
  143. + echo 'interface rndis0'
  144. /init-debug: line 284: /etc/udhcpd.conf: No such file or directory
  145. + echo 'option subnet 255.255.255.0'
  146. /init-debug: line 285: /etc/udhcpd.conf: No such file or directory
  147. + echo '########################## starting dhcpd'
  148. ########################## starting dhcpd
  149. + /bin/busybox-static udhcpd
  150. + HALT_BOOT=n
  151. + set_welcome_msg n
  152. + cat
  153. + '[' yes = no ']'
  154. + cat
  155. + cat
  156. + HALT_BOOT=n
  157. + '[' n = y ']'
  158. + '[' yes = no ']'
  159. + '[' -z ']'
  160. + echo '########################## starting telnetd'
  161. ########################## starting telnetd
  162. + /bin/busybox-static telnetd -b 192.168.2.15:2323 -l /bin/sh
  163. + usb_info 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  164. + echo '########################## usb_info: Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  165. ########################## usb_info: Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd
  166. + sleep 1
  167. + write /config/usb_gadget/g1/strings/0x409/serialnumber 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  168. + echo -n 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd'
  169. + '[' n = y ']'
  170. + rm /dev/block
  171. + '[' -x /sbin/preinit ']'
  172. + INIT=/sbin/preinit
  173. + exec /sbin/preinit --log-level=debug --log-target=kmsg
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top