Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linxdot in "Awaiting Location Assertion" #3

Open
lexiz52 opened this issue Jul 7, 2024 · 38 comments
Open

Linxdot in "Awaiting Location Assertion" #3

lexiz52 opened this issue Jul 7, 2024 · 38 comments

Comments

@lexiz52
Copy link

lexiz52 commented Jul 7, 2024

Hi all,

I updated my Linxdot ( several times) , but is still standing in "Awaiting Location Assertion" . I tryed Helium app and Nebra app. Not possible to set it to the old Helium adress or create a new one. BT is working, connection possible, but will disconnected after some seconds. No errors during flash. Newest version 1.31. Serial and ECC is not detected.

How to get it to run?
image
image

BR
Thomas

@shawaj
Copy link
Member

shawaj commented Jul 11, 2024

@lexiz52 can you share the diagnostics.json from the main page? I will need to access it and poke around to see what the issue is.

You can find my email on my profile

Thanks

@lexiz52
Copy link
Author

lexiz52 commented Jul 12, 2024

@shawaj : The json is send out to you. Thanks!

@shawaj
Copy link
Member

shawaj commented Jul 12, 2024

@lexiz52 just replied. It is showing offline. Could you try to reboot it?

@lexiz52
Copy link
Author

lexiz52 commented Jul 12, 2024 via email

@lexiz52
Copy link
Author

lexiz52 commented Jul 19, 2024

@lexiz52 just replied. It is showing offline. Could you try to reboot it?

@shawaj : did you find something on my Linxdot? It is still the same state (Awaiting Location Assertion, ECC not found)

@sukerl
Copy link

sukerl commented Aug 9, 2024

@shawaj I have the same problems. (Awaiting Location Assertion, ECC not found, Serial not found, Bluetooth crashing)

Pasting my diagnostic info below and leaving the hotspot up and running.

{"AN":null,"BA":"helium-linxdot-rk3566","BALENA_DEVICE_TYPE":["nanopc-t4"],"BN":"","BT":true,"BUTTON":27,"CELLULAR":false,"CONTAINS_FCC_IDS":[],"CONTAINS_IC_IDS":[],"CPU_ARCH":"arm64","E0":"8E:56:6A:A6:A9:D6","ECC":false,"ECCOB":true,"FCC_IDS":[],"FR":"N/A (Non Nebra Miner)","FRIENDLY":"Linxdot RK3566 Hotspot","FW":"v1.3.3","IC_IDS":[],"ID":"4854d3ee54c5a21442f9412d9ab0de22","LOR":false,"LTE":false,"MAC":"wlan0","OK":null,"ONBOARDING_KEY_URI":["ecc://i2c-1:96?slot=0"],"PF":false,"PK":null,"RE":"UN123","RESET":17,"SPIBUS":"spidev0.0","STATUS":22,"SUPPORTED_MODELS":["Linxdot RK3566 Hotspot"],"SWARM_KEY_URI":["ecc://i2c-1:96?slot=0"],"TYPE":"Full","VA":"COMP-LINXDOTRK3566","W0":"08:FB:EA:79:2D:2A","commercial_fleet":false,"config_version":"a198b83","diagnostics_passed":false,"diagnotics_version":"e35aaf7","errors":["gateway_pubkey","gateway_pubkey","RE","gateway_region"],"firmware_short_hash":"7d24221","gateway_pubkey":"<_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.UNAVAILABLE\n\tdetails = "DNS resolution failed for helium-miner:4467: C-ares status is not ARES_SUCCESS qtype=A name=helium-miner is_balancer=0: DNS server returned answer with no data"\n\tdebug_error_string = "UNKNOWN:DNS resolution failed for helium-miner:4467: C-ares status is not ARES_SUCCESS qtype=A name=helium-miner is_balancer=0: DNS server returned answer with no data {created_time:"2024-08-09T16:37:17.312385745+00:00", grpc_status:14}"\n>","gateway_region":"<_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.UNAVAILABLE\n\tdetails = "DNS resolution failed for helium-miner:4467: C-ares status is not ARES_SUCCESS qtype=A name=helium-miner is_balancer=0: DNS server returned answer with no data"\n\tdebug_error_string = "UNKNOWN:DNS resolution failed for helium-miner:4467: C-ares status is not ARES_SUCCESS qtype=A name=helium-miner is_balancer=0: DNS server returned answer with no data {grpc_status:14, created_time:"2024-08-09T16:37:17.35794087+00:00"}"\n>","gatewayrs_version":"5428419","last_updated":"16:37 UTC 09 Aug 2024","multiplexer_version":"a1fc09b","nebra_fleet":true,"packet_forwarder_version":"5c3c90a","serial_number":"Serial number not found"}

@shawaj
Copy link
Member

shawaj commented Aug 9, 2024

I'll check it shortly

@shawaj
Copy link
Member

