Commit Graph

44 Commits (6c95162c3415f4376d91f59cc4e85994a164dea8)

Author SHA1 Message Date
Felix Fietkau 3c25d86e28 mtd: avoid adding the kernel dir to includes, use the toolchain headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 17:01:30 +00:00
Hamish Guthrie a81ef914e0 licensing: Add licensing metadata to many packages
Two new variables are introduces to many packages, namely PKG_LICENSE and
PKG_LICENSE_FILES - there may be more than one license applied to packages,
and these are listed in the PKG_LICENSE variable and separated by spaces.
All relevant license files are also added to the PKG_LICENSE_FILES variable,
also space separated.

The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-19 15:34:28 +00:00
Gabor Juhos 2315eab15e package/mtd: add option for fixing seama images
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:22:59 +00:00
Jonas Gorski 37bb5de7d2 package: mtd: use in-kernel bcm63xx image tag header
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
2012-10-08 09:59:47 +00:00
Felix Fietkau 6136a078e9 mtd: fix trx_fixup
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
2012-07-25 17:28:32 +00:00
Jo-Philipp Wich 8b37a9edbd [package] mtd: external toolchains usually do not know about MTDREFRESH, so 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
2012-01-18 19:22:14 +00:00
Jonas Gorski fba8b20978 target: linux: mtd: fix MTDREFRESH to an arbitrary high number
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
2011-11-09 21:16:36 +00:00
Gabor Juhos 033d9397ae package/mtd: don't append jffs2 data multiple times
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 08:38:00 +00:00
Gabor Juhos 71894cf47a package/mtd: make fixtrx available on ar71xx as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-05 19:27:55 +00:00
Gabor Juhos 7c4834a937 package/mtd: write remaining data after adding file to the jffs2 partition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:32 +00:00
Jo-Philipp Wich 11776310f4 [package] mtd: request locked pages when mmap'ing the FIS table, cures 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
2010-06-16 23:34:38 +00:00
Gabor Juhos 15ae56b617 package/mtd: fix automatic partition size detection in fis_remap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 07:16:27 +00:00
Jo-Philipp Wich e4c20607cf [package] mtd: treat failure to open FIS partition as fatal when a 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
2010-01-19 21:28:22 +00:00
Felix Fietkau 4e256b18bd mtd: bump release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-21 11:19:08 +00:00
Felix Fietkau ad3e448f0d mtd: add support for rewriting the fis table layout on redboot based systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-21 09:58:41 +00:00
Andy Boyett fd376111a2 [package] bump some revisions and update copyrights
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 10:07:04 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Felix Fietkau ee40fc79d2 clean up mtd, fix up trx header when integrating jffs2 data on broadcom devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 09:23:58 +00:00
Felix Fietkau d66671abc4 fix mtd target define for brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-22 17:03:06 +00:00
Felix Fietkau 700e5ed980 add support for appending a file to jffs2 during reflash on the fly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-08 22:43:19 +00:00
Nicolas Thill 2180fa92a1 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
Felix Fietkau 0b5b6e1a32 cleanup mtd, implement jffs2write - one step closer to config preserving system upgrades
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-20 16:12:24 +00:00
Felix Fietkau 706bd43332 add reboot fix for mtd (thanks, wbx)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-26 01:03:21 +00:00
Felix Fietkau 5a32593057 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
Felix Fietkau 768b48f380 implement target profiles in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 05:06:56 +00:00
Felix Fietkau a9cd57af9e turn target runtime check of mtd into a compile-time check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 18:11:33 +00:00
Nicolas Thill 14a7d3fe26 standardize Makefile, change section from base to utils and category to "base system"
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-23 13:45:49 +00:00
Mike Baker ad8fe944b9 more cleanup (make sure to pass TARGET_PATH and not just TARGET_CC)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 05:30:27 +00:00
Nicolas Thill b343254a02 fix CATEGORY
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-27 12:45:13 +00:00
Mike Baker f9e5c1b1d5 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Felix Fietkau 24cf53528f add INCLUDE_DIR variable for $(TOPDIR)/include
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:32:39 +00:00
Felix Fietkau 08cbdbc1b0 build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00
Nicolas Thill 576b3463d3 move source file to src/.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 18:03:31 +00:00
Felix Fietkau 24c7f4cd08 add missing BuildPackage lines, convert install-dev: to Build/InstallDev
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 13:00:11 +00:00
Felix Fietkau b97ca641b4 replace $(IDIR_*) with $(1)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-11 16:00:43 +00:00
Mike Baker 4db966cb5e Convert packages to new template
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-10 19:06:22 +00:00
Felix Fietkau 224d04097f add wrt54g(s) image support to mtd (required for webif firmware update rewrite)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-02-09 03:21:01 +00:00
Felix Fietkau dd48108ccb bump mtd version number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-12 00:25:27 +00:00
Felix Fietkau 9722bc08f1 more cosmetic makefile fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-07 18:12:11 +00:00
Waldemar Brodkorb 704d4d2453 sync with whiterussian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-14 15:30:53 +00:00
Waldemar Brodkorb aa65743a6b revert my changes. didn't work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-04 00:13:34 +00:00
Waldemar Brodkorb ab476c0adc link to specific header, just to be safe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-04 00:03:48 +00:00
Felix Fietkau edaa039957 fix typo in mtd package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-21 11:33:05 +00:00
Waldemar Brodkorb 26410068fa everything is a package. so is mtd now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-21 00:27:08 +00:00