1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 08:14:59 +02:00
Commit Graph

70 Commits

Author SHA1 Message Date
nbd
a7cb17cea9 Finally fix the pesky x86-2.6 block2mtd related crash (#1058)
When erasing blocks, block2mtd checks the block on the physical disk
to see if everything's filled with 0xff. When grabbing a page from the page
cache, it initializes the limit as <start address> + PAGE_SIZE.
Turns out that the pointer to the status page is (unsigned long *), and
thus it adds (PAGE_SIZE * 4).
This would never have been caught, if it wasn't for the unlikely event
that block2mtd catches the *last* page available in the system ram and
thus tries to scan 4 memory pages from there.
The absolutely trivial fix is to do a double cast (cast to (u8 *), add
PAGE_SIZE, then cast to (unsigned long *))

... and there was much rejoicing


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-18 13:52:14 +00:00
nbd
0d64ffb3e3 add fix for kernel headers to allow offsetof access from user space
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-14 02:42:08 +00:00
nbd
3f05dd35b2 move tlb change for mips 4KC to generic patches (required for most mips targets)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-13 00:55:11 +00:00
nbd
b89ba4c713 port [6229] to kamikaze
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-08 01:25:18 +00:00
nbd
0634ad3b28 add extra netfilter xt stuff to config-template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-04 21:15:46 +00:00
nbd
a77c31b1e1 disable block2mtd page readahead (patch from #1058)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-01 21:35:25 +00:00
nbd
78edbe6175 forward port missing parts of the mtd permission change in whiterussian (and add it to linux 2.6 as well)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-27 19:22:15 +00:00
florian
a13fd170d4 Add chaostable from #1187, also enable netfilter modules for ixp4xx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 23:55:22 +00:00
kaloz
8b75420771 fix kernel compile on real operating systems :P (closes #1150)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-05 19:47:31 +00:00
florian
9088c43802 Add an OSX specific patch to make the kernel be compiled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-05 15:29:54 +00:00
nbd
6d52fd57a3 reorder netfilter patches, update layer7 kernel to latest version, should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-01 04:42:50 +00:00
nbd
f5b0956604 add compatibility patch for d80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-30 17:52:58 +00:00
florian
b53dfbf24e Replace inode.u.generic_ip with inode.i_private
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-18 21:57:24 +00:00
rwhitby
c4f52d9cbc Renamed 050-* to comply with patch naming convention.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-17 12:28:46 +00:00
rwhitby
d9b96df705 Replaced non-working (on NAS100d) redboot byteswap partition truncate patch with the one that has been tested on NSLU2, NAS100d, Loft, etc., accepted by linux-mtd, and should be in 2.6.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-17 03:05:52 +00:00
nbd
c92885c466 Upgrade to Linux 2.6.19
- Includes large parts of the patch from #1021 by dpalffy
- Includes RB532 NAND driver changes by n0-1



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 16:41:33 +00:00
nbd
1e0a5cc251 fix uclibc compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-09 10:38:11 +00:00
nbd
dcf6bd1f3a more compile fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 22:02:44 +00:00
nbd
4cc2001e1b fix up include/linux/types.h for user space stuff (patch from debian), fixes #1008
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 15:58:15 +00:00
mbm
9e0a57b449 move target/image/platform to target/linux/platform/image
platform directories are now self contained


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-28 20:14:41 +00:00
nbd
e8d3ab87c6 mini_fo fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 15:58:58 +00:00
nbd
4e778f2d1d add mini_fo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-17 02:50:09 +00:00
kaloz
7fc64c0d1f add redboot parsing and rtl8169 fixes, enable r8169 and add the free ixp4xx ethernet driver - the later still needs fixes and testing for the gateway 7001
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-27 12:32:10 +00:00
nbd
944dc84100 add fix for samsung flash chips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 18:05:05 +00:00
nico
e5aec00434 add missing <asm/segment.h>, fix mini_fo and openswan build on ppc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-18 14:16:17 +00:00
nbd
56a341a5b9 pppoe: use the interface mtu as upper limit for ppp packet size + header (based on a patch by Dirk Nehring)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 12:28:30 +00:00
nbd
a963f60b9b add a fix for the block2mtd init
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-08 15:43:13 +00:00
kaloz
3f494f8d22 add basic support for the Magicbox boards
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-25 21:53:54 +00:00
mbm
39cbb5a9da update devfs patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-25 18:23:35 +00:00
florian
3c4dec1c52 Add ROUTE target for netfilter, closes #595
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-22 10:07:55 +00:00
groz
86c3fa5f01 Add devpts mounts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-20 05:32:43 +00:00
groz
b2afe21618 Update init to use /etc/banner for presence test, remove postinit
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-18 22:37:40 +00:00
groz
3965ba8cd5 File I forgot
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-18 19:36:22 +00:00
groz
b694d99910 Flesh out early userspace for initramfs to allow booting from media
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-18 12:40:47 +00:00
groz
0afe2603ce Start adding uml target
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-20 18:42:12 +00:00
nbd
e325df1263 fix the jffs2 eof detect patch for linux 2.6 (unlocking required for erasing blocks)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 19:51:50 +00:00
nbd
94b9909653 move jffs2 end-of-filesystem detection to the generic 2.6 patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 19:57:41 +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
mbm
9cff4857fc annoying initrd bug introduced by 2.6.17
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-20 18:57:30 +00:00
mbm
045631507b reintroduce the -ffreestanding to avoid gcc inline errors
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-19 22:28:58 +00:00
kaloz
8014456863 fix the multiple gateway patch, too
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 15:15:19 +00:00
kaloz
d1d400f1ad upgrade to 2.6.17, probably break some stuff temporary
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 14:32:57 +00:00
nbd
83df651a86 remove old junk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-15 17:22:17 +00:00
nbd
9f1c460264 make ramdisk support generic, some cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-07 23:59:04 +00:00
nbd
41fdecb111 move mips boot patch to generic-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-07 23:46:57 +00:00
nbd
be8ad0190d resync with kamikaze
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-30 19:38:38 +00:00
florian
0b11c9308c Add SIP connection tracking helpers.
Update 2.6 kernel configuration to build SIP connection tracking helper
Add informations in menuconfig


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-12 16:15:41 +00:00
florian
4caf7955fe Add multiple default gateways patch. No need to change the kernel configuration. Builds fine. Close #460 for the kamikaze part
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-11 09:41:06 +00:00
nbd
886fb49a04 fix the xt/ipt module path issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-02 21:38:15 +00:00
nbd
9ae6442d6a update ipp2p to 0.8.1rc1, add it to 2.6 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-23 14:40:54 +00:00