Florian Fainelli
9c4f0522a8
Preliminary ADM5120 support, marked as broken
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 17:34:37 +00:00
Eugene Konev
3e1add7fef
Remove initrd code leftovers. Also fixes "Bad page state" on boot
...
(kernel tried to free initramfs twice).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 17:25:06 +00:00
Eugene Konev
e6fa790106
Add forgotten part of vlynq irq setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 16:00:28 +00:00
Eugene Konev
3ac290db65
ar7-2.4 cleanup
...
- Switch to generic init scripts (/sbin/mount_root, /bin/firstboot,
/etc/preinit), failsafe part moved to /etc/preinit.arch.
This should fix #1449 with an added benefit of using mini_fo.
- Switch to generic /etc/config/network.
- ar7 flashmap: change "OpenWrt" to "rootfs_data", move ar7_mtd_cleanup
out of .exit.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 14:18:56 +00:00
Eugene Konev
76430e10b2
Add ar7-2.6 port (marked as broken for now).
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 09:40:51 +00:00
Eugene Konev
32a9d477d5
Make lzma-loader sdram mapping configurable ( #1169 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 09:32:22 +00:00
Hamish Guthrie
c21a30ecaf
Changed pin selections in low-level mmc driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 16:19:09 +00:00
Hamish Guthrie
73efa9d643
Changed kernel configs to enable more packages. Added additional
...
dependencies to mmc module in the modules tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 18:53:35 +00:00
Florian Fainelli
82fa87313b
Fix compilation errors with xt_portscan
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 18:35:48 +00:00
Florian Fainelli
435be9b941
Fix the serial driver with the devfs removal
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 18:33:46 +00:00
Felix Fietkau
823ba94e35
add final fix for brcm47xx-2.6 memory corruption (patch from #1465 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 12:26:33 +00:00
Felix Fietkau
97276e7bf0
Add an 'Image Configuration' menu to menuconfig
...
Packages can export a list of config options with labels and data types
through the metadata. The selected config values will be exported to the
target filesystem in /etc/uci-defaults and applied on the first boot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 03:02:31 +00:00
Felix Fietkau
e0dee0c3c2
enable ext2 by default for rb532 ( fixes #1466 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-15 18:53:00 +00:00
Felix Fietkau
5bcc0a1f18
brcm47xx: add a few nops to keep the cpu happy
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-15 12:07:43 +00:00
Felix Fietkau
9a1beb72da
fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u), nuke the old brcm-2.6 port, close #1312 , #1451
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14 03:37:40 +00:00
Felix Fietkau
a091fb867b
add reboot fix from #1312
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14 01:26:57 +00:00
Felix Fietkau
c380457343
remove screwy network config override from x86-2.6 base-files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-12 19:23:18 +00:00
Imre Kaloz
aec06de3db
add preliminary IOP32x support, mark it broken for now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-11 19:49:50 +00:00
Felix Fietkau
323916e6cb
oops... forgot to make x86-2.6 ext2 images use preinit as well :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-11 00:04:17 +00:00
Hamish Guthrie
d40728c5b0
Added MMC/SD Card module support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-10 16:06:37 +00:00
Mike Baker
4f4432dafa
more devfs related bugs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-09 18:39:34 +00:00
Felix Fietkau
27a95ffa47
fix up the netconfig script after the devfs=>hotplug2 migration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-09 18:20:54 +00:00
Tim Yardley
4251673cdd
split out scsi module support and add ata piix support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-07 15:38:45 +00:00
Hamish Guthrie
2a8052dbbd
Added GPIO driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-07 11:46:24 +00:00
Mike Albon
c0fee3e913
Fix config, set directory block to -1 for redboot.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 23:13:20 +00:00
Hamish Guthrie
8844788800
Add support for LED drivers (clock tick and CPU activity)
...
Removed partition support (done on command line now)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 20:40:41 +00:00
Felix Fietkau
2b35413971
add vga console support for x86-2.6 images ( fixes #1342 , #840 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 19:13:40 +00:00
Hamish Guthrie
4fa953e600
Modified partition table to support jffs2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 10:30:34 +00:00
Hamish Guthrie
c4cd2c6b88
Chaged kernel config so default builds cleanly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 09:15:45 +00:00
Imre Kaloz
ebe219db89
fix squashfs for ixp4xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 00:47:13 +00:00
Felix Fietkau
bc02554571
add missing init=/etc/preinit cmdline parameter
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 00:38:37 +00:00
Felix Fietkau
708a9364d5
add squashfs support for ixp4xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 00:21:30 +00:00
Felix Fietkau
60af950d70
more hotplug2/mdev/devfs related fixups, this time for broadcom
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 23:55:07 +00:00
Felix Fietkau
d26f46fc20
fix a compile error caused by the devfs removal
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 23:34:50 +00:00
Felix Fietkau
295fbf82c4
enable ne2k-pci by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 21:25:25 +00:00
Imre Kaloz
bb94c032de
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 21:17:17 +00:00
Felix Fietkau
3c8e2fcbc0
reorder target profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:43:39 +00:00
Felix Fietkau
ae39d6a370
nuke mdev and replace it with hotplug2 :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
Hamish Guthrie
8457941ace
Added initial support for at91 plaform (HCG)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 17:29:44 +00:00
Imre Kaloz
5a4ec64f5f
upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 23:12:34 +00:00
Felix Fietkau
2d2e83ca1c
fix mdev for broadcom 2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 22:40:28 +00:00
Felix Fietkau
4bfc8a97e2
enable preinit for magicbox
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 22:38:28 +00:00
Felix Fietkau
89a1822438
enable preinit in a few other platforms
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 22:36:45 +00:00
Felix Fietkau
95d20db041
add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 22:32:13 +00:00
Imre Kaloz
faa289d985
R.I.P. devfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:35:01 +00:00
Felix Fietkau
69aa065a6b
replace some hardcoded /dev/mtdblock/* references with calls to find_mtd_part()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 19:22:41 +00:00
Tim Yardley
e5bb7fa66f
make the rest of the structure for the targets that dont have profiles yet
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 01:22:09 +00:00
Hamish Guthrie
517da5f0b4
Deleting the test file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 23:33:12 +00:00
Hamish Guthrie
4745a16462
Test file - please ignore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 23:30:16 +00:00
Tim Yardley
593b560d93
split out profile definitions from Makefiles
...
structure is as follows:
target/linux/<arch>/profiles/<profilename>.mk
These files are included by a blob match in the target Makefile
The files should be labeled based on their profile Name in the definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 23:02:38 +00:00
Tim Yardley
3249931be4
commit profile support for base-files... patches still need to be done
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 18:17:40 +00:00
Felix Fietkau
d60f254616
kernel build cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 17:24:20 +00:00
Felix Fietkau
8f9dcd2502
copy the initramfs kernel to bin/ on x86-2.6 ( fixes #1359 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 17:12:23 +00:00
Felix Fietkau
cc4e5bb27b
enable mini_fo on fonera
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 15:26:57 +00:00
Florian Fainelli
4a9d4647cb
Add a LED driver for MTX-1 boards, yeah baby
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 13:03:50 +00:00
Felix Fietkau
4bc3c21dc2
enable grub images in menuconfig for squashfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 02:46:38 +00:00
Felix Fietkau
76d532a45c
use /etc/preinit on atheros-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:39:14 +00:00
Felix Fietkau
384e5dde8b
add squashfs support for atheros-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:38:07 +00:00
Felix Fietkau
18de319d9d
make squashfs overlay support more generic and integrate it for x86-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:23:36 +00:00
Felix Fietkau
2400c924b3
move mtd rootfs split patch to generic-2.6, disabled for broadcom targets until the flash map driver is updated and tested
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-01 23:52:19 +00:00
Felix Fietkau
1e5e8b3ff4
flash related cleanups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-01 11:54:33 +00:00
Felix Fietkau
556ff80527
mark uml as broken and add some cleanups (not working yet)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 18:25:14 +00:00
Felix Fietkau
07b49e249a
fix a small bug in the config merge/split (fixes buildbot error on ixp4xx)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 13:00:26 +00:00
Florian Fainelli
211093784d
Forgot the patch for CLASSIFY
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 12:05:46 +00:00
Florian Fainelli
1442bbc0d8
Add ipt_CLASSIFY target for 2.4 kernels ( #1338 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 12:04:58 +00:00
Felix Fietkau
cca22f2648
add a patch to revert recent breakage in the intel cfi flash driver ( fixes #1140 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 01:14:42 +00:00
Felix Fietkau
cbf623ce2b
strip double quotes from grub boot options ( fixes #1406 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 01:10:10 +00:00
Felix Fietkau
50bcd2e9ee
update to imq patch version 2.6.19-imq3 - fixes kernel oops from #1397
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 00:53:20 +00:00
Felix Fietkau
fff39d3f63
allow the user to change the rb532 rootfs size in menuconfig ( fixes #1374 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 00:06:37 +00:00
Felix Fietkau
4f62fd89c0
correct wrong CONFIG_PCMCIA defaults (fixes buildbot errors)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 14:36:27 +00:00
Felix Fietkau
93dbc52b0b
use default_subtargets in package/Makefile and target/Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 00:41:53 +00:00
Felix Fietkau
703ca63083
run indent on ar2313 driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 20:06:27 +00:00
Felix Fietkau
2cb1f18c15
clean up a few things in image build makefiles and fix unnecessary grub rebuilds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 18:20:34 +00:00
Felix Fietkau
e719e0c4d9
add optional padding for x86 grub images (useful for running jffs2 images in qemu)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 17:59:23 +00:00
Felix Fietkau
c6d265f356
ignore profiles with custom kernel configs in the image builder itself
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 04:03:35 +00:00
Felix Fietkau
76ba15fe00
disable the image builder in menuconfig for profiles with custom kernel configs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:56:54 +00:00
Felix Fietkau
ec5a3bf963
add missing config files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:44:37 +00:00
Felix Fietkau
800a95817d
Reorganize kernel configs - target/linux/*/config is now a directory.
...
./config/default will replace the old config and config-diff (format is like
config-diff, the full kernel config is no longer kept in the build system)
This commit removes all the kernel config stuff, the next one will add
the replacement - there's no way to do this atomically with svn.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 03:44:15 +00:00
Felix Fietkau
6bf50a5091
rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 02:27:01 +00:00
Felix Fietkau
c8c76ccdaa
add 16MB flash support for ar2315 (who knows...?)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-20 22:44:59 +00:00
Felix Fietkau
b528d42dcc
make rootfs split/detection more generic - patch can be moved to generic-2.6 after testing on other platforms (especially broadcom)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-19 23:28:09 +00:00
Imre Kaloz
6cb8a1d2b6
autodetect flash width - thanks to Kestutis Kupciunas
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-19 22:33:06 +00:00
Imre Kaloz
27b1d1b0f5
use radio0 only on the 5312
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-19 22:22:26 +00:00
Felix Fietkau
3fc2254515
fix ar2315 rootfs mount
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-19 16:48:02 +00:00
Felix Fietkau
660cc6c6cc
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
Felix Fietkau
2b9b7b1272
disable dma offset for now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-17 23:02:49 +00:00
Felix Fietkau
12a23811ec
fix ar2312/2313 mac detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-17 22:22:14 +00:00
Felix Fietkau
cb2af97adf
add e1000 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 19:51:27 +00:00
Felix Fietkau
321f690e74
remove useless newlines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 19:45:26 +00:00
Felix Fietkau
be61365315
make kernel_menuconfig work without target toolchain
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 17:28:22 +00:00
Felix Fietkau
b4f853be18
add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 16:59:44 +00:00
Felix Fietkau
86666298d7
more cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 10:01:59 +00:00
Felix Fietkau
6f56a219b4
remove squashfs repartitioning hacks from spiflash driver - will be ported to redboot parsing code later
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 09:57:24 +00:00
Felix Fietkau
b7e5e78ae6
major cleanup of the ar531x code, improved hardware detection and support for multiple ethernet interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 09:23:15 +00:00
Felix Fietkau
2e2937a8e3
some ar531x cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-15 21:52:13 +00:00
Felix Fietkau
74c84e5794
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
Felix Fietkau
e8e6c9ecaf
make the uml kernel config compatible with both 32 bit and 64 bit systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-13 15:20:45 +00:00
Felix Fietkau
e39d517493
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
Felix Fietkau
6bc4d98ec7
add kernel branch emulation fix from #1345
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-12 22:18:17 +00:00
Felix Fietkau
0da2d96c84
clean up uml-2.6 config, fixes buildbot pcmcia-cs error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-12 16:18:20 +00:00