Editing AllWinner A10 Board Configuration Files (script.bin)

AllWinner A10 based devices all have board configuration files in binary format, sometimes refereed to as script.bin, evb.bin, sys_config.{product_nane}.bin store in the FAT partition with the kernel. You may want to decode those binary files to configure your hardware and/or disable/enable peripherals. For the Ubuntu image provided for the Mele A1000 set-top box, the file is called evb.bin and the two other files (mele.bin and sys_config1.mele_mod.bin) are not used. The filename can change since it is configurable in u-boot e.g.: load1=fatload mmc 0 43000000 evb.bin bootcmd=run load1 boot_mmc If you want to decrypt the binary files into text format (fex), you can retrieve bin2fex tool: git clone https://github.com/amery/sunxi-tools Build it: cd sunxi-tools make This will compile both bin2fex (binary to fex text files) and fex2bin (fex files to bin), but the later does not seem to work right now. fex2bin also works now. If you want to decrypt a configuration […]

EmbeddedTS embedded systems design