Commit Graph

405 Commits

Author SHA1 Message Date
Florian Fainelli
ccb99d82df prom_free_prom_memory is useless
SVN-Revision: 6625
2007-03-20 09:23:43 +00:00
Florian Fainelli
4b8150a056 Use the bcm947xx mtd driver instead
SVN-Revision: 6624
2007-03-20 09:00:23 +00:00
Nicolas Thill
6726055df0 uml now needs init=/etc/preinit, fix example in README
SVN-Revision: 6622
2007-03-20 01:36:56 +00:00
Nicolas Thill
f5225bef85 attempt to fix uml kernel config for i386
SVN-Revision: 6621
2007-03-20 01:32:09 +00:00
Florian Fainelli
78f10cebdd Re-enable adm5120 mtd driver
SVN-Revision: 6620
2007-03-19 22:42:23 +00:00
Florian Fainelli
b8ca430c7f Remove 8250 serial driver, enable software watchdog
SVN-Revision: 6618
2007-03-19 21:52:40 +00:00
Florian Fainelli
c2c8a6dfe7 CFE-ready mtd driver, needs fixing though, update kernel config
SVN-Revision: 6617
2007-03-19 21:43:06 +00:00
Florian Fainelli
1be7df6f97 Fix the baudrate macro
SVN-Revision: 6616
2007-03-19 19:51:26 +00:00
Florian Fainelli
9c4b23a8d1 Fix the uart patch
SVN-Revision: 6615
2007-03-19 19:38:12 +00:00
Florian Fainelli
d9dfd7341b Preliminary ADM5120 support, marked as broken
SVN-Revision: 6614
2007-03-19 17:34:37 +00:00
Eugene Konev
f04dd67969 Remove initrd code leftovers. Also fixes "Bad page state" on boot (kernel tried to free initramfs twice).
SVN-Revision: 6613
2007-03-19 17:25:06 +00:00
Eugene Konev
510db3b0a6 Add forgotten part of vlynq irq setup
SVN-Revision: 6606
2007-03-18 16:00:28 +00:00
Eugene Konev
259c114526 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.
SVN-Revision: 6604
2007-03-18 14:18:56 +00:00
Eugene Konev
6eb218b9c9 Add ar7-2.6 port (marked as broken for now).
SVN-Revision: 6600
2007-03-18 09:40:51 +00:00
Eugene Konev
418ae3a045 Make lzma-loader sdram mapping configurable (#1169)
SVN-Revision: 6598
2007-03-18 09:32:22 +00:00
Hamish Guthrie
2ee061880b Changed pin selections in low-level mmc driver
SVN-Revision: 6596
2007-03-17 16:19:09 +00:00
Hamish Guthrie
edea35b85e Changed kernel configs to enable more packages. Added additional dependencies to mmc module in the modules tree
SVN-Revision: 6579
2007-03-16 18:53:35 +00:00
Florian Fainelli
ddb5473bb3 Fix compilation errors with xt_portscan
SVN-Revision: 6578
2007-03-16 18:35:48 +00:00
Florian Fainelli
11109c2515 Fix the serial driver with the devfs removal
SVN-Revision: 6577
2007-03-16 18:33:46 +00:00
Felix Fietkau
a8fbb232f8 add final fix for brcm47xx-2.6 memory corruption (patch from #1465)
SVN-Revision: 6575
2007-03-16 12:26:33 +00:00
Felix Fietkau
2c62bddcfe 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.
SVN-Revision: 6572
2007-03-16 03:02:31 +00:00
Felix Fietkau
fbe0b0e33a enable ext2 by default for rb532 (fixes #1466)
SVN-Revision: 6569
2007-03-15 18:53:00 +00:00
Felix Fietkau
4319c79ad4 brcm47xx: add a few nops to keep the cpu happy
SVN-Revision: 6568
2007-03-15 12:07:43 +00:00
Felix Fietkau
dcfbd5f656 fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u), nuke the old brcm-2.6 port, close #1312, #1451
SVN-Revision: 6564
2007-03-14 03:37:40 +00:00
Felix Fietkau
53a5d4131f add reboot fix from #1312
SVN-Revision: 6563
2007-03-14 01:26:57 +00:00
Felix Fietkau
f7809d07c8 remove screwy network config override from x86-2.6 base-files
SVN-Revision: 6558
2007-03-12 19:23:18 +00:00
Imre Kaloz
ee653e3700 add preliminary IOP32x support, mark it broken for now
SVN-Revision: 6557
2007-03-11 19:49:50 +00:00
Felix Fietkau
04fd1d444a oops... forgot to make x86-2.6 ext2 images use preinit as well :)
SVN-Revision: 6546
2007-03-11 00:04:17 +00:00
Hamish Guthrie
98408d0854 Added MMC/SD Card module support
SVN-Revision: 6544
2007-03-10 16:06:37 +00:00
Mike Baker
4a5cb10be3 more devfs related bugs
SVN-Revision: 6543
2007-03-09 18:39:34 +00:00
Felix Fietkau
65e59861ba fix up the netconfig script after the devfs=>hotplug2 migration
SVN-Revision: 6542
2007-03-09 18:20:54 +00:00
Tim Yardley
fbbad27a41 split out scsi module support and add ata piix support
SVN-Revision: 6535
2007-03-07 15:38:45 +00:00
Hamish Guthrie
2cbe1f1c0d Added GPIO driver
SVN-Revision: 6534
2007-03-07 11:46:24 +00:00
Mike Albon
1fa14eaccc Fix config, set directory block to -1 for redboot.
SVN-Revision: 6533
2007-03-06 23:13:20 +00:00
Hamish Guthrie
18b744818a Add support for LED drivers (clock tick and CPU activity) Removed partition support (done on command line now)
SVN-Revision: 6531
2007-03-06 20:40:41 +00:00
Felix Fietkau
4af390ee76 add vga console support for x86-2.6 images (fixes #1342, #840)
SVN-Revision: 6530
2007-03-06 19:13:40 +00:00
Hamish Guthrie
a5938cfbb3 Modified partition table to support jffs2
SVN-Revision: 6529
2007-03-05 10:30:34 +00:00
Hamish Guthrie
64d7360b51 Chaged kernel config so default builds cleanly
SVN-Revision: 6528
2007-03-05 09:15:45 +00:00
Imre Kaloz
44a2fd050c fix squashfs for ixp4xx
SVN-Revision: 6524
2007-03-05 00:47:13 +00:00
Felix Fietkau
cf282c9a69 add missing init=/etc/preinit cmdline parameter
SVN-Revision: 6523
2007-03-05 00:38:37 +00:00
Felix Fietkau
8621fbdb4e add squashfs support for ixp4xx
SVN-Revision: 6522
2007-03-05 00:21:30 +00:00
Felix Fietkau
275ff405d8 more hotplug2/mdev/devfs related fixups, this time for broadcom
SVN-Revision: 6519
2007-03-04 23:55:07 +00:00
Felix Fietkau
5f728db76a fix a compile error caused by the devfs removal
SVN-Revision: 6518
2007-03-04 23:34:50 +00:00
Felix Fietkau
6bbbeb5d67 enable ne2k-pci by default
SVN-Revision: 6517
2007-03-04 21:25:25 +00:00
Imre Kaloz
603bbc1e8a SVN-Revision: 6516 2007-03-04 21:17:17 +00:00
Felix Fietkau
aabda0f133 reorder target profiles
SVN-Revision: 6514
2007-03-04 20:43:39 +00:00
Felix Fietkau
a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Hamish Guthrie
99657a3be5 Added initial support for at91 plaform (HCG)
SVN-Revision: 6508
2007-03-04 17:29:44 +00:00
Imre Kaloz
b97c7c0af6 upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two patches
SVN-Revision: 6489
2007-03-03 23:12:34 +00:00
Felix Fietkau
5acf90187b fix mdev for broadcom 2.6
SVN-Revision: 6484
2007-03-03 22:40:28 +00:00
Felix Fietkau
ae650458bb enable preinit for magicbox
SVN-Revision: 6483
2007-03-03 22:38:28 +00:00
Felix Fietkau
12fc04238e enable preinit in a few other platforms
SVN-Revision: 6482
2007-03-03 22:36:45 +00:00
Felix Fietkau
c96e173c28 add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
SVN-Revision: 6481
2007-03-03 22:32:13 +00:00
Imre Kaloz
662fde9077 R.I.P. devfs
SVN-Revision: 6478
2007-03-03 20:35:01 +00:00
Felix Fietkau
7b0de4ae45 replace some hardcoded /dev/mtdblock/* references with calls to find_mtd_part()
SVN-Revision: 6477
2007-03-03 19:22:41 +00:00
Tim Yardley
747e57ffe2 make the rest of the structure for the targets that dont have profiles yet
SVN-Revision: 6475
2007-03-03 01:22:09 +00:00
Hamish Guthrie
cc04f0502f Deleting the test file
SVN-Revision: 6473
2007-03-02 23:33:12 +00:00
Hamish Guthrie
cfb6b9fa45 Test file - please ignore
SVN-Revision: 6472
2007-03-02 23:30:16 +00:00
Tim Yardley
03beb39e5f 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

SVN-Revision: 6468
2007-03-02 23:02:38 +00:00
Tim Yardley
484609eeb0 commit profile support for base-files... patches still need to be done
SVN-Revision: 6465
2007-03-02 18:17:40 +00:00
Felix Fietkau
91e5dba2c7 kernel build cleanup
SVN-Revision: 6464
2007-03-02 17:24:20 +00:00
Felix Fietkau
983544f859 copy the initramfs kernel to bin/ on x86-2.6 (fixes #1359)
SVN-Revision: 6463
2007-03-02 17:12:23 +00:00
Felix Fietkau
c457155452 enable mini_fo on fonera
SVN-Revision: 6456
2007-03-02 15:26:57 +00:00
Florian Fainelli
3e95289149 Add a LED driver for MTX-1 boards, yeah baby
SVN-Revision: 6454
2007-03-02 13:03:50 +00:00
Felix Fietkau
28ab697fae enable grub images in menuconfig for squashfs
SVN-Revision: 6453
2007-03-02 02:46:38 +00:00
Felix Fietkau
0373c4a352 use /etc/preinit on atheros-2.6
SVN-Revision: 6452
2007-03-02 01:39:14 +00:00
Felix Fietkau
d2c8e9104d add squashfs support for atheros-2.6
SVN-Revision: 6451
2007-03-02 01:38:07 +00:00
Felix Fietkau
68ca8e7818 make squashfs overlay support more generic and integrate it for x86-2.6
SVN-Revision: 6450
2007-03-02 01:23:36 +00:00
Felix Fietkau
a256c81dd9 move mtd rootfs split patch to generic-2.6, disabled for broadcom targets until the flash map driver is updated and tested
SVN-Revision: 6449
2007-03-01 23:52:19 +00:00
Felix Fietkau
c762548eee flash related cleanups
SVN-Revision: 6446
2007-03-01 11:54:33 +00:00
Felix Fietkau
2a7df08119 mark uml as broken and add some cleanups (not working yet)
SVN-Revision: 6439
2007-02-28 18:25:14 +00:00
Felix Fietkau
74f71f0739 fix a small bug in the config merge/split (fixes buildbot error on ixp4xx)
SVN-Revision: 6427
2007-02-28 13:00:26 +00:00
Florian Fainelli
f5616580b3 Forgot the patch for CLASSIFY
SVN-Revision: 6425
2007-02-28 12:05:46 +00:00
Florian Fainelli
780712e30e Add ipt_CLASSIFY target for 2.4 kernels (#1338)
SVN-Revision: 6424
2007-02-28 12:04:58 +00:00
Felix Fietkau
4273579814 add a patch to revert recent breakage in the intel cfi flash driver (fixes #1140)
SVN-Revision: 6420
2007-02-28 01:14:42 +00:00
Felix Fietkau
cb3fc42f71 strip double quotes from grub boot options (fixes #1406)
SVN-Revision: 6419
2007-02-28 01:10:10 +00:00
Felix Fietkau
d064080013 update to imq patch version 2.6.19-imq3 - fixes kernel oops from #1397
SVN-Revision: 6418
2007-02-28 00:53:20 +00:00
Felix Fietkau
295d0a7e82 allow the user to change the rb532 rootfs size in menuconfig (fixes #1374)
SVN-Revision: 6417
2007-02-28 00:06:37 +00:00
Felix Fietkau
c6a4f047e3 correct wrong CONFIG_PCMCIA defaults (fixes buildbot errors)
SVN-Revision: 6390
2007-02-26 14:36:27 +00:00
Felix Fietkau
4e60cfe51f use default_subtargets in package/Makefile and target/Makefile
SVN-Revision: 6380
2007-02-26 00:41:53 +00:00
Felix Fietkau
43f15e09a9 run indent on ar2313 driver
SVN-Revision: 6366
2007-02-25 20:06:27 +00:00
Felix Fietkau
653f61fb3e clean up a few things in image build makefiles and fix unnecessary grub rebuilds
SVN-Revision: 6360
2007-02-25 18:20:34 +00:00
Felix Fietkau
738ca6f657 add optional padding for x86 grub images (useful for running jffs2 images in qemu)
SVN-Revision: 6359
2007-02-25 17:59:23 +00:00
Felix Fietkau
804bfa954d ignore profiles with custom kernel configs in the image builder itself
SVN-Revision: 6342
2007-02-22 04:03:35 +00:00
Felix Fietkau
ccd12544f6 disable the image builder in menuconfig for profiles with custom kernel configs
SVN-Revision: 6341
2007-02-22 03:56:54 +00:00
Felix Fietkau
2bcaa1fecd add missing config files
SVN-Revision: 6338
2007-02-22 03:44:37 +00:00
Felix Fietkau
e78fb96964 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
2007-02-22 03:44:15 +00:00
Felix Fietkau
5281d134cd rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses
SVN-Revision: 6336
2007-02-22 02:27:01 +00:00
Felix Fietkau
b37101053a add 16MB flash support for ar2315 (who knows...?)
SVN-Revision: 6334
2007-02-20 22:44:59 +00:00
Felix Fietkau
328e660b31 make rootfs split/detection more generic - patch can be moved to generic-2.6 after testing on other platforms (especially broadcom)
SVN-Revision: 6328
2007-02-19 23:28:09 +00:00
Imre Kaloz
1d7bfc46ec autodetect flash width - thanks to Kestutis Kupciunas
SVN-Revision: 6327
2007-02-19 22:33:06 +00:00
Imre Kaloz
e32f19c986 use radio0 only on the 5312
SVN-Revision: 6326
2007-02-19 22:22:26 +00:00
Felix Fietkau
e10c97c2ca fix ar2315 rootfs mount
SVN-Revision: 6325
2007-02-19 16:48:02 +00:00
Felix Fietkau
912e5867ef 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
2007-02-18 13:52:14 +00:00
Felix Fietkau
9b47712459 disable dma offset for now
SVN-Revision: 6317
2007-02-17 23:02:49 +00:00
Felix Fietkau
73fc1141c0 fix ar2312/2313 mac detection
SVN-Revision: 6316
2007-02-17 22:22:14 +00:00
Felix Fietkau
144ebddd61 add e1000 support
SVN-Revision: 6315
2007-02-16 19:51:27 +00:00
Felix Fietkau
dc70c78404 remove useless newlines
SVN-Revision: 6314
2007-02-16 19:45:26 +00:00
Felix Fietkau
509bb267a3 make kernel_menuconfig work without target toolchain
SVN-Revision: 6312
2007-02-16 17:28:22 +00:00
Felix Fietkau
8afbc2d617 add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
SVN-Revision: 6310
2007-02-16 16:59:44 +00:00