Commit Graph

46 Commits

Author SHA1 Message Date
Matt Weber
6ea9f662a0 defconfigs: use BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_
For defconfigs that create a boot script, add the host package
uboot-tools and update the script variable names.

Add BR2_PACKAGE_HOST_UBOOT_TOOLS=y just before the existing
BR2_TARGET_UBOOT_BOOT_SCRIPT option. Note that for the defconfigs that
are not manually formatted (i.e. just the result of 'make
savedefconfig'), this puts them in the wrong place. However, it's easier
this way, and it's more consistent in general to have the definition of
the script close to BR2_TARGET_UBOOT itself.

Special cases:
- nanopi_* had the definition of the _SCRIPT variable in a weird place.
  These are moved to close to BR2_TARGET_UBOOT.
- Same for orangepi_plus.
- orangpi_pc_* already had BR2_PACKAGE_HOST_UBOOT_TOOLS=y so it's not
  added there.

Related to db2b684126

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2020-10-07 21:23:28 +02:00
Thomas Petazzoni
fbdef3e0a5 configs/nitrogen6x: Linux needs host-openssl
The kernel configuration used for the nitrogen6x defconfig needs
host-openssl.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/674934098

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-08-08 19:59:32 +02:00
Gary Bisson
ce661da800 configs/nitrogen*: bump u-boot revision
Changelog:
- Add Android security features support (AVB, BCB)
- Add HAB security support (+ helper scripts)
- Integrate Nano BootROM issues workaround
- Add MIPI to LVDS converter support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-07-16 22:24:33 +02:00
Gary Bisson
38fa2e89e6 configs/nitrogen*: bump kernel version to 5.4.x_2.1.0
- based on NXP imx_5.4.24_2.1.0 release
- includes latest stable releases, hence 5.4.x naming
- includes support for all Boundary Devices platforms + accessories

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-07-16 22:24:16 +02:00
Gary Bisson
d401d7cbd0 configs/nitrogen*: bump u-boot revision
Latest bump introduced a regression for Nitrogen8MM, now fixed.

Changelog:
- Fix Nitrogen8MM SPL regression
- Add multi-rank lpddr4 training support
- Improve fastboot support
- Add Android AVB / BCB support

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/517918160

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-23 23:37:42 +02:00
Gary Bisson
7d17243707 configs/nitrogen*: bump u-boot revision
Changelog:
- fix serial# variable creation for i.MX8MQ/MM/MN
- improve display selection
- fix fastboot support for boards with 1GB of RAM only
- add BD Nano board support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-18 15:32:14 +02:00
Gary Bisson
85025a94b2 configs/nitrogen*: bump kernel revision
Changelog:
- fix PMIC issue for i.MX8MMini
- add support for MCP25xxFD SPI to CAN chip
- fix external module build issue for GCC >= 9
- add BD Nano board support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-18 15:32:05 +02:00
Gary Bisson
e5fec81a21 configs/nitrogen*: bump u-boot to 2018.07
Changelog summary:
- Various fixes all over
- Updated LPDDR4 timings for i.MX8M
- Support of UUU recovery tool
- Added support for i.MX8MMini, i.MX8MNano

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-26 21:47:43 +01:00
Romain Naour
c623d89b4b configs:nitrogen{6sx, 6x, 7, 8m}: fix typo in kernel headers version
A typo has been introduced during the last version bump [1].

[1] 00252b101a

Fixes:
[nitrogen6sx]
https://gitlab.com/buildroot.org/buildroot/-/jobs/454255632
[nitrogen6x]
https://gitlab.com/buildroot.org/buildroot/-/jobs/454255635
[nitrogen7]
https://gitlab.com/buildroot.org/buildroot/-/jobs/454255638
[nitrogen6m8]
https://gitlab.com/buildroot.org/buildroot/-/jobs/454255640

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Gary Bisson <bisson.gary@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-03-01 08:30:56 +01:00
Gary Bisson
00252b101a configs/nitrogen*: bump kernel version to 4.14.x_2.0.0_ga
Also add Nitrogen8M SOM device trees.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2019-12-31 16:28:26 +01:00
Gary Bisson
505ae63b60 configs: nitrogen*: bump u-boot version to 2017.07
Also include new boot scripts to match standard distro uboot commands.

Our previous 6x_bootscript and 6x_upgrade used custom variables and
their naming don't make sense now that we target more than i.MX6 CPU.

Therefore those old scripts are marked as legacy and kept for now but
the goal is to deprecate and remove them later.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2018-01-07 15:48:56 +01:00
Gary Bisson
8484084dcb configs: nitrogen*: bump kernel version to 4.9.x_1.0.0_ga
Currently based upon 4.9.74 stable release.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2018-01-07 15:48:21 +01:00
Gary Bisson
0401a61eb6 configs/nitrogen*: bump kernel and u-boot revisions
Here are the main U-Boot modifications:
- Rebase on top of mainline 2017.03 release
- Fix sparse image flashing issues

Here are the main Linux modifications:
- Add mma8451 driver support
- Fix possible TiWi spurious interrupts issue
- Fix Ethernet interrupt parent issue
- Add USB Type C TUSB320 controller support
- Add SOM2 i.MX6DL and i.MX6QP variants

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-22 15:17:58 +02:00
Gary Bisson
93e11be016 configs: nitrogen*: bump kernel and u-boot revisions
Here are the main U-Boot modifications:
- Fix second Ethernet port for SoloX
- Fix LCD disable sequence
- Fix LVDS2 as primary display

Here are the main Linux modifications:
- Rebase on top of NXP 4.1.15_2.0.0 branch
- Fix touch screens interrupt conflicts
- Backport tw686x features from mainline
- Fix multiple ft5x06 touch instantiation
- Fix dirty cow vulnerability
- Various improvements to TC358743 driver

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-01-24 19:54:57 +01:00
Gary Bisson
14b24726a8 configs: nitrogen*: bump kernel and u-boot revision
Here are the main U-Boot modifications:
- Add Spansion flash support
- Add secure boot (HAB) support

Here are the main Linux modifications:
- Add HDMI2CSI 75Hz support
- Add KD024FM display support
- Fix PCIe reset gpios in device tree
- Backport xhci fixes from mainline
- Fix SOM PHY address bug
- Enable IPU Prefetch engine for 6QP
- Fix ft5x06 touch bug

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-26 10:27:58 +02:00
Gary Bisson
341bc36d22 configs: nitrogen*: enable VFP and NEON support
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-17 12:36:18 +02:00
Gary Bisson
eb07df72b5 configs: nitrogen*: bump kernel and u-boot version for m4 support
Also adding the '-m4' device tree blobs which allow to disable the
peripherals that are used by the Cortex-M4.

The 6x_bootscript is already setup to load the '-m4' dtb if m4enabled
u-boot variable is set to 1.

The FreeRTOS BSP for both Nitrogen6SX and Nitrogen7 can be found here:
https://github.com/boundarydevices/freertos-boundary

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-08-03 22:28:17 +02:00
Gary Bisson
a8e42c6369 configs: nitrogen*: bump u-boot version to v2016.03
Using the latest commit of our 2016.03 U-Boot branch:
https://github.com/boundarydevices/u-boot-imx6/tree/boundary-v2016.03

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-27 21:26:39 +02:00
Gary Bisson
a15a355add configs: nitrogen*: bump kernel version to 4.1.15_1.0.0_ga
Using the latest commit of our 4.1.15 kernel branch:
https://github.com/boundarydevices/linux-imx6/commits/boundary-imx_4.1.15_1.0.0_ga

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-27 21:26:39 +02:00
Thomas Petazzoni
5c67cb1d04 linux: use zImage by default on ARM
Since quite some time, the kernel and bootloader communities consider
zImage as the default format for kernel images on ARM, replacing
uImage. The load address information in uImage is no longer needed,
since the kernel is position-independent in terms of physical address,
except on a few old platforms. For most people, using zImage is simply
better/simpler, so let's switch to zImage as the default image format
on ARM.

All defconfigs are updated: 46 defconfigs no longer need to select
explicitly zImage because it's the default, and 16 defconfigs now need
to explicitly select uImage because that's no longer the default.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Acked-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-04-05 22:23:54 +02:00
Gary Bisson
78588a6395 configs: nitrogen*: bump kernel version to 3.14.52-1.1.0_ga
Also add device tree of our Nitrogen6_Max QuadPlus version:
https://boundarydevices.com/product/nitrogen6max/

As well as our latest SOM version:
https://boundarydevices.com/product/nit6x-som-v2/

Using the latest commit of our 3.14.52 kernel branch:
https://github.com/boundarydevices/linux-imx6/commits/boundary-imx_3.14.52_1.1.0_ga

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-19 14:59:16 +01:00
Gary Bisson
85721034ae board/boundarydevices: rename folder and update readme
It didn't make sense to keep the U-Boot scripts and post build/image
scripts under the nitrogen6x folder since they apply for all our
platforms.

Also update the readme.txt to make it clearer which defconfig should
be used depending on the platform targeted.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-03 17:42:14 +01:00
Yann E. MORIN
674e099678 defconfigs: all use the headers from the kernel
For most defconfigs, it was trivial to deduce the kernel version, by
just reading the version string, which could be:
  - a standard upstream version string vX.Y.Z
  - a non-standard version string, but still containg the standard X.Y.Z

Those for which it was not so trivial were those hosted on git tree.
Since most were already using a custom linux-headers version, it could
be easily deduced from that. It was confirmed by browsing said git trees
and check the version there.

There are a few cases were there was a mismatch:

  - microzed:     uses a 3.18 kernel, but 3.8 headers; fixed.
  - xilinx_zc706: uses a 3.14 kernel, but 3.8 headers; fixed.
  - zedboard:     uses a 3.18 kernel, but 3.8 headers; fixed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-06 10:59:15 +01:00
Gary Bisson
9f181872da configs/nitrogen6*: bump kernel version
Update to latest boundary-imx_3.14.28_1.0.0_ga commit which brings the
following additions:
- Fix cache functions export when !MULTI_CACHE
https://github.com/Freescale/linux-fslc/commit/6325d57
  - Mandatory for Vivante kernel module
- Add TW686x video decoder support
- Fix OV5642 subdev/capture driver conflict
- Add GSLX680 touchscreen support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-01 21:52:00 +01:00
Gary Bisson
7df1e23cc6 configs/nitrogen6*: update to use genimage
Also updating the documentation with the dd instruction to flash the
bootable media.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-01-31 21:03:55 +01:00
Gary Bisson
5e51be2ecc nitrogen6*_defconfig: bump u-boot and kernel revisions
This update brings several improvements such as:
- switch to a generic Boundary defconfig
  - same across all the Boundary Devices platforms
- support of HDMI to MIPI daugther board
https://boundarydevices.com/product/bd_hdmi_mipi/
- enhanced display support
  - LCD ASIT500MA6F5D
  - LCD A030JN01
  - HDMI 480p

For a complete list of changes:
https://github.com/boundarydevices/linux-imx6/commits/d7a412b
https://github.com/boundarydevices/u-boot-imx6/commits/a4070a8

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-19 22:33:36 +02:00
Gary Bisson
e4ca7850ad nitrogen6*_defconfig: switch to zImage
As now using zImage/bootz in the 6x_bootscript.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-19 22:33:36 +02:00
Gary Bisson
b8e9b97570 nitrogen6x_defconfig: bump version to 3.14.28-1.0.0
U-Boot version is updated to v2015.07.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-19 15:40:43 +02:00
Gary Bisson
5140658c1a board/boundarydevices: rework and update u-boot scripts
Those scripts are executed by u-boot in order to detect the hardware
configuration (board, displays etc...), configure the bootargs and
device tree accordingly or update the bootloader located in NOR flash.

This update is necessary due to the kernel bump to version 3.10.53.

The rework consists of replacing the binaries by their text file
equivalent and generate the binaries from the post-build.sh script.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-11 13:04:48 +02:00
Gary Bisson
82c76fbfe6 nitrogen6x_defconfig: bump version to 3.10.53_1.1.1_ga
Also update the dtb files to be generated.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-11 13:04:34 +02:00
Jérôme Pouiller
b91a603e7b nitrogen6x_defconfig: bump kernel to 3.10.17_1.0.1_ga
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-01 22:57:19 +02:00
Peter Korsgaard
2b8937f238 nitrogen6x_defconfig: bump linux kernel
To the latest commit on the 3.10 branch. Also lock the kernel headers to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-24 10:15:25 +02:00
Peter Korsgaard
ef9b4fb5c2 nitrogen6x_defconfig: bump u-boot version
To the 2014.07 release. For furture details, see:

http://boundarydevices.com/u-boot-2014-07-release-mx6-boards/

Also update our 6x_upgrade script to the version from that page so the
entire SPI flash gets erased (otherwise it fails on big u-boot builds) and
document how to perform the upgrade.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

u-boot fixup
2014-09-24 10:15:25 +02:00
Peter Seiderer
bb34fe9af3 nitrogen6x_defconfig: bump u-boot to version 63ae4a5
Bump u-boot to latest version binary provided by Boundary Devices ([1]).

This version is only 6 commits behind the head of the git production
branch ([2]) recommended by Boundary Devices ([3]).

Tested on nitrogen6q-rev3 board.

[1] http://commondatastorage.googleapis.com/boundarydevices.com/u-boot-production.tar.gz
[2] https://github.com/boundarydevices/u-boot-imx6/commits/production
[3] http://boundarydevices.com/i-mx6-frequently-asked-questions-and-answers/#latest-uboot

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-08-11 22:52:17 +02:00
Eric Nelson
9ba15d9624 nitrogen6x: include .dtb files for compatible variants
The Boundary Devices Nitrogen6X comes in a number of variants
with different processors, and the kernel and userspace is
compatible with the SABRE Lite (BD-SL-i.MX6), Nitrogen6_Lite,
and Nitrogen6_Max boards.

This patch adds support for these boards through the
corresponding .dtb files.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-15 23:11:15 +02:00
Gary Bisson
d8bbfe759e nitrogen6x: bump kernel version to 3.10.17
Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-15 23:10:28 +02:00
Peter Korsgaard
591bed40ff nitrogen6x: fixup linux tarball setting
A terminating '"' was missing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-27 08:18:52 +02:00
Eric Nelson
70752244a2 nitrogen6x: bump kernel to latest version (3.0.35-4.1.0)
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-26 21:17:34 +02:00
Peter Korsgaard
844c52ecd4 nitrogen6x: u-boot: use imx format to match bootscript
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-26 21:13:21 +02:00
Eric Nelson
f368f2d19b nitrogen6x: bump U-Boot to latest production version (2013.07)
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-26 21:11:03 +02:00
Peter Korsgaard
7219dfa275 nitrogen6x: get rid of ext2 rev 1 notice now we can create it directly instead
And update the defconfig to do so.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-12 15:02:18 +02:00
Peter Korsgaard
2f43a9105d nitrogen6x_defconfig: drop double linux tarball location
Somehow the old setting wasn't dropped in 184850a42 (bump u-boot /
linux versions to current stable).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 10:10:48 +02:00
Peter Korsgaard
184850a423 nitrogen6x_defconfig: bump u-boot / linux versions to current stable
As described on http://boundarydevices.com/u-boot-branches-for-i-mx6-april-2013/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-09 16:36:21 +02:00
Peter Korsgaard
e5435f00d7 nitrogen6x_defconfig: bump kernel version
To boundary-L3.0.35_12.09.01_GA branch.

See http://boundarydevices.com/october-freescale-releases-for-i-mx6/
for details.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-19 13:03:50 +02:00
Arnout Vandecappelle
f85b682a52 nitrogen6x_defconfig: Use tarball from github instead of cloning git
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-08 21:29:23 +02:00
Peter Korsgaard
913b916567 configs: add defconfig for boundarydevices nitrogen6x board
http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/

And post-build hook for u-boot scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-24 22:51:44 +02:00