OpenWrt Forum Archive

Topic: how to reflash open WRT images from user space in avila platform

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hai all,
           
           I have been using openwrt-ixp4xx-zImage and openwrt-ixp4xx-squashfs.img for the gateworks avila platform.I have tried manually using the following commands ,was getting some check sum error while using different zimage for updation.How to solve this problem?


1.tftp -r  openwrt-ixp4xx-squashfs.img  -g 10.168.1.32
2.tftp -r  openwrt-ixp4xx-zImage -g 10.168.1.32
3.mtd -e linux write owz linux
4.mtd -e rootfs write ow.img rootfs
5.reboot

redboot>fis load linux
** Warning - checksum failure.  stored: 0xe84eb5de, computed: 0xd7b31a45
RedBoot> exec
Can't execute Linux - invalid entry address
RedBoot>

        Is it possible to use   AP51-Easy Flash Utility for this platform?If its possible how to add up this utility to my existing kernal?
     
        If anybody have any idea pls let me know...

Regards
Rinu

I've ran into the same problem with a different IXP425 platform. The problem is that the mtd command write the image to the named partition but does not update the checksum and length in the Redboot's FIS directory.

Ok...do u have any other solution for this problem?Is easyflash utility is useable for this problem?

Found the problem: the mtd command correctly writes the image to the flash partition. However, it does not modify the partition entry in 'FIS directory'; in particular the crc value is not updated. Your redboot is configured to perform a crc check which fails. The recommended solution is to build redboot with REDBOOT_FIS_CRC_CHECK set to 0.

The discussion might have continued from here.