Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9873 Discussions

Update firmware without breakout board

TNogu2
Beginner
1,008 Views

Hi,

In my final deployment the Edison board will be integrated in a PCB with a couple other MCUs. They will interface via, mostly, I2C.

How can i update the firmware in this setup? Note that i can use any of the other MCUs to access the Edision pins.

Thanks

0 Kudos
1 Solution
FerryT
Valued Contributor I
142 Views

I think this depends a bit on what you want. The 'firmware' actually consists of separate layers: u-boot, kernel and rootfs. These are all files on partitions, so as long as the edison has booted you can update these by copying the files you need to update, via f.i. wifi and ssh.

Or if you have packages (.deb, .ipk, .rpm) you can update by copying the package and running the appropriate installer (dpkg -i *.deb).

If the Edison will not boot, or you want to flash a complete image, and u-boot still works, you can flash using dfu (via the usb port). This can be done with the flashall script.

If you broke u-boot itself, you need xfstk (which is called from flashall --recovery). This requires acces to the usb port as well.

If you don't need to update the kernel or u-boot, you can have the rootfs on a sd card. And then update by placing a new sd card.

You might find some useful details here: https://github.com/htot/meta-intel-edison/wiki/Build-and-flash-U-Boot-separately Build and flash U Boot separately · htot/meta-intel-edison Wiki · GitHub

It is probably possible to flash using jtag, and it would be nice to know how. Anybody?

View solution in original post

2 Replies
FerryT
Valued Contributor I
143 Views

I think this depends a bit on what you want. The 'firmware' actually consists of separate layers: u-boot, kernel and rootfs. These are all files on partitions, so as long as the edison has booted you can update these by copying the files you need to update, via f.i. wifi and ssh.

Or if you have packages (.deb, .ipk, .rpm) you can update by copying the package and running the appropriate installer (dpkg -i *.deb).

If the Edison will not boot, or you want to flash a complete image, and u-boot still works, you can flash using dfu (via the usb port). This can be done with the flashall script.

If you broke u-boot itself, you need xfstk (which is called from flashall --recovery). This requires acces to the usb port as well.

If you don't need to update the kernel or u-boot, you can have the rootfs on a sd card. And then update by placing a new sd card.

You might find some useful details here: https://github.com/htot/meta-intel-edison/wiki/Build-and-flash-U-Boot-separately Build and flash U Boot separately · htot/meta-intel-edison Wiki · GitHub

It is probably possible to flash using jtag, and it would be nice to know how. Anybody?

TNogu2
Beginner
142 Views

Hi,

Thanks for the reply, very helpful.

Cheers

Reply