summaryrefslogtreecommitdiffstats
path: root/package/mtd/src/imagetag.c
Commit message (Collapse)AuthorAgeFilesLines
* target: linux: mtd: fix MTDREFRESH to an arbitrary high numberjogo2011-11-091-1/+1
| | | | | | | | | To make the ioctl number "stable", use an arbitrary high number to prevent conflicts with new mtd ioctls that would push MTDREFRESH's number. Also make mtd use the in-kernel mtd headers. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Added OpenWRT-specific field to imagetag so that we can record the real root ↵cshore2010-12-261-3/+3
| | | | | | | | length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size. Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: Added trx_fixup for brcm63xx imagetag, and made references to fix_trx ↵cshore2010-12-261-0/+71
| | | | | | | | use the weak reference rather than the brcm47xx ifdef. This fixes a bug in which sysupgrade failed due to changing bad CRC on reboot. Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: Added fixtrx for brcm63xx imagetag. This allows brcm63xx boards which ↵cshore2010-12-261-0/+244
experience a CRC on second boot due to the JFFS2 creation / DEADC0DE deletion to work correctly when mtd fixtrx is run on first boot Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24835 3c298f89-4303-0410-b956-a3cf2f4a3e73