juhosg
c34b71fa3d
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
jogo
6b08cfb731
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
nbd
a596792a94
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
jow
156a74e724
[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
jogo
4ef5b94744
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
juhosg
01b3fa0465
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
juhosg
a4cf24d38a
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
juhosg
b73df9f67e
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
jow
800c8c564b
[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
juhosg
a24b24783c
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
jow
baab9a6aec
[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
nbd
2d32ced174
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
nbd
3a0a80e129
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
agb
fcf2c28149
[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
nbd
796a9d1091
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
nbd
82cd54f3ea
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
nbd
c7494fd234
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
nbd
201ca503a1
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
nico
c4b73fa154
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
nbd
c52dd373c6
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
nbd
1967751704
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
nbd
a4a6443af1
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
nbd
5be70dfb57
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
nbd
f66fe68a96
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
nico
75c83f8919
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
mbm
001227b780
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
nico
22ac0a5023
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
mbm
02cdebbb91
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
nbd
0b0afa4d81
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
nbd
859e8f7f7d
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
nico
91c63e9822
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
nbd
c1bae219c1
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
nbd
44ba04efe2
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
mbm
2b42215e7a
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
nbd
72c232e257
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
nbd
9a6fba7072
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
nbd
436e81c542
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
wbx
427de2d3a5
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
wbx
2b4469e81e
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
wbx
3da959c768
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
nbd
e8c58d4f50
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
wbx
ebb3aa63da
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