Hi,

> WRT54G3GV2-VF introduced new trx format (v2). Router has 16MB flash, but it
> is splitted into primary and backup parts and only half of flash can be
> used. My changes fixes version ( should be 2) in trx header for
> WRT54G3GV2-VF and version information is used to  calculate crc and length
> of primary image. CFE checks also if image has been sucessfully booted and
> stores this information in image. I've added new parameter to mtd and mtd
> runs on every successfull boot from /etc/init.d/done to mark image as
> stable. I'm not c programmer so please review. Patches tested on
> WRT54G3GV2-VF and WRT54GL (2.4 kernel). With small modifications should
> work on 2.6. This patches could be related to ticket #7420.
thanks for your work and sorry for the late answer, I don't find much
time to work on that device at the moment.

Finally I managed to port some parts of your patch to the 2.6 target as
brcm-2.4 was kicked (YES!).
The flashmap driver should work correctly and only assign 8MB to the
running image.
I circumvented the mtd changes and patched addpattern.c and trx.c to
generate an image with the stable flags already set and nevertheless a
correct CRC sum.

The device should be fully functional beginning from SVN r22019.

/Markus
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to