aboutsummaryrefslogtreecommitdiffstats
path: root/Config.in
Commit message (Expand)AuthorAgeFilesLines
* with no users left, remove support for 2.6.21Imre Kaloz2010-02-111-1/+0
* add a config item to specify arguments to stripNicolas Thill2010-01-221-0/+9
* Add support for building ubifs images.Lars-Peter Clausen2010-01-111-0/+7
* remove handling of older unsupported kernelsImre Kaloz2009-12-271-2/+0
* partially revert [18830]: stripped packages are still usefull when debugging ...Florian Fainelli2009-12-221-1/+0
* disable stripping when compiling with debug info (closes: #6373)Florian Fainelli2009-12-221-0/+1
* partially revert [18830]: stripped packages are still usefull when debugging ...Nicolas Thill2009-12-181-2/+1
* disable stripping when compiling with debug info (closes: #6373)Nicolas Thill2009-12-181-0/+2
* make lzo compressed initramfs selectable, tooImre Kaloz2009-11-211-0/+3
* Add a target (CONFIG_MAKE_CONFIG) that creates an exportable toolchain. The t...Felix Fietkau2009-11-141-0/+1
* add external toolchain support, enhance native toolchain support (special tha...Nicolas Thill2009-09-231-2/+2
* prepare for upcoming external toolchain support: move config items not strict...Nicolas Thill2009-09-101-0/+39
* add menuconfig option for enabling debugfs support in the kernelGabor Juhos2009-09-081-0/+10
* do not forcibly disable stripping when selecting CONFIG_DEBUG, debugging symb...Felix Fietkau2009-09-061-2/+0
* add menuconfig option for selecting initramfs compressionGabor Juhos2009-08-161-12/+37
* add an optional config option for stripping all unnecessary symbol exports fr...Felix Fietkau2009-08-081-0/+8
* integrate mklibs.py support into the build processFelix Fietkau2009-08-081-0/+8
* globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv...Florian Fainelli2009-07-251-0/+7
* add a config option to select the binary stripping method to use (between non...Nicolas Thill2009-07-071-5/+30
* Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-targetHamish Guthrie2009-03-181-1/+1
* add the possibility to put the rootfs to another location (usefull to specify...Ralph Hempel2009-02-201-0/+8
* Add menuconfig option for enabling profiling in the kernel.Lars-Peter Clausen2009-01-291-0/+6
* add a menuconfig option for enabling KALLSYMS for the kernelFelix Fietkau2009-01-201-0/+8
* add support for an optional staging directory for debug binariesFelix Fietkau2009-01-131-0/+7
* clean up build system settings and make some of them more accessibleFelix Fietkau2009-01-131-35/+32
* Adds support for using a local clone of a git treeHamish Guthrie2008-10-101-0/+20
* fix build options in menuconfig: - move EXTERNAL_KERNEL_TREE & NO_STRIP from ...Nicolas Thill2008-09-131-9/+7
* add new option for enabling debugging symbolsFelix Fietkau2008-09-131-4/+12
* adds missing patch for native toolchainJohn Crispin2008-06-101-0/+4
* Update size and inodes of grup imageJens Muecke2008-05-121-2/+2
* add feature flag for the cpio.gz supportGabor Juhos2008-01-291-1/+1
* remove old feeds stuffFelix Fietkau2007-12-281-13/+0
* add cpio.gz support (patch from #2595)Felix Fietkau2007-12-281-0/+7
* fix rootfs size selectionFelix Fietkau2007-12-201-1/+1
* add external kernel tree supportEugene Konev2007-11-201-0/+5
* add possibility to set default .config valuesJohn Crispin2007-10-141-0/+9
* added generation of x86 livecds, from #2391John Crispin2007-10-081-0/+7
* add option for cleaning all ipkg info before the image buildFelix Fietkau2007-10-051-3/+11
* move the "BUILD_SUFFIX" options out of "SOURCE_FEEDS" optionsNicolas Thill2007-10-031-7/+7
* remove CONFIG_JLEVEL. use make -j in the futureFelix Fietkau2007-07-301-7/+0
* add source feed rev to menuconfig, set 8180 as default rev for kamikaze 7.07Felix Fietkau2007-07-261-0/+6
* Fix the automatic selection of ext2 when not using neither squashfs nor jffs2Florian Fainelli2007-07-201-1/+0
* Add optionnal support for a BUILD_DIR suffix (#2057)Florian Fainelli2007-07-191-0/+7
* Add a USES_TGZ config.in variable, so that RB1xx profiles can use itFlorian Fainelli2007-07-181-1/+1
* Make UCI preconfiguration optional and disabled by defaultFelix Fietkau2007-05-051-57/+58
* add a menuconfig option for specifying a local download mirrorFelix Fietkau2007-04-061-0/+3
* Tidy up MakefilesMike Baker2007-04-031-1/+1
* allow the user to change the rb532 rootfs size in menuconfig (fixes #1374)Felix Fietkau2007-02-281-2/+2
* add missing copyright headerFelix Fietkau2007-02-261-0/+4
* make maxinodes configureable for ext2Tim Yardley2007-02-221-4/+13
e_kb> : erase sise flash, default $arg{s} -f <baseaddr> : flash base, default ".sprintf('0x%x', $arg{f})." -x <cfelen> : length of cfe, default ".sprintf('0x%x', $arg{x})." -i : 2=dual image, default $arg{i} -a <loadaddr> : Kernel load address, default ".sprintf('0x%x', $arg{a})." -e <entryaddr>: Kernel entry address, default ".sprintf('0x%x', $arg{e})." -t : Prefix kernel with load,entry,size -p : Add a 'gOtO' partition -v : be more verbose -h : help, version $version EXAMPLES: $prog -k kern -r rootfs " if $arg{h} || !$arg{k} || !$arg{r}; sub Read_Image { open my $fh, $_[0] or die "open $_[0]: $!"; local $/; # Set input to "slurp" mode. my $buf = <$fh>; close $fh; return $buf; } sub Padlen { my $p = $_[0] % $_[1]; return ($p ? $_[1] - $p : 0); } sub Pad { my ($buf, $off, $bs) = @_[0..2]; $buf .= chr(255) x Padlen(length($buf) + $off, $bs); return $buf; } sub bcmImage { my ($k, $f) = @_[0..1]; my $tmp = $arg{x} + 0x100 + $arg{f}; # regular: rootfs+kernel my ($img, $fa, $ka) = ( $f.$k, $tmp, $tmp + length($f) ); # test: kernel+rootfs # my ($img, $fa, $ka) = ( $k.$f, $tmp + length($k), $tmp ); $fa = 0 unless length($f); my $hdr = pack("a4a20a14a6a16a2a10a12a10a12a10a12a10a2a2a74Na16", '6', 'LinuxInside', 'ver. 2.0', $arg{c}, $arg{b}, ($arg{l} ? '0' : '1'), length($img), '0', '0', $fa, length($f), $ka, length($k), ($arg{i}==2 ? '1' : '0'), '', # if 1, the image is INACTIVE; if 0, active '', ~crc32($k, crc32($f)), ''); $hdr .= pack('Na16', ~crc32($hdr), ''); printf "kernel at 0x%x length 0x%x(%u)\n", $ka, length($k), length($k) if $arg{v}; printf "rootfs at 0x%x length 0x%x(%u)\n", $fa, length($f), length($f) if $arg{v}; open(FO, ">$arg{o}"); print FO $hdr; print FO $img; close FO; } # MAIN my $kern = Read_Image $arg{k}; my $root = Read_Image $arg{r}; $kern = pack('NNN', $arg{a}, $arg{e}, length($kern)).$kern if $arg{t}; # specific fixup for the CFE that expects rootfs-kernel order if ($arg{p}) { $kern = Pad($kern, 0x10c, $arg{s} * 1024); my $dummy_root = pack('a4NN', 'gOtO', length($kern)+12, length($root)+Padlen(length($root), $arg{s} * 1024) ); $kern .= $root; $root = $dummy_root; } bcmImage($kern, $root);