Welcome, Guest

Author Topic: documentation related to script.bin/script.fex  (Read 9713 times)

sachin

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
documentation related to script.bin/script.fex
« 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.

sachin

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: documentation related to script.bin/script.fex
« Reply #1 on: October 20, 2012, 02:33:11 PM »

aquarat

  • Newbie
  • *
  • Posts: 44
  • Karma: +1/-0
Re: documentation related to script.bin/script.fex
« Reply #2 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.
« Last Edit: October 21, 2012, 03:10:07 PM by aquarat »

aquarat

  • Newbie
  • *
  • Posts: 44
  • Karma: +1/-0
Re: documentation related to script.bin/script.fex
« Reply #3 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 ?