OpenIPC Wiki

Table of Content

For XM vendor boards with XM510 SoC ONLY!!!

Initial device firmware update

setenv bootargs 'mem=18M console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs init=/init mtdparts=xm_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data)'
setenv bootcmd 'sf probe 0; sf read 0x80007fc0 0x50000 0x200000; bootm 0x80007fc0'
setenv uk1 'mw.b 0x80007fc0 ff 1000000; tftp 0x80007fc0 uImage.${soc}'
setenv uk2 'sf probe 0; sf erase 0x50000 0x200000; sf write 0x80007fc0 0x50000 ${filesize}'
setenv uk 'run uk1 ; run uk2'
setenv ur1 'mw.b 0x80007fc0 ff 1000000; tftp 0x80007fc0 rootfs.squashfs.${soc}'
setenv ur2 'sf probe 0; sf erase 0x250000 0x500000; sf write 0x80007fc 0x250000 ${filesize}'
setenv ur 'run ur1 ; run ur2'

setenv soc xm510                 # Your SoC. xm510.
setenv osmem 18M                 # 18M for xm510.
setenv totalmem 32M              # 32M for xm510.
setenv ipaddr       # Your camera IP address.
setenv serverip    # Your TFTP server IP address.

run uk; run ur; reset            # Flash kernel, rootfs and reboot device

Follow-up quick updates

run uk; run ur; reset


After you have finished flashing new firmware, please run firstboot command to format jffs2 partition used to store settings.

Known issues