FEX File

Started by aauer1, January 16, 2013, 11:40:43 AM

Previous topic - Next topic

aauer1

Hi,

another question come up. I read about the FEX config file every here and there. But there is one thing I don't really know: Configures this FEX file the board at runtime or is it used to adjust the kernel parameters at compile time?

So, if it is a runtime configuration (that's what I think it is but I'm not certain), I think the kernel could (almost) stay the same for every build. Only the FEX file has to be modified and uploaded to the board to configure the peripherals (e.g. using another LCD with another resolution and such things).

Cheers,
Andreas

murerten

It is read on boot. So it is runtime configuration for some peripherals. You can change the file on the running android and then reboot to see the changes.

jwischka

One caveat, of course, is that you have to be using a kernel that supports the hardware. In other words, if you enable the LCD in the FEX/BIN file, but the kernel doesn't have LCD support compiled in, then the LCD won't work, even if the FEX/BIN file is directing output to the LCD.