Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 30 12:02

    dependabot[bot] on npm_and_yarn

    (compare)

  • Nov 30 12:02
    dependabot[bot] closed #254
  • Nov 30 12:02
    dependabot[bot] commented #254
  • Nov 30 12:02
    dependabot[bot] labeled #256
  • Nov 30 12:02
    dependabot[bot] labeled #256
  • Nov 30 12:02
    dependabot[bot] opened #256
  • Nov 30 12:02

    dependabot[bot] on npm_and_yarn

    build(deps): bump core-js from … (compare)

  • Nov 10 12:03

    dependabot[bot] on npm_and_yarn

    (compare)

  • Nov 10 12:03
    dependabot[bot] closed #243
  • Nov 10 12:03
    dependabot[bot] commented #243
  • Nov 10 12:03
    dependabot[bot] labeled #255
  • Nov 10 12:03
    dependabot[bot] labeled #255
  • Nov 10 12:03
    dependabot[bot] opened #255
  • Nov 10 12:03

    dependabot[bot] on npm_and_yarn

    build(deps-dev): bump eslint-pl… (compare)

  • Nov 07 20:35
    belolap starred UpdateHub/updatehub-ce
  • Nov 03 12:03

    dependabot[bot] on npm_and_yarn

    (compare)

  • Nov 03 12:03
    dependabot[bot] closed #249
  • Nov 03 12:03
    dependabot[bot] labeled #254
  • Nov 03 12:03
    dependabot[bot] commented #249
  • Nov 03 12:03
    dependabot[bot] labeled #254
Gerson Fernando Budke
@nandojve
You need give memory to malloc to enable it.

Minimal Heap mem pool size for the updatehub working

CONFIG_HEAP_MEM_POOL_SIZE=8192
8k is uge, probably will work with 256 or even less bytes.
There is a tune that you may need check
UPDATEHUB_COAP_BLOCK_SIZE_EXP
this instructs COAP block size. Currently, the default is 1024
You may need adjust to < 128
Gerson Fernando Budke
@nandojve
this can help to avoid fragmentation
Last tip
ALWAYS use the bin file when you sign the image for UpdateHub
DON'T use --PAD when you sign the image for UpdateHub
bryan costanich
@bryancostanich
Anyone here working on a NuttX port of MCUBoot? Our interests align, maybe we can help. Ping me at bryan@wildernesslabs.co.
Otavio Salvador
@otavio
We are not but it'd be a very nice addition as it'd unlock the updatehub port for it.
@bryancostanich
Jussi Heiskanen
@wizense_gitlab
@otavio Hi, we are also interested in starting to use the system in EU region. Do you now have instance running in EU and like discussed earlier it's due EU GDPR regulation for data to not leave EU region. For the standalone instance we have noticed that instance crashes (for some reason) after getting batch of 1kb packages. Anyway cloud would be way to go for us.
@otavio also to start testing with the cloud what is the way to upload packages to the UpdateHub cloud? Uhu python script does not have an address to push into the cloud service.
Otavio Salvador
@otavio
@wizense_gitlab Hello; currently, we don't. However, if need we can handle it.
Yes, you can push with uhu
is it Zephyr or Yocto?
Jussi Heiskanen
@wizense_gitlab
@otavio we are using Zephyr and latest 2.5.0 version. Previously our engineer was not able to push to cloud with uhu due missing cloud url in examples and documentation. Is cloud url for uhu documented? We could start testing cloud with existing location asap. What is your email for direct contact?
3 replies
Gerson Fernando Budke
@nandojve

Anyone here working on a NuttX port of MCUBoot? Our interests align, maybe we can help. Ping me at bryan@wildernesslabs.co.

Hi @bryancostanich , we are considering port UpdateHub to NuttX.
Are you still interested?

