summaryrefslogtreecommitdiffstats
path: root/package/mtd/src/imagetag.c
Commit message (Collapse)AuthorAgeFilesLines
* linux: export bcm963xx_tag.h to userspacejogo2012-11-061-1/+1
| | | | | | | | | | | | Export bcm963xx_tag.h so mtd can use it without using kernel includes. Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> [jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header from original location, refresh patches, use a more matching patch number, port to 3.6] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: mtd: use in-kernel bcm63xx image tag headerjogo2012-10-081-28/+29
| | | | | | | Use the image tag header from the kernel instead of an external header file. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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