summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ptxdist: version bump 2019.10.1 -> 2019.11.0Robert Schwebel2019-11-094-15/+18
| | | | | | A new ptxdist version is out, use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* barebox: create the .ptxdist-defaultenv symlink in the build dirMichael Olbrich2019-11-0413-17/+17
| | | | | | | This avoids problems if the same git tree is used in local_src/ for multiple barebox packages. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-vexpress: remove installed filesMichael Olbrich2019-11-041-0/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x-mlo: actually remove images during 'clean'Michael Olbrich2019-11-041-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: vexpress: use only one core for bareboxMichael Olbrich2019-11-041-0/+1
| | | | | | Barebox does not start with more than one core. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-rpi2: don't add a suffix to the imagesMichael Olbrich2019-11-043-3/+3
| | | | | | It's not needed and now the files are actually removed during 'clean'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-mx6: actually remove images during 'clean'Michael Olbrich2019-11-041-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x: actually remove images during 'clean'Michael Olbrich2019-11-041-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x-mlo: sync with latest barebox templateMichael Olbrich2019-11-041-21/+20
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-am335x: sync with latest barebox templateMichael Olbrich2019-11-041-25/+26
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-common: sync with latest barebox templateMichael Olbrich2019-11-041-25/+28
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-rpi2: sync with latest barebox templateMichael Olbrich2019-11-041-20/+21
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-mx6: sync with latest barebox templateMichael Olbrich2019-11-041-20/+21
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-vexpress: sync with latest barebox templateMichael Olbrich2019-11-041-22/+23
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* v7a: barebox: version bump 2019.08.1 → 2019.10.0Ahmad Fatoum2019-11-0411-21/+83
| | | | | | | There's a new barebox in town. Upgrade to it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* v7a: barebox-common: add clean target that affects all bareboxesAhmad Fatoum2019-11-041-0/+9
| | | | | | | | Repeat what we did with barebox-common's oldconfig for clean stage as well: Running ptxdist clean barebox-common will now clean all bareboxes. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* v7a: barebox-common: modify oldconfig to affect all bareboxesAhmad Fatoum2019-11-042-1/+17
| | | | | | | | | With barebox updates, oldconfig needs to be rerun for every barebox in the BSP, to resync the configs. With this change this can be done at once by issuing a ptxdist oldconfig barebox-common. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* pre/barebox: remove code merged in upstreamRobert Schwebel2019-10-171-6/+0
| | | | | | | The change was merged in ptxdist-2019.06.0-49-g1019ebf97, so we can remove it from the BSP. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* networkmanager: remove ruleset that went upstreamRobert Schwebel2019-10-172-331/+0
| | | | | | | The changes made here have been merged in ptxdist-2019.10.0, so we can remove them from the BSP. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.09.0 -> 2019.10.1Robert Schwebel2019-10-174-72/+77
| | | | | | There is a new ptxdist version, so we update DistroKit to use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: enable virtio hardware random number generatorMichael Olbrich2019-09-302-1/+2
| | | | | | | This speeds up the first boot in qemu quite a bit when ssh keys are generated. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: disable -frecord-gcc-switchesMichael Olbrich2019-09-191-1/+1
| | | | | | | It breaks reproducible builds because temporary file names in the command-line change the build-id.change the build-id. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: use -fstack-protector-strongMichael Olbrich2019-09-191-2/+2
| | | | | | It's better than -fstack-protector and has similar overhead. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: Enable C++ standard library hardeningMichael Olbrich2019-09-191-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox-mx6: enable i.MX6 On Chip OTP controllerMichael Olbrich2019-09-192-1/+10
| | | | | | Barebox needs this to read the MAC addresse of the board. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: add support for Nitrogen6 MAXMichael Olbrich2019-09-194-1/+49
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-{rpi,v[78]a}: kernel: Update to 5.3Björn Esser2019-09-166-798/+1249
| | | | | | | Linux 5.3 is out, so we update the kernel to the new version. The config is oldconfiged with defaults. Signed-off-by: Björn Esser <b.esser@pengutronix.de>
* platform-{rpi,v[78]a}: toolchain version bump 2018.12.0 -> 2019.09.0Björn Esser2019-09-163-9/+9
| | | | | | A new OSELAS.Toolchain is out, with gcc-9.2.1 and glibc-2.30. Signed-off-by: Björn Esser <b.esser@pengutronix.de>
* NetworkManager: Use meson build-system.Björn Esser2019-09-133-70/+62
| | | | | | | | The Autotools-based build-system is deprecated and unsupported by upstream. The next release of NetworkManager may drop Autotools completely. Signed-off-by: Björn Esser <b.esser@pengutronix.de>
* rules: Add networkmanager rules from ptxdist-2019.09.0 release.Björn Esser2019-09-132-0/+341
| | | | | | | | We need to modify these files for using Meson as the build-system, because using Autotools is deprecated upstream and leads to a race-condition, which makes the build fail randomly. Signed-off-by: Björn Esser <b.esser@pengutronix.de>
* platform-{rpi,v7a}: Update firmware for raspberrypi (2019-09-09).Björn Esser2019-09-1118-0/+0
| | | | | This firmware was taken from the official firmware repository at: https://github.com/raspberrypi/firmware/commit/3bba1909a004fb34d5b01db2c319976f33d8eb1d
* opkg-utils: remove local patchesMichael Olbrich2019-09-107-224/+0
| | | | | | | This was a backport from PTXdist upstream. The patches are identical to the patches in the current PTXdist version. The local copy is no longer needed. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: version bump 2019.08.0 -> 2019.09.0Robert Schwebel2019-09-054-12/+18
| | | | | | A new ptxdist version is out, use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: version bump 2019.07.0 → 2019.08.1Roland Hieber2019-08-2111-20/+378
| | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox: version bump 2019.06.1 -> 2019.07.0Ahmad Fatoum2019-08-2111-20/+34
| | | | | | | | | Particularly relevant in this release is the v5.2 device tree sync which is a prerequisite for the incoming STM32MP1 support. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Tested-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2019.07.0 -> 2019.08.0Robert Schwebel2019-08-124-8/+10
| | | | | | A new ptxdist version is out, so we migrate Distrokit. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: deactivate CONFIG_VALIDATE_FS_PARSERRobert Schwebel2019-08-062-2/+2
| | | | | | | | The filesystem parameter description parser validation is not useful except when working on the mount interface and prints confusing messages during boot. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi, platform-v7a: kernel: version bump 5.1 -> 5.2Robert Schwebel2019-07-096-133/+491
| | | | | | | | | | | Linux 5.2 is out, so we update the kernel to the new version. The config is mostly oldconfiged with defaults, but we enable CONFIG_NULL_TTY and CONFIG_COUNTER. The OMAP hardware random number generator was applied in the upstream kernel, so we can remove it here. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox-rpi2: enable BCM283X_SDHOSTRoland Hieber2019-07-092-1/+2
| | | | | | | | | | | | Since barebox v2019.06.0 [1], there is now an driver for the sdhost on the RPi 3, and the sdhost/sdhci pin-swapping workaround in the RPi 3 device tree was undone again [2]. Therefore we now need to build the sdhost driver so the RPi 3 barebox can read SD cards again. [1]: barebox commit d6d3d0aecece84afe9eb ("mci: add driver for BCM283x sdhost core") [2]: barebox commit 9036d1db4d4a9a61bcda ("ARM: rpi3: remove swapped sdhci and sdhost") Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox: version bump 2019.03.0 -> 2019.06.1Roland Hieber2019-07-0911-30/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | Just a simple oldconfig with default values for all variants with the help of ./scripts/update-diffs-v7a.sh. Changes in config symbols: * BAREBOX_MAX_PBLX_SIZE was removed in v2019.04.0 because pblx was removed. The maximum file size is now instead determined by BAREBOX_MAX_IMAGE_SIZE. [1] * The m25p80 driver was refactored to use the spi_mem API [2] (affects am355x and mx6) * The ARMv8 clocksource can now also work with ARMv7 timers, so it is auto-enabled by kconfig since barebox v2019.05.0. [3] * GPIO_BCM283X was replaced by PINCTRL_BCM283X in v2019.04.0. [4] * CRC16 was replaced by CRC_ITU_T in v2019.04.0 [5], but since it has no prompt in the menu and it is actually not selected by anyone except on am335x-mlo, it now stays disabled in the other variants. Relevant barebox commits: [1]: 9e72ea7a006cd0931913 ("images: pbl: verify CONFIG_BAREBOX_MAX_IMAGE_SIZE is not exceeded" [2]: 80b6b874944d7982e6c7 ("mtd: devices: m25p80: use the spi_mem_xx() API") [3]: dece707522434d5c8eb3 ("clocksource: Enable architected timer support for CPU_V7") [4]: be717102c8ba2d0ea022 ("pinctrl: bcm2835: move existing code from gpio.") [5]: 74de1afbd2ed4262d410 ("crc: import crc_itu_t() from kernel") Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* kernel: enable UTS_NSRobert Schwebel2019-07-083-3/+3
| | | | | | systemd requires UTS_NS, so enable it in the kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate from version 2019.06.0 to 2019.07.0Roland Hieber2019-07-084-10/+25
| | | | | | Keep all new features on their default values for now. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-vexpress: slim down config diffRoland Hieber2019-06-052-140/+113
| | | | | | | | | | | | | | | | | | | * don't disable common features unnecessarily: enable the features BZLIB, FS_FAT_LFN, FS_FAT_WRITE, FS_NFS, HWRNG, I2C, LED, LED_TRIGGERS, LZO_DECOMPRESS, MENU, NET_USB*, PINCTRL, REGULATOR, SPI, USB, USBGADGET_START, USB_EHCI, USB_GADGET, USB_GADGET_AUTOSTART, USB_GADGET_SERIAL, USB_HOST, USB_STORAGE WATCHDOG, XZ_DECOMPRESS, ZLIB, and the commands mmuinfo, bootz, clk, cmp, i2c, imd, led, trigger, let, ln, memtest, menu, menutree, mm, msleep, of_node, of_property, readf, regulator, sha1sum, spi, state, time, usb, usbgadget, and wd. All of those are enabled in the barebox-common config too, and make sense to have on a generic barebox. * repair compile log level < default log level by using the defaults * disable unneeded features: - CMD_LOADB: no one uses kermit these days Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-rpi2: slim down config diffRoland Hieber2019-06-052-180/+165
| | | | | | | | | | | | | | | | | | | | | * don't disable common features unnecessarily: enable the features BOOTM_*, BZLIB, DRIVER_SPI_GPIO, HWRNG, I2C, I2C_GPIO, IMD, LED_GPIO_OF, LZO_DECOMPRESS, MCI_MMCI, MTD, NET, NET_NFS, NET_RESOLV, NET_IFUP, NET_DHCP, NET_USB_*, OF_BAREBOX_DRIVERS, OF_NET, PINCTRL, RESET_SOURCE, STATE, USB_EHCI, USB_GADGET_SERIAL, USB_HOST, USB_STORAGE, XZ_DECOMPRESS, ZLIB, and the commands cmd, dhcp, host, i2c, imd, ip-route-get, led, trigger, memtest, ping, regulator, sha1sum, spi, state, tftp, and usb. All of those are enabled in the barebox-common config too, and make sense to have on a generic barebox. * repair compile log level < default log level by using the defaults * disable unneeded features: - CMD_LOADB: no one uses kermit these days - BAREBOXENV_TARGET: should come from a common barebox-tools package - CMD_MENU_MANAGEMENT: not used - PASSWORD: not used Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-mx6: slim down config diffRoland Hieber2019-06-052-40/+27
| | | | | | | | | | | | * don't disable common features unnecessarily: enable the features BZLIB, DRIVER_SPI_GPIO, I2C_GPIO, NET_NFS, STATE, XZ_DECOMPRESS, and the commands bootz, cmp, defaultenv, sha1sum, and state. All of those are enabled in the barebox-common config too, and make sense to have on a generic barebox. * repair compile log level < default log level by using the defaults * disable unused features (CMD_MENU_MANAGEMENT) Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-am335x: slim down config diffRoland Hieber2019-06-052-79/+49
| | | | | | | | | | | | | | | | | * don't disable common features unnecessarily: enable the features BZLIB, DRIVER_SPI_GPIO, HWRNG, I2C_GPIO, IMD, NET_USB*, REGULATOR, STATE, USB_EHCI, USB_HOST, XZ_DECOMPRESS, ZLIB, and the commands cmp, defaultenv, imd, memtest, regulator, sha1sum, state, and usb. All of those are enabled in the barebox-common config too, and make sense to have on a generic barebox. * repair compile log level < default log level by using the defaults * now that USB_HOST is enabled, MUSB_HOST makes sense too * disable unneeded features: - CMD_LOADB: no one uses kermit these days - FIT image support: not used - initrd support: not used Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: bareboxes: use config diffs with the common reference configRoland Hieber2019-06-059-0/+721
| | | | | | | | | | | | | | Make it easier to maintain a common set of features and also review the device-specific changes between all the barebox variants by using the config diff mechanism which has been available since PTXdist 2019.01.0. No barebox config was harmed in the making of this patch, only their difference to the common reference config was computed. Also add a helper script to regenerate the config diffs after the common config was changed. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: bareboxes: use shared settings from the barebox-common packageRoland Hieber2019-06-0511-39/+15
| | | | | | | | | | | As implemented in the previous commit, the barebox version and MD5 can be reduced to one entry in the menu. Also do the same for the host-lzop dependency, which will be needed for every barebox package when using the common reference config. Be sure to depend on the new barebox-common package so the barebox packages are rebuilt when the version and MD5 variables change. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-common: add a common reference config for all barebox variantsRoland Hieber2019-06-054-0/+853
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This package serves multiple purposes: * Make the barebox version and MD5 for all used barebox variants configurable with just one menu entry. * Have a common barebox configuration with a baseline feature set, which can be used by all barebox-* variants as a reference config with the config diff functionality introduced in PTXdist 2019.01.0. The common config is currently based on ARCH_BCM283X, which seems to generate the smallest config diff for all the existing device-specific barebox configs (which will be adapted in the next commits). The new barebox-common package only exists for the ability to call "ptxdist menuconfig" on it in order to change the common config. It isn't meant to build or install anything, so the compile, install and targetinstall stages can be no-ops. Also make sure that the menu entry for the common configuration is listed before all other barebox variants by naming the kconfig file appriopriately. Since the barebox-common config uses LZO image compression, depend on host-lzop too. Then configure it to use the version which is currently used for all other variants in the v7a platform. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* pre/barebox: barebox-url: only use <PKG>_VERSION to build the URLRoland Hieber2019-06-051-0/+6
| | | | | | | | | | | | | | | | | | | | When adding another barebox package to a BSP, e.g. named barebox-foo, the BAREBOX_FOO variable will contain "barebox-foo-$(VERSION)". This variable is used to build BAREBOX_DIR, BAREBOX_SOURCE, and BAREBOX_FOO_URL. We must to keep the customized package postfix in the build directory, but in the latter case, the -foo postfix is transferred into the URL, which will lead to errors while downloading the source. We actually only need the barebox version to download the source tarball, so use a static "barebox-" string to build the barebox/url macro and also the BAREBOX_FOO_SOURCE variable in the package template, so the same tarball isn't downloaded multiple times with different names. Forwarded: https://www.mail-archive.com/ptxdist@pengutronix.de/msg14535.html Signed-off-by: Roland Hieber <rhi@pengutronix.de>