1 reply
Dariusz Kopka
@darekkopka_twitter
Hello! The website and api are down. Is there any channel with maintenance announcements or system health check available?
Otavio Salvador
@otavio
@darekkopka_twitter it is up now
@darekkopka_twitter please check
Alexander Wagner
@alexanderwwagner
Hello together,
i started a new rollout 10 hours ago. But the Status Shows 0% and nothing happens .... What could bei the problem? I use updatehub through yocto ... Thank you!
Alexander Wagner
@alexanderwwagner
I use the cloud solution / meta-updatehub and meta-updatehub-raspberry
Otavio Salvador
@otavio
@alexanderwwagner you need to check if the device has did the probe
Alexander Wagner
@alexanderwwagner
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.587 INFO update received: 3.2.2-test-image-2.0 (f53c7d867808a88ce91fc600cddddddde76d2af5cdd2042b231594f4d4a2455f)
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.588 INFO no signature key available on device, ignoring signature validation
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.620 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.621 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.622 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.623 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.624 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.626 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.627 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.628 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.629 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.631 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.632 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.633 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.634 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.635 INFO 'copy' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.636 INFO 'tarball' handle checking requirements
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.637 INFO running state change callback for 'download' state
Oct 02 08:01:56 greencube-wagner updatehub[261]: Oct 02 08:01:56.637 INFO download callback has exit with success
Oct 02 08:01:58 greencube-wagner updatehub[261]: Oct 02 08:01:58.128 INFO running state change callback for 'error' state
Oct 02 08:01:58 greencube-wagner updatehub[261]: Oct 02 08:01:58.141 INFO error callback has exit with success
Oct 02 08:01:58 greencube-wagner updatehub[261]: Oct 02 08:01:58.142 ERRO error state reached: Invalid status response: 302
Oct 02 08:01:58 greencube-wagner updatehub[261]: Oct 02 08:01:58.143 INFO returning to machine's entry point
This is my status output of the updatehub service
Otavio Salvador
@otavio
@alexanderwwagner you could check current version as we did improve the error logs?
tagboxvipul
@tagboxvipul
@otavio Hi i want to upload a package to update the update-hub cloud but its throwing an error as
Starting uploading objects...Error: Could not upload metadata: Server is not available. Try again later.
Can you help me to figure out this issue
And also on updatehub CE device is not able to parse metadata.And giving "updatehub: Could not parse json"
Otavio Salvador
@otavio
@tagboxvipul are you using Linux or Zephyr?
tagboxvipul
@tagboxvipul
zephyr
Gerson Fernando Budke
@nandojve
Hi @tagboxvipul , I would like understand better some points:
1) Is this a recent error because you update code? I mean, have you using UpdateHub with success in past and suddenly it started to fail?
2) We need know what Zephyr version you are using + board + connection details (ETH, WIFI, etc).
tagboxvipul
@tagboxvipul
Hi
1) We have had trouble with different parts in update hub. Have not managed to successfully run it end to end. Although in parts we have been able to test it
2)1.7.0ncs, custom board with gsm modem
runs on ppp
tagboxvipul
@tagboxvipul
right now it looks like the package's metadata being parsed by probe_cb is failing. reply.max_length and reply.offset are coming out to be equal (456 bytes). hence data being copied tometadata remains empty memcpy(metadata, reply.data ,reply.max_len - reply.offset);
Otavio Salvador
@otavio
@tagboxvipul you can run uhu package metadata to check if it is consistent.
tagboxvipul
@tagboxvipul
@tagboxvipul you can run uhu package metadata to check if it is consistent.
My package metadata looks like this
{
"objects": [
[
{
"filename": "app_update.bin",
"mode": "zephyr",
"sha256sum": "2a6c8d6ed71c2ab293dce3e2ef5dd03d116df387cd43fa161478cf25ffe43ddd",
"size": 328262
}
],
[
{
"filename": "app_update.bin",
"mode": "zephyr",
"sha256sum": "2a6c8d6ed71c2ab293dce3e2ef5dd03d116df387cd43fa161478cf25ffe43ddd",
"size": 328262
}
]
],
"product": "e4d37cfe6ec48a2d069cc0bbb8b078677e9a0d8df3a027c4d8ea131130c4265f",
"supported-hardware": "any",
"version": "3.0.0"
}
Valid metadata.
Otavio Salvador
@otavio
so it looks good. Have you check using latest updatehub-ce?
we did some fixes some weeks ago
@nandojve can you check it too?
tagboxvipul
@tagboxvipul
and reply.data from probe_cb is
f0 2b 01 20 c8 01 c8 01 0c aa 04 00 1c 00 aa aa |.+. .... ........
00> 68 45 f9 de 03 23 f6 63 1a 64 9e ab d2 0f 01 b7 |hE...#.c .d......
00> ff 7b 22 6f 62 6a 65 63 74 73 22 3a 20 5b 5b 7b |.{"objec ts": [[{
00> 22 66 69 6c 65 6e 61 6d 65 22 3a 20 22 61 70 70 |"filenam e": "app
00> 5f 75 70 64 61 74 65 2e 62 69 6e 22 2c 20 22 6d |_update. bin", "m
00> 6f 64 65 22 3a 20 22 7a 65 70 68 79 72 22 2c 20 |ode": "z ephyr",
00> 22 73 68 61 32 35 36 73 75 6d 22 3a 20 22 34 34 |"sha256s um": "44
00> 33 65 33 35 30 33 66 62 66 39 32 37 66 64 36 62 |3e3503fb f927fd6b
00> 38 39 65 38 64 66 31 38 61 34 33 34 30 38 35 66 |89e8df18 a434085f
00> 31 64 33 65 39 36 61 39 39 62 39 64 36 39 32 32 |1d3e96a9 9b9d6922
00> 36 63 61 38 30 63 61 63 30 64 61 65 33 61 22 2c |6ca80cac 0dae3a",
00> 20 22 73 69 7a 65 22 3a 20 33 32 38 32 33 32 7d | "size": 328232}
00> 5d 2c 20 5b 7b 22 66 69 6c 65 6e 61 6d 65 22 3a |], [{"fi lename":
00> 20 22 61 70 70 5f 75 70 64 61 74 65 2e 62 69 6e | "app_up date.bin
00> 22 2c 20 22 6d 6f 64 65 22 3a 20 22 7a 65 70 68 |", "mode ": "zeph
00> 79 72 22 2c 20 22 73 68 61 32 35 36 73 75 6d 22 |yr", "sh a256sum"
00> 3a 20 22 34 34 33 65 33 35 30 33 66 62 66 39 32 |: "443e3 503fbf92
00> 37 66 64 36 62 38 39 65 38 64 66 31 38 61 34 33 |7fd6b89e 8df18a43
00> 34 30 38 35 66 31 64 33 65 39 36 61 39 39 62 39 |4085f1d3 e96a99b9
00> 64 36 39 32 32 36 63 61 38 30 63 61 63 30 64 61 |d69226ca 80cac0da
00> 65 33 61 22 2c 20 22 73 69 7a 65 22 3a 20 33 32 |e3a", "s ize": 32
00> 38 32 33 32 7d 5d 5d 2c 20 22 70 72 6f 64 75 63 |8232}]], "produc
00> 74 22 3a 20 22 65 34 64 33 37 63 66 65 36 65 63 |t": "e4d 37cfe6ec
00> 34 38 61 32 64 30 36 39 63 63 30 62 62 62 38 62 |48a2d069 cc0bbb8b
00> 30 37 38 36 37 37 65 39 61 30 64 38 64 66 33 61 |078677e9 a0d8df3a
00> 30 32 37 63 34 64 38 65 61 31 33 31 31 33 30 63 |027c4d8e a131130c
00> 34 32 36 35 66 22 2c 20 22 73 75 70 70 6f 72 74 |4265f", "support
00> 65 64 2d 68 61 72 64 77 61 72 65 22 3a 20 22 61 |ed-hardw are": "a
00> 6e 79 22 2c 20 22 76 65 72 73 69 6f 6e 22 3a 20 |ny", "ve rsion":
00> 22 33 2e 30 2e 30 22 7d a8 73 02 00 00 00 07 61 |"3.0.0"} .s.....a
00> 01 00 00 00 88 c4 00 20 28 2e 01 20 33 72 02 00 |....... (.. 3r..
00> fd 71 02 00 85 f1 03 00 fd 71 02 00 ff 0a 04 00 |.q...... .q......
00> 70 a2 00 20 00 00 00 00 00 00 00 00 63 d7 03 00 |p.. .... ....c...
00> a8 73 02 00 00 00 07 61 01 00 00 00 88 c4 00 20 |.s.....a .......
00> 10 00 00 00 30 2e 01 20 00 00 00 00 88
image.png