shawaj commented Aug 9, 2024

Hmm this shows offline for my @sukerl

Do you have any remote access on your network?

@sukerl
Copy link

sukerl commented Aug 9, 2024

Hi @shawaj

Thanks for helping with this!

Regarding remote access I think I could set something up. I'll let you know as soon as it works. Is ssh to the 22222 port of the hotspot sufficient?

BR

@sukerl
Copy link

sukerl commented Aug 13, 2024

HI @shawaj , I just wanted to ask if you got my mail with the infos to connect to the hotspot? I sent it last friday in the evening, maybe it went to your spam folder....

@GokhanZukachi
Copy link

I have the exact problem too. I think linxdot rockchip nebra image is not working properly. Is there anyone here Using linxdot nebra image properly?

@shawaj
Copy link
Member

shawaj commented Oct 24, 2024

Yes we never got it working yet

@lexiz52
Copy link
Author

lexiz52 commented Oct 24, 2024 via email

@shawaj
Copy link
Member

shawaj commented Oct 24, 2024

I think Crankk have something that works possibly. Dunno

@GokhanZukachi
Copy link

I think Crankk have something that works possibly. Dunno

crankk terminate multining if you dont have a crankk license. i tried yesterday at crankk but i cant work the device

@GokhanZukachi
Copy link

I figured out cotx x3 nebra image has the same ecc chip not found problem. Nebra image cant read the l2c bus of ecc chip i think

@shawaj
Copy link
Member

shawaj commented Oct 24, 2024

I've got cotx one working fine so maybe just a dud device.

Can you remind me what the issue is? You just get the ECC not found?

Can you SSH in to the device and run some commands for me then I might be able to work out the issue

@lexiz52
Copy link
Author

lexiz52 commented Oct 24, 2024 via email

@shawaj
Copy link
Member

shawaj commented Oct 24, 2024

Hi Aaron, please send me details what to do. Maybe I can do something tomorrow or on Weekend. BR Thomas Aaron Shaw @.> schrieb am Do. 24. Okt. 2024 um 18:28:

I've got cotx one working fine so maybe just a dud device. Can you remind me what the issue is? You just get the ECC not found? Can you SSH in to the device and run some commands for me then I might be able to work out the issue — Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYJKG5FPYVS6773IZABSDDZ5EN2ZAVCNFSM6AAAAABKPPHNGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZVG4ZTSNZQGA . You are receiving this because you were mentioned.Message ID: @.
>

Send me an email... It's on my profile page here

@sukerl
Copy link

sukerl commented Oct 25, 2024

Hi all, before i bricked my Linxdot by flashing a wrong image onto it and not being able to flash a corrent one again, I found out that the problem is that on Linxdot the ECC chip is on another I2C address.

If i remember correctly it's i2c-5.

@shawaj
Copy link
Member

shawaj commented Oct 25, 2024

@sukerl I believe you are right. The issue is I don't have one here so need to confirm/test.

However, @lexiz52 is kindly helping me with some local testing on his device

shawaj added a commit to NebraLtd/hm-diag that referenced this issue Oct 27, 2024
shawaj added a commit to NebraLtd/hm-diag that referenced this issue Oct 27, 2024
* Bump hm-pyhelper

Relates to NebraLtd/helium-linxdot-rk3566#3

* poetry lock

* poetry lock
@shawaj
Copy link
Member

shawaj commented Oct 27, 2024

@lexiz52 @sukerl @GokhanZukachi try to install with the latest version using below button or link...

balena deploy button

https://dashboard.balena-cloud.com/deploy?repoUrl=https://github.com/NebraLtd/helium-linxdot-rk3566

@shawaj
Copy link
Member

shawaj commented Oct 27, 2024

Also @QuentinDowsers see above post

@QuentinDowsers
Copy link

Thx @shawaj. Should be the same ICC slot for #helium-bobcat-rk3566 no ?

@shawaj
Copy link
Member

shawaj commented Oct 27, 2024

@QuentinDowsers did it work?

Not sure about bobcat. It's the same CPU but doesn't mean it's the same i2c-bus

Can you SSH into the device at all?

On bobcat rk3566 we have it as i2c-5 but keyslot 0 instead of 1.

But not really sure about that.

@QuentinDowsers
Copy link

@QuentinDowsers did it work?

Not sure about bobcat. It's the same CPU but doesn't mean it's the same i2c-bus

Can you SSH into the device at all?

On bobcat rk3566 we have it as i2c-5 but keyslot 0 instead of 1.

But not really sure about that.

I have two bobcat miners (G285 v1.0) , one on nebra and the other on crankk : helium on crankk is working on slot 5.

@shawaj
Copy link
Member

shawaj commented Oct 27, 2024

