Gabor Juhos
5dba0a237e
kernel/3.1[02]: move MTD root device setup code to mtdcore
...
The current code only allows to automatically set
root device on MTD partitions. Move the code to MTD
core to allow to use it with all MTD devices.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38643
11 years ago
Gabor Juhos
a0d6cd4f49
kernel/3.10: add new Kconfig option for firmware partition split
...
Add a new kernel config option for generic firmware partition
split support and change the uImage split support to depend on
the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to
MTD_SPLIT_FIRMWARE_NAME to make it more generic.
The patch is in preparation for multiple firmware format
support.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38002
11 years ago
Gabor Juhos
4beccfcccb
kernel/3.10: move OpenWrt MTD options into a submenu
...
Separate OpenWrt specific MTD options from the mainline
option by moving those into a new submenu in the kernel
configuration interface.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37997
11 years ago
Gabor Juhos
ec5ee2f269
generic/3.10: remove unused defines from the rootfs split patch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37981
11 years ago
Gabor Juhos
ac28225e24
generic/3.10: reduce number of ifdefs in the rootfs split code
...
Use the config_enabled() macro where it is possible.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37980
11 years ago
Gabor Juhos
2d49e32715
generic/3.10: rename mtd patches
...
- change patch numbers to group the related stuff together,
- add mtd prefix where it is missing,
- use hyphens in the patch names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37974
11 years ago
Felix Fietkau
656d475043
kernel: implement automatic rootfs split from the firmware partition in linux 3.10 (disabled by default)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37283
12 years ago
Felix Fietkau
b95bdc8ab5
kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37282
12 years ago
Jonas Gorski
c0435a971e
kernel: generic: add 3.10-rc1 support
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36663
12 years ago
Hauke Mehrtens
e7e4afbb64
kernel: fix a memory leak in split_rootfs_data()
...
allocate_partition() copies all the content of dpart into a new struct.
SVN-Revision: 36475
12 years ago
Florian Fainelli
8dbed04ec9
kernel: add support for 3.8-rc2
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35055
12 years ago
Imre Kaloz
935ca3f3eb
add 3.7-rc6 support (patch 820 still has to be fixed)
...
SVN-Revision: 34247
12 years ago
Jonas Gorski
0722fd9c63
linux: generic: fix split_squashfs for 3.6
...
_read expects the retlen to be initialized to zero, which the mtd_read
helper does. So fix it by using mtd_read instead of calling _read directly.
SVN-Revision: 34093
12 years ago
Florian Fainelli
7e856e5a97
make all 3.6 patches apply and build
...
SVN-Revision: 33911
12 years ago
Imre Kaloz
949b46d13d
linux 3.6 support (work in progress)
...
SVN-Revision: 33897
12 years ago
Imre Kaloz
440a7fbc3b
refresh patches to -rc3
...
SVN-Revision: 30456
13 years ago
Jonas Gorski
eca9950f63
kernel: add preliminary support for linux 3.3
...
Based on 3.3-rc2
SVN-Revision: 29986
13 years ago
Jonas Gorski
1bc0abb058
kernel: add support for linux 3.2.1
...
SVN-Revision: 29730
13 years ago
Jonas Gorski
d8acb75009
linux: update 3.1 to 3.1.1
...
SVN-Revision: 29007
13 years ago
Jonas Gorski
f53128f79b
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.
SVN-Revision: 28893
13 years ago
Jonas Gorski
cf2070bd5b
linux: generic: add support for 3.1-rc1
...
SVN-Revision: 27940
13 years ago
Imre Kaloz
90bd74dd8b
fixup mtd refresh and co.
...
SVN-Revision: 27491
14 years ago
Hauke Mehrtens
235e331987
linux/generic: Add support for 3.0-rc3
...
Also make linux identify itself properly as 3.0, not 3.0.0.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27191
14 years ago
Hauke Mehrtens
c69f2d8788
kernel: some updates for kernel 2.6.39
...
* add md5sum for kernel
* add some missing config symbols
* add some ssb patches to make compat-wireless compile
Thank you Peter Wagner for the patch
SVN-Revision: 27009
14 years ago
Felix Fietkau
ede6b0d360
rootfs_split: Allow using MTDPART_OFS_APPEND macro for offset of rootfs.
...
Use offset from struct mtd_part instead of struct mtd_partition for defining
the new partitions. This enables the usage of MTDPART_OFS_APPEND macro in
struct mtd_partition.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
SVN-Revision: 26705
14 years ago
Felix Fietkau
3fa43f54a2
kernel: reorganize 2.6.39 patches
...
SVN-Revision: 26691
14 years ago
Felix Fietkau
127e4ebd32
generic: Add support for 2.6.39
...
Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.
SVN-Revision: 26615
14 years ago
Felix Fietkau
eb6cad3261
kernel: refresh 2.6.38 patches for final release
...
SVN-Revision: 26194
14 years ago
Imre Kaloz
1f5d24e562
refresh patches with -rc6
...
SVN-Revision: 25805
14 years ago
Michael Büsch
1147380771
mtd: Fix compile warning
...
SVN-Revision: 25790
14 years ago
Imre Kaloz
c700e57cc7
preliminary 2.6.38 support
...
SVN-Revision: 25057
14 years ago
Alexandros C. Couloumbis
a623456e93
target/linux: sync to kernel 2.6.37-rc8, refresh patches
...
SVN-Revision: 24847
14 years ago
Alexandros C. Couloumbis
297b9756bc
linux/generic: add some missing patches, refresh patches
...
SVN-Revision: 23931
14 years ago
Alexandros C. Couloumbis
75cf9a4cd3
linux/generic: fix creation of rootfs_data
...
SVN-Revision: 23930
14 years ago
Alexandros C. Couloumbis
a0992676b4
linux/generic: sync 2.6.37 patches
...
SVN-Revision: 23927
14 years ago
Alexandros C. Couloumbis
2ad643a943
target/linux: fix a wrong 2.6.37 patch (thank you acinonyx)
...
SVN-Revision: 23889
14 years ago
Alexandros C. Couloumbis
a2d17ea8cf
target/linux: add preliminary 2.6.37 kernel support
...
SVN-Revision: 23828
14 years ago
Felix Fietkau
da1bb88a2b
rename target/linux/generic-2.6 to generic
...
SVN-Revision: 21952
15 years ago
Felix Fietkau
8a7049730f
fix a compile error in block2mtd when compiled as module
...
SVN-Revision: 19709
15 years ago
Imre Kaloz
3d4466cfd8
add preliminary 2.6.32 support
...
SVN-Revision: 18283
15 years ago
Gabor Juhos
017ede680f
kernel: fix automatic rootfs partition selection on 2.6.31
...
SVN-Revision: 18007
15 years ago
Mirko Vogt
6e2a58ac3b
add generic patchset levelled up to 2.6.31-rc6
...
SVN-Revision: 17351
15 years ago
Felix Fietkau
dffad9690f
fix a >2 year old stack overflow in the mtd rootfs split patch which only caused issues on the orion platform on 2.6.30. also merge the squashfs4 fix into the rootfs split patch
...
SVN-Revision: 16944
16 years ago
Imre Kaloz
2d0ccf7f5e
preliminary 2.6.30 support
...
SVN-Revision: 15468
16 years ago
Felix Fietkau
be37a62e6d
add generic 2.6.29 patches and config (squashfs still untested, user space mkfs still missing)
...
SVN-Revision: 15251
16 years ago
Mirko Vogt
ea601ebe33
added directory for generic patches for linux kernel 2.6.29 - added ported patch <065-rootfs_split>
...
SVN-Revision: 14822
16 years ago
Imre Kaloz
f21f51d858
add generic 2.6.28 patches
...
SVN-Revision: 13546
16 years ago
Gabor Juhos
88cda758c3
update to 2.6.25.20, 2.6.26.8, 2.6.27.5 and refresh patches * based on a patch by Hauke Mehrtens * closes #4193
...
SVN-Revision: 13192
16 years ago
Lars-Peter Clausen
ed5768adbf
fix broken patch.
...
SVN-Revision: 13126
16 years ago
Lars-Peter Clausen
3bd685b0ce
Fix broken patch to drivers/mtd/device/block2mtd.c
...
SVN-Revision: 13125
16 years ago