openwrt/staging/florian.git
17 years agoflash related cleanups
Felix Fietkau [Thu, 1 Mar 2007 11:54:33 +0000 (11:54 +0000)]
flash related cleanups

SVN-Revision: 6446

17 years agoPackage sit module as part of kmod-ipv6 (#1424)
Florian Fainelli [Thu, 1 Mar 2007 09:13:14 +0000 (09:13 +0000)]
Package sit module as part of kmod-ipv6 (#1424)

SVN-Revision: 6445

17 years agoMake strongswan really depend on 2.4 kernels
Florian Fainelli [Thu, 1 Mar 2007 09:08:34 +0000 (09:08 +0000)]
Make strongswan really depend on 2.4 kernels

SVN-Revision: 6444

17 years agoFix truncated pings results when packets are too small. Also check for packet maximum...
Florian Fainelli [Wed, 28 Feb 2007 19:45:36 +0000 (19:45 +0000)]
Fix truncated pings results when packets are too small. Also check for packet maximum size, so that busybox's ping could not be responsible for flooding hosts.

SVN-Revision: 6443

17 years agomark uml as broken and add some cleanups (not working yet)
Felix Fietkau [Wed, 28 Feb 2007 18:25:14 +0000 (18:25 +0000)]
mark uml as broken and add some cleanups (not working yet)

SVN-Revision: 6439

17 years agofix the issue of httpd no longer working when its root directory is replaced
Felix Fietkau [Wed, 28 Feb 2007 17:58:23 +0000 (17:58 +0000)]
fix the issue of httpd no longer working when its root directory is replaced

SVN-Revision: 6437

17 years agoFix dependency on zlib
Florian Fainelli [Wed, 28 Feb 2007 16:23:20 +0000 (16:23 +0000)]
Fix dependency on zlib

SVN-Revision: 6433

17 years agoRevert previous commit oops :/
Florian Fainelli [Wed, 28 Feb 2007 13:56:05 +0000 (13:56 +0000)]
Revert previous commit oops :/

SVN-Revision: 6431

17 years agoRe-enable fuse for 2.4 kernels as well (#1346)
Florian Fainelli [Wed, 28 Feb 2007 13:45:37 +0000 (13:45 +0000)]
Re-enable fuse for 2.4 kernels as well (#1346)

SVN-Revision: 6430

17 years agoAdd strongswan (#1330)
Florian Fainelli [Wed, 28 Feb 2007 13:30:51 +0000 (13:30 +0000)]
Add strongswan (#1330)

SVN-Revision: 6429

17 years agofix kexec-tools build
Felix Fietkau [Wed, 28 Feb 2007 13:28:18 +0000 (13:28 +0000)]
fix kexec-tools build

SVN-Revision: 6428

17 years agofix a small bug in the config merge/split (fixes buildbot error on ixp4xx)
Felix Fietkau [Wed, 28 Feb 2007 13:00:26 +0000 (13:00 +0000)]
fix a small bug in the config merge/split (fixes buildbot error on ixp4xx)

SVN-Revision: 6427

17 years agoForgot the patch for CLASSIFY
Florian Fainelli [Wed, 28 Feb 2007 12:05:46 +0000 (12:05 +0000)]
Forgot the patch for CLASSIFY

SVN-Revision: 6425

17 years agoAdd ipt_CLASSIFY target for 2.4 kernels (#1338)
Florian Fainelli [Wed, 28 Feb 2007 12:04:58 +0000 (12:04 +0000)]
Add ipt_CLASSIFY target for 2.4 kernels (#1338)

SVN-Revision: 6424

17 years agoremove remaining unnecessary dependency
Felix Fietkau [Wed, 28 Feb 2007 02:40:19 +0000 (02:40 +0000)]
remove remaining unnecessary dependency

SVN-Revision: 6423

17 years agoadd missing dependencies (#1244)
Felix Fietkau [Wed, 28 Feb 2007 01:27:53 +0000 (01:27 +0000)]
add missing dependencies (#1244)

SVN-Revision: 6421

17 years agoadd a patch to revert recent breakage in the intel cfi flash driver (fixes #1140)
Felix Fietkau [Wed, 28 Feb 2007 01:14:42 +0000 (01:14 +0000)]
add a patch to revert recent breakage in the intel cfi flash driver (fixes #1140)

SVN-Revision: 6420

17 years agostrip double quotes from grub boot options (fixes #1406)
Felix Fietkau [Wed, 28 Feb 2007 01:10:10 +0000 (01:10 +0000)]
strip double quotes from grub boot options (fixes #1406)

SVN-Revision: 6419

17 years agoupdate to imq patch version 2.6.19-imq3 - fixes kernel oops from #1397
Felix Fietkau [Wed, 28 Feb 2007 00:53:20 +0000 (00:53 +0000)]
update to imq patch version 2.6.19-imq3 - fixes kernel oops from #1397

SVN-Revision: 6418

17 years agoallow the user to change the rb532 rootfs size in menuconfig (fixes #1374)
Felix Fietkau [Wed, 28 Feb 2007 00:06:37 +0000 (00:06 +0000)]
allow the user to change the rb532 rootfs size in menuconfig (fixes #1374)

SVN-Revision: 6417

17 years agoadd wl-500w diag support (untested, based on patch from #1298)
Felix Fietkau [Wed, 28 Feb 2007 00:01:41 +0000 (00:01 +0000)]
add wl-500w diag support (untested, based on patch from #1298)

SVN-Revision: 6416

17 years agomove ccache to tools/ and fix potential dependency issue
Felix Fietkau [Tue, 27 Feb 2007 23:46:34 +0000 (23:46 +0000)]
move ccache to tools/ and fix potential dependency issue

SVN-Revision: 6413

17 years agofix ccache build (#1415)
Felix Fietkau [Tue, 27 Feb 2007 23:44:04 +0000 (23:44 +0000)]
fix ccache build (#1415)

SVN-Revision: 6412

17 years agoadd a check for brctl in the unbridge() function (fixes #1417)
Felix Fietkau [Tue, 27 Feb 2007 23:34:14 +0000 (23:34 +0000)]
add a check for brctl in the unbridge() function (fixes #1417)

SVN-Revision: 6410

17 years agouse config_get_bool for hide_ssid option in madwifi
Felix Fietkau [Tue, 27 Feb 2007 23:10:53 +0000 (23:10 +0000)]
use config_get_bool for hide_ssid option in madwifi

SVN-Revision: 6408

17 years agomove config_get_bool from /sbin/wifi to /etc/functions.sh
Felix Fietkau [Tue, 27 Feb 2007 23:09:57 +0000 (23:09 +0000)]
move config_get_bool from /sbin/wifi to /etc/functions.sh

SVN-Revision: 6407

17 years agoAdd hidden_ssid option to madwifi script (#1363)
Florian Fainelli [Tue, 27 Feb 2007 23:05:05 +0000 (23:05 +0000)]
Add hidden_ssid option to madwifi script (#1363)

SVN-Revision: 6406

17 years agoMassive speedup in the package/target scanning step - per package metadata files...
Felix Fietkau [Tue, 27 Feb 2007 21:14:00 +0000 (21:14 +0000)]
Massive speedup in the package/target scanning step - per package metadata files are now cached. - timestamp.pl calls have been replaced with make file dependencies - an extra stamp file ensures that directory listing changes force a rebuild

SVN-Revision: 6404

17 years agoremove compatibility crap from libfuse which seems to break on uClibc, because of...
Felix Fietkau [Tue, 27 Feb 2007 15:13:59 +0000 (15:13 +0000)]
remove compatibility crap from libfuse which seems to break on uClibc, because of problems with versioned symbols

SVN-Revision: 6402

17 years agofix alsa compile
Felix Fietkau [Tue, 27 Feb 2007 12:31:45 +0000 (12:31 +0000)]
fix alsa compile

SVN-Revision: 6401

17 years agoMake cifs depend on kmod-nls-base (#1360)
Florian Fainelli [Tue, 27 Feb 2007 10:27:37 +0000 (10:27 +0000)]
Make cifs depend on kmod-nls-base (#1360)

SVN-Revision: 6400

17 years agofix pam header related compile error in dropbear
Felix Fietkau [Tue, 27 Feb 2007 02:12:15 +0000 (02:12 +0000)]
fix pam header related compile error in dropbear

SVN-Revision: 6397

17 years agoAdd macosx fix from #1407
Florian Fainelli [Mon, 26 Feb 2007 21:54:55 +0000 (21:54 +0000)]
Add macosx fix from #1407

SVN-Revision: 6392

17 years agoIntegrate basic UCI config file validation support Needs more testing and validation...
Felix Fietkau [Mon, 26 Feb 2007 20:04:04 +0000 (20:04 +0000)]
Integrate basic UCI config file validation support Needs more testing and validation is not enforced yet

Code contributed by Fraunhofer Fokus

SVN-Revision: 6391

17 years agocorrect wrong CONFIG_PCMCIA defaults (fixes buildbot errors)
Felix Fietkau [Mon, 26 Feb 2007 14:36:27 +0000 (14:36 +0000)]
correct wrong CONFIG_PCMCIA defaults (fixes buildbot errors)

SVN-Revision: 6390

17 years agoadd missing dependency
Felix Fietkau [Mon, 26 Feb 2007 14:05:43 +0000 (14:05 +0000)]
add missing dependency

SVN-Revision: 6389

17 years agodocument MAKE_FLAGS and MAKE_VARS
Felix Fietkau [Mon, 26 Feb 2007 01:14:18 +0000 (01:14 +0000)]
document MAKE_FLAGS and MAKE_VARS

SVN-Revision: 6385

17 years agoadd information about the tex4ht requirement for the docs
Felix Fietkau [Mon, 26 Feb 2007 01:06:41 +0000 (01:06 +0000)]
add information about the tex4ht requirement for the docs

SVN-Revision: 6384

17 years agoadd missing copyright header
Felix Fietkau [Mon, 26 Feb 2007 01:05:09 +0000 (01:05 +0000)]
add missing copyright header

SVN-Revision: 6383

17 years agoadd x86_64 sitefile
Felix Fietkau [Mon, 26 Feb 2007 01:02:57 +0000 (01:02 +0000)]
add x86_64 sitefile

SVN-Revision: 6382

17 years agominor cleanup
Felix Fietkau [Mon, 26 Feb 2007 00:52:51 +0000 (00:52 +0000)]
minor cleanup

SVN-Revision: 6381

17 years agouse default_subtargets in package/Makefile and target/Makefile
Felix Fietkau [Mon, 26 Feb 2007 00:41:53 +0000 (00:41 +0000)]
use default_subtargets in package/Makefile and target/Makefile

SVN-Revision: 6380

17 years agoremove old variables
Felix Fietkau [Mon, 26 Feb 2007 00:20:39 +0000 (00:20 +0000)]
remove old variables

SVN-Revision: 6379

17 years agomove CXXFLAGS to MAKE_VARS
Felix Fietkau [Mon, 26 Feb 2007 00:13:41 +0000 (00:13 +0000)]
move CXXFLAGS to MAKE_VARS

SVN-Revision: 6378

17 years agoadd MAKE_VARS and MAKE_FLAGS similar to CONFIGURE_*
Felix Fietkau [Mon, 26 Feb 2007 00:10:52 +0000 (00:10 +0000)]
add MAKE_VARS and MAKE_FLAGS similar to CONFIGURE_*

SVN-Revision: 6377

17 years agorename PKG_CONFIGURE_PATH to CONFIGURE_PATH for consistency
Felix Fietkau [Sun, 25 Feb 2007 23:55:53 +0000 (23:55 +0000)]
rename PKG_CONFIGURE_PATH to CONFIGURE_PATH for consistency

SVN-Revision: 6376

17 years agodocument configure related build system changes
Felix Fietkau [Sun, 25 Feb 2007 23:50:35 +0000 (23:50 +0000)]
document configure related build system changes

SVN-Revision: 6375

17 years agouse NO_TRACE_MAKE for docs build
Felix Fietkau [Sun, 25 Feb 2007 23:50:22 +0000 (23:50 +0000)]
use NO_TRACE_MAKE for docs build

SVN-Revision: 6374

17 years agomore cleanup
Felix Fietkau [Sun, 25 Feb 2007 23:38:02 +0000 (23:38 +0000)]
more cleanup

SVN-Revision: 6373

17 years agovarious configure related cleanups
Felix Fietkau [Sun, 25 Feb 2007 23:34:57 +0000 (23:34 +0000)]
various configure related cleanups

SVN-Revision: 6372

17 years agochange path to .prereq stampfile
Felix Fietkau [Sun, 25 Feb 2007 23:27:54 +0000 (23:27 +0000)]
change path to .prereq stampfile

SVN-Revision: 6371

17 years agomove configure args to CONFIGURE_ARGS and configure variable to CONFIGURE_VARS to...
Felix Fietkau [Sun, 25 Feb 2007 23:10:32 +0000 (23:10 +0000)]
move configure args to CONFIGURE_ARGS and configure variable to CONFIGURE_VARS to make it possible to modify the configure command line without overriding the default template

SVN-Revision: 6370

17 years agofix for including host.mk multiple times
Felix Fietkau [Sun, 25 Feb 2007 21:17:57 +0000 (21:17 +0000)]
fix for including host.mk multiple times

SVN-Revision: 6369

17 years agoadd x86_64 config for uClibc
Felix Fietkau [Sun, 25 Feb 2007 21:11:02 +0000 (21:11 +0000)]
add x86_64 config for uClibc

SVN-Revision: 6368

17 years agofix stampfiles for host-builds
Felix Fietkau [Sun, 25 Feb 2007 21:01:21 +0000 (21:01 +0000)]
fix stampfiles for host-builds

SVN-Revision: 6367

17 years agorun indent on ar2313 driver
Felix Fietkau [Sun, 25 Feb 2007 20:06:27 +0000 (20:06 +0000)]
run indent on ar2313 driver

SVN-Revision: 6366

17 years agoadd prereq checks for the documentation (#1400)
Felix Fietkau [Sun, 25 Feb 2007 19:13:49 +0000 (19:13 +0000)]
add prereq checks for the documentation (#1400)

SVN-Revision: 6365

17 years agofix path to usb audio module
Felix Fietkau [Sun, 25 Feb 2007 19:05:46 +0000 (19:05 +0000)]
fix path to usb audio module

SVN-Revision: 6364

17 years agofix KCONFIG for usb-audio package (#1335)
Felix Fietkau [Sun, 25 Feb 2007 19:02:38 +0000 (19:02 +0000)]
fix KCONFIG for usb-audio package (#1335)

SVN-Revision: 6363

17 years agoadd kernel_headers dependency on target/linux/generic-2.*
Felix Fietkau [Sun, 25 Feb 2007 18:54:51 +0000 (18:54 +0000)]
add kernel_headers dependency on target/linux/generic-2.*

SVN-Revision: 6362

17 years agoadd auto-rebuild for host builds (tested with tools/ and toolchain/)
Felix Fietkau [Sun, 25 Feb 2007 18:28:25 +0000 (18:28 +0000)]
add auto-rebuild for host builds (tested with tools/ and toolchain/)

SVN-Revision: 6361

17 years agoclean up a few things in image build makefiles and fix unnecessary grub rebuilds
Felix Fietkau [Sun, 25 Feb 2007 18:20:34 +0000 (18:20 +0000)]
clean up a few things in image build makefiles and fix unnecessary grub rebuilds

SVN-Revision: 6360

17 years agoadd optional padding for x86 grub images (useful for running jffs2 images in qemu)
Felix Fietkau [Sun, 25 Feb 2007 17:59:23 +0000 (17:59 +0000)]
add optional padding for x86 grub images (useful for running jffs2 images in qemu)

SVN-Revision: 6359

17 years agomake ptgen print the end offset of the last partition as well
Felix Fietkau [Sun, 25 Feb 2007 17:58:54 +0000 (17:58 +0000)]
make ptgen print the end offset of the last partition as well

SVN-Revision: 6358

17 years agoclean up stampfile mess for tools/ and toolchain/
Felix Fietkau [Sun, 25 Feb 2007 17:49:25 +0000 (17:49 +0000)]
clean up stampfile mess for tools/ and toolchain/

SVN-Revision: 6357

17 years agomore reliable fix for handling ppp
Felix Fietkau [Sun, 25 Feb 2007 13:45:45 +0000 (13:45 +0000)]
more reliable fix for handling ppp

SVN-Revision: 6356

17 years agointegrate the fix from #1348 and clean up the network scripts a bit...
Felix Fietkau [Sun, 25 Feb 2007 12:52:02 +0000 (12:52 +0000)]
integrate the fix from #1348 and clean up the network scripts a bit...

SVN-Revision: 6355

17 years agofix ppp defaultroute issues (based on patch from #1386, fixes #1181)
Felix Fietkau [Sun, 25 Feb 2007 11:53:50 +0000 (11:53 +0000)]
fix ppp defaultroute issues (based on patch from #1386, fixes #1181)

SVN-Revision: 6354

17 years agoupgrade to uClibc 0.9.28.2
Felix Fietkau [Sat, 24 Feb 2007 20:22:01 +0000 (20:22 +0000)]
upgrade to uClibc 0.9.28.2

SVN-Revision: 6353

17 years agofix cylinder rounding in ptgen
Felix Fietkau [Sat, 24 Feb 2007 20:20:57 +0000 (20:20 +0000)]
fix cylinder rounding in ptgen

SVN-Revision: 6352

17 years agoalways dereference symbolic links when copying kernel modules into the packaging...
Felix Fietkau [Fri, 23 Feb 2007 14:52:50 +0000 (14:52 +0000)]
always dereference symbolic links when copying kernel modules into the packaging directory (fixes alsa build, patch from #1392)

SVN-Revision: 6350

17 years agoadd -mlong-calls cflag to alsa mips build (patch from #1391)
Felix Fietkau [Fri, 23 Feb 2007 14:50:15 +0000 (14:50 +0000)]
add -mlong-calls cflag to alsa mips build (patch from #1391)

SVN-Revision: 6349

17 years agofix kernel features detection - GENERIC_PLATFORM_DIR is unset at DUMP time
Felix Fietkau [Fri, 23 Feb 2007 03:45:46 +0000 (03:45 +0000)]
fix kernel features detection - GENERIC_PLATFORM_DIR is unset at DUMP time

SVN-Revision: 6346

17 years agomake maxinodes configureable for ext2
Tim Yardley [Thu, 22 Feb 2007 22:35:08 +0000 (22:35 +0000)]
make maxinodes configureable for ext2

SVN-Revision: 6345

17 years agoNTFS-3G is at v1.0 now
Imre Kaloz [Thu, 22 Feb 2007 16:55:36 +0000 (16:55 +0000)]
NTFS-3G is at v1.0 now

SVN-Revision: 6344

17 years agoadd gcc 4.1.2 (closes #1381)
Imre Kaloz [Thu, 22 Feb 2007 10:28:46 +0000 (10:28 +0000)]
add gcc 4.1.2 (closes #1381)

SVN-Revision: 6343

17 years agoignore profiles with custom kernel configs in the image builder itself
Felix Fietkau [Thu, 22 Feb 2007 04:03:35 +0000 (04:03 +0000)]
ignore profiles with custom kernel configs in the image builder itself

SVN-Revision: 6342

17 years agodisable the image builder in menuconfig for profiles with custom kernel configs
Felix Fietkau [Thu, 22 Feb 2007 03:56:54 +0000 (03:56 +0000)]
disable the image builder in menuconfig for profiles with custom kernel configs

SVN-Revision: 6341

17 years agofix a small bug in the order of the profile metadata dump
Felix Fietkau [Thu, 22 Feb 2007 03:54:52 +0000 (03:54 +0000)]
fix a small bug in the order of the profile metadata dump

SVN-Revision: 6340

17 years agolast commit was missing a change...
Felix Fietkau [Thu, 22 Feb 2007 03:47:00 +0000 (03:47 +0000)]
last commit was missing a change...

SVN-Revision: 6339

17 years agoadd missing config files
Felix Fietkau [Thu, 22 Feb 2007 03:44:37 +0000 (03:44 +0000)]
add missing config files

SVN-Revision: 6338

17 years agoReorganize kernel configs - target/linux/*/config is now a directory. ./config/defaul...
Felix Fietkau [Thu, 22 Feb 2007 03:44:15 +0000 (03:44 +0000)]
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.

SVN-Revision: 6337

17 years agorename the Profile template that the image builder uses to prevent name conflicts...
Felix Fietkau [Thu, 22 Feb 2007 02:27:01 +0000 (02:27 +0000)]
rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses

SVN-Revision: 6336

17 years agoMove aodv-uu to trunk/
Florian Fainelli [Tue, 20 Feb 2007 23:39:33 +0000 (23:39 +0000)]
Move aodv-uu to trunk/

SVN-Revision: 6335

17 years agoadd 16MB flash support for ar2315 (who knows...?)
Felix Fietkau [Tue, 20 Feb 2007 22:44:59 +0000 (22:44 +0000)]
add 16MB flash support for ar2315 (who knows...?)

SVN-Revision: 6334

17 years agonuke even more debug stuff
Felix Fietkau [Tue, 20 Feb 2007 22:35:12 +0000 (22:35 +0000)]
nuke even more debug stuff

SVN-Revision: 6333

17 years agosorry, last commit had a bug
Felix Fietkau [Tue, 20 Feb 2007 22:04:49 +0000 (22:04 +0000)]
sorry, last commit had a bug

SVN-Revision: 6332

17 years agofix debug patch for ahb
Felix Fietkau [Tue, 20 Feb 2007 22:00:29 +0000 (22:00 +0000)]
fix debug patch for ahb

SVN-Revision: 6331

17 years agofix wireless-tools install *sigh* - thanks Kesha for noticing it
Imre Kaloz [Tue, 20 Feb 2007 15:26:29 +0000 (15:26 +0000)]
fix wireless-tools install *sigh* - thanks Kesha for noticing it

SVN-Revision: 6330

17 years agodisable debugging stuff in madwifi - saves precious flash space :)
Imre Kaloz [Tue, 20 Feb 2007 13:16:51 +0000 (13:16 +0000)]
disable debugging stuff in madwifi - saves precious flash space :)

SVN-Revision: 6329

17 years agomake rootfs split/detection more generic - patch can be moved to generic-2.6 after...
Felix Fietkau [Mon, 19 Feb 2007 23:28:09 +0000 (23:28 +0000)]
make rootfs split/detection more generic - patch can be moved to generic-2.6 after testing on other platforms (especially broadcom)

SVN-Revision: 6328

17 years agoautodetect flash width - thanks to Kestutis Kupciunas
Imre Kaloz [Mon, 19 Feb 2007 22:33:06 +0000 (22:33 +0000)]
autodetect flash width - thanks to Kestutis Kupciunas

SVN-Revision: 6327

17 years agouse radio0 only on the 5312
Imre Kaloz [Mon, 19 Feb 2007 22:22:26 +0000 (22:22 +0000)]
use radio0 only on the 5312

SVN-Revision: 6326

17 years agofix ar2315 rootfs mount
Felix Fietkau [Mon, 19 Feb 2007 16:48:02 +0000 (16:48 +0000)]
fix ar2315 rootfs mount

SVN-Revision: 6325

17 years agoUpgrade comgt to 0.32 (#1347)
Florian Fainelli [Mon, 19 Feb 2007 11:17:13 +0000 (11:17 +0000)]
Upgrade comgt to 0.32 (#1347)

SVN-Revision: 6323

17 years agoFix another typo, definitively closes #1370
Florian Fainelli [Mon, 19 Feb 2007 10:08:40 +0000 (10:08 +0000)]
Fix another typo, definitively closes #1370

SVN-Revision: 6322

17 years agoFix a typo for videodev modules (#1371)
Florian Fainelli [Mon, 19 Feb 2007 09:51:12 +0000 (09:51 +0000)]
Fix a typo for videodev modules (#1371)

SVN-Revision: 6321

17 years agoFix a typo with latest driver, module name changed (#1370)
Florian Fainelli [Mon, 19 Feb 2007 09:46:25 +0000 (09:46 +0000)]
Fix a typo with latest driver, module name changed (#1370)

SVN-Revision: 6320

17 years agoadd documentation fixes from #1285
Felix Fietkau [Sun, 18 Feb 2007 16:46:46 +0000 (16:46 +0000)]
add documentation fixes from #1285

SVN-Revision: 6319

17 years agoFinally fix the pesky x86-2.6 block2mtd related crash (#1058) When erasing blocks...
Felix Fietkau [Sun, 18 Feb 2007 13:52:14 +0000 (13:52 +0000)]
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

SVN-Revision: 6318