Commit Graph

71 Commits

Author SHA1 Message Date
Romain Perier f24c6b7b60 [armel/rpi] Add flavour for Raspberry Pi and Raspberry Pi Zero
Nowadays, Raspberry Pi 2 and Rasberry Pi 3 works perfectly fine with
Debian (including the official kernel package or the userland). RPi 1
and RPi Zero have an SoC that contains an armv6-based CPU, this means
that it cannot work with an hardfloat ABI, that is armv7 based. So we
have to use the Debian armel userland for this reason. Both boards are
supported in the mainline linux kernel and not being supported in the
debian-kernel package is the only blocking point that prevent RPI 1 and
RPI Zero from being well supported in an official Debian distribution.
This commit add a new kernel flavour for enabling support for the both
platforms.
2019-03-05 20:55:45 +01:00
Ben Hutchings 01900fbc73 Compile with gcc-8 on all architectures
Update the compiler dependencies for x86 to the first version of gcc-8
with retpoline support.
2018-08-28 22:32:10 +01:00
Ben Hutchings fcb558d168 Merge branch 'sid'
- Drop patches already in 4.16
- Overwrite changes on master to debian/installer, which were also
  applied on sid and then changed
- [x86] Fix up dell_smbios configuration; now it's a single driver
  selected by DELL_SMBIOS, with DELL_SMBIOS_{SMM,WMI} being boolean
  options
- Clean up configuration with kconfigeditor2
2018-04-19 14:43:33 +01:00
Ben Hutchings ba793f6361 [armel/marvell] linux-image: Replace supported model list with wiki link 2018-04-18 22:12:35 +01:00
Ben Hutchings 8fcefc201f debian/config: Remove redundant overrides of [build]signed-modules
We will keep signed-modules disabled by default, and only enable it on
architectures where it makes sense.
2018-04-08 10:30:15 +02:00
Roger Shimizu d192eb7555 [armel] Change size limit of armel kernel image back to 2097080
Reduce armel image size by:
- Set CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
- Change MTD, MTD_CMDLINE_PARTS, RTC_DRV_MV, and SPI_ORION from
  built-in to module.
- Disable VT, ZSWAP, RD_BZIP2, and RD_LZMA.

So qnap support is back.

Thanks to Leigh Brown <leigh@solinno.co.uk> for his idea to disable VT.

(cherry picked from commit a4fdfa09ce)
2018-04-07 21:51:24 +09:00
Roger Shimizu a4fdfa09ce [armel] Change size limit of armel kernel image back to 2097080
Reduce armel image size by:
- Set CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
- Change MTD, MTD_CMDLINE_PARTS, RTC_DRV_MV, and SPI_ORION from
  built-in to module.
- Disable VT, ZSWAP, RD_BZIP2, and RD_LZMA.

So qnap support is back.

Thanks to Leigh Brown <leigh@solinno.co.uk> for his idea to disable VT.
2018-04-07 19:53:33 +09:00
Roger Shimizu ab4260743a Bring back armel build by extending the size limit for kernel image
Extend the size limit for kernel image, from 2097080 to 2729712.
This will break a few qnap devices, but keep other armel devices
running.

Also revert two commits that disabled armel previously:
- [2ed70eb] "Add empty featuresets for armel to help abiupdate script"
- [5f62872] "(Temporarily) disable armel kernel image build"

(cherry picked from commit b0a94d07b4)
2018-03-23 21:17:45 +09:00
Roger Shimizu b0a94d07b4 Bring back armel build by extending the size limit for kernel image
Extend the size limit for kernel image, from 2097080 to 2729712.
This will break a few qnap devices, but keep other armel devices
running.

