aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
Commit message (Expand)AuthorAgeFilesLines
* kernel: modularize bridge netfilter support a bit further to get rid of some ...Felix Fietkau2016-08-031-4/+19
* kernel: remove switch driver kmod packagesFelix Fietkau2016-08-031-140/+0
* linux/modules: Add SCH5627 Super I/O chipsLucian Cristian2016-08-031-0/+16
* ppc4xx: remove booke-wdt watchdog packageChristian Lamparter2016-07-221-16/+0
* packages: fix bmp085-spi typoZoltan HERPAI2016-07-051-1/+1
* kernel: fix duplicate drivers for the PC speaker in one packageFelix Fietkau2016-07-031-3/+1
* kernel: other.mk: add pps-ldisc supportStephen Walker2016-06-301-0/+17
* package/kernel: Enable XATTR by defaultDaniel Dickinson2016-06-301-1/+3
* firmware: extract prism54-firmware into own packageHauke Mehrtens2016-06-301-16/+1
* kmod-bmp085: add dependency on !LINUX_3_18 !LINUX_4_1Alexander Couzens2016-06-291-1/+1
* modules: add BMP085 pressure sensorDirk Neukirchen2016-06-291-0/+48
* rtl8192su-firmware: move firmware to own packageHauke Mehrtens2016-06-251-17/+1
* modules: add missing module to ipsec descriptionDirk Neukirchen2016-06-061-0/+1
* kernel/spi: add kernel package for spi-omap-24xxAlexander Couzens2016-06-021-0/+17
* kernel: add random-omap rng for omapAlexander Couzens2016-06-021-0/+15
* add usb gadget ehci debug driverAlexander Couzens2016-06-011-0/+17
* kernel: fix dependency chain of kmod-igbJo-Philipp Wich2016-05-281-1/+1
* conntrack: enable support for netfilter conntrack zonesAlin Năstac2016-05-241-0/+1
* mvebu: enable core drivers in the kernel config instead of packaging themFelix Fietkau2016-05-215-72/+6
* kernel: define CONFIG_CPU_THERMAL in kmod-thermalFelix Fietkau2016-05-201-1/+1
* kernel: Build it87 hardware monitor moduleDaniel Dickinson2016-05-181-0/+14
* oxnas: move target-specific modules into target's modules.mkDaniel Golle2016-05-172-33/+0
* modules: hwmon: package driver for INA209 power monitorDaniel Golle2016-05-161-0/+15
* modules: hwmon: package driver for LTC4151 current sensorDaniel Golle2016-05-161-0/+14
* kernel: remove ocf support, cryptodev-linux should be used insteadFelix Fietkau2016-05-121-48/+0
* build: remove leftover dependenices on TARGET_rdcFelix Fietkau2016-05-121-1/+1
* x86/xen_domu: enable xen drivers in the kernel config instead of packaging th...Felix Fietkau2016-05-121-123/+0
* x86: remove the kvm_guest subtargetFelix Fietkau2016-05-121-48/+0
* linux: kmod-e100: use preconverted firmware filesJo-Philipp Wich2016-04-211-3/+3
* wireless: remove rtl8188eu (staging)John Crispin2016-03-201-18/+0
* wireless: add vendor dirsJohn Crispin2016-03-201-1/+3
* wireless: remove cisco airoJohn Crispin2016-03-201-16/+0
* Revert "kernel: Linux IP Virtual Server kernel modules (netfilter.mk patch)"Jo-Philipp Wich2016-03-111-54/+0
* kernel: Linux IP Virtual Server kernel modules (netfilter.mk patch)John Crispin2016-03-101-0/+54
* kernel: remove linux 4.3 supportFelix Fietkau2016-03-072-2/+2
* ramips: add linux 4.4 support, update mt7621 subtarget to 4.4Felix Fietkau2016-03-071-1/+6
* kernel: mpc85xx: fix build of kmod-usb2-fslHauke Mehrtens2016-03-051-9/+10
* kernel/gpio_keys: load module on pre-initJohn Crispin2016-02-261-1/+1
* kernel: crypto: add fsl CAAM packageJohn Crispin2016-02-251-0/+26
* kernel: fix chainiv crypto modules in 4.3+ kernelsSteven Barth2016-02-191-3/+4
* kernel: add mode backlight symbolsJohn Crispin2016-02-161-0/+1
* kernel: add missing symbol to usb-audioJohn Crispin2016-02-161-0/+1
* kernel: DSA is missing a OF dependend dep for mdioJohn Crispin2016-02-161-0/+3
* kernel: crypto-echainiv was missing depsJohn Crispin2016-02-161-0/+1
* kernel: add missing libphy dep to DSAJohn Crispin2016-02-151-0/+1
* kernel: MPLS did not exist prior to v4.4John Crispin2016-02-151-0/+1
* linux/crypto: Add echainiv module provided by 4.4 kernelsJohn Crispin2016-02-121-0/+12
* kernel: add dsa driver supportJohn Crispin2016-02-121-0/+136
* linux/netsupport: Add support for MPLS protocolJohn Crispin2016-02-121-0/+22
* kernel/modules: add kmod-ip6-vtiJohn Crispin2016-02-121-0/+16
span class="p">)." -c <chipid> : default $arg{c} -b <boardid> : default $arg{b} -s <size_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);