edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

How to change IFWI of Edison? #118

Closed shawnhsoia97 closed 3 years ago

shawnhsoia97 commented 3 years ago

Hello , I have a question. I need to change IFWI of Edison, because the some GPIO default is turn on or blink when plug power(exp: GP12 is blink and GP13 is turn on), I think caused by firmware, and I want to clean this default config.

As far as I know that maybe can replace intel_mcu.bin in /lib/firmware to change firmware, so first I think need to create new Binary Disk Image File.

I found some a way that is create one .bin file by Eclipse, but I don't understand how to use this and not sure this way is correct . I try to create new project by Eclipse, but which crashed in target connection.

I don't know this idea is correct. Does anyone have any idea? Thank !

htot commented 3 years ago

I think you are confusing stuff:

shawnhsoia97 commented 3 years ago

Thank for your reply. But I am not referring to LED DS2 ans GP40, I mean to GP12 and GP13 that is connect to LED by the my self designed board. BTW I have removed leds.asl and arduino.asl, because I am not use Edison on Arduino board.

As I mentioned earlier about that the GP13 will turn on and CP12 will blink twice at bring up the CPU (before U-Boot).I don't want this.

I am not sure which one correctly which either IFWI or intel_mcu.bin. The both is compiled to MCU(quark) in Edison ,right? AFAIK this issue is MCU caused.

Also maybe you know how to solve by change either IFWI or intel_mcu.bin?

htot commented 3 years ago

For your hardware, I can't say.

IFWI files are here: https://github.com/edison-fw/meta-intel-edison/tree/master/utils/flash/ifwi/edison MCU file here: https://github.com/edison-fw/meta-intel-edison/tree/master/meta-intel-edison-bsp/recipes-support/edison-mcu/files In both cases we don't have the sources, so you would need to reverse engineer.

shawnhsoia97 commented 3 years ago

Okay thank your help.

BTW there is really little information about these. I will keep find the way. Thank!