Also revert two commits that disabled armel previously:
- [2ed70eb] "Add empty featuresets for armel to help abiupdate script"
- [5f62872] "(Temporarily) disable armel kernel image build"
2018-03-23 21:11:08 +09:00
Salvatore Bonaccorso 2ed70eb486 Add empty featuresets for armel to help abiupdate script
The abiupdate script bails out currently (since we disabled armel image
builds at least temporarily) with

	Retrieve config
	Traceback (most recent call last):
	  File "debian/bin/abiupdate.py", line 224, in <module>
	    Main(url, url_config, **kw)()
	  File "debian/bin/abiupdate.py", line 95, in __call__
	    self.update_arch(config, arch)
	  File "debian/bin/abiupdate.py", line 149, in update_arch
	    featuresets = config[('base', arch)]['featuresets']
	KeyError: 'featuresets'

Possibly this should be handled more gracefully in abiupdate itself, but
workaround the situation first by adding an empty featuressets and
explaining in the comment why we do not build images.

In the long run armel will disapear completely.

Gbp-Dch: Ignore
2018-02-21 21:07:39 +01:00
Salvatore Bonaccorso 5f628725c4 (Temporarily) disable armel kernel image build
The armel/marvell kernel size is growing to large and the compressed
image is over the limit.

Given the armel architecture will most likely not be part of Buster,
disable the image build.

Cf. https://lists.debian.org/debian-kernel/2018/01/msg00278.html
2018-02-17 23:15:58 +01:00
Ben Hutchings 5dfe04c507 Compile with gcc-7 on all architectures 2017-10-17 23:37:49 +01:00
Roger Shimizu 8d9993070b buildcheck.py: Add check for uncompressed Image size
Currently only armel/marvell flavour need this check
2017-09-02 00:30:02 +09:00
Roger Shimizu cb023ecab6 [armel] Note kernel size limit for Buffalo Linkstation
We don't know the actual limit for Linkstation device. The size
was taken from kernel of stock firmware.
2017-05-17 01:10:00 +09:00
Ben Hutchings cfe4a19c0d [armel,armhf,s390x,x86] linux-headers: Fix regression of multilib compiler support
Closes: #851481

I missed the linux-headers dependency overrides when updating to gcc-6.
2017-01-15 17:23:59 +00:00
Ben Hutchings 0fc64e32b2 [armel] Drop versatile flavour, which has been broken since version 4.5~rc4-1~exp1 2016-11-13 03:30:03 +00:00
Ben Hutchings e65d07eb2b [armel] Disable module signing for all flavours (fixes FTBFS)
We only build udebs for modules that will not be signed, but we don't
currently have a way to selectively build udebs for only some
flavours.
2016-06-19 19:36:05 +01:00
Ben Hutchings 2622600fec [armel,armhf,sh4] linux-image: Do not suggest fdutils
BLK_DEV_FD has *never* been enabled on any of these architectures!
The old arm/footbridge configuration did enable it and this suggestion
seems to be have been thoughtlessly copied over to these other
architectures.
2016-06-09 17:44:47 +01:00
Ben Hutchings 58c4f0eb74 [armel,armhf] Remove duplicate inclusion of debian/config/kernelarch-arm/config
It's already included by default, so we end up including it twice.
2016-05-18 04:34:31 +01:00
Ben Hutchings 516d9dac1d debian/config: Add config variable to control module signing in linux-signed
- Enable it by default
- Disable it for armel/marvell since signature verification is not enabled.
- Disable it for mips and mipsel so linux-signed can be uploaded without
  waiting for them to build
- Disable it for all architectures not in the main archive, as linux-signed
  won't support them (at least, not initially).

We don't need a variable to control signing of the image, because
we should do that for all flavours that have CONFIG_EFI_STUB=y.
2016-04-04 10:41:48 +01:00
Ben Hutchings 641aba8311 Compile with gcc-5 on all architectures 2016-02-15 18:48:03 +00:00
Ian Campbell efab9f0b2f [armel/marvell] Declare breaks against flash-kernel << 3.57~ 2016-02-08 09:20:43 +00:00
Ben Hutchings fac721e301 [armel] Fold config-reduced into config.marvell 2016-02-07 18:14:32 +00:00
Ben Hutchings 7f810117b9 [armel] Replace kirkwood and orion5x flavours with a 'marvell' flavour
Apply upstream patches from 4.5-rc1 to enable inclusion of orion5x in a
multiplatform build.

Merge configurations as well as possible.
2016-02-07 18:14:32 +00:00
Martin Michlmayr a53efced4f Add explanation about calculating maximum kernel sizes 2016-01-01 12:35:05 +00:00
Martin Michlmayr adc2665321 Add maximum kernel size for HP Media Vault mv2120 2016-01-01 12:35:05 +00:00
Martin Michlmayr 51e6b5576e Update maximum kernel size for armel/kirkwood
Since we're appending the DTB, we no longer have to consider the
machine ID.
2016-01-01 12:35:05 +00:00
Ian Campbell a3a2cdd1ac [armel] Update breaks on flash-kernel to anything earlier than 3.37 (Closes: #797878) 2015-10-04 13:52:18 +01:00
Ben Hutchings 0c20c49a4d [armel,sh4] linux-image: Recommend u-boot-tools rather than the obsolete uboot-mkimage package
svn path=/dists/trunk/linux/; revision=22868
2015-07-28 22:47:13 +00:00
Ben Hutchings b3b60bbdd1 [armel/orion5x] Increase maximum kernel image size to ~2 MB, removing support for DNS-323 (fixes FTBFS)
- Re-enable BLK_DEV_INTEGRITY, SCSI_UFSHCD, TCM_IBLOCK, AUDIT, USER_NS,
  PCI_QUIRKS, FTRACE, DEBUG_BUGVERBOSE, SECURITY
- Enable DYNAMIC_DEBUG, FRONTSWAP

svn path=/dists/trunk/linux/; revision=22562
2015-05-06 23:58:01 +00:00
Ian Campbell d993e8da2e [armel/kirkwood] Bump flash-kernel breaks to <<3.30~
Due to botched upload of 3.29~exp1 to unstable.

svn path=/dists/trunk/linux/; revision=22197
2014-12-13 15:54:06 +00:00
Ian Campbell de67493cd1 [armel/kirkwood] Add versioned breaks on flash-kernel << 3.29~
svn path=/dists/trunk/linux/; revision=22192
2014-12-13 09:23:17 +00:00
Ben Hutchings 4f1102baba [armel] Share config-reduced between kirkwood and orion5x
Move the config symbols not already set by kirkwood into config.orion5x

svn path=/dists/trunk/linux/; revision=22186
2014-12-10 19:38:02 +00:00
Ben Hutchings c853385790 [armel] Include size of appended DTBs in image size check
svn path=/dists/trunk/linux/; revision=22184
2014-12-10 16:50:18 +00:00
Ben Hutchings 7574db5487 [arm*] Update linux-headers-* dependency on linux-compiler-*-arm
svn path=/dists/trunk/linux/; revision=22069
2014-11-18 03:47:12 +00:00
Maximilian Attems cc574aa6f9 armel: drop ixp4xx
Image doesn't fit, old hardware, no one cares.

Suggested-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: maximilian attems <maks@debian.org>

svn path=/dists/trunk/linux/; revision=21875
2014-09-19 14:48:01 +00:00
Ben Hutchings c9e2ac6cae [armel] Remove obsolete mv78xx0 flavour
svn path=/dists/trunk/linux/; revision=21753
2014-08-29 21:41:18 +00:00
Ben Hutchings 5f5a7e85c6 [armel] Re-enable ixp4xx flavour
The last changes to config.reduced also allow ixp4xx to fit within
its limit again.

svn path=/dists/trunk/linux/; revision=21719
2014-08-09 19:18:16 +00:00
Ben Hutchings d37c253865 Merge install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image rules
The filename of the kernel image to be installed, and the stem of the
installed name, varies between architectures, so we define several
different rules to install it for different sets of architectures.
However the basic fact that we need to install this file in /boot does
not.

We also duplicate this name information in gencontrol.py and in
debian/config/{armel,armhf,sh4}/defines (used by buildcheck.py).

To address this:

* Define [image]install-stem and [build]image-file for each architecture
* Copy these settings to make-flags in gencontrol.py
* Copy [image]install-stem to the image-stem template variable in
  gencontrol.py
* Replace the per-architecture rules with a single rule using those
  make-flags

The per-architecture rules for ARM and PowerPC also installed DTB
and DTS files, respectively.  Include those commands in the single
rule with appropriate conditions around them.


svn path=/dists/trunk/linux/; revision=21253
2014-04-21 01:28:25 +00:00
Ben Hutchings 9b217501df Move image-file definitions from flavour to arch level
The image-file path could potentially vary between flavours but
currently doesn't.  buildcheck.py works either way.

svn path=/dists/trunk/linux/; revision=21251
2014-04-20 22:43:24 +00:00
Ben Hutchings 013ff4de45 [armhf] Enable SECURITY_APPARMOR, SECURITY_TOMOYO
These were disabled for armel in 3.2.1-1 due to size concerns, but
the armel config (now in kernelarch-arm) is shared by armhf.  Move
the overrides into a new armel-specific config.

svn path=/dists/trunk/linux/; revision=21231
2014-04-14 01:07:22 +00:00
Ben Hutchings 0206509812 [armel] Disable ixp4xx flavour (fixes FTBFS)
svn path=/dists/trunk/linux/; revision=21230
2014-04-14 01:04:22 +00:00
Ben Hutchings a0142417c0 Fold debian/config/armel/config-tiny into config.ixp4xx
Now that iop32x is gone, only ixp4xx needs these overrides.

svn path=/dists/trunk/linux/; revision=21229
2014-04-14 00:55:58 +00:00
Ben Hutchings 41e81b2bf0 Move common ARM config symbols from armel/config to kernelarch-arm/config
It is inconsistent and potentially surprising that armhf uses
armel/config as well as armhf/config.  Move the common config into a
new kernelarch-arm directory.

While we're at it, remove some redundant lines from both files.

svn path=/dists/trunk/linux/; revision=21221
2014-04-09 03:00:10 +00:00
Ben Hutchings 2e06c068d6 [armel] Remove iop32x flavour (fixes FTBFS)
I'm not about to fix it again, and no-one else seems to care for this
flavour any more.

svn path=/dists/trunk/linux/; revision=20972
2014-01-11 02:48:38 +00:00
Bastian Blank e6216f6f93 Use compiler name instead of Linux version in compiler meta-packages.
* debian/changelog: Update.
* debian/config: Specify new name of compiler meta-package.
* debian/templates
  - Rename compiler meta-packages.
  - Adjust description.

svn path=/dists/trunk/linux/; revision=20821
2013-11-24 08:56:56 +00:00
Ben Hutchings 08a7d92f2b [arm,x86,s390,s390x] Introduce linux-compiler meta-packages to allow use of foreign linux-headers packages with a native multilib compiler
svn path=/dists/trunk/linux/; revision=20799
2013-11-21 01:15:15 +00:00
Ben Hutchings 4e947b4113 [armel/{iop32x,ixp4xx}] Disable BPF_JIT, MEMCG, USER_NS to reduce kernel size
svn path=/dists/trunk/linux/; revision=20797
2013-11-21 01:14:15 +00:00
Ben Hutchings d934892944 [armel] Re-enable iop32x and ixp4xx flavours
All that config cleanup has brought them back under the size limit again
... for now ... with gcc-4.7.  (I don't have a gcc-4.8 cross-compiler
to check with.)

svn path=/dists/trunk/linux/; revision=20588
2013-09-09 05:09:07 +00:00
Ben Hutchings d58ea92ffd [armel] Disable iop32x and ixp4xx flavours (fixes FTBFS)
svn path=/dists/trunk/linux/; revision=20502
2013-08-15 21:46:42 +00:00