the self built bl602_boot2 is very different from pre-built one
#1
Anyone is still playing PineCone? I am trying to build blsp_boot2 myself using the bl_iot_sdk tree.
However, the binary that I built is very different from the prebuilt image bl_iot_sdk/tools/flash_tool/bl602/builtin_imgs/blsp_boot2.elf

Here is how I did:
$ cd bl_iot_sdk
$ export BL60X_SDK_PATH=$(pwd)
$ export CONFIG_CHIP_NAME=BL602


$ cd bl_iot_sdk/customer_app/bl602_boot2
$make

The generated binary bl602_boot2.elf contains the main function like a dummy.
230002aa <main>:
230002aa: 8082                ret
230002ac: 0001                nop
230002ae: 0101                addi sp,sp,0


The pre-built blsp_boot2.elf seems to be a valid one, which matches the bl602_boot2 code.

Can anyone point out what I have missed here? thanks so much in advance.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)