aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* AA: package/mtd: add option for fixing seama imagesGabor Juhos2012-10-191-3/+3
| | | | | | | | Backport of r33841. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: fix trx_fixupFelix Fietkau2012-07-251-1/+1
| | | | | | | | | | | | | | | | With the BRCM47xx image I have built (Linksys E3000), there are additional writes following the completion of "mtd_replace_jffs2" which invalidate the 'trx_fixup' performed by 'mtd_replace_jffs2'. Moving the 'trx_fixup' to somewhere after all writes have completed fixes the problem. I also noticed that 'erasesize' used to compute 'block_offset' in 'mtd_fixtrx' is used before it is computed by 'mtd_check_open'; moving the call to 'mtd_check_open' up a few lines fixes this. Unlike 'mtd_fixtrx', 'trx_fixup' appears to assume that the TRX header is always at offset 0; which may be the cause of the problem described in Ticket #8960. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mtd: external toolchains usually do not know about MTDREFRESH, so ↵Jo-Philipp Wich2012-01-181-1/+1
| | | | | | search in $(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: linux: mtd: fix MTDREFRESH to an arbitrary high numberJonas Gorski2011-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
* package/mtd: don't append jffs2 data multiple timesGabor Juhos2011-07-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/mtd: make fixtrx available on ar71xx as wellGabor Juhos2011-01-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/mtd: write remaining data after adding file to the jffs2 partitionGabor Juhos2010-09-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mtd: request locked pages when mmap'ing the FIS table, cures ↵Jo-Philipp Wich2010-06-161-1/+1
| | | | | | | | | | random segfaults in table rewrite until http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2d4dc890b5c8fabd818a8586607e6843c4375e62 is added. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/mtd: fix automatic partition size detection in fis_remapGabor Juhos2010-03-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mtd: treat failure to open FIS partition as fatal when a ↵Jo-Philipp Wich2010-01-191-1/+1
| | | | | | fis_layout is given, aborts mtd write if reformat is needed and FIS table not available git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: bump releaseFelix Fietkau2009-09-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: add support for rewriting the fis table layout on redboot based systemsFelix Fietkau2009-09-211-6/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] bump some revisions and update copyrightsAndy Boyett2009-09-101-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up mtd, fix up trx header when integrating jffs2 data on broadcom devicesFelix Fietkau2008-09-231-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix mtd target define for brcm-2.4Felix Fietkau2008-09-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for appending a file to jffs2 during reflash on the flyFelix Fietkau2008-08-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move package description to a separate definition, remove it when ↵Nicolas Thill2007-09-071-3/+5
| | | | | | DESCRIPTION=TITLE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cleanup mtd, implement jffs2write - one step closer to config preserving ↵Felix Fietkau2007-08-201-1/+1
| | | | | | system upgrades git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add reboot fix for mtd (thanks, wbx)Felix Fietkau2006-11-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* replace lots of manual install commands with INSTALL_* variablesFelix Fietkau2006-11-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* implement target profiles in menuconfigFelix Fietkau2006-11-121-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* turn target runtime check of mtd into a compile-time checkFelix Fietkau2006-10-241-1/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* standardize Makefile, change section from base to utils and category to ↵Nicolas Thill2006-09-231-6/+7
| | | | | | "base system" git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more cleanup (make sure to pass TARGET_PATH and not just TARGET_CC)Mike Baker2006-08-041-6/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix CATEGORYNicolas Thill2006-07-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* credit where credit is dueMike Baker2006-06-271-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add INCLUDE_DIR variable for $(TOPDIR)/includeFelix Fietkau2006-06-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system cleanup. move shared include files into $(TOPDIR)/include, move ↵Felix Fietkau2006-06-211-1/+1
| | | | | | lzma, mkfs.* into toolchain/ git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move source file to src/.Nicolas Thill2006-06-181-4/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing BuildPackage lines, convert install-dev: to Build/InstallDevFelix Fietkau2006-05-311-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* replace $(IDIR_*) with $(1)Felix Fietkau2006-05-111-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3759 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Convert packages to new templateMike Baker2006-05-101-22/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add wrt54g(s) image support to mtd (required for webif firmware update rewrite)Felix Fietkau2006-02-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bump mtd version numberFelix Fietkau2005-11-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more cosmetic makefile fixesFelix Fietkau2005-11-071-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sync with whiterussianWaldemar Brodkorb2005-09-141-1/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1923 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert my changes. didn't workWaldemar Brodkorb2005-09-041-5/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* link to specific header, just to be safeWaldemar Brodkorb2005-09-041-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typo in mtd packageFelix Fietkau2005-07-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* everything is a package. so is mtd nowWaldemar Brodkorb2005-07-211-0/+26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1513 3c298f89-4303-0410-b956-a3cf2f4a3e73