You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/11/18 12:29:04 UTC
[GitHub] [mynewt-newtmgr] jrananth1032 opened a new issue #178: Failed to upload image over BLE using zephyr
jrananth1032 opened a new issue #178:
URL: https://github.com/apache/mynewt-newtmgr/issues/178
when running below command i faced the issue.image list, image erase are working. only upload is not working. FYI i have master branch of newtmgr.
sudo newtmgr --conntype ble --connstring peer_id='eb:60:60:7f:a6:2c' image upload ./build/zephyr_signed.bin
[sudo] password for socopt:
0 / 188744 [-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0.00%panic: runtime error: slice bounds out of range [:-14]
goroutine 1 [running]:
mynewt.apache.org/newtmgr/nmxact/xact.encodeUploadReq(0xa74b60, 0xc000140fa0, 0xc0000a61e0, 0x20, 0x20, 0x729d88ebffea4a00, 0xc000300000, 0x2e148, 0x2e348, 0x0, ...)
/home/socopt/go/src/mynewt.apache.org/newtmgr/nmxact/xact/image.go:120 +0x1f9
mynewt.apache.org/newtmgr/nmxact/xact.findChunkLen(0xa74b60, 0xc000140fa0, 0xc0000a61e0, 0x20, 0x20, 0x25f0f2611ac2a800, 0xc000300000, 0x2e148, 0x2e348, 0x0, ...)
/home/socopt/go/src/mynewt.apache.org/newtmgr/nmxact/xact/image.go:139 +0x13a
mynewt.apache.org/newtmgr/nmxact/xact.nextImageUploadReq(0xa74b60, 0xc000140fa0, 0xc00008e600, 0xc000300000, 0x2e148, 0x2e348, 0x0, 0x0, 0x0, 0x0, ...)
/home/socopt/go/src/mynewt.apache.org/newtmgr/nmxact/xact/image.go:177 +0x14f
mynewt.apache.org/newtmgr/nmxact/xact.(*ImageUploadCmd).Run(0xc0000b2180, 0xa74b60, 0xc000140fa0, 0xc0000941a0, 0x10, 0x10, 0x92c140)
/home/socopt/go/src/mynewt.apache.org/newtmgr/nmxact/xact/image.go:353 +0x265
mynewt.apache.org/newtmgr/nmxact/xact.(*ImageUpgradeCmd).runUpload(0xc0000b2100, 0xa74b60, 0xc000140fa0, 0x40f9d8, 0x10, 0x92c140)
/home/socopt/go/src/mynewt.apache.org/newtmgr/nmxact/xact/image.go:510 +0x1ba
mynewt.apache.org/newtmgr/nmxact/xact.(*ImageUpgradeCmd).Run(0xc0000b2100, 0xa74b60, 0xc000140fa0, 0x0, 0x2e348, 0x0, 0x0)
/home/socopt/go/src/mynewt.apache.org/newtmgr/nmxact/xact/image.go:536 +0x54
mynewt.apache.org/newtmgr/newtmgr/cli.imageUploadCmd(0xc000299b80, 0xc0002a0050, 0x1, 0x5)
/home/socopt/go/src/mynewt.apache.org/newtmgr/newtmgr/cli/image.go:212 +0x2c6
github.com/spf13/cobra.(*Command).execute(0xc000299b80, 0xc000020580, 0x5, 0x8, 0xc000299b80, 0xc000020580)
/home/socopt/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xc000298000, 0x9df848, 0xc000200240, 0x0)
/home/socopt/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x30b
github.com/spf13/cobra.(*Command).Execute(...)
/home/socopt/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
main.main()
/home/socopt/go/src/mynewt.apache.org/newtmgr/newtmgr/newtmgr.go:111 +0x119
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-newtmgr] nkaje closed issue #178: Failed to upload image over BLE using zephyr
Posted by GitBox <gi...@apache.org>.
nkaje closed issue #178:
URL: https://github.com/apache/mynewt-newtmgr/issues/178
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-newtmgr] dnsglk commented on issue #178: Failed to upload image over BLE using zephyr
Posted by GitBox <gi...@apache.org>.
dnsglk commented on issue #178:
URL: https://github.com/apache/mynewt-newtmgr/issues/178#issuecomment-800483001
@AnanthJaisankar Hi, could you tell please what was the cause for this issue ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-newtmgr] jrananth1032 commented on issue #178: Failed to upload image over BLE using zephyr
Posted by GitBox <gi...@apache.org>.
jrananth1032 commented on issue #178:
URL: https://github.com/apache/mynewt-newtmgr/issues/178#issuecomment-730270319
i figured out the reason for this issue and it is from my end. so we can close this issue
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org