Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: sachin on October 20, 2012, 02:03:28 pm

Title: documentation related to script.bin/script.fex
Post by: sachin on October 20, 2012, 02:03:28 pm
does any one have a detailed documentation related to script.bin/script.fex file?? I m having trouble to enable my wifi module during kernel boot.
Title: Re: documentation related to script.bin/script.fex
Post by: sachin on October 20, 2012, 02:33:11 pm
I got it :)

http://linux-sunxi.org/Fex_Guide

thanx
Title: Re: documentation related to script.bin/script.fex
Post by: aquarat on October 21, 2012, 03:07:38 pm
Hi

Thanks for the link. What is the script.fex/script.bin file ? Everything refers to it as a text file, but it isn't (has lots of weird symbols in it). Do you convert a text file with your config to a script.bin file ? How do you do that ?

I'm trying to work out how to change resolution on boot.
Title: Re: documentation related to script.bin/script.fex
Post by: aquarat on October 22, 2012, 12:47:41 am
To answer my own question :

The script.bin file contains parameters in a weird format. You use a tool called bin2fex to convert the script.bin file to a text file like so :

./bin2fex script.bin >> output.fex

and back into a bin file :

./fex2bin output.fex >> script.bin

The tools can be acquired by executing :
git clone https://github.com/linux-sunxi/sunxi-tools.git
and then running "make" in the new directory.

The compile may fail with some missing dependencies (in my case it was libusb) but the bin2fex/etc. apps were still complete.

The CPU is configured for 1008 MHz but I've found references to 1104 MHz. Arbitrary frequencies supported ?