superdavex / Sony-XAV-AX100

112 stars 8 forks source link

Sony-XAV-AX100

Cortex-A9 ARMv7 Processor
STM8S207CB MCU
U-Boot 2014.04
Linux 3.4.5
Firmware 1.02.06.00
2? USB ports
5 UARTS


Partitions:

nand_headerblockrom0:128KiB
xboot1blockrom1128KiB
uboot1blockrom2:1792KiB
uboot2blockrom3:2816KiB
envblockrom4:512KiB
env_redundblockrom5:512KiB
ecosblockrom6:8192KiB
kernelblockrom7:6144KiB
rootfsblockrom8:5760KiB
spsdkblockrom9:54144KiB
spappblockrom10:53248KiB
nvmblockrom11:51200KiB
pqblockrom12:2048KiB
logoblockrom13:2048KiB
tconblockrom14:384KiB
iop_carblockrom15:2048KiB
runtime_cfgblockrom16:1024KiB
viblockrom17:384KiB
isp_logoblockrom18:5120KiB
vendordatablockrom19:256KiB
pat_logoblockrom20:13312KiB
version_infoblockrom21:512KiB
vd_restoreblockrom22:256KiB
userdatablockrom23:50176KiB
The firmware from Sony is encrypted, but, the firmware loader allows non encrypted images. The decryption keys are stored in enviroment variables during the update so they can be retreieved and sonys firmware can be decrypted. The serial console UART 0 and USB 0 are on second board behind the LCD. The board is clearly labled and easy to solder. At startup U-Boot loads runtime_cfg and the variable gpio_LECD_en controls whether the console is enabled after the intial post message.

The built in firmware updater requires the mcu update binary (st16mcu.bin) be present and it's versions the same as the update in order to load the update. There is a checksum on both files, though the overall checksum in the pack file (CUST_PACK.BIN) is not checked. ISP update can also be entered by settings the first byte of mtdblock19 to 0x70. The data images are standard script images.

Sony open source code is avilable at http://oss.sony.net/Products/Linux/Audio/XAV-AX100.html