# Balena not booting on Intel Edison

**URL:** <https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773>\
**Category:** Product support\
**Created:** [December 19, 2018, 10:39pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773 "2018-12-19T22:39:33Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyanpablo](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cyanpablo](https://forums.balena.io/u/cyanpablo)\
**Post date:** [December 19, 2018, 10:39pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/1 "2018-12-19T22:39:33Z")

</div>

I just flashed balena-cloud-xxxxxx-intel-edison-2.15.1+rev1-v7.16.6 to my intel Edison.  
It doesn’t boot. From console this is all I can read:  
Error reading from serial device  
\*\* Bad device :7 0x100000 \*\*  
Error: Invalid Boot Flag (found 0xffef, expected 0xaa55)

## Kernel loading failed …

zboot - Boot bzImage

Usage:  
zboot [addr] [size] [initrd addr] [initrd size]  
addr - The optional starting address of the bzimage.  
If not set it defaults to the environment  
variable “fileaddr”.  
size - The optional size of the bzimage. Defaults to  
zero.  
initrd addr - The address of the initrd image to use, if any.  
initrd size - The size of the initrd image to use, if any.

Unknown boot mode: boot  
Saving Environment to MMC…  
Writing to MMC(0)… done  
Resetting to default boot mode and reboot…  
resetting …

* * *

PSH KERNEL VERSION: b0182929  
WR: 20104000

* * *

SCU IPC: 0x800000d0 0xfffce92c

PSH miaHOB version: TNG.B0.VVBD.0000000c

microkernel built 10:14:01 Jan 13 2015

\*\*\*\*\*\*\* PSH loader \*\*\*\*\*\*\*  
PCM page cache size = 192 KB  
Cache Constraint = 0 Pages  
Arming IPC driver …  
Adding page store pool …  
PagestoreAddr(IMR Start Address) = 0x04899000  
pageStoreSize(IMR Size) = 0x00080000

\*\*\* Ready to receive application \*\*\*

U-Boot 2015.10 (Jul 25 2018 - 15:38:47 +0000)

CPU: x86\_64, vendor Intel, device 406a8h  
Watchdog enabled  
DRAM: 980.6 MiB  
MMC: tangier\_sdhci: 0, tangier\_sdhci: 1  
Using default environment

In: serial  
Out: serial  
Err: serial  
Net: Net Initialization Skipped  
No ethernet found.  
Hit any key to stop autoboot: 0  
Target:blank  
Partitioning already done…  
Flashing already done…  
Probing DFU…  
Saving Environment to MMC…  
Writing to redundant MMC(0)… done  
\*\* Bad device :7 0x100000 \*\*  
Error: Invalid Boot Flag (found 0xffef, expected 0xaa55)

## Kernel loading failed …

zboot - Boot bzImage

Usage:  
zboot [addr] [size] [initrd addr] [initrd size]  
addr - The optional starting address of the bzimage.  
If not set it defaults to the environment  
variable “fileaddr”.  
size - The optional size of the bzimage. Defaults to  
zero.  
initrd addr - The address of the initrd image to use, if any.  
initrd size - The size of the initrd image to use, if any.

Unknown boot mode: boot  
Saving Environment to MMC…  
Writing to MMC(0)… done  
Resetting to default boot mode and reboot…  
resetting …

* * *

PSH KERNEL VERSION: b0182929  
WR: 20104000

* * *

SCU IPC: 0x800000d0 0xfffce92c

PSH miaHOB version: TNG.B0.VVBD.0000000c

microkernel built 10:14:01 Jan 13 2015

\*\*\*\*\*\*\* PSH loader \*\*\*\*\*\*\*  
PCM page cache size = 192 KB  
Cache Constraint = 0 Pages  
Arming IPC driver …  
Adding page store pool …  
PagestoreAddr(IMR Start Address) = 0x04899000  
pageStoreSize(IMR Size) = 0x00080000

\*\*\* Ready to receive application \*\*\*

U-Boot 2015.10 (Jul 25 2018 - 15:38:47 +0000)  
…  
…  
…

---

<div class="post-metadata">

**Author:** ![cyanpablo](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cyanpablo](https://forums.balena.io/u/cyanpablo)\
**Post date:** [December 20, 2018, 1:39am UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/4 "2018-12-20T01:39:20Z")

</div>

Solved flashing with Intel’s Flash Tool.  
The script has a bug

---

<div class="post-metadata">

**Author:** ![aifreedom](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/aifreedom/32/3453_2.png) [@aifreedom](https://forums.balena.io/u/aifreedom)\
**Post date:** [April 10, 2020, 9:20am UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/7 "2020-04-10T09:20:33Z")

</div>

I got the same error and I can’t figure out how to flash with Intel’s Flash Tool. The device only shows up for a few secends in the flash tool and becomes disconnected.

Can we fix the script so that depencency on the flash tool is not needed?

---

<div class="post-metadata">

**Author:** ![aifreedom](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/aifreedom/32/3453_2.png) [@aifreedom](https://forums.balena.io/u/aifreedom)\
**Post date:** [April 10, 2020, 9:38am UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/8 "2020-04-10T09:38:42Z")

</div>

I managed to use Intel’s flash tool to flash the device but it still doesn’t work. Can we get someone from Balena to take a look?

Thanks!

---

<div class="post-metadata">

**Author:** ![anujdeshpande](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/anujdeshpande/32/3155_2.png) [@anujdeshpande](https://forums.balena.io/u/anujdeshpande)\
**Post date:** [April 10, 2020, 10:17am UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/10 "2020-04-10T10:17:30Z")

</div>

Hi  
Can you confirm that you got the 100% done progress bar in the flash tool? If possible, can you also share the logs that you can see in the Flash Tool?

Also, do check our [docs](https://www.balena.io/docs/learn/getting-started/intel-edison/nodejs/) for some common issues. I think the below part is relevant here -

> Once your Edison has reached 100% on the progress bar, the flashing process has completed, but the device still needs to reboot. Let your Edison sit for about 2 minutes.

---

<div class="post-metadata">

**Author:** ![aifreedom](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/aifreedom/32/3453_2.png) [@aifreedom](https://forums.balena.io/u/aifreedom)\
**Post date:** [April 10, 2020, 9:49pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/12 "2020-04-10T21:49:35Z")

</div>

[https://gist.github.com/aifreedom/223acca21ff1840ae4e751700c0db511](https://gist.github.com/aifreedom/223acca21ff1840ae4e751700c0db511) is the flash.log from the flashall.bat. I think I’ve waited long enough using the flash tool. But again, I’m not sure why the device only shows up temporarily when it is starting. It seems that after the kernel is loaded, the device appears disconnected in the tool.

 ![image](https://global.discourse-cdn.com/balena/original/2X/7/73afc5fb749f42e8644546fb3e1c3c2c83462df2.png)

I’m also sure that the hardware is working. Below shows that if I can login in as root if I flash Intel’s Yocto Poky Linux.

 ![image](https://global.discourse-cdn.com/balena/original/2X/b/bb9e7136f6238c405586516d7f1e58e6d7b20357.png)

The error message I got from the serial port of Edison is the same as @cyanpablo.

```
**Bad device :7 0x100000**
Error: Invalid Boot Flag (found 0xffef, expected 0xaa55)
```

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [April 10, 2020, 9:57pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/13 "2020-04-10T21:57:27Z")

</div>

Hi @aifreedom I think I have an edison lying around here, I will try reproduce my side and see if I can get it working. One thing to note is that since Intel has completely discontinued the Edison and doesn’t support much of its software anymore, its becoming harder for balena to justify maintaining and supporting this device type. Which OS version have you tested to flash, have you tested any of the older ones?

---

<div class="post-metadata">

**Author:** ![aifreedom](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/aifreedom/32/3453_2.png) [@aifreedom](https://forums.balena.io/u/aifreedom)\
**Post date:** [April 10, 2020, 10:04pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/14 "2020-04-10T22:04:02Z")

</div>

Yes, I get the idea that it’s discontinued by Intel in 2017. I got this board from a raffle on [Hackster.io](http://Hackster.io). And just want to see if I can make use of the board to do something cool. I appreciate your effort and time trying to fix the issue. Totally understandable if Balena decides to stop supporting it too.

I was flashing the latest OS version 2.31.5+rev1 as it was “recommended” in the “Add new device” flow. Will try to flash the oldest in the list 2.15.1+rev1 and see if that works.

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [April 10, 2020, 10:04pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/15 "2020-04-10T22:04:33Z")

</div>

Oh no, the intel flash tool for MacOS link is broken and the installer doesn’t seem to exist, might need to try find an ubuntu machine to try run this from :?

---

<div class="post-metadata">

**Author:** ![aifreedom](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/aifreedom/32/3453_2.png) [@aifreedom](https://forums.balena.io/u/aifreedom)\
**Post date:** [April 10, 2020, 10:26pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/16 "2020-04-10T22:26:18Z")

</div>

I downloaded from this github project [https://github.com/projectceladon/tools](https://github.com/projectceladon/tools)

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [April 10, 2020, 10:29pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/17 "2020-04-10T22:29:32Z")

</div>

I am currently flashing it from an Ubuntu 19.10 laptop with `dfu-util` 0.9 and it seems to be working correctly, but will know for sure in about 10 minutes, so one workaround might be to flash it using a virtual machine running ubuntu, but I will be able to say for sure in a few.

---

<div class="post-metadata">

**Author:** ![aifreedom](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/aifreedom/32/3453_2.png) [@aifreedom](https://forums.balena.io/u/aifreedom)\
**Post date:** [April 10, 2020, 10:32pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/18 "2020-04-10T22:32:54Z")

</div>

Flashing using `dfu-util` and the bat included in the zip on Windows 10 seems to succeed for me without a problem. Not sure if the issue is from the flashing because I can flash the official image in a similar way without problem.

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [April 10, 2020, 10:36pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/19 "2020-04-10T22:36:37Z")

</div>

okay, so just provisioned a balenaOS 2.31.5+rev1 “development” version on my edison and it popped up in my dashboard correctly, so the dfu-util flash script for linux definitely is working correctly. Did you flash a `development` image? if you did, you should be able to connect up a serial cable to your board on the `console` micro usb and see the boot logs, that would tell us if the flash is working correctly and if the perhaps is another issue, it could be that you are trying to connect to a 5Ghz network and the edison only supports 2.4GHz or some other wifi related issue

---

<div class="post-metadata">

**Author:** ![aifreedom](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/aifreedom/32/3453_2.png) [@aifreedom](https://forums.balena.io/u/aifreedom)\
**Post date:** [April 10, 2020, 10:44pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/20 "2020-04-10T22:44:02Z")

</div>

I flashed the development image. The boot logs I got is almost identical to what @cyanpablo posted above that it complains about invalid boot flag and kernel loading failed. It has failed before trying to connect to the internet.

Let me try to flash from Linux or maybe install `dfu-util` on Mac.

@shaunmulligan thank you for looking into it!

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [April 10, 2020, 10:55pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/21 "2020-04-10T22:55:28Z")

</div>

no problem, let us know if it works correctly from Linux or mac. Its really a pity Intel stopped working on the edison, its really quite a great little device.

---

<div class="post-metadata">

**Author:** ![aifreedom](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/aifreedom/32/3453_2.png) [@aifreedom](https://forums.balena.io/u/aifreedom)\
**Post date:** [April 10, 2020, 11:06pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/23 "2020-04-10T23:06:26Z")

</div>

Flashed it on Mac with `dfu-util` installed from Homebrew and it worked!

You probably can give users a warning message on the UI that the flashall.bat doesn’t work in Windows 10 and it’s recommended to flash in Mac and Linux.

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [April 10, 2020, 11:17pm UTC](https://forums.balena.io/t/balena-not-booting-on-intel-edison/4773/24 "2020-04-10T23:17:51Z")

</div>

Awesome! thanks for letting us know. I have already pinged the docs team to help clean up the edison docs a bit and set expectations a bit, so people don’t have to hit this again. thanks for helping us work it out!
