Items with no label
3335 Discussions

[Intel Euclid] CMOS reset -- Not update, actually reset. Euclid will not boot due to settings in BIOS.

TJoyn
Beginner
5,179 Views

Hi all. I saw that someone asked how to clear nvram/cmos before and was just given the BIOS update file... ( )

That won't work here as I enabled some boot settings in the BIOS and now there's no output on the UART nor on video/HDMI; therefore I *cannot* alter it's filesystem.

My USB keyboard doesn't even turn on, but I do get a green light, it gets really hot, and my USB hub turns on. Standard BIOS halt.

I don't see any buttons, and I don't even see any in scanlime's teardown. I'm at a loss here.

Can someone from Intel tell me how I can reset it or point me in the right direction? @amitmoran maybe?

I really, really don't want to take this thing apart just to clear the CMOS.

I tried to file a customer support ticket, but your website sends broken 302 redirects that include `null` at the end of the domain instead of the URI component (`https://www-ssl.intel.comnull/ https://www-ssl.intel.comnull/ `), so I'm here.

Also, anyone that's used UART on the Euclid -- What output do you see during boot?

(Trying to figure out if it's at all overridable from serial ala uboot somehow and I'm just missing something here.)

Thanks,

Trevor

Message was edited by: Trevor Joynson

0 Kudos
34 Replies
TJoyn
Beginner
991 Views

Thanks for the info. I was asking to see where I could fuzz to break the CRC so it will boot, if I decided to go that route (I didn't, I'm still trying to create an RMA request)

> And please do not change the OS boot options in BIOS, the Euclid device doesnt support Windows, only support ubuntu.

I haven't used windows in many years at this point, but thanks

0 Kudos
TJoyn
Beginner
991 Views

What can we do to get it to be released so we can use our hardware though?

0 Kudos
idata
Employee
991 Views

Hello Trevorj,

 

 

Sorry, it's taken me so long to get back to you. I have been out for the holidays.

 

 

Unfortunately, Intel cannot release the debug card.

 

 

Are you still having problems creating the RMA? If you need help, I can intervene on your behalf.

 

 

Regards,

 

Jesus

 

Intel Customer Support
0 Kudos
tnguy82
Beginner
991 Views

Hi, I have the same problem as described in this post, so I think I should ask here before opening a new discussion.

What I did: I wanted to reinstall Ubuntu on the Euclid (/thread/115192 link), so I tried to use the boot manager to select USB Device and enabled Fast Boot and UEFI Secure Boot (I don't remember exact text on the screen, but those options were disabled).

After saving the settings and reboot, I faced the same issue: no HDMI output, nothing on UART kernel log output, there is green light and USB hub is on.

One thing I noticed: When the green light is on, if I press both buttons on the Euclid, I can get some output on UART:

But when I release the button, nothing happens.

I hope this can shed some light on the problem. Is there something I can try besides RMA the product?

Thank you for your time,

Thien

0 Kudos
idata
Employee
991 Views

Hello NHT,

 

 

We appreciate your patience as we investigate this issue.

 

 

Regards,

 

Jesus G.

 

Intel Customer Support
0 Kudos
idata
Employee
991 Views

Hello NHT,

 

 

Unfortunately, without HDMI output there is no way we can guide you through a process to fix this. It seems that your only option is to RMA.

 

 

If you wish to return your Euclid for a refund, please login to https://click.intel.com/epp https://click.intel.com/ and go to My Account -> My Orders -> Return or Replace Items and select resolution type "Refund". Follow the prompts for required information and click Submit.

 

 

Once the shipment is received by the warehouse a refund/exchange will be requested and processed.

 

 

Regards,

 

Jesus G.

 

Intel Customer Support
0 Kudos
TJoyn
Beginner
991 Views

I could hug you right now, @NHT.

DnX is the base bootloader "image transport" used in the Joule as well.

You can find a deb for the loader binary used for the Joule on my github @ https://github.com/akatrevorjay/intel-joule-bios-flash-linux GitHub - akatrevorjay/intel-joule-bios-flash-linux: Flashing the BIOS on an Intel Joule 570x from Linux (or in the joule firmware tarball.)

Do you mind sharing your wiring setup for a working UART so I can compare it to mine? Without any output, I'm unsure if it's just my cable or my unit, and I'd like to be certain before continuing. Either way, I think you just allowed my unit to work again, provided I can get to the DnX screen as you found.

0 Kudos
tnguy82
Beginner
991 Views

For the UART wiring, I simply followed the instruction /thread/115316 here. I soldered the wires to a DIY connector like http://www.hobbytronics.co.uk/usb-microb-plug-diy this one. The connections are:

  • TX out of USB UART -> D-
  • RX into USB UART -> D+
  • GND of USB UART -> GND
  • Don't connect Vcc.
  • Terminal settings -115200/8/N/1

If you are using external power source for the Euclid, you may see jitter on the terminal. If that happens, switch to battery power for the Euclid.

Next, press the power button on the Euclid; wait until the green LED is on; then press both buttons at the same time.

0 Kudos
TJoyn
Beginner
991 Views

Thank you! I verified my setup works as intended thanks to your finding above!

I rescued my Euclid. I used a 1.8v compatible IC/SPI programmer (TL866II), read, verified the offsets matched, and blindly flashed over the whole thing after making a backup (and verifying it twice!).

@NHT You can do the same, it was actually surprisingly easy to get this thing apart and back together!

0 Kudos
TJoyn
Beginner
991 Views

As an aside, I was completely unable to get a dnx device to even appear, which makes me wonder:

How does the debug card plug into the euclid? I assumed it sat into the battery slot, but from the single picture I have of it, I'm actually a little unsure about that. From what I've read about LPC it's definitely possible to expose a usb port (or pretty much anything) through it. It's pretty amazing what Intel's done with that, imo.

What I can tell you is that it does not appear to be over the usb3 device mode port, unless there's something fishy going on here. I do wonder if it's instead over the [default] host mode port, since usb can swap genders at will? Need to do more digging here, I have no idea at this point.

0 Kudos
MartyG
Honored Contributor III
991 Views

There was a discussion on Euclid debugging last year.

The manuals for the Euclid also highlight a covered test port on the back of Euclid that is labeled for Intel's use only.

0 Kudos
tnguy82
Beginner
991 Views

trevorj Glad to hear that you successfully unbricked your Euclid

Thank you very much for the info. I don't have a TL866II SPI programmer at my disposal but if I could get my hands on one I will surely try this out.

If possible, can you post your setup and general steps to take so that others can follow your method?

0 Kudos
TJoyn
Beginner
991 Views
Reflashing SPI [on an Intel Euclid]

This solves the scenario we ran into above:

* no ability to boot to OS or BIOS setup * no output on UART, except for DnX loader received your request when you depress both buttons on the top at once. See @NHT's post:  * unit does charges normally as well as powers on/green as well as off via extended presses.Requirements

1. TL866II programmer

Any programmer that supports 1.8v logic should work. Previous revisions (ie TL866CS/TL866A) do not.

I would not recommend using one that is not 1.8v compliant unless you are planning on frying your chip.

Price: ~$50 at time of writing

https://tinyurl.com/tl866ii Design/Schematic

http://www.autoelectric.cn/EN/TL866_MAIN.html Manufacturer URI

https://www.amazon.com/Signstek-TL866PLUS-Universal-MiniPro-Programmer/dp/B00K73TSLM/ Amazon

2. SOIC8 clip

This is an 8 pin clip that clips right on top of the [Euclid's] https://www.winbond.com/resource-files/w25q64fw_revd_032513.pdf Winbond 25q64fvsig SPI chip.

It's preferable to get the one with the little riser board on the other end that recreates the socket you're clipping to; without you just have 8 wires to attach vs just plugging this board into the programmer.

Price: ~$5 at time of writing

https://www.amazon.com/SUNKEE-Soic8-Socket-Adpter-Programmer/dp/B00UHZ16XI/ Amazon

How do?1. Take your Euclid apart.

Use https://www.youtube.com/watch?v=0tYpfqi3KbY scanlime's teardown as a guide if you need to: https://www.youtube.com/watch%3Fv%3D0tYpfqi3KbY https://www.youtube.com/watch?v=0tYpfqi3KbY

The only tricky part is that the front "glass"/plastic is just attached with some glue (use a spudger); after that it's just removing screws and being gentle.

2. Attach SOIC clip to SPI chip on the back of the board.

3. Read/dump contents of your chip to a file.

This is your backup.

This step depends on what programmer you have.

flashrom works great if it supports your programmer.

For the TL866II:

There's official closed source binary software from the manufacturer link above if you use windows.

If you use Linux, you'll likely be able to use this soon:

Until then, there are some utilities here as well as a usb dll wrapper to run the original GUI in wine:

This repo is where the schematic from earlier came from; good info here.

3. Read/dump contents of your chip again.

Because SOIC clips are janky.

4. Verify both backups are the same

eg:

$ sh sha1sum backup1.bin backup2.bin

If they're not the same, do it again until you get two that are. This should not take more than 1-2 tries.

5. Write latest Euclid BIOS

Download /servlet/JiveServlet/download/2729-120191-513647-178076/CHTT_IFWI_X64_R_TS00_16_CS170401_SecEnabled_Production.bin.zip Euclid BIOS. Extract it. Write the resulting .bin file to your chip.

6. Verify chip contents against local .bin file

And you're done!

0 Kudos
tnguy82
Beginner
991 Views

Thank you so much for the detailed instruction! Greatly appreciated!

0 Kudos
Reply