Advertisement
Pher0x

Untitled

Dec 13th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 8.11 KB | None | 0 0
  1. mike@mike-desktop > /opt/Sming/samples/Basic_rBoot $ make flashinit
  2. Flash init data default and blank data.
  3. /opt/esp-open-sdk/esptool/esptool.py -p /dev/ttyUSB0 -b 115200 erase_flash
  4. esptool.py v1.2
  5. Connecting...
  6. Running Cesanta flasher stub...
  7. Erasing flash (this may take a while)...
  8. Erase took 1.2 seconds
  9. /opt/esp-open-sdk/esptool/esptool.py -p /dev/ttyUSB0 -b 115200 write_flash -ff 40m -fm dio -fs 32m 0x3fc000 /opt/esp-open-sdk/sdk/bin/esp_init_data_default.bin 0x3fe000 /opt/esp-open-sdk/sdk/bin/blank.bin 0x100000 /opt/Sming/Sming/compiler/data/blankfs.bin
  10. esptool.py v1.2
  11. Connecting...
  12. Running Cesanta flasher stub...
  13. Writing 4096 @ 0x3fc000... 4096 (100 %)
  14. Wrote 4096 bytes at 0x3fc000 in 0.4 seconds (89.7 kbit/s)...
  15. Writing 4096 @ 0x3fe000... 4096 (100 %)
  16. Wrote 4096 bytes at 0x3fe000 in 0.4 seconds (89.7 kbit/s)...
  17. Writing 16384 @ 0x100000... 16384 (100 %)
  18. Wrote 16384 bytes at 0x100000 in 1.4 seconds (91.7 kbit/s)...
  19. Leaving...
  20. mike@mike-desktop > /opt/Sming/samples/Basic_rBoot $ make
  21. OC out/build/libmain2.a
  22. make -C /opt/Sming/Sming/third-party/rboot RBOOT_GPIO_ENABLED=0 RBOOT_SILENT=0
  23. make[1]: Verzeichnis „/opt/Sming/Sming/third-party/rboot“ wird betreten
  24. CC rboot-stage2a.c
  25. LD /opt/Sming/samples/Basic_rBoot/out/build/rboot-stage2a.elf
  26. E2 /opt/Sming/samples/Basic_rBoot/out/build/rboot-hex2a.h
  27. CC rboot.c
  28. LD /opt/Sming/samples/Basic_rBoot/out/build/rboot.elf
  29. E2 /opt/Sming/samples/Basic_rBoot/out/firmware/rboot.bin
  30. make[1]: Verzeichnis „/opt/Sming/Sming/third-party/rboot“ wird verlassen
  31. CC /opt/Sming/Sming/third-party/rboot/appcode/rboot-bigflash.c
  32. CC /opt/Sming/Sming/third-party/rboot/appcode/rboot-api.c
  33. CC /opt/Sming/Sming/appspecific/rboot/overrides.c
  34. C+ app/application.cpp
  35. AR out/build/app_app.a
  36. LD out/build/app_0.out
  37.    Section|                   Description| Start (hex)|   End (hex)|Used space
  38. ------------------------------------------------------------------------------
  39.       data|        Initialized Data (RAM)|    3FFE8000|    3FFE8371|     881
  40.     rodata|           ReadOnly Data (RAM)|    3FFE8380|    3FFE8CF8|    2424
  41.        bss|      Uninitialized Data (RAM)|    3FFE8CF8|    3FFEEFB0|   25272
  42.       text|            Cached Code (IRAM)|    40100000|    40105CD3|   23763
  43. irom0_text|           Uncached Code (SPI)|    40202010|    40244F5C|  274252
  44. Total Used RAM : 28577
  45. Free RAM : 53343
  46. Free IRam : 9023
  47. E2 out/firmware/rom0.bin
  48. (!) Spiffs support disabled. Remove 'DISABLE_SPIFFS' make argument to enable spiffs.
  49. mike@mike-desktop > /opt/Sming/samples/Basic_rBoot $ make flash
  50. (!) Spiffs support disabled. Remove 'DISABLE_SPIFFS' make argument to enable spiffs.
  51. Killing Terminal to free /dev/ttyUSB0
  52. /opt/Sming/Sming/Makefile-rboot.mk:634: recipe for target 'flash' failed
  53. make: [flash] Getötet (ignoriert)
  54. /opt/esp-open-sdk/esptool/esptool.py -p /dev/ttyUSB0 -b 115200 write_flash -ff 40m -fm dio -fs 32m 0x00000 out/firmware/rboot.bin 0x02000 out/firmware/rom0.bin
  55. esptool.py v1.2
  56. Connecting...
  57. Running Cesanta flasher stub...
  58. Flash params set to 0x0240
  59. Writing 4096 @ 0x0... 4096 (100 %)
  60. Wrote 4096 bytes at 0x0 in 0.4 seconds (89.7 kbit/s)...
  61. Writing 303104 @ 0x2000... 303104 (100 %)
  62. Wrote 303104 bytes at 0x2000 in 26.3 seconds (92.3 kbit/s)...
  63. Leaving...
  64. python -m serial.tools.miniterm /dev/ttyUSB0 115200
  65. --- Miniterm on /dev/ttyUSB0  115200,8,N,1 ---
  66. --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
  67.  
  68. Flash Speed:  40 MHz
  69. rBoot Option: Big flash
  70.  
  71. Writing default boot config.
  72. Booting rom 0.
  73. ��s�l�d␓�␄␌�d`␃��r�$�d␒�␄␄␌d`␃��;�d␌ǟ␀�␌␄ll`␃rl�␑-�ver: 117789611 spiffs disabled
  74.  
  75. Currently running rom 0.
  76. Type 'help' and press enter for instructions.
  77.  
  78. mode : sta(5c:cf:7f:3c:5c:0f)
  79. add if0
  80. f r0, scandone
  81. state: 0 -> 2 (b0)
  82. state: 2 -> 0 (2)
  83. reconnect
  84. f 0, scandone
  85. state: 0 -> 2 (b0)
  86. state: 2 -> 3 (0)
  87. state: 3 -> 5 (10)
  88. add 0
  89. aid 1
  90. cnt
  91.  
  92. connected with FRITZ!Box 6490 Cable, channel 11
  93. dhcp client start...
  94. ip:192.168.178.43,mask:255.255.255.0,gw:192.168.178.1
  95.  
  96. --- exit ---
  97.  
  98. CHANGED app0 to app1 in Makefile-user.mk
  99. mike@mike-desktop > /opt/Sming/samples/Basic_rBoot $ make clean
  100. mike@mike-desktop > /opt/Sming/samples/Basic_rBoot $ make
  101. OC out/build/libmain2.a
  102. make -C /opt/Sming/Sming/third-party/rboot RBOOT_GPIO_ENABLED=0 RBOOT_SILENT=0
  103. make[1]: Verzeichnis „/opt/Sming/Sming/third-party/rboot“ wird betreten
  104. CC rboot-stage2a.c
  105. LD /opt/Sming/samples/Basic_rBoot/out/build/rboot-stage2a.elf
  106. E2 /opt/Sming/samples/Basic_rBoot/out/build/rboot-hex2a.h
  107. CC rboot.c
  108. LD /opt/Sming/samples/Basic_rBoot/out/build/rboot.elf
  109. E2 /opt/Sming/samples/Basic_rBoot/out/firmware/rboot.bin
  110. make[1]: Verzeichnis „/opt/Sming/Sming/third-party/rboot“ wird verlassen
  111. CC /opt/Sming/Sming/third-party/rboot/appcode/rboot-bigflash.c
  112. CC /opt/Sming/Sming/third-party/rboot/appcode/rboot-api.c
  113. CC /opt/Sming/Sming/appspecific/rboot/overrides.c
  114. C+ app/application.cpp
  115. AR out/build/app_app.a
  116. LD out/build/app_0.out
  117.    Section|                   Description| Start (hex)|   End (hex)|Used space
  118. ------------------------------------------------------------------------------
  119.       data|        Initialized Data (RAM)|    3FFE8000|    3FFE8371|     881
  120.     rodata|           ReadOnly Data (RAM)|    3FFE8380|    3FFE8CF8|    2424
  121.        bss|      Uninitialized Data (RAM)|    3FFE8CF8|    3FFEEFB0|   25272
  122.       text|            Cached Code (IRAM)|    40100000|    40105CD3|   23763
  123. irom0_text|           Uncached Code (SPI)|    40402000|    40444F4C|  274252
  124. Total Used RAM : 28577
  125. Free RAM : 53343
  126. Free IRam : 9023
  127. E2 out/firmware/rom1.bin
  128. (!) Spiffs support disabled. Remove 'DISABLE_SPIFFS' make argument to enable spiffs.
  129. mike@mike-desktop > /opt/Sming/samples/Basic_rBoot $ /opt/esp-open-sdk/esptool/esptool.py -p /dev/ttyUSB0 -b 115200 write_flash -ff 40m -fm dio -fs 32m 0x202000 out/firmware/rom1.bin
  130. esptool.py v1.2
  131. Connecting...
  132. Running Cesanta flasher stub...
  133. Writing 303104 @ 0x202000... 303104 (100 %)
  134. Wrote 303104 bytes at 0x202000 in 26.3 seconds (92.3 kbit/s)...
  135. Leaving...
  136. mike@mike-desktop > /opt/Sming/samples/Basic_rBoot $ ./serial.sh
  137. --- Miniterm on /dev/ttyUSB0  115200,8,N,1 ---
  138. --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
  139. unknown command
  140. state: 2 -> 0 (2)
  141. reconnect
  142. f 0, unknown command
  143. scandone
  144. state: 0 -> 2 (b0)
  145. state: 2 -> 3 (0)
  146. state: 3 -> 5 (10)
  147. add 0
  148. aid 1
  149. cnt
  150.  
  151. connected with FRITZ!Box 6490 Cable, channel 11
  152. dhcp client start...
  153. ip:192.168.178.43,mask:255.255.255.0,gw:192.168.178.1
  154. ip: 192.168.178.43 mac: 5c:cf:7f:3c:5c:0f
  155.  
  156. SDK: v1.5.4(baaeaebb)
  157. Free Heap: 50920
  158. CPU Frequency: 80 MHz
  159. System Chip ID: 3c5c0f
  160. SPI Flash ID: 1640c8
  161. 10221640 Count: 2
  162. 10221783 ROM 0: 8192
  163. 10223039 ROM 1: 2105344
  164. 10225122 ROM 2: 0
  165. 10226701 GPIO ROM: 0
  166. Swapping from rom 0 to rom 1.
  167. Restarting...
  168.  
  169. state: 5 -> 0 (0)
  170. rm 0
  171. del if0
  172. usl
  173.  
  174.  ets Jan  8 2013,rst cause:2, boot mode:(3,3)
  175.  
  176. load 0x40100000, len 1344, room 16
  177. tail 0
  178. chksum 0x9c
  179. load 0x3ffe8000, len 660, room 8
  180. tail 12
  181. chksum 0xbd
  182. csum 0xbd
  183.  
  184. rBoot v1.4.2 - richardaburton@gmail.com
  185. Flash Size:   32 Mbit
  186. Flash Mode:   DIO
  187. Flash Speed:  40 MHz
  188. rBoot Option: Big flash
  189.  
  190. Booting rom 1.
  191.  
  192.  ets Jan  8 2013,rst cause:4, boot mode:(3,3)
  193.  
  194. wdt reset
  195. load 0x40100000, len 1344, room 16
  196. tail 0
  197. chksum 0x9c
  198. load 0x3ffe8000, len 660, room 8
  199. tail 12
  200. chksum 0xbd
  201. csum 0xbd
  202.  
  203. rBoot v1.4.2 - richardaburton@gmail.com
  204. Flash Size:   32 Mbit
  205. Flash Mode:   DIO
  206. Flash Speed:  40 MHz
  207. rBoot Option: Big flash
  208.  
  209. Booting rom 1.
  210. Fatal exception (0):
  211. epc1=0x5ffffffe, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
  212. sp 0x3ffffa00
  213. epc1=0x60000000, epc2=0x00000000, epc3=0x00000000, excvaddr=0xffec4006, depc=0x00000000
  214. sp 0x3fffeb20
  215. epc1=0x40001800, epc2=0x00000000, epc3=0x00000000, excvaddr=0xf3b96dbf, depc=0x00000000
  216. Fatal exception (28):
  217. epc1=0x40001800, epc2=0x00000000, epc3=0x00000000, excvaddr=0x007d7ff0, depc=0x00000000
  218. Fatal exception (28):
  219. epc1=0x40001800, epc2=0x00000000, epc3=0x00000000, excvaddr=0x007d7ff0, depc=0x00000000
  220. Fatal exception (28):
  221. epc1=0x40001800, epc2=0x00000000, epc3=0x00000000, excvaddr=0x007d7ff0, depc=0x00000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement