Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Created October 30, 2023 13:44
Show Gist options
  • Save lupyuen/e8c0aca0ebd0f1eae034b0996a5b3ec3 to your computer and use it in GitHub Desktop.
Save lupyuen/e8c0aca0ebd0f1eae034b0996a5b3ec3 to your computer and use it in GitHub Desktop.
[21:42:58.962] - ========= Interface is Uart =========
[21:42:58.967] - eflash loader bin is eflash_loader_auto.bin
[21:42:58.998] - Version: eflash_loader_v2.4.5
[21:42:58.999] - Program Start
[21:42:58.999] - ========= eflash loader cmd arguments =========
[21:42:58.999] - /Users/Luppy/ox64/BouffaloLabDevCube-v1.8.3/chips/bl808/eflash_loader/eflash_loader_cfg.ini
[21:42:59.000] - Config file: /Users/Luppy/ox64/BouffaloLabDevCube-v1.8.3/chips/bl808/eflash_loader/eflash_loader_cfg.ini
[21:42:59.001] - serial port is /dev/tty.usbserial-1420
[21:42:59.001] - cpu_reset=False
[21:42:59.002] - chiptype: bl808
[21:42:59.003] - ========= Interface is uart =========
[21:42:59.005] - com speed: 230400
[21:42:59.006] - Bootrom load
[21:42:59.006] - ========= get_boot_info =========
[21:42:59.007] - ========= image get bootinfo =========
[21:43:01.018] - ack is
[21:43:01.019] - Not ack OK
[21:43:01.019] - result:
[21:43:01.279] - tx rx and power off, press the machine!
[21:43:01.280] - cutoff time is 0.05
[21:43:01.336] - power on tx and rx
[21:43:02.254] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[21:43:02.256] - clean buf
[21:43:02.258] - send sync
[21:43:02.763] - ack is 4f4b
[21:43:02.796] - shake hand success
[21:43:03.302] - data read is b'01000808000000000b14c1022a89de05b9185b002ff4fb18'
[21:43:03.303] - ========= ChipID: 18b905de892a =========
[21:43:03.303] - Get bootinfo time cost(ms): 4296.23779296875
[21:43:03.303] - clock para file: /Users/Luppy/ox64/BouffaloLabDevCube-v1.8.3/chips/bl808/efuse_bootheader/clock_para.bin
[21:43:03.303] - change bdrate: 230400
[21:43:03.304] - Clock PLL set
[21:43:03.304] - clock para:
[21:43:03.304] - 5043464707040000030103000102000201010001010101010a894b86
[21:43:03.309] - Set clock time cost(ms): 4.64013671875
[21:43:03.421] - Read mac addr
[21:43:03.426] - flash set para
[21:43:03.427] - get flash pin cfg from bootinfo: 0x04
[21:43:03.427] - set flash cfg: 14104
[21:43:03.427] - Set flash config
[21:43:03.432] - Set para time cost(ms): 4.572021484375
[21:43:03.432] - ========= flash read jedec ID =========
[21:43:03.436] - Read flash jedec ID
[21:43:03.436] - flash jedec id: ef601800
[21:43:03.436] - Finished
[21:43:03.443] - Program operation
[21:43:03.444] - Dealing Index 0
[21:43:03.444] - ========= programming chips/bl808/img_create_iot/img_single.bin to 0x00800000
[21:43:03.456] - flash para file: /Users/Luppy/ox64/BouffaloLabDevCube-v1.8.3/chips/bl808/efuse_bootheader/flash_para.bin
[21:43:03.456] - Set flash config
[21:43:03.465] - Set para time cost(ms): 8.5009765625
[21:43:03.465] - ========= flash load =========
[21:43:03.475] - ========= flash erase =========
[21:43:03.476] - Erase flash from 0x800000 to 0xefffff
[21:43:19.575] - Erase time cost(ms): 16099.041748046875
[21:43:20.209] - decompress flash load 332176
[21:43:20.409] - Load 4096/332176 {"progress":1}
[21:43:20.609] - Load 8192/332176 {"progress":2}
[21:43:20.809] - Load 12288/332176 {"progress":3}
[21:43:21.009] - Load 16384/332176 {"progress":4}
[21:43:21.209] - Load 20480/332176 {"progress":6}
[21:43:21.409] - Load 24576/332176 {"progress":7}
[21:43:21.609] - Load 28672/332176 {"progress":8}
[21:43:21.809] - Load 32768/332176 {"progress":9}
[21:43:22.009] - Load 36864/332176 {"progress":11}
[21:43:22.209] - Load 40960/332176 {"progress":12}
[21:43:22.409] - Load 45056/332176 {"progress":13}
[21:43:22.609] - Load 49152/332176 {"progress":14}
[21:43:22.808] - Load 53248/332176 {"progress":16}
[21:43:23.008] - Load 57344/332176 {"progress":17}
[21:43:23.208] - Load 61440/332176 {"progress":18}
[21:43:23.408] - Load 65536/332176 {"progress":19}
[21:43:23.608] - Load 69632/332176 {"progress":20}
[21:43:23.808] - Load 73728/332176 {"progress":22}
[21:43:24.008] - Load 77824/332176 {"progress":23}
[21:43:24.208] - Load 81920/332176 {"progress":24}
[21:43:24.408] - Load 86016/332176 {"progress":25}
[21:43:24.609] - Load 90112/332176 {"progress":27}
[21:43:24.809] - Load 94208/332176 {"progress":28}
[21:43:25.008] - Load 98304/332176 {"progress":29}
[21:43:25.208] - Load 102400/332176 {"progress":30}
[21:43:25.408] - Load 106496/332176 {"progress":32}
[21:43:25.608] - Load 110592/332176 {"progress":33}
[21:43:25.807] - Load 114688/332176 {"progress":34}
[21:43:26.007] - Load 118784/332176 {"progress":35}
[21:43:26.207] - Load 122880/332176 {"progress":36}
[21:43:26.407] - Load 126976/332176 {"progress":38}
[21:43:26.607] - Load 131072/332176 {"progress":39}
[21:43:26.807] - Load 135168/332176 {"progress":40}
[21:43:27.007] - Load 139264/332176 {"progress":41}
[21:43:27.207] - Load 143360/332176 {"progress":43}
[21:43:27.407] - Load 147456/332176 {"progress":44}
[21:43:27.607] - Load 151552/332176 {"progress":45}
[21:43:27.806] - Load 155648/332176 {"progress":46}
[21:43:28.006] - Load 159744/332176 {"progress":48}
[21:43:28.206] - Load 163840/332176 {"progress":49}
[21:43:28.406] - Load 167936/332176 {"progress":50}
[21:43:28.606] - Load 172032/332176 {"progress":51}
[21:43:28.805] - Load 176128/332176 {"progress":53}
[21:43:29.005] - Load 180224/332176 {"progress":54}
[21:43:29.205] - Load 184320/332176 {"progress":55}
[21:43:29.406] - Load 188416/332176 {"progress":56}
[21:43:29.606] - Load 192512/332176 {"progress":57}
[21:43:29.805] - Load 196608/332176 {"progress":59}
[21:43:30.005] - Load 200704/332176 {"progress":60}
[21:43:30.205] - Load 204800/332176 {"progress":61}
[21:43:30.404] - Load 208896/332176 {"progress":62}
[21:43:30.604] - Load 212992/332176 {"progress":64}
[21:43:30.804] - Load 217088/332176 {"progress":65}
[21:43:31.004] - Load 221184/332176 {"progress":66}
[21:43:31.204] - Load 225280/332176 {"progress":67}
[21:43:31.404] - Load 229376/332176 {"progress":69}
[21:43:31.604] - Load 233472/332176 {"progress":70}
[21:43:31.804] - Load 237568/332176 {"progress":71}
[21:43:32.004] - Load 241664/332176 {"progress":72}
[21:43:32.204] - Load 245760/332176 {"progress":73}
[21:43:32.404] - Load 249856/332176 {"progress":75}
[21:43:32.604] - Load 253952/332176 {"progress":76}
[21:43:32.803] - Load 258048/332176 {"progress":77}
[21:43:33.003] - Load 262144/332176 {"progress":78}
[21:43:33.203] - Load 266240/332176 {"progress":80}
[21:43:33.403] - Load 270336/332176 {"progress":81}
[21:43:33.603] - Load 274432/332176 {"progress":82}
[21:43:33.803] - Load 278528/332176 {"progress":83}
[21:43:34.002] - Load 282624/332176 {"progress":85}
[21:43:34.202] - Load 286720/332176 {"progress":86}
[21:43:34.403] - Load 290816/332176 {"progress":87}
[21:43:34.602] - Load 294912/332176 {"progress":88}
[21:43:34.802] - Load 299008/332176 {"progress":90}
[21:43:35.002] - Load 303104/332176 {"progress":91}
[21:43:35.202] - Load 307200/332176 {"progress":92}
[21:43:35.402] - Load 311296/332176 {"progress":93}
[21:43:35.602] - Load 315392/332176 {"progress":94}
[21:43:35.802] - Load 319488/332176 {"progress":96}
[21:43:36.002] - Load 323584/332176 {"progress":97}
[21:43:36.202] - Load 327680/332176 {"progress":98}
[21:43:36.401] - Load 331776/332176 {"progress":99}
[21:43:41.352] - Load 332176/332176 {"progress":100}
[21:43:41.354] - Load 332176/332176 {"progress":100}
[21:43:41.354] - Write check
[21:43:44.481] - Flash load time cost(ms): 24905.0341796875
[21:43:44.483] - Finished
[21:43:44.511] - Sha caled by host: 447d6b818d98690c9bdb13ebe4b97a75cd3642838ab535d6b389bf1e1551c6f3
[21:43:44.512] - xip mode Verify
[21:43:50.537] - Read Sha256/7340032
[21:43:50.538] - Flash xip readsha time cost(ms): 6022.921142578125
[21:43:50.539] - Finished
[21:43:50.542] - Sha caled by dev: 447d6b818d98690c9bdb13ebe4b97a75cd3642838ab535d6b389bf1e1551c6f3
[21:43:50.543] - Verify success
[21:43:50.544] - Program Finished
[21:43:50.544] - All time cost(ms): 51545.711181640625
[21:43:50.653] - close interface
[21:43:50.654] - [All Success]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment