Weedy <weedy2887 <at> gmail.com> writes: Weedy,
> > I have been able to boot images fine off the network but for the life of > me can't get flashed images to work. The gateworks wiki states: > > Laguna> erase 0x10060000 0x10ffffff > Laguna> tftpboot 0x800000 laguna/openwrt-cns3xxx-uImage > Laguna> cp.b 0x800000 0x10060000 $(filesize) > Laguna> tftpboot 0x800000 laguna/openwrt-cns3xxx-squashfs.img > Laguna> cp.b 0x800000 0x10260000 $(filesize) > > Now ignoring the fact that 0x10260000 doesn't work for me so I picked > the next erase block I found in flinfo, it still fails to boot after crc > check. What exactly about these commands does not work for you? These work fine on my gw2388-4. I'm wondering if you have an issue with your board (flash). > > Hit any key to stop autoboot: 0 > ## Booting kernel from Legacy Image at 10060000 ... > Image Name: Linux-2.6.39.2 > Created: 2012-02-21 8:48:58 UTC > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 3778760 Bytes = 3.6 MB > Load Address: 20008000 > Entry Point: 20008000 > Verifying Checksum ... Bad Data CRC > ERROR: can't get kernel image! > Laguna > your kernel image failed the checksum in its header - again, I wonder if there is something wrong with your board. > > The gateworks patches apply almost completely to trunk, is it possible > to get a target made for the GW2388-x? > > target/linux/cns3xxx/ changes: > http://openwrt.pastebin.ca/2121145 > entire targets patch: > http://svn.gateworks.com/bsp/generic/trunk/targets.patch > all patches: > http://svn.gateworks.com/bsp/generic/trunk/ > The Gateworks BSP uses OpenWRT but can't continually stay up to date with OpenWRT trunk as its a continually moving target. The Gateworks instructions at http://trac.gateworks.com/wiki/build_openwrt explain this and detail what OpenWRT revision the patches are compatible with with step-by-step isntructions to build a firmware image. There is also a pre-built images available here: http://svn.gateworks.com/laguna/trunk/images/gw2388-x.bin Its not difficult to use the Gateworks patches against OpenWRT trunk if needed (with a little massaging), but Gateworks will be updating their patches likely in the next couple of weeks if you want to wait for that. I suggest you send an e-mail to [email protected] with your issue, and be sure to give them the serial number of your board and a log of serial console that shows the bootloader messages from powerup until you encounter your error. Thanks, Tim _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
