hcg
18d77c39a5
Added primary and secondary bootloaders
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-20 09:59:17 +00:00
florian
e4cf55f5a9
prom_free_prom_memory is useless
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-20 09:23:43 +00:00
florian
67b44a7096
Use the bcm947xx mtd driver instead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-20 09:00:23 +00:00
nico
a233c7eec9
uml now needs init=/etc/preinit, fix example in README
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-20 01:36:56 +00:00
nico
9aaee7d4d5
attempt to fix uml kernel config for i386
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-20 01:32:09 +00:00
florian
47fa69505e
Re-enable adm5120 mtd driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 22:42:23 +00:00
florian
bc8948517f
Remove 8250 serial driver, enable software watchdog
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 21:52:40 +00:00
florian
10c53e0e73
CFE-ready mtd driver, needs fixing though, update kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 21:43:06 +00:00
florian
a57b6f1f05
Fix the baudrate macro
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 19:51:26 +00:00
florian
9f8f5d7ce4
Fix the uart patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 19:38:12 +00:00
florian
14f5c35058
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
ejka
83cf826ce2
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
ejka
83918f91d4
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
ejka
407b204ecd
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
ejka
8c72b797b4
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
ejka
01d129a6a2
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
hcg
dfae9ac1b8
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
hcg
f8a9b434ce
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
9aac091348
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
e89508739e
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
nbd
734d742eda
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
nbd
085eea2033
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
nbd
482438fa91
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
nbd
513c273d00
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
nbd
e7a1c344d4
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
nbd
6f8c6b5005
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
kaloz
8bf3912e53
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
nbd
01c56fcc5a
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
hcg
9d2d146b58
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
mbm
2d335117cf
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
nbd
e7bcfad835
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
pavlov
d475f2345c
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
hcg
552c341208
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
malbon
345fbb3086
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
hcg
add6fc7bda
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
nbd
6af5ae98a3
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
hcg
8bc0c57051
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
hcg
05bf766986
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
kaloz
40ce417a28
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
nbd
90c6709c98
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
nbd
0b0056bfb4
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
nbd
1c92134bda
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
nbd
d38d46dffd
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
nbd
e362a5fcdf
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
kaloz
99b14991d6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 21:17:17 +00:00
nbd
4efb08ae2d
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
nbd
203cccc4a2
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
hcg
8c908094d2
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
kaloz
7e450a1c86
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
nbd
5a54b951bb
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
nbd
b8ac16ac37
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
nbd
91ef5971fc
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
nbd
1ce8862ab4
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
kaloz
130f4efa38
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
nbd
c94c88df80
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
pavlov
ca96df4a86
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
hcg
66701cf5b6
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
hcg
2dc9b42d1b
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
pavlov
9bc5d8548f
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
pavlov
f5ab57b335
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
nbd
4dd22e79db
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
nbd
6f95645786
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
nbd
c6b9f2d8f7
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
55b644cbff
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
nbd
03b0a73712
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
nbd
5ebab881ca
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
nbd
33bc319bf8
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
nbd
1ebe6d3488
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
nbd
9bf71c00ca
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
nbd
278faa8f77
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
nbd
103e8ec366
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
nbd
f3940a6675
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
89be048fff
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
dd74e6606a
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
nbd
464d8f3a69
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
nbd
e6a1045cbf
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
nbd
6519998eba
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
nbd
5e95b0de70
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
nbd
ddc24aa87e
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
nbd
f0ba23e399
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
nbd
636f4cc8ac
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
nbd
51fc1b8875
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
nbd
9638a3c6a3
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
nbd
c87668dc4f
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
nbd
5a3f291f1a
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
nbd
7150f5906a
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
kaloz
cf584e2200
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
kaloz
cedcb81f30
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
nbd
5324818c9d
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
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
28a667defe
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
nbd
68bffe977f
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
nbd
0624bfd74f
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
nbd
2e7be87a37
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
nbd
4f378c0fe5
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
nbd
cd23d9d0f2
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
nbd
89737ef9ca
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
nbd
fc14823cc7
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
nbd
6869d66ad6
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
nbd
0753eb7920
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