@QuentinDowsers did it work?
Not sure about bobcat. It's the same CPU but doesn't mean it's the same i2c-bus
Can you SSH into the device at all?
On bobcat rk3566 we have it as i2c-5 but keyslot 0 instead of 1.
But not really sure about that.

I have two bobcat miners (G285 v1.0) , one on nebra and the other on crankk : helium on crankk is working on slot 5.

There is i2c bus and key slot. They are different things.

I2c-5 is the bus. That is not the same as the slot.

Can you SSH into either of the devices?

And you have it working on the Linxdot rk3566 now?

@QuentinDowsers
Copy link

I am sorry I have migrated the linxdot on crankk since 2 days.... so cannot check anymore. (But it is working fine on bus 5 on crankk multimining).

what i have got on crankked bobcat:
[root@crankk devices]# ls
0-001c@ 0-0020@ 2-0014@ 4-0051@ i2c-0@ i2c-2@ i2c-3@ i2c-4@ i2c-5@

@shawaj
Copy link
Member

shawaj commented Oct 27, 2024

@QuentinDowsers can you do on both bobcat and linxdot

ls /dev

And post output.

And also:

i2cdetect -y 5

On each and post the output.

You may need to use sudo in front of the commands if you get a permissions error

@lexiz52
Copy link
Author

lexiz52 commented Oct 28, 2024 via email

@shawaj
Copy link
Member

shawaj commented Oct 28, 2024

@lexiz52 you should get to this screen after you log in

Screenshot_20241028_102319_Chrome
Screenshot_20241028_102327_Chrome

Then you will see this and need to click add device

Screenshot_20241028_102332_Chrome

Then choose configuration file only:
Screenshot_20241028_102409_Chrome

You then need to get the image from here:
https://github.com/NebraLtd/helium-linxdot-rk3566/releases/tag/v1.3.3-helium-linxdot-rk3566-2024-07-12-OpenFleet

Then you need to mount the image on your PC/Mac and replace the config.json in the image with the one you just downloaded.

Then you can flash the image and it should come online in balenacloud.

@QuentinDowsers
Copy link

QuentinDowsers commented Oct 29, 2024

@QuentinDowsers can you do on both bobcat and linxdot

ls /dev

And post output.

And also:

i2cdetect -y 5

On each and post the output.

You may need to use sudo in front of the commands if you get a permissions error

@shawaj here are the results:

[email protected]

[email protected]

@shawaj
Copy link
Member

shawaj commented Oct 29, 2024

@QuentinDowsers Ok so linxdot is on i2c-5 but bobcat is not.

On bobcat can you try

i2cdetect -y 4
i2cdetect -y 2
i2cdetect -y 3
i2cdetect -y 0

And post the results.

Which bobcat is this on by the way? A 2gb ram one? G285?

@QuentinDowsers
Copy link

QuentinDowsers commented Oct 29, 2024

@shawaj

[email protected]

G285 V1.0 with 2GB RAM

@shawaj
Copy link
Member

shawaj commented Oct 29, 2024

@shawaj

[email protected]

G285 V1.0 with 2GB RAM

Ok it looks like it's on i2c-2 then.

For working out the slot can you try:

wget https://github.com/helium/gateway-mfr-rs/releases/download/v0.5.4/gateway-mfr-v0.5.4-aarch64-unknown-linux-gnu.tar.gz
tar -xvzf gateway-mfr-v0.5.4-aarch64-unknown-linux-gnu.tar.gz

Then run the following incrementing the slot=0 part from zero up to 15 until the output matches the animal name of your miner

./gateway_mfr --device ecc://i2c-2:96?slot=0 key

Then let me know the slot

@QuentinDowsers
Copy link

QuentinDowsers commented Oct 29, 2024

@shawaj
[root@crankk-6dc8a09d tmp]# ./gateway_mfr --device ecc://i2c-2:96?slot=0 key
{
"key": "11AJKm7V23BzGnHQKbFXeFwsoSeCLHWD4BGxmmfh1dKkS77fBME",
"name": "steep-paisley-bobcat"
}

@shawaj
Copy link
Member

shawaj commented Oct 29, 2024

Cool thanks @QuentinDowsers so it's i2c-2 slot 0 on the bobcat. Perfect.

@StaticShoes
Copy link

StaticShoes commented Nov 26, 2024

@shawaj

root@364de426f2ff:/opt# ./gateway_mfr --device ecc://i2c-2:96?slot=0 key
{
"key": "11xKzWrdQZhRQ8L6ZSq5w7g5KsRn9mX2UKu3eENMGxac2T5ucx6",
"name": "straight-wintergreen-giraffe"
}

followed the steps all the way through but / Overall Status: Awaiting Location Assertion & ECC Detected is false

Here is Diagnostic:
nebra-diag (2).json

Also getting:
helium-miner Error: Config(decode error: keypair uri: could not load ecc keypair in slot 0: Ecc608(Timeout))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants