Compare commits

...

919 Commits
1.6 ... master

Author SHA1 Message Date
github-actions[bot]
68d47bf4dd Auto-update LICENSE file with current recipe licenses 2025-06-28 01:15:34 +00:00
Otavio Salvador
ec90d78363
Merge pull request #322 from hiagofranco/add-whinlatter
layer.conf: update for the whinlatter release series
2025-06-22 22:18:12 -03:00
Hiago De Franco
ef479f49f6 layer.conf: update for the whinlatter release series
Fix current error:
ERROR: Layer freescale-3rdparty is not compatible with the core layer
which only supports these series: whinlatter (layer is compatible with
styhead walnascar)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-06-22 13:00:38 -03:00
github-actions[bot]
56520e0c84 Auto-update LICENSE file with current recipe licenses 2025-06-10 01:17:45 +00:00
github-actions[bot]
830132b295 Auto-update LICENSE file with current recipe licenses 2025-05-17 01:13:35 +00:00
Otavio Salvador
e7ce12ee3a
Merge pull request #320 from MaxKrummenacher/master
Some checks failed
Update LICENSE file / update-license (push) Has been cancelled
recipes: fix whitespace warnings
2025-04-26 17:08:53 -03:00
Max Krummenacher
dff0b3ea38 recipes: fix whitespace warnings
Since OE bitbake commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage"), the current build generates the following
warning (as example):

| WARNING: .../meta-freescale-3rdparty/recipes-bsp/atf/qoriq-atf_1.5.bb:34 has a lack
| of whitespace around the assignment: 'export CROSS_COMPILE="${TARGET_PREFIX}"'

Fix all the warnings.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-04-26 12:08:07 +02:00
github-actions[bot]
4432ec34de Auto-update LICENSE file with current recipe licenses 2025-04-24 01:12:40 +00:00
github-actions[bot]
4d01dd8e95 Auto-update LICENSE file with current recipe licenses 2025-02-27 01:06:36 +00:00
github-actions[bot]
b901d2c1d2 Auto-update LICENSE file with current recipe licenses 2025-02-13 01:05:10 +00:00
github-actions[bot]
45c476218d Auto-update LICENSE file with current recipe licenses 2025-01-23 01:03:35 +00:00
Otavio Salvador
627381007d treewide: Remove all references to SRC_URI[md5sum] hashes
Some checks failed
Update LICENSE file / update-license (push) Has been cancelled
Drop md5sum check as  no longer mandated in Yocto Project.

SRC_URI[md5sum] used to also be commonly used, but it is deprecated and
should be replaced by SRC_URI[sha256sum] when updating existing recipes. See:

 - https://docs.yoctoproject.org/dev/singleindex.html#fetching-code
 - https://docs.yoctoproject.org/dev/singleindex.html#src-uri-checksum-behaviour

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2025-01-13 17:21:58 -03:00
github-actions[bot]
774ca54bc0 Auto-update LICENSE file with current recipe licenses 2024-12-09 01:13:07 +00:00
Otavio Salvador
6772a93fdb
Merge pull request #318 from dankm/dankm/unpackdir
Some checks failed
Update LICENSE file / update-license (push) Has been cancelled
Fix issues with the UNPACKDIR transition
2024-12-06 17:26:16 -03:00
Dan McGregor
d576b2f2f1 Fix issues with the UNPACKDIR transition
Update a few recipes to use UNPACKDIR instead of WORKDIR directly.
This fixes building against newer master openembedded-core.
2024-12-06 14:20:06 -06:00
Otavio Salvador
4026001c3e
Merge pull request #316 from svogl/master
colibri-imx6: honor vendor prefix in kernels >= 6.5
2024-12-06 14:04:31 -03:00
Simon Vogl
26ec279fd0 colibri-imx6: honor vendor prefix in kernels >= 6.5
Signed-off-by: Simon Vogl <simon@voxel.at>
2024-12-06 17:47:17 +01:00
Otavio Salvador
bc2a12c545
Merge pull request #314 from hellhound94/topic/fix-script
Changes in generate-license-file script
2024-12-04 10:20:20 -03:00
Abner C. Paula
3ee87aca07 generate-license-file: Move script to scripts folder
This commit also adds if condition to check license file change.
It is to avoid empty commits.

Signed-off-by: Abner C. Paula <abner.cordeiro@ossystems.com.br>
2024-12-04 09:33:39 -03:00
github-actions[bot]
2291cfad43 Auto-update LICENSE file with current recipe licenses 2024-11-12 15:54:41 +00:00
Otavio Salvador
660bef4a19
Merge pull request #311 from vishwamartur/master
Add workflow to auto-update LICENSE file with recipe licenses
2024-11-12 12:53:35 -03:00
Vishwanath Martur
457e365609 Add workflow to auto-update LICENSE file with recipe licenses 2024-11-12 15:12:59 +00:00
Otavio Salvador
9c5b6b0fbf
Merge pull request #308 from leon-anavi/master-olimex-imx8mp-lf-6.6.23-2.0.0
u-boot-imx_%.bbappend: Olimex iMX8MP-SOM-EVB-IND
2024-11-07 13:37:24 -03:00
Leon Anavi
18fabd470a u-boot-imx_%.bbappend: Olimex iMX8MP-SOM-EVB-IND
Update the u-boot-imx for Olimex iMX8MP-SOM-EVB-IND to the tag
lf-6.6.23-2.0.0, that is used in the NXP BSP LF6.6.23_2.0.0.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-11-07 17:58:44 +02:00
Otavio Salvador
cbd7ef91ad
Merge pull request #305 from YoeDistro/yoe/mut
layer.conf: Update to walnascar (5.2) layer/release series
2024-10-05 09:26:37 -03:00
Khem Raj
d6e0b49aac
layer.conf: Update to walnascar (5.2) layer/release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-04 19:21:12 -07:00
Otavio Salvador
00b2f3de14
Merge pull request #303 from MaxKrummenacher/master
layer.conf: Update to styhead
2024-09-09 08:18:39 -03:00
Max Krummenacher
348de865c2 layer.conf: Update to styhead
Drop all older release names as there have been potentially incompatible
changes, e.g. the S must not point to WORKDIR.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-09-09 09:34:14 +02:00
Otavio Salvador
30fa2c20d6
Merge pull request #301 from leon-anavi/olimex-imx8mp-evb-cleanup
olimex-imx8mp-evb clean up
2024-07-11 08:54:22 -03:00
Leon Anavi
2962836742 olimex-imx8mp-evb.conf: Configure use-nxp-bsp
Configure the default kernel as linux-fslc and the default
bootloader as u-boot-imx for machine olimex-imx8mp-evb.conf.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-07-11 08:52:40 +03:00
Leon Anavi
072cda9c7f linux-fslc-imx_%.bbappend: Remove
Clean up: remove linux-fslc-imx_%.bbappend and the patch for adding
imx8mp-olimex.dts because this is now included in the kernel repo.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-07-11 08:50:13 +03:00
Otavio Salvador
4e9d09981e
Merge pull request #300 from leon-anavi/master-olimex-imx8mp-uboot-improvements
u-boot-imx: 4GB RAM for Olimex iMX8MP SOM EVB IND
2024-07-10 13:04:03 -03:00
Leon Anavi
a44d03d8c7 u-boot-imx: 4GB RAM for Olimex iMX8MP SOM EVB IND
Update the Olimex iMX8MP SOM EVB IND configurations to make them
more independent from imx8mp_evk, and set the RAM to 4GB.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-07-10 17:09:24 +03:00
Otavio Salvador
b6f3e779cd
Merge pull request #299 from leon-anavi/master-olimex-imx8mp
Olimex i.MX8MP Improvements
2024-06-28 09:25:16 -03:00
Leon Anavi
246ef04b5d linux-fslc-imx: Update imx8mp-olimex.dts
Update imx8mp-olimex.dts patch for kernel 6.6. Align it with
imx8mp-evk.dts and apply the same changes on top of it as for
kernel lf-5.10.y-1.0.0 provided by Olimex in their builtroot
repository:
fcf7064d44

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-06-28 15:06:49 +03:00
Leon Anavi
3e5b9a3dff olimex-imx8mp-evb.conf: Use imx8mp-evk.dtb
Explicitly set UBOOT_DTB_NAME to imx8mp-evk.dtb and use this dtb
for U-Boot.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-06-28 15:06:45 +03:00
Otavio Salvador
d346feac8a
Merge pull request #298 from leon-anavi/master-olimex-imx8mp
Add support for Olimex iMX8MP-SOM-EVB-IND
2024-06-27 09:09:22 -03:00
Leon Anavi
9c95d8b19c conf/machine/olimex-imx8mp-evb.conf: Add machine
Add machine configuration for Olimex iMX8MP-SOM-EVB-IND.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-06-26 18:13:05 +03:00
Leon Anavi
aa7d5d2c3b linux-fslc-imx_%.bbappend: Olimex iMX8MP-SOM-EVB-IND
Add Linux device tree for Olimex iMX8MP-SOM-EVB-IND.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-06-26 18:12:38 +03:00
Leon Anavi
983cc0af32 u-boot-imx_%.bbappend: Olimex iMX8MP-SOM-EVB-IND
Add U-Boot defconfig for Olimex iMX8MP-SOM-EVB-IND based on the
existing configuration for imx8mp-evk.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-06-26 17:57:31 +03:00
Otavio Salvador
f2e8d77e55
Merge pull request #297 from chrisdimich/master
nitrogen8mm: add smarc_1gch1r0 uboot variant
2024-04-16 17:39:14 -03:00
Chris Dimich
7b6f125788 nitrogen8mm: add smarc_1gch1r0 uboot variant
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2024-04-16 13:21:24 -07:00
Otavio Salvador
8b61684f0b
Merge pull request #296 from chrisdimich/master
linux-boundary: bump revision to 7c4b671a
2024-03-28 15:45:23 -03:00
Chris Dimich
6f66ded506 linux-boundary: bump revision to 7c4b671a
boundary_defconfig changes.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2024-03-28 11:20:59 -07:00
Otavio Salvador
2e27133afd
Merge pull request #295 from chrisdimich/master
nitrogen8mp: add devicetree
2024-03-26 16:17:24 -03:00
Chris Dimich
422c5f57be nitrogen8mp: add devicetree
Nitrogen 8MP SMARC rpmsg version.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2024-03-26 12:02:58 -07:00
Otavio Salvador
ae392bf4c9
Merge pull request #294 from chrisdimich/master
linux-boundary: bump revision to 7a916058
2024-03-04 15:07:52 -03:00
Chris Dimich
ae7b1e1629 linux-boundary: bump revision to 7a916058
Mainly for nitrogen93 and nitrogen8ulp fixes.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2024-03-04 09:32:09 -08:00
Otavio Salvador
13f46cbb49
Merge pull request #293 from YoeDistro/yoe/mut
layer.conf: Update for the scarthgap release series
2024-02-15 08:04:23 -03:00
Khem Raj
78353f812d
layer.conf: Update for the scarthgap release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-14 15:30:45 -08:00
Otavio Salvador
baa33812b2
Merge pull request #292 from chrisdimich/master
Boundary: kernel and u-boot bumps
2024-01-23 11:23:18 -03:00
Chris Dimich
199970bea7 linux-boundary: bump revision to 376fc5832
Mainly for Nitrogen SMARC changes.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2024-01-22 20:12:33 -08:00
Chris Dimich
935954e3ea u-boot-boundary: bump revision to 1c699989
Mainly for mt8390_tungsten_smarc changes.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2024-01-22 20:07:59 -08:00
Otavio Salvador
7725256e38
Merge pull request #288 from chrisdimich/master
Master: linux-boundary: bump revision to 2ada7473
2023-12-01 14:46:39 -03:00
Chris Dimich
c54815f780 linux-boundary: bump revision to 2ada7473
Mainly for Nitrogen 8M Mini SMARC fixes.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-12-01 09:03:48 -08:00
Otavio Salvador
a9bba0f7fc
Merge pull request #287 from chrisdimich/master
nitrogen8mm and nitrogen8mp: add smarc uboot variants
2023-11-14 17:41:56 -03:00
Chris Dimich
cfb24c2a51 nitrogen8mm: add 8mm smarc uboot support
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-11-14 12:38:05 -08:00
Chris Dimich
f8bc5f5664 nitrogen8mp: add more smarc uboot variants
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-11-14 12:37:37 -08:00
Otavio Salvador
bf46965ca7
Merge pull request #286 from chrisdimich/master
nitrogen8m: remove 3g UBOOT_CONFIG
2023-11-07 20:41:08 -03:00
Chris Dimich
5b1f358093 nitrogen8m: remove 3g UBOOT_CONFIG
No longer supported defconfig.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-11-07 14:59:08 -08:00
Otavio Salvador
7be84be05d
Merge pull request #285 from chrisdimich/master
imx-atf-boundary: update to boundary-lf-6.1.22-2.0.0
2023-11-07 19:17:26 -03:00
Chris Dimich
3a283aee91 imx-atf-boundary: unexport variables instead of set in compile task
To match imx-atf:

https://github.com/Freescale/meta-freescale/blob/master/recipes-bsp/imx-atf/imx-atf_2.8.bb#L29-L33

ad889575ae

also fixes error:

bl31.elf section `coherent_ram' will not fit in region `RAM'
aarch64-poky-linux-ld.bfd: BL31 image has exceeded its limit.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-11-07 14:10:17 -08:00
Chris Dimich
4271bda58b imx-atf-boundary: Update to boundary-lf-6.1.22-2.0.0 branch (v2.8)
Update to the 2.8 version aligned with NXP BSP release L6.1.22-2.0.0.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-11-07 14:10:14 -08:00
Otavio Salvador
e0571a4956
Merge pull request #283 from twoerner/contrib/twoerner/32bit-dt-reorg
ARM 32-bit device-tree reorganization
2023-11-07 13:14:38 -03:00
Otavio Salvador
47d61868d2
Merge pull request #284 from chrisdimich/master
Boundary: update kernel, uboot, and nitrogen8mm conf
2023-10-31 18:20:03 -03:00
Chris Dimich
07412f73d1 u-boot-boundary: bump revision to 89df34f4
Notable Changes:

- Nitrogen8ULP support
- Nitrogen 8M Mini SMARC support

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-10-31 14:05:06 -07:00
Chris Dimich
aab4f38f1f linux-boundary: bump revision to f6aefb45
Notable Changes:

- Nitrogen8ULP support
- Nitrogen 8M Mini SMARC support

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-10-31 09:55:19 -07:00
Chris Dimich
ecd0ea78ec nitrogen8mm: add device trees
To support more board/carrier variants.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-10-31 08:15:28 -07:00
Trevor Woerner
3e2b24e184 ARM 32-bit device-tree reorganization
The 32-bit ARM device trees in the Linux kernel were reorganized in
a manner similar to how the 64-bit ARM device trees have always been
organized: by placing them in vendor+family subdirectories. Therefore
update the KERNEL_DEVICETREE definitions to match.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-31 10:02:01 -04:00
Otavio Salvador
bccd93f1ce
Merge pull request #281 from chrisdimich/master
Master: linux-boundary: bump revision to ba56160e
2023-09-18 14:03:32 -03:00
Chris Dimich
6b1d4ebac2 linux-boundary: bump revision to ba56160e
For 8mp Smarc rev1 fixes.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-09-18 09:43:55 -07:00
Otavio Salvador
40ac70ca3d
Merge pull request #280 from YoeDistro/yoe/mut
layer.conf: update LAYERSERIES_COMPAT for nanbield
2023-09-11 08:36:49 -03:00
Khem Raj
35190aef69 layer.conf: update LAYERSERIES_COMPAT for nanbield
* oe-core switched to nanbield in:
  https://git.openembedded.org/openembedded-core/commit/?id=f212cb12a0db9c9de5afd3cc89b1331d386e55f6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-10 14:18:52 -07:00
Otavio Salvador
b3be00d8c8
Merge pull request #275 from chrisdimich/master
u-boot-boundary: bump revision to 4c491b47
2023-08-26 09:37:30 -03:00
Chris Dimich
8292471154 u-boot-boundary: bump revision to 4c491b47
To support more touchscreens.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-08-25 16:26:06 -07:00
Otavio Salvador
93ba05e3a1
Merge pull request #272 from chrisdimich/master
boundary: add 8mp smarc uboot support
2023-08-04 16:48:09 -03:00
Chris Dimich
3ab0b127c0 nitrogen8mp: add 8mp smarc uboot support
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-08-04 11:58:22 -07:00
Chris Dimich
b3cca20779 u-boot-boundary: bump revision to 7e7eff74
Mainly to support 8mp Smarc.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-08-04 11:38:16 -07:00
Otavio Salvador
d74cee9aa0
Merge pull request #271 from chrisdimich/master
linux-boundary: fix LOCALVERSION
2023-08-02 17:58:18 -03:00
Chris Dimich
430b173321 linux-boundary: fix LOCALVERSION
Will print as:

6.1.22+yocto+g46a61156410f

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-08-02 13:28:02 -07:00
Otavio Salvador
95eef079cd
Merge pull request #270 from chrisdimich/master
linux-boundary: Upgrade to 6.1
2023-08-02 16:31:05 -03:00
Chris Dimich
8a142777a0 linux-boundary: Upgrade to 6.1
Linux Version 6.1.22.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-08-02 11:50:33 -07:00
Otavio Salvador
a9bff0e2ce
Merge pull request #269 from ricardosalveti/master
conf/layer.conf: add back compatibility to kirkstone
2023-06-27 17:58:32 -03:00
Ricardo Salveti
66cf94071e conf/layer.conf: add back compatibility to kirkstone
Main meta-freescale layer is compatible and can also be used with
OE kirkstone, so follow the same change as this layer is mostly an
extra to the main layer.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2023-06-27 17:50:37 -03:00
Otavio Salvador
5a69fd086b
Merge pull request #267 from chrisdimich/master
nitrogen8*: use u-boot-boundary as default bootloader
2023-06-27 14:24:02 -03:00
Chris Dimich
1d55a5a264 nitrogen8mp: use u-boot-boundary as default bootloader
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-06-27 10:14:24 -07:00
Chris Dimich
c31be3f932 nitrogen8mm: use u-boot-boundary as default bootloader
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-06-27 10:14:16 -07:00
Chris Dimich
de0365a6f1 nitrogen8m: use u-boot-boundary as default bootloader
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-06-27 10:13:21 -07:00
Chris Dimich
775c858921 nitrogen8mn: use u-boot-boundary as default bootloader
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-06-27 10:13:12 -07:00
Otavio Salvador
9665a30ed9
Merge pull request #266 from YoeDistro/yoe/mut
recipes: Add missing Upstream-Status in patches
2023-06-22 08:20:10 -03:00
Khem Raj
b15d9cff69 recipes: Add missing Upstream-Status in patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 16:39:57 -07:00
Otavio Salvador
da0c1b9228
Merge pull request #264 from chrisdimich/master
linux-boundary: bump revision to d4a57b30
2023-06-08 16:22:00 -03:00
Chris Dimich
340aff5c28 linux-boundary: bump revision to d4a57b30
To support Cypress based Wifi and BT modules such as the LWB5+.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-06-08 12:00:34 -07:00
Otavio Salvador
91335c7546
Merge pull request #262 from chrisdimich/master
boundary: bump linux-boundary rev and add devices tree to nitrogen8mp conf
2023-05-31 20:30:51 -03:00
Chris Dimich
f914e15c41 nitrogen8mp: add device trees
To support more board/carrier variants.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-05-31 16:00:54 -07:00
Chris Dimich
a175d3782d linux-boundary: bump revision to 7311f82a
Mainly to support more nitrogen8mp board variants.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-05-31 15:57:16 -07:00
Otavio Salvador
48cc5dd420
Merge pull request #258 from boundarydevices/master
boundary: update kernel + cleanup
2023-04-14 11:30:01 -03:00
Gary Bisson
39273e1576 linux-boundary: bump revision to 8666151f
- Update RPMSG RSC table address
- Fix HDMI audio node disablement for 8MP
- Add 8ULP PWM backlight support
- Also update the Linux tree URL to match new naming

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2023-04-14 15:32:51 +02:00
Gary Bisson
c07f4f7052 nitrogen8mp: add missing m-core device tree blob
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2023-04-14 15:32:44 +02:00
Gary Bisson
368971c4c8 nitrogen8mn: add missing m-core device tree blobs
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2023-04-14 15:32:27 +02:00
Gary Bisson
2462dac262 nitrogen8mm: remove unnecessary device tree blobs
i.MX 8MQ dtb shouldn't be copied for this i.MX 8M Mini conf.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2023-04-14 15:31:54 +02:00
Otavio Salvador
12b531c9da
Merge pull request #256 from MaxKrummenacher/master
nitrogen8m...: remove obsolete imx-boot-container override
2023-04-10 07:54:37 -03:00
Max Krummenacher
b5770e22de nitrogen8m...: remove obsolete imx-boot-container override
meta-freescale commits made the imx-boot-container override obsolete.

Commit 0ee4cb24 ("Move imx-boot-container MACHINEOVERRIDES to extender")
moved it to imx-base.inc for all i.MX 8M/8MM/8MN/8MP based machines.
Commit ("imx-boot-container: drop from machine overrides") dropped the
override in favour of using mx8m-generic-bsp.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-04-10 11:57:01 +02:00
Otavio Salvador
f4c9f6af89
Merge pull request #254 from MrCry0/master-patches
Fix linux-qoriq_5.4
2023-04-03 10:22:59 -03:00
Oleksandr Suvorov
56b20881e6 linux-qoriq_5.4: migrate to github
Codeaurora is down. Fetch the sources from a github repo instead.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-04-03 16:15:05 +03:00
Oleksandr Suvorov
c86d38836b linux-qoriq: add patches for 5.4
The recipe for linux-qoriq_5.4 is moved from meta-freescale to
meta-freescale-3rdparty without required patches. Add patches to fix
building linux-qoriq_5.4.

Fixes: f05d9a0 ("linux-qoriq_5.4.bb: add as removed in meta-freescale")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-04-02 23:05:37 +03:00
Otavio Salvador
6301ad2622
Merge pull request #253 from chrisdimich/master
imx-atf-boundary: bump version to 2.6
2023-03-27 10:52:55 -03:00
Chris Dimich
aae042e7da imx-atf-boundary: bump version to 2.6
Based upon NXP lf-6.1.1-1.0.0 branch.

Relevent Changes:
b47c5d5f7: make_boundary.sh: initial addition
433a82bcd: imx8ulp_bl31_setup: search for enabled uart to use
3aec22320: imx8m*_bl31_setup: remove RDC limitation on UART ports
92e28ac36: imx8_helpers: enable a UART on crash
8212cfd0f: xlat_tables_common: change assert to just a print, this will trigger in debug mode
616a4588f: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
c65bd415f: LF-8459-02: fix(imx): add the missing copyright
496be8f7d: LF-8459-01 refine(imx8ulp): remove the unused header file
cd1902146: LF-8455 Add LICENSE.txt file into tf-a root dir
2a68527c6: LF-8322 Add the SCR file
04edb4bb4: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
5ad0acb25: LF-8199 fix(imx93): make sure mub side clock enabled
8a12537ed: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
7aad24ff5: LF-8091 fix(imx93): fix uart/gpio wakeup if clock gated
3d95ac039: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
d3745ad70: LF-8090 imx93: TRDC: Fix wrong fuse bits for USB1 and eQOS disable
de873017a: LF-7968-02 fix: Binutils 2.39 now warns when a segment has RXW permissions[1]:
b308ea0ee: LF-7968-01 fix(Makefile): Suppress array-bounds error
40aa23587: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
0b2fe165c: LF-7951 feat(imx8ulp): add a flag check for the ddr status
983e91d73: LF-7950-02 feat(imx93): enable mu1_b general interrupt 1
ffa707885: LF-7950-01 feat(imx93): force m33 into suspend mode if not enabled
bda471529: LF-7949 feat(imx93): add system pll power down support
49c4e267a: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
46af4ffd6: LF-7858 feat(imx93): add ddr frequency scaling support on imx93
5234dfb98: LF-7820 feat(imx93): support kicking M33 from non 0xFFE0000 address
7e221852d: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
efabee40f: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
722741791: LF-7819 imx8ulp: Fix suspend/resume issue when DBD owner is s400 only
18973b8fc: LF-7814 imx93: Update TRDC driver to protect fused modules
3c1583ba0: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
da3f2f567: LF-7722 imx8ulp: Allow RTD to reset APD through MU
73d13d901: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
be497b02d: LF-7686 imx8ulp: Modify WDOG reset sequence
8ae9ee6a7: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
969443b6e: LF-7683 feat(imx93): enable the s401 clock on/off handshake
9f6886fdc: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
67dfe831b: LF-7671 feat(imx8ulp): update the pad setting to save more power
04adcb11b: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
b40dd6d2c: LF-7430 feat(imx93): change the pwr switch ack mode
51cbf311e: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
5ce1b13c8: LF-7608 imx8ulp: xrdc: Skip PAC configuration for XRDC manager
d5d795787: Merge remote-tracking branch 'origin/ls_v2.6' into lf_v2.6
c9d760d5c: fix(layerscape): unlock write access for SMMU SMMU_CBn_ACTLR
80f5da009: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
79d4f174f: LF-7420: plat: imx8ulp: upower hal: fix temp below zero
254d57d0e: Merge remote-tracking branch 'origin/ls_v2.6' into lf_v2.6
ab2b81a77: ddr: phy.c : Add check for while restoring training values from xspi
13a157a94: Merge remote-tracking branch 'origin/imx_v2.6' into lf_v2.6
b68f61b58: LF-5378 feat(imx8ulp): put all the pad into off mode
3e8c6512e: LF-7296-02 feat(imx8ulp): shutdown LDO1 in APD DPD mode
8048b198e: LF-7296-01 feat(imx8ulp): set buck3 to 0.73v when APD enter PD mode

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-03-24 14:10:02 -07:00
Otavio Salvador
3f039834ad
Merge pull request #250 from chrisdimich/master
u-boot-boundary: bump revision to 3693c9d6
2023-02-13 19:55:04 -03:00
Chris Dimich
df878be605 u-boot-boundary: bump revision to 3693c9d6
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-02-13 13:49:43 -08:00
Otavio Salvador
2441b91ef5
Merge pull request #248 from chrisdimich/master
linux-boundary: bump revision to b2f34070
2023-01-16 19:34:47 -03:00
Chris Dimich
15cf9e13a7 linux-boundary: bump revision to b2f34070
Linux Version 5.15.71.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-01-16 13:59:47 -08:00
Otavio Salvador
21c09dc71b conf/layer.conf: add langdale back
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-01-03 16:16:31 -03:00
Otavio Salvador
3c522391cd
Merge pull request #247 from YoeDistro/yoe/mut
layer.conf: Update LAYERSERIES_COMPAT for mickledore
2023-01-03 15:41:06 -03:00
Khem Raj
edda5def62 layer.conf: Update LAYERSERIES_COMPAT for mickledore
oe-core switched to mickedore [1]

[1] https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-03 10:28:02 -08:00
Otavio Salvador
96c1f6a6c2
Merge pull request #244 from chrisdimich/master
linux-boundary: bump revision to 45abf648
2022-11-21 15:53:31 -03:00
Chris Dimich
cbf4aa5abf linux-boundary: bump revision to 45abf648
Linux Version 5.15.52.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-11-21 09:31:38 -08:00
Otavio Salvador
070f5cc7b5
Merge pull request #242 from chrisdimich/master
u-boot-boundary: bump to 2022.04 and use imx-boot-container
2022-10-19 18:57:45 -03:00
Chris Dimich
531c13b79a nitrogen8mn: allow for all uboot defconfigs variants to be built
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-19 13:57:46 -07:00
Chris Dimich
2570ff2b26 nitrogen8mm: allow for all uboot defconfigs variants to be built
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-19 13:57:34 -07:00
Chris Dimich
48c863b8ad nitrogen8m: allow for all uboot defconfigs variants to be built
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-19 13:57:19 -07:00
Chris Dimich
64d71d5ab7 nitrogen8mn: use imx-boot-container to generate u-boot binary
Also remove obsolete variables.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-19 13:53:59 -07:00
Chris Dimich
c64f278331 nitrogen8mm: use imx-boot-container to generate u-boot binary
Also remove obsolete variables.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-19 13:53:34 -07:00
Chris Dimich
a185fcf7dc nitrogen8m: use imx-boot-container to generate u-boot binary
Also remove obsolete variables.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-19 13:53:06 -07:00
Chris Dimich
2089403f0b nitrogen8mp: allow for all uboot defconfigs variants to be built
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-17 23:06:46 -07:00
Chris Dimich
58ae19468f nitrogen8mp: use imx-boot-container to generate u-boot binary
Also remove obsolete variables.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-17 22:20:28 -07:00
Chris Dimich
34290eefbb u-boot-boundary: add support for imx-boot-container
Also remove obsolete code needed for imx-boot.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-17 22:19:33 -07:00
Chris Dimich
f65292fe4c u-boot-boundary: bump version to 2022.04
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-17 22:19:26 -07:00
Otavio Salvador
07c9d8e205
Merge pull request #239 from YoeDistro/yoe/mut
layers: Add langdale to LAYERSERIES_COMPAT
2022-09-29 21:06:03 -03:00
Khem Raj
25c9178aa3 layers: Add langdale to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 16:43:42 -07:00
Otavio Salvador
6f9430d11d
Merge pull request #231 from chrisdimich/master
nitrogen6sx: add required uboot variables for u-boot-boundary
2022-08-05 08:40:49 -03:00
Chris Dimich
c51905ac8b nitrogen6sx: add required uboot variables for u-boot-boundary
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-08-04 19:50:48 -07:00
Otavio Salvador
7aef299fc7
Merge pull request #228 from angolini/rm-machines
Remove machines ventana and imx7d-remarkable2 as they don't build
2022-07-29 11:26:54 -03:00
Daiane Angolini
10bf4d7b8b
imx7d-remarkable2: Remove machine
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2022-07-29 11:22:05 -03:00
Daiane Angolini
cb7ad451b8
ventana: Remove the machine
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2022-07-29 11:21:53 -03:00
Otavio Salvador
4bced88128
Merge pull request #226 from chrisdimich/master
linux-boundary: bump revision to eb43cb07
2022-07-27 17:08:44 -03:00
Chris Dimich
fa0d5ec105 linux-boundary: bump revision to eb43cb07
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-07-27 12:39:13 -07:00
Otavio Salvador
cd59504033
Merge pull request #224 from chrisdimich/master
imx-atf-boundary: update do_deploy to fix binary path as per imx-boot
2022-07-27 08:16:25 -03:00
Chris Dimich
18fe766078 imx-atf-boundary: update do_deploy to fix binary path as per imx-boot
imx-boot was updated to copy a binary from different path, so need to
fix.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-07-26 16:37:29 -07:00
Otavio Salvador
3d0130fbe0
Merge pull request #222 from sergioprado/colibri-imx6-bootscript
colibri-imx6: use soft assignment for u-boot-default-script provider
2022-07-14 09:21:46 -03:00
Sergio Prado
596d36a3cd colibri-imx6: use soft assignment for u-boot-default-script provider
Some users might want to change u-boot-default-script preferred
provider, so let's use a soft assignment for that.

Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
2022-07-14 09:04:39 -03:00
Otavio Salvador
dfae23f66e
Merge pull request #220 from MaxKrummenacher/master
Make colibri-vf build again
2022-06-23 10:56:47 -03:00
Max Krummenacher
28aac376f9 mqxboot: prevent oe qa error, gnu_hash
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-06-23 15:41:19 +02:00
Max Krummenacher
7e2e2d8fa4 libmcc: prevent oe qa error, gnu_hash
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-06-23 15:38:53 +02:00
Max Krummenacher
7a86916296 kernel-module-mcc-toradex: cope with changes to kernel module build
oe-core changed to install modules in nonarch_base_libdir which dropped
the setting of INSTALL_MOD_PATH.
However the Makefile makes use of INSTALL_MOD_PATH to set DESTDIR for
other files. Set DESTDIR in the build env.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-06-23 11:03:45 +02:00
Max Krummenacher
936a385715 colibri-vf: use linux-toradex independent of the bsp
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-06-23 11:03:45 +02:00
Max Krummenacher
e59062bd68 vf: follow SoC override changes also for vybrid
- Drop the sub SoC family vf50 and vf60 in favour of using only vf
- Use the now generated vf-*-bsp overrides

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-06-23 11:03:39 +02:00
Max Krummenacher
6ee01e20a9 u-boot-timesys: remove 2011.12 recipe
The last machine using this u-boot was removed with commit
c604238 ("Remove boards using the linux-timesys kernel recipe")
in 2015. Remove the recipe.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-06-23 10:59:12 +02:00
Otavio Salvador
f405db7538
Merge pull request #217 from chrisdimich/master
linux-boundary: Upgrade to 5.15
2022-06-09 08:40:03 -03:00
Chris Dimich
cc9c239f50 linux-boundary: Upgrade to 5.15
Linux Version 5.15.38.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-06-09 00:08:15 -07:00
Otavio Salvador
80e234fbb0
Merge pull request #214 from MaxKrummenacher/u-boot-compat
u-boot-toradex_2020.07: change to be compatible with any bsp
2022-05-30 12:57:23 -03:00
Otavio Salvador
fb198b6334
Merge pull request #213 from MaxKrummenacher/master
machines: follow kernel deployment changes
2022-05-16 18:12:47 -03:00
Max Krummenacher
7f43964582 machines: follow kernel deployment changes
The kernel binary image is by default deployed into the rootfs, /boot/.
openembedded-core changed the way it is done in a not backwards
compatible way.
I.e. it now RRECOMMENDS instead of RDEPENDS the package which contains
the kernel binary image.
Commit 1c90b27d2c ("kernel: make kernel-base recommend kernel-image, not depend")

So the way to not deploy also changed. Change machines and recipes
which want to prevent kernel deployment accordingly.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-05-16 12:06:52 +02:00
Max Krummenacher
2454fc6f8f u-boot-toradex_2020.07: change to be compatible with any bsp
u-boot-toradex is used for both the mainline and the nxp BSP.
Set compatible so that it can be built for both.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-05-16 11:53:04 +02:00
Otavio Salvador
de0eb14081
Merge pull request #210 from YoeDistro/yoe/mut
linux-firmware: Use nonarch_base_libdir instead of hardcoding /lib
2022-04-25 08:44:34 -03:00
Khem Raj
1bf66f8ce4 linux-firmware: Use nonarch_base_libdir instead of hardcoding /lib
Fixes builds with usrmerge

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-24 20:19:55 -07:00
Otavio Salvador
478e0c48c6
Merge pull request #209 from YoeDistro/yoe/mut
Fix ti-18xx-wlconf for usrmerge
2022-04-23 13:36:12 -03:00
Khem Raj
7ca49de39b ti-18xx-wlconf: Drop spurious dot from PV
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-23 08:54:31 -07:00
Khem Raj
aff7e79046 ti-18xx-wlconf: Use nonarch_base_libdir instead of hardcoding /lib
Helps with usrmerge builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-23 08:53:46 -07:00
Otavio Salvador
f244dd4b26
Merge pull request #207 from chrisdimich/master
linux-boundary bump to 5.10.104
2022-03-15 14:10:28 -03:00
Chris Dimich
d52f46a5d2 linux-boundary: bump revision to bb58f0ee
Changelog:
- update to 5.10.104
- includes many patches to address security vulnerabilities.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-03-15 09:38:28 -07:00
Otavio Salvador
1e88fc2a20
Merge pull request #206 from Ossanes/topic/fix-nitrogen8-boards
Fix nitrogen8 boards
2022-03-10 09:55:38 -03:00
Vinicius Aquino
47d2543f9d nitrogen*: Drop duplicated WKS dependencies
e2fsprogs-native and bmap-tools-native are already included by imx-base.inc
so it can be dropped here.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-03-10 09:52:09 -03:00
Vinicius Aquino
b8062790ab nitrogen8*: Drop useless overrides for WKS_FILE_DEPENDS
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-03-09 11:53:07 -03:00
Otavio Salvador
18912db46d
Merge pull request #203 from boundarydevices/master
u-boot-boundary: fix fw_env.config support
2022-03-08 13:10:28 -03:00
Gary Bisson
4d1b12642a u-boot-boundary: fix fw_env.config management
- use soc-specific folders to easily differentiate mmc index difference
  in our imx8 family of products
- use mmcblk2 folder for imx8mp as the mmc index is wrong otherwise
- switch mmc env offset to negative value in order to support all eMMC
sizes (some have boot part of 2MiB, others 4MiB)

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2022-03-08 17:04:56 +01:00
Gary Bisson
bd3eb228f4 u-boot-boundary: switch filesextrapaths to generic-bsp
As the fw_env.config applies to both NXP and Mainline BSPs.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2022-03-08 14:01:18 +01:00
Otavio Salvador
759652753c
Merge pull request #202 from YoeDistro/yoe/mut
recipes: Use SPDX naming scheme for LICENSE field
2022-03-06 13:49:55 -03:00
Khem Raj
1efcb1ba26 recipes: Use SPDX naming scheme for LICENSE field
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-06 08:42:01 -08:00
Otavio Salvador
a27ac73afc
Merge pull request #199 from chrisdimich/master
Boundary: bump kernel and u-boot revs
2022-03-03 19:31:29 -03:00
Chris Dimich
b30a5bcbb9 u-boot-boundary: bump revision to 3d5e7f60
Changelog:
- panel bug fixes
- various device tree changes

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-03-03 14:16:58 -08:00
Chris Dimich
4d7c7c5a2a linux-boundary: bump revision to 04f4286f
Changelog:
- add sensor clock for isp
- panel bug fixes

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-03-03 14:13:42 -08:00
Otavio Salvador
f467829666
Merge pull request #198 from Ossanes/topic/linux-kontron
imx6ul-kontron: Upgrade linux-kontron and fix issues
2022-03-03 11:06:37 -03:00
Vinicius Aquino
100b41b859 linux-kontron: defconfig: Rework to enable CONFIG_KPROBES
It fixes the error: "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-03-03 10:36:45 -03:00
Vinicius Aquino
d2365145c6 linux-kontron: Upgrade 5.4.41>5.10.95
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-03-02 18:06:20 -03:00
Otavio Salvador
dc91d5ec1c
Merge pull request #197 from Freescale/topic/simplify-overrides
Rework machine definitions to reduce duplication
2022-02-24 09:48:53 -03:00
Otavio Salvador
b034e5c43e Rework machine definitions to reduce duplication
We reworked the SoC overrides so we avoids duplication and redundancy;
machines affected are:

 - apalis-imx6
 - colibri-imx6
 - colibri-imx6ull
 - cubox-i
 - imx6dl-riotboard
 - imx6qdl-pico
 - imx6qdl-variscite-som
 - imx6sl-warp
 - imx6ul-kontron
 - imx6ul-pico
 - nitrogen6sx
 - nitrogen6x-lite
 - nitrogen6x
 - ventana
 - wandboard
 - nitrogen8m
 - nitrogen8mm
 - nitrogen8mn
 - nitrogen8mp

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-02-24 09:31:48 -03:00
Otavio Salvador
bf7ae437e6 u-boot-script-toradex: Revert wrong override change
Fixes: 671aee4b2b ("Generalize overrides subsystem for NXP and Mainline support")
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reported-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-02-23 13:07:08 -03:00
Otavio Salvador
671aee4b2b Generalize overrides subsystem for NXP and Mainline support
This apply the changes from the script in the referred PR.

Refs: https://github.com/Freescale/meta-freescale/pull/980
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-02-23 10:41:48 -03:00
Otavio Salvador
a161b3aac4
Merge pull request #196 from Ossanes/topic/nitrogen8mp
nitrogen8mp: Define nxp as default BSP
2022-02-23 09:51:40 -03:00
Vinicius Aquino
52e9a93b30 nitrogen8mp: Define nxp as default BSP
This commit solves the lack of a provider for 'imx-boot' due to
nitrogen8mp not present in COMPATIBLE_MACHINE.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-02-23 09:40:13 -03:00
Otavio Salvador
10a470adb9
Merge pull request #195 from YoeDistro/yoe/mut
layers: Bump to use kirkstone
2022-02-22 07:49:33 -03:00
Khem Raj
4560e221d0 layers: Bump to use kirkstone
its not going to be backward ABI compatible with honister due to variable renaming.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-17 12:54:39 -08:00
Otavio Salvador
0c68a5a705
Merge pull request #193 from Ossanes/topic/imx7d-remarkable2-remove-firmwares
imx7d-remarkable2: Remove bcm4345* firmwares as it has no providers
2022-02-17 16:05:31 -03:00
Vinicius Aquino
654d5b5530 imx7d-remarkable2: Remove bcm43456 firmware as it has no providers
This is a workaround to successfully finish the building.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-02-17 15:51:05 -03:00
Otavio Salvador
f8d9213da7
Merge pull request #192 from Ossanes/topic/imx6dl-riotboard-uboot
imx6dl-riotboard: Fix u-boot target
2022-02-17 14:56:32 -03:00
Vinicius Aquino
e78de66c9f imx6dl-riotboard: Fix u-boot target
This commit fixes error on do_install task for u-boot-fslc.
The error occurs because u-boot.imx can't be found.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-02-15 10:09:45 -03:00
Otavio Salvador
60595861de
Merge pull request #191 from sapiippo/apalis-imx6
apalis-imx6: add missing space to append
2022-01-05 08:51:51 -03:00
Samuli Piippo
61b70a01c5 apalis-imx6: add missing space to append
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2022-01-05 12:45:25 +02:00
Otavio Salvador
b3670f9d5f
Merge pull request #190 from MaxKrummenacher/master
colibri-imx6ull: fix mistyped override
2021-12-21 12:16:51 -03:00
Tomas Vilda
e064d0e3df colibri-imx6ull: fix mistyped override
Fix mistype in colibri-imx6ull machine include file when using nxp bsp.

Reported-by: Tomas Vilda
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-12-21 16:03:27 +01:00
Otavio Salvador
b26df7f321
Merge pull request #187 from boundarydevices/master
linux-boundary: bump revision to acef1311
2021-12-03 07:28:13 -03:00
Gary Bisson
748b8f0e07 linux-boundary: bump revision to acef1311
Changelog:
- update to 5.10.72
- more displays supported for i.MX8MP

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2021-12-03 11:09:49 +01:00
Otavio Salvador
f007a9f8da
Merge pull request #185 from MaxKrummenacher/update-toradex
Update toradex
2021-11-12 10:21:21 -03:00
Max Krummenacher
13bd2acbad machines: toradex: update
- Add the newly available device trees provided by the kernel update.
- Drop the prefered provider for u-boot-fw-utils, use libubootenv.
- Don't install epdc firmware, none of the machines supports epdc.
- Changed all maintainers to myself, Stefan left the company.
- Unify setting the preferred bootloader with IMX_DEFAULT_BOOTLOADER

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-12 14:10:06 +01:00
Max Krummenacher
02bff68488 linux-toradex: vf: update to 4.4.291
Change to use the defconfig which is part of the kernel tree. In order
to provide a defconfig from your bbappend add a file 'defconfig' through
SRC_URI and set 'KBUILD_DEFCONFIG:<machine> = ""'.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-12 14:10:06 +01:00
Max Krummenacher
74fc138f67 linux-toradex: imx: update to 5.4-2.3.x-imx
Updates to the toradex_5.4-2.3.x-imx kernel branch which is based
on the community supported 5.4-2.3.x-imx which in turn is base on
the NXP downstream kernel from BSP 5.4.24_2.3.0.

Change to use the defconfig which is part of the kernel tree. In order
to provide a defconfig from your bbappend add a file 'defconfig' through
SRC_URI and set 'KBUILD_DEFCONFIG:<machine> = ""'.

Build the device tree with symbols to allow for device tree overlays
which use symbols.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-12 14:10:06 +01:00
Max Krummenacher
a2c343e772 u-boot-script-toradex: improve script
Allow to boot compressed aarch64 kernels. I.e. with
KERNEL_IMAGETYPE=Image.gz the kernel recipe builds Image.gz and
the u-boot-script will in U-Boot decompress the kernel before
passing control to the kernel binary.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-12 14:10:06 +01:00
Max Krummenacher
6e8f05bb77 u-boot-toradex: updated to latest
- drop dependency on flex-native, this seems unneeded
- provide u-boot-initial-env
- for nand devices: add csf padding at the end of the binary
- update git hash to latest:

ab862daf5d5 colibri-imx6ull: reset vidargs env variable
20e5bdb4dd8 ARM: dts: colibri-imx6ull: fix mac address passing
38ab07804fa disk: part: add the device search failed log msg
bbb0acc44b2 mmc: merge upstream __mmc_switch fixes
ac9771a867e cfgblock: extend get_cfgblock_interactive
cd02128056d colibri-imx7: improve env badblock management
bd80c40df71 colibri-imx6ull: improve env badblock management
c3e1241862f colibri-imx6ull: reset vidargs env variable
eb6c58cb014 apalis-imx6: use dynamic DDR calibration
240223cd41a colibri-imx6: use dynamic DDR calibration
1ae3ca27d9f colibri-imx6ull: add tezi recovery config
9ad0030ceaa colibri-imx6ull-emmc: add tezi config
0401650db5d toradex: tdx-cfg-block: add colibri imx6ull emmc variant
c0ae6ea006d toradex: tdx-cfg-block: fix verdin handling
c463e5ab8ed colibri-imx6ull: add emmc variant
98584bdb41c tools: imx image: fix write warning
4aae136f1aa buildman: 'Thread' object has no attribute 'isAlive'
c430fec51c8 colibri-imx6ull: refresh defconfig
b17fd6c8426 colibri-imx6ull: imximage.cfg: integrate new 1GiB RAM variant

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-12 14:10:06 +01:00
Max Krummenacher
839df322eb u-boot-toradex: drop inc file
Drop the inc file as it is now only used in one recipe.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-10 18:56:17 +01:00
Otavio Salvador
4661bdcb6d
Merge pull request #184 from texierp/topic/git-fetcher
recipes: use https protocol and add explicit branch parameter
2021-11-05 16:35:15 -03:00
Pierre-Jean Texier
be5493795a recipes: use https protocol and add explicit branch parameter
Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
it is required to use https protocol for github repo accessing.

Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0])

[0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-11-05 19:55:33 +01:00
Otavio Salvador
be3442ae6a
Merge pull request #183 from Ossanes/topic/remove-dms-ba16
imx6q-dms-ba16: Remove files because it is not being maintained
2021-10-29 17:52:34 -03:00
Otavio Salvador
f6c6d9ed23
Merge pull request #182 from Ossanes/topic/remove-congatec
congatec: Remove defconfig
2021-10-29 17:52:19 -03:00
Vinicius Aquino
5dc9275928 imx6q-dms-ba16: Remove files because it is not being maintained
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-29 16:54:01 -03:00
Vinicius Aquino
00acf4977a congatec: Remove defconfig
This commit complements the previous commit (37777939)

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-29 16:37:56 -03:00
Otavio Salvador
af1c0cbd9a
Merge pull request #181 from Ossanes/topic/remove-congatec
congatec: Remove files because it is not being maintained
2021-10-29 10:16:35 -03:00
Vinicius Aquino
3777793975 congatec: Remove files because it is not being maintained
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-29 10:12:58 -03:00
Otavio Salvador
557e7b627c
Merge pull request #180 from Ossanes/topic/u-boot-script-gateworks-imx
u-boot-script-gateworks-imx.bb: Fix license checksum
2021-10-28 09:17:52 -03:00
Vinicius Aquino
d57becc70c u-boot-script-gateworks-imx.bb: Fix license checksum
GPL-3.0 was renamed to GPL-3.0-only by commit 2456f523 of oe-core

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-28 09:02:58 -03:00
Otavio Salvador
ea36713197
Merge pull request #178 from Ossanes/topic/linux-remarkable
linux-remarkable2_5.4.bb: Fix git revision
2021-10-26 14:29:54 -03:00
Vinicius Aquino
322f7f92e4 linux-remarkable2_5.4.bb: Fix git revision
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-26 14:21:01 -03:00
Otavio Salvador
5ed5d23b4f
Merge pull request #177 from Ossanes/topic/imx6sl-warp-uboot
imx6sl-warp: Fix u-boot suffix
2021-10-25 16:50:12 -03:00
Vinicius Aquino
18f54fabfa imx6sl-warp: Fix u-boot suffix
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-25 16:29:53 -03:00
Otavio Salvador
c57b5f34ee
Merge pull request #176 from Ossanes/topic/riotboard-suffix
imx6dl-riotboard: Fix u-boot suffix
2021-10-25 12:16:21 -03:00
Vinicius Aquino
a9fce64e3c imx6dl-riotboard: Fix u-boot suffix
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-25 12:01:29 -03:00
Otavio Salvador
fd3c4aa47c
Merge pull request #174 from Ossanes/topic/lx2160acex7-qoriq
lx2160acex7: Force to use version 5.4 when using linux-qoriq kernel
2021-10-21 09:08:04 -03:00
Vinicius Aquino
97b24362bd lx2160acex7: Force to use version 5.4 when using linux-qoriq kernel
Later versions are not compatible with this machine.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-21 08:49:32 -03:00
Otavio Salvador
4534c37359
Merge pull request #173 from ting-liu/master
add qoriq-atf_1.5.bb and linux-qoriq_5.4.bb
2021-10-21 08:33:52 -03:00
Ting Liu
f05d9a0024 linux-qoriq_5.4.bb: add as removed in meta-freescale
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-21 10:21:37 +08:00
Ting Liu
56991794a8 qoriq-atf_1.5.bb: add as removed in meta-freescale
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-21 10:20:43 +08:00
Otavio Salvador
a9594a96c3
Merge pull request #172 from MaxKrummenacher/master
Follow override syntax and imx-base.inc changes
2021-10-16 15:10:46 -03:00
Max Krummenacher
cc7a94be03 u-boot-toradex: set uboot_suffix
See also commit 46c1c81 ("imx7s-warp: Set UBOOT_SUFFIX to imx").
Overwrite the new default from imx-base.inc.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-10-16 15:37:15 +02:00
Max Krummenacher
66165d89e9 layer: manual override syntax fixes
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-10-16 14:15:05 +02:00
Otavio Salvador
72ca672346
Merge pull request #170 from chrisdimich/master
linux-boundary: move to 5.10
2021-09-14 18:06:45 -03:00
Chris Dimich
6d534850f0 nitrogne8mp: remove obsolete device tree.
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-09-14 13:52:20 -07:00
Chris Dimich
56f46de324 linux-boundary: Upgrade to 5.10
Linux Version 5.10.63.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-09-14 13:51:22 -07:00
Otavio Salvador
d373302ca3
Merge pull request #168 from chrisdimich/master
u-boot-boundary and imx-atf-boundary bump revisions
2021-09-09 16:53:55 -03:00
Chris Dimich
f6da9d6d18 u-boot-boundary: bump revision to 6ed3b464
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-09-09 12:16:11 -07:00
Chris Dimich
579e9eed12 imx-atf-boundary: move to boundary-imx_5.4.70_2.3.0 branch
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-09-09 12:15:26 -07:00
Otavio Salvador
10a3c87080
Merge pull request #166 from chrisdimich/master
linux-boundary and nitrogen8mp changes
2021-09-01 13:42:49 -03:00
Chris Dimich
6ca1b4be02 nitrogen8mp: add device trees
To support enc carrier and m4.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-09-01 08:49:49 -07:00
Chris Dimich
9722f853d1 linux-boundary: bump revision
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-09-01 08:48:58 -07:00
Otavio Salvador
9e56a805d5
Merge pull request #165 from YoeDistro/yoe/mut
machines: Adjust for new location of tune files in core
2021-08-18 15:47:22 -03:00
Khem Raj
79fb14ba0e machines: Adjust for new location of tune files in core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-17 17:24:26 -07:00
Otavio Salvador
1f7161139d
Merge pull request #163 from chrisdimich/master
nitrogen8mp: update DDR binaries
2021-08-16 21:33:13 -03:00
Chris Dimich
d3336ad9ce nitrogen8mp: update DDR binaries
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-08-16 16:23:03 -07:00
Otavio Salvador
9ab68d1497
Merge pull request #161 from chrisdimich/master
nitrogen8mp: define variables needed for imx-boot recipe
2021-08-13 19:34:28 -03:00
Chris Dimich
850d817450 nitrogen8mp: define variables needed for imx-boot recipe
Otherwise imx-boot will not compile.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-08-13 15:07:40 -07:00
Otavio Salvador
1de6cbfdd1
Merge pull request #157 from texierp/topic/u-boot-fixes
Topic/u-boot fixes
2021-08-13 18:52:02 -03:00
Pierre-Jean Texier
7670b84e93 imx7d-pico: Set UBOOT_SUFFIX to img
Since commit 776932e187f38ca53ed57fc662461ba0da005520 ("Rework the u-boot-fslc and u-boot-imx settings logic") in [1],
we need to override the default imx-base.inc value that uses
UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Fixes:

|   ./tools/mkimage -n spl/u-boot-spl.cfgout -T imximage -e 0x00912000 -d spl/u-boot-spl.bin SPL >SPL.log  && cat SPL.log
| Image Type:   Freescale IMX Boot Image
| Image Ver:    2 (i.MX53/6/7 compatible)
| Mode:         DCD
| Data Size:    45056 Bytes = 44.00 KiB = 0.04 MiB
| Load Address: 00911420
| Entry Point:  00912000
| make[1]: Leaving directory '/build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/build/pico-dwarf-imx7d_defconfig'
| make: Leaving directory '/build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/git'
| /build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.1244816: 187: /build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.1244816: Bad substitution

See [2]

[1] - 776932e187
[2] - https://github.com/Freescale/meta-freescale/pull/837#issuecomment-897974255

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-08-13 23:24:02 +02:00
Pierre-Jean Texier
46c1c81316 imx7s-warp: Set UBOOT_SUFFIX to imx
Since commit 776932e187f38ca53ed57fc662461ba0da005520 ("Rework the u-boot-fslc and u-boot-imx settings logic") in [1],
we need to override the default imx-base.inc value that uses
UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Fixes:

	./tools/mkimage -n u-boot-dtb.cfgout -T imximage -e 0x87800000 -d u-boot-dtb.bin u-boot-dtb.imx >u-boot-dtb.imx.log  && cat u-boot-dtb.imx.log
	Image Type:   Freescale IMX Boot Image
	Image Ver:    2 (i.MX53/6/7 compatible)
	Mode:         DCD
	Data Size:    458848 Bytes = 448.09 KiB = 0.44 MiB
	Load Address: 877ff420
	Entry Point:  87800000
	HAB Blocks:   0x877ff400 0x00000000 0x0006dc00
	DCD Blocks:   0x00910000 0x0000002c 0x000001d4
	make[1]: Leaving directory '/home/bdx-iot/ci/build/tmp/work/imx7s_warp-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/build/warp7_defconfig'
	make: Leaving directory '/home/bdx-iot/ci/build/tmp/work/imx7s_warp-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/git'
	/home/bdx-iot/ci/build/tmp/work/imx7s_warp-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.2814200: 187: Bad substitution
	WARNING: exit code 2 from a shell command.

See [2]

[1] - 776932e187
[2] - https://github.com/Freescale/meta-freescale/pull/837#issuecomment-897974255

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-08-13 23:19:47 +02:00
Otavio Salvador
4c91b6830a
Merge pull request #155 from YoeDistro/yoe/mut
Convert to new overrides syntax
2021-08-13 13:40:45 -03:00
Khem Raj
aeaea93911 layer.conf: Drop compatibility with older than hardknott releases
New override syntax requires it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-09 10:31:27 -07:00
Khem Raj
4ac3c7265a layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-09 10:31:27 -07:00
Otavio Salvador
8a977f5b61
Merge pull request #156 from Ossanes/topic/cicd
cicd: backport: Fix events allowing the workflow to run
2021-08-09 12:36:00 -03:00
Vinicius Aquino
485a417afd cicd: backport: Fix events allowing the workflow to run
Even when using pull_request_target, the merged is issued as
pull_request and this should be used to ensure we can run the workflow.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-08-09 10:45:08 -03:00
Otavio Salvador
2959439367
Merge pull request #153 from ziswiler/master
Update U-Boot 2020.07 and Linux Kernel 4.4.274 Fixing Vybrid
2021-07-09 13:03:23 -03:00
Marcel Ziswiler
0d6dac1ee5 linux-toradex: update to 4.4.274
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-07-09 17:14:59 +02:00
Marcel Ziswiler
271ff0d896 u-boot-toradex: update to latest 2020.07
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-07-09 17:14:08 +02:00
Otavio Salvador
de6e95c484
Merge pull request #152 from Ossanes/topic/cicd-pull-request-target
cicd: Use pull_request_target instead of pull_request
2021-07-06 18:15:26 -03:00
Vinicius Aquino
20f7b80f3f cicd: Use pull_request_target instead of pull_request
When a PR comes from a forked repo, use pull_request_target as event
type instead of pull_request.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-07-06 17:58:27 -03:00
Fabio Estevam
35acd10426 imx6qdl-pico: Remove duplicate MACHINE_FEATURES entry
Remove the duplicate MACHINE_FEATURES entry.

There is a more complete one a few lines below.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-06-18 11:16:27 -03:00
Vinicius Aquino
da9165a8d2 cicd: Add backport workflow
This allow for easier backport of PRs to existing releases.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-06-18 11:15:03 -03:00
Fabio Estevam
5f6c423aae imx6qdl-pico: Add QCA9377 Wifi support
Add QCA9377 Wifi support.

Tested on a imx6dl-pico-pi board by doing:

ifconfig wlan0 up
iw dev wlan0 connect ACCESSPOINTNAME
wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf
(enter the wifi password and press enter)
wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf &
udhcpc -i wlan0
ping google.com

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-06-07 08:30:22 -03:00
Fabio Estevam
e253f15b37 imx6qdl-pico: Fix the serial console port
On the imx6qdl-pico boards the console is provided by the
UART1 pins, so change it to ttymxc0.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-06-06 14:48:48 -03:00
Chris Dimich
7f23af99cb linux-boundary: bump revision to e5cde7b
Update to linux version 5.4.110.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-04-22 22:12:34 -03:00
Fabio Berton
b2dd9d24a1 nitrogen6x: Rework u-boot settings to use Set IMX_DEFAULT_BOOTLOADER
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
068e0f1a27 colibri-imx6: Set UBOOT_SUFFIX to img
Override the default imx-base.inc value that uses UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
afb1afd28d colibri-imx6: Use strong assignment to set IMX_DEFAULT_BOOTLOADER
The weak assignment doesn't override the default imx-base.inc value, and
as the only bootloader provider is u-boot-toradex, we don't need to
allow override.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
bd4e85fc05 apalis-imx6: Use strong assignment to set IMX_DEFAULT_BOOTLOADER
The weak assignment doesn't override the default imx-base.inc value, and
as the only bootloader provider is u-boot-toradex, we don't need to
allow override.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
37aa54b49f colibri-imx7-emmc: Rework u-boot setting to use IMX_DEFAULT_BOOTLOADER
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Otavio Salvador
dc7ccabb77 linux-fslc-lts: Drop 4.19 recipe
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-13 00:12:12 -03:00
Otavio Salvador
fba28a52c4 apalis-imx6: Set IMX_DEFAULT_BOOTLOADER to u-boot-toradex
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-13 00:08:46 -03:00
Otavio Salvador
c78afe99f8 colibri-imx6: Set IMX_DEFAULT_BOOTLOADER to u-boot-toradex
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-12 23:57:04 -03:00
Andreas Müller
ec9c495bd3 imx6qdl-variscite-som: Fix huge wifi startup delay
* We see kernel complaining more than once complaining:
  | wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
* It took a ages for wifi to come up
* recipe was stolen from [1] and slightly modified

[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-connectivity/wlconf/wlconf_8.7.3.bb?h=master

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-06 11:18:23 -03:00
Andreas Müller
efdb7b0307 imx6qdl-variscite-som/use-mainline-bsp: move linux-fslc-lts-4.19 -> linux-fslc
Time to move on - 5.4 is in very good shape

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-06 11:18:23 -03:00
Trevor Woerner
46109e498c olinuxino: update U-Boot choosing
A change was made to meta-freescale to change how the bootloader was being
selected:
	https://github.com/Freescale/meta-freescale/pull/696

As a result the choosing logic for the olinuxino MACHINEs was updated to
match.

Build tested for:
	- imx233-olinuxino-maxi
	- imx233-olinuxino-micro
	- imx233-olinuxino-mini
	- imx233-olinuxino-nano
Run tested on:
	- imx233-olinuxino-maxi

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-03-31 11:31:40 -03:00
Maxim De Clercq
e87475a678 imx-pico: pico only supports the u-boot-fslc bootloader
Signed-off-by: Maxim De Clercq <maximdeclercq00@gmail.com>
2021-03-19 19:26:57 -03:00
Andrey Zhizhikin
8cc0aadaba README: update link of mailing list
Old link is not accessible anymore and return 404.

Update README to point to correct mailing list URL.

Fixes: #107 ("Mailing list link in README is a dead link")
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-03-18 17:59:21 -03:00
Chris Dimich
a249d18837 imx-atf-boundary: add ATF_PLATFORM variable for imx8mp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-03-08 16:06:01 -03:00
Chris Dimich
ff7201c234 nitrogen8mp: remove unneeded IMAGE_FSTYPES variable
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 18:27:38 -03:00
Chris Dimich
202ca314bc nitrogen8mp: add new dtb to KERNEL_DEVICETREE
Add device tree to support a0 revision.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 18:27:38 -03:00
Chris Dimich
4046002e64 linux-boundary: bump version to 5.4 2.3.0
linux version 5.4.100.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 18:27:38 -03:00
Chris Dimich
9b34308b5d u-boot-boundary: bump revision to 3bff801
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 08:24:12 -03:00
Chris Dimich
6f93e53e9b nitrogen8mp: add uboot binary and upgrade script to boot part
In order to more easily update the uboot after flashing a yocto build,
add the generated uboot binary and upgrade uboot script to the boot
partition.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 08:24:12 -03:00
Chris Dimich
d73290298b linux-boundary: make nitrogen8mp COMPATIBLE_MACHINE
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 08:24:12 -03:00
Chris Dimich
d942c02a3a linux-boundary: bump revision to 308e5c5
Update to linux version 5.4.100.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-26 08:24:12 -03:00
Alistair Francis
323dda3cc7 linux-remarkable2: Update to the 5.4 kernel
Update the linux-remarkable2 to use some patches on top of the
fslc-imx branch.

There are too many patches (about 25 and 35,000 lines) to store them all
here, so use a specific git repo for the linux-remarkable2 bb instead of
appending patches to the linux-fslc-imx bbappend.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-02-17 15:39:34 -03:00
Chris Dimich
f36dfbd3fa imx-atf-boundary: add support for nitrogen8mp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-16 11:45:04 -03:00
Chris Dimich
d915c8c89a u-boot-script-boundary: add support for nitrogen8mp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-16 11:45:04 -03:00
Chris Dimich
4c42286bae u-boot-boundary: add support for nitrogen8mp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-16 11:45:04 -03:00
Chris Dimich
05f8f2a38b nitrogen8mp: add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-plus-som/

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-16 11:45:04 -03:00
Alistair Francis
ded5de629a imx7d-remarkable2: Ensure we include the linux-firmware
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-02-13 18:10:21 -03:00
Chris Dimich
cbc8297229 linux-boundary: bump revision to 9d03cf4
Update to linux version 5.4.90.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-02-05 09:02:28 -03:00
Chris Dimich
4a5f1e5825 nitrogen8mn: add uboot binary and upgrade script to boot part
In order to more easily update the uboot after flashing a yocto build,
add the generated uboot binary and upgrade uboot script to the boot
partition.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
c7337044e2 nitrogen8mm: add uboot binary and upgrade script to boot part
In order to more easily update the uboot after flashing a yocto build,
add the generated uboot binary and upgrade uboot script to the boot
partition.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
72ec822873 nitrogen8m: add uboot binary and upgrade script to boot part
In order to more easily update the uboot after flashing a yocto build,
add the generated uboot binary and upgrade uboot script to the boot
partition.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
54171c5c54 nitrogen8mn: add BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable
Add dedicated BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable, as there can
be different board variants in which the defconfig needs to be
modified in the build.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
cd78a1905d nitrogen8mm: add BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable
Add dedicated BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable, as there can
be different board variants in which the defconfig needs to be
modified in the build.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
bd2e637193 nitrogen8m: add BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable
Add dedicated BOUNDARY_DEVICES_UBOOT_DEFCONFIG variable, as there can
be different board variants in which the defconfig needs to be
modified in the build.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Chris Dimich
1738e559d8 nitrogen8mm: update uboot binary to rev2
Most people are using rev2, so update the uboot binary.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-01-29 17:41:10 -03:00
Jens Rehsack
d46200f435 linux-fslc-qoriq: apply SolidRun patches for LSDK-20.12
Applying patches from SolidRun for LSDK-20.12 for lx2160a-cex7 based boards.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2021-01-27 14:35:42 -03:00
Alistair Francis
2aeccf1103 documentation: Add documentation on the reMarkable2
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-01-25 12:40:02 -03:00
Alistair Francis
c59433e3c2 imx7d-remarkable2: Initial commit
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-01-25 12:40:02 -03:00
Alistair Francis
16f4bd6841 u-boot-remarkable2: Initial commit of u-boot
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-01-25 12:40:02 -03:00
Alistair Francis
398e73f281 linux-remarkable2: Initial commit of reMarkable2 Linux branch
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2021-01-25 12:40:02 -03:00
Gary Bisson
01df375846 nitrogen8mn: add missing atf and boot variables
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-12-30 09:40:29 -03:00
Gary Bisson
e780203bd1 nitrogen8mm: add missing atf and boot variables
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-12-30 09:40:29 -03:00
Gary Bisson
1b8e0e1733 nitrogen8m: add missing atf and boot variables
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-12-30 09:40:29 -03:00
Gary Bisson
2cb39040c9 imx-atf-boundary: rename platform variable
To align with latest meta-freescale package.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-12-30 09:40:29 -03:00
Gary Bisson
c414263488 linux-boundary: bump version to 5.4 2.2.0
- based upon NXP 5.4.47_2.2.0
- added 5.4.80 stable fixes
- i.MX 8M Plus Nitrogen8MP support
- fix UART tx DMA issue
- fix Nano SPI issue

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-12-21 13:48:09 -03:00
Gary Bisson
ef8a3f468b u-boot-boundary: bump version to 2020.10
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-12-21 13:48:09 -03:00
Gary Bisson
94c2a1152d imx-atf-boundary: bump version to 2.2
- based upon NXP imx_5.4.47_2.2.0 branch
- includes changes to allow UART4 access from Cortex-A
- fix lpddr4 cache flush for i.MX8MP

Note that the previous version was wrongly named 2.3 although it was
based upon ATF 2.0.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-12-21 13:48:09 -03:00
Ting Liu
0428b922a5 u-boot-qoriq: add 2019.10 recipe
u-boot-qoriq in meta-freescale has upgraded to 2020.04. The patches for
lx2160acex7 can't be applied on 2020.04.
Restore the 2019.10 recipe to avoid build break.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-17 11:07:35 -03:00
Ting Liu
a71856d16a lx2160acex7: set PREFERRED_VERSION_u-boot-qoriq to 2019.10
u-boot-qoriq in meta-freescale was upgraded to 2020.04,
set PREFFERRED_VERSION to 2019.10.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-17 09:21:33 -03:00
Ting Liu
31e76c4d71 lx2160acex7/atf: rename bbappend to qoriq-atf
atf in meta-freescale was renamed to qoriq-atf, rename bbappend too.
Also set PREFFERRED_VERSION to 1.5.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-17 09:21:33 -03:00
Fabio Berton
5c3c5fbccd u-boot-toradex: Update to version 2020.07
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-12-03 16:56:10 -03:00
Daiane Angolini
a086aeb1b0 linux-gateworks-imx: Add LINUX_VERSION
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
2020-11-14 11:15:50 -03:00
Fabio Berton
e323c1ed01 conf/layer.conf: Add hardknott to LAYERSERIES_COMPAT
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-11-12 17:04:44 -03:00
Fabio Berton
065d3b0f0c conf/layer.conf: Support only gatesgarth release
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-11-12 17:01:57 -03:00
Chris Dimich
b85d08a55c linux-boundary: bump revision to 131d670
Update to linux version 5.4.70.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-10-16 19:29:21 -03:00
Chris Dimich
a54a0803de nitrogen8mm.conf: add dtb to support tc358743 on Nitrogen8mm SOM
Needed for HDMI input functionality on Nitrogen8mm SOM.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-10-16 19:29:21 -03:00
Fabio Berton
4db145b566 Allow override IMX_DEFAULT_BSP for Nitrogen machines
Set a weak assignment for IMX_DEFAULT_BSP before include the
imx-base.inc to allow override IMX_DEFAULT_BSP in local.conf file.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-10-16 17:45:54 -03:00
Khem Raj
9302b5675c layer.conf: Add gatesgarth to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-15 16:58:43 -03:00
Gary Bisson
ac7476ea5a u-boot-boundary: do not install mkimage_uboot any longer
As this now conflicts with imx-boot which already does it.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-10-02 09:25:27 -03:00
Fabio Berton
07718ba790 u-boot-boundary: Bump revision to a4aac9a3fb
This commit includes the following changes:

    - a4aac9a3fb boundary: bootscripts: Fix if statement that set fdt_file
    - e13316a01b imx: remove unused 8mn evk dtsi
    - 0b385a75d0 rta: remove pull-up from sd card pinctrl, use external pullups
    - a86d4d563a rta: change from sd1 as SDIO to SD card
    - 05924a028a bio: add Android 10 support
    - 6f984dd4c7 fastboot: getvar: add mmc_size option
    - 0a5a7687c0 nitrogen51_vm: add VD_OKAYA_480_272_IPU
    - 462224c2d8 fbpanel: add FBF_USE_IPU_CLOCK
    - 8a288f8beb nitrogen8_lite: initial addition, Boundary Devices board
    - 629e725dab boundary: common: CONFIG_FEC_RESET_PULLUP default yes for i.MX8MM/i.MX8MN
    - 6e77991db3 nitrogen8mm: s/GP_I2C2_SN65DSI83_EN/GP_SN65DSI83_EN/

Remove upstream applied patch from u-boot-script-boundary recipe.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-09-30 09:53:46 -03:00
Fabio Berton
7f47a9f752 u-boot-script-boundary: Fix mainline bootscript
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-09-29 17:46:31 -03:00
Leon Anavi
ec79fcfa2c alsa-state.bbappend: Fix asound.conf for cubox-i
Fix /etc/asound.conf and enable sound out of the box with the
default machine configurations for cubox-i and hummingboard.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-09-23 16:08:42 -03:00
Otavio Salvador
e2d8ca6011 Drop unused IMAGE_BOOTLOADER variable
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-09-04 13:52:27 -03:00
Chris Dimich
83644f2ea0 u-boot-boundary: Bump revision to eae0188
LPDDR4 init updates
Android security features enabled
Fixed env import
Enabled HAB for i.MX 8M family
Fixed Nano board support
Fixed build with GCC10
Fixed i.MX 8M Mini ARM PLL choice

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-08-27 17:54:37 -03:00
Daiane Angolini
086ca01665 linux-congatec: Add LINUX_VERSION
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
2020-08-26 17:24:14 -03:00
Fabio Berton
3c8bede6b4 linux-variscite: Update to version 4.14.x
- Sync defconfig with imx_v7_var_defconfig
 - Remove old patches
 - Change recipe to use kernel-yocto.bbclass
 - KERNEL_IMAGETYPE need to set in machine conf file, drop it
 - Move COMPATIBLE_MACHINE to bottom

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-08-25 17:03:04 -03:00
Fabio Berton
c3301c42db u-boot-variscite: Update to version 2018.03
- Update to the latest stable release
  - Drop unused patch
  - Adjust recipe to build with newer Yocto Project
    versions (Gatesgarth and Dunfell)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-08-25 17:03:04 -03:00
Otavio Salvador
cf2ab8d76c ccimx6ul: Remove remaining files
When removing the machine we ended not removing all files. This removes
all the related ones.

Fixes: e50d808 "ccimx6ul*: Drop unbuildable boards"
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-08-21 13:11:35 -03:00
Chris Dimich
9000d8b388 linux-boundary: add 5.4.50 recipe
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: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-07-27 17:54:08 -03:00
Domarys Correa
12cd5c015b tx6-*: Remove broken and unmaintained machines
Recipe of u-boot-karo has not been maintained for years; more recent
support does not cover the use of updated linux kernel and is not
compatible with dunfell.

Removed u-boot-karo, linux-karo and the machine configurations.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I02645c9f88e648c143b82c4baa89491a1baff934
2020-07-27 15:33:04 -03:00
Domarys Correa
c15c74ad1c pcm052: Remove un-maintained board
The board is not building and received no maintenance, so it is being
removed along with linux-timesys that provides support for it.

kernel-module-mcc and libmcc2 were removed as they provided support
for pcm052 only.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I997059c1824484df8c11c9b31b2dae6e989430e7
2020-07-27 09:23:30 -03:00
Jens Rehsack
340a581013 conf/machine/lx2160acex7.conf: add preferred kernel
As Freescale Community, we prefer of course the use of our provided kernel.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-30 08:57:22 -03:00
Jens Rehsack
63c6593262 linux{,-fslc}-qoriq: share lx2160acex7 with linux-qoriq
Solid-Run's official BSP provides linux-patches against linux-qoriq kernel
instead of using linux-fslc branches or an own one with stable updates.
To support comparable conditions with provided BSP, support patches can be
used with NXPs kernel as well as with FSL Community QorIQ kernel.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-30 08:57:22 -03:00
Jens Rehsack
13c782bfe4 .gitignore: add developer patterns
Add some patterns which are result of typical development jobs.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
41e403e082 machine/lx2160acex7.conf: enable lx2160acex7 support
With all required components as dependency added:
* rcw
* atf
* mc-utils
* u-boot
* linux
* wic template
... go ahead to enable building for Honeycomb or Clearfog LX2 if you are a
lucky one who could get one :)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
630156a377 wic/lx2160acex7.wks.in: add wic template for lx2160acex7
Add a template to build an SD-card or an eMMC flashable image for Solid-Runs
LX2160A based CEx7 platform.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
a82d17717e u-boot-script-qoriq: introduce QorIQ u-boot-script
Introduce a script which is able to be used for any QorIQ boot situation
(with some adoption) to favour distro_boot over fallback sd_boot or alike
hacked by NXP.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
bd0f35ad04 linux-fslc-qoriq: add lx2160acex7 support
Add support for Solid-Runs LX2160A based COM Express Type 7 Module and
machines built upon that module (see
https://www.solid-run.com/nxp-lx2160a-family/).

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
0997a74f95 u-boot-qoriq: add lx2160acex7 support
Add support for Solid-Runs LX2160A based COM Express Type 7 Module (see
https://www.solid-run.com/nxp-lx2160a-family/cex7-lx2160/).

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
d2ea9af438 mc-utils: introduce lx2160a support
Add support for management-console and linux configuration of components
accessible by Solid-Runs LX2160A based COM Express Type 7 Module.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
c897e8a9ed atf: introduce lx2160acex7 support
Add support for platform build upon Solid-Run's new COM Express Type 7
for NXPs LX2160A (https://www.solid-run.com/nxp-lx2160a-family/cex7-lx2160/)
to ARM Trusted Firmware implementation.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
8ca8ce1ba0 rcw: introduce lx2160acex7 support
Add support for Solid-Runs new LX2160A COM Express Type 7 Module (see
https://www.solid-run.com/nxp-lx2160a-family/cex7-lx2160/) to NXPs
Reset Config Word infrastructure.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Domarys Correa
ed741d39ce m28evk, m53evk: Remove un-maintained boards
The board are in unbuildable state for long time and they were
removed from U-Boot mainline in 2018 and nobody noticed so it
is clearly not in use.

This commit removes both boards and respective recipes from
the layer.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: Ica122e72a0c357bba5924916c30a73d0874fae80
2020-06-22 17:59:59 -03:00
Domarys Correa
ccb7065f94 imx6q-dms-ba16: Fix build error and update linux-advantech
Old recipe had construction error due to virtual / kernel and updated linux 4.9 -> 5.4

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I8d37a7766749421b41124ee5147fc3df65358edc
2020-06-22 17:59:59 -03:00
Domarys Correa
596502a9eb u-boot-variscite: Update to latest rev
Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I4b4b4d1661ec5ae781e5e3ad51521ad381642edb
2020-06-22 17:59:59 -03:00
Andreas Müller
3eab806887 u-boot-variscite: Add UBOOT_INITIAL_ENV = ""
The version of u-boot-variscite does not support target 'u-boot-initial-env'
yet so build fails with:

| make[1]: *** No rule to make target 'u-boot-initial-env'.  Stop.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-06-18 13:42:47 -03:00
Andreas Müller
9cbbdfae65 u-boot-variscite: add bc-native to DEPENDS
It seems building recent u-boot does not require native bc any more. So
while moving on it seems oe-core removed it from u-boot.inc so we need to add
it.

Fixes:
| /bin/sh: bc: command not found

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-06-18 13:42:47 -03:00
Otavio Salvador
f57de4d2d9 imx6ul-kontron: Remove unknown MACHINE_FEATURES
The pwm-buzzer, can, emmc and nandflash MACHINE_FEATURES are invalid and
as such should not be on the BSP. Remove them.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I577a9d0887a9520618188b39c0114b319a3d7217
2020-06-12 16:32:45 -03:00
Fabio Berton
78faca940e u-boot-kontron: Bump revision to 3d58441adf3
This commit includes the following changes:

    - 3d58441adf3 kontron_mx6ul: Use the SPI NOR as primary boot device to load U-Boot proper
    - f1db3d8504b kontron_mx6ul: Use 64K offset for U-Boot proper image, in SPI NOR
    - e1d78d738c6 kontron_mx6ul: Fix support for SPI NOR boot
    - c5e0df84780 kontron_mx6ul: Enable SPI NAND support

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-06-03 15:44:33 -03:00
Domarys Correa
a58f9da519 imx6qdl-pico: Fix WKS_FILES error
Fixed the name of WKS_FILES, which was not found and
had an error during the build.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: If51edd53b0f992858ad8289aed558f12d914aba0
2020-06-03 09:30:31 -03:00
Domarys Correa
b17cb68d1b cm-fx6: Remove recipe, patchs and support for not being used
Even with modifications, errors in the build of the image
persist. Since the board has not received updates in a long
time, it is being removed.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I8554a49ca9e34282d11c9613b35de4cb7f0aa181
2020-06-03 09:30:31 -03:00
Max Krummenacher
7dd7ef0331 colibri-vf: set preferred version for weston
The imx specific weston version which is otherwise set is not in
COMPATIBLE_MACHINE for Vybrids.
Prevents:
| NOTE: preferred version 8.0.0.imx of weston not available (for item weston)
| NOTE: versions of weston available: 8.0.0

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-02 15:16:50 -03:00
Otavio Salvador
32b1269f5f linux-toradex: Set 4.4.217 to LINUX_VERSION
linux-imx.inc is using kernel-yocto class and it's necessary to set
LINUX_VERSION as shown in meta-freescale commit
c7e23876b199e2cfbc2aef6bf192ef50e665b1c5

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-29 11:19:43 -03:00
Otavio Salvador
dc20b515e0 colibri-vf: Fix mainline and NXP BXP support
We need to support both mainline and NXP BSP support, to allow that we
need:

 - split generic and NXP BSP specific device trees
 - avoid setting the default Linux kernel if we use mainline BSP

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-29 11:19:43 -03:00
Otavio Salvador
a1500b3e8a colibri-imx7: Fix mainline and NXP BXP support
We need to support both mainline and NXP BSP support, to allow that we
need:

 - split generic and NXP BSP specific device trees
 - avoid setting the default Linux kernel if we use mainline BSP

This was applied for:

 - colibri-imx7-emmc
 - colibri-imx7-nand

Fixes: #78
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-29 11:19:43 -03:00
Fabio Berton
77495390f6 linux-kontron: Bump revision to 807a88195d767
This commit merges tag 'v5.4.41' into v5.4-ktn and apply the following
commits on top of it:

    - 807a88195d767 ARM: imx: Fix boot crash if ocotp is not found
    - 6c19e5d432b17 ARM: imx: Correct ocotp id for serial number support of i.MX6ULL/ULZ SoCs
    - 0399822a7ccd6 soc: imx-scu: Using existing serial_number instead of UID
    - f74ed0a5bfb86 ARM: imx: Add serial number support for i.MX6/7 SoCs
    - d33c491a73198 ARM: dts: imx6ul-kontron-n6310-s: Move common nodes to a separate file

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-26 15:16:57 -03:00
Fabio Berton
ad6f952039 u-boot-kontron: Bump revision to 1fd382a2ae2
This commit apply the following changes:

    - 1fd382a2ae2 Remove redundant YYLOC global declaration
    - 8d2e6ac9c75 kontron_mx6ul: Enable UUID command support
    - 358aca861bc kontron_mx6ul: Enable boot count support
    - 3dbb5f8ae98 kontron_mx6ul: Sync configuration using savedefconfig

Remove patches applied on upstream

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-26 15:16:57 -03:00
Otavio Salvador
8bad7d778c u-boot-kontron: Add bootcount and uuid command support
This enables few extra options for the default configuration. It
enables:

 - BOOTCOUNT_LIMIT
 - BOOTCOUNT_ENV
 - CMD_FS_UUID

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-25 09:40:06 -03:00
Otavio Salvador
2dfe3e63ce imx6ul-kontron: Add machine definition
This adds support for Kontron N63XX/N64XX SoM based boards and provides
following components:

- imx6ul-kontron machine definition
- u-boot-kontron recipe
- linux-kontron recipe

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-25 09:40:06 -03:00
Otavio Salvador
333ddeed22 linux-kontron: Add 5.4.36 recipe
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-25 09:40:06 -03:00
Otavio Salvador
641272021e u-boot-kontron: Add 2020.01 recipe
This includes the recipe and a backported patch (from 2020.04) to fix
the build using GCC 10.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-25 09:40:06 -03:00
Chris Dimich
d6effb049b linux-boundary: add support for inherited kernel-yocto class
linux-imx.inc now inherits kernel-yocto class, so LINUX_VERSION must be
defined and also define KBUILD_DEFCONFIG to inform the class to use
boundary source tree defconfig.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-05-14 09:13:24 -03:00
Fabio Berton
5b5b356b10 colibri-imx6: Use linux-toradex only for NXP BSP
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11 16:25:08 -03:00
Fabio Berton
83bb649465 apalis-imx6: Use linux-toradex only for NXP BSP
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11 16:25:08 -03:00
Fabio Berton
71f07459d9 colibri-imx6ull: Use linux-toradex only for NXP BSP
virtual/kernel for use-mainline-bsp is set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11 16:25:08 -03:00
Fabio Berton
4e7692c833 linux-toradex: Set 4.14.159 to LINUX_VERSION
linux-imx.inc is using kernel-yocto class and it's necessary to set
LINUX_VERSION as shown in meta-freescale commit
c7e23876b199e2cfbc2aef6bf192ef50e665b1c5

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11 16:25:08 -03:00
Chris Dimich
1a2652a85e linux-boundary: bump revision
Add support for two Boundary daughter boards DB_8MM_CSI_EXP and
DB_8MM_DSIHD. Product details can be found here:
https://boundarydevices.com/product/db_8mm_dsihd/
https://boundarydevices.com/product/db_8mm_csi_exp/

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
e590ccea3e nitrogen8m: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
2cee115c26 nitrogen8mm: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
3bbb3eaa5f nitrogen8mn: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
6db61faf56 nitrogen7: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
7567cd8202 nitrogen6x: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
b4d3ccced2 nitrogen6x-lite: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
75a3dc3793 nitrogen6sx: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
ff68b3d80e nitrogen8mn: remove unneeded tuning
Remove unneeded aarch64 tuning.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
de157f8323 nitrogen8mn: remove unneeded preferred version
Remove unneeded preferred version of linux-boundary.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
f06d7201ba nitrogen8mn: use imx-atf-boundary recipe
Use imx-atf-boundary as preferred provider of imx-atf.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
3bea1034c5 nitrogen8mn: update u-boot configuration
Use UBOOT_CONFIG instead of UBOOT_MACHINE, as per matches imx8mnevk.
Define IMAGE_BOOTLOADER and IMXBOOT_TARGETS as per imx8mnevk.
Define DDR_FIRMWARE_NAME as per imx8mnevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
3716c62f15 nitrogen8mn: update MACHINEOVERRIDES
Update MACHINEOVERRIDES as per imx8mnevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
de20a7dd36 nitrogen8mm: remove unneeded tuning
Remove unneeded aarch64 tuning.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
8670568384 nitrogen8mm: remove unneeded preferred version
Remove unneeded preferred version of linux-boundary.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
8fd6271e58 nitrogen8mm: use imx-atf-boundary recipe
Use imx-atf-boundary as preferred provider of imx-atf.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
409877ec6c nitrogen8mm: update u-boot configuration
Use UBOOT_CONFIG instead of UBOOT_MACHINE, as per imx8mmevk.
Define IMAGE_BOOTLOADER and IMXBOOT_TARGETS as per imx8mmevk.
Define DDR_FIRMWARE_NAME as per imx8mmevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
a465a86e35 nitrogen8mm: update MACHINEOVERRIDES
Update MACHINEOVERRIDES as per imx8mmevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
125d8e33e4 nitrogen8m: use imx-atf-boundary recipe
Use imx-atf-boundary as preferred provider of imx-atf.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
8bf3414ad6 imx-atf-boundary_2.3: add recipe
Add custom imx-atf applicable only to Nitrogen8m, Nitrogen8mm and
Nitrogen8mn, which pulls from Boundary's imx-atf. This is done because
meta-freescale imx-atf_2.0 sets the RDC so that UART4 is only accessible
by M4 core.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
191632825a nitrogen8m: update u-boot configuration
Use UBOOT_CONFIG instead of UBOOT_MACHINE, as per imx8mqevk.
Define IMAGE_BOOTLOADER and IMXBOOT_TARGETS as per imx8mqevk.
Define DDR_FIRMWARE_NAME as per imx8mqevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
f659fca91a u-boot-boundary: fix u-boot-nodtb.bin deploy path
This is in response to imx-boot throwing error in do_compile for mx8
machines.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Carlos Rafael Giani
e55a348857 nitrogen8*: Include tune-cortexa53.inc instead of generic arch-arm64.inc
This fixes the following build error:

> Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto} nitrogen8m) for DEFAULTTUNE (cortexa53-crypto) does not contain TUNE_PKGARCH (${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'aarch64', '${ARMPKGARCH_tune-cortexa53-crypto}' ,d)}).Toolchain tunings invalid:
> Tuning 'cortexa53-crypto' has no defined features, and cannot be used.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2020-04-20 15:30:07 -03:00
Otavio Salvador
27757cab9f imx6sl-warp: Use mainline BSP instead of NXP one
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-11 21:40:35 -03:00
Otavio Salvador
24086161c0 Use new BSP choosing method for mainline based machines
We now choose the BSP in a generic way and this commit changes the
machines to use the new mechanism setting it to mainline one.

Following changes are changed:

 - imx6qdl-pico
 - imx6ul-pico
 - imx7d-pico
 - imx7s-warp
 - wandboard

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-11 17:07:35 -03:00
Chris Dimich
88b4ceeb62 nitrogen8mn: add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-nano/

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Chris Dimich
7218c1ac6a u-boot-script-boundary: add nitrogen8mn as COMPATIBLE_MACHINE
Support building for nitrogen8mn

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Chris Dimich
4896442c20 u-boot-boundary: add nitrogen8mn as COMPATIBLE_MACHINE
Support building for nitrogen8mn

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Chris Dimich
cb4e89cdea u-boot-boundary: bump revision to 17fe0ef3
Add support for Nitrogen8M Nano (nitrogen8mn)

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Chris Dimich
5703a10283 linux-boundary: bump revision to 04026177
Add support for Nitrogen8M Nano (nitrogen8mn)

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Otavio Salvador
bd63e44319 u-boot-toradex: Remove fw_unlock_mmc.sh as libubootenv manages it
The script is not required as libubootenv handles the unlock
automatically, so we can drop it now.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-03 09:56:21 -03:00
Otavio Salvador
8d16badf0d u-boot-toradex-fw-utils: Drop recipe as libubootenv works as replacement
Now we are using libubootenv and dropped the u-boot-toradex-fw-utils, we
need to move the configuration file to the main recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-03 09:56:21 -03:00
Otavio Salvador
52505a3bfa u-boot-boundary-fw-utils: Drop recipe as libubootenv works as replacement
Now we are using libubootenv and dropped the u-boot-boundary-fw-utils,
we need to move the configuration file to the main recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-03 09:56:21 -03:00
Otavio Salvador
e50d80861d ccimx6ul*: Drop unbuildable boards
The recipe seems abandoned as their U-Boot is not update for ages, so we
are dropping it for now. If desired, it can be reverted once updated.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-02 19:15:08 -03:00
Khem Raj
c4cb26701b u-boot-script-toradex_2019.07.bb: Fix typo in COMPATIBLE_MACHINE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-01 08:45:04 -03:00
Otavio Salvador
8d9defa57f Rename virtual/bootscript to u-boot-default-script
After discussing this in OE-Core we are renaming it so it follows same
naming pattern as u-boot-default-env.

Fixes: 80be160 (u-boot-script-toradex: Set virtual/bootscript as provider)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-31 17:53:37 -03:00
Khem Raj
dfce6c6105 u-boot-script-toradex: Limit visibility to toradex machines
This helps in making it layer work in multi-bsp environment
Fixes double staging errors like

DEBUG: Staging files from TOPDIR/build/tmp/work/raspberrypi4-yoe-linux-gnueabi/u-boot-script-toradex/2019.07-r0/deploy-u-boot-script-toradex to TOPDIR/build/tmp/deploy/images/raspberrypi4
ERROR: The recipe u-boot-script-toradex is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
  TOPDIR/build/tmp/deploy/images/raspberrypi4/boot.scr
    (matched in manifest-raspberrypi4-rpi-u-boot-scr.deploy)
Please verify which recipe should provide the above files.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-31 13:29:19 -03:00
Fabio Berton
80be160184 u-boot-script-toradex: Set virtual/bootscript as provider
Add virtual/bootscript to PROVIDES variable to make easier to use other
boot script just changing PREFERRED_PROVIDER_virtual/bootscript variable.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-31 10:50:39 -03:00
Fabio Berton
79d845df0d u-boot-script-toradex: Rework to use boot.scr-${MACHINE}
Rework recipe changing do_mkimage task, adding a do_install task and
changing do_deploy to output boot.scr file using machine name appended.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-31 10:50:39 -03:00
Chris Dimich
faa3c12c34 nitrogen8m: add nitrogen8m-edp dtb
build required dtb for nitrogen8m-edp

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-30 19:56:25 -03:00
Chris Dimich
c536f44343 linux-boundary: bump revision to 47a070fb
Fix build for GCC >= 9 and remove patches that are no longer needed
Add EDP version of Nitrogen8M
Fix PMIC voltage issue for 8M Mini

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-30 19:56:25 -03:00
Max Krummenacher
f67ec82839 u-boot-toradex: update to latest
8f0e253cbce configs/colibri_vf.h: drop sdboot in favour of distro_bootcmd
db553084910 colibri_vf_defconfig: enable part cmd
bc2f29bb15d colibri_vf_defconfig: refresh with savedefconfig
1a390a7be57 Fix typo in .gitlab-ci.yml
1f8c4198070 board: apalis_imx6: Add KSZ9131 phy skew settings
cc96ed419f7 drivers: net: phy: micrel_ksz90x1.c: Add basic support for KSZ9131
28491c802d3 net: phy: micrel: Use defines for PHY_IDs and MASK
eac7cda6283 gitlab-ci: Change stage name to build-uboot
677a5647d4b gitlab-ci: enable by building all toradex boards

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-30 16:07:17 -03:00
Max Krummenacher
c3cad652d9 linux-toradex_4.4: update to latest
merge stable v4.4.217 plus add:

73b51c460018 perf: Make perf able to build with latest libbfd
93bf1d7cbe98 ubifs: Limit number of xattrs per inode
795e223e5b15 ubifs: orphan: Handle xattrs like files
a3a0066bd9ce ubifs: journal: Handle xattrs like files
8f234193b8cc ARM: dts: colibri_vf: enable spi can controller by default
cb7f204ca656 ARM: dts: colibri-vf: add phy to fec
de65b53c9a14 vybrid: defconfig: Add nf_filter
09733c33a1e2 ubifs: introduce Kconfig symbol for xattr support
77d474b70b85 ubifs: Add CONFIG_UBIFS_FS_SECURITY to disable/enable security labels
ec56fedf0636 colibri-vf: atmel-mxt-ts reset gpio name change
5b755634298f Input: atmel_mxt_ts - fix reset-gpio for level based irqs
764222255422 Input: atmel_mxt_ts - add support for reset line
f66771876cb4 Input: atmel_mxt_ts - use more managed resources
f1f20d3ef5d6 Input: atmel_mxt_ts - add T100 as a readable object
8e98dd8e24f3 Input: touchscreen - use local variables consistently
d47fa1c71b16 [media] Input: v4l-touch - add copyright lines
b2388ffb318e [media] Input: atmel_mxt_ts - add support for reference data
474053a9ec91 [media] Input: atmel_mxt_ts - add diagnostic data support for mXT1386
3b3646c77fed [media] Input: atmel_mxt_ts - handle diagnostic data orientation
72093537fa08 [media] Input: atmel_mxt_ts - read touchscreen size
ee7692c54ea4 [media] Input: atmel_mxt_ts - output diagnostic debug via V4L2 device
eec93ba7e4d4 [media] Input: atmel_mxt_ts - add support for T37 diagnostic data
a55a3420f646 Input: atmel_mxt_ts - use mxt_acquire_irq in mxt_soft_reset
0e3f34335d6c Input: atmel_mxt_ts - improve touchscreen size/orientation handling
e5115e4d6fa0 Revert "input: atmel_mxt_ts: support reset gpio line"
4f5df6df46d0 tty: serial: lpuart: avoid leaking struct tty_struct
9a787b35584b tty: serial: lpuart: avoid report NULL interrupt
5f0be50f3f17 soc: fix memory leak in probe
929b34b825fd Revert "ARM: uaccess: remove put_user() code duplication"

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-30 16:07:17 -03:00
Max Krummenacher
efd834fa3c toradex machines: deploy boot script
With U-Boot 2019.07 booting from block devices is implemented with distro_bootcmd
needing an U-Boot script boot.cmd/scr.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-30 09:20:07 -03:00
Max Krummenacher
70b0915b8c u-boot-toradex: build nand padded binary
Completes 174762ee25 for colibri-vf.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-30 09:20:07 -03:00
Otavio Salvador
cda11dc260 imx7d-pico: Add ATH10K firmware
The new revisions of the SoM use the Atheros QCA9377 WiFi chip and to
allow its use out of box we need to add the firmware for the default
installation set.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-27 20:30:04 -03:00
Otavio Salvador
f646765836 imx6qsabrelite: Remove machine definition
We have been carrying this machine for a while to easy the transition to
the nitrogen6x and now it is time to drop it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I99b014cc5418c83fd2229645bdd76669341abf38
2020-03-27 20:24:34 -03:00
Max Krummenacher
174762ee25 u-boot-toradex: build nand padded binary
The machines using raw NAND flash need a binary which prepends u-boot.imx
with 1k byte for easier flashing.
With u-boot-toradex_2019.07 the u-boot-nand.imx target no longer exists.
so build that binary separately in do_configure.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-27 19:21:38 -03:00
Chris Dimich
5aa137ffe8 u-boot-boundary: bump revision to 55215c8f
Update SPL USB ID for UUU to work on 8M Mini and 8M Nano
Update flashing script to ease U-Boot upgrade
Add touch command support to prepare for 4.19 kernel

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-27 16:45:26 -03:00
Max Krummenacher
a5c02bf0ba u-boot-toradex-fw-utils: add colibri-imx7-emmc support
This adds a usefull fw_env.config for colibri-imx7-emmc.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 16:26:27 -03:00
Fabio Berton
0858c7fa5b colibri-imx7-nand: Rename colibri-imx7.conf -> colibri-imx7-nand.conf
The previous commit adds machine file colibri-imx7-emmc that is used for
Colibri iMX7 with eMMC device, as the current colibri-imx7 is for
Colibri iMX7 with NAND device rename machine file accordingly.

Add colibri-imx7 to MACHINEOVERRIDES to maintain compatibility with
recipes that need to handle with the old name.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 16:26:27 -03:00
Fabio Berton
9d83162060 colibri-imx7-emmc: Add machine configuration for Colibri iMX7 Dual 1GB (eMMC)
This machine configuration was copied from:

https://git.toradex.com/cgit/meta-toradex-nxp.git/tree/conf/machine/colibri-imx7-emmc.conf

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 16:26:27 -03:00
Fabio Berton
d00a08f9f3 linux-toradex: Update to version 4.14-2.0.x
Use the defconfig files from meta-toradex-nxp layer

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 15:51:30 -03:00
Fabio Berton
6ad0524b13 u-boot-script-toradex: Add recipe
Recipe based on u-boot-distro-boot from meta-toradex-bsp-common

https://git.toradex.com/cgit/meta-toradex-bsp-common.git/tree/recipes-bsp/u-boot/u-boot-distro-boot.bb

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 15:51:30 -03:00
Fabio Berton
7869887b52 u-boot-toradex: Update both u-boot and fw-utils to version 2019.07
Use u-boot-toradex-fw-utils recipe from meta-toradex-nxp layer [1]

1 - https://git.toradex.com/cgit/meta-toradex-nxp.git/tree/recipes-bsp/u-boot/u-boot-toradex-fw-utils_2019.07.bb

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 15:51:30 -03:00
Fabio Berton
ea469689c5 conf/layer.conf: Rename BBFILE_COLLECTIONS to match layer name
BBFILE_COLLECTIONS was using the old layer name, rename to match
the new name.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 10:54:35 -03:00
Otavio Salvador
911167728f
Merge pull request #48 from dv1/master
linux-boundary: Fix GCC9 compiler attribute related compile errors
2020-03-21 12:16:08 -03:00
Carlos Rafael Giani
13d3b9e110 linux-boundary: Fix GCC9 compiler attribute related compile errors
These patches are originally from meta-freescale, commit 075681e8 , and
were modified slightly to apply to kernel 4.14.

This fixes errors while building other modules, especially
kernel-module-imx-gpu-viv, which otherwise produces compile errors like:

| [...]tmp/work-shared/nitrogen8m/kernel-source/include/linux/module.h:131:6: error: 'init_module' specifies less restrictive attribute than its target 'gpu_init': 'cold' [-Werror=missing-attributes]
|   131 |  int init_module(void) __attribute__((alias(#initfn)));
|       |      ^~~~~~~~~~~
| [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1445:1: note: in expansion of macro 'module_init'
|  1445 | module_init(gpu_init);
|       | ^~~~~~~~~~~
| [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1411:19: note: 'init_module' target declared here
|  1411 | static int __init gpu_init(void)
|       |                   ^~~~~~~~
| In file included from [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_linux.h:61,
|                  from [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:61:
| [...]tmp/work-shared/nitrogen8m/kernel-source/include/linux/module.h:137:7: error: 'cleanup_module' specifies less restrictive attribute than its target 'gpu_exit': 'cold' [-Werror=missing-attributes]
|   137 |  void cleanup_module(void) __attribute__((alias(#exitfn)));
|       |       ^~~~~~~~~~~~~~
| [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1446:1: note: in expansion of macro 'module_exit'
|  1446 | module_exit(gpu_exit);
|       | ^~~~~~~~~~~
| [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1437:20: note: 'cleanup_module' target declared here
|  1437 | static void __exit gpu_exit(void)
|       |                    ^~~~~~~~

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2020-03-21 10:06:04 +01:00
Chris Dimich
57e8a171e6 nitrogen7.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
609547d3ea nitrogen6x.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
2d24b0df1e nitrogen6x-lite.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
ef190f5fd5 nitrogen6sx.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
2fc4af491d imx6qsabrelite.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
afc1c4b77d linux-boundary: Fix bberror message
Fix syntax error in bberror message

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
4381a31db5 u-boot-boundary-fw-utils: Update aarch64 fw_env config
Fix incorrect offset for imx8

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
8bb4fdbb27 nitrogen8m: Update configuration
Add support for more board variants
Update maintainer.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
88791e3a87 nitrogen8mm: Add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-mini/

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
3a53f5a342 u-boot-boundary: Bump revision to f45f2571
add support for nitrogen8m som / nitrogen8mm (som) / nitrogen8mn
add uuu support for easy recovery
update lpddr4 timings for all 8m designs
update mmc driver
add BD MIPI-DSI displays support

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
40559eb523 u-boot-script-boundary: Add support for nitrogen8mm
Support building for nitrogen8mm

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
d134d230ac u-boot-boundary: Add support for nitrogen8mm
Support building of u-boot for nitrogen8mm machine

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
0ad69f4bd9 linux-boundary: Move to version 4.14
All Boundary board variants now use Boundary kernel version 4.14
Kernel based on NXP imx_4.14.x_2.0.0_ga kernel release
linux-boundary now pulls boundary_defconfig from git for simplicity.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Pierre-Jean Texier
266fc8ffbb layer.conf: add dunfell to compat layer
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-16 08:42:04 -03:00
Pierre-Jean Texier
13bacaee29 u-boot-boundary: add "B" to u-boot-boundary-common_2018.07.inc
In upstream openembedded-core, the definition for the B variable moved from
u-boot.inc to u-boot-common.inc. None of the recipes in this layer use
upstream's u-boot-common.inc, so add the B to the *common* include files here
so u-boot continues to build. See:

http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-bsp/u-boot?id=26023b6b0f897842fd98b3e10a8acd5b3ad8f418&h=master

Fixes:

meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary_2018.07.bb:do_compile) failed with exit code '1'

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-08 14:03:34 -03:00
Andreas Müller
fdc6360b8f u-boot-variscite: Fix build for recent layers
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-01-03 10:49:30 -03:00
Khem Raj
aea3771baa layer: Mark zeus as compatible release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-09 16:34:32 -03:00
Ming Liu
e6b784734a colibri-imx6.conf: drop _append overrides
A regress was introduced by me in commit 9a96fb93:
[ meta: change "+=" to "_append" for use-mainline-bsp overrides ]

a "+=" operator was changed to "_append" in that commit which is wrong
because that makes some non-existing dtb files being put into
KERNEL_DEVICETREE, hence leads build issue for mainline kernel.

Drop the "_append", change "+=" to "=" would be enough.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2019-09-21 12:24:48 -03:00
Stefan Agner
0b03d2fdc1 apalis-imx6: build all device trees available upstream
At least since 4.14 all device trees are available in upsteram Linux
as well so drop the unnecessary use-mainline-bsp override.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-09-20 10:40:30 -03:00
Ming Liu
9a96fb93f1 meta: change "+=" to "_append" for use-mainline-bsp overrides
The "KERNEL_DEVICETREE_use-mainline-bsp +=" would override any other
assignment like:
- "KERNEL_DEVICETREE +="
- "KERNEL_DEVICETREE ="
- "KERNEL_DEVICETREE ?="
- "KERNEL_DEVICETREE ??="

change it to "_append" could fix the problem.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2019-09-16 07:41:46 -03:00
Fabio Berton
7a20b21479 Fix WKS_FILE to use files with .in extension
meta-freescale commit 6be9d197386b5c3bd72023981df805d42f87684c
renamed imx-uboot-spl-bootpart.wks to imx-uboot-spl-bootpart.wks.in
The .in extension in wks files allows bitbake variables to be used in
kickstarter files. Set WKS_FILES for all machines to match this new
filename.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-08-13 08:11:40 -03:00
Joris Offouga
cc6475e9a6 imx7d-pico: Update settings for U-Boot 2019.07
Since DM conversion, we have to adjust the binary name.
Also changes wks file for fix generation image

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
2019-07-11 09:59:47 -03:00
Fabio Berton
d5c6fdb6b0 linux-firmware: Rename to match all package versions
OE-Core commit 4cbb7392c729a2436c26308c2320fdae5c450d7a
bumps revision to 20190618 and also move package version
to git from 20190618.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-07-10 14:59:02 -03:00
Alex Gonzalez
8ceeb3f985 kernel-module-qca6564: Fix for kernel >= v5.1
This commit synch the driver source so it works with kernel versions v5.1
and newer.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-07-04 15:47:10 -03:00
Fabio Berton
04284a5410 broadcom-nvram-config: Enable support to imx6ul-pico machine
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-06-27 16:52:40 -03:00
Fabio Berton
cab5b63d6f imx6qdl-pico: Add machine configuration
Add machine definition forimx6qdl-pico board.

For more information about this SOM, please visit:

https://www.technexion.com/products/pico-compute-modules/detail/PICO-IMX6

This machine definition support PICO-DWARF, PICO-HOBBIT, and PICO-NYMPH baseboards.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-06-27 16:52:40 -03:00
Fabio Berton
e91064ea09 bcm4339-nvram-config: Enable support to imx6ul-pico machine
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-06-27 16:52:40 -03:00
Fabio Berton
f8f2715cdf imx7d-pico: Add dwarf and nymph configs to U-Boot
Enable U-Boot support for TechNexion PICO-DWARF and PICO-NYMPH
baseboards.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-06-27 16:52:40 -03:00
Fabio Berton
dda00b33c7 imx6ul-pico: Add dwarf config to U-Boot
Enable U-Boot support for TechNexion PICO-DWARF baseboard.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-06-27 16:52:40 -03:00
Andreas Müller
ca9029c944 imx6qdl-variscite-som: use linux-fslc-lts-4.19 when selecting mainline
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-05-22 09:03:23 -03:00
Andreas Müller
45c58608e0 add support for linux-fslc-lts-4.19
The defaults were taken from linux-fslc

| commit 75de4ee0c2
| Author: Pierre-Jean Texier <pjtexier@koncepto.io>
| Date:   Sat Feb 23 17:28:39 2019 +0100
|
|     imx7s-warp: Add bcm43430 nvram config
|
|     Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>

With the next commit

| commit 5d88f226ed
| Author: Alex Gonzalez <alex.gonzalez@digi.com>
| Date:   Tue Feb 26 10:29:15 2019 +0100
|
|     linux-fslc: ccimx6ul: Adapt to v4.20
|
|     * Adapt patches to v4.20
|     * Remove patches that are already included in the v4.20 kernel
|
|     Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>

linux-fslc moved to 4.20 and patches were adjusted.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-05-22 09:03:23 -03:00
Alex Gonzalez
12769c06e7 init-ifupdown: ccimx6ulsbcpro: Add Wi-Fi interfaces to the interfaces file
The ConnectCore 6UL SBC Pro has a Wi-Fi interface with support for both
station and softAP modes.

This commit adds an interfaces file that defines a wlan0 interface for the
station mode, a wlan1 interface for the softAP mode.

Note that for softAP functionality to work, MAC addresses for the virtual
wireless interfaces need to be programmed in the uboot environment with:

env set wlan1addr aa:cc:cc:xx:yy:zz
env set wlan2addr aa:cc:cc:xx:yy:zz
env set wlan3addr aa:cc:cc:xx:yy:zz

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -03:00
Alex Gonzalez
3ca520ba95 init-ifupdown: ccimx6ulsbcexpress: Add wi-Fi interfaces to interfaces file
The ConnectCore 6UL SBC Express has a Wi-Fi interface with both station
and softAP functionality. This interfaces file adds the wlan0 interface for
station and wlan1 interface for softAP.

Note that for softAP functionality to work, MAC addresses for the virtual
wireless interfaces need to be programmed in the uboot environment with:

env set wlan1addr aa:cc:cc:xx:yy:zz
env set wlan2addr aa:cc:cc:xx:yy:zz
env set wlan3addr aa:cc:cc:xx:yy:zz

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -03:00
Alex Gonzalez
1d86d8eea7 linux-fslc: ccimx6som: Add support for wireless module variants
The ConnectCore 6UL System-On-Module comes on different hardware
variants. This commit adds support for the wireless variant with
Qualcomm's QCA6564 WiFi / Bluetooth chipset.

* Modifies the device tree to add the SDIO wireless interface
* Patches the Linux kernel with QCA6564 specific feature additions
* Adds the unused HOSTAP module to the configuration so that the WEXT
  config option is selected, even though the module won't be added to
  to the target. Out-of-tree drivers have no way of selecting the legacy
  WEXT support needed for the QCA6564.
* Removes the probe locking feature from the configuration as the
  QCA6564 driver is not as well designed and it oops with warnings:
* Configure Bluetooth RFCOMM support in the kernel
* Sets the quality of the RNG so that it can be used by the kernel

[   19.479089] ============================================
[   19.484423] WARNING: possible recursive locking detected
[   19.489761] 4.19.5-fslc+g093a10401c15 #1 Tainted: G           O
[   19.496135] --------------------------------------------

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -03:00
Alex Gonzalez
017994915c udev-rules-digi: Add udev rules for Digi International SOMs
This new package contains udev rules for the Digi International SOMs and
SBCs.

It initially contains only rules for the qca6564 Wi-Fi and BT and for the
ccimx6ul SOM, but it will get extended to cover other interfaces and
SOMs.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -03:00
Alex Gonzalez
c49b5a14b9 ccimx6ulsom: Add wireless driver and firmware files
The ConnectCore 6UL SOM contains a Qualcomm QCA6564A wireless and Bluetooth
chipset with the following features:

* Dual band 5GHz 802.11ac or 2.4/5GHz 802.11n support
* Open, WPA and WPA2 personal and enterprise authentication
* AES/TKIP encryption
* Station, softAP and Wi-Fi direct modes
* FCC compliant US regulatory domain support
* Bluetooth 4.2, backwards compatible with older standard revisions

This commit builds an out-of-tree driver for it as well as installs
firmware files for both Wi-Fi and Bluetooth.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -03:00
Fabio Berton
40a05f3b8c imx6ul-pico: Add support to PICO-DWARF baseboard
See informations about PICO-DWARF baseboard here:

https://www.technexion.com/products/pico-baseboards/detail/PICODWARF
2019-04-17 10:58:54 -03:00
Fabio Berton
41d642e35e imx7d-pico: Add support to PICO-DWARF baseboard
See informations about PICO-DWARF baseboard here:

https://www.technexion.com/products/pico-baseboards/detail/PICODWARF
2019-04-17 10:58:54 -03:00
Pierre-Jean Texier
55356fd749 imx7s-warp: Update settings to use U-Boot 2019.04
Since DM conversion, we have to adjust the binary name.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-04-12 17:32:54 -03:00
Max Krummenacher
a38e633379 README: use pull requests for contributing
The project now expects contributions being made through
GitHub's pull-request feature. Reflect that in the README.

Text mostly taken from the README in meta-qt5.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-08 08:05:42 -03:00
Fabio Berton
2e80c704ba conf/layer.conf: Drop sumo and thud support
If you want to use theses branches, use the respective platform.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-04-02 15:35:25 -03:00
Fabio Berton
0cd45e26bf
Merge pull request #17 from YoeDistro/yoe/mut
layer.conf: Add warrior to compatible release series
2019-04-02 14:40:01 -03:00
Khem Raj
42c75f98ce layer.conf: Add warrior to compatible release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-01 18:58:24 -07:00
Alex Gonzalez
b4d2c84622 init-ifupdown: ccimx6ulsbcpro: Add interfaces file
The ConnectCore 6UL SBC Pro has two wired ethernet interfaces. This commit
adds an interfaces file with both eth0 and eth1 interfaces.

Note that the ethernet interface that is enabled in U-Boot is the eth1
interface in the Linux kernel.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03:00
Alex Gonzalez
daaa2362e7 ccimx6ulsbcpro: Add machine configuration
The ConnectCore 6UL Single Board Computer (SBC) Pro contains the
ConnectCore 6UL System-On-Module.

Its hardware specifications are:

    * 256MB DDR3 memory
    * On module 256MB NAND flash
    * Dual 10/100 Ethernet
    * USB Host and USB OTG
    * Parallel RGB display header
    * LVDS display header
    * CSI camera
    * GPIO header
    * I2C, SPI, CAN headers
    * PCIe mini card and micro SIM slot
    * MicroSD external storage
    * On board 4GB eMMC flash
    * Audio headphone, line in/out, microphone lines

The build artifacts are:

U-Boot images: u-boot.imx
Linux partition image: <image name>.boot.ubifs
Root filesystem image: <image name>.ubifs

Root filesystem tarball (for network booting): <image name>.tar.bz2

To program a board from the U-boot prompt, copy the U-Boot, Linux and
root filesystem partition images to your TFTP server root and do:

env set ipaddr <target ip address>
env set serverip <TFTP server ip address>
update uboot tftp u-boot.imx
update linux tftp <image name>.boot.ubifs
update rootfs tftp <image name>.ubifs

More details about the SBC can be found at:
https://www.digi.com/products/embedded-systems/single-board-computers/connectcore-for-i-mx6ul-sbc-pro

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03:00
Alex Gonzalez
a7ac8d4ca9 u-boot-digi: Generalize boot script
Generalize the boot script used to boot Linux so that it can be shared
by multiple ConnectCore 6UL SOM based boards.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03:00
Alex Gonzalez
6093ee4713 init-ifupdown: ccimx6ulsbcexpress: Add interfaces file
Adapt the interfaces file to the single wired ethernet available on the
ConnectCore 6UL SBC Express board.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03:00
Alex Gonzalez
3597f8b063 ccimx6ulsbcexpress: Separate machine configuration into SOM and board
This commit prepares for the introduction of a second ConnectCore 6UL
System-On-Module based board by grouping the SOM configuration into its
own file avoiding code redundancy.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03:00
Alex Gonzalez
5d88f226ed linux-fslc: ccimx6ul: Adapt to v4.20
* Adapt patches to v4.20
* Remove patches that are already included in the v4.20 kernel

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03:00
Pierre-Jean Texier
75de4ee0c2 imx7s-warp: Add bcm43430 nvram config
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-03-06 09:31:00 -03:00
Fabio Berton
3b60f3e31a imx7d-pico: Add wic.bmap to IMAGE_FSTYPES
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-25 15:36:13 -03:00
Fabio Berton
86a0899190 imx6ul-pico: Add wic.bmap to IMAGE_FSTYPES
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-25 15:36:13 -03:00
Fabio Berton
6b96039a83 README: Update branch name
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-20 10:29:23 -03:00
Fabio Berton
238f168a0a Stop using SERIAL_CONSOLE and switch all boards to SERIAL_CONSOLES
From meta-freescale commit 2e83203ebd8439a45bc7a931ace6871e6b238658

SERIAL_CONSOLE has been deprecated for a while now (see [1]). This
patch fixes the machines that where still using the old variable.

[1]: https://www.yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#migration-2.6-serial-console-deprecated

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-20 10:29:23 -03:00
Troy Kisky
8b38f230d4 nitrogen8m: fix build issues due to missing mx8/mx8m
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-02-08 15:30:59 -02:00
Gonzalez, Alex
47848bff94 linux-fslc: ccimx6ulsbcexpress: Adapt to v4.19
The ConnectCore 6UL SOM and SBC Express are already included in upstream
v4.19.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-01-10 11:04:57 -02:00
Gonzalez, Alex
56021ac593 ccimx6ulsbcexpress: Add initial board configuration
The ConnectCore 6UL Single Board Computer (SBC) Express contains the
ConnectCore 6UL System-On-Module.

Its hardware specifications are:

* 256MB DDR3 memory
* 256MB NAND flash
* Single Ethernet
* USB Host and USB-OTG
* MicroSD external storage
* Groove connectors and Raspberry Pi Hat compatible expansion heade

The build artifacts are:

U-Boot images: u-boot.imx
Linux partition image: <image name>.boot.ubifs
Root filesystem image: <image name>.ubifs

Root filesystem tarball (for network booting): <image name>.tar.bz2

To program a board from the U-boot prompt, copy the U-Boot, Linux and
root filesystem partition images to your TFTP server root and do:

env set ipaddr <target ip address>
env set serverip <TFTP server ip address>
update uboot tftp u-boot.imx
update linux tftp <image name>.boot.ubifs
update rootfs tftp <image name>.ubifs

More details about the SBC can be found at:
https://www.digi.com/products/embedded-systems/single-board-computers/connectcore-for-i-mx6ul-sbc-express

The ConnectCore 6UL SBC Express includes a ConnectCore 6UL
System-On-Module with the following specification:

* Based on a NXP i.MX6UL SoC
* Industrial temperature ranges (-40ºC to +85ºC)
* Up to 1GB DDR3 memory
* Up to 2GB NAND flash
* Dual Ethernet
* On module 802.11 WiFi and Bluetooth 4.2 (QCA6564)
* On module NXP Kinetis KL03
* On module Microchip ATECC508A crypto element

More details about the SOM can be found at:
https://www.digi.com/products/embedded-systems/system-on-modules/connectcore-for-i-mx6ul

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:21:34 -02:00
Gonzalez, Alex
faa6023723 linux-fslc: Add support for the ConnectCore 6UL SoM and SBC Express
The support for the ConnectCore 6UL SOM and SBC Express is available in
v4.19 so it is added as patches here.

The GPMI BCH layout change is needed to match the kernel with the
NXP IMX vendor based U-Boot used in the ConnectCore 6UL SOM.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:21:14 -02:00
Gonzalez, Alex
5becc9a6d4 u-boot-digi: Add Digi U-Boot for ConnectCore System-On-Modules
This vendor U-Boot is based on v2017.03 and currently supports two
ConnectCore 6UL memory variants, 256MB and 1GB.

To program this U-Boot from a running TFTP server
type the following at the U-Boot prompt:

env set ipaddr <target IP address>
env set serverip <TFTP server IP address>
update linux tftp <filename>

Where filename is:

* u-boot.imx-ccimx6ulstarter - for 256MB variants
* u-boot.imx-ccimx6ulstarter1GB - for 1GB variants

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:20:32 -02:00
Javier Viguera
a57ad4dd0e classes/image_types_digi: Image types for Digi ConnectCore modules
This patch adds a new boot.ubifs image type that is programmed into the
boot partition of the NAND based ConnectCore modules.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:19:57 -02:00
Ming Liu
58c1ce8b43 u-boot-toradex-fw-utils: add new recipe
I observed a following build issue:
| ***
| *** Can't find default configuration "arch/../configs/colibri_imx7_emmc_defconfig"!
| ***
| scripts/kconfig/Makefile:128: recipe for target 'colibri_imx7_emmc_defconfig' failed

it's due to the colibri_imx7_emmc_defconfig does not exist in the
source, because u-boot-toradex and u-boot-fw-utils are not built from
same source. so the toradex machine specific uboot configs do not
present in the default u-boot-fw-utils source.

To fix it, a new u-boot-toradex-fw-utils recipe is added, it uses the
same source with u-boot-toradex, some common code is split out to
u-boot-toradex.inc, to be shared by both u-boot-toradex and
u-boot-toradex-fw-utils.

And we need set PREFERRED_PROVIDER and PREFERRED_RPROVIDER in machine
configs to u-boot-toradex-fw-utils.

Some files derive from u-boot-toradex-fw-utils recipe of:
git://git.toradex.com/meta-toradex-nxp.git

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:17:10 -02:00
Khem Raj
c3d7adee65 u-boot-gateworks-imx: Fix parsing errors
Bitbake assignments cannnot be non-quoted on RHS, fixes parsing errors

Parsing recipes...ERROR: ParseError at
/mnt/jenkins/workspace/yocto-world-glibc/sources/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-gateworks-imx_2015.04.bb:13:
unparsed line: 'S = ${WORKDIR}/git'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Sandra Tobajas <sandra.tobajas@savoirfairelinux.com>
2018-12-12 23:32:35 -02:00
Sandra Tobajas
1ae682b2f7 u-boot-gateworks-imx: fix recipe building
Add the git repository in the recipe in order to build u-boot for
Gateworks imx6 boards.

Signed-off-by: Sandra Tobajas <sandra.tobajas@savoirfairelinux.com>
2018-12-12 07:21:00 -02:00
Otavio Salvador
6e2ad96fce imx7d-pico: Add bcm4339 nvram config
This adds the bcm4339 nvram configuration which allows the use of WiFi
connectivity out of box, using latest Linux FSLC release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-29 10:16:39 -02:00
Otavio Salvador
d7e9491a88 imx6ul-pico: Add wic.xz as default image set
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-27 14:37:03 -02:00
Otavio Salvador
995a304164 imx7d-pico: Add wic.xz as default image set
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-27 14:36:21 -02:00
Otavio Salvador
bf649e408d imx7d-pico: Add PICO-Hobbit baseboard support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-23 09:06:37 -02:00
Otavio Salvador
9b312590b5 imx6ul-pico: Add PICO-Pi baseboard support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-23 09:06:37 -02:00
Gary Bisson
4c2970233f u-boot-boundary: bump revision to ca185fc7
Main changes are:
- Fix blkcache to match page size
- Add LCM JM430 display support
- Add LTK0680YTMDB display support
- Fix DDR initialization
- Fix M4 loading/booting

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-16 15:07:28 -02:00
Gary Bisson
220aa8a7ee linux-boundary: bump revision to a141bcc8
Main changes are:
- Merge v4.9.128 stable release
- Enable Cypress cyttsp5 touch controller
- Fix i.MX8MQ HDMI audio bitrates
- Add EETI EXC3000 touch support
- Add LCM JM430 display support (MIPI to LCD)
- Fix i.MX8MQ DCSS colors issue (REC.709)
- Enable Sitronix st1633 touch controller

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-16 15:07:14 -02:00
Gary Bisson
a836871fd1 linux-boundary-rt: remove unmaintained version
Now that the kernel headers are fixed to 4.9 in meta-freescale, 3rd
party kernel better match that same version.

We currently do not have the bandwidth to maintain such RT version so
remove it to avoid confusion.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-16 15:06:57 -02:00
Ken Lin
8b290b1515 linux-advantech: Update dms-ba16 Q7 Linux kernel
Update with the ARMv7 defconfig to enable IPU and display

Signed-off-by: Ken Lin <ken.lin@advantech.com>
Signed-off-by: Ken Lin <yungching0725@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-08 16:30:42 -02:00
Khem Raj
9ff090335d u-boot-boundary-fw-utils: Don't extend to be a cross recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-27 15:03:59 -03:00
Khem Raj
f18ad6fe4d u-boot-boundary-fw-utils: Limit the target to imx machines only
It fails to build for non-arm machines anyway since it does not provide
the needed env file for anything other than arm and aarch64

Let cross version build too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-15 09:15:56 -03:00
Ian Coolidge
f5573c6b9c u-boot-boundary: Update to v2018.07
From: Ian Coolidge <ian@boundarydevices.com>

Compatible with nitrogem8m board

Blog post: https://boundarydevices.com/u-boot-v2018-07/

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-06 11:53:29 -03:00
Khem Raj
66f45b2833 layer.conf: Add thud to compatible layer series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-01 14:59:03 -03:00
Gary Bisson
3f892ee6b5 linux-boundary: bump revision to 0d15f927
Changelog summary:
- Includes stable v4.9.126
- Adds OV5640 MIPI support for our Nitrogen8M
- Improves SDIO perf for WiFi/BT & eMMC
- Improves SPI display support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-22 00:16:43 -03:00
Otavio Salvador
46d30c2f83 linux-fslc: Avoid error for non-Variscite machines
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-22 00:13:24 -03:00
Andreas Müller
8f21668793 imx6qdl-variscite-som: Add support for use-mainline-bsp/linux-fslc
Tested:

* HDMI
* MMC
* eMMC (mounted)
* NAND (kernel log - no partitions)
* RTC
* USB-Host
* Ethernet
* WiFi
* Bluetooth
* serial console

Open:

* HDMI sound
* Onboard sound (ALSA looks good has no phones connected yet)
* User-Button
* USB-OTG

Cannot test:

* CAN

Additional comments:

1. The way, the dt-files are copied into the kernel sources is not state of the
   art. But since this is some work in progress it makes my worklow a lot easier.
2. My target is to send dt-files to mainline kernel but they are not yet ready
   for that 'environment'. Once done I'll send backports to meta-fslc and 1.
   can go.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-18 16:36:33 -03:00
Andreas Müller
c9318748f1 imx6qdl-variscite-som: prefer "cortexa9thf-neon" for DEFAULTTUNE
It is mx6 default but gets lost for use-mainline-bsp override:
In meta-freescale/conf/machine/include/imx-base.inc
MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp contains
all mx6 variants. So all mx6.. overrides are are filtered which
is usually fine but not for DEFAULTTUNE: Without this patch
armv7hf-neon is build.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-18 16:35:29 -03:00
Andreas Müller
0736ea5ba4 imx6qdl-variscite-som:set linux-fslc as preferred for use-mainline-bsp override
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-17 16:36:39 -03:00
Andreas Müller
fede5aee6e u-boot-variscite: upgrade 2015.04 -> 2017.03
* Licence
    have no idea what changed in the license file README. For
    plausibility a grep here on checksum a2c678cfd4a4d97135585cad908541c6 unveiled:

    recipes-bsp/u-boot/u-boot-boundary-common_2017.07.inc
    recipes-bsp/u-boot/u-boot-toradex.inc
    recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc

    All these set license to GPLv2+ - so we should be fine.

* Fix-the-compile-issue-under-gcc6.patch
    Later versions of u-boot support a version independent gcc header file
    making the patch obsolete

* COMPATIBLE_MACHINE
    resrict to imx6qdl-variscite-som

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-17 16:35:59 -03:00
Otavio Salvador
0c107a6643 imx6ul-pico: Move MACHINE_FEATURES definition
The MACHINE_FEATURES definition usually goes near the end of machine
file as it makes easier to compare the contents related to kernel,
bootloader and other general aspects of BSP.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-14 11:37:43 -03:00
Otavio Salvador
38462fcb53 imx6ul-pico: Use new U-Boot SPL support
This rework the board to use the SPL support and also change the wic
template accordingly.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-14 11:37:43 -03:00
Otavio Salvador
2a50e505d4 imx6ul-pico: Use 'use-mainline-bsp' override
We are using the mainline BSP so we ought to opt-out the NXP-specific
changes as well.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-14 11:37:43 -03:00
Jean-François Têtu
e7b82f00de u-boot-script-gateworks-imx: fix bootscript source
Currently, the recipe uses the script found relative to ${THISDIR}.
Using ${THISDIR} prevents other recipes from using FILESEXTRAPATHS to
overwrite the default boot script. This commit fixes this by using
${WORKDIR} instead.

Signed-off-by: Jean-François Têtu <jean-francois.tetu@savoirfairelinux.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-07 16:27:38 -03:00
Fabio Berton
9bc8e34a80 u-boot-toradex: Use dtc-145 class
commit 040e4f031f2dc581c48253405da9036def035b68 (HEAD -> dev, ssh-push/master-next, ssh-push/master)
Author: Max Krummenacher <max.krummenacher@toradex.com>
Date:   Mon Jul 23 22:13:19 2018 +0200

    dtc-145: Deploy renamed binary only and add new class

    dtc-145-native is used by older U-Boot recipes. U-Boot only depends on
    the native dtc binary. So, to not clash with files from the regular dtc native
    build do only install the dtc binary renamed to dtc-145. Also, create
    a new class to handle with dtc-145 dependency.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-31 09:45:40 -03:00
Fabio Berton
47188eceab u-boot-boundary: Use dtc-145 class
From meta-freescale commit:

commit 040e4f031f2dc581c48253405da9036def035b68
Author: Max Krummenacher <max.krummenacher@toradex.com>
Date:   Mon Jul 23 22:13:19 2018 +0200

    dtc-145: Deploy renamed binary only and add new class

    dtc-145-native is used by older U-Boot recipes. U-Boot only depends on
    the native dtc binary. So, to not clash with files from the regular dtc native
    build do only install the dtc binary renamed to dtc-145. Also, create
    a new class to handle with dtc-145 dependency.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-31 09:44:24 -03:00
Gary Bisson
f602be09ca u-boot-boundary: fix build in master branch
Since master now uses dtc 1.4.6, need to use the 1.4.5 in order to
build older U-Boot versions like 2017.03.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-24 18:05:32 -03:00
Max Krummenacher
4cf1272b94 colibri-imx6ull: add machine configuration
The Toradex Colibri iMX6ULL computer module is based on i.MX 6ULL.

The Colibri iMX6 is a member of the pincompatible Colibri family.

They feature on module RAM and NAND, Ethernet PHY, Resistive Touch
Controller and optional Wi-Fi module.

For additional specifications please visit:
https://www.toradex.com/de/computer-on-modules/colibri-arm-family/nxp-imx6ull

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-19 16:52:07 -03:00
Max Krummenacher
ccd17aa400 apalis/colibri-imx6.conf: remove inactive SERIAL_CONSOLE assignment
imx-base.inc unconditionally sets SERIAL_CONSOLE to ttymxc0.
So assigning with ?= here to the same value does nothing and may
confuse if someone wants to assign to a different UART.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-18 13:16:30 -03:00
Max Krummenacher
eb4cc5937f apalis/colibri machines: update RDEPENDS to match kernel naming
The kernel class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base, follow this in
the config files, otherwise bitbake emits a warning and the kernel isn't
removed.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-18 13:16:30 -03:00
Max Krummenacher
564974fac0 linux-toradex: vf: update to a latest 4.4 based kernel
* fix build with gcc 8 by cherry-picking 9f73bd8bb445e0cbe4bcef6d4cfc788f1e184007
* update to latest, this merges 4.4.139 and adds/cherry-picks the following commits:
    c2be367662f7 ubi: fastmap: Erase outdated anchor PEBs during attach
    b6074ace6351 ubi: Fix Fastmap's update_vol()
    7b5613f1ea2e ubi: Fix races around ubi_refill_pools()
    faf18b12b485 ubi: Be more paranoid while seaching for the most recent Fastmap
    19b27f227d05 ubi: Rework Fastmap attach base code
    bca6f2fc260c ubi: Introduce vol_ignored()
    604ba595d6a5 ARM: dts: vf-colibri-aster: add maxtouch reset gpio
    91d763c2100f ARM: dts: vf-colibri: change pins to capacitive touch adapter
    97d218ad5b0a ARM: dts: vf-colibri: don't pinmux touch gpios directly to output
    c6f9bbccf346 input: atmel_mxt_ts: support reset gpio line
    52657351d56e tty: serial: fsl_lpuart: flush receive FIFO after overruns
    183cfed9e76b tty: serial: fsl_lpuart: fix framing error handling when using DMA
    a126a5e5dc2f usb: gadget: configfs: use hexadecimal values and new line
    46a09b1b606a usb: gadget: configfs: make qw_sign attribute symmetric
    a2deb5da4425 colibri_vf_defconfig: enable user debug
    309d4a8e2e26 tty: serial: fsl_lpuart: report wakeup event
    823c0b0593f5 ARM: dts: vf610: colibri-dual-eth: Fix pinmux
    e0f2806138a4 colibri_vf_defconfig: resync with meta-toradex-nxp
* remove the now superseeded linux-toradex-4.1 kernel

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-18 13:16:30 -03:00
Max Krummenacher
1a26fcfbfc linux-toradex: imx: update to a 4.9-1.0.x based kernel
This updates the kernel used for Toradex modules to a version based
on the fslc 4.9-1.0.x kernel @ 5b5a040 and removes the recipe for
the now superseeded linux-toradex_4.1-2.0 kernel.

* Is buildable with GCC 8.
* Adds/modifies device trees / defconfigs for
    Apalis / Colibri iMX6 QDL
    Colibri iMX6ULL
    Colibri iMX7D/S, Colibri iMX7D 1GB.
    Colibri VF

* The following commits on top of fslc (minus dtb/defconfig):
    fdd4e344c877 mmc: fix idx assigning for not aliased sdhci host controllers
    aa4dca9db8f0 Input: atmel_mxt_ts - add support for reset line
    a3c591558f0c Input: atmel_mxt_ts - use more managed resources
    af2e6a68197b drivers/firmware: Expose psci_get_version through psci_ops structure
    956e8b9bb3e8 arm: Invalidate BTB on prefetch abort outside of user mapping on Cortex A8, A9, A12 and A17
    8b43c976ba0d arm: Add BTB invalidation on switch_mm for Cortex-A9, A12 and A17
    dce4304a4962 ARM: dts: imx6qdl: Fix SPDIF regression
    e8dffa419566 arm: imx: gpc: do not poweroff M/F mix in suspend
    e51cf8fbda64 Revert "PCI: Do not allocate more buses than available in parent"
    ae78c40a1250 serial: imx: add RS-485 device tree properties
    3562e8d2b673 rpmsg: imx: Disable character echoing by default
    90abbc46f25c pci-imx6.c: address compiler warning
    b2a7f2f2fd3e mmc: sdhci: Always allow tuning to fall back to fixed sampling
    72928ca0214c Revert "MLK-14498-2 ARM: imx7d: clk: select uart clock parent and rate"
    c6c1c2923ca1 Revert "MLK-15120 ARM: imx7d: clk: select uart3 clock parent and set rate"
    8d3c9c26670e video: fbdev: mxsfb: allow setting display timings via kernel command line
    4e49c0cd0adb ARM: imx: mach-imx7d: configure clock source per FEC instance
    bd29bc5e29e6 ARM: imx: mach-imx7d: put external ethernet clock in error case
    19c7ea83e9a5 ARM: dts: imx7: add alias for Ethernet controllers
    7c6eb98e8297 ARM: dts: imx7: add SNVS subnodes
    1482b7be25ec imx_thermal.c: unregister all ressources in error path
    b407d00f8f4f ARM: imx7d: clk: make sure OCOTP clock is always on
    d38c0bfd4d79 ARM: dts: imx7s: add operating points
    09ca9a960cb7 cpufreq: imx7s: add i.MX 7Solo
    ea6d509784da usb: gadget: configfs: use hexadecimal values and new line
    a7aa3220bf9f usb: gadget: configfs: make qw_sign attribute symmetric
    9282ed58a8d8 ARM: dts: imx6ull: fix pwm clock
    bc68fdefd5e8 arm: dts: apalis/colibri qdl: add 3rd pwm parameter to specify pos. neg. logic
    8ef8ae51ec6c ARM: dts: imx6ull: improve clock accuracy for SD High Speed
    49efff5ebbc7 pci-imx6: fix reboot bug
    e8c6444ac436 PCI: imx6: fix PCIe EP device self-initialisation
    0bfa192241b6 pcie-imx6: improve reset function for reseting EP
    e123320ed759 pcie-imx6: add reset function for reseting downstream EP
    8ac8baa42b00 ARM: imx: gpc: Fix undefined references when using GPCv2
    22adfeb5967d rpmsg: imx: return ENOTTY if no tty connected
    884a956954bf imx6ull.dtsi: include all needed definitions
    50882da87845 ARM: imx: clk: enable OCOTP clock by default
    52e97a051acf mtd: gpmi: fsl,legacy-bch-geometry independent of nand-on-flash-bbt
    f954e5a644e2 imx: Fix 'Expose SoC unique ID' for newer i.MX6
    415b94e56b77 regulator: pfuze100: Apalis iMX6: Fix poweroff does not release POWER_ENABLE_MOCI
    5da0c036e9b7 Documentation: fix imx7d pinctrl dse config bits
    655d0831a28d busfreq-imx: only use existing global variables
    364fb5a55fb0 mxc_ipuv3_fb: Use the mode_string from command line as is
    27f204455ea4 ov5640_mipi: Revert the hack
    4cbb74dcbf64 tty: serial: imx: Add support for enabling RS485 via device tree
    af155c0c056d ARM: imx: spare the first 16KiB of OCRAM_S for Cortex-M4
    6bc25e8a6ff1 sgtl5000: improve switch on vag power for line_in -> output
    c1a2057ba5c4 net: can: flexcan: Fix wakeup on CAN from suspend issue
    7d9a3340afa8 iio: adc: remove event advertisment
    eae4f0271151 iio: adc: support IIO_CHAN_INFO_SCALE
    fb772326e612 ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed
    ee1c27d7d124 apalis-imx6: use stopmode for poweroff
    23de9e55818a pm-imx6.c: fix power off by stop mode
    681221bb098b colibri-imx6: use stopmode for poweroff
    22494287e5cb sgtl5000: switch on vag power for line_in -> output
    2eb79784a65c iio: adc: fix remove
    f659df991e80 ARM: imx: mu: let Cortex-M4 know about A7 state
    231af51906f5 ARM: imx: clk: do not force clock frequency of M4
    c9ba45bf40ea ARM: imx: busfreq: do not force high frequency during suspend
    144d67fec5e5 ARM: imx: busfreq: initialize M4 frequency depending boot state
    a29d55dfece1 mmc: sdhci-esdhc-imx: make sure runtime PM is suspended in system suspend
    c8b33eee3c36 mtd: gpmi: make sure runtime PM is suspended in system suspend
    8af298605e5d video: fbdev: mxsfb: make sure runtime PM is suspended in system suspend
    ad71948278a4 net: fec: make sure runtime PM is suspended in system suspend
    50f955925a96 imx: Expose SoC unique ID
    b4032aa0f648 drivers: soc: Add new sysfs attribute to expose SoC unique ID
    05ca7b256125 arm: dts: imx7: specify keypad port clock
    891fd68f0ae5 ARM: imx7d: clk: add root clock for keypad port
    1c99ed9c2b52 rpmsg: imx: do not push data when no reader is available
    1a5fbf6a6fac ARM: imx: define buffer count per VirtIO queue
    dad793183c8b gpio: mxc: clear interrupt mask/status optionally
    b3b18d7be775 video: mxc: ldb: Add support for LVDS configuration via kernel boot arguments
    72c709d9839d media: Add support for ADV7280 decoder driver
    74d6a6664415 mxc_v4l2_capture: Change error message to print on debug
    f90e7494f4a9 mxc_v4l2_capture: Allow clock setting for de-interlaced video input
    c721183f506c tty: serial: imx: disable DCD and RI interrupts
    32b2746345fe PCI: Apalis GEN1 forcing quirk
    679683bf2fc9 process.c: if power off fails, do at least a halt
    d4e8e84c02d2 mxc_v4l2_capture.c: make error messages unique
    0c2deaeb01c0 max9526.c: move pinctrl after i2c detect
    d5cefaebc76f adv7180.c: convert debug output to dev_dbg
    108fe9052da4 mxc_v4l2_capture: match ipu/csi/mipi instead of only ipu/csi
    23adec8b589e max9526: add initial MXC camera sensor code
    72616307d2e1 adv7180.c: initial working adv7180 settings
    ef4fcb21a85b mxc_v4l2_capture: let the camera driver set mipi/parallel
    a81bb57eff3d mxc_hdmi.c: fix boot hang
    fea4c76390b9 mxc_lcdif.c: fix comment
    2aeb5f6fd1c7 MXC_CSI_CAMERA: select VIDEOBUF2_DMA_CONTIG
    17e167e9a376 clk-imx6q.c: set eth phy clock dependent on RMII/RGMII
    11d65dc74ae7 mach-imx6q.c: handle RESET_MOCI when PCIe is disabled
    ee4c0dec087d mxc_hdmi: fix detect disconnect case
    014b0edb5e05 OmniVision ov5640 MIPI-CSI2 camera support
    98c1fae87f28 arm: dts: imx7: specify Cortex-M4 clock
    407d9bdea6df mxc_vdacif.c: add second parallel output used for VDAC
    84bfc29c3bde mxc_lcdif.c: add additonal LCD timings
    0496cce66c78 mxc_lcdif.c: EDT-WVGA: fix pixelclk polarity
    15fe815e3c34 mxc_hdmi: skip unnecessary mxc_hdmi_setup calls
    645dd6a53eed sync.h: synchronization framework needs this header
    6d6e8ac718d7 stmpe-adc: remove platform data support
    97fd3924525e mfd: stmpe: move block variable to struct stmpe
    a6d2d2c1ed39 iio:stmpe-adc.c: Switch to new event config interface
    67f5b72be73c stmpe-adc: add temperature channel
    56ca491137bb stmpe-adc: add device tree bindings
    48db21d00ec9 iio: adc: add STMPE ADC driver using IIO framework
    d53597f8dd40 mfd: stmpe: add ADC block resources
    76d6f6f71f04 mach-types: add the apalis-imx6 machine
    362a86526db7 lcd: Add WVGA timings for the EDT 7.0" panel
    d343a14a7f36 mxc_spdif.c: set the validity bit to 'valid'
    dcb6827902a3 eMMC: Don't initialize partitions on RPMB flagged areas.
    118c9d3efbd3 tc358743_h2c: add devicetree support
    836d12e27f4a TC358743 Kconfig dependency update
    d827b38abf48 tc358743_h2c: fill in sample edid data from Asus monitor
    49da693ff9d3 tc358743_h2c: fix compiler warnings
    2d7929d08867 tc358743_h2c: cleanup spacing
    010b7c8c6c31 add tc358743_h2c driver
    b9c7f2fd2c05 mxc_v4l2_capture: add mxc_camera_common_lock/unlock, fix device name
    c3c613e958b4 sdhci: print opcode/retries on timeout error
    b9d0e040eaa4 ARM: dts: imx7: move peripherals into spba
    79015763dc01 ov5640_mipi: software reset does not affect i2c address
    e4591cedcce1 ipu_common: ipu_free_irq, do nothing if not owner
    d986108ee75d ipu_csi_enc: improve error message
    37fe411f93b4 ipu_prp_enc: improve error message
    cd093bb2d393 ov5642: fix csi/ipu check for imx6dl
    de79190880ba ov5640_mipi: fix csi/ipu check for imx6dl
    6fd9881b383f ov5642: add i2c address change feature
    58c60c5bdb46 ov5640_mipi: add i2c address change feature
    c30bcd15b712 mxc_mipi_csi2: add ipu/csi info to probed output
    de7a10923b53 ov5640_mipi: change registered name from ov5640 to ov5640_mipi to reduce confusion
    7c3792756406 i.MX6: v4lout: none of our displays support color-space conversion
    bd9aeac5bd52 dma-mapping: increase DEFAULT_DMA_COHERENT_POOL_SIZE ifdef CONFIG_VIDEO_TW68
    a84a31331dd1 PCI: Add quirk for setting valid class for TW6869 frame grabber
    435c1a65b7e4 mxc_hdmi: Add only_cea parameter to mxc_hdmi module
    6db9a8f8d259 rfkill-regulator: add dt support
    6bbaa40b35c2 ov5640_mipi: simplify mipi clock wait loop
    548c276c7cfd mxc_hdmi: enable overflow interrupt after initialization complete
    5d90a458f49e mxc_hdmi: default to keep-alive (don't detect disconnect)
    9588e83c7b11 Add support for DVI monitors
    ad22a18d9d8a ov5640_mipi: print message on gpio request failure
    8a2f9d8a8fda mxc_v4l2_capture: add ipu_id to sensor_data
    d9f0d37e7efa ov5640_mipi: add remove *2 and add error checking to OV5640_get_sysclk
    668f87b27d75 ov5640_mipi: add imx6 mipi/parallel selection
    9ddc4fa32be3 ov5640: add pwm option for mclk
    3a66f511bf71 ov5642: add imx6 mipi/parallel selection
    c919453df348 fix camera power down
    831f1a8f473f add ar1021 touchscreen
    b820d1c68cbc mxc_v4l2_capture: fix VIDIOC_ENUMSTD, return -EINVAL if index > 0
    3fba3b192c30 mxc_ipuv3_fb: unblank displays at init
    071a5b6b9261 arm: dts: imx7: sepecify vring location
    2d6b217807ab ARM: imx7d: clk: add 240MHz sys main clock to init_on
    241a15ed4b8e usb: chipidea: use of extcon framework to work for non OTG case
    9d986882ce4c extcon: usb-gpio: increase debounce time
    843574212ebf ARM: dts: imx7: use 3 PWM cells
    bd497c7e4068 pwm: imx: Add polarity inversion support to i.MX's PWMv2
    a4b9b821c12d pwm: imx: Remove redundant i.MX PWMv2 code
    9d8b56fb90ba pwm: imx: Provide atomic PWM support for i.MX PWMv2
    8b4fda2561a6 pwm: imx: Move PWMv2 wait for fifo slot code to a separate function
    1ca0850121ab pwm: imx: Move PWMv2 software reset code to a separate function
    fabe4ffb2072 pwm: imx: Rewrite v1 code to facilitate switch to atomic PWM
    284a2e926a9d pwm: imx: Add separate set of PWM ops for v1 and v2
    116d366e9a44 pwm: imx: Remove ipg clock and enable per clock when required
    e5d58a3ce115 pwm: constify pwm_ops structures
    0e7229d1fb65 pwm: Remove .can_sleep from struct pwm_chip
    0385a44d9f0e video: fbdev: mxsfb: honor native-mode
    3d96b0e07642 video: mxsfb: simplify parsing
    6592ec0a736c touchscreen: fusion_F0710A: Reset controller if clear interrupt operation fails
    8b4d25b5c4b6 input: touchscreen: fusion: implement multitouch with slot handling
    85317f182265 input: touchscreen: fusion: use level triggered interrupt
    9dc3d3742114 input: touchscreen: fusion: add device tree integration
    595b42378ac1 input: touchscreen: fusion: platform independent GPIO description
    1c2076de13e3 input: touchscreen: fusion: fix error handling
    77718e16be5a input: touchscreen: fusion: use new I2C PM functions
    c1c7e995dede input: touchscreen: added platform data for Fusion touchscreen
    1bbaba028b68 input: touchscreen: fix race condition in Fusion driver
    735142b4362f input: touchscreen: add ABS_X/ABS_Y axis for Fusion touchscreen
    1c0bfef75958 input: touchscreen: add Fusion 7 and 10 multi-touch driver
    a55ea74a97ec fbcon: logo: allow easy integration of a custom Linux boot logo
    04855006c132 rtc: ds1307: support m41t0 variant
    02f8efbe12b5 spi: spidev: invent a new hw device to work around spidev warning
    f764986d38a6 ARM: imx: fix clock for i.MX 7 when Cortex-M4 is running
    b66e57551f4e ARM: dts: imx7d: move nodes to i.MX 7Solo device tree
    5113a863eedd Revert "MLK-9810 dma: mxs-dma: add power management support"
    8e415aff9ffd Revert "MLK-11019-2: mxs-sdma: add im7d dma-apbh clock"
    970ea218d349 Revert "MLK-11325 dma: mxs-dma: fix dma_io clock enable count mismatch issue"
    a773c41a0475 Revert "MLK-11326 dma: mxs-dma: remove the runtime pm dummy code"
    96e6518c6340 Revert "MLK-13548 ARM: dts: imx: Add 1.2GHz setpoint for imx7d"
    0c9e76fe640e dmaengine: Kconfig: Extend the dependency for MXS_DMA
    1e6580d1714b ENGR00305648-1 ASoC: imx-sgtl5000: Support non-ssi cpu-dai
    834c3fdf7ae8 video: fbdev: mxsfb: fix pixelclock polarity
    c378f5b5e8db mach-imx7d.c: use enet_out clk to decide on PHY clock
    a3e275c490da ARM: imx: enet1: output reference clock
    23ed0c25201c clk: imx7d: create clocks behind rawnand clock gate
    1a4aa043b4c1 ARM: dts: imx7: add GPMI NAND and APBH DMA
    312cd39f794d video: mxsfb: add compile dependencies
    97e0b71209ca chipidea: make usb charger optional

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-18 13:16:30 -03:00
Max Krummenacher
e345432a34 u-boot-toradex: update to latest git
This updates to latest git which among others adds the new configurations
for Colibri iMX6ULL and moves to use a zImage kernel.

Change machine config to use zImage.

Also use 'older' 1.4.5 DTC which does not conflict with the fdt headers
used in U-boot.

The following commits since b121c6ab (minux non NXP related stuff):
eb660075db colibri-imx6ull: set module variant depending on config block
24db10ece3 tdx-cfg-block: simplify i.MX 6 module detection
bfe8950834 tdx-cfg-block: add support for new Colibri iMX6ULL SKUs
017ec39780 colibri_imx7_emmc: add fatwrite support
b5cc69a7e8 colibri-vf: use leveling evaluated by DDR validation tools
e2d5257acd colibri-vf: adjust timing according to data sheet
63d856627d ARM: vf610: ddrmc: do not write CR79 by default
743e081f34 ARM: vf610: ddrmc: fix CR138 preprocessor define
2881fc12d9 ARM: vf610: fix initialization completion detection
3ad050d4e4 arm: vf610: add UART2 pinmux/clock support
cd3e271cc5 colibri-imx6: added nreset gpio on reboot
addb87df8d cmd: ubi: print load size after establishing volume size
d507d86f8f cmd: set filesize variable in ubi read
9b02ad9e5d colibri-imx6ull: fix card detect GPIO of SD card
8890602daf colibri-imx6ull: Set the DDR RAM ASR bit
4c96a4f64d tdx-cfg-block: fix off by one issue
087e95a2dc colibri_t20: fix passing mac address via dt
a1c2045034 colibri_t20: integrate mtd partitions via dt
0940b3480a tools/env: allow equal sign as key value separation
0a9da66891 apalis/colibri_imx6: remove white space after string end
8a98158f8b script: Make the get_default_envs.sh script working with newest u-boot
d58b8057a7 colibri_vf_defconfig: enable MTD partitions via dt
04c6b570f7 arm: dts: imx7: add UART2/UART3
2fbebc49b5 apalis/colibri: switch to zimage
189e6ea804 tdx-cfg-block: add new SKUs
f05c11cd42 imx: initialize and use generic timer on i.MX 6UL/ULL
88b1209ca9 imx: introduce CONFIG_GPT_TIMER
e7a9e5a76b imx: move CONFIG_SYSCOUNTER_TIMER to Kconfig
393811db8e colibri-imx6ull: add MTD fixup compatible for mainline kernels
307a465108 colibri_imx7: do not mux SODIMM 169 as NAND chip select
30a1208727 apalis/colibri: disable undefined instruction events in user debug
980e216a8a colibri_imx6ull: add sensible default DFU configuration
af4cb91695 apalis/colibri: enable user debug by default
52259cf22a apalis: unify configs
48efc7c6be toradex apalis/colibri: set version variable for all modules
abec6c5697 colibri_imx6ull: add dtb for wifi variant
5e54aedd1c colibri_imx6ull.c: remove dead code
284ac523dd imx: imx6ull: correct get_cpu_speed_grade_hz
8d3bb7ea49 MLK-14839-2 imx: clean up print info for thermal and reset cause
1d4ece729e MLK-14839-1 mx6: Fix wrong CPU frequency
e2215315d9 envtools: make sure version/timestamp header file are available
19177c390e tools: env: allow to print U-Boot version

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-18 13:16:29 -03:00
Otavio Salvador
6d79ae9eda imx6ul-pico: Rework machine configuration
This reworks the machine configuration so:

 - it uses a generic name, as it works with multiple baseboards;
 - make use of extlinux configuration support

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11 14:16:12 -03:00
Otavio Salvador
2f04b01bed imx7d-pico: Update settings to use U-Boot SPL
This updates the machine settings so it makes use of the SPL support
and also adds the extra machine U-Boot config, so it allows for a
direct booting in pico-pi baseboard if needed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11 14:16:12 -03:00
Otavio Salvador
cc89a9b637 imx7d-pico: Enable the UBOOT_EXTLINUX support
The U-Boot environment has been reworked to use the common distro
configuration, provided by UBOOT_EXTLINUX support.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11 14:16:12 -03:00
Gary Bisson
33cb0b1255 nitrogen8m: add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-imx8/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11 14:16:07 -03:00
Gary Bisson
983da16f73 u-boot-boundary: add temporary v2017.03 version for imx8m
Hopefully i.MX8M support will soon be properly integrated into mainline
U-Boot so that we can use the same branch for all platforms.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11 14:16:02 -03:00
Gary Bisson
39c3dcd8de linux-boundary: switch to 4.9.x_2.0.0_ga and add mx8 support
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11 14:16:00 -03:00
Gary Bisson
434acb4b4a linux-boundary: bump revision to 46f9b57b
Changelog is too long but as a summary:
- Merged stable release up to 4.9.88
- Improved capture driver to work with v4l2src
- Add yet another LDB clock parent
- Improved MIPI DSI support for i.MX6

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-10 13:52:14 -03:00
Gary Bisson
6146c7020a nitrogen*.conf: fix u-boot preferred provider
And switch to defconfig as now supported in v2017.07 release.

The missing virtual/bootloader variable was generating the following
error:
 $ bitbake u-boot-boundary
...
ERROR: Nothing PROVIDES 'u-boot-boundary'
u-boot-boundary was skipped: PREFERRED_PROVIDER_virtual/bootloader set to u-boot-fslc, not u-boot-boundary
u-boot-boundary was skipped: incompatible with machine nitrogen6x (not in COMPATIBLE_MACHINE)

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-10 13:51:59 -03:00
Gary Bisson
b63043d4e0 nitrogen*.conf: switch to standard boot.scr script
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-10 13:51:43 -03:00
Gary Bisson
d49f0f20a4 u-boot-boundary: bump version to v2017.07
Brings many updates/fixes, most important one being the use of standard
bootdistro commands/variables.

Therefore the legacy 6x_bootscript/upgrade scripts have been removed in
favor of boot.scr and upgrade.scr.

Also, the HOSTCC patch isn't needed anymore since included in mainline
U-Boot.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-10 13:51:20 -03:00
Fabio Berton
7ac85ccf27 imx7s-warp: Migrate to use mainline BSP
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-06 15:11:40 -03:00
Fabio Berton
b94827fe0a linux-wandboard: Remove recipe
Now wandboard is using linux-fslc mainline kernel as default.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-06 10:55:27 -03:00
Fabio Berton
5025245fbc wandboard: Add use-mainline-bsp to MACHINEOVERRIDES
Use mainline bsp support as default.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-06 10:55:23 -03:00
Otavio Salvador
ba286d4226 cfa10xxx: Drop unbuildable machines
Those machines are unbuildable as we removed the barebox (which was
not building for ages) so it seems nobody care about those boards.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03 18:47:13 -03:00
Fabio Berton
6e28a43907 README: Update to use info only for sumo branch
Also add link to Commit Patch Message Guidelines.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26 14:07:14 -03:00
Otavio Salvador
9ff6e19962 wandboard: Add UBOOT_EXTLINUX_CONSOLE to pass ${baudrate} to bootparam
We are passing ${baudrate} for the bootparam so the bootargs are
handled properly.

Change-Id: I8084ff18a8d8ec63709554540687a79511b1162a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-11 16:36:29 -03:00
Otavio Salvador
38f1a0f91c imx7d-pico: Update Linux kernel device tree name
The 4.17 kernel includes the split of imx7d-pico (the SoM) and
imx7d-pico-pi (the SoM + baseboard) split, thus we need to update it
here as well.

Change-Id: Ie9e6aed357af055d906073284d1faba02f84d8e5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-11 16:36:29 -03:00
Ken Lin
314291fb10 linux-advantech: Bump kernel version to 4.9.x
Add support for DMS-BA16 board

Signed-off-by: Ken Lin <yungching0725@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-08 10:40:52 -03:00
texierp
9d674c4556 imx7s-warp: update u-boot configuration
The 'secure_defconfig' was removed, see [1].

[1] 8273209bd9

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-06 10:52:54 -03:00
Alex de Cabo
fa55a2527c linux-congatec: 4.1.15 -> 4.9.11
Bump from cgt_imx6_4.1.15_2.0.0 to cgt_imx_4.9.11_1.0.0

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-05-24 09:56:05 -03:00
Otavio Salvador
44ce402484 conf/layer.conf: Add LAYERSERIES_COMPAT info
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-04-16 16:21:04 -03:00
texierp
7f56432ff8 linux-warp7: enable CONFIG_FHANDLE
Added missing kernel configuration for systemd.

Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-03-29 19:01:12 -03:00
Fabio Berton
d5b9e9570d imx7s-warp: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" and WKS_FILE = "imx-uboot-bootpart.wks" are
already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:30 -03:00
Fabio Berton
d60cb77eb8 imx7d-pico: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:25 -03:00
Fabio Berton
30cb947080 colibri-vf: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:20 -03:00
Fabio Berton
1bcdad9a33 colibri-imx7: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:16 -03:00
Fabio Berton
f52ddb7e91 colibri-imx6: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:11 -03:00
Fabio Berton
3094682971 apalis-imx6: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:04 -03:00
Fabio Berton
6cdec74938 Remove --no-fstab-update option from WIC_CREATE_EXTRA_ARG for all machines
WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" was add to imx-base.inc
and we can remove from all machines that includes imx-base.inc file.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:01 -03:00
Otavio Salvador
c2fcaeadf5
Merge pull request #6 from prof7bit/colibri-fix-serial-console
colibri-vf: use strong assignment of SERIAL_CONSOLE, fixes #5
2018-02-21 15:20:26 -03:00
Bernd Kreuss
4cc42f5105 colibri-vf: use strong assignment of SERIAL_CONSOLE, fixes #5
SERIAL_CONSOLE would otherwise stay at the default setting as defined in imx-base.inc but this setting would make it try to spawn a getty on a non-existing device on the colibri-vf and login on the UART console would not work.

Signed-off-by: Bernd Kreuss <prof7bit@gmail.com>
2018-02-21 18:54:25 +01:00
Ricardo Salveti
5efd7d7de1 broadcom-nvram-config: use nonarch_base_libdir instead of /lib
Hardcoded /lib is not compatible with usrmerge.

Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-21 08:58:37 -03:00
texierp
1883357f1d imx7s-warp: Add option to not modify fstab
Add "--no-fstab-update" to WIC_CREATE_EXTRA_ARGS avoid wic change fstab
in final image.

Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-01-25 16:56:29 -02:00
Gary Bisson
4dacf11ab6 linux-boundary: Bump kernel version to 4.9.x_1.0.0
Kernel based on NXP imx_4.9.x_1.0.0_ga kernel release.
Also includes stable release (4.9.74 as of this patch).

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-01-25 16:56:26 -02:00
Stefan Agner
fcc529237f apalis-imx6.conf: remove Apalis iMX6 V1.0 module support
Remove Apalis iMX6 V1.0 device trees. Newer kernel versions will
no longer provide device trees for those early sample devices.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-12-19 14:31:12 -02:00
Gary Bisson
37c79046d1 linux-boundary: fix defconfig after bump
Our in-kernel defconfig is named boundary_defconfig FYI.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-22 09:49:04 -02:00
Fabio Berton
1cc145abd2 u-boot-boundary-fw-utils: Reuse the same override HOSTCC patch as u-boot-mkimage
(From OE-Core rev: 2815f819c1a620949213fa952557c03f7d594ed6)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 17:43:52 -02:00
Fabio Berton
7dd7e63b6b u-boot-boundary: Bump revision to 0dbffd30b6
This includes the following changes:

    - 0dbffd30b6 cnt: 1066mhz_4x256mx16.cfg: update calibration for new spin of board
    - 15e746b5ea cmd/fdt.c: align scratch data on dword boundary to avoid unaligned access
    - 7c311ea9bf nitrogen6x: add script linking via next variable/prog_fuses
    - dc31ebc7c1 fuse: make fuse read set an environment variable
    - 9aa7904a39 boundary: add fuse config needed for boards
    - 8054d91315 include/configs/boundary.h: good default for BD_CONSOLE
    - e6c78d3431 nitrogen6_vm: add nitrogen6_vm-pt1g_defconfig

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 17:43:32 -02:00
Fabio Berton
e89bf2540b u-boot-boundary-fw-utils: Add recipe for version 2016.03
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 16:40:04 -02:00
Fabio Berton
537776b488 u-boot-boundary: Update COMPATIBLE_MACHINE list
Remove old imx6qsabrelite machine as it is now provided by nitrogen6x,
and add nitrogen6x-lite that was missing.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 16:39:48 -02:00
Fabio Berton
8c2d5034dd linux-boundary: Bump revision to 719fb24c9923
This commit sync defconfig with Boundary source code and apply the
following changes:

    - 719fb24c9923 imx6qdl-cob2.dtsi: initial commit
    - 3ddcc3bf7b31 sgtl5000: add AVC Attack/Decay, AVC threshold low is -96.00 db
    - 2403224a895e sgtl5000: fix Bass Filter Feq start bit, add bass HPF
    - 28193fdd0c38 sgtl5000: and DAP module processing
    - 0ec88cec6d57 fix mxc_v4l2_capture: add vflip and mirror to sensor_data
    - 12ac2d3e92b2 ARM: dts: imx6qdl-cid_tab: fix camera orientation
    - 5cfa3fdba84b ov5640_mipi: allow to override vflip and mirror values
    - 1b4fa6d2d4e3 ov5640: allow to override vflip and mirror values
    - ba49388f06a7 mxc_v4l2_capture: add vflip and mirror to sensor_data
    - f7714e963069 video: mxc: mipi_rm68200: remove start delays
    - ee4b77691dd1 video: mxc: mipi_dsi: reduce status delays
    - 646c810af677 ARM: dts: imx6qdl-cid_tab: expose RGB LEDs individually
    - 1f47a2c2407c ARM: dts: imx6qdl-cid: expose RGB LEDs individually
    - cfd5205144ae ARM: dts: imx6qdl-cid_tab: bump charging current for HV_MAINS/WC to 2.1A
    - a9e134ebe037 ARM: dts: imx6qdl-cid: bump charging current for HV_MAINS to 2.1A
    - 688c9c3f4d77 ARM: dts: imx6qdl-cid_tab: set battery capacity
    - ae6702137456 ARM: dts: imx6qdl-cid: set battery capacity
    - 8d5cf1dd8c85 max77823: fuelgauge: allow to override battery capacity
    - 05dddb49125a max77823: fuelgauge: reset battery values after POR
    - b5e15ebd57ab max77823: fuelgauge: fix reset function
    - c7ad0abcc008 max77823: fuelgauge: fix dynamic scale computation
    - 6d37635eb22b tty: serial: imx: wait until a character is about to be transmitted before enabling the RS485 transmitter
    - 2f9ee08acbc6 tty: serial: imx: use scatterlist for rx dma
    - 5c1fab375c77 tty: serial: imx: change tsk_dma_tx to plain work_struct
    - f1e9beffb7e8 serial: imx-serial - update RX error counters when DMA is used
    - 4aca91d47fb6 tty: serial: imx: remove dma_rx_work
    - 00adde7698b2 arch/arm/boot/dts/imx6qdl-ap.dtsi: initial addition
    - 1c2224ae1e2d boundary_defconfig: make hdmi audio a modules, CONFIG_SND_SOC_IMX_HDMI=m
    - 444102a656dd imx6qdl-h4.dtsi: KEY_COL0 must be UART4_TX_DATA
    - be7be3a4e56c sgtl5000: add bass controls
    - f7cc79eff5f3 imx6qdl-hp.dtsi: always have otg_vbus on, it does not leave this board
    - 9eba3d40a0fc tty: serial: imx: switch from ageing timer to idle to avoid UART sdma script bug
    - 4f35eb7cca03 net: fec: remove QUIRK_HAS_RACC from i.mx27
    - 52d2469b55eb net: fec: remove QUIRK_HAS_RACC from i.mx25
    - 8f3b77ea38bd MLK-14333 firmware: imx: sdma: fix SSI dual fifo swap
    - 74f04ec66272 ARM: imx6q: support ptp and rmii clock from pad
    - da999c39acec ARM: dts: imx6qdl-cid_tab: swap goodix touch axes
    - 9d2a20394fa3 Input: goodix - remove single touch reports
    - 90eff99d70b8 Input: goodix - use "inverted_[xy]" flags instead of "rotated_screen"
    - 4771b34caae1 Input: goodix - add axis swapping and axis inversion support
    - d8d55b7d8752 ARM: dts: imx6qdl-cid: force USB H1 device id
    - d8f1e3f53cff usb: chipidea: allow to override id from device tree
    - 6067115920fd net: fec: Call swap_buffer() prior to IP header alignment
    - b924590deced net: fec: align IP header in hardware
    - 4030d318f8d6 boundary_defconfig: add CONFIG_BRIDGE, needed for bluetooth PAN
    - a5bdde5ddd05 sec_battery: make AC online depend on both battery health and charger health
    - b16b65a5b97f goodix: adding gt928 to i2c_device_id table lets modprobe be automatic
    - 1f39203ce15b Revert "max77823_charger: favor chgin over wcin"
    - 1c1f08bd0e1f imx6qdl-cid_tab: use pwm3 instead of pwm1 to control lvds backlight
    - 8ffe053250f4 max77823_charger: favor chgin over wcin
    - e0f21b50a959 pwm_bl: allow an array of enable pins
    - 13fb24caf547 nitrogen6_vm_pt_defconfig: initial addition
    - 3ac8e32d322b nitrogen51_vm_defconfig: use Andrew's settings, the only user of this defconfig
    - 237892e1726d input: touchscreen: ft5x06: select REGMAP_I2C in Kconfig
    - c24bab70914f imx6sx-ys.dts: pullup RESET_DSP_N
    - f4a6076e1143 ARM: dts: imx6q-cid_tab: initial addition
    - ea4201a38c70 imx6qdl-nitrogen6x.dtsi: s/ov5640_int/ovti,ov5640/
    - 46d3bbf75727 ov5640: add ov5640_int to ov5640_id table
    - 4b5f16e4857d ov5642: improve error message
    - 7c5c37544ae7 max77823_charger: update otg_vbus_enabled in the regulator notifier callback
    - 83059e5e06dc ov5640_mipi: remove ov5640_reg file on rmmod
    - aedfdbb024a2 max77823_charger: don't call max77823_set_online directly, have battery do it
    - adfb14277c18 sec_battery: avoid 'Undefine Battery Status' when not charging
    - c647c9e98f5b tools include: Add a __fallthrough statement
    - ef46e9519ce8 max77823_fuelgauge: fix current_now/current_avg when negative
    - ce1bc18798ae sec_battery: call chargers POWER_SUPPLY_PROP_STATUS, when battery's status changes
    - 8d5aabcc73a5 imx6qdl-ash2.dtsi: initial addition
    - 1d5286fd2181 imx6qdl-ash.dtsi: map ttymxc3 to UART3 to match ash2
    - e03025b9cc77 imx6q-neol-tst.dts: use EIM_DA7 for GP_5V_DLP_EN
    - dee9694b8283 imx6qdl-neol.dtsi: use EIM_DA7 for GP_5V_DLP_EN
    - f67ef4b07eb2 imx6qdl-ash.dtsi: gpio_3 is poweroff only
    - 18b43433c84b max77823_charger: maker as undervoltage if we supply otg vbus power
    - 8869166a01d7 imx6qdl-cid.dtsi: no need to poll for charger health
    - 341bae211c71 max77823_charger: sep

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 15:33:32 -02:00
Fabio Berton
94611c67c3 u-boot-boundary: Create u-boot-boundary-common include file
- Use a common file to make easier update, maintain and create
    others U-Boot recipes like U-Boot fw-utils.
  - Rename recipes to use U-Boot version as recipe PN.
  - Fix U-Boot spelling on description.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 15:32:55 -02:00
Fabio Berton
0f0ff55565 u-boot-boundary: Do not override PROVIDES variable
Append u-boot to PROVIDES variable to get virtual/bootloader
to final value.

  PROVIDES = u-boot-boundary virtual/bootloader u-boot

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-16 13:43:46 -02:00
Fabio Berton
1a3fb4e0c7 mqxboot: Remove recipe for version 2.0.1
This recipe is not being used by anyone. grep shows the only
machine that use mqxboot is colibri-vf and is set to use version
1.%.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-10 14:01:11 -02:00
Max Krummenacher
3fc4458fd8 colibri-vf.conf: add a wic image in favour of sdcard image
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module NAND, the image from the prepared
SD card.

zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
26bec0011d colibri-vf.conf: add a device tree for the aster carrier board
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
c44904d9c8 colibri-imx7.conf: add a wic image in favour of sdcard image
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module NAND, the image from the prepared
SD card can be started with 'run sdboot'.

zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
9202f5fa7f colibri-imx7.conf: add device tree for the aster carrier board
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
0b9af1e059 colibri-imx6.conf: add a wic image in favour of sdcard image
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module eMMC, the image from the prepared
SD card can be started with 'run sdboot'.

zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
8e30e89454 colibri-imx6.conf: add device trees for aster and use-mainline-bsp
Add a device tree for the Aster carrier board.

Add the device tree available in mainline for use with the
use-mainline-bsp override.

While at it unify the @SOC description variable with other boards.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
f570748952 colibri-imx6.conf: do not deploy the kernel in the rootfs
The kernel is taken from a separate fat partition in the regular
boot process, so there is no need to deploy it in the rootfs.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
5e2b946de0 colibri-imx6.conf: build a spl u-boot
U-Boot is now used with SPL, set the machine conf file accordingly.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
c0036cd746 apalis-imx6.conf: add a wic image in favour of sdcard image
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module eMMC, the image from the prepared
SD card can be started with 'run sdboot'.

zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
bbc134ef5d apalis-imx6.conf: add device trees for ixora and use-mainline-bsp
Add a device tree for the Ixora carrier board.

Add the device tree available in mainline for use with the
use-mainline-bsp override.

While at it unify the @SOC description variable with other boards.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
e1e53bf544 apalis-imx6.conf: do not deploy the kernel in the rootfs
The kernel is taken from a separate fat partition in the regular
boot process, so there is no need to deploy it in the rootfs.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
b5f9ee90d8 apalis-imx6.conf: build a spl based u-boot
U-Boot is now used with SPL, set the machine conf file accordingly.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
022d9c6672 u-boot-toradex: update to 2016.11, update to toradex bsp 2.7.4
For the i.MX6 based modules move to boot with SPL to setup the DDR RAM.

Add use-mainline-bsp to compatible machine to allow building this U-Boot
also when 'use-mainline-bsp' is built. (In which case the e.g. mx6 override
is dropped)

License: changed by the following upstream commits, all of which do not
affect our configurations.
  0f4d2f8e79 License: Add the Open Font License
    (ttf fonts)
  40a39e875c SPDX: add X11 SPDX-License-Identifier
    (preparation for dual licensed device trees)
  4dcd9a65d4 Licenses: fix a typo in README

changes to non NXP boards not in list
initial commits for colibri-imx6ull and colibri-imx7-emmc not in list

69cc681 lib/bch.c: modify algorithm for all writebcb users
595c178 mtd: nand: mxs_nand: support chips without ONFI/JEDEC parameter page
d5efded apalis/colibri_imx6: fix white space
cd255bc colibri_imx7: get rid of environment in mmc option
ca92211 colibri_imx7: clean-up config header file
ae968c6 apalis/colibri: fix and synchronize mount options
4370811 colibri_imx7: improve DDR3 timing
7e64e5f toradex: remove ISO partition support
16d2bc5 disk: part: align buffer so it can be used with DMA enabled drivers
84fe4a7 MLK-13140 ARM: imx: update REFTOP_VBGADJ according to fuse setting
1d86d85 MLK-13124 ARM: imx: update the REFTOP_VBGADJ setting
756bc8f imx6ull: cherry-pick remaining stuff from 05922b0
ab546ab MLK-12766 net: fec: do not access reserved register for i.MX6ULL
09983d0 MLK-12486-1: switch to use setup_gpmi_io_clk for i.MX6UL
6d6a643 MLK-12883 usb: limit USB_MAX_XFER_BLK to 256
4e1c703 tdx-cfg-block: add new sku's
6bd94c8 colibri_imx7: remove unused config option
ab71667 colibri_imx7.h: do not deploy nand torture cmd
341064e net: Use packed structures for networking
c0d5002 configs: apalis-tk1: Use ext4 file system by default
51b53b4 colibri-vf: sync the board info message
3e72538 toradex: common: unify behaviour when config block is missing
3ef2146 colibri_imx6: use SDP if USB serial downloader has been used
4fcacc1 apalis_imx6: use SDP if USB serial downloader has been used
80c3bd6 imx_common: detect USB serial downloader reliably
0d06911 imx: add macro to detect whether USB has been initialized
a2e77a6 colibri_imx7: use SDP if USB serial downloader has been used
e05589d imx: imx7: detect USB serial download protocol boot mode
3f4cddb imx: imx7: make get_boot_device available for board files
23b5f7c colibri_imx7: carve out PMD aligned amount of memory
47ac8bf toradex: configblock: add an -y parameter to 'cfgblock create’
cb3d672 configs: apalis_imx6: Use ext4 file system by default
615de72 configs: colibri_imx6: Use ext4 file system by default

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:15:54 -02:00
Max Krummenacher
85b9830c91 linux-toradex_4.1-2.0.x: imx, update to toradex bsp 2.7.4
Update the kernel for a fslc-imx 4.1-2.0.x based kernel for Apalis/Colibri iMX6
and Colibri iMX7.
This replaces the linux-toradex_3.14.52 and linux-toradex_4.1.15 kernels, thus
remove the recipes and their related files.

Add a superset of the machine specific defconfigs in the kernel tree as the
defconfig.

The following changes on top of fslc "Merge tag 'v4.1.39' into 4.1-2.0.x-imx":
- Patches for bsp 2.7.3 as listed below
- Merge to upstream patchlevel fslc/4.1-2.0.x-imx @ 4.1.44
- Patches for bsp 2.7.4 as listed below
- Added initial support Colibri iMX6ULL and Colibri iMX7 Dual 1GB (eMMC)

without the machine specific device-trees or defconfigs commits.:

with bsp 2.7.4
* b893ccb toradex defconfigs: synchronize with defconfigs in oe
* 3e11eb1 colibri_imx7_defconfig: add atmel-mxt-ts as a module
* f5f2907 ARM: dts: imx7-colibri: add atmel mxt multitouch controller
* e747c0e ARM: dts: colibri-imx7: add new gpio hog grp
* 269dba3 colibri_imx6_defconfig: add atmel-mxt-ts as a module
* b9aae76 ARM: dts: imx6dl-colibri: add atmel mxt multitouch controller
* de3fd44 apalis_imx6_defconfig: add atmel-mxt-ts as a module
* 98b9c18 ARM: dts: imx6qdl-apalis: add atmel mxt multitouch controller
* bce5146 ARM: imx: clk: enable OCOTP clock by default
* d96c255 imx6ull.dtsi: include all needed definitions
* c8f0033 mtd: gpmi: fsl,legacy-bch-geometry independent of nand-on-flash-bbt
* 7b02a99 imx: Fix 'Expose SoC unique ID' for newer i.MX6
* 4e35498 imx6dl-colibri-eval-v3: fix weim node
* 090138a regulator: pfuze100: Apalis iMX6: Fix poweroff does not release POWER_ENABLE_MOCI
* c4d5e86 apalis_imx6: update defconfig for wifi
* 837a89e ip6_offload: fix compiler warning
* 4105f39 of: fdt: fix compiler warning
* 4b20a89 mtd: blkdevs: fix switch-bool compilation warning
* c595a9e mtd: fsl-quadspi: fix macro collision problems with READ/WRITE"
* 6fe6616 Revert "mtd: fsl-quadspi: fix macro collision problems with READ/WRITE"

with bsp 2.7.3
* 3f68dc7 busfreq-imx: only use existing global variables
* 22eb8a9 Revert "cpufreq: imx7: fix undefined reference to arm_reg and soc_reg"
* 38524d7 Documentation: fix imx7d pinctrl dse config bits
* 71d7b33 imx7d-colibri: limit to 800 mhz and 1 ghz operating points
* b339205 imx7s: add mandatory 800 mhz operating point
* 22db6be video: fbdev: mxsfb: allow setting display timings via kernel command line
* a6563bd cpufreq: imx7: fix undefined reference to arm_reg and soc_reg
* 9262956 dts: imx7d: move operating points to i.MX 7Dual device tree
* 50e26af mxc_ipuv3_fb: Use the mode_string from command line as is
* d826eb4 ov5640_mipi: Revert the hack
* a5c56b9 ARM: dts: imx6qdl-apalis-ixora: Enable ADV7280 decoder on Ixora
* b8e5d21a tty: serial: imx: Add support for enabling RS485 via device tree
* a8e0d43 ARM: imx: spare the first 16KiB of OCRAM_S for Cortex-M4
* a2130af sgtl5000: improve switch on vag power for line_in -> output
* b48a96a ARM: dts: colibri imx6: configure an external sgtl5000 vddd source
* d21fcda ARM: dts: apalis imx6: configure an external sgtl5000 vddd source
* 40fbb01 ARM: dts: colibri imx6: increase sgtl5000 lrclk drive strenght
* 87f6630 ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed
* 1a3c9b3 ASoC: sgtl5000: add headphone and LINEOUT mute controls
* 8929d0a sgtl5000: add Lineout volume control
* 81fba3f ASoC: sgtl5000: Do not disable regulators in SND_SOC_BIAS_OFF
* 66a04e9 ASoC: sgtl5000: Disable internal PLL early
* 85436af ASoC: sgtl5000: Initialize CHIP_ANA_POWER to power-on defaults
* 51bc42e ASoC: sgtl5000: Write all default registers
* 4523526 ASoC: sgtl5000: Fix regulator support
* 4859c2e90 ASoC: sgtl5000: Remove misleading comment
* abbdc0a ASoC: sgtl5000: fix VAG power up timing
* 198628d ASoC: sgtl5000: fix error message output for MicBias voltage
* 912e038 ASoC: sgtl5000: Replace direct snd_soc_codec dapm field access
* ae56e9d ASoC: sgtl5000: Calculate Lineout Channel Output Level
* 3db63e2 ASoC: sgtl5000: Use specific variable for lo_vag
* f972815 net: can: flexcan: Fix wakeup on CAN from suspend issue
* b6798bb iio: adc: remove event advertisment
* 7a751b2 iio: adc: support IIO_CHAN_INFO_SCALE
* 051ee1a1 apalis-imx6: use stopmode for poweroff
* 8949147 pm-imx6.c: fix power off by stop mode
* 29ff238 colibri-imx6: use stopmode for poweroff
* 94a53ed net: fec: don't transfer ownership until descriptor write is complete
* c15a4c3 rtc: ds1307: support m41t0 variant
* 3e3ea9b sgtl5000: switch on vag power for line_in -> output
* 091594e iio: adc: fix remove
* 4bac3c9 mmc: sdio: add forward declaration for struct mmc_host
* a86db1f ARM: imx: mu: let Cortex-M4 know about A7 state
* 98adbba ARM: imx: clk: do not force clock frequency of M4
* 9e05354 ARM: imx: busfreq: do not force high frequency during suspend
* 70f901b ARM: imx: busfreq: initialize M4 frequency depending boot state
* 3e92301 ARM: imx: busfreq: request bus frequency depending on M4 clock
* 0666dae arm: dts: imx7: specify Cortex-M4 clock
* c663470 mmc: sdhci-esdhc-imx: make sure runtime PM is suspended in system suspend
* 2df675a mtd: gpmi: make sure runtime PM is suspended in system suspend
* ebf4565 video: fbdev: mxsfb: make sure runtime PM is suspended in system suspend
* a2ccbd2 net: fec: make sure runtime PM is suspended in system suspend
* 5ced941 imx_thermal.c: set trip point depending on temp grade
* 9090b5b imx: Expose SoC unique ID
* 8a098f2 drivers: soc: Add new sysfs attribute to expose SoC unique ID
* 36df4e2 arm: dts: imx7: specify keypad port clock
* 7b51b63 ARM: imx7d: clk: add root clock for keypad port
* 506993e rpmsg: use _debug variants for print_hex_dump
* 5aba75e rpmsg: imx: do not push data when no reader is available
* cade8f64 hexdump: do not print debug dumps for !CONFIG_DEBUG
* 1db9a16 ARM: imx: define buffer count per VirtIO queue
* 4cfa939 gpio: mxc: clear interrupt mask/status optionally
* 25b9f89 ARM: imx: remove 'unused' warning
* 257fabb tty: serial: imx: disable DCD and RI interrupts
* c784a4d imx6qdl.dtsi: include bindings gpio.h
* 735d4f8 video: mxc: ldb: Add support for LVDS configuration via kernel boot arguments
* 558d378 colibri_imx6:Add MCP2515 SPI CAN controller to DT
* 7df8a0f media: Add support for ADV7280 decoder driver
* 358a46a mxc_v4l2_capture: Change error message to print on debug
* 80aae0b mxc_v4l2_capture: Allow clock setting for de-interlaced video input
* 0d85191 tty: serial: imx: disable DCD and RI interrupts
* 8ddc702 PCI: Apalis GEN1 forcing quirk
* 826486c PCI: imx6: fix PCIe EP device self-initialisation
* e00c546 process.c: if power off fails, do at least a halt
* be63e27 Input: sentelic - use "static inline" instead of "inline"
* b28f212 mxc_v4l2_capture.c: make error messages unique
* d7357aa ipu_csi_enc.c: fix debug print
* 4e1e8d2 max9526.c: move pinctrl after i2c detect
* 638f43c adv7180.c: convert debug output to dev_dbg
* 67c0d5a2 dtb, i2c-imx.txt: fix typos
* 1ce23b6 mxc_v4l2_capture: match ipu/csi/mipi instead of only ipu/csi
* c5954c2 max9526: add initial MXC camera sensor code
* df76b16 adv7180.c: initial working adv7180 settings
* 518d4ee mxc_v4l2_capture: let the camera driver set mipi/parallel
* 62785df pci-imx6: fix reboot bug
* d2e0de0 mxc_hdmi.c: fix boot hang
* cec9878 extcon: usb-gpio: increase debounce time
* 1fe0cf4 mxc_lcdif.c: fix comment
* 912f823 mxc_v4l2_capture: add mxc_camera_common_lock/unlock, fix device name
* 502376a MXC_CSI_CAMERA: select VIDEOBUF2_DMA_CONTIG
* 691204a clk-imx6q.c: set eth phy clock dependent on RMII/RGMII
* bea0575 mach-imx6q.c: handle RESET_MOCI when PCIe is disabled
* 78d5ad8 mxc_hdmi.c: remove compiler warning
* 2d67c55 mxc_hdmi: fix detect disconnect case
* b34325c OmniVision ov5640 MIPI-CSI2 camera support
* b548028 i2c-imx: add gpio recovery functionality
* fc0d0a2 pcie-imx6: improve reset function for reseting EP
* 557f0276 pcie-imx6: add reset function for reseting downstream EP
* b0e8865 mach-imx6q.c: fix typo in error msg
* 0bcaad8 mxc_vdacif.c: add second parallel output used for VDAC
* f069491 pci-imx6.c: add config option to force GEN1 speed
* e4d913a iio:stmpe-adc.c: Switch to new event config interface
* af6cf45 vgaarb.c: demote pr_err about vga device to pr_debug
* 4e6509c mxc_lcdif.c: add additonal LCD timings
* 849f2e7 pci-imx6.c: remove compiler warning
* 85aff64 mxc_lcdif.c: EDT-WVGA: fix pixelclk polarity
* f6620779 mxc_hdmi: skip unnecessary mxc_hdmi_setup calls
* c73cb81 sync.h: synchronization framework needs this header
* d39b4cf arm: imx6: fix pcie by disabling rc/ep test mode
* 7435612 stmpe-adc: add temperature channel
* 6f88e1d stmpe-adc: add device tree bindings
* 6b542ac iio: adc: add STMPE ADC driver using IIO framework
* d5c4b1b mfd: stmpe: add ADC block resources
* 3b99e8c mach-types: add the apalis-imx6 machine
* 6a315fa lcd: Add WVGA timings for the EDT 7.0" panel
* 6ff9133 mxc_spdif.c: set the validity bit to 'valid'
* 25c2bbc eMMC: Don't initialize partitions on RPMB flagged areas.
* d2aa5b3 tc358743_h2c: add devicetree support
* 97662d8 TC358743 Kconfig dependency update
* e966a0b tc358743_h2c: fill in sample edid data from Asus monitor
* fa98ab8 tc358743_h2c: fix compiler warnings
* 1ae41be tc358743_h2c: cleanup spacing
* cb8232e add tc358743_h2c driver
* 3bb87f2 sdhci: print opcode/retries on timeout error
* a26957b ov5640_mipi: software reset does not affect i2c address
* f157011 ipu_common: ipu_free_irq, do nothing if not owner
* 916ed1f ipu_csi_enc: improve error message
* 439ea46 ipu_prp_enc: improve error message
* cd35b25 ov5642: fix csi/ipu check for imx6dl
* 388605f ov5640_mipi: fix csi/ipu check for imx6dl
* 07bd62d ov5642: add i2c address change feature
* 73924ed0 ov5640_mipi: add i2c address change feature
* 12749a2 mxc_mipi_csi2: add ipu/csi info to probed output
* 9ffb829 ov5640_mipi: change registered name from ov5640 to ov5640_mipi to reduce confusion
* 98963d0 i.MX6: v4lout: none of our displays support color-space conversion
* f657dc3 dma-mapping: increase DEFAULT_DMA_COHERENT_POOL_SIZE ifdef CONFIG_VIDEO_TW68
* 41feae5 PCI: Add quirk for setting valid class for TW6869 frame grabber
* d69533a mxc_hdmi: Add only_cea parameter to mxc_hdmi module
* 5969e2c rfkill-regulator: add dt support
* 66d9883 ov5640_mipi: simplify mipi clock wait loop
* 04abce7 mxc_hdmi: enable overflow interrupt after initialization complete
* de5231f mxc_hdmi: default to keep-alive (don't detect disconnect)
* 51394b5 Add support for DVI monitors
* 4898869 ov5640_mipi: print message on gpio request failure
* e2954c5 mxc_v4l2_capture: add ipu_id to sensor_data
* af79b8b ov5640_mipi: add remove *2 and add error checking to OV5640_get_sysclk
* a03ab41 ov5640_mipi: add imx6 mipi/parallel selection
* 4f704da ov5640: add pwm option for mclk
* 81cf941 ov5642: add imx6 mipi/parallel selection
* ede1722 fix camera power down
* 6c4f140 add ar1021 touchscreen
* bc387b6 mxc_v4l2_capture: fix VIDIOC_ENUMSTD, return -EINVAL if index > 0
* 89a914b mxc_ipuv3_fb: unblank displays at init
* a1b1b16 ARM: imx: adjust vring location to be at 256MB boundary
* 8227a8a arm: dts: imx7: decrease DMA CMA to 128MB
* 4af562c ARM: imx7d: clk: add 240MHz sys main clock to init_on
* 1f43d37 usb: chipidea: Use extcon framework for ID and VBUS detection
* 24bd9a5 arm: dts: imx7: Add support for PWM polarity control
* e32dd66 pwm: imx: Add support for polarity control
* 10a6f7d cpufreq: imx7: don't support OPP table from platform data
* 46c52bd video: fbdev: mxsfb: honor native-mode
* b03cdd9 video: mxsfb: simplify parsing
* f3d8abf Revert "sgtl5000.c: HACK, defer probe when I2C not yet running"
* 967986f touchscreen: fusion_F0710A: Reset controller if clear interrupt operation fails
* d4afe65 input: touchscreen: fusion: implement multitouch with slot handling
* 5be4f48 input: touchscreen: fusion: use level triggered interrupt
* fbfa23b input: touchscreen: fusion: add device tree integration
* 02411ee input: touchscreen: fusion: platform independent GPIO description
* fd92393 input: touchscreen: fusion: fix error handling
* 808f8b9 input: touchscreen: fusion: use new I2C PM functions
* ef32550 input: touchscreen: added platform data for Fusion touchscreen
* 3e2c068 input: touchscreen: fix race condition in Fusion driver
* ac9343d input: touchscreen: add ABS_X/ABS_Y axis for Fusion touchscreen
* a9fc7d5 input: touchscreen: add Fusion 7 and 10 multi-touch driver
* e2d1fdb fbcon: logo: allow easy integration of a custom Linux boot logo
* 49f0b58 spi: spidev: invent a new hw device to work around spidev warning
* bcdfec9 ARM: imx: fix clock for i.MX 7 when Cortex-M4 is running
* 8693a14 pinctrl: pinctrl-imx: add support for LPSR GPR padctrl
* ea2ea01 mfd: rn5t618: register restart handler
* a7b0e5f mfd: add Ricoh RN5T567 PMIC suppport
* 675e67c drivers/dma/Kconfig: allow MXS_DMA for i.MX 7
* d68621a regulator: rn5t618: allow GPIO 0 to be used for an enable signal
* f0e41d7 ENGR00305648-1 ASoC: imx-sgtl5000: Support non-ssi cpu-dai
* f992a95 video: fbdev: mxsfb: fix pixelclock polarity
* d46df08 mach-imx7d.c: use enet_out clk to decide on PHY clock
* 68bf174 Input: ad7879 - add device tree support
* 63339e0 Input: ad7879 - fix default x/y axis assignment
* d1a439e Input: ad7879 - move header to platform_data directory
* 0adde3f ARM: imx: enet1: output reference clock
* 633a4e1 video: mxsfb: add compile dependencies
* f4c63ec chipidea: make usb charger optional
* c8b53a4 regulator: rn5t618: Add RN5T567 PMIC support

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:15:32 -02:00
Max Krummenacher
51fc09ef08 linux-toradex_4.4: vf, update to toradex bsp 2.7.4
- Merge to upstream patchlevel Linux 4.4.88
- Add Remote Processor Messaging (rpmsg) driver for Vybrid
- Various other additions and fixes
- Synchronize defconfig with kernel tree colibri_vf_defconfig

Apart from the upstream patches the following commits were added:
with bsp 2.7.4
* d152ae9 drm/panel: Add display timings for Logic LT161010-2NHC 7" panel
* a8c098d colibri_vf_defconfig: add atmel-mxt-ts as a module
* 274ea53 ARM: dts: vf-colibri: add Atmel MXT multitouch controller
* dd2a698 ARM: dts: colibri-vf: add new gpio hog grp/s
* 2829153 usb: chipidea: use of extcon framework to work for non OTG case
* 1721e2f usb: chipidea: Consolidate extcon notifiers
* de6cb89 Revert "usb: chipidea: Modify use of extcon framework to work for non OTG case"

with bsp 2.7.3
* c1d5fe2 Merge tag 'v4.4.73' into toradex_vf_4.4-next
* 0068a1b ARM: dts: vf-colibri-aster: Add support for Aster with Vybrid
* f37e832 ARM: vf610: PM: Use device tree property to register power_off function
* 3348e45 tty: serial: fsl_lpuart: fix del_timer_sync() vs timer routine deadlock
* f9fc0f2 ARM: dts: imx: fix M41T0 RTC compatible string
* 41e7fd5 rtc: ds1307: support m41t0 variant
* 7cfa321 tty: serial: fsl_lpuart: lock port on console write
* 00babbc ARM: dts: colibri-vf: use pull-down for USBC_DET pin
* 8b06b41 tty: serial: fsl_lpuart: resync with 4.9 kernel
* 837e5b8 Merge tag 'v4.4.59' into toradex_vf_4.4-next
* 418f717 net: fsl_l2_switch: cleanup in remove callback
* 86b0182 net: ethernet: freescale: allow vf610_l2_switch as module
* fa64e12 net: fsl_l2_switch: drop registering phy in switch mode
* cd2eb96 Merge tag 'v4.4.39' into toradex_vf_4.4-next
* 56ffbfa spi: spi-fsl-dspi: Purge switch between EOQ and DMA mode
* 90b6d21 ARM: dts: vfxxx: Enable DMA for DSPI2 and DSPI3
* e2d03ba spi: spi-fsl-dspi: Fix incorrect freeing of DMA allocated buffers
* 9b02266 spi: spi-fsl-dspi: Fix continuous selection format
* 529dcc0 spi: spi-fsl-dspi: Fix incorrect DMA setup
* de55e33 spi: spi-fsl-dspi: Fix SPI transfer issue when using multiple SPI_IOC_MESSAGE
* 3356fd1 spi: spi-fsl-dspi: Fix data corruption for 1K transfers or more
* e1ce49e drm/fsl-dcu: introduce kernel parameter to specify fbdev depth
* 93fb63a ARM: configs: colibri_vf: configure IPv6 SIT driver as module
* 4a8d085 sdhci-esdhc-imx: fix bus-width for 1-bit operation.
* 3816bd7 ARM: vf610: PM: register power_off function
* 7ccb5e5 usb: chipidea: implement platform shutdown callback
* 1cb2765 drm/fsl-dcu: disable CRTC gracefully
* 9e4d484 net: fec: align IP header in hardware
* 6a18208 Input: colibri-vf50-ts: disable IRQs on close
* a650cbf tty: serial: fsl_lpuart: Fix Tx DMA edge case
* 64086f8 drm/fsl-dcu: enable pixel clock when enabling CRTC
* 44108d4 drm/fb_cma_helper: Remove implicit call to disable_unused_functions
* 01a613e drm/fsl-dcu: do not transfer register in mode_set_nofb
* ab74a917 drm/fsl-dcu: do not explicitly transfer registers on plane init
* b385ffb drm/fsl-dcu: enable TCON bypass mode by default
* 7ecc29c ARM: dts: vfxxx: Include support for dspi[23] functionality.
* 95bb750 drm/fsl-dcu: implement lastclose callback
* 5f0a2c4 rpmsg: vf610_rpmsg: check for error pointer
* a47f6f42 char: vf610_sema4: use macro to register driver
* a5a7e6d char: vf610_sema4: improve error handling
* fa359d7 pinctrl: freescale: avoid overwriting pin config when freeing GPIO
* 624f65b i2c: imx: defer probe if bus recovery GPIOs are not ready
* 2e02dcb i2c: imx: make bus recovery through pinctrl optional
* 25ae853 ARM: vf610: PM: initialize suspend to memory seperately
* 80c40b6 ARM: dts: vfxxx: Reintroduce the OCRAM nodes
* cd89f00 Merge tag 'v4.4.21' into toradex_vf_4.4-next
* 45de59e spi: spi-fsl-dspi: Add DMA support for Vybrid
* a8f99a5 ARM: dts: vfxxx: Enable DMA for DSPI on Vybrid
* 51243ff tty: serial: fsl_lpuart: Fix parity control
*   8f2dbc3 Merge branch 'toradex_vf_4.4-rpmsg' into toradex_vf_4.4-next
|\
| * 8439c80 ARM: configs: colibri_vf: Enable remoteproc and rpmsg for Vybrid
| * 764bf1b ARM: dts: vf610: Enable rpmsg driver for Vybrid
| * 5feabad rpmsg: vf610_rpmsg: Add rpmsg driver for Vybrid
| * 7b3be87 rpmsg: imx_rpmsg: Add rpmsg examples
| * ce28cb8 ARM: dts: vf610: Add device tree node for semaphore module on Vybrid
| * a52aca8 char: vf610_sema4: Add support for semaphore module on Vybrid
| * 41d0195 ARM: dts: vfxxx: Allow CCM to be accessed using syscon
| * f5fcfa3 ARM: dts: vf610: Add device tree node for Vybrid remoteproc driver
| * 8b08f5f remoteproc: vf610_cm4_rproc: Add remoteproc support for Vybrid
| * 43c2041 remoteproc: Support ELF loading without resource table
| * fdbb13c ARM: dts: vfxxx: Add CPU2CPU interrupts for MSCM module
| * 91294be irqchip: vf610-mscm-ir: Extend MSCM with CPU2CPU interrupt support
|/
* e11f8ba ARM: dts: vf-colibri: use Toradex evalspi
* 503ad82 spi: spidev: invent a new hw device to work around spidev warning
* 65e1bdf Revert "spi core: Add new sysfs 'num_chipselect' file"
* db04bd4 Revert "spi: spidev: Use 'new_id' sysfs file for enabling spidev"

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:15:32 -02:00
Otavio Salvador
46916bbd74 Rework machines to use wic support
This rework existing machines to use the wic support. It allows for a
lot of code removal as the image dependencies can be defined in a more
accurate way.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-05 13:56:56 -03:00
texierp
cb8eb56f37 imx7s-warp: Add wic image support
Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-05 13:51:45 -03:00
Otavio Salvador
23df7dcb75 wandboard: Add Wandboard revision D1 support
Latest Wandboard hardware revision is D1, which brings the following
new features:

 - PFUZE100 PMIC
 - AR8035 Ethernet PHY
 - Upgrade Wifi/BT chip to BCM4339/BCM43430

The new revision also adds support for QuadPlus SoC so the new Device
Tree is also added.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-05 13:51:39 -03:00
Otavio Salvador
fb6ead9fc3 wandboard: Revert device tree name change
There is no reason to diverge from mainline so we revert the device
tree name change.

This patch changes the machine definition and the Linux kernel recipe
so the tree is kept buildable.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-05 13:51:37 -03:00
Otavio Salvador
fa45a2df35 linux-wandboard: Upgrate to a 4.1-2.0.x based fork
This rebases the Wandboard tree on top of FSLC fork. It avoids
duplicated work across vendors and easy the fix backporting when need.

Due the limited interest on the RT kernel and non-activity on
Wandboard maintenance, the RT kernel has been removed but if someone
is willing to maintain it feel free to send an addition for it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-04 14:38:48 -03:00
Vanessa Maegima
87223f2cc9 imx7d-pico: Add machine configuration
Add machine definition for imx7d-pico board.

For more information about this reference design, please visit:

https://www.wandboard.org/products/android-things/PICO-PI-IMX7/

The machine configuration file used to include Yocto Project support to the
board is a consolidation work only.

It only reflects the work done in Linux kernel, U-Boot and FSL Community BSP,
where the hard work is actually done.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-22 17:13:35 -03:00
Ken Lin
1ded0def76 linux-advantech: Add linux kernel patch for external WDOG_B support
Update linux kernel patch and recipe to support external WDOG_B
on imx6q-dms-ba16 platform.

Signed-off-by: Ken Lin <yungching0725@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-22 17:10:30 -03:00
Otavio Salvador
842931f7f5 Stop using linux-dtb.inc
The Device Tree support is now handled by the kernel class. This patch
removes the inclusion of linux-dtb.inc from the kernel recipes in this
layer.

Change-Id: I9b40bb8e3c061b740f018874a8676262f108b301
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-05 22:39:00 -03:00
Fabio Berton
b2a36b06e5 cgtqmx6: Fix PREFERRED_PROVIDER for u-boot and virtual/bootloader
Set u-boot-congatec for both  u-boot and virtual/bootloader
PREFERRED_PROVIDER and use a softer assignment for these variable.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-30 10:13:49 -03:00
Fabio Berton
d231eb3f07 u-boot-congatec: Bump revision to 2a24305837
This includes the following changes:

    - 2a24305837 cgtumx6: add falcon mode option (Kconfig)
    - cddc3f7900 cgtumx6: add falcon mode implementation
    - a9ecf0b60a cgtqmx6eval: add falcon mode option (Kconfig)
    - 16278856e0 cgtqmx6eval: add falcon mode implementation
    - 8a1fdbe7a4 cgtqmx6eval/cgtumx6: move MFG related Kconfig option to board specific Kconfig files

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-30 10:13:49 -03:00
Fabio Berton
809d8dfa40 u-boot-congatec: Fix build for gcc7
Add include/linux/compiler-gcc7.h file to fix build when using gcc7.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-30 10:13:49 -03:00
Fabio Berton
c1ca2e0acf u-boot-congatec: Don't override PROVIDES variable
Append u-boot value to PROVIDES variable to do not override default
variable value.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-30 10:13:49 -03:00
Fabio Berton
e79bbd0368 linux-congatec: Enable CONFIG_FHANDLE
Enable CONFIG_FHANDLE so that systemd can autostart getty
on serial interfaces like /dev/ttymxc1.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-30 10:13:49 -03:00
Fabio Berton
c9f33e664d cfa10036: Fix IMAGE_FSTYPES barebox-mxsboot-sdcard
>From OE-Core commit 8a9f249a9166347cc0468191ce130003e3d306e1:

If image type "foo" depends on image type "bar.xz", then dependencies
should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
not from "IMAGE_DEPENDS_bar.xz".

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-24 11:29:34 -03:00
Fabio Berton
3fb59e4d6f Replace deprecated IMAGE_DEPENDS_wic with WKS_FILE_DEPENDS
IMAGE_DEPENDS_wic_append is deprecated and to install wic dependencies
we need to set WKS_FILE_DEPENDS variable. We don't need to add u-boot
to WKS_FILE_DEPENDS for machines that has u-boot in
MACHINE_ESSENTIAL_EXTRA_RDEPENDS variable. The only dependency to create
wic images is parted-native and is already provided by image_types_wic
class, we can set WKS_FILE_DEPENDS to void and don't build any dependency.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Tested-by: Eric Nelson <eric@nelint.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-24 11:28:42 -03:00
Eric Nelson
081f9b4441 linux-boundary: change kernel command line defaults (console, initrd)
Most boards from Boundary Devices default to using UART2 (ttymxc1)
as their console. Update the default kernel command line to match.

Also remove the 'noinitrd' flag which has little practical use.

Note that these changes only change the default kernel command line
and are normally overridden by U-Boot through ATAGS.

Signed-off-by: Eric Nelson <eric@nelint.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-24 11:27:36 -03:00
Bhuvanchandra DV
62dd5879ac mcc-kmod: use latest mcc kernel module from toradex git
Use the latest version of mcc-kmod which is adapted for
v4.4 kernel.

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-07 11:48:49 -03:00
Trevor Woerner
a73a14247a wandboard: fix deprecated notation
The previous "IMAGE_DEPENDS..." notation has been deprecated for the newer
"do_image...[depends]" notation.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-07-01 15:39:12 -03:00
Trevor Woerner
e492a6ce3d linux-wandboard: fix for gcc7
Allow the linux-wandboard kernel to build successfully with gcc7.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-06-28 15:06:40 -03:00
Trevor Woerner
fd3962a994 wandboard: use-mainline-bsp default kernel choice
Allow the "use-mainline-bsp" MACHINEOVERRIDES to toggle between the
linux-wandboard and linux-fslc kernels for the wandboard's suggested
kernel choice.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-30 20:13:38 -03:00
Tim Harvey
1f37698ac6 linux-gateworks-imx: update to latest Gateworks kernel
An issue was resolved that caused certain kernel modules to have invalid
CRC's when built with GCC 5.4+ which would cause them to fail loading
if CONFIG_MODVERSIONS is enabled.

See Linux commit d9991ca46 genksyms: fix typeof() handling

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-22 22:22:50 -03:00
texierp
97b16ed1dd WaRP7: Change board maintainer
Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Acked-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-19 07:46:47 -03:00
texierp
d016c1940e linux-warp7: Bump revision to a543d1b
It includes the following changes:
    c602497 : Rename the intermediate node to imx7s-warp
    9f76487 : [WaRP7] PMIC swbst reg always-on

Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Acked-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-19 07:46:20 -03:00
Tim Harvey
213c5f73ce linux-gateworks-imx: replace underscore with hyphen in LOCALVERSION
fixes package-ipk

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-05 07:21:06 -03:00
Tim Harvey
bc562d866d ventana: add GW553x and GW560x support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-05 07:20:49 -03:00
Gary Bisson
23991b3a57 nitrogen7: Add 'use-mainline-bsp' support
The 'use-mainline-bsp' makes use of linux-fslc as kernel.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-30 16:54:24 -03:00
Gary Bisson
9653d7c9a5 nitrogen7: Add wic image tool support
Required when mainline BSP is used. See 79b9c97f for more details.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-30 16:54:24 -03:00
Gary Bisson
795aa11c8f nitrogen6x-lite: Add 'use-mainline-bsp' support
The 'use-mainline-bsp' makes use of linux-fslc as kernel.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-30 16:54:24 -03:00
Gary Bisson
ccd608a241 nitrogen6x-lite: Add wic image tool support
Required when mainline BSP is used. See 79b9c97f for more details.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-30 16:54:24 -03:00
Gary Bisson
5b1098414a nitrogen6sx: Add 'use-mainline-bsp' support
The 'use-mainline-bsp' makes use of linux-fslc as kernel.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-30 16:54:24 -03:00
Gary Bisson
aee0f2a48a nitrogen6sx: Add wic image tool support
Required when mainline BSP is used. See 79b9c97f for more details.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-30 16:54:24 -03:00
Fabio Berton
07583640f3 linux-wandboard: Update LOCALVERSION to use valid characters
We can only use this characters [a-z0-9.+-] for LOCALVERSION.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-27 11:23:35 -03:00
Fabio Berton
ebccc38c30 wandboard: Use wic as default tool to create images
Set wic.gz to SOC_DEFAULT_IMAGE_FSTYPES to use wic as default.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-25 11:49:04 -03:00
Tim Harvey
61bcfe21bd ventana: Add 'use-mainline-bsp' support
The 'use-mainline-bsp' makes use of linux-fslc as kernel and removes
the not yet supported device-tree files from installation set.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-25 10:33:36 -03:00
Tim Harvey
9378428243 u-boot-script-gateworks-imx: bump to v1.07
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-25 10:33:36 -03:00
Tim Harvey
ba226b07eb u-boot-gateworks-imx: bump to 040377
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-25 10:33:36 -03:00
Tim Harvey
3ad78533e6 linux-gateworks-imx_3.14: bump to 1032ddf6
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-25 10:33:36 -03:00
Ian Coolidge
96a70f0108 linux-boundary-rt: Update checksums for realtime patch
The patch on the server has an updated checksum

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-04-12 11:54:17 -03:00
Alex de Cabo
7cf4a42cc1 linux-congatec: Bump kernel to 4.1.15_2.0.0
Kernel based on NXP 4.1.15_2.0.0_ga

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-27 16:40:03 -03:00
Gary Bisson
d682a66e3c u-boot-boundary, u-boot-script-boundary: Bump revision to 568947b
The main goal of this update is to address the issues reported by
Otavio using 6x_bootscript-mainline.txt with mainline Linux [1].

Here is a full log of the bump:
568947b9d1 6x_bootscript-mainline: introduce rfspart variable
8c7e53d06f 6x_bootscript-mainline: use UUID to identify root partition
eb4c55af25 6x_bootscript-mainline: fixup LVDS2 display handling
6e4b9009e7 ahci: extend data io wait to 20s
4e4c6006f7 boundary.h: add CONFIG_CMD_PART
bc55c1e287 6x_bootscript-mainline: change default bootdir to be /
d1c5c4bf98 nitrogen6_max: add ND-070PCAP-1024x600
e7b6e555c4 fbpanel: add ND-070PCAP-1024x600
cf2b52b5d9 mtp: update 2G quadplus calibration based on 15 boards
b8b3e1958b mtp: gadget mac is in ethaddr not eth1addr, because no FEC
143d864e2b ahci: extend data io wait to 15s
7ef83873fe 6x_upgrade: re-introduce fs-specific load commands
9dcb694789 lshore: add pin definitions for rev1.1
fd3d0f65c6 ddr-setup.cfg: increase WALAT to 1 cycle

[1] https://lists.yoctoproject.org/pipermail/meta-freescale/2017-March/020299.html

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-27 16:12:55 -03:00
Otavio Salvador
437938de82 nitrogen6x: Add 'use-mainline-bsp' support
The 'use-mainline-bsp' makes use of linux-fslc as kernel and removes
the not yet supported device-tree files from installation set.

Change-Id: Ic84da0d6d8420748f129dd93d60a632b24e467d8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-27 14:06:53 -03:00
Otavio Salvador
f36a959cd9 nitrogen6x: Add wic image tool support
The wic image needs to install the bootscript and it loads the
respective kernel image and device-tree files from the image, thus
those need to be included.

Change-Id: If58ef5a51a5016761f04fbf5b20aaabf903a22ea
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-27 14:06:52 -03:00
Otavio Salvador
a5b485f5e1 nitrogen6x: Use weak-default for virtual/kernel
The virtual/kernel sometimes need to be overriden, adding the
weak-default allow for easier handler of different providers.

Change-Id: Ifc72665ec49686ad2219de9777860304aab02761
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-27 10:55:22 -03:00
Otavio Salvador
0e4d346f31 u-boot-script-boundary: Enable 'use-mainline-bsp' support
To easy the test with Linux mainline, we are making use of the new
'use-mainline-bsp' override.

Change-Id: Icd44182b5c9fc49feb2f06a4c20d595046b14866
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-27 10:55:16 -03:00
Fabio Berton
ca3b9fb496 u-boot-boundary, u-boot-script-boundary: Bump revision to cf2b52b5d9
This bumps the U-Boot and its corresponding script recipes, for
Boundary Devices, to current stable release. It has a number of
commits which are quoted below:

d4aa4cce1f7 nitrogen51_vm: change I2C2 pullup to 47K
f0731093dd0 nitrogen51_vm: add OKAYA_480_272 support
9cbdb79a32f ys: initial addition, Boundary Devices board
b8a7b0c0a0b phy: enable auto-negotiate with software reset
3cad300c792 bt.h: use BD_CMA to specify cma= on cmd_line
be6a9d8d37c crm_regs: add define for CCM_CCGR7
e76a593aade nitrogen6sx: set usb_ether mac properly
9ccd9a96ad8 lshore: add missing wlmac address setup
21ec9c565f6 6x_bootscript-mainline: add support for BD070LIC2
876e1a7e0e4 nitrogen6sx: fix missing clock enable for FEC1
3aa9b6eee34 fbpanel: use FB_COUNT instead of hardcoded 4, it is 5 now
84b5524eecc nitrogen6_max: add retries for i2c write failures
d3932a38898 fbpanel: fix cmd_lvds2 when lvds2 is primary
cde232f5640 nitrogen6_som2: add nitrogen6_som2_s1g_defconfig
8f2eb9cd133 nitrogen6_max: add VD_TFC_A9700LTWV35TC_C1 for LVDS2 as well
3d8689f9671 acl: initial addition, Boundary Devices board
e34370a6b4e nitrogen6_max: add gt911 touch controller if serializer detected
f260b0435d0 nitrogen6sx: add select MX6SX to Kconfig so that ROM_UNIFIED_SECTIONS is properly selected
564a13998e8 nitrogen6_max: add VD_TFC_A9700LTWV35TC_C1
5c9688ac256 fbpanel.h: add VD_TFC_A9700LTWV35TC_C1
b2c0c5170a5 mx5: soc: use iim_srev to detect TO3
e0dc8ac3dba mx5: lowlevel_init: use iim srev instead of undocumented register
40c6ef96ad7 mx5: lowlevel_init: add macro orr_mx51_tape2_or_lower
870a24137ec mx5: lowlevel_init: merge mx51/mx53 code
6000a279a20 mx5: lowlevel_init: use parameters for init_aips/init_m4if
ff17737017b mx5: lowlevel_init: invalidate L1 cache
9565e071927 mx5: lowlevel_init: add erratum 709718, aips change to allow devregs to work
2ebd038eb42 mx5: lowlevel_init: pll startup change
2f62ea7ce99 mx5: imx-regs fix DP_OP_216
3d5cc7df8bf mx5: lowlevel_init: prevent glitches
ff971e4fff8 mx5: lowlevel_init: use \r_plln
2317e212690 mx5: lowlevel_init: use macro divisor_change_wait
26de5cc68f7 mx5: lowlevel_init: use \r_ccm where CCM addresses are referenced
05fc9dc6076 mx5: lowlevel_init: use \r_zero for r4
6d5affbfbda mx5: lowlevel_init: minor cleanup of init_l2cc
9677253036b mx5: lowlevel_init: Turn on internal oscillator
8e727836532 mx5: lowlevel_init: disable IPU handshake for i.mx53
88e0baed772 6x_bootscript-yocto-3.14.txt: add run cmd_lcd2
2797b9eb8e2 6x_bootscript-ubuntu-3.14.txt: add run cmd_lcd2
1ccd3f6741f 6x_bootscript-yocto-3.14.txt: add reset_cause
7e503ee4dde 6x_bootscript-ubuntu-3.14.txt: add reset_cause
04365fec48c 6x_bootscript-mainline.txt: add reset_cause
47438c927dd 6x_bootscript-mainline.txt: add loglevel
944a95b558e 6x_bootscript-yocto-3.14.txt: add loglevel
858415ec8ba 6x_bootscript-ubuntu-3.14.txt: add loglevel
04e51858efe net_upgrade*.txt: add i.mx51/i.mx53 support
60b263044f3 6x_bootscript*.txt: add i.mx51/i.mx53 support
67e57440058 6x_upgrade.txt: add mx51 support
24fc7fb0cff nitrogen51_vm: initial addition
ac115c6cd24 boundary: add cma= option
2094c6c194c boundary: add loglevel= environment variable
ec049bb3226 iomux-mx51.h: add MX51_PAD's for nitrogen51_vm
daf3771beeb boundary: allow override of CONFIG_SF_DEFAULT_CS, make fastboot conditional on CONFIG_CI_UDC
2303f1649ef mmc: add more prints if CONFIG_MMC_TRACE
38d0cb55532 fsl_esdhc: add print on timeout
0b08d4f71a2 fbpanel: add FB_LCD2 for imx51 support
13a104a55fe configs: boundary: add imx51 specifics
6fb31fe2b42 mx5: clock: add get_pll3_clock
850c0423219 mx5: soc: add CONFIG_IIM_MAC_ADDR_INDEX option
06ab77a56e8 mxc_i2c: add I2C_PADS_INFO_CPU for imx51
79dde89cf15 iomux-v3: add IOMUX_PAD_CTRL for imx51
0abcfcb1f3f ipu_disp: add set_bit_ so that mx51evk links
d9cf0d43abb fbpanel.h: add VD_800X300_565
ed6fb265137 fbpanel: make sure to disable lcd node
179f519e4c0 Revert "mtp: change drive strength for spi nor to cleanup signals"
e598f147059 ta: add TM070JDHG30 tianma panel
802adfafc2c 6x_bootscript-mainline: switch to new panel naming
4ec3c01faf6 hp: add hp_s512m_defconfig
1cef05812f1 hp: initialize otg network always
63869b4930c fbpanel: create function reparent_lvds by moving code
0de6bf20ea6 fbpanel: only change ldb that is needed and follow EB821 closer
41f9d742264 mtp: change drive strength for spi nor to cleanup signals
eff504504a4 6x_bootscript-mainline: update for new display configuration
085adc691b1 nitrogen6_som2: add 4GB 6QP version
7e2d42d4541 nitrogen6_som2: declare TC358743 interrupt as input
5b7f23993c6 nitrogen6_max: declare TC358743 interrupt as input
11a40dbf9eb nitrogen6x: declare TC358743 interrupt as input
50792ca7c47 mtp: s/PAD_CTL_DSE_90ohm/PAD_CTL_DSE_80ohm/ to fix compile error
48397d6bbab nitrogen6_som2: add nitrogen6_som2_s512m_defconfig
18410a11097 nitrogen6q_som2: rename some cfg files
069f21abe72 mtp: change i2c drive strength to avoid undershoot
d97a3590524 cnt: fix boot devs configuration
1ac271099a4 ta: no functional change, separate sd3/sd4 pad settings
6d308c573aa nitrogen6_vm: change sdcard drive strength(partial revert)
d886449bce2 vp: add CONFIG_SPI_FLASH_SPANSION
34986328ab3 utc: add CONFIG_SPI_FLASH_SPANSION
70a22fba3d8 usd: add CONFIG_SPI_FLASH_SPANSION
570ed2ee184 ta: add CONFIG_SPI_FLASH_SPANSION
48bb77bc9be sp: add CONFIG_SPI_FLASH_SPANSION
09f42137f89 snap: add CONFIG_SPI_FLASH_SPANSION
f013cc37b29 s: add CONFIG_SPI_FLASH_SPANSION
657c579277f rc: add CONFIG_SPI_FLASH_SPANSION
1ed9f0d0e2b per: add CONFIG_SPI_FLASH_SPANSION
e68dac99b25 oc: add CONFIG_SPI_FLASH_SPANSION
91da7c260a9 nw: add CONFIG_SPI_FLASH_SPANSION
9d78eb3758c nitrogen7: add CONFIG_SPI_FLASH_SPANSION
a44ca9e853d nitrogen6sx: add CONFIG_SPI_FLASH_SPANSION
e0b0907a4b6 nitrogen6_som2: add CONFIG_SPI_FLASH_SPANSION
006d092bea9 nit6xlite: add CONFIG_SPI_FLASH_SPANSION
1144306e04b mx6_r: add CONFIG_SPI_FLASH_SPANSION
5d50cae139d mtp: add CONFIG_SPI_FLASH_SPANSION
cc105f12d54 med: add CONFIG_SPI_FLASH_SPANSION
0fbd8b073be mcs: add CONFIG_SPI_FLASH_SPANSION
cd0f943f65a lshore: add CONFIG_SPI_FLASH_SPANSION
9e92731434c ls: add CONFIG_SPI_FLASH_SPANSION
79d3866dbac jlm: add CONFIG_SPI_FLASH_SPANSION
a3cf8d09596 ioc: add CONFIG_SPI_FLASH_SPANSION
5890b8f08a2 insp: add CONFIG_SPI_FLASH_SPANSION
9554ba32f09 h: add CONFIG_SPI_FLASH_SPANSION
64147c73a26 hp: add CONFIG_SPI_FLASH_SPANSION
31e290acc4e h4: add CONFIG_SPI_FLASH_SPANSION
4da54b4548e eo: add CONFIG_SPI_FLASH_SPANSION
a4c45db4db0 dash: add CONFIG_SPI_FLASH_SPANSION
25d2dd5f357 cob: add CONFIG_SPI_FLASH_SPANSION
0e561da8823 cnt: add CONFIG_SPI_FLASH_SPANSION
0067da2223b cad: add CONFIG_SPI_FLASH_SPANSION
7f9fcfe5df3 bt2: add CONFIG_SPI_FLASH_SPANSION
c1ff99ce870 bt: add CONFIG_SPI_FLASH_SPANSION
00e87792942 ash: add CONFIG_SPI_FLASH_SPANSION
548be920b23 a: add CONFIG_SPI_FLASH_SPANSION
216208c9e08 nitrogen6_vm: add CONFIG_SPI_FLASH_SPANSION
b208c9db170 nitrogen6_max: add CONFIG_SPI_FLASH_SPANSION
060c11e17a7 nitrogen6x: add CONFIG_SPI_FLASH_SPANSION
52d3ab1d2cb sf_params: S25FL116K can handle 4k erase sectors
124d520fa98 nitrogen6_vm: change sdcard drive strength
b8ce3466180 nitrogen6sx: make more like Linux dts file
c58fae8eb1c nitrogen6_max: add nitrogen6_max_dl4g_defconfig
48372d8d805 nitrogen6_max: add nitrogen6_max_dl2g_defconfig
3748d2a3550 nitrogen6_max: update comments in 1066mhz_4x512mx16.cfg
bf5e304c9b7 nitrogen6_som2: fix PHY address mask
b0e4961647c fbpanel: deglitch lvds clock
dc5a05b2f4d ipu_disp: add timeout to wait for flip routine
d4c925893b8 nitrogen7: add secure boot option
59f462be1e3 nitrogen6sx: add secure boot option
0ab5c83f84d nitrogen6_scm: add secure boot option
5396b784385 nitrogen6x: add secure boot option
f06fbcda874 nitrogen6_vm: add secure boot option
157b6ab6696 nitrogen6_som2: add secure boot option
2305368a722 nitrogen6_max: add secure boot option
352f51f80db nit6xlite: add secure boot option
3082b043b0c boundary.h: add secure boot options
076a9cb9883 arm: imx-common: introduce back usec2ticks
e9ed68406db arm: imx-common: add SECURE_BOOT option to Kconfig
4196510b0da fbpanel: add Sexp parsing (SPI/pre_enable/bus,addr/backlight period)
f210971b999 nitrogen6x: s/board_enable_spi_rgb/board_pre_enable/
7bf1681cf60 fbpanel: use board_pre_enable
e8fabd81988 fbpanel.h: 10kHz backlight for ASIT500MA6F5D
1fa3bba2d4b nitrogen6x: add VD_KD024FM
692c9d3a43c fbpanel: add VDF_KD024FM
cacfe5aa6a7 fdt: use be32_to_cpup when getting device tree value into variable
43d3fb4cebf ash: add EIM_EB2 for sd card power control
f54c69912fd net_upgradeu_fs: initial addition
0a0309be807 net_upgradeu: remove offset and friends from environment
a2f88f6166d net_upgrade_fs: restructure to avoid using exit
b66aec73f88 mcs: add 6x_bootscript-ubuntu-3.14.txt
c417f091036 mtp: add 2g config option
473f6da58ba net_upgrade_fs.txt: grab decompressed size from end of file
12f3113011d 6x_bootscript-*-3.14.txt: add support for m4 specific dtb
75299b88329 nitrogen7: add initial m4 support for FreeRTOS
976118b2bb1 nitrogen6_scm: update m4 support for FreeRTOS
582f3b6dc12 nitrogen6sx: update m4 support for FreeRTOS
ce42e3cbd98 Revert "ENGR00315894-57 iMX6SX: Add M4 boot support at soc level"
4f42f0b64e3 Revert "ENGR00315894-56 CMD: Add new command "bootaux" to boot auxiliary core"
a796b997470 Revert "ENGR00322860 iMX6SX: Add function to check M4 status before booting"
ed95621fd51 vp: setup rgb_gpio_pads in board_early_init_f
5fd3676496f utc: setup rgb_gpio_pads in board_early_init_f
5d959ff5898 nitrogen6x: setup rgb_gpio_pads in board_early_init_f
32871fd5555 nitrogen6sx: setup rgb_gpio_pads in board_early_init_f
90d8ca8c9c5 nitrogen6_vm: setup rgb_gpio_pads in board_early_init_f
555e1493594 nitrogen6_som2: setup rgb_gpio_pads in board_early_init_f
2abecc8ca8f nitrogen6_scm: setup rgb_gpio_pads in board_early_init_f
d9d0feab24d nitrogen6_max: setup rgb_gpio_pads in board_early_init_f
fe5ed50b64f mx6_r: setup rgb_gpio_pads in board_early_init_f
7e0785ec737 lshore: rgb_gpio_pads should not depend on CONFIG_CMD_FBPANEL
2de579e05a9 jlm: setup rgb_gpio_pads in board_early_init_f
96edaf1318e ioc: setup rgb_gpio_pads in board_early_init_f
77f3f1eef2c insp: setup rgb_gpio_pads in board_early_init_f
86ffaa44f9e h4: setup rgb_gpio_pads in board_early_init_f
1943edfc70b h: setup rgb_gpio_pads in board_early_init_f
866b5dfa55f cob: setup rgb_gpio_pads in board_early_init_f
147907e52ba cad: setup rgb_gpio_pads in board_early_init_f
03be7ad1b02 bt2: setup rgb_gpio_pads in board_early_init_f
3fdfa566ba1 ash: GP_BSL_CB_ON_OFF default to low again
b155a32963f nitrogen6sx: print ethernet phy name
bc38c58f481 fbpanel: only reference lvds-channel@1 if (fb == FB_LVDS2)
e11ec148795 nitrogen7: swap GPIO1_IO02/GPIO1_IO03, only CLK02 can be slow clock
7d74f3ca6da hp: add tx enable for rs485
0ecd2f9444e nit6xlite: increase sd card drive strength
1e72771a0f0 nit6xlite: setup remaining pins
134843018d1 hp: add VD_AFK1024600A02
3ad3cd470a9 fbpanel: add VD_AFK1024600A02
77eb38a8720 hp: initial addition, Boundary Devices board
4e8b94259ae nitrogen6_max: add nitrogen6_max_4gr0_defconfig for 4G rank0
a7a41242894 bt2: increase refresh rate for 4G-rank0
e9940907cff ash: add CONFIG_VIDEO_SKIP_VERSION
0cf83cbf932 cfb_console: add CONFIG_VIDEO_SKIP_VERSION
63b97f6aa66 ash: GP_BSL_CB_ON_OFF high, TX23D200_18 default dispay
39deb0a8b01 net_upgradeu.txt: MX25L6405D has 64k erase size
a11053ce6b5 nitrogen7: add qspi-MX25L6405D
d8777349baa 6x_upgrade.txt: MX25L6405D has 64k erase size
50613679561 nitrogen7_defconfig: add CONFIG_SPI_FLASH_MACRONIX
b18d021ecea nitrogen7: allow 4 bit mode for winbond qspi chip
fc803e8dbe4 nit6xlite: add splash screen support
d541e011e5c 6x_bootscript-*-3.14.txt: set bootargs after importing environment variable, as it may reset bootargs
63a40ca20a7 boundary.h: increase fastboot buffer size
3da2362e059 nitrogen7: fix wlmac
f668585d5cb 6x_bootscript-*-3.14.txt: s/enable_msi/disable_msi/
b0d9caca6e1 nitrogen7: add wlmac environment variable
9ee71d2be72 nitrogen7: add cmd_custom=echo to avoid upgrade message
6bfa839dbad net_upgradeu.txt: s/dhcp/tftp/ since ipaddr is already valid
c00c2c0d345 net_upgrade_fs.txt: s/dhcp/tftp/ since ipaddr is already valid
9bd6e794beb 6x_bootscript-yocto-3.14.txt: add Laci's changes(cpu/board/bootpart) and nomsi
996fcb7f2c9 6x_bootscript-ubuntu-3.14.txt: add Laci's changes(cpu/board/bootpart) and nomsi
6b22f6e0d62 boundary: separate bootcmd so it can be overridden
c88b07b5f93 nitrogen7: qspi-SST25VF016B: comment change
64952e4c384 nitrogen6_scm: initial addition, Boundary Devices board
8d4ad5af80e i2c: add CONFIG_SYS_I2C_MASK
07714294a0f a: call preboot_keys
c4806b093db vp: use boundary.h
1e71a937f3c utc: use boundary.h
988c7eff8d6 usd: use boundary.h
55e21bda72f ta: use boundary.h
e2327106ea9 sp: use boundary.h
dcacaf7b6db snap: use boundary.h
5cb0b8d1a74 s: use boundary.h
4aa596403f8 rc: use boundary.h
6b5b3ad0e4b per: use boundary.h
aa4848f2204 oc: use boundary.h
94dbb81eef5 nw: use boundary.h
b6b6b0ce64c nitrogen7: use boundary.h
1785110ed16 nitrogen6x: use boundary.h
cd9ff89b999 nitrogen6sx: use boundary.h
60732290a9e nitrogen6_vm: use boundary.h
57b208e6268 nitrogen6_som2: use boundary.h
6ea8e1182b7 nitrogen6_max: use boundary.h
afb7083ace9 nit6xlite: use boundary.h
b5c060a77f6 mx6_r: use boundary.h
b50fa4727dc mtp: use boundary.h
a94d7331856 med: use boundary.h
694833e08d9 mcs: use boundary.h
d03b7c4def3 lshore: use boundary.h
c82d3faded5 ls: use boundary.h
7e3984ed2cf jlm: use boundary.h
7a08933ddd6 ioc: use boundary.h
1b29f03020d insp: use boundary.h
ed029b9d6ac h4: use boundary.h
78e32d217d3 h: use boundary.h
7f1bd666e39 eo: use boundary.h
cc3bfe17611 dash: use boundary.h
ed706954593 cob: use boundary.h
55cf2dfd68e cnt: use boundary.h
2d4a9e17835 cad: use boundary.h
c06aed4b2c9 bt: use boundary.h
39bed41e298 ash: use boundary.h
535fd46eaa0 a: use boundary.h
a8b39528e40 boundary.h: common include file initial commit
1a1a974997c cnt: preboot_keys is not defined, remove call
c859f6ce412 vp: verify port in board_ehci_hcd_init
c3240f915a4 utc: verify port in board_ehci_hcd_init
88309af334d sp: verify port in board_ehci_hcd_init
3887cbace3e s: verify port in board_ehci_hcd_init
0320ac76051 rc: verify port in board_ehci_hcd_init
5addcb8a8f9 oc: verify port in board_ehci_hcd_init
37f43a51975 nw: verify port in board_ehci_hcd_init
9647623b76c nitrogen6x: verify port in board_ehci_hcd_init
ea527297b4a nitrogen6_som2: verify port in board_ehci_hcd_init
264bb9aac2d nitrogen6_max: verify port in board_ehci_hcd_init
7917c09b508 nit6xlite: verify port in board_ehci_hcd_init
1bee7aa09c0 mx6_r: verify port in board_ehci_hcd_init
c673a5efbfc mcs: verify port in board_ehci_hcd_init
f88f2149f99 jlm: verify port in board_ehci_hcd_init
7156705a0f2 ioc: verify port in board_ehci_hcd_init
94dd2515909 h: verify port in board_ehci_hcd_init
eda1d4e0e24 dash: verify port in board_ehci_hcd_init
a909f470030 cob: verify port in board_ehci_hcd_init
42507783d91 cnt: verify port in board_ehci_hcd_init
ff3f9847077 a: verify port in board_ehci_hcd_init
5c01bde6021 lshore: add 800mhz_4x128mx16.cfg
1c63c1791f1 lshore: add lshore_dl_defconfig
ea465e8ab89 lshore: fix DEFCONFIG lshore_solo_defconfig
3af660c1916 itw:remove
3fdd5f6f853 itw: remove
18e5da4daf5 utc: add wlmac
d6a837868bd s: verify fuse blown before setting wlmac
eb9f0012845 nitrogen6x: add wlmac
920b9ac465c nit6xlite: verify fuse blown before setting bd_addr
ea0f4a79a49 nitrogen6x: add wlmac
15db4230150 nitrogen6_som2: add wlmac
b92885f64ed nitrogen6_max: add wlmac
db316528e02 nit6xlite: verify fuse blown before setting wlmac
dd9a345a36a mtp: s/mac/mac_address/ for consistency
ffbb65f7134 ls: add wlmac
91a8452a94a jlm: add wlmac
609f222a3bd ioc: add wlmac
532d38ff479 insp: s/mac/mac_addres/ for consistentcy
2343e7d45f8 eo: add wlmac
02eef251f4b bt2: add wlmac
18f923e7264 jlm: fix ISL29023 IRQ pin initialization
29e6d1b47fd nitrogen6x: ubuntu/yocto add bd_addr for bluetooth mac to 6x_bootscript
4426fb61f2c nit6xlite: add bd_addr bluetooth mac environment variable
ecf1b4eb0a6 nw: add bd_addr environment variable for bluetooth mac
c51912f1b50 nw: remove CONFIG_SYS_I2C_MXC_I2C3
f27f5bc17ec nw: nw does not have I2C3
1c7f3e37044 nw: fix compile error, add bluetooth pins
00630d9904d nw: set board nw2 for nw2
d2315e0de8c ash: use 800mhz for memory
9b2ff102da2 mx6_r: use VDF_LB043
501c8a53234 mcs: use VD_LD101WX1
e57bcda6cd9 cad: use VDF_SPI_QVGA
6017b4b001f nitrogen6sx: LCD should not use FBF_MODESTR
cedc6ba7810 fbpanel.h: add VDF_ macros
5be7bec40f1 lshore: fix default environment
e53f780549e cfb_console: display version before drawing the logo
901c39d0e3a Revert "ash: delay 150 usec after releasing phy reset"
3d0f7f5c589 ash: delay 150 usec after releasing phy reset
242a7e551b9 lshore: initial addition, Boundary Devices board
32cb5bc3daf sf_params: add IS25WP032/64/128
c6a2d6d7e95 spi: Kconfig: add SPI_FLASH_ISSI
35e80a05818 ash: default uart1 to rs232
41ce5fc45b2 sf-uclass: add spi_dataflash driver option
4a4b09bc47d nitrogen6sx: use _detect directly
23acee9e0dd mcs: pass fbp_detect_gpio
45e6b8bd0b9 nitrogen6x: net_upgrade_fs.txt initial addition
dd575043d6e nitrogen6x: net_upgradeu.txt initial addition
022b632af1a itw: update comments
19c585e8dfa fbpanel: VD_INNOLUX_WXGA_14IN_12V/VD_OSD_WSVGA are 18 bit panels
d4df92fde35 fbpanel: OSD-WSVGA is JEIDA
ad1506e83d4 itw: update splash support
bd05d40d6bc splash_source: fix gzip and raw storage checks
62fa1f96c4c itw: displays update
a805c5bcfbb fbpanel: use _detect as function, add itw panels
3ef80052498 vp: explicit fbp_detect_i2c
c6ce43a86e5 utc: explicit fbp_detect_i2c
f474a381c91 usd: explicit fbp_detect_i2c
dde1af9a795 ta: explicit fbp_detect_i2c
cd740dc4e7d sp: explicit fbp_detect_i2c
0801f74e38a s: explicit fbp_detect_i2c
89eadc1a8e6 rc: explicit fbp_detect_i2c
1e51fdf51ee per: explicit fbp_detect_i2c
2923cd9682b oc: explicit fbp_detect_i2c
74fb2c51c40 nw: explicit fbp_detect_i2c
0d35569b83f nitrogen6x: explicit fbp_detect_i2c
b224f04a501 nitrogen6sx: explicit fbp_detect_i2c
09a78a6fb1c nitrogen6_vm: explicit fbp_detect_i2c
7d02ad269a3 nitrogen6_som2: explicit fbp_detect_i2c
7a678af866c nitrogen6_max: explicit fbp_detect_i2c
8ecde109d5b nit6xlite.c: explicit fbp_detect_i2c
1183bf07c36 mx6_r: explicit fbp_detect_i2c
bce5449ec8b med: explicit fbp_detect_i2c
c4e21b430be mcs: explicit fbp_detect_i2c
febd21e512d ls: explicit fbp_detect_i2c
c35ad4d216a jlm: explicit fbp_detect_i2c
c6e902dbdc9 ioc: explicit fbp_detect_i2c
ce106df02bb insp: explicit fbp_detect_i2c
9c069b1f997 h4: explicit fbp_detect_i2c
10ac86008f7 h: explicit fbp_detect_i2c
7a36c93d10e eo: explicit fbp_detect_i2c
4ce81635e44 dash: explicit fbp_detect_i2c
9f02dce7e0f cob: explicit fbp_detect_i2c
cee11fe74f3 cnt: explicit fbp_detect_i2c
115114c3ac6 cad: explicit fbp_detect_i2c
c7086c03c1f bt2: explicit fbp_detect_i2c
8db523532cb bt: explicit fbp_detect_i2c
6a7305db1d5 ash: explicit fbp_detect_i2c
44a5b1590e0 mcs: remove redundant CONFIG_CMD_GPIO
6385b6bd7b0 a: remove redundant CONFIG_CMD_GPIO
c89f87a871a itw: ddr calibration
24f2e534d2a itw: has hdmi input, not camera
9135e5d71d3 itw: use modestr for lcd
fcaccf579c4 fbpanel.h: add VD_INNOLUX_WVGA_M
cad087a826a itw: LCD is also VD_INNOLUX_WVGA
b147ad9c154 itw: add 300Hz 50% pwm for LVDS panels
99ee39a68c0 fbpanel: disable lvds-channel@n if not used
7ce849cef04 itw: renames mostly
72b6da756b7 itw: turn leds off
e1ed1e3ba31 itw: fix backlight power control
45dc34881f1 itw.h: make more like nitrogen6x.h
a78df29bdea nitrogen6_max.h: make more like nitrogen6x.h
64f77e1b524 nitrogen6x: spacing changes in environment variables
cc84a1067b4 itw: add hdmi panels
79a15949c86 fbpanel: add LVDS2 individual panel support
ca9cb513e2b crm_regs: add CHSCCDR_CLK_SEL_LDB_DI1
8ec9f5689a8 itw: uses ATHEROS phy AR8035
7df8db0d4ed itw: GP_CPU_RESET is active high, so set low
0c5bb92facb itw: add itw_1g_defconfig
b57e32f1e40 nitrogen7: qspi-W25Q128BV initial addition
769d3f63b62 qspi-SST25VF016B: rename, increase to 76 Mhz
a80fba2a9fd 6x_upgrade.txt: use sfname to burn correct qspi paramter file
f599bcc5e09 spi_flash: add env variable sfname
660fd0725ce 6x_upgrade: add qspi file checks size/tag

Change-Id: I54d0642351aecbcf7105963d8cb81165a1e94323
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-22 20:34:24 +00:00
Otavio Salvador
34be6fbc2c u-boot-script-boundary: Ensure the scripts are available in a package
For some specific usages, it is desired to have the scripts packaged.
This allows for a complete image to be deployed.

Change-Id: I4a0b5a753efbc50469121f0dd6c4d9fc61903029
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-22 20:34:24 +00:00
Stefan Agner
2ba6f4c746 linux-toradex: update stable 4.1 kernel
Update the Linux 4.1 Toradex branch to the latest version, containing
Toradex specific fixes as well as the latest version from the kernel.org
stable branches. This also updates defconfig, with notably also compiling
extcon support now which makes the USB OTG port work again.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-17 17:10:49 -03:00
Alex de Cabo
065228815a cgtqmx6: Change Uboot provider
Change Uboot provider to u-boot-congatec, and change kernel
image type to uImage

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-02-16 12:21:16 -02:00
Alex de Cabo
9cd739e753 u-boot-congatec: Add Congatec 2016.01 implementation
Add recipe and patches in order to use Uboot 2016.01

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-02-16 12:21:16 -02:00
Ian Coolidge
1a228072c3 linux-boundary-rt: Add initial recipe
Add support for the Boundary Devices kernel with the realtime patch applied

Patches and defconfig changes are based on linux-imx-rt recipe

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-02-16 12:21:16 -02:00
Alex de Cabo
4be3db2595 linux-congatec: 3.14-1.0 -> 4.1.15
Bump from cgt_qmx6_3.14-1.0.x-mx6_1.0.0 to cgt_imx6_4.1.15_1.2.0
including patches to fix building under gcc6 and fix gcc 6.0 indent
warning error in gc_hal_kernel_platform_imx6ql4.c

Change-Id: I59e155eba9e279cdad8a52597c63e788f6f717c7
Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-02-08 21:50:58 -02:00
Marco Franchi
5a42b3e54e linux-warp7: Bump revision to db742e84
It includes the following changes:
923bbbc ARM: dts: imx7: Add "LPSR" to LPSR iomux pin names
100dfc8 ARM: dts: imx7s-warp: Add watchdog pinmux
eaa5779 ARM: dts: imx7s-warp: Add watchdog node

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-02-08 21:49:46 -02:00
Gary Thomas
5ff3c017f3 linux-boundary: Use compatible version names
Kernel modules now contain ${LOCAL_VERSION} as part of the
final package name.  IPK/OPKG packages cannot contain '_',
so 2.0.0_ga+yocto... is invalid.  This patch uses a version
scheme which is compatible with those packaging schemes.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-02-01 11:09:57 -02:00
Fabio Berton
ef296050f7 imx6ul-pico-hobbit: Add mx6 in the MACHINEOVERRIDES set
The i.MX 6UL was dealt in a specific way due the metadata not being
fully ported still to the feature overrides set; now that most
metadata has been converted it is the right time to add the mx6 SoC
family here as well.

Change-Id: I8e86c43cf4a9351d8a677fa829f9b321b9c27f51
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-26 11:22:35 -02:00
Fabio Berton
2cf1f5d7d2 imx6dl-riotboard: Add missing MACHINEOVERRIDES set
Change-Id: Ie76de2039b654d49c509dab51f8299b14c067e60
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-26 11:22:35 -02:00
Amin Bandali
b9ebd0797e wandboard: Use "IMAGE_FSTYPES ?=" for softer assignment
As it is, IMAGE_FSTYPES = "wic.gz" doesn't allow appending using
"+=". So, use IMAGE_FSTYPES ?= "wic.gz" for providing the default
value.

Signed-off-by: Amin Bandali <amin.bandali@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-16 16:21:07 -02:00
Ian Coolidge
e918fc319f linux-boundary: Sync with latest defconfig
Add MC13892 support for nitrogen51_vm
  CONFIG_MFD_MC13XXX_SPI=m
  CONFIG_REGULATOR_MC13892=m
Add imx51 support
  CONFIG_SOC_IMX51=y
  CONFIG_TOUCHSCREEN_PIC16F616=m
Add CONFIG_BACKLIGHT_LP8860=y
Enable universal TUN/TAP device driver
  CONFIG_TUN=m

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-16 16:17:50 -02:00
Ian Coolidge
e15ba86307 linux-boundary: Bump SRCREV to ff4e28b
Major fix: Fixed egalax touchscreen

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-16 16:17:25 -02:00
Daiane Angolini
338a1c063e linux-warp7: Upgrade to version 4.1.36
Upgrade the kernel version and add a DESCRIPTION.

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-11 11:03:15 -02:00
Ian Coolidge
69ed94bb78 nitrogen6x.conf: Add imx6qp-nitrogen6_som2.dtb
i.MX6QP version of our SOMv2 board

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-16 17:03:26 -02:00
Ian Coolidge
4789cca7f7 linux-boundary: sync defconfig with latest boundary_defconfig
Removed CONFIG_SOC_IMX6UL - none of our platforms are based on IMX6UL

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-16 17:03:26 -02:00
Ian Coolidge
a18e70f76b linux-boundary: Bump kernel version to 4.1.15_2.0.0
Kernel based on NXP 4.1.15_2.0.0_ga kernel release
Integrated Dirty Cow fix
Enabled missing prefetch engine for 6QP boards
Added SOM2_6QP support
ft5x06_ts fix for dual touch

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-16 17:03:26 -02:00
Andreas Müller
742fbd6da4 linux-variscite/defconfig: enable HID input modules
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-09 09:43:42 -02:00
Fabio Berton
cffb25d806 imx6qdl-variscite-som: Add linux-firmware-wl12xx to MACHINE_FIRMWARE
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-18 16:30:17 -02:00
Fabio Berton
e8c1429a7b linux-variscite: Enable support to wl12xx TI wifi module
Configure device tree to load correctly wl12xx based hardware.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-18 16:30:17 -02:00
Andreas Müller
e3dff3bfcb linux-variscite: add modules in defconfig to make wireless work
* tested with V2 modules WL18XX
* might work with V1 WL12XX

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-16 12:04:52 -02:00
Fabio Berton
f6a0984348 linux-boundary: Enable TRACER support
Fix warning:
/
| WARNING: lttng-modules-2.8.0+gitAUTOINC+6e4fc6f36d-r0 do_package:
| lttng-modules: no modules were created; this may be due to
| CONFIG_TRACEPOINTS not being enabled in your kernel.
\

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-14 14:16:08 -02:00
Andreas Müller
558b4940eb linux-variscite: allow non CEA modes on HDMI
had similar patch in meta-variscite-community

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-14 14:12:35 -02:00
Andreas Müller
1f8e1534bd linux-variscite/defconfig: Add CONFIG_PRINTK_TIME
It helps finding boot performance gaps and does not cost much

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-14 14:12:35 -02:00
Fabio Berton
2d3ac5e7cb linux-congatec: Bump revision to 311e836f
Apply the following changes:

  - 311e836 CGT000016 UMX6/QMX6: remove revision check of EXT CSD
  - 72b7310 CGT000015 QMX6/UMX6: fix Q7 SUS_S3# signal handling
  - 7282208 CGT000014 UMX6: add conga-UMX6 default configuration
  - 1a37041 CGT000013 UMX6: add conga-UMX6 device tree configuration
  - 071278e CGT0000012 QMX6: improve QMX6 reset/reboot behaviour, fix

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-14 14:12:35 -02:00
Fabio Berton
7a00fff46b linux-congatec: Add patch to fix compile issue under gcc6
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-14 14:12:35 -02:00
Dominic Sacré
0c2dbf7dcc linux-wandboard-rt: Upgrade to version 4.1.15
Upgrade recipe based on the latest versions of linux-wandboard and
linux-fslc-imx-rt.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-14 14:12:35 -02:00
Dominic Sacré
c462a165d2 linux-wandboard: Add patch to fix build error with gcc6
Without this patch, gcc6 fails to build the Vivante driver with
-Werror=misleading-indentation.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-14 14:12:35 -02:00
Fabio Berton
b79752202b README: Update to use new repository names
Also update example branch name for send patches to a specific branch.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-21 16:19:26 -02:00
Ian Coolidge
1b439c4b25 linux-boundary: Sync defconfig with latest boundary_defconfig
Add CONFIG_SERIAL_GPS_MAX7W=m
Add CONFIG_SERIAL_XR20M117X=m
Add CONFIG_MXC_IPU_V3_PRE=y
Add CONFIG_APDS9300=m
Remove CONFIG_MXC_GPU_VIV=y (Redundant)

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-21 16:19:26 -02:00
Ian Coolidge
79fcd86b2e linux-boundary: Bump SRCREV to e1eae97
Major fixes for touchscreens. Fixes a race condition which was causing some TS drivers to fail on load
Add GPS support
Device Tree Changes
  - add aliases for backlights/pwm for lvds/lcd
  - fix tc358743 mclk
  - touchscreen interrupt fixes
  - allow multiple reset gpios active high or low for pcie

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-21 16:19:26 -02:00
Fabio Berton
9cfef66487 imx6dl-riotboard: Migrate to use wic image creator tool
Use wic image creator tool instead of image_types_fsl class to create
sdcard images. wic uses imx-uboot.wks file and this new layout
has only one partition, so all files will be installed on the same
partition. We need to set MACHINE_ESSENTIAL_EXTRA_RDEPENDS to install
kernel image and devitree and u-boot to root part, set wic.gz as
IMAGE_FSTYPES and set correct WKS_FILES.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-19 17:53:19 -02:00
Fabio Berton
7595ac2738 cubox-i: Migrate to use wic image creator tool
Use wic image creator tool instead of image_types_fsl class to create
sdcard images. wic uses imx-uboot-spl.wks file and this new layout
has only one partition, so all files will be installed on the same
partition. We need to set MACHINE_ESSENTIAL_EXTRA_RDEPENDS to install
kernel image and devitree and u-boot to root part, set wic.gz as
IMAGE_FSTYPES and set correct WKS_FILES.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-19 17:53:19 -02:00
Fabio Berton
038b0b737f wandboard: Migrate to use wic image creator tool
Use wic image creator tool instead of image_types_fsl class to create
sdcard images. wic uses imx-uboot-spl.wks file and this new layout
has only one partition, so all files will be installed on the same
partition. We need to set MACHINE_ESSENTIAL_EXTRA_RDEPENDS to install
kernel image and devitree and u-boot to root part, set wic.gz as
IMAGE_FSTYPES and set correct WKS_FILES.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-19 17:53:18 -02:00
Otavio Salvador
ee5e324d2a conf/layer.conf: Change dependency for use with meta-freescale
The meta-freescale layer provides is different so the dependency needs
to be adjusted.

Change-Id: I3b488f3037915ae82aae0bb5fd3338bb65947d55
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-18 16:07:19 -02:00
Fabio Berton
ae68982b66 cubox-i: Add support to use uboot extlinux
Class that allows extlinux.conf generation for U-Boot use was introduced
on OE-core commits:

  - 7c18abeb2a6ef8b7bb53aa92a9ee76bd465fada2
  - 33df3a65f3e8e136811da715d0cc247ce66ae0ea

To use this feature we need to set UBOOT_EXTLINUX variable to 1.
u-boot-fslc commit 157ec06ef780e3dac510f35b6fcf496c22fb24f9 introduced
support to PARTUUID and UBOOT_EXTLINUX_ROOT use this feature to set
root path used by kernel cmdline.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-18 16:07:19 -02:00
Fabio Berton
49fcfc7622 wandboard: Add support to use uboot extlinux
Class that allows extlinux.conf generation for U-Boot use was introduced
on OE-core commits:

  - 7c18abeb2a6ef8b7bb53aa92a9ee76bd465fada2
  - 33df3a65f3e8e136811da715d0cc247ce66ae0ea

To use this feature we need to set UBOOT_EXTLINUX variable to 1.
u-boot-fslc commit 1009975a22499e79b55d1e800a71ecd8c06c6bfb introduced
support to PARTUUID and UBOOT_EXTLINUX_ROOT use this feature to set
root path used by kernel cmdline.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-18 16:07:19 -02:00
Fabio Berton
fed85eaa2c wandboard: Update KERNEL_DEVICETREE list
Commit 7d8c7757164fd7080257df0124a339f0b349bf63 updated linux-wandboard
to version 4.1.15 and device tree files were changed. Update to match
these new file names.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-18 16:07:19 -02:00
Fabio Berton
967681d4d0 linux-wandboard: Update to 4.1.15
- Update to branch wandboard_imx_4.1.15_1.1.0_ga
  - Add patch to fix compile issue under gcc6

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-18 16:07:19 -02:00
Fabio Berton
f14fd5fb42 imx7s-warp: Set warp7_secure as default U-Boot config
To boot WaRP7 with Linux version 4.1.x we need to use U-Boot with
secure boot enable.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Tested-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-06 17:47:08 -03:00
Daiane Angolini
27428e7308 imx7s-warp: Install WiFi and Bluetooth firmware by default
This machine has the 1DX_BCM4343W chip, so install the firmware by default

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-21 08:17:42 -03:00
Daiane Angolini
415a6b8543 imx7s-warp: Use linux-warp7 by default
Both linux-fslc-imx and linux-warp7 have support and are currently working
with WaRP7. However, there are some patches on linux-warp7 not upstreamed to
linux-fslc-imx.

So, let's use the fork linux-warp7 by default.

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-21 08:17:42 -03:00
Daiane Angolini
f323829eb9 linux-warp7: Add linux kernel recipe for WaRP7 board
This kernel is a fork of linux-fslc 4.1-1.0.x-imx with the following patches
merged to it:

ARM: imx_v7_defconfig: Add himax touch driver support
ARM: IMX: imx7d_warp: Add hx852xes touch driver firmware
ARM: IMX: imx7d_warp: Add hx852xes touch driver
Input: add KEY_APP_SWITCH
ARM: IMX: imx7d_warp: Enable Himax Touch in warp dts file
ARM: dts: imx7d-warp: Remove unnecesary DSI definitions
ARM: dts: imx7d-warp: Add Bluetooth support
ARM: dts: imx7d-warp: Add Wifi support
bcmdhd: Force bcmdhd to build as kernel module.
ARM: imx_v7_defconfig: Add bcmdhd and removed unused Bluetooth configs
ARM: IMX: imx7d_warp: Add MIPI-DSI display config
ARM: IMX: imx7d_warp: Enable MIPI-DSI in warp dts file
ARM: IMX: imx7d_warp: Add otxv5432 driver

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-21 08:17:42 -03:00
Daiane Angolini
8d975d9900 Revert "imx7s-warp: Does not include u-boot on image"
The WaRP7 board shipped today does not have the boot partition configured
as read only, the contrary of what were expected when I sent this patch.

Because of that, this patch reverts commit 954548d649.

For detail on how to lock/unlock the boot partition:
https://github.com/WaRP7/WaRP7-User-Guide/blob/v1.1/04-Chapter/U-boot.adoc#boot-partition

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-16 15:40:19 -03:00
Otavio Salvador
fddc5aef67 imx6sl-warp: Fix typo on MACHINEOVERRIDES value
The prepended value must end with ':' as this is used as value
separator when parsing the value. This fixes following error:

,----
| ERROR: Required build target 'fsl-image-machine-test' has no buildable
| providers.
| Missing or unbuildable dependency chain was:
| ['fsl-image-machine-test', 'packagegroup-base-extended',
| 'bcm4330-nvram-config']
`----

Change-Id: I92f371a39e7e4e5c38dd940435a7f4598265485a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-14 15:52:32 -03:00
Fabio Berton
7a74b6c5e2 imx6qdl-variscite-som: Add new kernel 4.1.15 device tree
Linux Variscite 4.1.15 added following new device tree:

    - imx6dl-var-som-cap.dtb
    - imx6dl-var-som-res.dtb
    - imx6dl-var-som-vsc.dtb
    - imx6dl-var-som-solo-cap.dtb
    - imx6dl-var-som-solo-res.dtb
    - imx6dl-var-som-solo-vsc.dtb
    - imx6q-var-som-cap.dtb
    - imx6q-var-som-res.dtb
    - imx6q-var-som-vsc.dtb

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-13 12:10:55 -03:00
Fabio Berton
bf62d6e27c imx6qdl-variscite-som: Change code style for KERNEL_DEVICETREE
Use a more readable code style and sort items alphabetically.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-13 12:10:55 -03:00
Fabio Berton
d2d0e72870 linux-variscite: Update revision from 3.14.28 to 4.1.15
- Bump revision to 1e7785b

- Drop all 3.14.28 related patches

- Defconfig:
  - Sync defconfig with imx_v7_var_defconfig
  - Remove wl12xx and wl18xx support, we need to use these firmware
    from meta-ti layer.
  - Enable fhandle and Namespaces to add systemd support
  - Add patch to fix the compile issue under gcc6

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-13 12:10:55 -03:00
Fabio Berton
b2d01a81aa u-boot-variscite: Update revision from 2013.10 to 2015.04
- Change to branch imx_v2015.04_4.1.15_1.1.0_ga_var01 and
    revision d4b69fe8l
  - Drop all 2013.10 related patches
  - Add patch to fix the compile issue under gcc6

Change-Id: I390b57d803233d185707a4b99da40114ac8fd339
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-13 12:10:55 -03:00
Otavio Salvador
007b928155 Convert SOC_FAMILY to MACHINEOVERRIDES
The SOC_FAMILY is an indirection which makes the understanding, from
OpenEmbedded versed developers and users, more difficult. Instead of
using the SOC_FAMILY indirection which is rarely used, we now move to
the MACHINEOVERRIDES mechanism as this is in fact what is in use.

This change is done to align with the meta-fsl-arm BSP.

Change-Id: I81fc8b615db6c20a29d266fa68d17c3dd4de3a10
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-08 11:18:23 -03:00
Stefan Agner
99649b72f6 Remove apm from machine features
APM (Advanced Power Management) is a more or less ancient power
management API mainly from the x86 world. There is an optional APM
emulation layer for ARM, and some platform make some extended use
of it (e.g. PXA). However, neither is the emulation enabled on any
NXP/Freescale kernel nor is it commonly used, hence remove it from
machine feature.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-18 09:58:11 -03:00
Breno Lima
884e37262d imx6sl-warp: Modify default kernel provider
Change default kernel provider to linux-fslc-imx in order to avoid
a board without SOC_FAMILY.

linux-fslc and linux-fslc-imx has the same feature support for the board.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-12 11:51:43 -03:00
Akshay Bhat
3dfb82fc7e u-boot-ge: Remove old u-boot recipe
u-boot-ge was used by imx6q-elo board. The imxq-elo board has been
renamed to imx6q-dms-ba16 and now uses u-boot-fslc. Hence remove
old u-boot-ge recipe.

Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-09 10:52:52 -03:00
Akshay Bhat
403262c0c9 linux-ge: Remove old kernel recipe
linux-ge was used by imx6q-elo board. The imxq-elo board has been
renamed to imx6q-dms-ba16 and now uses linux-advantech kernel.
Hence remove old linux-ge recipe.

Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-09 10:52:52 -03:00
Akshay Bhat
53b0ad46c4 imx6q-elo: Rename board and update kernel, U-Boot provider
Rename imx6q-elo machine to imx6q-dms-ba16. 'elo' was a internal
name used by GE for Advantech dms-ba16 board. Since the board is a
generic Advantech board and not GE specific, rename the machine.

Also update the board to use u-boot-fslc u-boot and linux-advantech
kernel.

Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-09 10:52:52 -03:00
Akshay Bhat
cb59f61d5a linux-advantech: Add linux kernel recipe for Advantech i.MX6 boards
This recipe is a fork of linux-fslc 4.1-1.0.x-imx kernel with patches for
supporting imx6q-dms-ba16 platform.

Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-09 10:52:52 -03:00
Daiane Angolini
954548d649 imx7s-warp: Does not include u-boot on image
It does not include u-boot binary on the image but builds it so user
can have the u-boot if an update is needed.

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-09 10:52:52 -03:00
Daiane Angolini
d69bc894c4 imx7d-warp7: Rename to imx7s-warp
Rename to imx7s-warp in order to align with the upstream kernel naming.

It also change the dts file used for the board, it's needed since:

51bca3b53d

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-09 10:52:52 -03:00
Ian Coolidge
db6b66c0e9 linux-boundary: Bump kernel version to 4.1.15
Kernel based on NXP 4.1.15_1.0.0_ga kernel release
Sync with latest boundary_defconfig
  - ubuntu changes
  - ath9k pcie does not have rfkill gpio
  - add CONFIG_TC358743_AUDIO
  - add CONFIG_LEDS_PWM
  - add CONFIG_USB_XHCI_HCD
  - add SAS configuration
  - add CONFIG_TOUCHSCREEN_ATMEL_MXT
  - add NL80211_TESTMODE
  - add CONFIG_SERIAL_XR20M117X=m
Fix compilation with GCC6
Add SAS driver
Add atmel_mxt_ts driver
Device Tree Changes
  - i2c clock name changes
    - s/201/IMX6QDL_CLK_CKO
    - s/200/IMX6QDL_CLK_CKO2
    - s/147/IMX6QDL_CLK_PWM3
  - associate backlight with specific display (fb_lvds)
  - imx6qdl-sabrelite.dtsi: disable tc358743 audio/pinmux conflict with lcd
  - imx6dl-nitrogen6x.dts: ipu_id=<0> for hdmi_core
  - Nitrogen6_max pcie enable fix
  - imx6qdl-nitrogen6_max.dtsi: add atmel_maxtouch
  - enable SDIO3.0 for wifi module
  - imx6sx-nitrogen6sx.dts: fix fec0/1 phy interrupt level

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-28 14:41:28 -03:00
Max Krummenacher
e1a46d08f6 colibri-imx7.conf: add machine configuration
The Toradex Colibri iMX7 computer module is based on i.MX 7Solo and i.MX 7Dual.

The Colibri iMX7 is a member of the pincompatible Colibri family.

They feature on module RAM and NAND, Ethernet PHY, Resistive Touch
Controller and Audio Codec.

For additional specifications please visit:
https://www.toradex.com/computer-on-modules/colibri-arm-family/nxp-freescale-imx7

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:55:28 -03:00
Max Krummenacher
22200d47e0 linux-toradex_4.1.15: add kernel for colibri imx7
This recipe provides a kernel for the NXP i.MX 7 based modules
Colibri iMX7.

- based on Freescale's kernel release rel_imx_4.1.15_1.1.1
- analogue audio playback and capture, resistive touch
- analogue input via IIO framework
    /sys/bus/iio/devices/iio:device0
    Note the 1.8 volt full scale limitation!
- CAN via MCP2515 on Evaluation Board
- DVFS power management (i.MX 7Dual only)
- Ethernet eth0
- custom Ethernet MAC address
- framebuffer console
- GPIOlib /sys/class/gpio
- I2C via /dev/i2c-X
- NAND flash MTD/UBI/UBIFS with hardware ECC
- PWMs /sys/class/pwm
- RTC (i.MX 7 internal and board level I2C RTC)
- 4-bit MMC/SD card ESDHC2
- SPI (ECSPI) via /dev/spidev2.0, disabled in device tree
- suspend LP1
- CPU temperature sensor via hwmon /sys/class/hwmon/hwmon0/temp1_input
- serial console debug UARTA ttymxc0
- serial UARTA/UARTB and UARTC, including RTS/CTS, ttymxc0/1/2
- USB host port (Note, i.MX 7Solo only on USBC port)
- USB audio driver

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:55:28 -03:00
Max Krummenacher
81e12a8f28 colibri-vf.conf: drop building ubi image
These are rarely used, so save time and diskspace.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:55:28 -03:00
Max Krummenacher
f954fa02e7 colibri-vf.conf: fix uboot make target
As some variables are now assigned with ?= in colibri-vf.conf and imx-base.inc
make sure that colibri-vf.conf takes precedence.
(e.g. UBOOT_MAKE_TARGET)
UBOOT_MAKE_TARGET is assigned with ?= in imx-base.inc and u-boot.inc. So in
order to have the machine.conf file take precedence use a = assignemnt.
Changing the ?= to ??= in imx-base.inc would always be overridden from
the ?= "all" assignment in u-boot.inc

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:55:28 -03:00
Max Krummenacher
10452567ae colibri-vf.conf: don't add kernel/dtb to rootfs
The kernel is now deployed in the static ubi volumes 'kernel' and 'dtb'.
So remove them from rootfs /boot.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:55:28 -03:00
Max Krummenacher
73dab3af46 toradex machine conf: build sdcard and tar.bz2 image
This helps deploying the images:

- The U-Boot booting from on module mass storage is able to directly boot the
  sdcard image.

- The tar.bz2 rootfs can easily be used to update on module mass storage.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:55:28 -03:00
Max Krummenacher
669a2959b5 linux-toradex: add kernel version 4.4 for colibri-vf
- updated to 4.4.14 LTS long term stable Linux kernel
- added driver for Ethernet (L2) switch
- switched to DRM based driver for the display controller unit (DCU)
  Note: The display kernel parameter video uses a new identifier (LVDS-1
  as opposed to dcufb). Specifying display timings in the device tree is
  currently not possible, custom display timings should be added to the
  driver panel-simple.c.
- removed support for multi-core communication (MCC)
- increased NAND clock frequency for Colibri VF61
- support creation of SPI devices through /sys/bus/spi/drivers/spidev/new_id
- disable PHY power-down mode due to hardware issues on wakeup
- enable IP/TCP checksum offloading
- add IIO based DAC driver

Keeping linux-toradex_4.1 deliberately. Users wanting the use the multi-core
communication (MCC) cannot upgrade currently.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:55:28 -03:00
Max Krummenacher
239d6171f9 linux-toradex: port to 3.14.52
- updated to imx_3.14.52_1.1.0_ga
- backport gcc 6 fixes
- follow changed OV5640 compatibility string
- mxc_v4l2_capture: Allow clock setting for de-interlaced video input
- media: Add support for ADV7280 decoder driver as found on ACA
- video: mxc: ldb: Add support for LVDS configuration via kernel boot arguments
- fixed PCIe operation with Evaluation Board PCIe switch
- fixed invalid #address-cells value which fixed issues with PCIe interrupts
- disable not serviced DCD/RI UART interrupts
- fixed bug preventing gpio-leds dtb configuration
- limit SPI clock to datasheet maximum of 18MHz
- enable RTL8192CU driver e.g. for LM006 USB Wi-Fi stick

defconfig:
Reduce the RAM allocated to cma to at most half the RAM size.
Without this the cma allocates most of the RAM on modules with
256MB and the kernel crashes during boot for lack of DMA memory.

Additionally add all kernel options used exclusively in the
colibri_imx6_defconfig so that all drivers referenced in the dtb
are actually available.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:55:28 -03:00
Max Krummenacher
39bcb6f641 u-boot-toradex: update to v2.6 beta 2 release
- merged NXP imx_v2015.04_3.14.52_1.1.0_ga release
- backport fix to complie with GCC-6 from mainline
- add support for the i.MX 7 based Colibri iMX 7 module
- add mx7 to compatible machine

Additionally notable commits
8d048cf i.mx 6/7 increase maximum temperature for booting linux
c9f3017 net: increase maximum frame size to accomediate VLAN packets
7bf0f5d colibri_vf/imx6/7 apalis_imx6: synchronize/improve memory options
2f3e53e apalis_imx6: fix Ethernet when using gigabit switch
c12a0fc net: phy: allow disabling gigabit ethernet
4387807 colibri_imx6: update do_patch_ddr_size to parse ivt and dcd
e1a48b2 apalis/colibri_imx6: availability check for update fusing command
119db19 apalis/colibri_imx6: adding update fusing command
112246b colibri_vf: use same NAND clock as Linux uses
7f94666 colibri_vf: read kernel and device tree from static UBI volumes
2b73c91 Revert "tools: make imxheader size align on page size"
04fe624 apalis_imx6_it_defconfig: add options needed with 3.14.52_1.1.0_ga
8578a5c iMX6/7 soc.c: allow for board supplied serial
028a378 tools/imximage: set DCD pointer to NULL when its length is 0
9ab1413 pci: fix address range check in __pci_hose_phys_to_bus()
b9b4bd6 pmic: delay reset to meet Ethernet PHY timing

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:55:28 -03:00
Ian Coolidge
bc7ea0e167 u-boot-script-boundary: Fix paths for bootscript and upgrade script
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22 10:54:05 -03:00
Daiane Angolini
089ce85e2e imx6ul-pico-hobbit: Add machine configuration
For more information about this reference design, please visit:

http://www.technexion.com/products/pico/pico-som/pico-imx6-emmc

The machine configuration file used to include Yocto Project support to the
board is a consolidation work only.

It only reflects the work done in Linux kernel, U-Boot and FSL Community BSP,
where the hard work is actually done.

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-17 17:03:32 -03:00
Justin Waters
698cf389aa imx6q-elo: Add machine configuration
This commit adds support for the Advantech/General Electric ELO board, which
is based on the DMS-BA16 Qseven module from Advantech.

The DMS-BA16 module supports:

 - Freescale ARM Cortex-A9 i.MX6 Dual/Quad Core 1 GHz high performance processor
 - Up to 2GB Onboard DDR3 Memory; Up to 32GB Onboard eMMC NAND Flash
 - Supports OpenGL ES 2.0 and OpenVG 1.1
 - HDMI, 24-bit LVDS
 - 1x UART
 - 2x I2C
 - 8x GPIO
 - 4x Host USB 2.0 port
 - 1x USB OTG port
 - 1x micro SD (SDHC)
 - 1x SDIO
 - 1x SATA II
 - 1x 10/100/1000 Mbps Ethernet
 - 1x PCIe X1 Gen1

For more information about this product, please visit:
http://www.advantech.com/products/medical_computing_system/dms-ba16/mod_64aa1566-169c-483d-97c8-c2c22c163fc3

Signed-off-by: Justin Waters <justin.waters@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-23 11:56:01 -03:00
Justin Waters
fbccb80ee0 linux-ge: Add linux kernel recipe for GE i.MX6 boards
This recipe is a fork of the fslc kernel with patches for
supporting the imx6q-elo platform.

This recipe is intended to be a stop-gap until the imx6q-elo
board can be rebased and tested with the most recent fslc branch.

Signed-off-by: Justin Waters <justin.waters@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-23 11:55:36 -03:00
Justin Waters
a100778a5e u-boot-ge: Add u-boot recipe for GE i.MX6 boards
This recipe is a fork of the fslc u-boot with patches for
supporting the imx6q-elo platform.

This recipe is intended to be a stop-gap until the imx6q-elo
board can be rebased and tested with the most recent fslc branch.

Signed-off-by: Justin Waters <justin.waters@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-23 11:55:14 -03:00
Otavio Salvador
fef20e71ba cfa100xx: Use 'sdcard.gz' as output
Using a compressed filesystem allows for easier transfer of it and
reduces a lot the disk usage in deploy directory.

Change-Id: I1b76a1bac1fc7a1f125db25c2a60e9f077f8df79
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 16:52:32 -03:00
Otavio Salvador
836bc35416 cfa100xx: Use a force assignment for IMAGE_FSTYPES
The IMAGE_FSTYPES uses a force assignment in the imx-base.inc file so
we ought to override it in the machine file. This ensures we use the
right value even if we include it after imx-base.inc inclusion.

While moving the code around we also drop the explicit ext3 generation
as the it is queued due the filesystem generation dependency chain.

Change-Id: Icb04838b7ca659b056b57a02cc51ffd1657de579
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 16:52:32 -03:00
Fabio Berton
39eb21c4c2 linux-firmware: Add TIInit_11.8.32 WiLink8 firmware
TIInit_11.8.32 is required for bluetooth support on WiLink8 module from
Texas Instruments.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-14 12:06:56 -03:00
Fabio Berton
27dfc3745f imx6qdl-variscite-som: Add machine configuration
The VAR-SOM-MX6 board includes the following key features:

    - Freescale i.MX6 1.2GHz quad/dual/single core Cortex-A9
    - 2GB DDR3 , 1GB SLC NAND Flash
    - Full HD 1080p video encoding/decoding capability
    - Vivante GPU providing 2D/3D acceleration
    - Simultaneous multiple display support
    - Gigabit Ethernet
    - TI WiLink™ 6.0 single-chip connectivity solution (Wi-Fi, Bluetooth®)
    - PCI-Express 2.0, S-ATA 3.0
    - Camera interface
    - USB 2.0: Host, OTG
    - Audio In/Out
    - Dual CAN Bus

For more information about this product, please visit:
http://www.variscite.com/products/system-on-module-som/cortex-a9/var-som-mx6-cpu-freescale-imx6

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-14 12:06:56 -03:00
Fabio Berton
e9f1252550 u-boot-variscite: Add u-boot recipe for variscite
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-14 12:06:56 -03:00
Fabio Berton
dcb397057a linux-variscite: Add linux recipe for variscite
The following patches are from meta-variscite-community and can be found
here: https://github.com/schnitzeltony/meta-variscite-community

- boundarydevices/0002-wlcore-add-initial-device-tree-support-to-the-sdio-m.patch
- boundarydevices/0003-wlcore-add-mac-override-parameter.patch
- upstream-backport/wifi/0001-wlcore-memset-wl-rx_filter_enabled-to-zero-after-rec.patch
- upstream-backport/wifi/0002-wlcore-cancel-Tx-watchdog-on-suspend-and-rearm-on-fi.patch
- upstream-backport/wifi/0003-wlcore-block-read-writes-to-FW-during-ELP.patch
- upstream-backport/wifi/0004-wlcore-AP-don-t-start-mac80211-PS-on-non-peer-HLIDs.patch
- upstream-backport/wifi/0005-wlcore-wl12xx-wl18xx-simplify-fw_status-handling.patch
- upstream-backport/wifi/0006-wlcore-wl12xx-wl18xx-configure-num_links-per-hw.patch
- upstream-backport/wifi/0007-wlcore-wl12xx-wl18xx-configure-max_stations-per-hw.patch
- upstream-backport/wifi/0008-wlcore-wl12xx-wl18xx-configure-iface_combinations-pe.patch
- upstream-backport/wifi/0009-wl18xx-move-to-new-firmware-wl18xx-fw-3.bin.patch
- upstream-backport/wifi/0010-wlcore-send-EAPOL-frames-with-voice-priority.patch
- upstream-backport/wifi/0011-wlcore-don-t-stop-sched_scan-on-interface-removal.patch
- upstream-backport/wifi/0012-wlcore-wl18xx-allow-CCK-rates-for-AP-mode.patch
- upstream-backport/wifi/0013-wlcore-don-t-handle-unsetting-of-default-wep-key.patch
- upstream-backport/wifi/0014-wlcore-consider-multiple-APs-when-checking-active_li.patch
- upstream-backport/wifi/0015-wlcore-decrease-warning-verbosity-during-recovery.patch
- upstream-backport/wifi/0016-wlcore-increase-timeout-to-5000-msecs.patch
- upstream-backport/wifi/0017-wlcore-enable-beacon-filtering-only-after-receiving-.patch
- upstream-backport/wifi/0018-wlcore-add-support-for-STA-CSA-with-chan-contexts.patch
- upstream-backport/wifi/0019-wlcore-use-correct-LAA-bit.patch
- upstream-backport/wifi/0020-wlcore-fix-copy-paste-bug-assign-from-src-struct-not.patch

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-14 12:06:56 -03:00
Ian Coolidge
365ead47d8 linux-boundary: Bump SRCREV to a139368
serial: imx: enable tx complete interrupt sooner

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-12 07:58:49 -03:00
Daiane Angolini
fa70428c10 imx7d-warp7: Add machine definition
The WaRP7 Board is a Wearable Reference Platform. The board features:

 - i.MX 7Solo applications processor (Cortex-A7/Cortex–M4)
 - 8GB eMMC 5.0 and 4Gb LPDDR3
 - WiFi, Bluetooth, BLE, USB-OTG, NFC
 - I/F Camera, MIPI Display, Audio
 - Accelerometer, Barometer, Gyroscope
 - PMIC, Battery charger

For more information about this reference design, please visit:

https://www.element14.com/community/docs/DOC-79058/l/warp-7-the-next-generation-wearable-reference-platform

The machine configuration file used to include Yocto Project support to the
board is a consolidation work only.

It only reflects the work done in Linux kernel, U-Boot and FSL Community BSP,
where the hard work is actually done.

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Andres Lemos <andres.lemos@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-11 09:43:26 -03:00
Daiane Angolini
52bcb6d8f6 nitrogen6sx: Change the SOC from i.MX6SoloX to i.MX6SX
All the other machines currently use i.MX6SX or i.MX6S.

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Acked-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-11 09:42:46 -03:00
Gary Bisson
02232b137f u-boot-script-boundary: bump SRCREV to 43467b88 (v2016.03)
Adding support for i.MX7D in 6x_bootscript and 6x_upgrade.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-06 08:03:53 -03:00
Gary Bisson
2cefe34517 u-boot-boundary: bump SRCREV to 43467b88 (v2016.03)
Adding support for Nitrogen7.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-06 08:03:53 -03:00
Gary Bisson
4ea1c16cac nitrogen7: add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen7/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-06 08:03:53 -03:00
Gary Bisson
a10be64136 nitrogen6x: add Nitrogen6QP_MAX and SOMv2 support
More info on those new platforms:
https://boundarydevices.com/product/nitrogen6max/
https://boundarydevices.com/product/nit6x-som-v2/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-06 08:03:53 -03:00
Ian Coolidge
87e6f7c6ad linux-boundary: Bump SRCREV to 9af660e
Repository was rebased to remove a duplicate patch
Previous SRCREV no longer exists

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-31 12:09:42 -03:00
Ian Coolidge
fc478e86d7 linux-boundary: Bump kernel version to 3.14.52
Kernel based on 3.14.52-1.1.0 GA release
Main new changes are added support for Nitrogen7 and Nitrogen6QP_MAX
Removal of linux-boundary_3.14.28 kernel recipe
Removal of linux-boundary_3.14.38-6qp kernel recipe

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-28 11:57:42 -03:00
Brandon Shibley
de2eb544d8 apalis-imx6.conf: change some assignments to soft default
Changed some machine variable assignments in apalis-imx6.conf
from hard assignments to soft defaults so they may be overridden
by user configuration (e.g. conf/local.conf).

Signed-off-by: Brandon Shibley <brandon.shibley@toradex.com>
2016-03-24 08:00:28 -03:00
Brandon Shibley
b35923a8b1 colibri-imx6.conf: change some assignments to soft default
Changed some machine variable assignments in colibri-imx6.conf
from hard assignments to soft defaults so they may be overridden
by user configuration (e.g. conf/local.conf).

Signed-off-by: Brandon Shibley <brandon.shibley@toradex.com>
2016-03-24 08:00:28 -03:00
Brandon Shibley
3a950d07d7 colibri-vf.conf: change some assignments to soft default
Changed some machine variable assignments in colibri-vf.conf from
hard assignments to soft defaults so they may be overridden by
user configuration (e.g. conf/local.conf).

Signed-off-by: Brandon Shibley <brandon.shibley@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-24 07:59:37 -03:00
Stefan Agner
36a638abe1 u-boot-toradex: update to latest Toradex V2.5 release
Update git revision to match the latest Toradex BSP release V2.5.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-11 07:55:16 -03:00
Stefan Agner
5f126bd028 linux-toradex: update to latest Toradex V2.5 release
Update git revision to match the latest Toradex BSP release V2.5.
The kernel is based on the 4.1.15 release of upstream kernel with
some new Vybrid specific fixes.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-11 07:54:45 -03:00
Ian Coolidge
1b82078ca3 linux-boundary: Sync defconfig with latest boundary_defconfig
Add:
    CONFIG_CAN_MCP251X=m
    CONFIG_POWER_RESET=y
    CONFIG_POWER_RESET_GPIO=y
    CONFIG_MXC_HDMI_CEC=y
Change:
    CONFIG_VIDEO_TW68=m    -> CONFIG_VIDEO_TW686X=m
    CONFIG_KEYBOARD_GPIO=y -> CONFIG_KEYBOARD_GPIO=m

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-01 21:28:59 -03:00
Ian Coolidge
cd0959aa37 linux-boundary (3.14.28): Bump SRCREV to ae977d1
ft5x06_ts: Set max_x/y to fb size if no parameter is provided
           Add max_x/y checks
           Move subroutines write_reg/set_mode
mxc_v4l2_capture: add device_id to select /dev/video#
rfkill-gpio: Fix clk on/off
ar1020-12c: Add MODULE_DEVICE_TABLE
Update mxc_hdmi-cec to 3.10, add to many boards

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-01 21:28:55 -03:00
Max Krummenacher
6eefe6562d colibri-vf.conf: set mqxboot version with wildcard
Fix build failure because mqxboot_2.x is built instead of the
required mqxboot_1.x.

The mqxboot version changed from 1.0 to 1.0.1.
Choosing the preferred version with a wildcard prevents using
the not compatible 2.x version.

    NOTE: preferred version 1.0 of mqxboot not available (for item mqxboot)
    NOTE: versions of mqxboot available: 1.0.1 2.0.1

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-01-28 17:27:32 -02:00
Max Krummenacher
09991082f0 linux-toradex (3.14.28): unify defconfig
Provide one i.MX6 generic defconfig file instead of the machine
specific defconfig files for apalis-imx6 and colibri-imx6.

Uses the defconfig formerly used for apalis-imx6 which is a superset
of what was formerly used for colibri-imx6.

This prevents triggering a warning when building for other boards, as:

,----
| WARNING: Unable to get checksum for linux-toradex SRC_URI entry
|     defconfig: file could not be found.
`----

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-01-20 22:12:57 -02:00
Fabio Estevam
9e596097f7 cubox-i: Use linux-fslc by default
linux-cubox-i has been broken for quite some time as it does not
contain the GCC5 fixes, for example.

Let's make 'linux-fslc' the default kernel and remove
the non-working 'linux-cubox-i' kernel.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-01-19 12:26:53 -02:00
Max Krummenacher
a1a869fa9d colibri-imx6: add machine configuration
The Toradex Colibri iMX6 computer module is based on i.MX 6.

The Colibri iMX6 is a member of the pincompatible Colibri family.

They feature on module RAM and EMMC, Ethernet PHY, Resistive Touch
Controller and Audio Codec.

For additional specifications please visit:
https://www.toradex.com/computer-on-modules/colibri-arm-family/freescale-imx6

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-04 13:03:42 -02:00
Max Krummenacher
893ad6b25b apalis-imx6: add machine configuration
The Toradex Apalis iMX6 computer module is based on i.MX 6.

The Apalis iMX6 is a member of the pincompatible Apalis family.

They feature on module RAM and EMMC, Ethernet PHY, Resistive Touch
Controller and Audio Codec.

For additional specifications please visit:
https://www.toradex.com/computer-on-modules/apalis-arm-family/freescale-imx-6

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-04 13:03:42 -02:00
Max Krummenacher
add251c772 linux-toradex: add Linux defconfig for Toradex Colibri iMX6
This adds a defconfig for the Freescale i.MX 6 based modules Colibri iMX6.

  - based on Freescale's BSP release imx_3.14.28_1.0.0_ga release and patches from Boundary Devices
  - GPIOlib /sys/class/gpio
  - PWM LEDs /sys/class/leds/
  - temperature sensor CPU /sys/devices/virtual/thermal/thermal_zone0/temp
      board: /sys/devices/soc0/soc.1/2100000.aips-bus/21a4000.i2c/i2c-1/1-0041/stmpe-adc/iio:device0/in_temp8_raw
  - Ethernet
  - eMMC/SD/MMC
  - serial console debug UART1
  - UARTs
  - I2C via /dev/i2c-X
  - framebuffer console
  - HDMI audio
  - analogue audio playback and capture, resistive touch
  - S/PDIF
  - SPI via /dev/spidev
  - serial number and board revision
  - USB host port
  - USB device Ethernet RNDIS
  - automatic USB device/host switching
  - analog input via IIO framework
  - parallel camera interface
  - DVFS power management
  - suspend LP1
  - watchdog

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-04 13:03:42 -02:00
Max Krummenacher
c8b2f859c1 linux-toradex: add Linux recipe for Toradex Apalis iMX6
This recipe provides a kernel for the Freescale i.MX 6 based modules
Apalis iMX6.

  - based on Freescale's BSP release imx_3.14.28_1.0.0_ga release and patches from Boundary Devices
  - GPIOlib /sys/class/gpio
  - PWM LEDs /sys/class/leds/
  - temperature sensor CPU /sys/devices/virtual/thermal/thermal_zone0/temp
      board: /sys/devices/soc0/soc.1/2100000.aips-bus/21a4000.i2c/i2c-1/1-0041/stmpe-adc/iio:device0/in_temp8_raw
  - Ethernet
  - eMMC/SD/MMC
  - serial console debug UART1
  - UARTs
  - I2C via /dev/i2c-X
  - framebuffer console
  - HDMI audio
  - analogue audio playback and capture, resistive touch
  - S/PDIF
  - SPI via /dev/spidev
  - serial number and board revision
  - USB host ports
  - USB device Ethernet RNDIS
  - automatic USB device/host switching
  - analog input via IIO framework
  - parallel camera interface
  - DVFS power management
  - suspend LP1
  - watchdog
  - CAN on via can0 and can1
  - PCIe (regular ports and mini-PCIe slot)
  - SATA (regular port or mSATA slot)
  - LVDS output
  - analog VGA output

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-04 13:03:42 -02:00
Max Krummenacher
b8e0e9170d u-boot-toradex: add U-Boot recipe for Toradex i.MX 6 based modules
This allows building U-Boot supporting Toradex modules based on i.MX 6
Apalis iMX6 and Colibri iMX6.
The source is combined with the source already used for our Vybrid based
modules and fetched directly from our Git server at git.toradex.com.

  - based on upstream U-Boot 2015.04
  - environment storage in eMMC
  - Ethernet
  - enabled gpio command line interface
  - enabled DFU and Mass Storage on USB client
  - framebuffer support
  - MMC/SD cards
  - eMMC flash
  - RAM size auto detection
  - serial console debug UART1
  - Toradex Apalis configuration block handling
  - USB storage as host on USB host ports

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-04 13:03:42 -02:00
Tony Felice
40f85fde35 mcc: Update MCC packages to be dual license (GPLv2 or BSD)
Change the MCC packages to be licensed under either GPLv2 or BSD. This is
less restrictive than the previous GPLv2-only license for these packages.

Signed-off-by: Anthony Felice <tony.felice@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-04 13:03:42 -02:00
Alexandre Belloni
e812b2a6e1 linux-cfa: update to 4.1
Update to 4.1, the current longterm kernel

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-03 09:18:57 -02:00
Alexandre Belloni
1d40b0757f cfa10036: ensure barebox is used
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-03 09:17:49 -02:00
Alexandre Belloni
b7a26f0a8d barebox: update to 2015.10
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-03 09:16:50 -02:00
Stefan Agner
8449e5a823 u-boot-toradex: fix typo in version number
The update to v2.5b2 introduced the Toradex BSP version number to
the U-Boot version string. However, accidentially the previous
version number has been used.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-03 09:06:50 -02:00
Otavio Salvador
4b3229a1b9 linux-boundary: Sync configuration with linux-fslc-mx6
The default defconfig has been sync with the changes in
linux-fslc-mx6. Basically it disables:

 CONFIG_INPUT_EVBUG
 CONFIG_LOGO

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-30 14:20:19 -02:00
Otavio Salvador
b7f142d486 linux-wandboard: Sync configuration with linux-fslc-mx6
The default defconfig has been sync with the changes in
linux-fslc-mx6. Basically it disables:

 CONFIG_INPUT_EVBUG
 CONFIG_LOGO

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-30 14:19:15 -02:00
Otavio Salvador
77f1a5e7e0 linux-congatec: Sync configuration with linux-fslc-mx6
The default defconfig has been sync with the changes in
linux-fslc-mx6. Basically it enables:

 CONFIG_FHANDLE
 CONFIG_KEXEC

and disables:

 CONFIG_INPUT_EVBUG
 CONFIG_LOGO

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-30 14:19:15 -02:00
Ian Coolidge
790b36b3ef linux-boundary (3.14.28): Sync defconfig with latest boundary_defconfig
Changes all touchscreen drivers to be loaded as modules

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-26 10:10:11 -02:00
Ian Coolidge
f42ccfde2e linux-boundary (3.14.28): Bump SRCREV to 2ffd4a4
Primary fix:
  Fix ov5642 driver. Now properly works.
Other additions:
  Add GSLX680 touchscreen
  ath9k fixes
  Add goodix touchscreen
  Modularize all touchscreen drivers

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-26 10:09:49 -02:00
Stefan Agner
f56b92d7ed linux-toradex: update to Toradex V2.5 Beta 2 release
Update git revision to match the latest Toradex BSP release V2.5
Beta 2. The kernel is based on the 4.1.12 release of the upstream
kernel with some new updates and fixes. The NAND flash controller
driver has been synchronized with the latest upstream version,
which also needed a incompatible device tree change. Besides that,
automatic USB host/device change for the Colibri USBC-Port is
supported now and the UART's DMA mode has been disabled by default
due to instability issues. Refer to the Toradex release notes for
the full list of changes.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-26 10:08:53 -02:00
Stefan Agner
0f6ecd2af2 u-boot-toradex: update to Toradex V2.5 Beta 2 release
Update git revision to match the latest Toradex BSP release V2.5
Beta 2. The release is still based on upstream U-Boot 2015.04
with some new fixes and improvements such as updated NAND flash
controller driver and fixed delays when using the global timer as
time source.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-26 10:08:28 -02:00
Oliver Wendt
37fa068f59 tx6qus: add machine configuration for TX6Q/U/S COM
This patch provides initial machine configs for TX6 series COM to this fsl
yocto meta layer to produce, based on the respective enumeration (as iterated
in below table) of the TX6 COM, it can be used to provide images for U-Boot
and Linux kernel (and by extension a rootfs).

 MACHINE= |  TX6-COM  | Basic information (SOC @ Freq, RAM, NVM, DSP-IF)
----------+-----------+-------------------------------------------------
tx6s-8034 | TX6S-8034 |	i.MX6S  @ 800 MHz, 256 MiB, 128 MiB NAND, LCD
tx6s-8035 | TX6S-8035 |	i.MX6S  @ 800 MHz, 512 MiB,   4 GiB eMMC, LCD
----------+-----------+-------------------------------------------------
tx6u-80x0 | TX6U-8030 |	i.MX6DL @ 800 MHz, 512 MiB, 128 MiB NAND, LCD
tx6u-8033 | TX6U-8033 |	i.MX6DL @ 800 MHz,   1 GiB,   4 GiB eMMC, LCD
tx6u-81x0 | TX6U-8130 |	i.MX6DL @ 800 MHz,   1 GiB, 128 MiB NAND, LVDS
----------+-----------+-------------------------------------------------
tx6q-10x0 | TX6Q-1030 |	i.MX6Q  @   1 GHz,   1 GiB, 128 MiB NAND, LCD
tx6q-11x0 | TX6Q-1110 |	i.MX6Q  @   1 GHz,   1 GiB, 128 MiB NAND, LVDS

Signed-off-by: Oliver Wendt <OW@karo-electronics.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-23 14:10:02 -02:00
Oliver Wendt
d0df31ef61 linux-karo: add recipe for Ka-Ro Linux kernel v3.16 (based) for TX6Q/U/S COM
This receipe adds the mainline based Ka-Ro Linux kernel for TX6 series COM to
this fsl yocto meta layer and includes changes such as the following:

  - Linux kernel upstream base (mainline tag): v3.16
  - updated GPU driver to work with Freescale's yocto 3.10.53_1.1.0-ga Release
  - make sure the display flags (pixecl clock polarity, data enable polarity)
    are conveyed to the ipu driver
  - DTB: move LCD related pinctrl properties to 'display' node
  - fix cyclic eth0 Link Up - Link Down bug
  - Changes made to v3.16 went upstream

Full list of changes see the git repository as given in patch.

Signed-off-by: Oliver Wendt <OW@karo-electronics.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-23 13:42:11 -02:00
Oliver Wendt
d77b415779 u-boot-karo: add recipe for Ka-Ro U-Boot v2015.10-rc2 (based) for TX6Q/U/S COM
This receipe adds the U-Boot fork for the Ka-Ro TX6 series COM to this fsl yocto
meta layer and includes changes such as the following:

  - U-Boot upstream base: v2015.10-rc2
  - no IMX image format: DCD is compiled and integrated at compile time
  - Secure Boot support for TX6
  - set default video_mode depending on LVDS/LCD module variant
  - get LCD backlight polarity from DT
  - changed CONFIG_SYS_TEXT_BASE from 0x2780000 to 0x10100000 to
    accomodate boards with less than 256MiB memory
  - make shutdown temperature configurable
  - use IRAM_BASE_ADDR rather than 0xbadc0de as exception vector
    address

Full list of changes see the git repository as given in patch.

Signed-off-by: Oliver Wendt <OW@karo-electronics.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-23 13:42:11 -02:00
Gary Bisson
e7b91b8001 u-boot-script-boundary: bump revision for 6QP support
The revision bump allows to load a device tree blob specific to the 6QP
which will be named imx6qp-${board}.dtb.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-16 16:15:49 -02:00
Gary Bisson
563956b346 u-boot-boundary: bump revision for 6QP support
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-16 16:15:18 -02:00
Gary Bisson
d433f2ad6b linux-boundary: add 3.14.38-6qp-ga kernel
This kernel is based on rel_imx_3.14.38_6qp_ga tag from Freescale. It
only targets Boundary platforms based on the i.MX6QP.

All other platforms should still rely on our 3.14.28-1.0.0-ga kernel.

In order to use that kernel, you need to add the following to your
local.conf:
PREFERRED_VERSION_linux-boundary = "3.14.38-6qp"

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-16 16:13:26 -02:00
Ian Coolidge
83dd8322ac u-boot-script-boundary: Bump SRCREV to 4221d72
6x_bootscript sanity check for ${board} variable. Exit and notify user
they should upgrade u-boot.

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-09 08:24:22 -02:00
Stefan Agner
98bba2472b mqxboot: Add mqxboot version 1
Like libmcc v1, move mqxboot 1.0 to meta-fsl-arm-extra. Also add
it to the preferred version for the colibri-vf machine. The library
has a distinct name (libmcc vs. libmcc2) and hence does not need
to be selected explicitly.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-29 09:14:13 -02:00
Stefan Agner
5dd5be98a2 libmcc: Add MCC v1 library
MCC v1 is going to be dropped from meta-fsl-arm, but the Toradex
kernel uses MCC v1. Add the library to meta-fsl-arm-extra.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-29 09:13:52 -02:00
Tony Felice
d7a5522395 linux-timesys: Add kernel
Add the Timesys kernel recipe for Linux v3.13. This kernel has board support
for the Phytec phyCORE Vybrid (pcm052) machine.

The following driver support is present for the pcm052 platform:

- Boot modes:
    - SD/MMC
    - NAND
- UART:
    - RS-232 via SCI_1 (Default Console)
    - RS-232 via SCI_2
- Ethernet: RMII0; RMII1
- RTC: Internal RTC
- I2C driver
    - EEPROM: at24 on I2C_2
- SPI driver (disabled in dts by default)
- SD/MMC: MMC via MCU_PTA24-29 signals
- NAND driver
- USB_0 in Host Mode
- Display: EDT ETM0700G0DH6 LVDS (LCD-018-070-KAP)
- LCD Backlight: PWM
- PMIC
- Watchdog
- MCC v1.x and v2.x

The following driver support is not present:

- Boot modes:
    - QSPI
- CAN
- QSPI: N25Q128 on QSPI_A, QSPI_B
- USB_1 in Host Mode
- Display: Prime View PM070WL4 LVDS (LCD-017-070W)
- Touchscreen Controller:
    - Capacitive: EDT FocalTech FT5x06 on I2C_2
    - Resistive: STMPE811 on I2C_2
- External RTC: RV-4162-C7 on I2C_2
- Audio: Freescale Codec SGTL5000 connected to I2S (I2C_2)
- Light Sensor
- High Speed Timer
- Power Management: Suspend to RAM

Signed-off-by: Anthony Felice <tony.felice@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 14:33:03 -02:00
Tony Felice
e7d4ab58cd pcm052: Add machine config
This commit adds a machine configuration for the Phytec phyCORE (pcm052) Vybrid
board.

Signed-off-by: Anthony Felice <tony.felice@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 14:33:03 -02:00
Tony Felice
9087bafac3 mqxboot: Add recipe
This is the mqxboot recipe previously located in meta-fsl-arm.

mqxboot is an application that can boot an MQX image from Linux userspace on
Vybrid platforms.

Signed-off-by: Anthony Felice <tony.felice@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 14:33:03 -02:00
Tony Felice
a592430b65 libmcc2: Add recipe
This is the libmcc2 recipe previously located in meta-fsl-arm.

libmcc2 provides a means for a userspace application to interact with the Linux
MCC driver.

Signed-off-by: Anthony Felice <tony.felice@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 14:33:03 -02:00
Tony Felice
9ea2fb22ad kernel-module-mcc: Add recipe
This is the kernel-module-mcc recipe previously located in meta-fsl-arm.

kernel-module-mcc is the Linux driver for MCC, the Multi-Core Communication
layer for Vybrid platforms.

Signed-off-by: Anthony Felice <tony.felice@timesys.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 14:33:03 -02:00
Dominic Sacré
694438515f linux-wandboard-rt: update SRCREV for gcc 5.2 build fixes
This updates SRCREV to the same revision as the linux-wandboard recipe.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 14:32:22 -02:00
Otavio Salvador
09d192b4e7 linux-congatec-rt: Remove old 3.10.31 release
The 3.10 kernel is not supported anymore so it need to be upgraded, if
the realtime kernel is still needed. For now, remove the kernel recipe
as it is clearly not in use.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 14:32:02 -02:00
Otavio Salvador
6cf95cb17f cgtqmx6: Rework machine header information
The machine header could use some work to properly describe the board
and its compatibility. Mainly it works with Quad and DualLite type of
SoCs and in reality it is the evaluation board of the SoM.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 14:32:02 -02:00
Otavio Salvador
3c143594dd cgtqmx6: Convert to use u-boot-fslc
The u-boot-fslc now includes the SPl support for the cgtqmx6 SoM
devices avoiding the need of part number setting for build.

This patch rework the machine file to use the u-boot-fslc recipe and
remove the old u-boot-congatec one, which becomes unused.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 14:32:02 -02:00
Otavio Salvador
fce42ea3f0 nitrogen6x: Change SoC header to include i.MX 6DualLite as compatible
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28 10:56:55 -02:00
Pushpal Sidhu
01b0d345e6 u-boot: gateworks: fix bootscript location
A bug persisted when building this as the location didn't exist. Fix it.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-27 17:47:41 -02:00
Pushpal Sidhu
9202817530 u-boot: gateworks: u-boot-2014.04 -> u-boot-2015.04
Bump Gateworks u-boot version to gateworks_v2015.04.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-27 17:47:41 -02:00
Pushpal Sidhu
ef656cb504 linux: gateworks: gateworks_3.10.17_1.0.0_ga -> gateworks_fslc_3.14_1.0.x_ga
Bump gateworks kernel from gateworks_3.10.17_1.0.0_ga to
gateworks_fslc_3.14_1.0.x_ga, which includes patches to fix building with
GCC 5.2. The gateworks_fslc_3.14_1.0.x_ga branch is based off of
linux-fslc-3.14-1.0.x-mx6 from commit 966457723b6d74a65e21c05355b35ff22faa4ad4.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-27 17:47:41 -02:00
Pushpal Sidhu
59af46d33b ventana: build multiubi images instead of just a single ubi image
Because various boards use various flash sizes, build the two sizes fit for
Ventana boards.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-27 17:47:41 -02:00
Pushpal Sidhu
2214ab8ba1 ventana: Specify MACHINE_EXTRA_RRECOMMENDS and MACHINE_ESSENTIAL_EXTRA_RDEPENDS
Comment the usage within this machine conf for the two aforementioned variables.

For boot, we require the kernel, dtbs, and bootscript. We also require the sky2
module for use of an Ethernet device, but is not req'd for boot so place it
into MACHINE_EXTRA_RRECOMMENDS.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-27 17:47:41 -02:00
Pushpal Sidhu
e8aa2d0751 ventana: cleanup machine conf
Reorganize file and replace tabs with spaces.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-27 17:47:41 -02:00
Otavio Salvador
8148754a00 linux-congatec: Upgrade to an initial version based on linux-fslc-mx6
This updates the linux-congatec to an initial version based on
linux-fslc-mx6 fork. The kernel is based on 3.14.54 and includes all
3.14.28 GA release changes.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-27 09:05:33 -02:00
Otavio Salvador
c604238cf3 Remove boards using the linux-timesys kernel recipe
The linux-timesys is known to be broken using GCC 5.2, the OE-Core
default, and has been removed from the meta-fsl-arm making the
following boards kerneless.

This patch removes the following boards:

 - pcl052
 - pcm052
 - quartz

In case someone intends to add those boards back, this commit can be
easily reverted.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-26 16:01:03 -02:00
Matt Madison
c4499ff972 linux-wandboard: update SRCREV for gcc 5.2 build fixes.
This picks up the three patches for fixing kernel compilation
with gcc 5.2.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-24 18:52:39 -02:00
Ian Coolidge
0029f19761 linux-boundary (3.14.28): Bump SRCREV to fee85e4
Main update: Fix for Jethro for GCC 5.2

imx6qdl-nitrogen6x/max: Remove unused pwm3 for hdmi input
Add: gslx680_ts
imx6qdl-nit6xlite.dtsi: adjust touch screen settings for gslx680
tc358743_h2c: allow register write thru sysfs

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
2015-10-24 18:36:07 -02:00
Ian Coolidge
3757ea15f5 nitrogen6x: Remove imx6q-nitrogen6x-hdmi-input.dtb
tc358743 support added to imx6q-nitrogen6x.dtb

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-16 14:13:18 -03:00
Ian Coolidge
1083c44421 linux-boundary (3.14.28): Bump SRCREV to 7ff62b23f06110694daf7d98b98f2c25312eda75
boundary_defconfig: add CONFIG_ATH9K
nitrogen6x_defconfig: add CONFIG_ATH9K
nitrogen6_vm_defconfig: add CONFIG_ARM_IMX6Q_CPUFREQ
nit6xlite_defconfig: add CONFIG_ARM_IMX6Q_CPUFREQ
Remove imx6q-nitrogen6x-hdmi-input device tree
Add tc358743 support to imx6qdl-nitrogen6x.dtsi

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-16 14:13:18 -03:00
Ian Coolidge
7201ff928c u-boot-boundary: Fix License Checksum
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
2015-10-14 11:50:00 -03:00
Ian Coolidge
872c0be725 nitrogen6sx: Fix Console for v1.0 of Nitrogen6 SoloX Board.
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-07 15:42:00 -03:00
Ian Coolidge
bc55a4e2e9 u-boot-script-boundary: New bootscript for boundary 3.14.28 kernel
New bootscript that supports all Boundary Device's current boards, including the Nitrogen6_SoloX, and their default DTBs.
Uses new u-boot fbpanel display detection.
See previous commit message for u-boot-boundary_git.bb for more detailed information.

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-06 08:33:30 -03:00
Ian Coolidge
98c8f8bb44 u-boot-boundary: Update to v2015-07 release
Adds support for Nitrogen6_SoloX board
Required u-boot version for 3.14.28 boundary kernel

Environment variables for display detection has changed
Environment variable "fbpanel" will display all supported displays

Then four variables control which panels you'd like to select:
fb_hdmi controls HDMI display selection
fb_lcd controls LCD display selection
fb_lvds controls LVDS display selection
fb_lvds2 controls LVDS2 display selection

Example selection:
setenv fb_hdmi 1280x720M@60
setenv fb_lcd CLAA-WVGA
setenv fb_lvds hannstar7
setenv fb_lvds2 hannstar

Defaults and more information can be seen here:
7bad84fd3c/arch/arm/imx-common/fbpanel.c (L17-L57)

Displays defined here:
https://github.com/boundarydevices/u-boot-imx6/blob/boundary-v2015.07/arch/arm/include/asm/imx-common/fbpanel.h

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-06 08:33:30 -03:00
Ian Coolidge
6df99b07db nitrogen6sx: add machine configuration
Adds support for Boundary Device's Nitrogen6 SoloX board.
Board features and more information available at:

http://boundarydevices.com/product/nit6_solox-imx6/
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-06 08:33:30 -03:00
Ian Coolidge
a00516fe0a nitrogen6x: Switch to zImage, Add Nitrogen6_VM DTBs, Remove PREFERRED_VERSION
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-06 08:33:30 -03:00
Ian Coolidge
03dac12f87 nitrogen6x-lite: Switch to zImage and remove PREFERRED_VERSION
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-06 08:33:30 -03:00
Ian Coolidge
8ff08e7249 linux-boundary: Bump kernel version to 3.14.28
Kernel based on 3.14.28-1.0.0 GA release
Removal of linux-boundary_3.10.53 kernel recipe
Main changes are graphics update to 5.0.11p4.5 and SoloX support
Uses defconfig which is universal to all current Boundary Devices boards

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-06 08:33:30 -03:00
Stefan Agner
daeab6d460 linux-toradex: update kernel to Linux 4.1
Update the Toradex kernel recipe to Linux 4.1. This kernel version
is based on the Toradex V2.5 Beta 1 release plus a NAND fix (hence
the versioned as v2.5b1.1).

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-01 14:49:24 -03:00
Stefan Agner
d5c17d3dc7 u-boot-toradex: update to Toradex V2.5 Beta 1 release
Update git revision to match the latest Toradex BSP release V2.5
Beta 1. The release is still based on upstream U-Boot 2015.04,
but introduced Cortex-M4 boot support (m4boot). Depending on the
module hardware this U-Boot versions also fixups the Linux device
tree to enable Suspend-to-Memory support (which needs hardware
revision 1.2 or later).

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-01 14:46:41 -03:00
Otavio Salvador
9b2d0f1e44 Stop using mxs-base.inc
The mxs-base.inc include file has been consolidated inside the
imx-base.inc. This updates the 3rd party boards to use the new
imx-base.inc file and allow for them to keep working.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-28 12:27:46 -03:00
Otavio Salvador
86bf3ad413 Revert "linux-firmware: add bbappend to modify firmware file names"
This reverts commit 5ee7d28984.

The Linux kernel version in use now all use the new Firmware filename
so we can remove the new alternatives and avoid appending the original
recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-28 12:27:46 -03:00
Otavio Salvador
12cc66a9b8 Disable Vivante GPU kernel driver for linux-fslc based machines
The linux-fslc fork is based in mainline kernel and currently does not
offer support for the Vivante GPU kernel driver, so we need remove the
SoC family definition to avoid setting overrides which requires
Freescale kernel specifics.

The following machines has been change:

 - imx6dl-riotboard
 - imx6sl-warp

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-23 10:21:12 -03:00
Ian Coolidge
b9e1b73950 linux-boundary (3.10.53): sync defconfig
Synchronize kernel configuration with eee2a48
In particular:
  Add CONFIG_MXC_HDMI_CSI2_TC358743 for hdmi-input daughterboard
  Add rtl8192ce
  Add r8169 pcie gigabit ethernet driver
  Add CONFIG_EXTCON for usb cable detection
  Enable systemd pre-requisites

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-27 18:52:55 -03:00
Ian Coolidge
7abc0e918e nitrogen6x.conf: add imx6q-nitrogen6x-hdmi-input.dtb to KERNEL_DEVICETREE
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-27 18:52:55 -03:00
Ian Coolidge
b0482029e4 linux-boundary (3.10.53): Bump SRCREV to eee2a48
nitrogen6x_defconfig: Add CONFIG_MXC_HDMI_CSI2_TC358743
Add imx6q-nitrogen6x-hdmi-input.dtb: Enable hdmi-input daughterboard, disables camera modules

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-27 18:52:55 -03:00
Ian Coolidge
42283550b5 linux-boundary (3.10.53): Bump SRCREV to 2c54f83
Condensed devicetree patches for Boundary boards.
rtc-rv4162: add alarm/interrupt support
chipidea: add extcon for otg cable
Backported serial driver patches
Added further rs485 support for serial port
Fixed ethernet bugs causing tx queue timeout conditions.

Pulled in Freescale patches:

4742c51 MLK-10199 ARM: clk-imx6q: set enet pll rate to 125Mhz
db54b55 MLK-10228 dts: imx6qdl-sabreauto: remove SDb WP pin which is not connect by default
e4c0391 MLK-10227 video: mxsfb: Correct interrupt handling
16121ef MLK-10218-1 charger: imx6_usb: change detection timeout to 500ms
c5cbaef MLK-10196-4 usb: phy: mxs: Using regulator phy-3p0
495cbba MLK-10196-3 regulator: anatop: Add non core enable/disable
f959415 MLK-10196-2 doc: anatop-regulator: add anatop-enable-bit property
491864b MLK-10196-1 ARM: imx6: change anatop 3p0 property
d1f82bb usb: udc-core: add is_selfpowered sys entry
f96b653 usb: chipidea: udc: add set_selfpowered gaget ops
f801289 usb: gadget: introduce is_selfpowered for usb_gadget
5b4dc77 MLK-10193: dts: Remove obsolete dts item csi1_v4l2_cap
f4968e7 MLK-10192: dts: Move sii902x hdmi function to imx6sx sdb lcdif1 dts
f2ed595 MLK-10135: dts: Enable sii902x hdmi driver in imx6sx sdb
e82ba8d MLK-9974: ASoC: fsl_sai: There is underrun detected in the beginning sometimes
7ad0709 MLK-10075: ARM: clk-imx6q: refine esai_ipg's parent
e5dbeab MLK-10169 GPU: fix kernel booting issue on iMX6sx SOC without GPU
6e305cb MLK-10116 tty: serial: imx: fix flush buffer issue when module clock is at 4Mhz
f083680 MLK-10044 arm: imx: Fix the pll2_bus clk tree mismatch for i.MX6SL
245bf82 MLK-10080 serial: imx: Fix imx_flush_buffer()
96391f1 MLK-10033 cpufreq: cpufreq-imx6: add cpufreq mutex for regulator enable/disable
ae2c25e MLK-10084 media: mxc vout: Correct black color filling for interleaved formats
4887683 MLK-10111 Add error checking to the SECVIO module
56b9b50 crypto: caam - fix missing dma unmap on error path
a150d28 MLK-9769-26 caam: fix RNG buffer cache alignment
0106695 crypto: caam - remove duplicated sg copy functions
85eded6 MLK-10175 arm: imx6: Skip gating QSPI2 clk when M4 is enabled
27d58f0 Need gate the QSPI2 and GPMI_IO clock during clock init
28a6e32 MLK-10028 QSPI dynamically alloc memory for AHB read
696aea4 MGS-304-2 [#1461] Do not leave garbase in outside pointer
e953bad MGS-386 [#1506] Power mutex track is buggy in gckKERNEL_Dispatch
f2930bf MLK-10054 net: fec: only restore MII bus when MAC0 PHY is not available
6732890 MGS-324 [#1472] dump GPU AQAXIStatus register for AXI BUS ERROR

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-17 07:31:24 -03:00
Dominic Sacré
ffa8db2f33 linux-wandboard-rt: Add patch for imx-sdma CPU stall issue
Work around CPU stalls in the imx-sdma driver by replacing spinlocks
with raw spinlocks. This prevents preemption during the spinlock's
critical section, as is the case on non PREEMPT_RT kernels.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-22 17:34:26 -03:00
Otavio Salvador
ba9a5943ea wandboard: Use a single machine file for Quad, Dual and Solo
The new U-Boot 2015.07-based release offers support for SPL for
Wandboard. This allows the same image to run in every Wandboard
variant available.

This consolidates the Quad, Dual and Solo variants into a single
Wandboard machine definition.

Change-Id: Icf87301431b48ef857670e1f3a941706a7bfc50d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
2015-07-22 17:20:38 -03:00
Dominic Sacré
60398d3a0b linux-wandboard-rt: Add initial recipe
Add support for the Wandboard kernel with realtime patch applied.

This recipe is based on the current linux-wandboard recipe using the
3.14.28-1.0.0 GA branch.

The applied patches are taken from the linux-imx-rt recipe, and the
changes to the defconfig are analogous to those between linux-imx
and linux-imx-rt.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-14 15:00:10 -03:00
Daiane Angolini
38e3ae9634 imx6sl-warp: Set EXTRA_IMAGEDEPENDS to u-boot
Set EXTRA_IMAGEDEPENDS to "u-boot".

When user copies a .sdcard to the eMMC the bootloader is not updated, but it is
still helpful to generate a U-boot binary and be able to inspect U-boot source code.

The .sdcard image generated after this patch does not include the U-boot binary
which is only built to ease an eventual update.

See how-to override eMMC boot partition on the following link:

   http://git.denx.de/?p=u-boot.git;a=blob;f=board/warp/README

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-06 14:57:54 -03:00
iancoolidge89
e042f3ed39 nitrogen6x.conf: Update Maintainer
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Acked-By: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-03 14:40:36 -03:00
iancoolidge89
a83c9c0095 nitrogen6x-lite.conf: Update Maintainer
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Acked-By: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-03 14:40:36 -03:00
iancoolidge89
bcb4120bf8 imx6qsabrelite.conf: Update Maintainer
Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Acked-By: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-03 14:40:36 -03:00
Alfonso Tamés
82c507744a linux-wandboard: Bump HDMI's bit depth to 32 bits for Weston
This brings the Wandboard's Linux 3.14.28 kernel to the latest
commit in github which bumps to 32 bits the HDMI's bit depth in
imx6qdl-wandboard.dtsi. This is needed by Weston in order to run
properly.

Signed-off-by: Alfonso Tamés <alfonso@tames.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-03 14:40:36 -03:00
Fabio Estevam
11f10aa88c broadcom-nvram-config: Add entry for cubox-i
Add an entry for cubox-i in order to fix the following build error:

ERROR: Nothing RPROVIDES 'bcm4329-nvram-config' (but /work/yocto/master/sources/poky/meta/recipes-core/packagegroups/packagegroup-base.bb RDEPENDS on or otherwise requires it)
ERROR: bcm4329-nvram-config was skipped: incompatible with machine cubox-i (not in COMPATIBLE_MACHINE)

Also add the brcmfmac4329-sdio.txt file for cubox-i.

Change-Id: I91797c9122c97b2e17b780c5b5f523f9aa4edae3
Reported-by: Peter Bergin <peter.bergin@tritech.se>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-03 14:40:18 -03:00
Alfonso Tamés
bf9c1dad91 linux-wandboard: Bump kernel version to 3.14.28
Updated Wandboard's recipes and defconfig to adopt the new 3.14.28
kernel (located at http://github.com/wandboard-org/linux.git) which
is based on Freescale's release.

Signed-off-by: Alfonso Tamés <alfonso@tames.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-17 11:07:20 -03:00
Alex de Cabo
91221c4a0b linux-congatec: Upgrade to 3.14.28 branch
Provides the recipe and files to use the 3.14.28 Linux kernel

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-11 10:44:55 -03:00
Stefan Agner
7495dc402c kernel-module-mcc: update which includes interrupt fixes
This updates the forked MCC kernel module to latest version. The new
version correctly enables/disables the CPU2CPU interrupts during
critical sections. This fix needs two new symbols provided by the
kernel:
- mscm_enable_cpu2cpu_irq
- mscm_disable_cpu2cpu_irq

Both are provided by the Linux kernel provided by the linux-toradex
4.0 recipe.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-11 10:44:54 -03:00
Stefan Agner
8790884360 linux-toradex: update kernel to Linux 4.0
Update the Toradex kernel recipe to Linux 4.0. This kernel version
is based on the Toradex v2.4Beta1 release plus some fixes (hence
the versioned as v2.4b1.1). The updated kernel uses a new NAND ECC
format which is capable to fix up to 32 errors.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-11 10:44:54 -03:00
Stefan Agner
9bf627a0c9 u-boot-toradex: update to U-Boot 2015.04
Update to U-Boot 2015.04 which is part of the current version of the
Toradex BSP release v2.4Beta1. This version uses a new NAND ECC
format, hence it needs to be used with an updated Linux kernel too.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-11 10:44:54 -03:00
Fabio Estevam
f1634b62e1 cubox-i: Add bcm4329-nvram-config
The first revisions of the micro-som had BCM4329 populated, so add
bcm4329-nvram-config to support Wifi on the older revision.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-01 21:19:30 -03:00
Fabio Estevam
2e42f5a3e1 broadcom-nvram-config: Remove blank lines in the end of files
Remove extra blank lines in the end of the sdio.txt files.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-05-19 16:01:28 -03:00
Fabio Estevam
1d13a0b9bc imx6sl-warp: Add MACHINE_FEATURES
Pass wifi, bluetooth and serial in MACHINE_FEATURES.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-05-19 16:01:28 -03:00
Fabio Estevam
6623ea7e4b imx6sl-warp: Install bcm4330-nvram-config to enable WiFi support
The WiFi chip installed in the board is the Broadcom 4330, so provide
the proper nvram config and firmware to enable Wifi by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-05-19 16:01:28 -03:00
Fabio Estevam
2ab68440d8 bcm4330-nvram-config: Add imx6sl-warp support
The imx6sl-warp board has a bcm4330 chip, so enable the nvram
configuration to allow the WiFi to work out of box.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-05-19 16:01:28 -03:00
Fabio Estevam
d704e90d14 cubox-i: Remove unneeded space
There is no need for the extra space in the name of the nvram config file,
so just remove it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-05-18 10:17:42 -03:00
Fabio Estevam
9b604fd413 cubox-i: Remove duplicate entries in MACHINE_FEATURES
There is no need to have 'wifi' and 'bluetooth' entries twice in
MACHINE_FEATURES, so remove the duplicate occurrances.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-05-18 10:17:42 -03:00
Nikolay Dimitrov
ca0a8bb09e imx6dl-riotboard: Fix broken image builds against linux-fslc
Several Yocto images fail to build because they're using packages that require
imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimedia
- fsl-image-multimedia-full
- fsl-image-machine-test

Change-Id: I7be8b82216e7be014af09a5828e424c882bcd2f7
Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-05-12 08:55:58 -03:00
Otavio Salvador
a5df741095 cubox-i: Install bcm4330-nvram-config to enable WiFi support
The WiFi chip installed in the board is the Broadcom 4330, so we ought
to provide the proper nvram config and firmware to enable the board to
proper support the WiFi.

Change-Id: I4d5ed031edb28a79c033098d23eedc642cccc7e0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
2015-05-11 14:07:24 -03:00
Otavio Salvador
be0e5baa60 bcm4330-nvram-config: Add cubox-i support
The cubox-i board has a bcm4330 chip. This enables the nvram
configuration to allow the WiFi to work out of box.

Change-Id: I4b7ba516083c9f24c55ede8da49dd9ba7be4a31b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
2015-05-11 13:59:13 -03:00
Otavio Salvador
4b52116f5e cubox-i: Remove linux-firmware-ath6k from MACHINE_FIRMWARE
The linux-firmware-ath6k is not necessary for the board to work and
adds no features for standard users, drop it.

Change-Id: I8b4d6eb94564f0e92abb6d9630fc3cf765b8fa8c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
2015-05-11 13:59:07 -03:00
Otavio Salvador
21cbd0c14f cubox-i: Remove UBOOT_ENTRYPOINT
The UBOOT_ENTRYPOINT is duplicated from imx-base.inc. Drop it.

Change-Id: Ibd6f65f2b454206391249f7630d6fd1dc214e6f7
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
2015-05-11 12:12:55 -03:00
Otavio Salvador
7f82b84850 u-boot-cubox-i: Remove as it is not unused
Since we moved the board to use u-boot-fslc, this recipe is now
unused.

Change-Id: I67a078f036e881cedaea07ecce50818fed2874f8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
2015-05-11 12:12:50 -03:00
Otavio Salvador
50d1ecb722 cubox-i: Use u-boot-fslc
The U-Boot FSLC fork now has support for both HummingBoard and Cubox-i
boards. It supports booting them in all supported variants relying on
SPL to detect the board, CPU and memory.

Change-Id: I19efc6f7dadb8055b9e29b540275d319aefc303f
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
2015-05-11 12:11:59 -03:00
Pushpal Sidhu
317d1362f5 ventana: set virtual/bootloader preferred provider
Set virtual/bootloader preferred provider to u-boot-gateworks-imx.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28 10:58:10 -03:00
Pushpal Sidhu
68cabb954b ventana: Add self as board maintainer
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28 10:58:09 -03:00
Carlos Rafael Giani
130daa6b77 linux-cubox-i: update SRCREV to ea83bda1b4
Notable changes in this update include:
- Support for V5 Vivante userspace binaries
- Improvements to thermal subsystems for better cooling
- PWM and FEC cleanups and improvements
- Fix kernel config causing networking bridge breakage
- Wi-Fi related backports from Linaro 3.14 kernel

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-24 15:20:17 -03:00
Mario Domenech Goulart
b6d6635c08 imx6sl-warp: typo fixes
Change-Id: I3e9504697393bba1a04647a4ab73ba5b27b94c49
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-24 15:20:03 -03:00
Nikolay Dimitrov
e65f288efe riotboard: Change board maintainer
Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-23 16:32:09 -03:00
Pushpal Sidhu
be6c9f9b99 ventana: add machine conf
Add a machine conf for the Gateworks Ventana product
family. For more information, please see the product site at
http://www.gateworks.com/product#ventana

Change-Id: I00954787e33b11fee7c422a111160b77eae1591f
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-22 16:51:58 -03:00
Pushpal Sidhu
af52c01b11 linux-gateworks-imx: Initial linux kernel recipe
Add a kernel recipe based on Freescale's 3.10.53_1.1.0_ga
kernel for Gateworks imx based boards.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-22 16:51:46 -03:00
Pushpal Sidhu
585062d321 uboot-gateworks-imx: initial recipe for uboot
Add the initial recipes for Gateworks imx based boards. This
includes a bootscript recipe along with a bootloader recipe.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-22 16:51:46 -03:00
Valentin Raevsky
2a2a2e8366 cm-fx6: add cm-fx6 machine configuration
Add cm-fx6 machine configuration: u-boot and kernel.
The cm-fx6 is a CompuLab CoM. The board features:
-- Freescale i.MX6 single/dual/quad-core Cortex-A9 @1GHz-1.2GHz
-- Up to 4GB DDR3 and up to 32GB on-board SSD storage
-- Integrated GPU and 1080p VPU, dual display support
-- WiFi, BT 3.0, GbE, PCIe, SATA, USB x5, UART x5, CAN x2

For more information visit:
http://www.compulab.co.il/products/computer-on-modules/cm-fx6
http://www.compulab.co.il/utilite-computer/web/utilite-models

Signed-off-by: Valentin Raevsky <valentin@compulab.co.il>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-17 09:34:48 -03:00
Valentin Raevsky
cd4b6646ce linux-compulab: add cm-fx6 3.14.28 kernel configuration files
Add cm-fx6 kernel configuration files.
This is a fork of the linux-imx 3.14.28.ga with the CompuLab patches
for cm-fx6 boards.

Signed-off-by: Valentin Raevsky <valentin@compulab.co.il>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-17 09:34:48 -03:00
Valentin Raevsky
4ef0bcd252 u-boot-compulab: add u-boot configuration for cm-fx6 machines
Add u-boot configuration for cm-fx6 machines.
This is a fork of the mainline u-boot with the CompuLab patches on top.

Signed-off-by: Valentin Raevsky <valentin@compulab.co.il>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-17 09:34:25 -03:00
Alex de Cabo
26933eb50d linux-congatec: Update kernel to 3.10.53-1.1.1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-14 13:40:18 -03:00
Otavio Salvador
661c2b0a58 cgtqmx6: Build U-Boot binaries for every part number supported
Change-Id: Ic47d3fc9cea3272ec505e174234b2cef95fcd1bc
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-10 14:17:47 -03:00
Otavio Salvador
17b31b2662 u-boot-congatec: Fix out-of-tree build
Due the possibility of generating several binaries, for U-Boot, the
build needs to be done out-of-tree however the build system of 2013.04
version was not ready for it. Apply a simple fix for the time being.

The out-of-tree mechanism is much more robust in more recent versions
of U-Boot however this is not an option for this set of boards at the
moment.

Change-Id: I3b80e8c07a41f66dd74465dc064bec4c040d853c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-10 12:25:19 -03:00
Eric Nelson
ac1e57a770 linux-boundary: deprecate kernel 3.10.31-beta
Since we now have support for kernel 3.10.53 (GA), 3.10.31-beta
should not be used.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-06 15:28:27 -03:00
Eric Nelson
49843fbd4c u-boot-script-boundary: update to use 3.10.53 boot scripts
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-01 17:58:43 -03:00
Eric Nelson
69f7d90b03 u-boot-boundary/u-boot-script-boundary: update to 21eb414 (v2014.07)
Update to latest head of Boundary Devices branch v2014.07-20140914.

This update doesn't contain any code updates, but adds a couple of
boot scripts for use with the 3.10.53 kernel as described in
this section of the release blog post:

	http://boundarydevices.com/i-mx6-kernel-3-10-53/#bootscript

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-01 17:58:43 -03:00
Eric Nelson
58c91b63b8 nitrogen6x*, imx6qsabrelite: default to kernel 3.10.53
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-01 17:58:43 -03:00
Eric Nelson
fe9586b53d linux-boundary: add support for kernel 3.10.53
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-01 17:58:43 -03:00
Eric Nelson
8ce8693fe5 nitrogen6x: remove device tree for imx6dl-nitrogen6_max.dtb
Boundary Devices does not currently offer a dual-lite or solo
processor option for Nitrogen6_Max, and the device tree for it
is not supported in kernel 3.10.53.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-01 17:58:43 -03:00
Eric Nelson
22f6672c3e u-boot-boundary/u-boot-script-boundary: update to fcb04d6 (v2014.07)
Update to Boundary Devices U-Boot 2014.07 tree.

This update only contains a single general-purpose change to the
boot script: the addition of an environment variable 'wlmac' which
will be passed to the WL12xx WiFi driver to be used as the mac
address to prevent the need to use the calibrator utility and
manage files that differ across devices.

The U-Boot source files did not change and the version is bumped
only to keep the two recipes in sync and prevent multiple downloads.

If you configure your board like this:
	U-Boot > setenv wlmac 00🇩🇪ad:be:ef:01
	U-Boot > saveenv && boot

You'll get a clause in your kernel command line:
	wlcore.mac=00🇩🇪ad:be:ef:01

All Boundary Devices Nitrogen6x and Nitrogen6_Max boards shipped
with the WL12xx WiFi/BT adapter should have this variable set
before shipment.

If not, please contact Boundary Devices at info@boundarydevices.com

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-20 11:11:22 -03:00
Eric Nelson
a1a89b4c8a u-boot-script-boundary: use nitrogen6x boot script for MACHINE imx6qsabrelite
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-20 11:11:00 -03:00
Stefan Agner
0f4942175f kernel-module-mcc: provide recipe adapted to a 3.18 based Toradex kernel
This adds a recipe for the forked version of the MCC kernel module. The
fork includes changes to compile and run the module with the 3.18 based
kernel provided by linux-toradex_3.18.bb.

The forked version requires the functionality of the SEMA4 and MSCM
CPU2CPU interrupts exported by the kernel through some Vybrid specific
symbols:
- mscm_request_cpu2cpu_irq
- mscm_free_cpu2cpu_irq
- mscm_trigger_cpu2cpu_irq
- mvf_sema4_assign
- mvf_sema4_deassign

Currently, those symbols are provided by the Toradex Linux kernel only
(linux-toradex_3.18.bb).

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-19 09:40:54 -03:00
Stefan Agner
7c650e1d8c pcl052: pcm052: quartz: add base SOC_FAMILY vf
Add new base SOC_FAMILY vf.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-19 09:40:09 -03:00
Eric Nelson
5982c99923 Update README to document proper handling of patches for other branches
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-19 09:35:32 -03:00
Otavio Salvador
6ba1fd2fa5 imx6sl-warp: Disable FSL-specific support
The kernel used in WaRP is based on Linux mainline so the FSL-specific
headers does not exist. The removal here allow the machine to be build
without errors.

Change-Id: I8ba8e6790ab4c1aeaaae3c2ad129c3b434d40a83
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-17 21:03:06 -03:00
Ian Coolidge
d875511031 u-boot-script-boundary: Allow custom bootscripts
Removes redundant BOOTSCRIPT line
Changed BOOTSCRIPT to allow choice in local.conf

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-17 15:29:37 -03:00
Stefan Agner
ad10082a73 colibri-vf: initial machine for Toradex Vybrid modules
The two modules Colibri VF50 and Colibri VF61 are very similar,
with this generic machine called "colibri-vf" both modules are
supported. The bootloader default environment expects the Linux
kernel zImage as well as the device tree files to be located in
the /boot folder of the root file system. Use IMAGE_INSTALL on
the machine level to install them into the root file system by
default.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-12 05:29:14 -03:00
Stefan Agner
7a3687f7f2 linux-toradex: initial Linux recipe for Toradex Vybrid modules
This Kernel recipe builds the kernel.org based Linux kernel 3.18
for the Freescale Vybrid based modules Colibri VF50 and VF61 of
Toradex.

The kernel.org based Linux kernel support this modules too since
~3.17. However, some patches, such as the NAND flash controller
driver, Display Controller Unit (DCU4) frambuffer driver and
various fixes across different drivers, are still in the process
of being upstreamed.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-12 05:29:14 -03:00
Stefan Agner
03fc399e1a u-boot-toradex: initial U-Boot recipe for Toradex Vybrid modules
This adds recipes for U-Boot supporting Toradex modules. The source
is fetched directly from our Git server at git.toradex.com. This
initial version supports the Freescale Vybrid based modules
Colibri VF50 and VF61.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-12 05:29:14 -03:00
Fabio Estevam
be9580b34b imx6sl-warp: 'dtb' is also stored in eMMC
The dtb is also stored in the eMMC, so include it among the other items in the
text.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-09 11:40:50 -03:00
Daiane Angolini
5fadb641df imx6sl-warp: Add machine definition
The WaRP Board is a Wearable Reference Plaform. The board features:

 - Freescale i.MX6 SoloLite processor with 512MB of RAM
 - Freescale FXOS8700CQ 6-axis Xtrinsic sensor
 - Freescale Kinetis KL16 MCU
 - Freescale Xtrinsic MMA955xL intelligent motion sensing platform

The board implements a hybrid architecture to address the evolving
needs of the wearables market. The platform consists of a main board
and an example daughtercard with the ability to add additional
daughtercards for different usage models.

For more information about the project, visit:

 http://www.warpboard.org/

The machine configuration file used to include Yocto Project support to the
board is a consolidation work only.

It only reflects the work done in Linux kernel, U-Boot and FSL Community BSP,
where the hard work is actually done.

Change-Id: I3ef13f7c0959aa3a62b70ca46c7bf79a2cc5b2ed
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-26 12:40:51 -03:00
Alex de Cabo
a6a34b4f9e u-boot-congatec: Update to commit da45c1
- Increase length of ethernet phy reset pulse width
- The Q7 GPIO pins are now accessible from the environment script

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-21 12:22:36 -02:00
Alex de Cabo
e6bf2939cf linux-congatec: Update to version 3.10.53
Update the linux-congatec to the cgt_imx_3.10.53_1.1.0 branch

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-12 20:35:40 -02:00
Alfonso Tamés
97ed7ae94a linux-wandboard: Update kernel to 3.10.53-1.1.0_ga
This updates the Wandboards' kernel to 3.10.53-1.1.0_ga

Signed-off-by: Alfonso Tamés <alfonso@tames.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-12 20:35:27 -02:00
Fabio Estevam
b86f0a175d imx233-olinuxino: Remove 'alsa' from MACHINE_FEATURES
Mainline kernel currently does not have support for the on-chip audio codec
on mx23, so remove the 'alsa' entry from the MACHINE_FEATURES.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-05 23:01:38 -02:00
Alex de Cabo
9c3dc2a63f linux-congatec: support for Q7 GPIOs
Add support for Q7 GPIOs in conga-QMX6 device tree configuration

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-04 12:04:45 -02:00
Raphael Silva
6054ad663a linux-congatec-rt: Upgrade to 3.10.31-1.1.0 Beta 2
Update based on linux-imx-rt 3.10.31

Signed-off-by: Raphael Silva <raphael.philipe@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-05 14:37:23 -02:00
Raphael Silva
b90378d8e2 linux-congatec-rt: add initial recipe
Add initial support for 3.10.17-1.0.2 with 3.10.17-rt12 real-time patch.

Signed-off-by: Raphael Silva <raphael.philipe@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-29 09:56:23 -02:00
Raphael Silva
c32d2fa5f5 cgtqmx6: changing preferred kernel assignement type
The assignement of the preferred kernel was changed
so that It is possible do define a different one in
local.conf

Signed-off-by: Raphael Silva <raphael.philipe@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-29 09:52:32 -02:00
Alfonso Tamés
84d13080c9 linux-wandboard: Update to 3.10.31-1.1.0 beta2 based kernel
This updates the Wandboards' kernel to 3.10.31-1.1.0 beta2 to be in
line with Yocto's next 1.8 release. This commit also drops kernel
3.10.17 support since the new GPU drivers from Freescale do not
support this or older kernel versions.

Signed-off-by: Alfonso Tamés <alfonso@tames.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-12 09:36:12 -02:00
Alfonso Tamés
4c27698611 wandboard: Add Alfonso Tames as maintainer
Please add me as maintainer for the Wandboards. For now, I can test
only the Wandboard Quad and Wandboard Dual boards but not the
Wandboard Solo since I do not have access to that board.

Signed-off-by: Alfonso Tamés <alfonso@tames.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-12 09:36:12 -02:00
Alex de Cabo
b8d0c57a06 u-boot-congatec: Change environment mmcroot variable
Since SD naming with 3.10.31 kernel changes, this patch
modifies the variable mmcroot.

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-06 17:05:41 -02:00
Alex de Cabo
f9ffea9e64 linux-congatec: Upgrade to cgt_imx_3.10.31_1.1.0_beta2
Update the linux-congatec for the 3.10.31_1.1.0_beta2 kernel.

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-06 17:05:00 -02:00
Otavio Salvador
f93aba2490 u-boot-cubox-i: Fix SD offset to align with mainline value
The intended value was 69K but the sector number was wrong, fix it to
proper value as it aligns it with U-Boot mainline.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-03 16:20:30 -02:00
Ian Coolidge
4e6985eb77 linux-boundary (3.10.31): Bump SRCREV to b76cf1c
Fixed parallel LCD support and analog audio support respectively.

Eric Nelson (1):
  mxc_lcdif: re-order drivers mxc_lcdif and mxc_ipuv3_fb

Laci Tele (1):
  sgtl5000: ssi-controller has been replaced with cpu-dai, in .dtsi files

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-03 16:20:30 -02:00
Alex de Cabo
e6442b5012 linux-congatec: Upgrade to cgt_imx_3.10.17_1.0.2
No changes but the bug fixes in the Freescale release

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-28 09:39:35 -02:00
Alex de Cabo
10305fe1ad u-boot-congatec: Upgrade to cgt_imx_v2013.04_3.10.17_1.0.2
No changes but the bug fixes in the Freescale release

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-28 09:39:35 -02:00
Eric Nelson
00c8b0031f linux-boundary: deprecate 3.0.35, 3.10.17 kernels for Yocto 1.8
Since meta-fsl-arm is including GPU support that requires the 3.10.31
kernel, remove support for kernels 3.0.35 and 3.10.17 on Boundary
Devices boards for upcoming Yocto 1.8.

Custom boards should use their own recipes and be aware of the
incompatibilities if lingering on the older kernels.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-28 09:39:35 -02:00
Eric Nelson
39ab1db183 nitrogen6x*, imx6qsabrelite: default to kernel 3.10.31
Default to kernel version 3.10.31 to match meta-fsl-arm packages.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-28 09:39:35 -02:00
Eric Nelson
e2323da884 linux-boundary: Add support for kernel 3.10.31_1.1.0_beta
This patch adds support for the 3.10.31_1.1.0_beta kernelfor Boundary
Devices BD-SL-i.MX6 (built to SABRE Lite), Nitrogen6X, Nitrogen6_Max
and and Nitrogen6_Lite boards.

To try it out, set PREFERRED_VERSION_linux-boundary = "3.10.31" in your
local.conf file.

Minimal testing has been performed at this point, so don't expect it
to be production-ready.

Note that the 3.10.31 kernel contains an update to provide fixed
numbering for /dev/mmcblk devices instead of numbering them by
order of initialization.

Support has been added into the boot script, but requires setting
a variable in U-Boot:

	U-Boot > setenv sdphys 1
	U-Boot > saveenv
	U-Boot > boot

See this post for some additional commentary:
	http://boundarydevices.com/root-equals

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-28 09:39:35 -02:00
Eric Nelson
a16195f120 u-boot-boundary/u-boot-script-boundary: update to 86bfe2c (v2014.07)
Update to Boundary Devices U-Boot 2014.07 tree.

Notable updates include:
    Allow override of computed DTB file with 'dtbname' variable
    Force 10/100 mode on Nitrogen6_Lite
    Fix quoting in Nitrogen6_Lite boot script
    Support SD card numbering based on physical path for use with
        newer kernels.

Note that no code changes are present in this bump. All changes
are in the boot scripts, and u-boot-boundary-git is being updated
simply to match versions and streamline download of the sources.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-28 09:39:35 -02:00
Daiane Angolini
71bbdb30ae linux-*: Rework LOCALVERSION depending on SRCBRANCH
LOCALVERSION is used in FSL Community BSP Release Notes and should highlight
which are the _release version_ for that particular provider.

In addition LOCALVERSION makes it easy to track where the binary running on a
target is from.

Both reasons make LOCALVERSION a very important information.

The overall rule is that LOCALVERSION would point to SRCBRANCH, unless in a
case of explicit exception.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-24 18:35:58 -02:00
Fabio Estevam
33fa5e67d4 m28evk: Remove double inclusion of KERNEL_IMAGETYPE
KERNEL_IMAGETYPE = "uImage" is already present a few lines before, so remove
the redundant inclusion.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-08 17:33:30 -02:00
Eric Nelson
1557bb71d2 linux-boundary: Upgrade to 3.10.17_1.0.2 patch release (commit f7a1e187)
Update Linux kernel for Boundary Devices boards to match the Freescale
3.10.17_1.0.2 release and use branch boundary-imx_3.10.17_1.0.2_ga

No functional changes are in this update beyond the bug fixes in
the Freescale release.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-05 18:47:11 -02:00
Otavio Salvador
d5c0e16fe3 README: Update branches to master for development
This reverts commit 0bf90932c2.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-05 15:39:13 -02:00
Otavio Salvador
0bf90932c2 README: Update for Dizzy release
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-05 15:04:50 -02:00
Eric Nelson
05305f5cd6 linux-boundary (3.10.17): Bump SRCREV to 9f710dad
This update contains a handful of minor fixes for Nitrogen6x,
Nitrogen6x-SOM, Nitrogen6x_Max and SABRE Lite:

        Added AR1020-i2c 8-wire resistive touch controller
        Fixed real-time-clock on Nitrogen6_Max
        Miscellenous fixes for OV5642 parallel CSI camera
        Fixes for Focaltech FT5x06 capacitive touch screen
        Fix for TC358743 HDMI->MIPI
        Add mac address override for WL12xx Wifi module

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-01 15:48:01 -02:00
Daiane Angolini
6263e6e412 u-boot-*: Add DESCRIPTION for u-boot providers
Add u-boot DESCRIPTION for those providers still using the default one.
This is needed in order to have a complete and readable list of u-boot providers
in FSL Community BSP Release Notes.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-31 09:54:20 -02:00
Daiane Angolini
609d7bf190 Nitrogen6x-lite: Replace i.MX6 Solo by i.MX6S
Use the same name convention for variable SOC used in other machines.
This mismatch was highlighted during the automatic generation of supported
machine list for FSL Community BSP Release Notes 1.7.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Acked-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-31 09:51:21 -02:00
Daiane Angolini
c27329ca53 imx6dl-riotboard: Add support for RIoT board
Add support for RIoT board (http://www.riotboard.org/) using by default
linux-fslc and u-boot-fslc.

The machine name follows the linux (kernel.org) naming convention.

The generated uboot is configured by default for usage on the external SDCard
and not for the internal eMMC.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-27 17:56:27 -02:00
Eric Nelson
e1edc9c31a u-boot-script-boundary: update to f87025237 (v2014.07)
Update to Boundary Devices U-Boot boot scripts 2014.07 tree.

This update brings the boot scripts in line with the U-Boot
package (u-boot-boundary) and also contains a number of
enhancements:

        - Adds support for 1024x600 panel with Ilitek touch screen
        - nit6xlite: fixes bug in quoting bootargs
        - nitrogen6x: fixes calculation of DTB name for Solo/Dual-Lite
        - nitrogen6x/sabrelite/nitrogen6_max: add disable_giga parameter
        to allow a user to force 10/100 operation of the ethernet port

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-27 17:27:36 -02:00
Alex de Cabo
967b1331ff cgtqmx6: set KERNEL_IMAGETYPE to uImage
Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-23 20:16:03 -02:00
Otavio Salvador
70f30cd0b5 linux-wandboard: Update to 3.10.17-1.0.1 kernel
This updates to 3.10.17-1.0.1 kernel and fixes the GPIO pins behavior
which had no SION flags enabled so not allowing reading back the
setted value of the pin.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-15 11:09:38 -03:00
Eric Nelson
5827542816 linux-boundary (3.10.17): Bump SRCREV to bed3f6a3
This update contains a few important fixes for Nitrogen6x,
Nitrogen6x-SOM, and SABRE Lite:
        - bed3f6a3 - Fix for WiFi on Nitrogen6x-SOM carrier board
        - 496650f2 - Fix for OV5640 MIPI camera on Nitrogen6x
	- 46875533 - Fix for OV5640 MIPI camera on SABRE Lite

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-09 22:45:52 -03:00
Eric Nelson
fb54d61e71 linux-boundary (3.10.17): Bump SRCREV to 5e35d1b2
Updates in this release include:
    - update Broadcom driver to support per-chip firmware files
        (see commit 5ee7d28 in meta-fsl-arm-extra)
    - add support for ADV7391 Composite/Component Video output driver
    - backport PCIe fixes from mainline kernel

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-09 18:27:33 -03:00
Alex de Cabo
68ae3327b5 linux-congatec: update SRCREV to 9a3e949
Includes support for UART3 and UART5.

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-09 18:27:33 -03:00
Alex de Cabo
09a76a46b7 cgtqmx6: add myself as maintainer
Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-09 18:27:33 -03:00
John Weber
5e1c6a83e1 wandboard: Remove me as maintainer
I will not have time to spend to maintain and test the Wandboard
machines, so remove me as maintainer.

Signed-off-by: John Weber <rjohnweber@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-05 01:31:54 -03:00
John Weber
7d792d6d62 README: layer dependencies should be master
The layer dependencies for the master branch should be to master
branches

Signed-off-by: John Weber <rjohnweber@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-05 01:29:29 -03:00
Eric Nelson
8f2c0ffc97 u-boot-boundary: update to f87025237 (v2014.07)
Update to Boundary Devices U-Boot 2014.07 tree.

Notable updates include:
        Switch to v2014.07 release from mainline
        Addition of USB Mass Storage Gadget for programming SD cards/eMMC

Release notes are available in this post:
        http://boundarydevices.com/u-boot-2014-07-release

Specifics (and usage) of USB Mass Storage Gadget are available in
this post:
        http://boundarydevices.com/u-boot-usb-mass-storage-gadget/

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-30 23:32:26 -03:00
Alex de Cabo
5a3abb5de9 cgtqmx6: Update Congatec-QMX6 machine configuration
Update config file:

* U-boot provider: u-boot-qmx6
  - UBOOT_CONFIG variable defines the Congatec-QMX6 module
    variant to build. For testing purposes by default is set
    to: "pn016103"
  - This variable must be set in the conf/local.conf file
    according with the module partnumber. The possible values
    are:

    pn016100, pn016101, pn016102, pn016103, pn016104, pn016105,
    pn016106, pn016110, pn016111, pn016112, pn016113

    If a PN016101 is the target module, the line added to the
    conf/local.conf would be like the following:

    UBOOT_CONFIG = "pn016101"

* Linux kernel provider: linux-qmx6
  - Config file is the same for all the variants, due to that
    the SOC_FAMILY variables includes all SOCs to include the
    firmware of all machines.

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-24 15:37:18 -03:00
Alex de Cabo
cdf908a455 u-boot-imx: Remove old U-boot files
U-boot 2009.08 is not longer used by Conga-QMX6, due to that
those files are removed

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-24 15:37:18 -03:00
Alex de Cabo
2690828d52 u-boot-congatec: Update Congatec-QMX6 bootloader
Provides the recipe to use 2013.04 U-boot version

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-24 15:36:18 -03:00
Alex de Cabo
6317718a15 linux-congatec: Remove old Linux kernel files
Linux kernel 3.0.35 is not longer used, due to that, recipe, patches
and configuration files are removed.

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-24 15:36:18 -03:00
Alex de Cabo
76841b66f3 linux-congatec: Update Congatec-QMX6 Linux kernel
Provides the recipe and defconfig to 3.10.17 Linux kernel

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-24 15:36:18 -03:00
Otavio Salvador
e61ea982e5 linux-boundary (3.10.17): Add depends on bc-native
This fixes following error:

,----
|  /bin/sh: 1: bc: not found
|  make[1]: *** [kernel/timeconst.h] Error 127
|  make: *** [kernel] Error 2
|  make: *** Waiting for unfinished jobs....
|    CC      drivers/mxc/ipu3/ipu_ic.o
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-15 11:24:55 -03:00
Eric Nelson
287d38bc79 nitrogen6x: Add support for Nitrogen6_Max board
The Nitrogen6_Max board differs from Nitrogen6x only in its'
device-tree and U-Boot configuration.

Add device-tree to the Nitrogen6x image build, along with the
SABRE Lite and Nitrogen6x and document U-Boot build.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-15 09:37:40 -03:00
Eric Nelson
2c7235431f linux-boundary (3.10.17): Bump SRCREV to 50c5697b
Updates in this release include:
        - rebase on Freescale 3.10.17_1.0.1_ga release
        - support for new (custom) boards
        - fixes for production version of Nitrogen6 Max board
        - fixes to allow shutdown/restart of WL12xx Wi-Fi
        - added support for adv7180 NTSC video input driver
        - added support for Gennum GS2971 SDI receiver
        - added Ilitek 210x touch screen driver
        - update Focaltech ft5x06 touch screen to support 12 touches
        - update flexcan driver to allow use with only a standby GPIO
        - add support for "disable_giga" parameter for FEC Gb ethernet driver
        - add support for SC16IS7XX I2C multi-port serial controller
        - add support for "TRULY-1U" display
        - add support for Wolfson WM5102 audio codec

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-15 09:37:35 -03:00
Eric Nelson
e96865085f u-boot-boundary: update to 4dfca8881
Update to latest commit on Boundary Devices U-Boot 2014.04 tree.

Notable updates include:
	support for a number of new boards, including Nitrogen6 Max
	fixes for boot scripts for Solo and Dual-Lite processors
	fixes to support the use of RAM disks
	additional LCD panels:
		Ampire 1024x600 (Ilitek touch)
		WVGA LVDS

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-15 09:37:30 -03:00
Carlos Rafael Giani
adc7320bb6 linux-cubox-i: upgrade to 3.14.14 version
This is the new SolidRun supported kernel for the HummingBoard and
CuBox-i devices. It is based on the Linaro 3.14 kernel releases.

Some of the changes are:

* devicetree files are used now
* zImage is used instead of uImage
* large amounts of memory leak and stability fixes
* increased FEC ethernet performance, higher than the Freescale rated
  470 Mbps
* SDHC patchset for better UHS-I support
* residue support for SDMA with FSL's custom firmware integrated to work
  with HDMI and optical SPDIF
* higher DMA and GPU efficiency in general
* the vast array of improvements of a 3.14.14 kernel over a 3.0.35 one

Change-Id: I8f5292b3c2951e7fc48dd20e556da1beba092ed5
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-04 14:04:34 -03:00
Christoph Settgast
948ebb4f69 linux-boundary (3.10.17): update to 62ef71f
This includes the following changes, the defconfig
changes are reflected in the yocto defconfigs to
keep things in sync.

Eric Nelson (39):
      nit6xlite_defconfig: add LEDS_GPIO
      sabrelite: configure ethernet PHY nRST
      nitrogen6x: configure ethernet PHY nRST
      nitrogen6_mtp: configure ethernet PHY nRST
      nitrogen6_max: configure ethernet PHY nRST
      nit6xlite: configure ethernet PHY nRST
      nit6xlite: default to multi-touch input for eGalax, ft5x06
      nitrogen6x: default to multi-touch input for eGalax, ft5x06
      nitrogen6x_ub: default to multi-touch input for eGalax, ft5x06
      ft5x06: free GPIO in _remove
      ft5x06: add support for ABS_MT_TRACKING_ID
      ft5x06: set MAX_TOUCHES to 12
      ft5x06: respect/return tracking id from controller
      net: fec: iMX6 FEC does not support half-duplex gigabit
      nit*_defconfig: add CONFIG_USB_FUNCTIONFS=m
      nit*_defconfig: add CONFIG_USB_SERIAL_GENERIC
      nit6xlite: add ili210x touch controller
      nitrogen6x: add ili210x touch controller
      sabrelite: add ili210x touch controller
      nitrogen6_max: add ili210x touch controller
      nit6xlite_defconfig: add ILI210X touch screen
      nitrogen6x_defconfig: add ILI210X touch screen
      ili210x: Allow use with Device Tree
      nitrogen6_max: enable FEC ethernet
      nitrogen6_max: swap NANDF_CS0/1 (GP6:11/14) for SD3 voltage select, WL IRQ
      nitrogen6_max: define ENET_TXD1 as GPIO1:29 for amplifier mute
      flexcan: allow use with transceivers that only have standby pin
      nitrogen6x: SDIO is 1.8V-only, add flag in DTS
      sdhci: Allow platform_set_power callback
      sdhci-imx: Add power-gpio support
      nitrogen6x: use power-gpio instead of vqmmc-supply to control WL_EN pin
      nitrogen6_max: use power-gpio instead of vqmmc-supply to control WL_EN pin
      nitrogen6_max: configure voltage-select pin
      nit6xlite: flag 1.8v quirk for vqmmc on sdhc2 (WiFi interface)
      DT:imx6qdl: Pad SD2_DAT3 should have pull-down
      nitrogen6x_defconfig: include LEDS_PWM, SPI_SPIDEV
      Add imx6q-sabrelite-nolcd device tree
      fec: Add disable_giga parameter to force 10/100 operation
      Revert "DT:imx6qdl: Pad SD2_DAT3 should have pull-down"

Ranjani Vaidyanathan (1):
      ENGR00318392 ARM:imx6x: Save/restore SCU and some CP15 registers across suspend/resume

Signed-off-by: Christoph Settgast <christoph.settgast@methodpark.de>
Reviewed-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-31 16:22:28 -03:00
Simon Kuhnle
664e70e46b linux-boundary (3.10.17): add CONFIG_USB_G_MULTI
Signed-off-by: Simon Kuhnle <simon.kuhnle@methodpark.de>
Tested-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-21 23:07:04 -03:00
dv@pseudoterminal.org
e1e7e73bb7 u-boot-cubox-i: update to a06fada55a SRCREV
This patch updates the revision to a06fada55a.
Updates include added support for ramdisks.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-18 09:45:02 -03:00
Otavio Salvador
a4cdda7867 linux-denx: Restrict recipe compatibility for m53evk
This fixes following warning, when building other mx5 boards:

,----
| WARNING: Unable to get checksum for linux-denx SRC_URI entry
|     defconfig: file could not be found
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-14 22:31:24 -03:00
John Weber
12e560967b linux-wandboard: update SRCREV to 8e81319 and update defconfig
Update wandboard defconfig to add support for the Fusion touchscreen, Sunplus
keyboard, and some USB to serial devices

Signed-off-by: John Weber <rjohnweber@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-05 17:57:28 -03:00
Jacob Kroon
3515bb1870 u-boot-imx: Fix FILESEXTRAPATHS_prepend
Fixes:
  WARNING: FILESEXTRAPATHS-variable, must always use _prepend (or _append)
           type of assignment, and don't forget the colon.

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-26 19:06:49 -03:00
Eric Nelson
2c6b6c4927 nitrogen6x-lite: set KERNEL_IMAGETYPE to uImage
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-25 16:19:36 -03:00
Eric Nelson
c138d73b14 nitrogen6x: set KERNEL_IMAGETYPE to uImage
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-25 16:19:36 -03:00
Christoph Settgast
ff1015be65 u-boot-script-boundary: Fix build for imx6qsabrelite
When MACHINE was set to imx6qsabrelite no bootscript.txt was found.
Fix the same for the 6x_upgrade script while at it. There is only
one upgrade script shared by all boards, so use it independent of
the MACHINE.

Signed-off-by: Christoph Settgast <christoph.settgast@methodpark.de>
Tested-By: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-By: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-25 16:19:36 -03:00
John Weber
c3b74cd1de linux-wandboard (3.0.35): remove recipe and associated files
Now that kernel 3.0.35 is no longer being updated, and that 3.10.17 is now GA and
supports current GPU libraries, remove linux-wandboard (3.0.35).

Signed-off-by: John Weber <rjohnweber@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-21 11:03:30 -03:00
John Weber
5ee7d28984 linux-firmware: add bbappend to modify firmware file names
Upstream changes to the brcmfmac driver require a change to the firmware
file names to match the devid and interface type of the Broadcom chipset.
This also makes it easier for one machine to support multiple chipets in
Yocto.

Signed-off-by: John Weber <rjohnweber@gmail.com>
Acked-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-21 11:03:30 -03:00
John Weber
8686b4a984 linux-wandboard (3.10.17): Update SRCREV to 13697f2 and update defconfig
The update to the Wandboard Linux kernel includes the following changes:
- wandboard_defconfig: Enable CONFIG_USB_OTG
- wandboard/dts: Fix USB OTG
- wand-rfkill: Change gpio depending on wandboard revision
- wandboard: dts: Add alternate pin support for rev C1
- brcmfmac: Use fw filename and nvram based of devid for sdio.
- wandboard: add revision detect pin to rfkill driver
- wandboard/dts: change EDM gpio to open drain
- wandboard/dts: Enable lcdif in devicetree
- wandboard/dts: add fusion touchscreen to devicetree
- wandboard: Fix bluetooth

Signed-off-by: John Weber <rjohnweber@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-21 11:03:30 -03:00
John Weber
c92573efff broadcom-nvram-config: separate recipes to different chipsets
Upstream driver changes cause the driver to request firmware based on
the device ID (e.g. 4329, 4330).  This also applies to the nvram config
file.  Restructure the recipes and separate by chipset.

Modify conf/machine to use chipset-specific broadcom nvram packages

Signed-off-by: John Weber <rjohnweber@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-21 11:03:30 -03:00
Otavio Salvador
f432f685fe cubox-i: Add HummingBoard in NAME field
The Layer index and the release notes script use the NAME field to
identify the boards supported. Add HummingBoard to the field.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-15 19:04:40 -03:00
Christoph Settgast
3664b3f70b u-boot-script-boundary: Use bb vars for overrides
When using bitbake variables, overrides in bbappends are possible.
The embedded shell variables did not allow this.

Signed-off-by: Christoph Settgast <christoph.settgast@methodpark.de>
Reviewed-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-11 14:22:15 -03:00
Eric Nelson
456c27085a u-boot-boundary: Update to aed947536
Update U-Boot revision to match u-boot-script-boundary to
keep them in sync and address breakage on the v2014.04-20140419
branch in Github.

For more details, see
        http://lists.yoctoproject.org/pipermail/meta-freescale/2014-July/thread.html#9039

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-02 13:57:33 -03:00
Christoph Settgast
9bbe2e8e79 linux-boundary (3.10.17): Bump SRCREV to ca882d5a
Updates in this release include:
 - Configures GPIOs on Nitrogen6_Lite as "gpio-led" devices
 - Updates to nit6xlite_defconfig to match nitrogen6x_defconfig
 - Added support for Okaya 480x272 display
 - Allows concurrent operation of OV5640 MIPI and OV5642 parallel
   cameras

Signed-off-by: Christoph Settgast <christoph.settgast@methodpark.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-02 13:57:29 -03:00
Christoph Settgast
7686e46fcc linux-boundary (3.10.17): remove CONFIG_INPUT_EVBUG
Signed-off-by: Christoph Settgast <christoph.settgast@methodpark.de>
Acked-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-02 13:52:54 -03:00
Christoph Settgast
6c3871ea5b u-boot-script-boundary: Update to aed947536
This fixes quoting in a setenv. The wrong quoting was
preventing the device from booting.

Signed-off-by: Christoph Settgast <christoph.settgast@methodpark.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-30 09:19:52 -03:00
Rabeeh Khoury
5a1e9ce6e3 linux-cubox-i: updates the kernel to 6fc170bb7b SRCREV
This patch update the revision to 6fc170bb7b and corrects the following -
1. SUMMARY field. The kernel forks Boundary Devices BSP 4.1.0 but it's
   Freescale BSP 4.1.0 as-is.
2. CONFIG_MACH_C1 becomes CONFIG_MACH_HB. Carrier-one was renamed to be HummingBoard.
3. Following two patches not needed anymore since they are part of the kernel -
   0002-ARM-7668-1-fix-memset-related-crashes-caused-by-rece.patch
   0003-ARM-7670-1-fix-the-memset-fix.patch

Change-Id: I34657245890dc4200592b58a6289ba90a7e9df2c
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-25 13:33:14 -03:00
Rabeeh Khoury
d5ceed9425 u-boot-cubox-i: update to e313a3a86e SRCREV
This patch updates the revision to e313a3a86e.

Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-25 13:30:22 -03:00
Eric Nelson
029f535cfb nitrogen6x*, imx6qsabrelite: default to kernel 3.10.17
Various Freescale packages on the daisy branch require kernel
headers from 3.10.17, which breaks compatibility with 3.0.35 kernels.

Use the 3.10.17 branch as the default to allow more out-of-the box
build success.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-09 09:35:57 -03:00
Eric Nelson
809c9ccf8f linux-boundary (3.10.17): Bump SRCREV to cfb334d
- Added TC358743 HDMI input driver (via MIPI)
        - Fix RTC on nitrogen6x/6x-lite to kick-start on power-fail
        - Fix UART3 baud-rate mismatch bug
        - Update HDMI driver to default to "only CEA modes"
        - Fix SGTL5000 issue with reboot

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-09 09:35:57 -03:00
Eric Nelson
00b2561340 linux-boundary (3.0.35): Bump SRCREV to d9bc8a4
- Lots of additional (custom) boards
        - Fixes for Focaltech ft5x06 touch screen (10-points now)
        - RS-485 half-duplex and Rx/Tx LED support
        - Added fake power-down to blank displays during power-off
        - Added TC358743 HDMI input driver (via MIPI)
        - Added GS2971 driver (via CSI)
        - Fix RTC on nitrogen6x/6x-lite to kick-start on power-fail
        - Fix UART3 baud-rate mismatch bug
        - Update HDMI driver to default to "only CEA modes"

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-09 09:35:57 -03:00
Eric Nelson
14a6e9bc8a linux-boundary (3.0.35): defconfig changes for nitrogen6x, nitrogen6x-lite
Update defconfig files for Boundary Devices' boards to include
        - Updates for SystemD support
        - Use 3G/1G split
        - Add support for various USB->serial adapters
	- Add g_mass_storage (=m)

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-09 09:35:57 -03:00
Eric Nelson
98cc1400c7 linux-boundary (3.10.17): defconfig changes for nitrogen6x nitrogen6x-lite
Update defconfig files for Boundary Devices' boards to include
        - Updates for SystemD support
        - Use 3G/1G split
        - Add support for various USB->serial adapters

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-09 09:35:57 -03:00
Gary Thomas
48cba7af1b linux-boundary: Enable CONFIG_FHANDLE on nitrogen6x
This kernel setting is required when using systemd >= 210.  Without
it, no serial devices are enabled at boot time, making serial login
impossible.

Only tested on SabreLite (Nitrogen6x), but the same change should be
applied to all boards.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-05-24 18:59:01 -03:00
251 changed files with 24851 additions and 42269 deletions

28
.github/workflows/backport.yaml vendored Executable file
View File

@ -0,0 +1,28 @@
name: Backport labeled merged pull requests
on:
pull_request_target:
types: [closed]
jobs:
build:
name: Create backport PRs
runs-on: ubuntu-latest
# Only run when pull request is merged
# or when a comment containing `/backport` is created
if: github.event.pull_request.merged
steps:
- uses: actions/checkout@v2
with:
# Required to find all branches
fetch-depth: 0
- name: Create backport PRs
# Should be kept in sync with `version`
uses: zeebe-io/backport-action@v0.0.4
with:
# Required
# Version of the backport-action
# Must equal the version in `uses`
# Recommended: latest tag or `master`
version: v0.0.4
github_token: ${{ secrets.GITHUB_TOKEN }}
github_workspace: ${{ github.workspace }}

View File

@ -0,0 +1,35 @@
name: Update LICENSE file
on:
push:
paths:
- "**/*.bb"
- "**/*.inc"
schedule:
- cron: "0 0 * * *" # Runs daily at midnight
workflow_dispatch: # Allows manual run
jobs:
update-license:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run license generation script
run: |
./scripts/generate-license-file
- name: Commit and push LICENSE file
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add LICENSE
if ! git diff-index --quiet HEAD; then
git commit -m "Auto-update LICENSE file with current recipe licenses"
git push
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

4
.gitignore vendored
View File

@ -1 +1,5 @@
*~
*.bak
*.orig
*.rej
*.swp

20
LICENSE Normal file
View File

@ -0,0 +1,20 @@
# License Information
This file lists all licenses used by recipes in the meta-freescale-3rdparty layer.
./recipes-kernel/linux/linux-boundary_6.1.bb: LICENSE = "GPL-2.0-only"
./recipes-kernel/kernel-module-mcc-toradex/kernel-module-mcc-toradex_1.06+toradex2.bb: LICENSE = "GPL-2.0-only"
./recipes-connectivity/ti-18xx-wlconf/ti-18xx-wlconf_8.7.3.bb: LICENSE = "GPL-2.0-only"
./recipes-bsp/broadcom-nvram-config/broadcom-nvram-config.inc: LICENSE = "Proprietary"
./recipes-bsp/libmcc/libmcc_1.05.1.bb: LICENSE = "GPL-2.0-only | BSD"
./recipes-bsp/imx-atf/imx-atf-boundary_2.8.bb: LICENSE = "BSD-3-Clause"
./recipes-bsp/atf/qoriq-atf_1.5.bb: LICENSE = "BSD"
./recipes-bsp/u-boot/u-boot-script-qoriq_2019.10.bb: LICENSE = "MIT"
./recipes-bsp/u-boot/u-boot-script-toradex_2020.07.bb: LICENSE = "MIT"
./recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb: LICENSE = "GPL-2.0-only & BSD-3-Clause & BSD-2-Clause & LGPL-2.0-only & LGPL-2.1-only"
./recipes-bsp/u-boot/u-boot-toradex_2020.07.bb: LICENSE = "GPL-2.0-or-later"
./recipes-bsp/u-boot/u-boot-variscite_2018.03.bb: LICENSE = "GPL-2.0-or-later"
./recipes-bsp/u-boot/u-boot-boundary-common_2022.04.inc: LICENSE = "GPL-2.0-or-later"
./recipes-bsp/u-boot/u-boot-kontron_2020.01.bb: LICENSE = "GPL-2.0-or-later"
./recipes-bsp/mqxboot/mqxboot_1.0.1.bb: LICENSE = "GPL-2.0-only | BSD"
./recipes-core/net-persistent-mac/net-persistent-mac.bb: LICENSE = "MIT"

31
README
View File

@ -7,31 +7,32 @@ use with OpenEmbedded and/or Yocto Freescale's BSP layer.
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
branch: danny
branch: master
revision: HEAD
URI: git://git.yoctoproject.org/meta-fsl-arm
branch: danny
URI: git://git.yoctoproject.org/meta-freescale
branch: master
revision: HEAD
Contributing
------------
To contribute to this layer you should the patches for review to the
mailing list.
Please submit any patches against the `meta-freescale-3rdparty` layer by
using the GitHub pull-request feature. Fork the repo, make a branch,
do the work, rebase from upstream, create the pull request.
For some useful guidelines to be followed when submitting patches,
please refer to:
http://openembedded.org/wiki/Commit_Patch_Message_Guidelines
Pull requests will be discussed within the GitHub pull-request
infrastructure. If you want to get informed on new PRs and the
follow-up discussions please use GitHub's notification system.
Mailing list:
https://lists.yoctoproject.org/listinfo/meta-freescale
https://lists.yoctoproject.org/g/meta-freescale
Source code:
https://github.com/Freescale/meta-fsl-arm-extra
When creating a patch of the last commit, use
git format-patch -s --subject-prefix='meta-fsl-arm-extra][PATCH' -1
To send it to the community, use
git send-email --to meta-freescale@yoctoproject.org <generated patch>
https://github.com/Freescale/meta-freescale-3rdparty

View File

@ -0,0 +1,51 @@
inherit image_types
do_image_boot_ubifs[depends] += " \
mtd-utils-native:do_populate_sysroot \
u-boot:do_deploy \
virtual/kernel:do_deploy \
"
IMAGE_CMD:boot.ubifs() {
BOOTIMG_FILES_SYMLINK="${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin"
if [ -n "${KERNEL_DEVICETREE}" ]; then
for DTB in ${KERNEL_DEVICETREE}; do
# Remove potential sub-folders
DTB="$(basename ${DTB})"
if [ -e "${DEPLOY_DIR_IMAGE}/${DTB}" ]; then
BOOTIMG_FILES_SYMLINK="${BOOTIMG_FILES_SYMLINK} ${DEPLOY_DIR_IMAGE}/${DTB}"
fi
done
fi
# Create temporary folder
TMP_BOOTDIR="$(mktemp -d ${IMGDEPLOYDIR}/boot.XXXXXX)"
# Hard-link BOOTIMG_FILES into the temporary folder with the symlink filename
for item in ${BOOTIMG_FILES_SYMLINK}; do
orig="$(readlink -e ${item})"
ln "${orig}" "${TMP_BOOTDIR}/$(basename ${item})"
done
# Hard-link extlinux.conf file if available
if [ "${UBOOT_EXTLINUX}" = "1" ]; then
mkdir -p ${TMP_BOOTDIR}/${UBOOT_EXTLINUX_INSTALL_DIR}
orig="$(readlink -e ${DEPLOY_DIR_IMAGE}/${UBOOT_EXTLINUX_CONF_NAME})"
ln "${orig}" "${TMP_BOOTDIR}${UBOOT_EXTLINUX_INSTALL_DIR}/${UBOOT_EXTLINUX_CONF_NAME}"
fi
# Hard-link boot script if available
if [ -n "${UBOOT_BOOTSCRIPT}" ]; then
orig="$(readlink -e ${DEPLOY_DIR_IMAGE}/${UBOOT_BOOTSCRIPT})"
ln "${orig}" "${TMP_BOOTDIR}/${UBOOT_BOOTSCRIPT}"
fi
# Build UBIFS boot image out of temp folder
mkfs.ubifs -r "${TMP_BOOTDIR}" -o "${IMGDEPLOYDIR}/${IMAGE_NAME}.boot.ubifs" ${MKUBIFS_BOOT_ARGS}
# Remove the temporary folder
rm -rf ${TMP_BOOTDIR}
}
# Remove the default ".rootfs." suffix for 'boot.ubifs' images
do_image_boot_ubifs[imgsuffix] = "."

View File

@ -5,8 +5,9 @@ BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "fsl-arm-extra"
BBFILE_PATTERN_fsl-arm-extra := "^${LAYERDIR}/"
BBFILE_PRIORITY_fsl-arm-extra = "4"
BBFILE_COLLECTIONS += "freescale-3rdparty"
BBFILE_PATTERN_freescale-3rdparty := "^${LAYERDIR}/"
BBFILE_PRIORITY_freescale-3rdparty = "4"
LAYERDEPENDS_fsl-arm-extra = "core fsl-arm"
LAYERSERIES_COMPAT_freescale-3rdparty = "walnascar whinlatter"
LAYERDEPENDS_freescale-3rdparty = "core freescale-layer"

View File

@ -0,0 +1,43 @@
#@TYPE: Machine
#@NAME: Toradex Apalis iMX6Q/D
#@SOC: i.MX6Q
#@DESCRIPTION: Machine configuration for Toradex Apalis iMX6 SOM
#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com>
MACHINEOVERRIDES =. "mx6q:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/kernel:use-nxp-bsp ??= "linux-toradex"
KBUILD_DEFCONFIG:use-nxp-bsp ?= "apalis_imx6_defconfig"
KERNEL_DEVICETREE += " \
imx6q-apalis-eval.dtb imx6q-apalis-ixora.dtb \
imx6q-apalis-ixora-v1.1.dtb \
"
KERNEL_DEVICETREE:append:use-nxp-bsp = " imx6q-apalis-ixora-v1.2.dtb"
KERNEL_IMAGETYPE = "zImage"
# The kernel lives in a seperate FAT partition, don't deploy it in /boot/
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
IMX_DEFAULT_BOOTLOADER = "u-boot-toradex"
PREFERRED_RPROVIDER_u-boot-default-script = "u-boot-script-toradex"
UBOOT_SUFFIX = "img"
SPL_BINARY = "SPL"
# The SPL configures the DDR RAM depending on the module it runs on. Thus there
# is no need to distingush between the different module types.
UBOOT_CONFIG ??= "spl"
UBOOT_CONFIG[spl] = "apalis_imx6_defconfig,,u-boot.img"
UBOOT_MAKE_TARGET = ""
UBOOT_ENTRYPOINT:use-mainline-bsp = "0x10008000"
IMAGE_FSTYPES += "tar.xz"
# wic support
IMAGE_BOOT_FILES:append = " boot.scr-${MACHINE};boot.scr"
WKS_FILE_DEPENDS:append = " u-boot-default-script"
WKS_FILE = "sdimage-bootpart.wks"
MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g pci"
MACHINE_FIRMWARE:remove = "firmware-imx-epdc"

View File

@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: Crystalfontz CFA-10036
#@SOC: i.MX28
#@DESCRIPTION: Machine configuration for CFA-10036
#@MAINTAINER: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include conf/machine/include/cfa10036.inc

View File

@ -1,10 +0,0 @@
#@TYPE: Machine
#@NAME: Crystalfontz CFA-10037
#@SOC: i.MX28
#@DESCRIPTION: Machine configuration for CFA-10037
#@MAINTAINER: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include conf/machine/include/cfa10036.inc
KERNEL_DEVICETREE += "imx28-cfa10037.dtb"

View File

@ -1,12 +0,0 @@
#@TYPE: Machine
#@NAME: Crystalfontz CFA-10049
#@SOC: i.MX28
#@DESCRIPTION: Machine configuration for CFA-10049
#@MAINTAINER: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include conf/machine/include/cfa10036.inc
KERNEL_DEVICETREE += "imx28-cfa10049.dtb"
MACHINE_FEATURES += "touchscreen"

View File

@ -1,12 +0,0 @@
#@TYPE: Machine
#@NAME: Crystalfontz CFA-10055
#@SOC: i.MX28
#@DESCRIPTION: Machine configuration for CFA-10055
#@MAINTAINER: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include conf/machine/include/cfa10036.inc
KERNEL_DEVICETREE += "imx28-cfa10055.dtb"
MACHINE_FEATURES += "touchscreen"

View File

@ -1,12 +0,0 @@
#@TYPE: Machine
#@NAME: Crystalfontz CFA-10056
#@SOC: i.MX28
#@DESCRIPTION: Machine configuration for CFA-10056
#@MAINTAINER: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include conf/machine/include/cfa10036.inc
KERNEL_DEVICETREE += "imx28-cfa10056.dtb"
MACHINE_FEATURES += "screen"

View File

@ -1,12 +0,0 @@
#@TYPE: Machine
#@NAME: Crystalfontz CFA-10057
#@SOC: i.MX28
#@DESCRIPTION: Machine configuration for CFA-10057, also called CFA-920
#@MAINTAINER: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include conf/machine/include/cfa10036.inc
KERNEL_DEVICETREE += "imx28-cfa10057.dtb"
MACHINE_FEATURES += "touchscreen"

View File

@ -1,12 +0,0 @@
#@TYPE: Machine
#@NAME: Crystalfontz CFA-10058
#@SOC: i.MX28
#@DESCRIPTION: Machine configuration for CFA-10058, also called CFA-921
#@MAINTAINER: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include conf/machine/include/cfa10036.inc
KERNEL_DEVICETREE += "imx28-cfa10058.dtb"
MACHINE_FEATURES += "touchscreen"

View File

@ -1,23 +0,0 @@
#@TYPE: Machine
#@NAME: Congatec Qmx6
#@SOC: i.MX6Q
#@DESCRIPTION: Machine configuration for Congatec Qmx6 board
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa9.inc
SOC_FAMILY = "mx6:mx6q"
# Use u-boot imx
UBOOT_SUFFIX = "bin"
UBOOT_PADDING = "2"
PREFERRED_PROVIDER_u-boot = "u-boot-imx"
PREFERRED_VERSION_u-boot-imx = "2009.08"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-congatec"
UBOOT_MACHINE = "cgtqmx6_config"
SERIAL_CONSOLE = "115200 ttymxc1"
MACHINE_FEATURES += " pci"

View File

@ -0,0 +1,44 @@
#@TYPE: Machine
#@NAME: Toradex Colibri iMX6DL/S
#@SOC: i.MX6DL
#@DESCRIPTION: Machine configuration for Toradex Colibri iMX6 SOM
#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com>
MACHINEOVERRIDES =. "mx6dl:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/kernel:use-nxp-bsp ??= "linux-toradex"
KBUILD_DEFCONFIG:use-nxp-bsp ?= "colibri_imx6_defconfig"
KERNEL_DTB_PREFIX = "nxp/imx/"
KERNEL_DEVICETREE += "\
${KERNEL_DTB_PREFIX}imx6dl-colibri-eval-v3.dtb \
${KERNEL_DTB_PREFIX}imx6dl-colibri-cam-eval-v3.dtb \
${KERNEL_DTB_PREFIX}imx6dl-colibri-aster.dtb \
${KERNEL_DTB_PREFIX}imx6dl-colibri-iris.dtb \
${KERNEL_DTB_PREFIX}imx6dl-colibri-iris-v2.dtb \
"
KERNEL_DEVICETREE:use-mainline-bsp = "${KERNEL_DTB_PREFIX}imx6dl-colibri-eval-v3.dtb"
KERNEL_IMAGETYPE = "zImage"
# The kernel lives in a seperate FAT partition, don't deploy it in /boot/
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
IMX_DEFAULT_BOOTLOADER = "u-boot-toradex"
PREFERRED_PROVIDER_u-boot-default-script ?= "u-boot-script-toradex"
UBOOT_SUFFIX = "img"
SPL_BINARY = "SPL"
UBOOT_CONFIG ??= "spl"
UBOOT_CONFIG[spl] = "colibri_imx6_defconfig,,u-boot.img"
UBOOT_MAKE_TARGET = ""
UBOOT_ENTRYPOINT:use-mainline-bsp = "0x10008000"
IMAGE_FSTYPES += "tar.xz"
# wic support
IMAGE_BOOT_FILES:append = " boot.scr-${MACHINE};boot.scr"
WKS_FILE_DEPENDS:append = " u-boot-default-script"
WKS_FILE = "sdimage-bootpart.wks"
MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g"
MACHINE_FIRMWARE:remove = "firmware-imx-epdc"

View File

@ -0,0 +1,42 @@
#@TYPE: Machine
#@NAME: Toradex Colibri iMX6ULL
#@SOC: i.MX6ULL
#@DESCRIPTION: Machine configuration for Toradex Colibri iMX6 ULL SOM
#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com>
MACHINEOVERRIDES =. "mx6ull:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa7.inc
PREFERRED_PROVIDER_virtual/kernel:use-nxp-bsp ?= "linux-toradex"
KBUILD_DEFCONFIG:use-nxp-bsp ?= "colibri-imx6ull_defconfig"
KERNEL_DEVICETREE += " \
imx6ull-colibri-eval-v3.dtb imx6ull-colibri-wifi-eval-v3.dtb \
"
KERNEL_DEVICETREE:append:use-nxp-bsp = " \
imx6ull-colibri-aster.dtb imx6ull-colibri-wifi-aster.dtb \
imx6ull-colibri-iris.dtb imx6ull-colibri-wifi-iris.dtb \
imx6ull-colibri-iris-v2.dtb imx6ull-colibri-wifi-iris-v2.dtb \
"
KERNEL_IMAGETYPE = "zImage"
# The kernel lives in its own ubi volume.
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
IMX_DEFAULT_BOOTLOADER = "u-boot-toradex"
PREFERRED_PROVIDER_u-boot-default-script ?= "u-boot-script-toradex"
UBOOT_BINARY = "u-boot-nand.imx"
UBOOT_MAKE_TARGET = "u-boot.imx"
UBOOT_MACHINE ?= "colibri-imx6ull_defconfig"
UBOOT_SUFFIX = "imx"
IMAGE_FSTYPES += "tar.xz"
# wic support
IMAGE_BOOT_FILES:append = " boot.scr-${MACHINE};boot.scr"
WKS_FILE_DEPENDS:append = " u-boot-default-script"
WKS_FILE = "sdimage-bootpart.wks"
MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g"
MACHINE_FIRMWARE:remove = "firmware-imx-epdc"

View File

@ -0,0 +1,38 @@
#@TYPE: Machine
#@NAME: Toradex Colibri iMX7 Dual 1GB (eMMC)
#@SOC: i.MX 7Dual
#@DESCRIPTION: Machine configuration for Toradex Colibri iMX7 SOM (eMMC)
#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com>
MACHINEOVERRIDES =. "mx7:mx7d:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa7.inc
PREFERRED_PROVIDER_virtual/kernel:use-nxp-bsp ??= "linux-toradex"
KBUILD_DEFCONFIG:use-nxp-bsp ?= "colibri_imx7_defconfig"
KERNEL_DEVICETREE = " \
imx7d-colibri-emmc-eval-v3.dtb \
imx7d-colibri-emmc-aster.dtb \
"
KERNEL_DEVICETREE:append:use-nxp-bsp = " \
imx7d-colibri-emmc-iris.dtb \
imx7d-colibri-emmc-iris-v2.dtb \
"
# The kernel lives in a seperate FAT partition, don't deploy it in /boot/
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
IMX_DEFAULT_BOOTLOADER = "u-boot-toradex"
PREFERRED_RPROVIDER_u-boot-default-script = "u-boot-script-toradex"
UBOOT_SUFFIX = "imx"
UBOOT_BINARY = "u-boot-dtb.${UBOOT_SUFFIX}"
UBOOT_MACHINE ?= "colibri_imx7_emmc_defconfig"
IMAGE_FSTYPES += "tar.xz"
IMAGE_BOOT_FILES:append = " boot.scr-${MACHINE};boot.scr"
WKS_FILE_DEPENDS:append = " u-boot-default-script"
MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g"
MACHINE_FIRMWARE:remove = "firmware-imx-epdc"

View File

@ -0,0 +1,53 @@
#@TYPE: Machine
#@NAME: Toradex Colibri iMX7D/S (NAND)
#@SOC: i.MX 7Dual / i.MX 7Solo
#@DESCRIPTION: Machine configuration for Toradex Colibri iMX7 SOM (NAND)
#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com>
MACHINEOVERRIDES =. "mx7:mx7d:colibri-imx7:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa7.inc
PREFERRED_PROVIDER_virtual/kernel:use-nxp-bsp ??= "linux-toradex"
KBUILD_DEFCONFIG:use-nxp-bsp ?= "colibri_imx7_defconfig"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = " \
imx7d-colibri-eval-v3.dtb imx7s-colibri-eval-v3.dtb \
imx7d-colibri-aster.dtb imx7s-colibri-aster.dtb \
"
KERNEL_DEVICETREE:append:use-nxp-bsp = " \
imx7d-colibri-iris.dtb imx7s-colibri-iris.dtb \
imx7d-colibri-iris-v2.dtb imx7s-colibri-iris-v2.dtb \
"
# U-Boot of our newer release read the Kernel and device tree from static UBI
# volumes, hence no need to deploy the kernel binary in the image itself
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
IMX_DEFAULT_BOOTLOADER = "u-boot-toradex"
PREFERRED_PROVIDER_u-boot-default-script ?= "u-boot-script-toradex"
# U-Boot NAND binary includes 0x400 padding required for NAND boot
UBOOT_BINARY = "u-boot-nand.imx"
UBOOT_MAKE_TARGET = "u-boot.imx"
UBOOT_MACHINE ?= "colibri_imx7_defconfig"
UBOOT_SUFFIX = "imx"
IMAGE_FSTYPES += "tar.xz"
# wic support
IMAGE_BOOT_FILES:append = " boot.scr-${MACHINE};boot.scr"
WKS_FILE_DEPENDS:append = " u-boot-default-script"
WKS_FILE = "sdimage-bootpart.wks"
# Enable free --space-fixup (-F) by default, this allows DFU updates
MKUBIFS_ARGS = " -c 8112 -e 124KiB -m 2KiB -F"
UBINIZE_ARGS = " -p 128KiB -m 2048 -s 2048"
UBI_VOLNAME = "rootfs"
SERIAL_CONSOLES = "115200;ttymxc0"
MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g"
MACHINE_FIRMWARE:remove = "firmware-imx-epdc"

View File

@ -0,0 +1,56 @@
#@TYPE: Machine
#@NAME: Toradex Colibri VF50/VF61
#@SOC: VF500/VF610
#@DESCRIPTION: Machine configuration for Toradex Colibri VF50/VF61 powered by Freescale Vybrid SoC
#@MAINTAINER: Max Krummenacher <max.krummenacher@toradex.com>
MACHINEOVERRIDES =. "vf:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa5.inc
PREFERRED_PROVIDER_virtual/kernel ?= "linux-toradex"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = " \
vf500-colibri-eval-v3.dtb \
vf610-colibri-eval-v3.dtb \
"
KERNEL_DEVICETREE:append:use-nxp-bsp = " \
vf500-colibri-aster.dtb \
vf610-colibri-aster.dtb \
"
# U-Boot of our newer release read the Kernel and device tree from static UBI volumes,
# hence no need to deploy the kernel binary in the image itself
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
IMX_DEFAULT_BOOTLOADER = "u-boot-toradex"
PREFERRED_PROVIDER_u-boot-default-script ?= "u-boot-script-toradex"
PREFERRED_PROVIDER_virtual/kernel-module-mcc ?= "kernel-module-mcc-toradex"
PREFERRED_PROVIDER_virtual/kernel-module-mcc-dev ?= "kernel-module-mcc-toradex"
PREFERRED_VERSION_mqxboot ?= "1.%"
PREFERRED_VERSION_weston:use-nxp-bsp = ""
# U-Boot NAND binary includes 0x400 padding required for NAND boot
UBOOT_BINARY = "u-boot-nand.imx"
UBOOT_MAKE_TARGET = "u-boot.imx"
UBOOT_MACHINE ?= "colibri_vf_defconfig"
UBOOT_SUFFIX = "imx"
IMAGE_FSTYPES += "tar.xz ubifs"
# wic support
IMAGE_BOOT_FILES:append = " boot.scr-${MACHINE};boot.scr"
WKS_FILE_DEPENDS:append = " u-boot-default-script"
WKS_FILE = "sdimage-bootpart.wks"
# Enable free --space-fixup (-F) by default, this allows DFU updates
MKUBIFS_ARGS = " -c 8112 -e 124KiB -m 2KiB -F"
UBINIZE_ARGS = " -p 128KiB -m 2048 -s 2048"
UBI_VOLNAME = "rootfs"
SERIAL_CONSOLES = "115200;ttyLP0"
MACHINE_FEATURES += "usbgadget usbhost vfat alsa touchscreen"

View File

@ -1,33 +1,43 @@
#@TYPE: Machine
#@NAME: SolidRun CuBox-i
#@NAME: SolidRun CuBox-i and HummingBoard
#@SOC: i.MX6 Q/DL
#@DESCRIPTION: Machine configuration for SolidRun CuBox-i and HummingBoard machines
#@MAINTAINER: Carlos Rafael Giani <dv@pseudoterminal.org>
# Machine config for the SolidRun CuBox-i and HummingBoard machines.
# They all use the same machine config, since the u-boot SPL autodetects the
# machine type upon booting. SOC_FAMILY includes all SoCs from all of these machines
# to let recipes include firmware etc. for all of these SoCs.
# They all use the same machine config, since the u-boot SPL
# autodetects the machine type upon booting. MACHINEOVERRIDES includes
# all SoCs from all of these machines to let recipes include firmware
# etc. for all of these SoCs.
MACHINEOVERRIDES =. "mx6q:mx6dl:"
require conf/machine/include/imx-base.inc
require conf/machine/include/tune-cortexa9.inc
require conf/machine/include/arm/armv7a/tune-cortexa9.inc
SOC_FAMILY = "mx6:mx6dl:mx6q"
PREFERRED_PROVIDER_u-boot = "u-boot-cubox-i"
PREFERRED_PROVIDER_virtual/kernel = "linux-cubox-i"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
UBOOT_MAKE_TARGET = ""
UBOOT_SUFFIX = "img"
UBOOT_ENTRYPOINT = "0x10800000"
UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "mx6_cubox-i_config,sdcard"
UBOOT_CONFIG[sd] = "mx6cuboxi_defconfig,sdcard"
UENV_FILENAME = "uEnv-${MACHINE}.txt"
SPL_BINARY = "SPL"
WKS_FILES = "imx-uboot-spl.wks.in"
BOOT_SCRIPTS = "${UENV_FILENAME}:uEnv.txt"
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
MACHINE_FEATURES += "pci wifi bluetooth alsa bluetooth irda serial usbhost wifi"
MACHINE_FIRMWARE_append_mx6 = " linux-firmware-ath6k"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = "imx6dl-cubox-i.dtb imx6q-cubox-i.dtb imx6dl-hummingboard.dtb imx6q-hummingboard.dtb"
SERIAL_CONSOLE = "115200 ttymxc0"
MACHINE_FEATURES += "pci wifi bluetooth alsa irda serial usbhost"
MACHINE_EXTRA_RRECOMMENDS += "bcm4330-nvram-config bcm4329-nvram-config"
SERIAL_CONSOLES = "115200;ttymxc0"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
kernel-image \
kernel-devicetree \
u-boot-fslc \
"

View File

@ -0,0 +1,27 @@
#@TYPE: Machine
#@NAME: RIoTboard
#@SOC: i.MX6S
#@DESCRIPTION: Machine configuration for i.MX6S RIoTboard.
#@MAINTAINER: Nikolay Dimitrov <picmaster@mail.bg>
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa9.inc
MACHINEOVERRIDES =. "mx6dl:"
UBOOT_MACHINE = "riotboard_defconfig"
UBOOT_SUFFIX = "imx"
UBOOT_MAKE_TARGET = "u-boot.imx"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
SERIAL_CONSOLES = "115200;ttymxc1"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
kernel-image \
kernel-devicetree \
u-boot-fslc \
"
WKS_FILES = "imx-uboot.wks"

View File

@ -0,0 +1,54 @@
#@TYPE: Machine
#@NAME: IMX6Q/DL-PICO
#@SOC: i.MX6QDL
#@DESCRIPTION: Machine configuration for IMX6QDL-PICO board.
#@MAINTAINER: Otavio Salvador otavio.salvador@ossystems.com.br
MACHINEOVERRIDES =. "mx6q:mx6dl:"
require conf/machine/include/imx-base.inc
require conf/machine/include/arm/armv7a/tune-cortexa9.inc
IMX_DEFAULT_BSP = "mainline"
IMX_DEFAULT_BOOTLOADER = "u-boot-fslc"
SERIAL_CONSOLES = "115200;ttymxc0"
SPL_BINARY = "SPL"
UBOOT_SUFFIX = "img"
UBOOT_MAKE_TARGET = ""
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_CONSOLE = "console=${console},${baudrate}"
UBOOT_CONFIG ??= "generic"
UBOOT_CONFIG[generic] = "pico-imx6_defconfig"
KERNEL_DEVICETREE = " \
imx6dl-pico-dwarf.dtb \
imx6dl-pico-hobbit.dtb \
imx6dl-pico-nymph.dtb \
imx6dl-pico-pi.dtb \
imx6q-pico-dwarf.dtb \
imx6q-pico-hobbit.dtb \
imx6q-pico-nymph.dtb \
imx6q-pico-pi.dtb \
"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
kernel-image \
kernel-devicetree \
u-boot-fslc \
"
MACHINE_EXTRA_RRECOMMENDS += " \
bcm4339-nvram-config \
"
WKS_FILES ?= "imx-uboot-spl.wks.in"
WKS_FILE_DEPENDS ?= ""
IMAGE_FSTYPES = "wic.bmap wic.xz ext4.gz"
MACHINE_FIRMWARE:append = " linux-firmware-ath10k"
MACHINE_FEATURES += " pci bluetooth touchscreen wifi"

View File

@ -0,0 +1,61 @@
#@TYPE: Machine
#@NAME: Variscite i.MX6Q/DL VAR-SOM-MX6
#@SOC: i.MX6Q/DL
#@DESCRIPTION: Machine configuration for Variscite i.MX6Q/DL VAR-SOM-MX6
#@MAINTAINER: Fabio Berton <fabio.berton@ossystems.com.br>
MACHINEOVERRIDES =. "mx6q:mx6dl:"
DEFAULTTUNE ?= "cortexa9thf-neon"
require conf/machine/include/imx-base.inc
require conf/machine/include/arm/armv7a/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-variscite"
PREFERRED_PROVIDER_virtual/kernel:use-mainline-bsp ??= "linux-fslc"
KERNEL_DEVICETREE = " \
imx6dl-var-som-cap.dtb \
imx6dl-var-som-res.dtb \
imx6dl-var-som-vsc.dtb \
imx6dl-var-som-solo-cap.dtb \
imx6dl-var-som-solo-res.dtb \
imx6dl-var-som-solo-vsc.dtb \
imx6q-var-som-cap.dtb \
imx6q-var-som-res.dtb \
imx6q-var-som-vsc.dtb \
"
KERNEL_DEVICETREE:use-mainline-bsp = " \
imx6q-var-som-vsc.dtb \
"
KERNEL_IMAGETYPE = "uImage"
UBOOT_SPL_BUILD = "yes"
UBOOT_MAKE_TARGET = "all"
UBOOT_SUFFIX = "img"
WKS_FILE = "imx-uboot-spl-bootpart.wks.in"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-variscite"
PREFERRED_PROVIDER_u-boot = "u-boot-variscite"
UBOOT_ENTRYPOINT:use-mainline-bsp = "0x10008000"
UBOOT_CONFIG ??= "nand sd"
UBOOT_CONFIG[sd] = "mx6var_som_sd_config,sdcard"
UBOOT_CONFIG[nand] = "mx6var_som_nand_config,ubifs"
SPL_BINARY = "SPL"
## NAND 512MB
UBI_ROOT_FS_NAME = "[rootfs]"
UBI_VOLNAME = "rootfs"
MKUBIFS_ARGS = " -m 2048 -e 124KiB -c 3965 -F "
UBINIZE_ARGS = " -m 2048 -p 128KiB -s 2048 -O 2048 "
SERIAL_CONSOLES = "115200;ttymxc0"
USE_VT = "0"
MACHINE_FIRMWARE:append = " linux-firmware-wl12xx linux-firmware-wl18xx ti-18xx-wlconf"
MACHINE_FEATURES += " pci bluetooth touchscreen wifi"

View File

@ -1,13 +0,0 @@
#@TYPE: Machine
#@NAME: Boundary Devices i.MX6Q SABRE Lite
#@SOC: i.MX6Q
#@DESCRIPTION: Machine configuration for Boundary Devices i.MX6Q SABRE Lite
#@MAINTAINER: Eric Nelson <eric.nelson@boundarydevices.com>
# WARNING: This board now use the *same* code as Nitrogen6X and it
# boots from internal SPI NOR memory. If you did change it to boot
# from the MMC (SD3 or SD4) please check the Boundary's blog post
# at: http://boundarydevices.com/u-boot-on-i-mx6/#unbricking
MACHINEOVERRIDES = "nitrogen6x:${MACHINE}"
include conf/machine/nitrogen6x.conf

View File

@ -0,0 +1,47 @@
#@TYPE: Machine
#@NAME: WaRP
#@SOC: i.MX6SL
#@DESCRIPTION: Machine configuration for i.MX6SL WaRP board.
#@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br>
#Warp has an eMMC that stores the bootloader, kernel, dtb and rootfs.
#An easy way to flash the generated <image>.sdcard image is
#following these steps:
#
# 1.Connect the serial to USB adapter from Warp to the host PC
# 2.Connect the USB OTG Warp port to the host PC
# (Warp can be powered via USB OTG port).
# 3.In the U-boot prompt type:
# => ums 0 mmc 0
# 4.Then the Warp eMMC will be mounted as a USB gadget in the host PC
# 5.On the host PC, copy the generated .sdcard image into Warp's eMMC:
# $ umount /dev/<ums-device>
# $ sudo dd if=<image>.sdcard of=/dev/<ums-device>
#
#WARNING: Double check by running dmesg on the host PC which is the
#correct node that corresponds to the Warp board. Passing an incorrect
#device number may overwrite the host PC file system, causing boot issues there.
MACHINEOVERRIDES =. "mx6sl:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa9.inc
IMX_DEFAULT_BSP = "mainline"
# WaRP uses eMMC boot partition by default and the u-boot inside .sdcard image
# does not override it. However, build u-boot binary anyway in order to provide
# a binary to be used if an update is needed
# see how-to override eMMC boot partition on the following link
# http://git.denx.de/?p=u-boot.git;a=blob;f=board/warp/README
EXTRA_IMAGEDEPENDS += "u-boot"
UBOOT_MACHINE ?= "warp_defconfig"
UBOOT_SUFFIX = "imx"
KERNEL_DEVICETREE = "imx6sl-warp.dtb"
SERIAL_CONSOLES = "115200;ttymxc0"
MACHINE_FEATURES += "wifi bluetooth serial"
MACHINE_EXTRA_RRECOMMENDS += "bcm4330-nvram-config"

View File

@ -0,0 +1,62 @@
#@TYPE: Machine
#@NAME: Kontron N63XX/N64XX SoM based boards
#@SOC: i.MX6UL/i.MX6ULL
#@DESCRIPTION: Machine configuration for Kontron N63XX/N64XX SoM based boards
#@MAINTAINER: Frieder Schrempf <frieder.schrempf@kontron.de>
MACHINEOVERRIDES =. "mx6ul:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa7.inc
IMX_DEFAULT_BSP = "mainline"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-kontron"
PREFERRED_PROVIDER_u-boot ?= "u-boot-kontron"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-kontron"
KERNEL_CLASSES ?= " kernel-fitimage "
KERNEL_IMAGETYPES ?= "fitImage"
KERNEL_DEVICETREE = " \
imx6ul-kontron-n6310-s.dtb \
imx6ul-kontron-n6310-s-43.dtb \
imx6ul-kontron-n6311-s.dtb \
imx6ull-kontron-n6411-s.dtb \
"
SERIAL_CONSOLES = "115200;ttymxc3"
UBOOT_CONFIG = "kontron-mx6ul"
UBOOT_CONFIG[kontron-mx6ul] = "kontron_mx6ul_defconfig"
SPL_BINARY = "SPL"
UBOOT_ENTRYPOINT = "0x81000000"
UBOOT_MAKE_TARGET = "u-boot.img SPL"
UBOOT_SUFFIX = "img"
UBOOT_EXTLINUX ?= "1"
UBOOT_EXTLINUX_LABELS ?= "default"
UBOOT_EXTLINUX_KERNEL_IMAGE ?= "../fitImage"
UBOOT_EXTLINUX_FDTDIR ?= ""
UBOOT_EXTLINUX_KERNEL_ARGS ?= "rootwait"
UBOOT_EXTLINUX_TIMEOUT = "8"
UBOOT_EXTLINUX_LABELS = "kontron-n6310-s kontron-n6311-s kontron-n6310-s-43 kontron-n6411-s"
UBOOT_EXTLINUX_KERNEL_IMAGE_kontron-n6310-s = "../fitImage#conf@imx6ul-kontron-n6310-s.dtb"
UBOOT_EXTLINUX_KERNEL_IMAGE_kontron-n6311-s = "../fitImage#conf@imx6ul-kontron-n6311-s.dtb"
UBOOT_EXTLINUX_KERNEL_IMAGE_kontron-n6310-s-43 = "../fitImage#conf@imx6ul-kontron-n6310-s-43.dtb"
UBOOT_EXTLINUX_KERNEL_IMAGE_kontron-n6411-s = "../fitImage#conf@imx6ull-kontron-n6411-s.dtb"
UBOOT_EXTLINUX_MENU_DESCRIPTION_kontron-n6310-s = "Kontron N6310 S"
UBOOT_EXTLINUX_MENU_DESCRIPTION_kontron-n6311-s = "Kontron N6311 S"
UBOOT_EXTLINUX_MENU_DESCRIPTION_kontron-n6310-s-43 = "Kontron N6310 S 43"
UBOOT_EXTLINUX_MENU_DESCRIPTION_kontron-n6411-s = "Kontron N6411 S"
UBOOT_EXTLINUX_CONSOLE = "console=ttymxc3,115200"
UBOOT_EXTLINUX_ROOT = "root=/dev/mmcblk0p2"
MACHINE_FEATURES = "usbhost vfat serial ext2 rtc usbgadget"
IMAGE_BOOT_FILES = " \
extlinux.conf;extlinux/extlinux.conf \
fitImage \
"
WKS_FILES ?= "imx-uboot-spl-bootpart.wks.in"

View File

@ -0,0 +1,47 @@
#@TYPE: Machine
#@NAME: IMX6UL-PICO
#@SOC: i.MX6UL
#@DESCRIPTION: Machine configuration for IMX6UL-PICO board.
#@MAINTAINER: Daiane Angolini <daiane.angolini@nxp.com>
MACHINEOVERRIDES =. "mx6ul:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa7.inc
IMX_DEFAULT_BSP = "mainline"
IMX_DEFAULT_BOOTLOADER = "u-boot-fslc"
SERIAL_CONSOLES = "115200;ttymxc5"
KERNEL_DEVICETREE = " \
imx6ul-pico-dwarf.dtb \
imx6ul-pico-hobbit.dtb \
imx6ul-pico-pi.dtb \
"
SPL_BINARY = "SPL"
UBOOT_SUFFIX = "img"
UBOOT_MAKE_TARGET = ""
UBOOT_CONFIG ??= "dwarf hobbit pi generic"
UBOOT_CONFIG[dwarf] = "pico-dwarf-imx6ul_defconfig"
UBOOT_CONFIG[generic] = "pico-imx6ul_defconfig"
UBOOT_CONFIG[hobbit] = "pico-hobbit-imx6ul_defconfig"
UBOOT_CONFIG[pi] = "pico-pi-imx6ul_defconfig"
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_CONSOLE = "console=${console},${baudrate}"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
kernel-image \
kernel-devicetree \
u-boot-fslc \
"
MACHINE_FEATURES += "wifi bluetooth"
WKS_FILES ?= "imx-uboot-spl.wks.in"
WKS_FILE_DEPENDS ?= ""
IMAGE_FSTYPES = "wic.bmap wic.xz ext4.gz"

View File

@ -0,0 +1,52 @@
#@TYPE: Machine
#@NAME: IMX7D-PICO
#@SOC: i.MX7D
#@DESCRIPTION: Machine configuration for IMX7D-PICO board.
#@MAINTAINER: Vanessa Maegima <vanessa.maegima@nxp.com>
MACHINEOVERRIDES =. "mx7:mx7d:"
require conf/machine/include/imx-base.inc
require conf/machine/include/arm/armv7a/tune-cortexa7.inc
IMX_DEFAULT_BSP = "mainline"
IMX_DEFAULT_BOOTLOADER = "u-boot-fslc"
SERIAL_CONSOLES = "115200;ttymxc4"
KERNEL_DEVICETREE = " \
imx7d-pico-dwarf.dtb \
imx7d-pico-hobbit.dtb \
imx7d-pico-pi.dtb \
"
SPL_BINARY = "SPL"
UBOOT_BINARY = "u-boot-dtb.img"
UBOOT_SUFFIX = "img"
UBOOT_MAKE_TARGET = ""
UBOOT_CONFIG ??= "dwarf hobbit nymph pi generic"
UBOOT_CONFIG[dwarf] = "pico-dwarf-imx7d_defconfig"
UBOOT_CONFIG[generic] = "pico-imx7d_defconfig"
UBOOT_CONFIG[hobbit] = "pico-hobbit-imx7d_defconfig"
UBOOT_CONFIG[nymph] = "pico-nymph-imx7d_defconfig"
UBOOT_CONFIG[pi] = "pico-pi-imx7d_defconfig"
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_CONSOLE = "console=${console},${baudrate}"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
kernel-image \
kernel-devicetree \
u-boot-fslc \
"
MACHINE_EXTRA_RRECOMMENDS += " \
bcm4339-nvram-config \
linux-firmware-ath10k \
"
WKS_FILES ?= "imx-uboot-spl.wks.in"
WKS_FILE_DEPENDS ?= ""
IMAGE_FSTYPES = "wic.bmap wic.xz ext4.gz"

View File

@ -0,0 +1,25 @@
#@TYPE: Machine
#@NAME: WaRP7
#@SOC: i.MX7S
#@DESCRIPTION: Machine configuration for i.MX7S WaRP board.
#@MAINTAINER: Pierre-Jean Texier <texier.pj2@gmail.com>
MACHINEOVERRIDES =. "mx7:mx7d:"
require conf/machine/include/imx-base.inc
require conf/machine/include/arm/armv7a/tune-cortexa7.inc
IMX_DEFAULT_BSP = "mainline"
MACHINE_FEATURES += " wifi bluetooth"
KERNEL_DEVICETREE = "imx7s-warp.dtb"
UBOOT_BINARY = "u-boot-dtb.imx"
UBOOT_SUFFIX = "imx"
UBOOT_MAKE_TARGET = ""
UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "warp7_defconfig,sdcard"
MACHINE_EXTRA_RRECOMMENDS += "bcm43430-nvram-config"

View File

@ -1,29 +0,0 @@
# Common definitions for cfa-10036 boards
include conf/machine/include/mxs-base.inc
SOC_FAMILY = "mxs:mx28:cfa10036"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-cfa"
IMAGE_BOOTLOADER = "barebox"
BAREBOX_BINARY = "barebox"
IMXBOOTLETS_MACHINE = "cfa10036"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = "imx28-cfa10036.dtb"
# we need the kernel to be installed in the final image
IMAGE_INSTALL_append = " kernel-image kernel-devicetree"
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
IMAGE_FSTYPES ?= "tar.bz2 ext3 barebox.mxsboot-sdcard sdcard"
SERIAL_CONSOLE = "115200 ttyAMA0"
MACHINE_FEATURES = "usbgadget usbhost vfat"
# Overrides due use of non-FSL kernel
PREFERRED_VERSION_imx-test = "00.00.00"
MACHINE_GSTREAMER_PLUGIN_cfa10036 = ""

View File

@ -1,17 +1,22 @@
# Common definitions to all iMX233-OlinuXino variants
include conf/machine/include/mxs-base.inc
# Add a override for all iMX233-OLinuXino variants
MACHINEOVERRIDES =. "mxs:mx23:imx233-olinuxino:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv5/tune-arm926ejs.inc
# This machine is not supported by u-boot-imx as it is not tested by NXP on this
# board. So we force it to use u-boot-fslc which is based on mainline here.
IMX_DEFAULT_BOOTLOADER = "u-boot-fslc"
UBOOT_MAKE_TARGET = "u-boot.sb"
UBOOT_SUFFIX = "sb"
IMXBOOTLETS_MACHINE = "stmp378x_dev"
UBOOT_MACHINE = "mx23_olinuxino_config"
# Add a override for all iMX233-OLinuXino variants
SOC_FAMILY = "mxs:mx23:imx233-olinuxino"
KERNEL_IMAGETYPE = "uImage"
KERNEL_DEVICETREE = "imx23-olinuxino.dtb"
KERNEL_DEVICETREE = "nxp/mxs/imx23-olinuxino.dtb"
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard"
MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa"
MACHINE_FEATURES = "usbgadget usbhost vfat"

View File

@ -1,13 +0,0 @@
# Common settings for wandboard boards
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard"
PREFERRED_VERSION_linux-wandboard ?= "3.10.17"
SERIAL_CONSOLE = "115200 ttymxc0"
MACHINE_FEATURES += "pci touchscreen"
KERNEL_IMAGETYPE = "zImage"

View File

@ -0,0 +1,52 @@
#@TYPE: Machine
#@NAME: Solid-Run LX2160A-CEx7
#@SOC: LSCH3
#@DESCRIPTION: Machine configuration for running LX2160A-CEx7 in 64-bit mode
require conf/machine/include/qoriq-arm64.inc
require conf/machine/include/arm/arch-arm64.inc
MACHINEOVERRIDES =. "fsl-lsch3:lx2160a:"
MACHINE_FEATURES += "optee"
KERNEL_CLASSES = " kernel-fitimage "
KERNEL_IMAGETYPES = "fitImage"
DTB_LOAD = "0x90000000"
UBOOT_ENTRYPOINT = "0x80080000"
UBOOT_CONFIG ??= "tfa"
UBOOT_CONFIG[tfa] = "lx2160acex7_tfa_defconfig,,u-boot-dtb.bin"
KERNEL_DEVICETREE_BASENAME ?= "fsl-lx2160a-cex7.dtb"
KERNEL_DEVICETREE ?= "freescale/${KERNEL_DEVICETREE_BASENAME}"
KERNEL_DEFCONFIG ?= "defconfig"
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
#SERDES=8_5_2 # 8x10g
#SERDES=13_5_2 # dual 100g
#SERDES=20_5_2 # dual 40g
SERDES ?= "8_5_2"
SPEED ?= "2000_700_3200"
RCWAUTO ?= "${SERDES}/${SPEED}"
BOOTTYPE="auto"
EXTRA_IMAGEDEPENDS += "management-complex mc-utils rcw ls2-phy ddr-phy qoriq-atf inphi"
USE_VT = "0"
PREFERRED_PROVIDER_u-boot-default-script = "u-boot-script-qoriq"
PREFERRED_PROVIDER_virtual/kernel = "linux-fslc-qoriq"
PREFERRED_VERSION_linux-qoriq = "5.4%"
PREFERRED_VERSION_u-boot-qoriq = "2019.10%"
PREFERRED_VERSION_qoriq-atf = "1.5%"
IMAGE_FSTYPES += "wic"
WKS_FILE = "lx2160acex7.wks.in"
WKS_FILE_DEPENDS:append = "\
${PREFERRED_PROVIDER_u-boot-default-script} \
"
IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} ${KERNEL_DEVICETREE_BASENAME} boot.scr-${MACHINE};boot.scr"

View File

@ -1,27 +0,0 @@
#@TYPE: Machine
#@NAME: DENX M28 SoM Evaluation Kit
#@SOC: i.MX28
#@DESCRIPTION: Machine configuration for DENX M28 SoM Evaluation Kit
include conf/machine/include/mxs-base.inc
SOC_FAMILY = "mxs:mx28"
UBOOT_MACHINE = "m28evk_config"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
KERNEL_IMAGETYPE = "uImage"
KERNEL_DEVICETREE = "imx28-m28evk.dtb"
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard"
SERIAL_CONSOLE = "115200 ttyAMA0"
KERNEL_IMAGETYPE = "uImage"
MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
# Overrides due use of non-FSL kernel
PREFERRED_VERSION_imx-test = "00.00.00"
MACHINE_GSTREAMER_PLUGIN_m28evk = ""

View File

@ -1,28 +0,0 @@
#@TYPE: Machine
#@NAME: DENX M53 SoM Evaluation Kit
#@SOC: i.MX53
#@DESCRIPTION: Machine configuration for DENX M53 SoM Evaluation Kit
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa8.inc
SOC_FAMILY = "mx5:mx53"
UBOOT_MACHINE = "m53evk_config"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-denx"
KERNEL_IMAGETYPE = "uImage"
KERNEL_DEVICETREE = "imx53-m53evk.dtb"
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard"
SERIAL_CONSOLE = "115200 ttymxc1"
MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
# Overrides due use of non-FSL kernel
PREFERRED_VERSION_imx-test = "00.00.00"
MACHINE_GSTREAMER_PLUGIN_m53evk = ""
XSERVER_DRIVER_m53evk = "xf86-video-fbdev"

View File

@ -0,0 +1,35 @@
#@TYPE: Machine
#@NAME: Boundary Devices Nitrogen6SX
#@SOC: i.MX6SX
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen6SX
#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
MACHINEOVERRIDES =. "mx6sx:"
IMX_DEFAULT_BSP ?= "nxp"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa9.inc
KERNEL_DEVICETREE = "imx6sx-nitrogen6sx.dtb"
KERNEL_IMAGETYPE = "zImage"
IMX_DEFAULT_BOOTLOADER = "u-boot-boundary"
UBOOT_SUFFIX = "imx"
UBOOT_BINARY = "u-boot.${UBOOT_SUFFIX}"
PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
PREFERRED_PROVIDER_virtual/kernel:use-mainline-bsp ??= "linux-fslc"
# wic support
WKS_FILE = "sdimage-bootpart.wks"
IMAGE_BOOT_FILES:append = " \
boot.scr-${MACHINE};boot.scr \
"
WKS_FILE_DEPENDS += " u-boot-script-boundary"
UBOOT_MACHINE ?= "nitrogen6sx_defconfig"
SERIAL_CONSOLES = "115200;ttymxc0"
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx"
MACHINE_FEATURES += " pci wifi bluetooth"

View File

@ -1,32 +1,34 @@
#@TYPE: Machine
#@NAME: Boundary Devices Nitrogen6X Lite
#@SOC: i.MX6 Solo
#@SOC: i.MX6S
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen6X Lite
#@MAINTAINER: Eric Nelson <eric.nelson@boundarydevices.com>
#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
MACHINEOVERRIDES =. "mx6dl:"
IMX_DEFAULT_BSP ?= "nxp"
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa9.inc
SOC_FAMILY = "mx6:mx6dl"
include conf/machine/include/arm/armv7a/tune-cortexa9.inc
KERNEL_DEVICETREE = "imx6dl-nit6xlite.dtb"
KERNEL_IMAGETYPE = "zImage"
PREFERRED_PROVIDER_u-boot = "u-boot-boundary"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-boundary"
PREFERRED_VERSION_linux-boundary ?= "3.0.35"
PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary"
PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary"
PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
PREFERRED_PROVIDER_virtual/kernel:use-mainline-bsp ??= "linux-fslc"
# Use SPI NOR U-Boot by default
IMAGE_BOOTLOADER ?= ""
# wic support
WKS_FILE = "sdimage-bootpart.wks"
IMAGE_BOOT_FILES:append = " \
boot.scr-${MACHINE};boot.scr \
"
WKS_FILE_DEPENDS += "u-boot-script-boundary"
# Ensure boot scripts will be available at rootfs time
do_rootfs[depends] += "u-boot-script-boundary:do_deploy"
UBOOT_MACHINE ?= "nit6xlite_defconfig"
# Boot scripts to install
BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
SERIAL_CONSOLES = "115200;ttymxc1"
UBOOT_MACHINE ?= "nit6xlite_config"
SERIAL_CONSOLE = "115200 ttymxc1"
MACHINE_EXTRA_RRECOMMENDS += " broadcom-nvram-config"
MACHINE_EXTRA_RRECOMMENDS += " bcm4330-nvram-config"
MACHINE_FEATURES += " pci wifi bluetooth"

View File

@ -1,8 +1,8 @@
#@TYPE: Machine
#@NAME: Boundary Devices Nitrogen6X
#@SOC: i.MX6Q
#@SOC: i.MX6 Q/DL
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen6X
#@MAINTAINER: Eric Nelson <eric.nelson@boundarydevices.com>
#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
#
# Note that this machine configuration also supports the SABRE Lite
# reference design and the Nitrogen6X-SOM.
@ -18,6 +18,7 @@
# -------------- ------ --------------------
# i.MX6Quad/Dual 1GB nitrogen6q_config
# i.MX6Quad/Dual 2GB nitrogen6q2g_config
# i.MX6Quad/Dual 4GB nitrogen6_max_config
# i.MX6Dual-Lite 1GB nitrogen6dl_config
# i.MX6Dual-Lite 2GB nitrogen6dl2g_config
# i.MX6Solo 512MB nitrogen6s_config
@ -28,30 +29,46 @@
#
#
MACHINEOVERRIDES =. "mx6q:mx6dl:"
IMX_DEFAULT_BSP ?= "nxp"
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa9.inc
include conf/machine/include/arm/armv7a/tune-cortexa9.inc
SOC_FAMILY = "mx6:mx6dl:mx6q"
KERNEL_DEVICETREE = "imx6q-sabrelite.dtb \
imx6q-nitrogen6_max.dtb imx6qp-nitrogen6_max.dtb \
imx6q-nitrogen6x.dtb imx6dl-nitrogen6x.dtb \
imx6q-nitrogen6_som2.dtb imx6qp-nitrogen6_som2.dtb \
imx6dl-nitrogen6_vm.dtb imx6dl-nitrogen6_vm-magstripe.dtb \
"
KERNEL_DEVICETREE = "imx6q-sabrelite.dtb imx6q-nitrogen6x.dtb imx6dl-nitrogen6x.dtb"
# Not yet supported by Linux mainline
KERNEL_DEVICETREE:remove:use-mainline-bsp = "imx6dl-nitrogen6_vm.dtb imx6dl-nitrogen6_vm-magstripe.dtb"
PREFERRED_PROVIDER_u-boot = "u-boot-boundary"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-boundary"
PREFERRED_VERSION_linux-boundary ?= "3.0.35"
KERNEL_IMAGETYPE = "zImage"
# Use SPI NOR U-Boot by default
IMAGE_BOOTLOADER ?= ""
IMX_DEFAULT_BOOTLOADER = "u-boot-boundary"
UBOOT_SUFFIX = "imx"
UBOOT_BINARY = "u-boot-dtb.${UBOOT_SUFFIX}"
PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
PREFERRED_PROVIDER_virtual/kernel:use-mainline-bsp ??= "linux-fslc"
# Ensure boot scripts will be available at rootfs time
do_rootfs[depends] += "u-boot-script-boundary:do_deploy"
# wic support
WKS_FILE = "sdimage-bootpart.wks"
IMAGE_BOOT_FILES:append = " \
boot.scr-${MACHINE};boot.scr \
"
WKS_FILE_DEPENDS += "u-boot-script-boundary"
# Boot scripts to install
BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
UBOOT_MACHINE ?= "nitrogen6q_defconfig"
UBOOT_MACHINE ?= "nitrogen6q_config"
SERIAL_CONSOLE = "115200 ttymxc1"
SERIAL_CONSOLES = "115200;ttymxc1"
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
kernel-image \
kernel-devicetree \
"
MACHINE_FEATURES += " pci wifi bluetooth"

View File

@ -0,0 +1,34 @@
#@TYPE: Machine
#@NAME: Boundary Devices Nitrogen7
#@SOC: i.MX7D
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen7
#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
MACHINEOVERRIDES =. "mx7:mx7d:"
IMX_DEFAULT_BSP ?= "nxp"
require conf/machine/include/imx-base.inc
require conf/machine/include/arm/armv7a/tune-cortexa7.inc
KERNEL_DEVICETREE = "imx7d-nitrogen7.dtb"
KERNEL_IMAGETYPE = "zImage"
PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary"
PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary"
PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
PREFERRED_PROVIDER_virtual/kernel:use-mainline-bsp ??= "linux-fslc"
# wic support
WKS_FILE = "sdimage-bootpart.wks"
IMAGE_BOOT_FILES:append = " \
boot.scr-${MACHINE};boot.scr \
"
WKS_FILE_DEPENDS += "u-boot-script-boundary"
UBOOT_MACHINE ?= "nitrogen7_defconfig"
SERIAL_CONSOLES = "115200;ttymxc0"
MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-wl12xx"
MACHINE_FEATURES += " pci wifi bluetooth"

View File

@ -0,0 +1,72 @@
#@TYPE: Machine
#@NAME: Boundary Devices Nitrogen8M
#@SOC: i.MX8 MQ
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen8M
#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
MACHINEOVERRIDES =. "mx8mq:"
IMX_DEFAULT_BSP ?= "nxp"
require conf/machine/include/imx-base.inc
require conf/machine/include/arm/armv8a/tune-cortexa53.inc
# Kernel configuration
PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
KERNEL_DEVICETREE = "freescale/imx8mq-nitrogen8m.dtb \
freescale/imx8mq-nitrogen8m-m4.dtb \
freescale/imx8mq-nitrogen8m_som.dtb \
freescale/imx8mq-nitrogen8m_som-m4.dtb \
freescale/imx8mq-nitrogen8m-tc358743.dtb \
freescale/imx8mq-nitrogen8m-edp.dtb \
"
KERNEL_IMAGETYPE = "Image"
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
# U-Boot configuration
IMX_DEFAULT_BOOTLOADER:imx-nxp-bsp = "u-boot-boundary"
PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary"
PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary"
PREFERRED_PROVIDER_imx-atf ??= "imx-atf-boundary"
SPL_BINARY = "spl/u-boot-spl.bin"
UBOOT_SUFFIX = "bin"
UBOOT_CONFIG ??= "2g 2gr0 4g som_2g som_2gr0 som_4g som_sd_2g som_sd_4g"
UBOOT_CONFIG[2g] = "${MACHINE}_2g_defconfig,sdcard"
UBOOT_CONFIG[2gr0] = "${MACHINE}_2gr0_defconfig,sdcard"
UBOOT_CONFIG[4g] = "${MACHINE}_4g_defconfig,sdcard"
UBOOT_CONFIG[som_2g] = "${MACHINE}_som_2g_defconfig,sdcard"
UBOOT_CONFIG[som_2gr0] = "${MACHINE}_som_2gr0_defconfig,sdcard"
UBOOT_CONFIG[som_4g] = "${MACHINE}_som_4g_defconfig,sdcard"
UBOOT_CONFIG[som_sd_2g] = "${MACHINE}_som_sd_2g_defconfig,sdcard"
UBOOT_CONFIG[som_sd_4g] = "${MACHINE}_som_sd_4g_defconfig,sdcard"
ATF_PLATFORM = "imx8mq"
DDR_FIRMWARE_NAME = "\
lpddr4_pmu_train_1d_imem.bin \
lpddr4_pmu_train_1d_dmem.bin \
lpddr4_pmu_train_2d_imem.bin \
lpddr4_pmu_train_2d_dmem.bin \
"
IMAGE_BOOT_FILES:append = " \
boot.scr-${MACHINE};boot.scr \
upgrade.scr-${MACHINE};upgrade.scr \
flash.bin-${MACHINE}-2g;u-boot.${MACHINE}_2g \
flash.bin-${MACHINE}-2gr0;u-boot.${MACHINE}_2gr0 \
flash.bin-${MACHINE}-4g;u-boot.${MACHINE}_4g \
flash.bin-${MACHINE}-som_2g;u-boot.${MACHINE}_som_2g \
flash.bin-${MACHINE}-som_2gr0;u-boot.${MACHINE}_som_2gr0 \
flash.bin-${MACHINE}-som_4g;u-boot.${MACHINE}_som_4g \
flash.bin-${MACHINE}-som_sd_2g;u-boot.${MACHINE}_som_sd_2g \
flash.bin-${MACHINE}-som_sd_4g;u-boot.${MACHINE}_som_sd_4g \
"
# wic support
WKS_FILE = "sdimage-bootpart.wks"
WKS_FILE_DEPENDS += "u-boot-script-boundary"
SERIAL_CONSOLES ?= "115200;ttymxc0"
MACHINE_FEATURES += " pci wifi bluetooth"

View File

@ -0,0 +1,89 @@
#@TYPE: Machine
#@NAME: Boundary Devices Nitrogen8MM
#@SOC: i.MX8MM
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen8MM
#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
MACHINEOVERRIDES =. "mx8mm:"
IMX_DEFAULT_BSP ?= "nxp"
require conf/machine/include/imx-base.inc
require conf/machine/include/arm/armv8a/tune-cortexa53.inc
# Kernel configuration
PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
KERNEL_DEVICETREE = "\
freescale/imx8mm-nitrogen8mm.dtb \
freescale/imx8mm-nitrogen8mm-m4.dtb \
freescale/imx8mm-nitrogen8mm-tc358743.dtb \
freescale/imx8mm-nitrogen8mm_rev2.dtb \
freescale/imx8mm-nitrogen8mm_rev2-m4.dtb \
freescale/imx8mm-nitrogen8mm_rev2-tc358743.dtb \
freescale/imx8mm-nitrogen8mm_som.dtb \
freescale/imx8mm-nitrogen8mm_som-m4.dtb \
freescale/imx8mm-nitrogen8mm_som-mcp2518fd.dtb \
freescale/imx8mm-nitrogen8mm_som-mcp25625.dtb \
freescale/imx8mm-nitrogen8mm_som-tc358743.dtb \
freescale/imx8mm-nitrogen8mm_tab.dtb \
freescale/imx8mm-nitrogen_smarc.dtb \
"
KERNEL_IMAGETYPE = "Image"
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
# U-Boot configuration
IMX_DEFAULT_BOOTLOADER:imx-nxp-bsp = "u-boot-boundary"
PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary"
PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary"
PREFERRED_PROVIDER_imx-atf ??= "imx-atf-boundary"
SPL_BINARY = "spl/u-boot-spl.bin"
UBOOT_SUFFIX = "bin"
UBOOT_CONFIG ??= "2g 2gr0 4g rev2_2g rev2_2gr0 rev2_4g som_1gr0 som_2g som_2gr0 som_4g smarc_2gr0 smarc_1gch1r0"
UBOOT_CONFIG[2g] = "${MACHINE}_2g_defconfig,sdcard"
UBOOT_CONFIG[2gr0] = "${MACHINE}_2gr0_defconfig,sdcard"
UBOOT_CONFIG[4g] = "${MACHINE}_4g_defconfig,sdcard"
UBOOT_CONFIG[rev2_2g] = "${MACHINE}_rev2_2g_defconfig,sdcard"
UBOOT_CONFIG[rev2_2gr0] = "${MACHINE}_rev2_4g_defconfig,sdcard"
UBOOT_CONFIG[rev2_4g] = "${MACHINE}_2gr0_defconfig,sdcard"
UBOOT_CONFIG[som_1gr0] = "${MACHINE}_som_1gr0_defconfig,sdcard"
UBOOT_CONFIG[som_2g] = "${MACHINE}_som_2g_defconfig,sdcard"
UBOOT_CONFIG[som_2gr0] = "${MACHINE}_som_2g_defconfig,sdcard"
UBOOT_CONFIG[som_4g] = "${MACHINE}_som_4g_defconfig,sdcard"
UBOOT_CONFIG[smarc_2gr0] = "imx8mm_nitrogen_smarc_2gr0_defconfig,sdcard"
UBOOT_CONFIG[smarc_1gch1r0] = "imx8mm_nitrogen_smarc_1gch1r0_defconfig,sdcard"
ATF_PLATFORM = "imx8mm"
# Set DDR FIRMWARE
DDR_FIRMWARE_NAME = "\
lpddr4_pmu_train_1d_imem.bin \
lpddr4_pmu_train_1d_dmem.bin \
lpddr4_pmu_train_2d_imem.bin \
lpddr4_pmu_train_2d_dmem.bin \
"
IMAGE_BOOT_FILES:append = " \
boot.scr-${MACHINE};boot.scr \
upgrade.scr-${MACHINE};upgrade.scr \
flash.bin-${MACHINE}-2g;u-boot.${MACHINE}_2g \
flash.bin-${MACHINE}-2gr0;u-boot.${MACHINE}_2gr0 \
flash.bin-${MACHINE}-4g;u-boot.${MACHINE}_4g \
flash.bin-${MACHINE}-rev2_2g;u-boot.${MACHINE}_rev2_2g \
flash.bin-${MACHINE}-rev2_2gr0;u-boot.${MACHINE}_rev2_2gr0 \
flash.bin-${MACHINE}-rev2_4g;u-boot.${MACHINE}_rev2_4g \
flash.bin-${MACHINE}-som_1gr0;u-boot.${MACHINE}_som_1gr0 \
flash.bin-${MACHINE}-som_2g;u-boot.${MACHINE}_som_2g \
flash.bin-${MACHINE}-som_2gr0;u-boot.${MACHINE}_som_2gr0 \
flash.bin-${MACHINE}-som_4g;u-boot.${MACHINE}_som_4g \
flash.bin-${MACHINE}-smarc_2gr0;u-boot.imx8mm_nitrogen_smarc_2gr0 \
flash.bin-${MACHINE}-smarc_1gch1r0;u-boot.imx8mm_nitrogen_smarc_1gch1r0 \
"
# wic support
WKS_FILE = "sdimage-bootpart.wks"
WKS_FILE_DEPENDS += "u-boot-script-boundary"
SERIAL_CONSOLES = "115200;ttymxc1"
MACHINE_FEATURES += " pci wifi bluetooth"

View File

@ -0,0 +1,61 @@
#@TYPE: Machine
#@NAME: Boundary Devices Nitrogen8M Nano
#@SOC: i.MX8 Nano
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen8M Nano
#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
MACHINEOVERRIDES =. "mx8mn:"
IMX_DEFAULT_BSP ?= "nxp"
require conf/machine/include/imx-base.inc
require conf/machine/include/arm/armv8a/tune-cortexa53.inc
# Kernel configuration
PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
KERNEL_DEVICETREE = "freescale/imx8mn-nitrogen8mn.dtb \
freescale/imx8mn-nitrogen8mn_som.dtb \
freescale/imx8mn-nitrogen8mn_som-m4.dtb \
freescale/imx8mn-nitrogen8_nano.dtb \
freescale/imx8mn-nitrogen8_nano-m4.dtb \
"
KERNEL_IMAGETYPE = "Image"
KERNEL_DEFCONFIG = "boundary_defconfig"
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
# U-Boot configuration
IMX_DEFAULT_BOOTLOADER:imx-nxp-bsp = "u-boot-boundary"
PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary"
PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary"
PREFERRED_PROVIDER_imx-atf ??= "imx-atf-boundary"
SPL_BINARY = "spl/u-boot-spl.bin"
UBOOT_SUFFIX = "bin"
UBOOT_CONFIG ??= "1g som_1g"
UBOOT_CONFIG[1g] = "${MACHINE}_1g_defconfig,sdcard"
UBOOT_CONFIG[som_1g] = "${MACHINE}_som_1g_defconfig,sdcard"
ATF_PLATFORM = "imx8mn"
DDR_FIRMWARE_NAME = "\
lpddr4_pmu_train_1d_imem.bin \
lpddr4_pmu_train_1d_dmem.bin \
lpddr4_pmu_train_2d_imem.bin \
lpddr4_pmu_train_2d_dmem.bin \
"
IMAGE_BOOT_FILES:append = " \
boot.scr-${MACHINE};boot.scr \
upgrade.scr-${MACHINE};upgrade.scr \
flash.bin-${MACHINE}-1g;u-boot.${MACHINE}_1g \
flash.bin-${MACHINE}-som_1g;u-boot.${MACHINE}_som_1g \
"
# wic support
WKS_FILE = "sdimage-bootpart.wks"
WKS_FILE_DEPENDS += "u-boot-script-boundary"
SERIAL_CONSOLES = "115200;ttymxc1"
MACHINE_FEATURES += " pci wifi bluetooth"

View File

@ -0,0 +1,86 @@
#@TYPE: Machine
#@NAME: Boundary Devices Nitrogen8MP
#@SOC: i.MX8 MP
#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen8MP
#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
MACHINEOVERRIDES =. "mx8mp:"
IMX_DEFAULT_BSP ?= "nxp"
require conf/machine/include/imx-base.inc
require conf/machine/include/arm/armv8a/tune-cortexa53.inc
# Kernel configuration
PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
KERNEL_DEVICETREE = "freescale/imx8mp-nitrogen8mp.dtb \
freescale/imx8mp-nitrogen_smarc.dtb \
freescale/imx8mp-nitrogen8mp-m4.dtb \
freescale/imx8mp-nitrogen_smarc-rpmsg.dtb \
freescale/imx8mp-nitrogen8mp-basler3840-4200.dtb \
freescale/imx8mp-nitrogen8mp-enc.dtb \
freescale/imx8mp-nitrogen8mp-enc-m4.dtb \
freescale/imx8mp-nitrogen8mp-enc-ar.dtb \
freescale/imx8mp-nitrogen8mp-enc-basler4200-ov5640.dtb \
freescale/imx8mp-nitrogen8mp-enc-tc358743.dtb \
freescale/imx8mp-nitrogen8mp_r20.dtb \
freescale/imx8mp-nitrogen8mp_r20-m4.dtb \
freescale/imx8mp-nitrogen8mp_r20-basler3840-4200.dtb \
freescale/imx8mp-nitrogen8mp_r20-enc.dtb \
freescale/imx8mp-nitrogen8mp_r20-enc-m4.dtb \
freescale/imx8mp-nitrogen8mp_r20-enc-ar.dtb \
freescale/imx8mp-nitrogen8mp_r20-enc-basler4200-ov5640.dtb \
freescale/imx8mp-nitrogen8mp_r20-enc-tc358743.dtb \
freescale/imx8mp-nitrogen8mp_vm.dtb \
"
KERNEL_IMAGETYPE = "Image"
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
# U-Boot configuration
IMX_DEFAULT_BOOTLOADER:imx-nxp-bsp = "u-boot-boundary"
PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary"
PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary"
PREFERRED_PROVIDER_imx-atf ??= "imx-atf-boundary"
SPL_BINARY = "spl/u-boot-spl.bin"
UBOOT_SUFFIX = "bin"
UBOOT_CONFIG ??= "2g 2gr0 4g 8g smarc_2gr0 smarc_4g smarc_8g"
UBOOT_CONFIG[2g] = "${MACHINE}_2g_defconfig,sdcard"
UBOOT_CONFIG[2gr0] = "${MACHINE}_2gr0_defconfig,sdcard"
UBOOT_CONFIG[4g] = "${MACHINE}_4g_defconfig,sdcard"
UBOOT_CONFIG[8g] = "${MACHINE}_8g_defconfig,sdcard"
UBOOT_CONFIG[smarc_2gr0] = "imx8mp_nitrogen_smarc_2gr0_defconfig,sdcard"
UBOOT_CONFIG[smarc_4g] = "imx8mp_nitrogen_smarc_4g_defconfig,sdcard"
UBOOT_CONFIG[smarc_8g] = "imx8mp_nitrogen_smarc_8g_defconfig,sdcard"
ATF_PLATFORM = "imx8mp"
DDR_FIRMWARE_NAME = "\
lpddr4_pmu_train_1d_imem_202006.bin \
lpddr4_pmu_train_1d_dmem_202006.bin \
lpddr4_pmu_train_2d_imem_202006.bin \
lpddr4_pmu_train_2d_dmem_202006.bin \
"
IMAGE_BOOT_FILES:append = " \
boot.scr-${MACHINE};boot.scr \
upgrade.scr-${MACHINE};upgrade.scr \
flash.bin-${MACHINE}-2g;u-boot.${MACHINE}_2g \
flash.bin-${MACHINE}-2gr0;u-boot.${MACHINE}_2gr0 \
flash.bin-${MACHINE}-4g;u-boot.${MACHINE}_4g \
flash.bin-${MACHINE}-8g;u-boot.${MACHINE}_8g \
flash.bin-${MACHINE}-smarc_2gr0;u-boot.imx8mp_nitrogen_smarc_2gr0 \
flash.bin-${MACHINE}-smarc_4g;u-boot.imx8mp_nitrogen_smarc_4g \
flash.bin-${MACHINE}-smarc_8g;u-boot.imx8mp_nitrogen_smarc_8g \
"
# wic support
WKS_FILE = "sdimage-bootpart.wks"
WKS_FILE_DEPENDS += "u-boot-script-boundary"
OPTEE_BIN_EXT = "8mp"
SERIAL_CONSOLES = "115200;ttymxc1"
MACHINE_FEATURES += " pci wifi bluetooth"

View File

@ -0,0 +1,72 @@
#@TYPE: Machine
#@NAME: Olimex iMX8MP-SOM evaluation board
#@SOC: i.MX8MP
#@DESCRIPTION: Machine configuration for Olimex iMX8MP-SOM evaluation board with LPDDR4
#@MAINTAINER: Leon Anavi <leon.anavi@konsulko.com>
require conf/machine/include/imx8mp-evk.inc
KERNEL_DEVICETREE_BASENAME = "imx8mp-olimex"
# NXP kernel has additional DTB files for various board configuration and
# derivates. Include them here for NXP BSP only
KERNEL_DEVICETREE:append:use-nxp-bsp = " \
freescale/imx8mp-ab2.dtb \
freescale/imx8mp-evk-basler.dtb \
freescale/imx8mp-evk-basler-ov2775.dtb \
freescale/imx8mp-evk-basler-ov5640.dtb \
freescale/imx8mp-evk-dpdk.dtb \
freescale/imx8mp-evk-dsp.dtb \
freescale/imx8mp-evk-dual-basler.dtb \
freescale/imx8mp-evk-dual-os08a20.dtb \
freescale/imx8mp-evk-dual-ov2775.dtb \
freescale/imx8mp-evk-ecspi-slave.dtb \
freescale/imx8mp-evk-flexcan2.dtb \
freescale/imx8mp-evk-hifiberry-dacplus.dtb \
freescale/imx8mp-evk-inmate.dtb \
freescale/imx8mp-evk-iqaudio-dacplus.dtb \
freescale/imx8mp-evk-iqaudio-dacpro.dtb \
freescale/imx8mp-evk-it6263-lvds-dual-channel.dtb \
freescale/imx8mp-evk-jdi-wuxga-lvds-panel.dtb \
freescale/imx8mp-evk-ndm.dtb \
freescale/imx8mp-evk-os08a20.dtb \
freescale/imx8mp-evk-os08a20-ov5640.dtb \
freescale/imx8mp-evk-ov2775.dtb \
freescale/imx8mp-evk-ov2775-ov5640.dtb \
freescale/imx8mp-evk-pcie-ep.dtb \
freescale/imx8mp-evk-revA3-8mic-revE.dtb \
freescale/imx8mp-evk-rm67191.dtb \
freescale/imx8mp-evk-rm67199.dtb \
freescale/imx8mp-evk-root.dtb \
freescale/imx8mp-evk-rpmsg.dtb \
freescale/imx8mp-evk-rpmsg-lpv.dtb \
freescale/imx8mp-evk-sof-wm8960.dtb \
freescale/imx8mp-evk-spdif-lb.dtb \
freescale/imx8mp-evk-usdhc1-m2.dtb \
freescale/imx8mp-evk-8mic-swpdm.dtb \
freescale/imx8mp-olimex.dtb \
"
IMX_DEFAULT_BOOTLOADER:use-nxp-bsp = "u-boot-imx"
IMX_DEFAULT_KERNEL:use-nxp-bsp = "linux-fslc"
UBOOT_CONFIG_BASENAME = "imx8mp_olimex"
UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig"
UBOOT_CONFIG[ndm] = "${UBOOT_CONFIG_BASENAME}_ndm_defconfig"
UBOOT_DTB_NAME = "imx8mp-evk.dtb"
# Set DDR FIRMWARE
DDR_FIRMWARE_VERSION = "202006"
DDR_FIRMWARE_NAME = " \
lpddr4_pmu_train_1d_dmem_${DDR_FIRMWARE_VERSION}.bin \
lpddr4_pmu_train_1d_imem_${DDR_FIRMWARE_VERSION}.bin \
lpddr4_pmu_train_2d_dmem_${DDR_FIRMWARE_VERSION}.bin \
lpddr4_pmu_train_2d_imem_${DDR_FIRMWARE_VERSION}.bin \
"
IMXBOOT_TARGETS_BASENAME = "flash_evk"
# Mainline BSP doesn't support LPDDR4 so it must be set to nxp.
# Also this machine isn't supported by u-boot-fslc but imx8mn-evk.inc already
# set the bootloader to u-boot-imx instead when NXP BSP is used.
IMX_DEFAULT_BSP = "nxp"

View File

@ -1,22 +0,0 @@
#@TYPE: Machine
#@NAME: Phytec Cosmic Vybrid Development Kit
#@SOC: vf60
#@DESCRIPTION: Machine configuration for Phytec Cosmic Vybrid Development Kit
#@MAINTAINER: Anthony Felice <tony.felice@timesys.com>
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa5.inc
SOC_FAMILY = "vf60"
PREFERRED_PROVIDER_virtual/kernel = "linux-timesys"
PREFERRED_PROVIDER_u-boot = "u-boot-timesys"
UBOOT_MACHINE = "pcl052_config"
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard"
SERIAL_CONSOLE = "115200 ttymxc1"
MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa"

View File

@ -1,22 +0,0 @@
#@TYPE: Machine
#@NAME: Phytec phyCORE Vybrid Development Kit
#@SOC: vf60
#@DESCRIPTION: Machine configuration for Phytec phyCORE Vybrid Development Kit
#@MAINTAINER: Anthony Felice <tony.felice@timesys.com>
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa5.inc
SOC_FAMILY = "vf60"
PREFERRED_PROVIDER_virtual/kernel = "linux-timesys"
PREFERRED_PROVIDER_u-boot = "u-boot-timesys"
UBOOT_MACHINE = "pcm052_config"
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard"
SERIAL_CONSOLE = "115200 ttymxc1"
MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"

View File

@ -1,23 +0,0 @@
#@TYPE: Machine
#@NAME: Device Solutions Quartz Vybrid Development Kit
#@SOC: vf60
#@DESCRIPTION: Machine configuration for Device Solutions Quartz Vybrid Development Kit
#@MAINTAINER: Anthony Felice <tony.felice@timesys.com>
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa5.inc
SOC_FAMILY = "vf60"
PREFERRED_PROVIDER_virtual/kernel = "linux-timesys"
PREFERRED_PROVIDER_u-boot = "u-boot-timesys"
# The quartz_nand_config target supports both SD and NAND boot.
UBOOT_MACHINE = "quartz_nand_config"
SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard"
SERIAL_CONSOLE = "115200 ttymxc0"
MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"

View File

@ -1,17 +0,0 @@
#@TYPE: Machine
#@NAME: Wandboard i.MX6 Wandboard Duallite
#@SOC: i.MX6DL
#@DESCRIPTION: Machine configuration for i.MX6 Wandboard Duallite
#@MAINTAINER: John Weber <rjohnweber@gmail.com>
include include/wandboard.inc
SOC_FAMILY = "mx6:mx6dl:wandboard"
UBOOT_MACHINE = "wandboard_dl_config"
KERNEL_DEVICETREE = "imx6dl-wandboard.dtb"
MACHINE_FEATURES += "bluetooth wifi"
MACHINE_EXTRA_RRECOMMENDS += " broadcom-nvram-config"

View File

@ -1,17 +0,0 @@
#@TYPE: Machine
#@NAME: Wandboard i.MX6 Wandboard Quad
#@SOC: i.MX6Q
#@DESCRIPTION: Machine configuration for i.MX6 Wandboard Quad
#@MAINTAINER: John Weber <rjohnweber@gmail.com>
include include/wandboard.inc
SOC_FAMILY = "mx6:mx6q:wandboard"
UBOOT_MACHINE = "wandboard_quad_config"
KERNEL_DEVICETREE = "imx6q-wandboard.dtb"
MACHINE_FEATURES += "bluetooth wifi"
MACHINE_EXTRA_RRECOMMENDS += " broadcom-nvram-config"

View File

@ -1,13 +0,0 @@
#@TYPE: Machine
#@NAME: Wandboard i.MX6 Wandboard Solo
#@SOC: i.MX6S
#@DESCRIPTION: Machine configuration for i.MX6 Wandboard Solo
#@MAINTAINER: John Weber <rjohnweber@gmail.com>
include include/wandboard.inc
SOC_FAMILY = "mx6:mx6dl:wandboard"
UBOOT_MACHINE = "wandboard_solo_config"
KERNEL_DEVICETREE = "imx6dl-wandboard.dtb"

View File

@ -0,0 +1,53 @@
#@TYPE: Machine
#@NAME: Wandboard i.MX6 Wandboard QuadPlus/Quad/Dual/Solo
#@SOC: i.MX6QP/Q/DL
#@DESCRIPTION: Machine configuration for i.MX6 Wandboard QuadPlus/Quad/Dual/Solo
#@MAINTAINER: Alfonso Tames <alfonso@tames.com>
MACHINEOVERRIDES =. "mx6q:mx6dl:"
include conf/machine/include/imx-base.inc
include conf/machine/include/arm/armv7a/tune-cortexa9.inc
IMX_DEFAULT_BSP = "mainline"
UBOOT_MAKE_TARGET = ""
UBOOT_SUFFIX = "img"
SPL_BINARY = "SPL"
UBOOT_MACHINE = "wandboard_config"
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
UBOOT_EXTLINUX_CONSOLE = "console=${console},${baudrate}"
WANDBOARD_DEFAULT_KERNEL = "linux-wandboard"
WANDBOARD_DEFAULT_KERNEL:use-mainline-bsp = "linux-fslc"
PREFERRED_PROVIDER_virtual/kernel ?= "${WANDBOARD_DEFAULT_KERNEL}"
KERNEL_DEVICETREE = " \
nxp/imx/imx6dl-wandboard.dtb \
nxp/imx/imx6dl-wandboard-revb1.dtb \
nxp/imx/imx6dl-wandboard-revd1.dtb \
nxp/imx/imx6q-wandboard.dtb \
nxp/imx/imx6q-wandboard-revb1.dtb \
nxp/imx/imx6q-wandboard-revd1.dtb \
nxp/imx/imx6qp-wandboard-revd1.dtb \
"
KERNEL_IMAGETYPE = "zImage"
MACHINE_FEATURES += "bluetooth pci wifi touchscreen"
MACHINE_EXTRA_RRECOMMENDS += " \
bcm4329-nvram-config \
bcm4330-nvram-config \
"
SERIAL_CONSOLES = "115200;ttymxc0"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
kernel-image \
kernel-devicetree \
u-boot-fslc \
"
WKS_FILES = "imx-uboot-spl.wks.in"

View File

@ -0,0 +1 @@
FILESEXTRAPATHS:prepend:cubox-i := "${THISDIR}/files:"

View File

@ -0,0 +1,459 @@
defaults.pcm.rate_converter "linear"
pcm.dmix_48000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 48000
}
}
pcm.dmix_44100{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 44100
}
}
pcm.dmix_32000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 32000
}
}
pcm.dmix_24000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 24000
}
}
pcm.dmix_22050{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 22050
}
}
pcm.dmix_16000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 16000
}
}
pcm.dmix_12000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 12000
}
}
pcm.dmix_11025{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 11025
}
}
pcm.dmix_8000{
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 8000
}
}
pcm.!dsnoop_48000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 48000
}
}
pcm.!dsnoop_44100{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 44100
}
}
pcm.!dsnoop_32000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 32000
}
}
pcm.!dsnoop_24000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 24000
}
}
pcm.!dsnoop_22050{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 22050
}
}
pcm.!dsnoop_16000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 16000
}
}
pcm.!dsnoop_12000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 12000
}
}
pcm.!dsnoop_11025{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 11025
}
}
pcm.!dsnoop_8000{
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave{
pcm "hw:2,0"
period_time 40000
format S16_LE
rate 8000
}
}
pcm.asymed{
type asym
playback.pcm "dmix_44100"
capture.pcm "dsnoop_44100"
}
pcm.dsp0{
type plug
slave.pcm "asymed"
}
pcm.!default{
type plug
route_policy "average"
slave.pcm "asymed"
}
ctl.!default{
type hw
card 2
}
ctl.mixer0{
type hw
card 2
}
pcm_slave.esai{
pcm "hw:2,0"
channels 8
rate 48000
period_time 40000
}
pcm.esaich1to6{
type dshare
ipc_key 5778293
slave esai
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
bindings.4 2
bindings.5 6
}
pcm.esaich78{
type dshare
ipc_key 5778293
slave esai
bindings.0 3
bindings.1 7
}
pcm_slave.sai5 {
pcm "hw:5,0"
channels 8
}
pcm.sai5_ch1to8 {
type dsnoop
ipc_key 5185558
slave sai5
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
bindings.4 2
bindings.5 6
bindings.6 3
bindings.7 7
}
pcm.sai5_ch1to6 {
type dsnoop
ipc_key 5165558
slave sai5
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
bindings.4 2
bindings.5 6
}
pcm.sai5_ch1to4 {
type dsnoop
ipc_key 5145558
slave sai5
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
}
pcm_slave.sai1{
pcm "hw:4,0"
channels 16
}
pcm.sai1to16{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
bindings.8 4
bindings.9 12
bindings.10 5
bindings.11 13
bindings.12 6
bindings.13 14
bindings.14 7
bindings.15 15
}
pcm.sai1to14{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
bindings.8 4
bindings.9 12
bindings.10 5
bindings.11 13
bindings.12 6
bindings.13 14
}
pcm.sai1to12{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
bindings.8 4
bindings.9 12
bindings.10 5
bindings.11 13
}
pcm.sai1to10{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
bindings.8 4
bindings.9 12
}
pcm.sai1to8{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
bindings.6 3
bindings.7 11
}
pcm.sai1to6{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
bindings.4 2
bindings.5 10
}
pcm.sai1to4{
type dshare
slave sai1
ipc_key 5144458
bindings.0 0
bindings.1 8
bindings.2 1
bindings.3 9
}
pcm.cdnhdmi4ch {
type dshare
slave {
pcm "hw:3,0"
channels 4
}
ipc_key 5144458
bindings.0 0
bindings.1 2
bindings.2 1
bindings.3 3
}
pcm.cdnhdmi8ch {
type dshare
slave {
pcm "hw:3,0"
channels 8
}
ipc_key 5144458
bindings.0 0
bindings.1 4
bindings.2 1
bindings.3 5
bindings.4 2
bindings.5 6
bindings.6 3
bindings.7 7
}

View File

@ -0,0 +1,709 @@
From 9f85f9e3796f1c351bbc4c8436dc66d83c140b71 Mon Sep 17 00:00:00 2001
From: Joel Hutton <Joel.Hutton@Arm.com>
Date: Wed, 21 Mar 2018 11:40:57 +0000
Subject: [PATCH] Clean usage of void pointers to access symbols
Void pointers have been used to access linker symbols, by declaring an
extern pointer, then taking the address of it. This limits symbols
values to aligned pointer values. To remove this restriction an
IMPORT_SYM macro has been introduced, which declares it as a char
pointer and casts it to the required type.
Upstream-Status: Backport
Change-Id: I89877fc3b13ed311817bb8ba79d4872b89bfd3b0
Signed-off-by: Joel Hutton <Joel.Hutton@Arm.com>
---
bl1/bl1_private.h | 12 +++----
common/runtime_svc.c | 4 +--
drivers/auth/img_parser_mod.c | 9 +++---
include/common/bl_common.h | 32 ++++++++++++-------
include/common/runtime_svc.h | 4 +--
include/lib/utils_def.h | 19 ++++++++++-
include/plat/common/common_def.h | 24 ++------------
include/services/secure_partition.h | 12 +++----
lib/locks/bakery/bakery_lock_normal.c | 6 ++--
lib/pmf/pmf_main.c | 19 +++++------
plat/hisilicon/hikey/hikey_bl1_setup.c | 21 ++-----------
plat/hisilicon/hikey960/hikey960_bl1_setup.c | 16 ++--------
plat/hisilicon/poplar/bl1_plat_setup.c | 13 ++------
plat/mediatek/mt6795/bl31_plat_setup.c | 11 +++----
plat/mediatek/mt8173/bl31_plat_setup.c | 28 +++--------------
plat/nvidia/tegra/common/tegra_bl31_setup.c | 33 +++++++-------------
plat/rockchip/common/bl31_plat_setup.c | 13 ++------
services/std_svc/spm/spm_shim_private.h | 14 +++------
18 files changed, 103 insertions(+), 187 deletions(-)
diff --git a/bl1/bl1_private.h b/bl1/bl1_private.h
index 6ac3b8c67..42a74d22f 100644
--- a/bl1/bl1_private.h
+++ b/bl1/bl1_private.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -8,18 +8,16 @@
#define __BL1_PRIVATE_H__
#include <types.h>
+#include <utils_def.h>
/*******************************************************************************
* Declarations of linker defined symbols which will tell us where BL1 lives
* in Trusted ROM and RAM
******************************************************************************/
-extern uintptr_t __BL1_ROM_END__;
-#define BL1_ROM_END (uintptr_t)(&__BL1_ROM_END__)
+IMPORT_SYM(uintptr_t, __BL1_ROM_END__, BL1_ROM_END);
-extern uintptr_t __BL1_RAM_START__;
-extern uintptr_t __BL1_RAM_END__;
-#define BL1_RAM_BASE (uintptr_t)(&__BL1_RAM_START__)
-#define BL1_RAM_LIMIT (uintptr_t)(&__BL1_RAM_END__)
+IMPORT_SYM(uintptr_t, __BL1_RAM_START__, BL1_RAM_BASE);
+IMPORT_SYM(uintptr_t, __BL1_RAM_END__, BL1_RAM_LIMIT);
/******************************************
* Function prototypes
diff --git a/common/runtime_svc.c b/common/runtime_svc.c
index 0ea4cd093..de80f30c2 100644
--- a/common/runtime_svc.c
+++ b/common/runtime_svc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -19,8 +19,6 @@
* 'rt_svc_descs_indices' array. This gives the index of the descriptor in the
* 'rt_svc_descs' array which contains the SMC handler.
******************************************************************************/
-#define RT_SVC_DESCS_START ((uintptr_t) (&__RT_SVC_DESCS_START__))
-#define RT_SVC_DESCS_END ((uintptr_t) (&__RT_SVC_DESCS_END__))
uint8_t rt_svc_descs_indices[MAX_RT_SVCS];
static rt_svc_desc_t *rt_svc_descs;
diff --git a/drivers/auth/img_parser_mod.c b/drivers/auth/img_parser_mod.c
index 6a0107115..63160141d 100644
--- a/drivers/auth/img_parser_mod.c
+++ b/drivers/auth/img_parser_mod.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -12,11 +12,10 @@
#include <limits.h>
#include <stdint.h>
#include <string.h>
+#include <utils_def.h>
-extern uintptr_t __PARSER_LIB_DESCS_START__;
-extern uintptr_t __PARSER_LIB_DESCS_END__;
-#define PARSER_LIB_DESCS_START ((uintptr_t) (&__PARSER_LIB_DESCS_START__))
-#define PARSER_LIB_DESCS_END ((uintptr_t) (&__PARSER_LIB_DESCS_END__))
+IMPORT_SYM(uintptr_t, __PARSER_LIB_DESCS_START__, PARSER_LIB_DESCS_START);
+IMPORT_SYM(uintptr_t, __PARSER_LIB_DESCS_END__, PARSER_LIB_DESCS_END);
static unsigned int parser_lib_indices[IMG_MAX_TYPES];
static img_parser_lib_desc_t *parser_lib_descs;
diff --git a/include/common/bl_common.h b/include/common/bl_common.h
index 4ef916f53..09a394dd1 100644
--- a/include/common/bl_common.h
+++ b/include/common/bl_common.h
@@ -64,33 +64,41 @@
#include <types.h>
#include <utils_def.h> /* To retain compatibility */
+
/*
* Declarations of linker defined symbols to help determine memory layout of
* BL images
*/
#if SEPARATE_CODE_AND_RODATA
-extern uintptr_t __TEXT_START__;
-extern uintptr_t __TEXT_END__;
-extern uintptr_t __RODATA_START__;
-extern uintptr_t __RODATA_END__;
+IMPORT_SYM(unsigned long, __TEXT_START__, BL_CODE_BASE);
+IMPORT_SYM(unsigned long, __TEXT_END__, BL_CODE_END);
+IMPORT_SYM(unsigned long, __RODATA_START__, BL_RO_DATA_BASE);
+IMPORT_SYM(unsigned long, __RODATA_END__, BL_RO_DATA_END);
#else
-extern uintptr_t __RO_START__;
-extern uintptr_t __RO_END__;
+IMPORT_SYM(unsigned long, __RO_START__, BL_CODE_BASE);
+IMPORT_SYM(unsigned long, __RO_END__, BL_CODE_END);
#endif
#if defined(IMAGE_BL2)
-extern uintptr_t __BL2_END__;
+IMPORT_SYM(unsigned long, __BL2_END__, BL2_END);
#elif defined(IMAGE_BL2U)
-extern uintptr_t __BL2U_END__;
+IMPORT_SYM(unsigned long, __BL2U_END__, BL2U_END);
#elif defined(IMAGE_BL31)
-extern uintptr_t __BL31_END__;
+IMPORT_SYM(unsigned long, __BL31_END__, BL31_END);
#elif defined(IMAGE_BL32)
-extern uintptr_t __BL32_END__;
+IMPORT_SYM(unsigned long, __BL32_END__, BL32_END);
#endif /* IMAGE_BLX */
+/*
+ * The next 2 constants identify the extents of the coherent memory region.
+ * These addresses are used by the MMU setup code and therefore they must be
+ * page-aligned. It is the responsibility of the linker script to ensure that
+ * __COHERENT_RAM_START__ and __COHERENT_RAM_END__ linker symbols refer to
+ * page-aligned addresses.
+ */
#if USE_COHERENT_MEM
-extern uintptr_t __COHERENT_RAM_START__;
-extern uintptr_t __COHERENT_RAM_END__;
+IMPORT_SYM(unsigned long, __COHERENT_RAM_START__, BL_COHERENT_RAM_BASE);
+IMPORT_SYM(unsigned long, __COHERENT_RAM_END__, BL_COHERENT_RAM_END);
#endif
/*******************************************************************************
diff --git a/include/common/runtime_svc.h b/include/common/runtime_svc.h
index d12af227e..5d9fa3908 100644
--- a/include/common/runtime_svc.h
+++ b/include/common/runtime_svc.h
@@ -122,8 +122,8 @@ CASSERT(RT_SVC_DESC_HANDLE == __builtin_offsetof(rt_svc_desc_t, handle), \
void runtime_svc_init(void);
uintptr_t handle_runtime_svc(uint32_t smc_fid, void *cookie, void *handle,
unsigned int flags);
-extern uintptr_t __RT_SVC_DESCS_START__;
-extern uintptr_t __RT_SVC_DESCS_END__;
+IMPORT_SYM(uintptr_t, __RT_SVC_DESCS_START__, RT_SVC_DESCS_START);
+IMPORT_SYM(uintptr_t, __RT_SVC_DESCS_END__, RT_SVC_DESCS_END);
void init_crash_reporting(void);
extern uint8_t rt_svc_descs_indices[MAX_RT_SVCS];
diff --git a/include/lib/utils_def.h b/include/lib/utils_def.h
index 4a5c3e0bc..8abc73c09 100644
--- a/include/lib/utils_def.h
+++ b/include/lib/utils_def.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -99,4 +99,21 @@
((ARM_ARCH_MAJOR > _maj) || \
((ARM_ARCH_MAJOR == _maj) && (ARM_ARCH_MINOR >= _min)))
+/*
+ * Import an assembly or linker symbol as a C expression with the specified
+ * type
+ */
+#define IMPORT_SYM(type, sym, name) \
+ extern char sym[];\
+ static const __attribute__((unused)) type name = (type) sym;
+
+/*
+ * When the symbol is used to hold a pointer, its alignment can be asserted
+ * with this macro. For example, if there is a linker symbol that is going to
+ * be used as a 64-bit pointer, the value of the linker symbol must also be
+ * aligned to 64 bit. This macro makes sure this is the case.
+ */
+#define ASSERT_SYM_PTR_ALIGN(sym) assert(((size_t)(sym) % __alignof__(*(sym))) == 0)
+
+
#endif /* __UTILS_DEF_H__ */
diff --git a/include/plat/common/common_def.h b/include/plat/common/common_def.h
index a841c3dbf..84923b9a7 100644
--- a/include/plat/common/common_def.h
+++ b/include/plat/common/common_def.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -74,33 +74,13 @@
* page of it with the right memory attributes.
*/
#if SEPARATE_CODE_AND_RODATA
-#define BL_CODE_BASE (unsigned long)(&__TEXT_START__)
-#define BL_CODE_END (unsigned long)(&__TEXT_END__)
-#define BL_RO_DATA_BASE (unsigned long)(&__RODATA_START__)
-#define BL_RO_DATA_END (unsigned long)(&__RODATA_END__)
#define BL1_CODE_END BL_CODE_END
-#define BL1_RO_DATA_BASE (unsigned long)(&__RODATA_START__)
+#define BL1_RO_DATA_BASE BL_RO_DATA_BASE
#define BL1_RO_DATA_END round_up(BL1_ROM_END, PAGE_SIZE)
#else
-#define BL_CODE_BASE (unsigned long)(&__RO_START__)
-#define BL_CODE_END (unsigned long)(&__RO_END__)
#define BL_RO_DATA_BASE 0
#define BL_RO_DATA_END 0
-
#define BL1_CODE_END round_up(BL1_ROM_END, PAGE_SIZE)
-#define BL1_RO_DATA_BASE 0
-#define BL1_RO_DATA_END 0
#endif /* SEPARATE_CODE_AND_RODATA */
-
-/*
- * The next 2 constants identify the extents of the coherent memory region.
- * These addresses are used by the MMU setup code and therefore they must be
- * page-aligned. It is the responsibility of the linker script to ensure that
- * __COHERENT_RAM_START__ and __COHERENT_RAM_END__ linker symbols refer to
- * page-aligned addresses.
- */
-#define BL_COHERENT_RAM_BASE (unsigned long)(&__COHERENT_RAM_START__)
-#define BL_COHERENT_RAM_END (unsigned long)(&__COHERENT_RAM_END__)
-
#endif /* __COMMON_DEF_H__ */
diff --git a/include/services/secure_partition.h b/include/services/secure_partition.h
index 93df2a137..f68f711be 100644
--- a/include/services/secure_partition.h
+++ b/include/services/secure_partition.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -11,15 +11,11 @@
#include <types.h>
#include <utils_def.h>
-/* Linker symbols */
-extern uintptr_t __SP_IMAGE_XLAT_TABLES_START__;
-extern uintptr_t __SP_IMAGE_XLAT_TABLES_END__;
+/* Import linker symbols */
+IMPORT_SYM(uintptr_t, __SP_IMAGE_XLAT_TABLES_START__, SP_IMAGE_XLAT_TABLES_START);
+IMPORT_SYM(uintptr_t, __SP_IMAGE_XLAT_TABLES_END__, SP_IMAGE_XLAT_TABLES_END);
/* Definitions */
-#define SP_IMAGE_XLAT_TABLES_START \
- (uintptr_t)(&__SP_IMAGE_XLAT_TABLES_START__)
-#define SP_IMAGE_XLAT_TABLES_END \
- (uintptr_t)(&__SP_IMAGE_XLAT_TABLES_END__)
#define SP_IMAGE_XLAT_TABLES_SIZE \
(SP_IMAGE_XLAT_TABLES_END - SP_IMAGE_XLAT_TABLES_START)
diff --git a/lib/locks/bakery/bakery_lock_normal.c b/lib/locks/bakery/bakery_lock_normal.c
index 8f59215e3..37697f521 100644
--- a/lib/locks/bakery/bakery_lock_normal.c
+++ b/lib/locks/bakery/bakery_lock_normal.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -10,6 +10,7 @@
#include <cpu_data.h>
#include <platform.h>
#include <string.h>
+#include <utils_def.h>
/*
* Functions in this file implement Bakery Algorithm for mutual exclusion with the
@@ -49,8 +50,7 @@ CASSERT((PLAT_PERCPU_BAKERY_LOCK_SIZE & (CACHE_WRITEBACK_GRANULE - 1)) == 0, \
* Use the linker defined symbol which has evaluated the size reqiurement.
* This is not as efficient as using a platform defined constant
*/
-extern void *__PERCPU_BAKERY_LOCK_SIZE__;
-#define PERCPU_BAKERY_LOCK_SIZE ((uintptr_t)&__PERCPU_BAKERY_LOCK_SIZE__)
+IMPORT_SYM(uintptr_t, __PERCPU_BAKERY_LOCK_SIZE__, PERCPU_BAKERY_LOCK_SIZE);
#endif
#define get_bakery_info(cpu_ix, lock) \
diff --git a/lib/pmf/pmf_main.c b/lib/pmf/pmf_main.c
index 2cf260ec1..0208948fe 100644
--- a/lib/pmf/pmf_main.c
+++ b/lib/pmf/pmf_main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -11,6 +11,7 @@
#include <platform.h>
#include <pmf.h>
#include <string.h>
+#include <utils_def.h>
/*******************************************************************************
* The 'pmf_svc_descs' array holds the PMF service descriptors exported by
@@ -21,16 +22,12 @@
* index of the descriptor in the 'pmf_svc_descs' array which contains the
* service function pointers.
******************************************************************************/
-extern uintptr_t __PMF_SVC_DESCS_START__;
-extern uintptr_t __PMF_SVC_DESCS_END__;
-#define PMF_SVC_DESCS_START ((uintptr_t)(&__PMF_SVC_DESCS_START__))
-#define PMF_SVC_DESCS_END ((uintptr_t)(&__PMF_SVC_DESCS_END__))
-extern void *__PERCPU_TIMESTAMP_SIZE__;
-#define PMF_PERCPU_TIMESTAMP_SIZE ((uintptr_t)&__PERCPU_TIMESTAMP_SIZE__)
-extern uintptr_t __PMF_TIMESTAMP_START__;
-#define PMF_TIMESTAMP_ARRAY_START ((uintptr_t)&__PMF_TIMESTAMP_START__)
-extern uintptr_t __PMF_TIMESTAMP_END__;
-#define PMF_TIMESTAMP_ARRAY_END ((uintptr_t)&__PMF_TIMESTAMP_END__)
+
+IMPORT_SYM(uintptr_t, __PMF_SVC_DESCS_START__, PMF_SVC_DESCS_START);
+IMPORT_SYM(uintptr_t, __PMF_SVC_DESCS_END__, PMF_SVC_DESCS_END);
+IMPORT_SYM(uintptr_t, __PERCPU_TIMESTAMP_SIZE__, PMF_PERCPU_TIMESTAMP_SIZE);
+IMPORT_SYM(intptr_t, __PMF_TIMESTAMP_START__, PMF_TIMESTAMP_ARRAY_START);
+IMPORT_SYM(uintptr_t, __PMF_TIMESTAMP_END__, PMF_TIMESTAMP_ARRAY_END);
#define PMF_SVC_DESCS_MAX 10
diff --git a/plat/hisilicon/hikey/hikey_bl1_setup.c b/plat/hisilicon/hikey/hikey_bl1_setup.c
index 69b194a53..9ede1dbc7 100644
--- a/plat/hisilicon/hikey/hikey_bl1_setup.c
+++ b/plat/hisilicon/hikey/hikey_bl1_setup.c
@@ -23,23 +23,6 @@
#include "hikey_def.h"
#include "hikey_private.h"
-/*
- * Declarations of linker defined symbols which will help us find the layout
- * of trusted RAM
- */
-extern unsigned long __COHERENT_RAM_START__;
-extern unsigned long __COHERENT_RAM_END__;
-
-/*
- * The next 2 constants identify the extents of the coherent memory region.
- * These addresses are used by the MMU setup code and therefore they must be
- * page-aligned. It is the responsibility of the linker script to ensure that
- * __COHERENT_RAM_START__ and __COHERENT_RAM_END__ linker symbols refer to
- * page-aligned addresses.
- */
-#define BL1_COHERENT_RAM_BASE (unsigned long)(&__COHERENT_RAM_START__)
-#define BL1_COHERENT_RAM_LIMIT (unsigned long)(&__COHERENT_RAM_END__)
-
/* Data structure which holds the extents of the trusted RAM for BL1 */
static meminfo_t bl1_tzram_layout;
@@ -103,8 +86,8 @@ void bl1_plat_arch_setup(void)
bl1_tzram_layout.total_size,
BL1_RO_BASE,
BL1_RO_LIMIT,
- BL1_COHERENT_RAM_BASE,
- BL1_COHERENT_RAM_LIMIT);
+ BL_COHERENT_RAM_BASE,
+ BL_COHERENT_RAM_END);
}
/*
diff --git a/plat/hisilicon/hikey960/hikey960_bl1_setup.c b/plat/hisilicon/hikey960/hikey960_bl1_setup.c
index 9cadba0bb..6a07f0924 100644
--- a/plat/hisilicon/hikey960/hikey960_bl1_setup.c
+++ b/plat/hisilicon/hikey960/hikey960_bl1_setup.c
@@ -37,18 +37,6 @@ enum {
* Declarations of linker defined symbols which will help us find the layout
* of trusted RAM
*/
-extern unsigned long __COHERENT_RAM_START__;
-extern unsigned long __COHERENT_RAM_END__;
-
-/*
- * The next 2 constants identify the extents of the coherent memory region.
- * These addresses are used by the MMU setup code and therefore they must be
- * page-aligned. It is the responsibility of the linker script to ensure that
- * __COHERENT_RAM_START__ and __COHERENT_RAM_END__ linker symbols refer to
- * page-aligned addresses.
- */
-#define BL1_COHERENT_RAM_BASE (unsigned long)(&__COHERENT_RAM_START__)
-#define BL1_COHERENT_RAM_LIMIT (unsigned long)(&__COHERENT_RAM_END__)
/* Data structure which holds the extents of the trusted RAM for BL1 */
static meminfo_t bl1_tzram_layout;
@@ -131,8 +119,8 @@ void bl1_plat_arch_setup(void)
bl1_tzram_layout.total_size,
BL1_RO_BASE,
BL1_RO_LIMIT,
- BL1_COHERENT_RAM_BASE,
- BL1_COHERENT_RAM_LIMIT);
+ BL_COHERENT_RAM_BASE,
+ BL_COHERENT_RAM_END);
}
static void hikey960_ufs_reset(void)
diff --git a/plat/hisilicon/poplar/bl1_plat_setup.c b/plat/hisilicon/poplar/bl1_plat_setup.c
index 39551135f..25eed5938 100644
--- a/plat/hisilicon/poplar/bl1_plat_setup.c
+++ b/plat/hisilicon/poplar/bl1_plat_setup.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -23,13 +23,6 @@
#include "hi3798cv200.h"
#include "plat_private.h"
-/* Symbols from link script for conherent section */
-extern unsigned long __COHERENT_RAM_START__;
-extern unsigned long __COHERENT_RAM_END__;
-
-#define BL1_COHERENT_RAM_BASE (unsigned long)(&__COHERENT_RAM_START__)
-#define BL1_COHERENT_RAM_LIMIT (unsigned long)(&__COHERENT_RAM_END__)
-
/* Data structure which holds the extents of the trusted RAM for BL1 */
static meminfo_t bl1_tzram_layout;
@@ -92,8 +85,8 @@ void bl1_plat_arch_setup(void)
bl1_tzram_layout.total_size,
BL1_RO_BASE, /* l-loader and BL1 ROM */
BL1_RO_LIMIT,
- BL1_COHERENT_RAM_BASE,
- BL1_COHERENT_RAM_LIMIT);
+ BL_COHERENT_RAM_BASE,
+ BL_COHERENT_RAM_END);
}
void bl1_platform_setup(void)
diff --git a/plat/mediatek/mt6795/bl31_plat_setup.c b/plat/mediatek/mt6795/bl31_plat_setup.c
index 803f1ed85..32f015721 100644
--- a/plat/mediatek/mt6795/bl31_plat_setup.c
+++ b/plat/mediatek/mt6795/bl31_plat_setup.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -21,22 +21,21 @@
#include <plat_private.h>
#include <platform.h>
#include <string.h>
+#include <utils_def.h>
#include <xlat_tables.h>
+
/*******************************************************************************
* Declarations of linker defined symbols which will help us find the layout
* of trusted SRAM
******************************************************************************/
-unsigned long __RO_START__;
-unsigned long __RO_END__;
-
/*
* The next 2 constants identify the extents of the code & RO data region.
* These addresses are used by the MMU setup code and therefore they must be
* page-aligned. It is the responsibility of the linker script to ensure that
* __RO_START__ and __RO_END__ linker symbols refer to page-aligned addresses.
*/
-#define BL31_RO_BASE (unsigned long)(&__RO_START__)
-#define BL31_RO_LIMIT (unsigned long)(&__RO_END__)
+IMPORT_SYM(unsigned long, __RO_START__, BL31_RO_BASE);
+IMPORT_SYM(unsigned long, __RO_END__, BL31_RO_LIMIT);
/*
* Placeholder variables for copying the arguments that have been passed to
diff --git a/plat/mediatek/mt8173/bl31_plat_setup.c b/plat/mediatek/mt8173/bl31_plat_setup.c
index 7b2930771..e51bdbb9e 100644
--- a/plat/mediatek/mt8173/bl31_plat_setup.c
+++ b/plat/mediatek/mt8173/bl31_plat_setup.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -17,24 +17,6 @@
#include <platform.h>
#include <spm.h>
-/*******************************************************************************
- * Declarations of linker defined symbols which will help us find the layout
- * of trusted SRAM
- ******************************************************************************/
-unsigned long __RO_START__;
-unsigned long __RO_END__;
-
-/*
- * The next 3 constants identify the extents of the code, RO data region and the
- * limit of the BL31 image. These addresses are used by the MMU setup code and
- * therefore they must be page-aligned. It is the responsibility of the linker
- * script to ensure that __RO_START__, __RO_END__ & __BL31_END__ linker symbols
- * refer to page-aligned addresses.
- */
-#define BL31_RO_BASE (unsigned long)(&__RO_START__)
-#define BL31_RO_LIMIT (unsigned long)(&__RO_END__)
-#define BL31_END (unsigned long)(&__BL31_END__)
-
static entry_point_info_t bl32_ep_info;
static entry_point_info_t bl33_ep_info;
@@ -156,10 +138,10 @@ void bl31_plat_arch_setup(void)
plat_cci_init();
plat_cci_enable();
- plat_configure_mmu_el3(BL31_RO_BASE,
- BL_COHERENT_RAM_END - BL31_RO_BASE,
- BL31_RO_BASE,
- BL31_RO_LIMIT,
+ plat_configure_mmu_el3(BL_CODE_BASE,
+ BL_COHERENT_RAM_END - BL_CODE_BASE,
+ BL_CODE_BASE,
+ BL_CODE_END,
BL_COHERENT_RAM_BASE,
BL_COHERENT_RAM_END);
}
diff --git a/plat/nvidia/tegra/common/tegra_bl31_setup.c b/plat/nvidia/tegra/common/tegra_bl31_setup.c
index d89ad7b94..2fe4e7dbc 100644
--- a/plat/nvidia/tegra/common/tegra_bl31_setup.c
+++ b/plat/nvidia/tegra/common/tegra_bl31_setup.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -23,6 +23,7 @@
#include <string.h>
#include <tegra_def.h>
#include <tegra_private.h>
+#include <utils_def.h>
/* length of Trusty's input parameters (in bytes) */
#define TRUSTY_PARAMS_LEN_BYTES (4096*2)
@@ -33,29 +34,17 @@ extern void zeromem16(void *mem, unsigned int length);
* Declarations of linker defined symbols which will help us find the layout
* of trusted SRAM
******************************************************************************/
-extern unsigned long __TEXT_START__;
-extern unsigned long __TEXT_END__;
-extern unsigned long __RW_START__;
-extern unsigned long __RW_END__;
-extern unsigned long __RODATA_START__;
-extern unsigned long __RODATA_END__;
-extern unsigned long __BL31_END__;
+
+IMPORT_SYM(unsigned long, __RW_START__, BL31_RW_START);
+IMPORT_SYM(unsigned long, __RW_END__, BL31_RW_END);
+IMPORT_SYM(unsigned long, __RODATA_START__, BL31_RODATA_BASE);
+IMPORT_SYM(unsigned long, __RODATA_END__, BL31_RODATA_END);
+IMPORT_SYM(unsigned long, __TEXT_START__, TEXT_START);
+IMPORT_SYM(unsigned long, __TEXT_END__, TEXT_END);
extern uint64_t tegra_bl31_phys_base;
extern uint64_t tegra_console_base;
-/*
- * The next 3 constants identify the extents of the code, RO data region and the
- * limit of the BL3-1 image. These addresses are used by the MMU setup code and
- * therefore they must be page-aligned. It is the responsibility of the linker
- * script to ensure that __RO_START__, __RO_END__ & __BL31_END__ linker symbols
- * refer to page-aligned addresses.
- */
-#define BL31_RW_START (unsigned long)(&__RW_START__)
-#define BL31_RW_END (unsigned long)(&__RW_END__)
-#define BL31_RODATA_BASE (unsigned long)(&__RODATA_START__)
-#define BL31_RODATA_END (unsigned long)(&__RODATA_END__)
-#define BL31_END (unsigned long)(&__BL31_END__)
static entry_point_info_t bl33_image_ep_info, bl32_image_ep_info;
static plat_params_from_bl2_t plat_bl31_params_from_bl2 = {
@@ -311,8 +300,8 @@ void bl31_plat_arch_setup(void)
unsigned long rw_size = BL31_RW_END - BL31_RW_START;
unsigned long rodata_start = BL31_RODATA_BASE;
unsigned long rodata_size = BL31_RODATA_END - BL31_RODATA_BASE;
- unsigned long code_base = (unsigned long)(&__TEXT_START__);
- unsigned long code_size = (unsigned long)(&__TEXT_END__) - code_base;
+ unsigned long code_base = TEXT_START;
+ unsigned long code_size = TEXT_END - TEXT_START;
const mmap_region_t *plat_mmio_map = NULL;
#if USE_COHERENT_MEM
unsigned long coh_start, coh_size;
diff --git a/plat/rockchip/common/bl31_plat_setup.c b/plat/rockchip/common/bl31_plat_setup.c
index 6199edae2..e5ee68f14 100644
--- a/plat/rockchip/common/bl31_plat_setup.c
+++ b/plat/rockchip/common/bl31_plat_setup.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -17,21 +17,14 @@
#include <platform_def.h>
#include <uart_16550.h>
-/*******************************************************************************
- * Declarations of linker defined symbols which will help us find the layout
- * of trusted SRAM
- ******************************************************************************/
-unsigned long __RO_START__;
-unsigned long __RO_END__;
-
/*
* The next 2 constants identify the extents of the code & RO data region.
* These addresses are used by the MMU setup code and therefore they must be
* page-aligned. It is the responsibility of the linker script to ensure that
* __RO_START__ and __RO_END__ linker symbols refer to page-aligned addresses.
*/
-#define BL31_RO_BASE (unsigned long)(&__RO_START__)
-#define BL31_RO_LIMIT (unsigned long)(&__RO_END__)
+IMPORT_SYM(unsigned long, __RO_START__, BL31_RO_BASE);
+IMPORT_SYM(unsigned long, __RO_END__, BL31_RO_LIMIT);
static entry_point_info_t bl32_ep_info;
static entry_point_info_t bl33_ep_info;
diff --git a/services/std_svc/spm/spm_shim_private.h b/services/std_svc/spm/spm_shim_private.h
index ad953cde7..8408d1e04 100644
--- a/services/std_svc/spm/spm_shim_private.h
+++ b/services/std_svc/spm/spm_shim_private.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -8,21 +8,17 @@
#define __SPM_SHIM_PRIVATE__
#include <types.h>
+#include <utils_def.h>
/* Assembly source */
-extern uintptr_t spm_shim_exceptions_ptr;
+IMPORT_SYM(uintptr_t, spm_shim_exceptions_ptr, SPM_SHIM_EXCEPTIONS_PTR);
/* Linker symbols */
-extern uintptr_t __SPM_SHIM_EXCEPTIONS_START__;
-extern uintptr_t __SPM_SHIM_EXCEPTIONS_END__;
+IMPORT_SYM(uintptr_t, __SPM_SHIM_EXCEPTIONS_START__, SPM_SHIM_EXCEPTIONS_START);
+IMPORT_SYM(uintptr_t, __SPM_SHIM_EXCEPTIONS_END__, SPM_SHIM_EXCEPTIONS_END);
/* Definitions */
-#define SPM_SHIM_EXCEPTIONS_PTR (uintptr_t)(&spm_shim_exceptions_ptr)
-#define SPM_SHIM_EXCEPTIONS_START \
- (uintptr_t)(&__SPM_SHIM_EXCEPTIONS_START__)
-#define SPM_SHIM_EXCEPTIONS_END \
- (uintptr_t)(&__SPM_SHIM_EXCEPTIONS_END__)
#define SPM_SHIM_EXCEPTIONS_SIZE \
(SPM_SHIM_EXCEPTIONS_END - SPM_SHIM_EXCEPTIONS_START)
--
2.25.1

View File

@ -0,0 +1,370 @@
From 64bd53306e0301e707a52be9f4f7121c87cd6f7d Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Sun, 28 Jul 2019 13:17:54 +0300
Subject: [PATCH] plat/nxp: Add lx2160acex7 module support
Adds SolidRun's LX2160A based SoC COM express type 7 module support.
The patch is based on LX2160ARDB board and modifies the support to two
SO-DIMMs DDR4 support on I2C address 0x50 and 0x52.
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
plat/nxp/soc-lx2160/lx2160acex7/ddr_init.c | 77 ++++++++
plat/nxp/soc-lx2160/lx2160acex7/platform.mk | 16 ++
.../nxp/soc-lx2160/lx2160acex7/platform_def.h | 187 ++++++++++++++++++
plat/nxp/soc-lx2160/lx2160acex7/policy.h | 40 ++++
4 files changed, 320 insertions(+)
create mode 100644 plat/nxp/soc-lx2160/lx2160acex7/ddr_init.c
create mode 100644 plat/nxp/soc-lx2160/lx2160acex7/platform.mk
create mode 100644 plat/nxp/soc-lx2160/lx2160acex7/platform_def.h
create mode 100644 plat/nxp/soc-lx2160/lx2160acex7/policy.h
diff --git a/plat/nxp/soc-lx2160/lx2160acex7/ddr_init.c b/plat/nxp/soc-lx2160/lx2160acex7/ddr_init.c
new file mode 100644
index 00000000..d0bcdf46
--- /dev/null
+++ b/plat/nxp/soc-lx2160/lx2160acex7/ddr_init.c
@@ -0,0 +1,77 @@
+/*
+ * Copyright 2019 SolidRun ltd.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ * Author Rabeeh Khoury <rabeeh@solid-run.com>
+ */
+
+#include <platform_def.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <debug.h>
+#include <errno.h>
+#include <utils.h>
+#include <string.h>
+#include <ddr.h>
+#include <i2c.h>
+
+int ddr_board_options(struct ddr_info *priv)
+{
+ struct memctl_opt *popts = &priv->opt;
+
+ popts->vref_dimm = 0x24; /* range 1, 83.4% */
+ popts->rtt_override = 0;
+ popts->rtt_park = 240;
+ popts->otf_burst_chop_en = 0;
+ popts->burst_length = DDR_BL8;
+ popts->trwt_override = 1;
+ popts->bstopre = 0; /* auto precharge */
+ popts->addr_hash = 1;
+ popts->trwt = 0x3;
+ popts->twrt = 0x3;
+ popts->trrt = 0x3;
+ popts->twwt = 0x3;
+ popts->vref_phy = 0x60; /* 75% */
+ popts->odt = 48;
+ popts->phy_tx_impedance = 48;
+
+ return 0;
+}
+
+long long _init_ddr(void)
+{
+ int spd_addr[] = { 0x51, 0x53 };
+ struct ddr_info info;
+ struct sysinfo sys;
+ long long dram_size;
+
+ zeromem(&sys, sizeof(sys));
+ get_clocks(&sys);
+ debug("platform clock %lu\n", sys.freq_platform);
+ debug("DDR PLL1 %lu\n", sys.freq_ddr_pll0);
+ debug("DDR PLL2 %lu\n", sys.freq_ddr_pll1);
+
+ zeromem(&info, sizeof(info));
+
+ /* Set two DDRC. Unused DDRC will be removed automatically. */
+ info.num_ctlrs = 2;
+ info.spd_addr = spd_addr;
+ info.ddr[0] = (void *)NXP_DDR_ADDR;
+ info.ddr[1] = (void *)NXP_DDR2_ADDR;
+ info.phy[0] = (void *)NXP_DDR_PHY1_ADDR;
+ info.phy[1] = (void *)NXP_DDR_PHY2_ADDR;
+ info.clk = get_ddr_freq(&sys, 0);
+ if (!info.clk)
+ info.clk = get_ddr_freq(&sys, 1);
+ info.dimm_on_ctlr = 1;
+
+ dram_size = dram_init(&info);
+
+ if (dram_size < 0)
+ ERROR("DDR init failed.\n");
+
+ return dram_size;
+}
diff --git a/plat/nxp/soc-lx2160/lx2160acex7/platform.mk b/plat/nxp/soc-lx2160/lx2160acex7/platform.mk
new file mode 100644
index 00000000..490f82f8
--- /dev/null
+++ b/plat/nxp/soc-lx2160/lx2160acex7/platform.mk
@@ -0,0 +1,16 @@
+#
+# Copyright 2019 SolidRun ltd.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Author Rabeeh Khoury <rabeeh@solid-run.com>
+
+# board-specific build parameters
+BOOT_MODE := flexspi_nor
+BOARD := acex7
+
+ # get SoC common build parameters
+include plat/nxp/soc-lx2160/soc.mk
+
+BL2_SOURCES += ${BOARD_PATH}/ddr_init.c
+
diff --git a/plat/nxp/soc-lx2160/lx2160acex7/platform_def.h b/plat/nxp/soc-lx2160/lx2160acex7/platform_def.h
new file mode 100644
index 00000000..614f0342
--- /dev/null
+++ b/plat/nxp/soc-lx2160/lx2160acex7/platform_def.h
@@ -0,0 +1,187 @@
+/*
+ * Copyright 2019 SolidRun ltd.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ * Author: Rabeeh Khoury <rabeeh@solid-run.com>
+ */
+
+#ifndef __PLATFORM_DEF_H__
+#define __PLATFORM_DEF_H__
+
+#include <arch.h>
+/* Certain ARM files require defines from this file */
+#include <tbbr_img_def.h>
+/* From ARM :-> Has some common defines ARM requires */
+#include <common_def.h>
+/* Soc specific defines */
+#include <soc.h>
+/* include the platform-level security policy */
+#include <policy.h>
+
+#if defined(IMAGE_BL2)
+#define SEC_MEM_NON_COHERENT
+#endif
+/* Special value used to verify platform parameters from BL2 to BL31 */
+
+/* TBD -- Check and get back if this value is same for all platforms */
+#define LS_BL31_PLAT_PARAM_VAL 0x0f1e2d3c4b5a6978ULL
+
+/******************************************************************************
+ * Board specific defines
+ *****************************************************************************/
+
+#define NXP_SYSCLK_FREQ 100000000
+#define NXP_DDRCLK_FREQ 100000000
+
+/* UART related definition */
+#define NXP_CONSOLE_ADDR NXP_UART_ADDR
+#define NXP_CONSOLE_BAUDRATE 115200
+
+#define NXP_SPD_EEPROM0 0x51
+
+#define DDRC_NUM_DIMM 1
+#define CONFIG_DDR_ECC_EN
+#define CONFIG_DDR_ADDR_DEC /* enable address decoding feature */
+
+#define PLAT_DEF_DRAM0_SIZE 0x80000000 /* 2G */
+
+/* Board specific - size of QSPI Flash on board */
+#if FLEXSPI_NOR_BOOT
+#define NXP_FLEXSPI_FLASH_SIZE 0x10000000
+#endif
+/* TBD Put all memory specific defines here */
+
+/******************************************************************************
+ * Required platform porting definitions common to all ARM standard platforms
+ *****************************************************************************/
+
+/* Size of cacheable stacks */
+#if defined(IMAGE_BL2)
+#if defined(TRUSTED_BOARD_BOOT)
+#define PLATFORM_STACK_SIZE 0x2000
+#else
+#define PLATFORM_STACK_SIZE 0x1000
+#endif
+#elif defined(IMAGE_BL31)
+#define PLATFORM_STACK_SIZE 0x1000
+#endif
+
+#define FIRMWARE_WELCOME_STR_LS_BL2 "Welcome to LX2160 BL2 Phase\n"
+#define FIRMWARE_WELCOME_STR_LS_BL31 "Welcome to LX2160 BL31 Phase\n"
+
+/* This is common for all platforms where
+ * 64K is reserved for Secure memory
+ */
+/* 64M Secure Memory */
+#define NXP_SECURE_DRAM_SIZE (64 * 1024 * 1024)
+
+/* 2M Secure EL1 Payload Shared Memory */
+#define NXP_SP_SHRD_DRAM_SIZE (2 * 1024 * 1024)
+
+/* Non secure memory */
+#define NXP_NS_DRAM_SIZE (NXP_DRAM0_SIZE - \
+ (NXP_SECURE_DRAM_SIZE + NXP_SP_SHRD_DRAM_SIZE))
+
+#define NXP_NS_DRAM_ADDR NXP_DRAM0_ADDR
+
+#ifdef TEST_BL31
+#define NXP_SECURE_DRAM_ADDR 0
+#else
+#define NXP_SECURE_DRAM_ADDR (NXP_NS_DRAM_ADDR + NXP_DRAM0_SIZE - \
+ (NXP_SECURE_DRAM_SIZE + NXP_SP_SHRD_DRAM_SIZE))
+#endif
+
+#define NXP_SP_SHRD_DRAM_ADDR (NXP_NS_DRAM_ADDR + NXP_DRAM0_SIZE \
+ - NXP_SP_SHRD_DRAM_SIZE)
+
+#define BL2_BASE (NXP_OCRAM_ADDR + NXP_ROM_RSVD + CSF_HDR_SZ)
+#ifdef SD_BOOT
+#define BL2_LIMIT (NXP_OCRAM_ADDR + NXP_OCRAM_SIZE - NXP_SD_BLOCK_BUF_SIZE)
+#else
+#define BL2_LIMIT (NXP_OCRAM_ADDR + NXP_OCRAM_SIZE)
+#endif
+#define BL2_TEXT_LIMIT (BL2_LIMIT)
+
+/* 2 MB reserved in secure memory for DDR */
+#define BL31_BASE NXP_SECURE_DRAM_ADDR
+#define BL31_SIZE (0x200000)
+#define BL31_LIMIT (BL31_BASE + BL31_SIZE)
+
+/* Put BL32 in secure memory */
+#define BL32_BASE (NXP_SECURE_DRAM_ADDR + BL31_SIZE)
+#define BL32_LIMIT (NXP_SECURE_DRAM_ADDR + \
+ NXP_SECURE_DRAM_SIZE + NXP_SP_SHRD_DRAM_SIZE)
+
+/* BL33 memory region */
+/* Hardcoded based on current address in u-boot */
+#define BL33_BASE 0x82000000
+#define BL33_LIMIT (NXP_NS_DRAM_ADDR + NXP_NS_DRAM_SIZE)
+
+/* SD block buffer */
+#define NXP_SD_BLOCK_BUF_SIZE (0xC000)
+#define NXP_SD_BLOCK_BUF_ADDR (NXP_OCRAM_ADDR + NXP_OCRAM_SIZE - NXP_SD_BLOCK_BUF_SIZE)
+
+#define PHY_GEN2_FW_IMAGE_BUFFER (ULL(0x18000000) + CSF_HDR_SZ)
+
+/* IO defines as needed by IO driver framework */
+/* TBD Add how to reach these numbers */
+#define MAX_IO_DEVICES 4
+#define MAX_IO_BLOCK_DEVICES 1
+#define MAX_IO_HANDLES 4
+
+
+/*
+ * FIP image defines - Offset at which FIP Image would be present
+ * Image would include Bl31 , Bl33 and Bl32 (optional)
+ */
+#ifdef POLICY_FUSE_PROVISION
+#define MAX_FIP_DEVICES 3
+#define FUSE_BUF ULL(0x81000000)
+#define FUSE_SZ 0x80000
+#endif
+
+#ifndef MAX_FIP_DEVICES
+#define MAX_FIP_DEVICES 2
+#endif
+
+#define PLAT_FIP_OFFSET 0x100000
+#define PLAT_FIP_MAX_SIZE 0x400000
+
+/* Check if this size can be determined from array size */
+#if defined(IMAGE_BL2)
+#define MAX_MMAP_REGIONS 8
+#define MAX_XLAT_TABLES 6
+#elif defined(IMAGE_BL31)
+#define MAX_MMAP_REGIONS 9
+#define MAX_XLAT_TABLES 9
+#elif defined(IMAGE_BL32)
+#define MAX_MMAP_REGIONS 8
+#define MAX_XLAT_TABLES 9
+#endif
+
+/******************************************************************************/
+/*
+ * ID of the secure physical generic timer interrupt used by the BL32.
+ */
+#define BL32_IRQ_SEC_PHY_TIMER 29
+
+#define BL31_WDOG_SEC 89
+/*
+ * Define properties of Group 1 Secure and Group 0 interrupts as per GICv3
+ * terminology. On a GICv2 system or mode, the lists will be merged and treated
+ * as Group 0 interrupts.
+ */
+#define PLAT_LS_G1S_IRQ_PROPS(grp) \
+ INTR_PROP_DESC(BL32_IRQ_SEC_PHY_TIMER, GIC_HIGHEST_SEC_PRIORITY, grp, \
+ GIC_INTR_CFG_EDGE)
+
+/* SGI 15 and Secure watchdog interrupts assigned to Group 0 */
+#define PLAT_LS_G0_IRQ_PROPS(grp) \
+ INTR_PROP_DESC(BL31_WDOG_SEC, GIC_HIGHEST_SEC_PRIORITY, grp, \
+ GIC_INTR_CFG_EDGE), \
+ INTR_PROP_DESC(15, GIC_HIGHEST_SEC_PRIORITY, grp, \
+ GIC_INTR_CFG_LEVEL)
+
+
+#endif
diff --git a/plat/nxp/soc-lx2160/lx2160acex7/policy.h b/plat/nxp/soc-lx2160/lx2160acex7/policy.h
new file mode 100644
index 00000000..deae979c
--- /dev/null
+++ b/plat/nxp/soc-lx2160/lx2160acex7/policy.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2019 SolidRun ltd.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ * Author : Rabeeh Khoury <rabeeh@solid-run.com>
+ */
+
+/*---------------------------------------------------------------------------*/
+
+#ifndef _POLICY_H
+#define _POLICY_H
+
+ // the following defines affect the PLATFORM SECURITY POLICY
+
+ // set this to 0x0 if the platform is not using/responding to ECC errors
+ // set this to 0x1 if ECC is being used (we have to do some init)
+#define POLICY_USING_ECC 0x0
+
+ // Set this to 0x0 to leave the default SMMU page size in sACR
+ // Set this to 0x1 to change the SMMU page size to 64K
+#define POLICY_SMMU_PAGESZ_64K 0x1
+
+/*
+ * POLICY_PERF_WRIOP = 0 : No Performance enhancement for WRIOP RN-I
+ * POLICY_PERF_WRIOP = 1 : No Performance enhancement for WRIOP RN-I = 7
+ * POLICY_PERF_WRIOP = 2 : No Performance enhancement for WRIOP RN-I = 23
+ */
+#define POLICY_PERF_WRIOP 0
+
+ /*
+ * set this to '1' if the debug clocks need to remain enabled during
+ * system entry to low-power (LPM20) - this should only be necessary
+ * for testing and NEVER set for normal production
+ */
+#define POLICY_DEBUG_ENABLE 0
+
+//-----------------------------------------------------------------------------
+
+#endif // _POLICY_H
--
2.17.1

View File

@ -0,0 +1,194 @@
From b5401a18ad8ade8f12a12171169f99214c7126e3 Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Tue, 24 Mar 2020 02:48:34 +0200
Subject: [PATCH 2/2] plat/nxp: lx2160a auto boot
This patch adds support to patch RCW that already has SD/eMMC/SPI boot
support embedded with conditional load and jump.
The idea is to look for SD/eMMC/SPI boot, and modify src/dst/size
address with the correct values; rather than adding blockread at the end
of RCW code.
With this patch images are unified and can be used to boot from SD /
eMMC and SPI.
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
plat/nxp/common/common.mk | 5 +++
plat/nxp/tools/create_pbl.c | 79 ++++++++++++++++++++++++++++---------
2 files changed, 66 insertions(+), 18 deletions(-)
diff --git a/plat/nxp/common/common.mk b/plat/nxp/common/common.mk
index a80990740..e7e5f3879 100644
--- a/plat/nxp/common/common.mk
+++ b/plat/nxp/common/common.mk
@@ -148,6 +148,11 @@ BOOT_DEV_SOURCES = ${PLAT_DRIVERS_PATH}/sd/sd_mmc.c \
else ifeq (${BOOT_MODE}, flexspi_nor)
$(eval $(call add_define,FLEXSPI_NOR_BOOT))
BOOT_DEV_SOURCES = ${PLAT_DRIVERS_PATH}/flexspi/nor/flexspi_nor.c
+else ifeq (${BOOT_MODE}, auto)
+$(eval $(call add_define,FLEXSPI_NOR_BOOT))
+BOOT_DEV_SOURCES = ${PLAT_DRIVERS_PATH}/flexspi/nor/flexspi_nor.c \
+ ${PLAT_DRIVERS_PATH}/sd/sd_mmc.c \
+ drivers/io/io_block.c
endif
# DDR driver needs to be enabled by default
diff --git a/plat/nxp/tools/create_pbl.c b/plat/nxp/tools/create_pbl.c
index 5a08472be..7ee085757 100644
--- a/plat/nxp/tools/create_pbl.c
+++ b/plat/nxp/tools/create_pbl.c
@@ -67,6 +67,7 @@ typedef enum {
FLXSPI_NOR_BOOT,
FLXSPI_NAND_BOOT,
FLXSPI_NAND4K_BOOT,
+ AUTO_BOOT,
MAX_BOOT /* must be last item in list */
} boot_src_t;
@@ -194,7 +195,7 @@ struct pbl_image {
#define SOC_LS2088 2088
#define SOC_LX2160 2160
-static uint32_t pbl_size;
+static uint32_t pbl_size = 0;
bool sb_flag = false;
/***************************************************************************
@@ -503,7 +504,6 @@ int add_boot_ptr_cmd(FILE *fp_rcw_pbi_op)
goto bootptr_err;
}
}
-
printf("\nBoot Location Pointer= %x\n", BYTE_SWAP_32(pblimg.ep));
ret = SUCCESS;
@@ -697,6 +697,8 @@ int main(int argc, char **argv)
int ret = FAILURE;
bool bootptr_flag = false;
enum stop_command flag_stop_cmd = CRC_STOP_COMMAND;;
+ int skip = 0;
+ uint32_t saved_src;
/* Initializing the global structure to zero. */
memset(&pblimg, 0x0, sizeof(struct pbl_image));
@@ -797,6 +799,8 @@ int main(int argc, char **argv)
pblimg.boot_src = FLXSPI_NAND_BOOT;
else if (!strcmp(optarg, "flexspi_nand2k"))
pblimg.boot_src = FLXSPI_NAND4K_BOOT;
+ else if (!strcmp(optarg, "auto"))
+ pblimg.boot_src = AUTO_BOOT;
else {
printf("CMD Error: Invalid boot source.\n");
goto exit_main;
@@ -902,13 +906,14 @@ int main(int argc, char **argv)
printf("%s: Error reading PBI Cmd.\n", __func__);
goto exit_main;
}
- while (word != 0x808f0000 && word != 0x80ff0000) {
+ saved_src = pblimg.src_addr;
+ while (word != 0x808f0000 && word != 0x80ff0000) {
pbl_size++;
/* 11th words in RCW has PBL length. Update it
* with new length. 2 comamnds get added
* Block copy + CCSR Write/CSF header write
*/
- if (pbl_size == 11) {
+ if ((pbl_size == 11) && (pblimg.boot_src != AUTO_BOOT)) {
word_1 = (word & PBI_LEN_MASK)
+ (PBI_LEN_ADD << 20);
word = word & ~PBI_LEN_MASK;
@@ -923,8 +928,44 @@ int main(int argc, char **argv)
goto exit_main;
}
}
- if (fwrite(&word, sizeof(word), NUM_MEM_BLOCK,
- fp_rcw_pbi_op) != NUM_MEM_BLOCK) {
+ if (pblimg.boot_src == AUTO_BOOT) {
+ if (word == 0x80000008) {
+ printf ("Found SD boot at %d\n",pbl_size);
+ pblimg.boot_src = SD_BOOT;
+ add_blk_cpy_cmd(fp_rcw_pbi_op, args);
+ pblimg.boot_src = AUTO_BOOT;
+ pblimg.src_addr = saved_src;
+ if (bootptr_flag == true) {
+ add_boot_ptr_cmd(fp_rcw_pbi_op);
+ skip = 6;
+ } else skip=4;
+ }
+ if (word == 0x80000009) {
+ printf ("Found eMMC boot at %d\n",pbl_size);
+ pblimg.boot_src = EMMC_BOOT;
+ add_blk_cpy_cmd(fp_rcw_pbi_op, args);
+ pblimg.boot_src = AUTO_BOOT;
+ pblimg.src_addr = saved_src;
+ if (bootptr_flag == true) {
+ add_boot_ptr_cmd(fp_rcw_pbi_op);
+ skip = 6;
+ } else skip=4;
+ }
+ if (word == 0x8000000f) {
+ printf ("Found SPI boot at %d\n",pbl_size);
+ pblimg.boot_src = FLXSPI_NOR_BOOT;
+ add_blk_cpy_cmd(fp_rcw_pbi_op, args);
+ pblimg.boot_src = AUTO_BOOT;
+ pblimg.src_addr = saved_src;
+ if (bootptr_flag == true) {
+ add_boot_ptr_cmd(fp_rcw_pbi_op);
+ skip = 6;
+ } else skip=4;
+ }
+ }
+ if (!skip &&
+ (fwrite(&word, sizeof(word), NUM_MEM_BLOCK,
+ fp_rcw_pbi_op) != NUM_MEM_BLOCK)) {
printf("%s: [CH3] Error in Writing PBI Words\n",
__func__);
goto exit_main;
@@ -941,8 +982,9 @@ int main(int argc, char **argv)
} else if (word == STOP_CMD_ARM_CH3){
flag_stop_cmd = STOP_COMMAND;
}
+ if (skip) skip--;
}
- if (bootptr_flag == true) {
+ if ((pblimg.boot_src != AUTO_BOOT) && (bootptr_flag == true)) {
/* Add command to set boot_loc ptr */
ret = add_boot_ptr_cmd(fp_rcw_pbi_op);
if (ret != SUCCESS) {
@@ -953,18 +995,19 @@ int main(int argc, char **argv)
}
/* Write acs write commands to output file */
- ret = add_blk_cpy_cmd(fp_rcw_pbi_op, args);
- if (ret != SUCCESS) {
- printf("%s: Function add_blk_cpy_cmd return failure.\n",
- __func__);
- goto exit_main;
- }
-
+ if (pblimg.boot_src != AUTO_BOOT) {
+ ret = add_blk_cpy_cmd(fp_rcw_pbi_op, args);
+ if (ret != SUCCESS) {
+ printf("%s: Function add_blk_cpy_cmd return failure.\n",
+ __func__);
+ goto exit_main;
+ }
+ }
/* Add stop command after adding pbi commands */
- ret = add_pbi_stop_cmd(fp_rcw_pbi_op, flag_stop_cmd);
- if (ret != SUCCESS) {
- goto exit_main;
- }
+ ret = add_pbi_stop_cmd(fp_rcw_pbi_op, flag_stop_cmd);
+ if (ret != SUCCESS) {
+ goto exit_main;
+ }
break;
--
2.17.1

View File

@ -0,0 +1,248 @@
DESCRIPTION = "ARM Trusted Firmware"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443"
PV = "1.5+git${SRCPV}"
inherit deploy
DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native mbedtls rcw cst-native"
DEPENDS:append:lx2160a = " ddr-phy"
do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy"
S = "${WORKDIR}/git"
SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1 \
file://0001-Clean-usage-of-void-pointers-to-access-symbols.patch \
"
SRCREV = "5ae5233c064e94a8bd1b4a1652a03b87b0be63f6"
COMPATIBLE_MACHINE = "(qoriq)"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PLATFORM = "${MACHINE}"
PLATFORM:ls1088ardb-pb = "ls1088ardb"
PLATFORM_ADDITIONAL_TARGET ??= ""
PLATFORM_ADDITIONAL_TARGET:ls1012afrwy = "ls1012afrwy_512mb"
RCW_FOLDER ?= "${MACHINE}"
RCW_FOLDER:ls1088ardb-pb = "ls1088ardb"
# requires CROSS_COMPILE set by hand as there is no configure script
export CROSS_COMPILE = "${TARGET_PREFIX}"
export ARCH = "arm64"
# Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is
# a standalone application
CFLAGS[unexport] = "1"
LDFLAGS[unexport] = "1"
AS[unexport] = "1"
LD[unexport] = "1"
EXTRA_OEMAKE += "HOSTCC='${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}'"
BOOTTYPE ?= "nor nand qspi flexspi_nor sd emmc"
OTABOOTTYPE ?= "nor qspi flexspi_nor"
BUILD_SECURE = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'true', 'false', d)}"
BUILD_OPTEE = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'true', 'false', d)}"
BUILD_FUSE = "${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'true', 'false', d)}"
BUILD_OTA = "${@bb.utils.contains('DISTRO_FEATURES', 'ota', 'true', 'false', d)}"
PACKAGECONFIG ??= " \
${@bb.utils.filter('COMBINED_FEATURES', 'optee', d)} \
"
PACKAGECONFIG[optee] = ",,optee-os-qoriq"
uboot_boot_sec ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa-secure-boot"
uboot_boot ?= "${DEPLOY_DIR_IMAGE}/u-boot.bin-tfa"
rcw ?= ""
rcw:ls1012a = "_default"
rcwsec ?= "_sben"
chassistype ?= "ls2088_1088"
chassistype:ls1012a = "ls104x_1012"
chassistype:ls1043a = "ls104x_1012"
chassistype:ls1046a = "ls104x_1012"
ddrphyopt ?= ""
ddrphyopt:lx2160a = "fip_ddr_sec"
do_configure[noexec] = "1"
do_compile() {
export LIBPATH="${RECIPE_SYSROOT_NATIVE}"
install -d ${S}/include/tools_share/openssl
cp -r ${RECIPE_SYSROOT}/usr/include/openssl/* ${S}/include/tools_share/openssl
if [ ! -f ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/srk.pri ]; then
${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_keys 1024
else
cp ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/srk.pri ${S}
cp ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/srk.pub ${S}
fi
if [ "${BUILD_FUSE}" = "true" ]; then
${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/gen_fusescr ${RECIPE_SYSROOT_NATIVE}/usr/bin/cst/input_files/gen_fusescr/${chassistype}/input_fuse_file
fuseopt="fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin"
fi
if [ "${BUILD_SECURE}" = "true" ]; then
secureopt="TRUSTED_BOARD_BOOT=1 ${ddrphyopt} CST_DIR=${RECIPE_SYSROOT_NATIVE}/usr/bin/cst"
secext="_sec"
bl33="${uboot_boot_sec}"
if [ ${chassistype} = ls104x_1012 ]; then
rcwtemp="${rcwsec}"
else
rcwtemp="${rcw}"
fi
else
bl33="${uboot_boot}"
rcwtemp="${rcw}"
fi
if [ "${BUILD_OPTEE}" = "true" ]; then
bl32="${RECIPE_SYSROOT}${nonarch_base_libdir}/firmware/tee_${MACHINE}.bin"
bl32opt="BL32=${bl32}"
spdopt="SPD=opteed"
fi
if [ "${BUILD_OTA}" = "true" ]; then
otaopt="POLICY_OTA=1"
btype="${OTABOOTTYPE}"
else
btype="${BOOTTYPE}"
fi
if [ -f ${DEPLOY_DIR_IMAGE}/ddr-phy/ddr4_pmu_train_dmem.bin ]; then
cp ${DEPLOY_DIR_IMAGE}/ddr-phy/*.bin ${S}/
fi
for d in ${btype}; do
case $d in
nor)
rcwimg="${RCWNOR}${rcwtemp}.bin"
uefiboot="${UEFI_NORBOOT}"
;;
nand)
rcwimg="${RCWNAND}${rcwtemp}.bin"
;;
qspi)
rcwimg="${RCWQSPI}${rcwtemp}.bin"
uefiboot="${UEFI_QSPIBOOT}"
if [ "${BUILD_SECURE}" = "true" ] && [ ${MACHINE} = ls1046ardb ]; then
rcwimg="RR_FFSSPPPH_1133_5559/rcw_1600_qspiboot_sben.bin"
fi
;;
auto)
rcwimg="${RCWAUTO}${rcwtemp}.bin"
;;
sd)
rcwimg="${RCWSD}${rcwtemp}.bin"
;;
emmc)
rcwimg="${RCWEMMC}${rcwtemp}.bin"
;;
flexspi_nor)
rcwimg="${RCWXSPI}${rcwtemp}.bin"
uefiboot="${UEFI_XSPIBOOT}"
;;
esac
if [ -f "${DEPLOY_DIR_IMAGE}/rcw/${RCW_FOLDER}/${rcwimg}" ]; then
oe_runmake V=1 -C ${S} realclean
oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${RCW_FOLDER}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} ${otaopt}
cp -r ${S}/build/${PLATFORM}/release/bl2_${d}*.pbl ${S}
cp -r ${S}/build/${PLATFORM}/release/fip.bin ${S}
if [ "${BUILD_FUSE}" = "true" ]; then
cp -f ${S}/build/${PLATFORM}/release/fuse_fip.bin ${S}
fi
if [ -n "${PLATFORM_ADDITIONAL_TARGET}" ]; then
oe_runmake V=1 -C ${S} realclean
oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM_ADDITIONAL_TARGET} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${RCW_FOLDER}/${rcwimg} BL33=${bl33} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} ${otaopt}
cp -r ${S}/build/${PLATFORM_ADDITIONAL_TARGET}/release/bl2_qspi${secext}.pbl ${S}/bl2_${d}${secext}_${PLATFORM_ADDITIONAL_TARGET}.pbl
cp -r ${S}/build/${PLATFORM_ADDITIONAL_TARGET}/release/fip.bin ${S}/fip_${PLATFORM_ADDITIONAL_TARGET}.bin
if [ "${BUILD_FUSE}" = "true" ]; then
cp -r ${S}/build/${PLATFORM_ADDITIONAL_TARGET}/release/fuse_fip.bin ${S}/fuse_fip_${PLATFORM_ADDITIONAL_TARGET}.bin
fi
fi
if [ -n "${uefiboot}" -a -f "${DEPLOY_DIR_IMAGE}/uefi/${PLATFORM}/${uefiboot}" ]; then
oe_runmake V=1 -C ${S} realclean
oe_runmake V=1 -C ${S} all fip pbl PLAT=${PLATFORM} BOOT_MODE=${d} RCW=${DEPLOY_DIR_IMAGE}/rcw/${RCW_FOLDER}/${rcwimg} BL33=${DEPLOY_DIR_IMAGE}/uefi/${PLATFORM}/${uefiboot} ${bl32opt} ${spdopt} ${secureopt} ${fuseopt} ${otaopt}
cp -r ${S}/build/${PLATFORM}/release/fip.bin ${S}/fip_uefi.bin
fi
fi
rcwimg=""
uefiboot=""
done
}
do_install() {
install -d ${D}/boot/atf
cp -r ${S}/srk.pri ${D}/boot/atf
cp -r ${S}/srk.pub ${D}/boot/atf
if [ "${BUILD_SECURE}" = "true" ]; then
secext="_sec"
fi
if [ -f "${S}/fip_uefi.bin" ]; then
cp -r ${S}/fip_uefi.bin ${D}/boot/atf/fip_uefi.bin
fi
if [ -f "${S}/fuse_fip.bin" ]; then
cp -r ${S}/fuse_fip.bin ${D}/boot/atf/fuse_fip.bin
fi
if [ -f "${S}/fip.bin" ]; then
cp -r ${S}/fip.bin ${D}/boot/atf/fip.bin
fi
for d in ${BOOTTYPE}; do
if [ -e ${S}/bl2_${d}${secext}.pbl ]; then
cp -r ${S}/bl2_${d}${secext}.pbl ${D}/boot/atf/bl2_${d}${secext}.pbl
fi
done
if [ -n "${PLATFORM_ADDITIONAL_TARGET}" ]; then
cp -r ${S}/fip_${PLATFORM_ADDITIONAL_TARGET}.bin ${D}/boot/atf/fip_${PLATFORM_ADDITIONAL_TARGET}.bin
cp -r ${S}/bl2_qspi${secext}_${PLATFORM_ADDITIONAL_TARGET}.pbl ${D}/boot/atf/bl2_qspi${secext}_${PLATFORM_ADDITIONAL_TARGET}.pbl
if [ -f "${S}/fuse_fip_${PLATFORM_ADDITIONAL_TARGET}.bin" ]; then
cp -r ${S}/fuse_fip_${PLATFORM_ADDITIONAL_TARGET}.bin ${D}/boot/atf/fuse_fip_${PLATFORM_ADDITIONAL_TARGET}.bin
fi
fi
chown -R root:root ${D}
if [ -f "${S}/fip_ddr_sec.bin" ]; then
cp -r ${S}/fip_ddr_sec.bin ${D}/boot/atf/fip_ddr_sec.bin
fi
}
do_deploy() {
install -d ${DEPLOYDIR}/atf
cp -r ${D}/boot/atf/srk.pri ${DEPLOYDIR}/atf
cp -r ${D}/boot/atf/srk.pub ${DEPLOYDIR}/atf
if [ "${BUILD_SECURE}" = "true" ]; then
secext="_sec"
fi
if [ -f "${S}/fuse_fip.bin" ]; then
cp -r ${D}/boot/atf/fuse_fip.bin ${DEPLOYDIR}/atf/fuse_fip${secext}.bin
fi
if [ -e ${D}/boot/atf/fip_uefi.bin ]; then
cp -r ${D}/boot/atf/fip_uefi.bin ${DEPLOYDIR}/atf/fip_uefi.bin
fi
cp -r ${D}/boot/atf/fip.bin ${DEPLOYDIR}/atf/fip_uboot${secext}.bin
for d in ${BOOTTYPE}; do
if [ -e ${D}/boot/atf/bl2_${d}${secext}.pbl ]; then
cp -r ${D}/boot/atf/bl2_${d}${secext}.pbl ${DEPLOYDIR}/atf/bl2_${d}${secext}.pbl
fi
done
if [ -n "${PLATFORM_ADDITIONAL_TARGET}" ]; then
cp -r ${S}/bl2_qspi${secext}_${PLATFORM_ADDITIONAL_TARGET}.pbl ${DEPLOYDIR}/atf/
cp -r ${S}/fip_${PLATFORM_ADDITIONAL_TARGET}.bin ${DEPLOYDIR}/atf/fip_uboot${secext}_${PLATFORM_ADDITIONAL_TARGET}.bin
if [ -f "${S}/fuse_fip_${PLATFORM_ADDITIONAL_TARGET}.bin" ]; then
cp -r ${S}/fuse_fip_${PLATFORM_ADDITIONAL_TARGET}.bin ${D}/boot/atf/fuse_fip_${PLATFORM_ADDITIONAL_TARGET}${secext}.bin
fi
fi
if [ -f "${S}/fip_ddr_sec.bin" ]; then
cp -r ${D}/boot/atf/fip_ddr_sec.bin ${DEPLOYDIR}/atf/fip_ddr_sec.bin
fi
}
addtask deploy after do_install
FILES:${PN} += "/boot"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,6 @@
FILESEXTRAPATHS:append:lx2160acex7 := "${THISDIR}/${PN}-lx2160acex7:"
SRC_URI:append:lx2160acex7 = "\
file://0001-plat-nxp-Add-lx2160acex7-module-support.patch \
file://0002-plat-nxp-lx2160a-auto-boot.patch \
"

View File

@ -1,44 +0,0 @@
CONFIG_ARCH_MXS=y
CONFIG_ARCH_IMX28=y
CONFIG_MACH_CFA10036=y
CONFIG_AEABI=y
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
CONFIG_MMU=y
CONFIG_TEXT_BASE=0x43000000
CONFIG_MALLOC_SIZE=0x800000
CONFIG_BROKEN=y
CONFIG_LONGHELP=y
CONFIG_HUSH_FANCY_PROMPT=y
CONFIG_CMDLINE_EDITING=y
CONFIG_AUTO_COMPLETE=y
CONFIG_CONSOLE_ACTIVATE_ALL=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/crystalfontz-cfa10036/env"
CONFIG_DEBUG_INFO=y
CONFIG_CMD_EDIT=y
CONFIG_CMD_SLEEP=y
CONFIG_CMD_SAVEENV=y
CONFIG_CMD_EXPORT=y
CONFIG_CMD_PRINTENV=y
CONFIG_CMD_READLINE=y
CONFIG_CMD_MENU=y
CONFIG_CMD_MENU_MANAGEMENT=y
CONFIG_CMD_ECHO_E=y
CONFIG_CMD_MTEST=y
CONFIG_CMD_MTEST_ALTERNATIVE=y
CONFIG_CMD_BOOTM_SHOW_TYPE=y
CONFIG_CMD_BOOTM_OFTREE=y
CONFIG_CMD_RESET=y
CONFIG_CMD_GO=y
CONFIG_CMD_OFTREE=y
CONFIG_CMD_TIMEOUT=y
CONFIG_CMD_PARTITION=y
CONFIG_CMD_GPIO=y
# CONFIG_SPI is not set
CONFIG_I2C=y
CONFIG_MCI=y
CONFIG_MCI_STARTUP=y
CONFIG_MCI_MXS=y
CONFIG_FS_EXT4=y
CONFIG_FS_FAT=y
CONFIG_FS_FAT_LFN=y

View File

@ -1,3 +0,0 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
COMPATIBLE_MACHINE_cfa10036 = "cfa10036"

View File

@ -0,0 +1,8 @@
DESCRIPTION = "Nvram support for Broadcom BCM4329 wifi/bt device"
SECTION = "kernel"
include broadcom-nvram-config.inc
CHIP_MODEL = "4329"
COMPATIBLE_MACHINE = "(wandboard|cubox-i)"

View File

@ -0,0 +1,8 @@
DESCRIPTION = "Nvram support for Broadcom BCM4330 wifi/bt device"
SECTION = "kernel"
include broadcom-nvram-config.inc
CHIP_MODEL = "4330"
COMPATIBLE_MACHINE = "(cubox-i|nitrogen6x-lite|wandboard|imx6sl-warp)"

View File

@ -0,0 +1,8 @@
DESCRIPTION = "Nvram support for Broadcom BCM4339 wifi/bt device"
SECTION = "kernel"
include broadcom-nvram-config.inc
CHIP_MODEL = "4339"
COMPATIBLE_MACHINE = "(imx7d-pico|imx6ul-pico|imx6qdl-pico)"

View File

@ -0,0 +1,8 @@
DESCRIPTION = "Nvram support for Broadcom 43430 wifi/bt device"
SECTION = "kernel"
include broadcom-nvram-config.inc
CHIP_MODEL = "43430"
COMPATIBLE_MACHINE = "(imx7s-warp)"

View File

@ -1,31 +0,0 @@
DESCRIPTION = "Nvram support for Broadcom wifi chips"
SECTION = "kernel"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc"
SRC_URI = " \
file://nvram.txt \
file://LICENCE.broadcom_bcm43xx \
"
S="${WORKDIR}"
do_install() {
install -d ${D}/lib/firmware/brcm
cp -r ${WORKDIR}/nvram.txt \
${D}/lib/firmware/brcm/brcmfmac-sdio.txt
}
FILES_${PN} = " \
/lib/firmware/brcm/brcmfmac-sdio.txt \
"
BROADCOM_FIRMWARE = "INVALID"
BROADCOM_FIRMWARE_nitrogen6x-lite = "bcm4330"
BROADCOM_FIRMWARE_wandboard-dual = "bcm4329"
BROADCOM_FIRMWARE_wandboard-quad = "bcm4329"
RDEPENDS_${PN} = "linux-firmware-${BROADCOM_FIRMWARE}"
COMPATIBLE_MACHINE = "(nitrogen6x-lite|wandboard-dual|wandboard-quad)"

View File

@ -0,0 +1,31 @@
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc"
SRC_URI = " \
file://LICENCE.broadcom_bcm43xx \
"
S = "${UNPACKDIR}"
BRCM_FWDIR = "${nonarch_base_libdir}/firmware/brcm"
CHIP_MODEL ?= "Invalid"
do_install() {
install -d ${D}${BRCM_FWDIR}
cp -r ${UNPACKDIR}/brcmfmac${CHIP_MODEL}-sdio.txt \
${D}${BRCM_FWDIR}
}
SRC_URI += " \
file://brcmfmac${CHIP_MODEL}-sdio.txt \
"
FILES:${PN} = " \
${BRCM_FWDIR}/brcmfmac${CHIP_MODEL}-sdio.txt \
"
RDEPENDS:${PN} = " \
linux-firmware-bcm${CHIP_MODEL} \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@ -0,0 +1,70 @@
# bcm4329 NVRAM
# $Copyright (C) 2008 Broadcom Corporation$
# $id$
sromrev=3
vendid=0x14e4
devid=0x432f
boardtype=0x53e
boardrev=0x41
#boardflags=0x1200
boardflags=0x200
# Specify the xtalfreq if it is otherthan 38.4MHz
xtalfreq=37400
aa2g=3
aa5g=0
ag0=255
#tri2g=0x64
# 11g paparams
pa0b0=5542,5542,5542
pa0b1=64244,64244,64244
pa0b2=65202,65202,65202
pa0itssit=62
pa0maxpwr=74
opo=0
mcs2gpo0=0x6666
mcs2gpo1=0x6666
# 11g rssi params
rssismf2g=0xa,0xa,0xa
rssismc2g=0xb,0xb,0xb
rssisav2g=0x3,0x3,0x3
bxa2g=0
# country code
ccode=ALL
cctl=0x0
cckdigfilttype=0
ofdmdigfilttype=1
rxpo2g=0
boardnum=1
macaddr=00:90:4c:c5:00:34
# xtal pu and pd time control variable
# pu time is driver default (0x1501)
#r13t=0x1501
#######
nocrc=1
#for mfgc
otpimagesize=182
# sdio extra configs
hwhdr=0x05ffff031030031003100000
#This generates empty F1, F2 and F3 tuple chains, and may be used if the host SDIO stack does not require the standard tuples.
#RAW1=80 02 fe ff
#This includes the standard FUNCID and FUNCE tuples in the F1, F2, F3 and common CIS.
RAW1=80 32 fe 21 02 0c 00 22 2a 01 01 00 00 c5 0 e6 00 00 00 00 00 40 00 00 ff ff 80 00 00 00 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 20 04 D0 2 29 43 21 02 0c 00 22 04 00 20 00 5A
nvramver=4.218.214.0

View File

@ -0,0 +1,118 @@
manfid=0x2d0
prodid=0x0532
vendid=0x14e4
devid=0x4360
boardtype=0x0532
boardrev=0x20
boardflags=0x10080201
nocrc=1
xtalfreq=37400
xtalmode=0x20,0x4,0
boardnum=22
macaddr=00:90:4c:c5:12:38
ag0=252
ag1=252
aa2g=1
aa5g=1
ccode=EU
regrev=5
#for BT-coexistence
btc_params80=0
btc_params6=10
btc_params8=10000
sd_gpout=0
# sd_oobonly=1
muxenab=0x10
# 2G PA param_B42R 110927
pa0b0=0x12E4
pa0b1=0xFE09
pa0b2=0xFF9A
#pa0itssit=62
rssismf2g=0xa
rssismc2g=0x3
rssisav2g=0x7
# rssi params for 5GHz B42R_110803
#rssismf5g=0x4
rssismf5g=0xa
rssismc5g=0x7
rssisav5g=0x1
#PA parameters for lower band
pa1lob0=0x144F
pa1lob1=0xFD6B
pa1lob2=0xFF3B
#PA parameters for midband
pa1b0=0x139C
pa1b1=0xFD87
pa1b2=0xFF4F
#PA parameters for high band
pa1hib0=0x12CA
pa1hib1=0xFD9A
pa1hib2=0xFF4E
# 2G PA offset
maxp2ga0=64
sromrev=3
cckpo=0
ofdm2gpo=0x66666666
mcs2gpo0=0xaaaa
mcs2gpo1=0xaaaa
# 5G PA offset
maxp5ga0=66
maxp5gla0=66
maxp5gha0=66
ofdm5gpo=0x22222222
ofdm5glpo=0x11111111
ofdm5ghpo=0x22222222
mcs5gpo0=0x6666
mcs5gpo1=0x6666
mcs5glpo0=0x5555
mcs5glpo1=0x5555
mcs5ghpo0=0x6666
mcs5ghpo1=0x6666
cckPwrOffset=4
cckdigfilttype=22
ofdmdigfilttype=2
extpagain5g=2
#wl0id=0x431b
# For 2GHz Tx EVM/SM
rfreg033=0x19
rfreg033_cck=0x1d
pacalidx2g=65
dacrate2g=160
txalpfbyp2g=1
bphyscale=17
# 5GHz LOFT and IQ CAL
txgaintbl5g=1
txiqlopapu5g=1
txiqlopag5g=0x10
iqlocalidx5g=24
# 5GHz Noise CAL parameter
noise_cal_po_5g=5
noise_cal_enable_5g=0
# 2GHz RxPER at low rates
noise_cal_ref_2g=56
noise_cal_po_bias_2g=-4
noise_cal_enable_2g=1
# Max input level on a-band
triso5g=9
# Tx power control, especially temp.
tssitime=1
#fc+1.7GHz Spur Elimination
loidacmode5g=1
swctrlmap_2g=0x84048404, 0x82028202, 0x84048404, 0x010202, 0x1ff
swctrlmap_5g=0xC040C040, 0xB030A020, 0xA020C040, 0x010A02, 0x2F8

View File

@ -0,0 +1,99 @@
#AP6335_NVRAM_V1.5_03112014
NVRAMRev=$Rev: 410316 $
sromrev=11
boardrev=0x1203
boardtype=0x06c5
boardflags=0x00000c01
boardflags2=0x00002000
boardflags3=0x101188
macaddr=00:90:4c:c5:12:38
ccode=0
regrev=0
antswitch=0
pdgain2g=7
pdgain5g=7
tworangetssi2g=0
tworangetssi5g=0
femctrl=7
pcieingress_war=15
vendid=0x14e4
devid=0x43ae
manfid=0x2d0
nocrc=1
otpimagesize=502
xtalfreq=37400
extpagain2g=2
pdetrange2g=2
extpagain5g=2
pdetrange5g=2
rxgains2gelnagaina0=0
rxgains2gtrisoa0=7
rxgains2gtrelnabypa0=0
rxgains5gelnagaina0=0
rxgains5gtrisoa0=11
rxgains5gtrelnabypa0=0
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=0
tssipos2g=0
pa2ga0=-161,6269,-723
pa2gccka0=-116,7568,-852
pa5ga0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
pa5gbw40a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
pa5gbw80a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
pdoffset40ma0=0
pdoffset80ma0=0
pdoffsetcckma0=0
maxp2ga0=75
maxp5ga0=64,64,72,72
cckbw202gpo=0x0000
cckbw20ul2gpo=0x0
mcsbw202gpo=0x99445533
mcsbw402gpo=0x99775533
dot11agofdmhrbw202gpo=0x2233
ofdmlrbw202gpo=0x0000
tssifloor2g=500
mcsbw205glpo=0x66333330
mcsbw405glpo=0x66665530
mcsbw805glpo=0xAA555530
mcsbw1605glpo=0x99555530
mcsbw205gmpo=0x99BB5530
mcsbw405gmpo=0x99BB5530
mcsbw805gmpo=0xEE555530
mcsbw1605gmpo=0x99555530
mcsbw205ghpo=0x99995530
mcsbw405ghpo=0x99BB5530
mcsbw805ghpo=0xEE555530
mcsbw1605ghpo=0x99555530
mcslr5glpo=0x0000
mcslr5gmpo=0x0000
mcslr5ghpo=0x0000
sb20in40hrrpo=0x0
sb20in80and160hr5glpo=0x0
sb40and80hr5glpo=0x0
sb20in80and160hr5gmpo=0x0
sb40and80hr5gmpo=0x0
sb20in80and160hr5ghpo=0x0
sb40and80hr5ghpo=0x0
sb20in40lrpo=0x0
sb20in80and160lr5glpo=0x0
sb40and80lr5glpo=0x0
sb20in80and160lr5gmpo=0x0
sb40and80lr5gmpo=0x0
sb20in80and160lr5ghpo=0x0
sb40and80lr5ghpo=0x0
dot11agduphrpo=0x0
dot11agduplrpo=0x0
phycal_tempdelta=25
cckdigfilttype=2
pacalidx2g=65
dacrate2g=160
swctrlmap_5g=0x00000008,0x00000010,0x00000008,0x000000,0x038
swctrlmap_2g=0x00000001,0x00000002,0x00000001,0x040002,0x0ff
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
rssicorrnorm_c0=3,3
rssicorrnorm5g_c0=2,3,4,2,3,3,0,1,2,0,1,2
muxenab=0x10

View File

@ -0,0 +1,118 @@
manfid=0x2d0
prodid=0x0532
vendid=0x14e4
devid=0x4360
boardtype=0x0532
boardrev=0x20
boardflags=0x10080201
nocrc=1
xtalfreq=37400
xtalmode=0x20,0x4,0
boardnum=22
macaddr=00:90:4c:c5:12:38
ag0=252
ag1=252
aa2g=1
aa5g=1
ccode=EU
regrev=5
#for BT-coexistence
btc_params80=0
btc_params6=10
btc_params8=10000
sd_gpout=0
# sd_oobonly=1
muxenab=0x10
# 2G PA param_B42R 110927
pa0b0=0x12E4
pa0b1=0xFE09
pa0b2=0xFF9A
#pa0itssit=62
rssismf2g=0xa
rssismc2g=0x3
rssisav2g=0x7
# rssi params for 5GHz B42R_110803
#rssismf5g=0x4
rssismf5g=0xa
rssismc5g=0x7
rssisav5g=0x1
#PA parameters for lower band
pa1lob0=0x144F
pa1lob1=0xFD6B
pa1lob2=0xFF3B
#PA parameters for midband
pa1b0=0x139C
pa1b1=0xFD87
pa1b2=0xFF4F
#PA parameters for high band
pa1hib0=0x12CA
pa1hib1=0xFD9A
pa1hib2=0xFF4E
# 2G PA offset
maxp2ga0=64
sromrev=3
cckpo=0
ofdm2gpo=0x66666666
mcs2gpo0=0xaaaa
mcs2gpo1=0xaaaa
# 5G PA offset
maxp5ga0=66
maxp5gla0=66
maxp5gha0=66
ofdm5gpo=0x22222222
ofdm5glpo=0x11111111
ofdm5ghpo=0x22222222
mcs5gpo0=0x6666
mcs5gpo1=0x6666
mcs5glpo0=0x5555
mcs5glpo1=0x5555
mcs5ghpo0=0x6666
mcs5ghpo1=0x6666
cckPwrOffset=4
cckdigfilttype=22
ofdmdigfilttype=2
extpagain5g=2
#wl0id=0x431b
# For 2GHz Tx EVM/SM
rfreg033=0x19
rfreg033_cck=0x1d
pacalidx2g=65
dacrate2g=160
txalpfbyp2g=1
bphyscale=17
# 5GHz LOFT and IQ CAL
txgaintbl5g=1
txiqlopapu5g=1
txiqlopag5g=0x10
iqlocalidx5g=24
# 5GHz Noise CAL parameter
noise_cal_po_5g=5
noise_cal_enable_5g=0
# 2GHz RxPER at low rates
noise_cal_ref_2g=56
noise_cal_po_bias_2g=-4
noise_cal_enable_2g=1
# Max input level on a-band
triso5g=9
# Tx power control, especially temp.
tssitime=1
#fc+1.7GHz Spur Elimination
loidacmode5g=1
swctrlmap_2g=0x84048404, 0x82028202, 0x84048404, 0x010202, 0x1ff
swctrlmap_5g=0xC040C040, 0xB030A020, 0xA020C040, 0x010A02, 0x2F8

View File

@ -0,0 +1,99 @@
#AP6335_NVRAM_V1.5_03112014
NVRAMRev=$Rev: 410316 $
sromrev=11
boardrev=0x1203
boardtype=0x06c5
boardflags=0x00000c01
boardflags2=0x00002000
boardflags3=0x101188
macaddr=00:90:4c:c5:12:38
ccode=0
regrev=0
antswitch=0
pdgain2g=7
pdgain5g=7
tworangetssi2g=0
tworangetssi5g=0
femctrl=7
pcieingress_war=15
vendid=0x14e4
devid=0x43ae
manfid=0x2d0
nocrc=1
otpimagesize=502
xtalfreq=37400
extpagain2g=2
pdetrange2g=2
extpagain5g=2
pdetrange5g=2
rxgains2gelnagaina0=0
rxgains2gtrisoa0=7
rxgains2gtrelnabypa0=0
rxgains5gelnagaina0=0
rxgains5gtrisoa0=11
rxgains5gtrelnabypa0=0
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=0
tssipos2g=0
pa2ga0=-161,6269,-723
pa2gccka0=-116,7568,-852
pa5ga0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
pa5gbw40a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
pa5gbw80a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
pdoffset40ma0=0
pdoffset80ma0=0
pdoffsetcckma0=0
maxp2ga0=75
maxp5ga0=64,64,72,72
cckbw202gpo=0x0000
cckbw20ul2gpo=0x0
mcsbw202gpo=0x99445533
mcsbw402gpo=0x99775533
dot11agofdmhrbw202gpo=0x2233
ofdmlrbw202gpo=0x0000
tssifloor2g=500
mcsbw205glpo=0x66333330
mcsbw405glpo=0x66665530
mcsbw805glpo=0xAA555530
mcsbw1605glpo=0x99555530
mcsbw205gmpo=0x99BB5530
mcsbw405gmpo=0x99BB5530
mcsbw805gmpo=0xEE555530
mcsbw1605gmpo=0x99555530
mcsbw205ghpo=0x99995530
mcsbw405ghpo=0x99BB5530
mcsbw805ghpo=0xEE555530
mcsbw1605ghpo=0x99555530
mcslr5glpo=0x0000
mcslr5gmpo=0x0000
mcslr5ghpo=0x0000
sb20in40hrrpo=0x0
sb20in80and160hr5glpo=0x0
sb40and80hr5glpo=0x0
sb20in80and160hr5gmpo=0x0
sb40and80hr5gmpo=0x0
sb20in80and160hr5ghpo=0x0
sb40and80hr5ghpo=0x0
sb20in40lrpo=0x0
sb20in80and160lr5glpo=0x0
sb40and80lr5glpo=0x0
sb20in80and160lr5gmpo=0x0
sb40and80lr5gmpo=0x0
sb20in80and160lr5ghpo=0x0
sb40and80lr5ghpo=0x0
dot11agduphrpo=0x0
dot11agduplrpo=0x0
phycal_tempdelta=25
cckdigfilttype=2
pacalidx2g=65
dacrate2g=160
swctrlmap_5g=0x00000008,0x00000010,0x00000008,0x000000,0x038
swctrlmap_2g=0x00000001,0x00000002,0x00000001,0x040002,0x0ff
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
rssicorrnorm_c0=3,3
rssicorrnorm5g_c0=2,3,4,2,3,3,0,1,2,0,1,2
muxenab=0x10

View File

@ -0,0 +1,99 @@
#AP6335_NVRAM_V1.5_03112014
NVRAMRev=$Rev: 410316 $
sromrev=11
boardrev=0x1203
boardtype=0x06c5
boardflags=0x00000c01
boardflags2=0x00002000
boardflags3=0x101188
macaddr=00:90:4c:c5:12:38
ccode=0
regrev=0
antswitch=0
pdgain2g=7
pdgain5g=7
tworangetssi2g=0
tworangetssi5g=0
femctrl=7
pcieingress_war=15
vendid=0x14e4
devid=0x43ae
manfid=0x2d0
nocrc=1
otpimagesize=502
xtalfreq=37400
extpagain2g=2
pdetrange2g=2
extpagain5g=2
pdetrange5g=2
rxgains2gelnagaina0=0
rxgains2gtrisoa0=7
rxgains2gtrelnabypa0=0
rxgains5gelnagaina0=0
rxgains5gtrisoa0=11
rxgains5gtrelnabypa0=0
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=0
tssipos2g=0
pa2ga0=-161,6269,-723
pa2gccka0=-116,7568,-852
pa5ga0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
pa5gbw40a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
pa5gbw80a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
pdoffset40ma0=0
pdoffset80ma0=0
pdoffsetcckma0=0
maxp2ga0=75
maxp5ga0=64,64,72,72
cckbw202gpo=0x0000
cckbw20ul2gpo=0x0
mcsbw202gpo=0x99445533
mcsbw402gpo=0x99775533
dot11agofdmhrbw202gpo=0x2233
ofdmlrbw202gpo=0x0000
tssifloor2g=500
mcsbw205glpo=0x66333330
mcsbw405glpo=0x66665530
mcsbw805glpo=0xAA555530
mcsbw1605glpo=0x99555530
mcsbw205gmpo=0x99BB5530
mcsbw405gmpo=0x99BB5530
mcsbw805gmpo=0xEE555530
mcsbw1605gmpo=0x99555530
mcsbw205ghpo=0x99995530
mcsbw405ghpo=0x99BB5530
mcsbw805ghpo=0xEE555530
mcsbw1605ghpo=0x99555530
mcslr5glpo=0x0000
mcslr5gmpo=0x0000
mcslr5ghpo=0x0000
sb20in40hrrpo=0x0
sb20in80and160hr5glpo=0x0
sb40and80hr5glpo=0x0
sb20in80and160hr5gmpo=0x0
sb40and80hr5gmpo=0x0
sb20in80and160hr5ghpo=0x0
sb40and80hr5ghpo=0x0
sb20in40lrpo=0x0
sb20in80and160lr5glpo=0x0
sb40and80lr5glpo=0x0
sb20in80and160lr5gmpo=0x0
sb40and80lr5gmpo=0x0
sb20in80and160lr5ghpo=0x0
sb40and80lr5ghpo=0x0
dot11agduphrpo=0x0
dot11agduplrpo=0x0
phycal_tempdelta=25
cckdigfilttype=2
pacalidx2g=65
dacrate2g=160
swctrlmap_5g=0x00000008,0x00000010,0x00000008,0x000000,0x038
swctrlmap_2g=0x00000001,0x00000002,0x00000001,0x040002,0x0ff
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
rssicorrnorm_c0=3,3
rssicorrnorm5g_c0=2,3,4,2,3,3,0,1,2,0,1,2
muxenab=0x10

View File

@ -0,0 +1,42 @@
# 2.4 GHz, 20 MHz BW mode
manfid=0x2d0
prodid=0x0726
vendid=0x14e4
devid=0x43e2
boardtype=0x0726
boardrev=0x1202
boardnum=22
macaddr=00:90:4c:c5:12:38
sromrev=11
boardflags=0x00404201
boardflags3=0x08000000
xtalfreq=37400
nocrc=1
ag0=0
aa2g=1
ccode=ALL
#pa0itssit=0x20
extpagain2g=0
pa2ga0=-168,7161,-820
AvVmid_c0=0x0,0xc8
cckpwroffset0=5
maxp2ga0=90
#txpwrbckof=6
cckbw202gpo=0
legofdmbw202gpo=0x66111111
mcsbw202gpo=0x77711111
propbw202gpo=0xdd
ofdmdigfilttype=18
ofdmdigfilttypebe=18
papdmode=1
papdvalidtest=1
pacalidx2g=48
papdepsoffset=-22
papdendidx=58
il0macaddr=00:90:4c:c5:12:38
wl0id=0x431b
#muxenab=0x10
#BT COEX deferral limit setting
#btc_params 8 45000
#btc_params 10 20000
#spurconfig=0x3

View File

@ -77,4 +77,3 @@ noise_cal_ref_2g=53
noise_cal_po_2g=0
noise_cal_ref_5g=52
noise_cal_po_5g=5,0,0

View File

@ -0,0 +1,118 @@
manfid=0x2d0
prodid=0x0532
vendid=0x14e4
devid=0x4360
boardtype=0x0532
boardrev=0x20
boardflags=0x10080201
nocrc=1
xtalfreq=37400
xtalmode=0x20,0x4,0
boardnum=22
macaddr=00:90:4c:c5:12:38
ag0=252
ag1=252
aa2g=1
aa5g=1
ccode=EU
regrev=5
#for BT-coexistence
btc_params80=0
btc_params6=10
btc_params8=10000
sd_gpout=0
# sd_oobonly=1
muxenab=0x10
# 2G PA param_B42R 110927
pa0b0=0x12E4
pa0b1=0xFE09
pa0b2=0xFF9A
#pa0itssit=62
rssismf2g=0xa
rssismc2g=0x3
rssisav2g=0x7
# rssi params for 5GHz B42R_110803
#rssismf5g=0x4
rssismf5g=0xa
rssismc5g=0x7
rssisav5g=0x1
#PA parameters for lower band
pa1lob0=0x144F
pa1lob1=0xFD6B
pa1lob2=0xFF3B
#PA parameters for midband
pa1b0=0x139C
pa1b1=0xFD87
pa1b2=0xFF4F
#PA parameters for high band
pa1hib0=0x12CA
pa1hib1=0xFD9A
pa1hib2=0xFF4E
# 2G PA offset
maxp2ga0=64
sromrev=3
cckpo=0
ofdm2gpo=0x66666666
mcs2gpo0=0xaaaa
mcs2gpo1=0xaaaa
# 5G PA offset
maxp5ga0=66
maxp5gla0=66
maxp5gha0=66
ofdm5gpo=0x22222222
ofdm5glpo=0x11111111
ofdm5ghpo=0x22222222
mcs5gpo0=0x6666
mcs5gpo1=0x6666
mcs5glpo0=0x5555
mcs5glpo1=0x5555
mcs5ghpo0=0x6666
mcs5ghpo1=0x6666
cckPwrOffset=4
cckdigfilttype=22
ofdmdigfilttype=2
extpagain5g=2
#wl0id=0x431b
# For 2GHz Tx EVM/SM
rfreg033=0x19
rfreg033_cck=0x1d
pacalidx2g=65
dacrate2g=160
txalpfbyp2g=1
bphyscale=17
# 5GHz LOFT and IQ CAL
txgaintbl5g=1
txiqlopapu5g=1
txiqlopag5g=0x10
iqlocalidx5g=24
# 5GHz Noise CAL parameter
noise_cal_po_5g=5
noise_cal_enable_5g=0
# 2GHz RxPER at low rates
noise_cal_ref_2g=56
noise_cal_po_bias_2g=-4
noise_cal_enable_2g=1
# Max input level on a-band
triso5g=9
# Tx power control, especially temp.
tssitime=1
#fc+1.7GHz Spur Elimination
loidacmode5g=1
swctrlmap_2g=0x84048404, 0x82028202, 0x84048404, 0x010202, 0x1ff
swctrlmap_5g=0xC040C040, 0xB030A020, 0xA020C040, 0x010A02, 0x2F8

View File

@ -1 +1 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

View File

@ -0,0 +1,63 @@
# Copyright (C) 2017-2023 NXP
DESCRIPTION = "i.MX ARM Trusted Firmware"
SECTION = "BSP"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
PROVIDES = "imx-atf"
PV .= "+git${SRCPV}"
SRCBRANCH = "boundary-lf-6.1.22-2.0.0"
SRC_URI = "git://github.com/boundarydevices/imx-atf.git;branch=${SRCBRANCH};protocol=https \
"
SRCREV = "7e3484cc10bfc9a53c1e64867b3fb99761f7c375"
S = "${WORKDIR}/git"
inherit deploy
BOOT_TOOLS = "imx-boot-tools"
ATF_PLATFORM ?= "INVALID"
ATF_PLATFORM:mx8mq-nxp-bsp = "imx8mq"
ATF_PLATFORM:mx8mm-nxp-bsp = "imx8mm"
ATF_PLATFORM:mx8mn-nxp-bsp = "imx8mn"
ATF_PLATFORM:mx8mp-nxp-bsp = "imx8mp"
EXTRA_OEMAKE += " \
CROSS_COMPILE="${TARGET_PREFIX}" \
PLAT=${ATF_PLATFORM} \
"
# Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a standalone application
CFLAGS[unexport] = "1"
LDFLAGS[unexport] = "1"
AS[unexport] = "1"
LD[unexport] = "1"
BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}"
do_compile() {
# Clear LDFLAGS to avoid the option -Wl recognize issue
unset LDFLAGS
oe_runmake bl31
if ${BUILD_OPTEE}; then
oe_runmake clean BUILD_BASE=build-optee
oe_runmake BUILD_BASE=build-optee SPD=opteed bl31
fi
}
do_install[noexec] = "1"
do_deploy() {
install -Dm 0644 ${S}/build/${ATF_PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${ATF_PLATFORM}.bin
if ${BUILD_OPTEE}; then
install -m 0644 ${S}/build-optee/${ATF_PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${ATF_PLATFORM}.bin-optee
fi
}
addtask deploy after do_compile
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
COMPATIBLE_MACHINE = "(nitrogen8m|nitrogen8mm|nitrogen8mn|nitrogen8mp)"

View File

@ -1,271 +0,0 @@
Add cfa10036 support
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
diff --git a/Makefile b/Makefile
index 367738c..a9c5d21 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,9 @@ endif
ifeq ($(BOARD), iMX28_EVK)
ARCH = mx28
endif
+ifeq ($(BOARD), cfa10036)
+ARCH = mx28
+endif
all: build_prep gen_bootstream
diff --git a/boot_prep/Makefile b/boot_prep/Makefile
index 0267ede..86570fc 100644
--- a/boot_prep/Makefile
+++ b/boot_prep/Makefile
@@ -23,6 +23,30 @@ MEM_TYPE ?= MEM_DDR1
CFLAGS = -g -Wall -I$(INCLUDEDIR) -I$(INCLUDEDIR)/mach -I./ -O -D$(MEM_TYPE)
LDFLAGS = -static -nostdlib -T $(BOOT_LAYOUT)
+# The board defines STMP CPU family and peripherial components
+# So, set ARCH and HW_OBJS variables for each supported board
+# separately.
+ifeq ($(BOARD), stmp37xx_dev)
+ARCH = 37xx
+HW_OBJS = $(LRADC_OBJS)
+CFLAGS += -DSTMP37XX -DBOARD_STMP37XX_DEV
+endif
+ifeq ($(BOARD), stmp378x_dev)
+ARCH = mx23
+HW_OBJS = $(LRADC_OBJS)
+CFLAGS += -DSTMP378X -DBOARD_STMP378X_DEV
+endif
+ifeq ($(BOARD), iMX28_EVK)
+ARCH = mx28
+HW_OBJS = $(LRADC_OBJS)
+CFLAGS += -DMX28 -DBOARD_MX28_EVK
+endif
+ifeq ($(BOARD), cfa10036)
+ARCH = mx28
+HW_OBJS = $(LRADC_OBJS)
+CFLAGS += -DMX28 -DBOARD_CFA10036
+endif
+
# Generic code
CORE_OBJS = init-$(ARCH).o debug.o
diff --git a/boot_prep/init-mx28.c b/boot_prep/init-mx28.c
index a1e4752..480a1c2 100644
--- a/boot_prep/init-mx28.c
+++ b/boot_prep/init-mx28.c
@@ -752,17 +752,17 @@ void DDR2EmiController_EDE1116_200MHz(void)
DRAM_REG[24] = 0x00000000;
DRAM_REG[25] = 0x00000000;
DRAM_REG[26] = 0x00010101;
- DRAM_REG[27] = 0x01010101;
+ DRAM_REG[27] = 0x01010101; // 0000000 1 0000000 1 0000000 1 0000000 1
DRAM_REG[28] = 0x000f0f01;
- DRAM_REG[29] = 0x0f02020a;
+ DRAM_REG[29] = 0x0f02010a; // 0000 1111 00000 010 00000 001 0000 1010
DRAM_REG[30] = 0x00000000;
- DRAM_REG[31] = 0x00010101;
- DRAM_REG[32] = 0x00000100;
+ DRAM_REG[31] = 0x00010101; // 000000000000000 1(8 banks) 0000000 1 0000000 1
+ DRAM_REG[32] = 0x00000100; // 0000000000000000 0000000 1(REDUC) 0000000 0(REG_DIMM_ENABLE)
DRAM_REG[33] = 0x00000100;
DRAM_REG[34] = 0x00000000;
- DRAM_REG[35] = 0x00000002;
+ DRAM_REG[35] = 0x00000002; // 000000000000000 0 0000000 0 0000 0010
DRAM_REG[36] = 0x01010000;
- DRAM_REG[37] = 0x07080403;
+ DRAM_REG[37] = 0x07080503; // 0000 0111 0000 1000 00000 101(CAS5) 0000 0011
DRAM_REG[38] = 0x06005003;
DRAM_REG[39] = 0x0a0000c8;
DRAM_REG[40] = 0x02009c40;
@@ -1300,12 +1300,54 @@ void poweron_vdda()
HW_POWER_VDDACTRL_WR( BF_POWER_VDDACTRL_TRG(0xC) | BF_POWER_VDDACTRL_BO_OFFSET(7)
| BF_POWER_VDDACTRL_LINREG_OFFSET(2) );
}
+
+/*
+ * Check memory range for valid RAM. A simple memory test determines
+ * the actually available RAM size between addresses `base' and
+ * `base + maxsize'.
+ * Copied and pasted from barebox common/memsize.c file
+ */
+long get_ram_size(long *base, long maxsize)
+{
+ volatile long *addr;
+ long cnt;
+ long val;
+ long size;
+ int i = 0;
+
+ for (cnt = (maxsize / sizeof (long)) >> 1; cnt > 0; cnt >>= 1) {
+ addr = base + cnt; /* pointer arith! */
+ *addr = ~cnt;
+ }
+
+ addr = base;
+ *addr = 0;
+
+ for (cnt = 1; cnt < maxsize / sizeof (long); cnt <<= 1) {
+ addr = base + cnt; /* pointer arith! */
+ val = *addr;
+ if (val != ~cnt) {
+ size = cnt * sizeof (long);
+ return (size);
+ }
+ }
+
+ return (maxsize);
+}
+
int _start(int arg)
{
unsigned int value;
- volatile int *pTest = 0x40000000;
- int i;
-
+ int memsize;
+
+#ifdef BOARD_CFA10036
+ /* Remove all the previous DUART muxing */
+ HW_PINCTRL_MUXSEL6_CLR((3 << 4) | (3 << 6));
+ HW_PINCTRL_MUXSEL7_CLR((3 << 0) | (3 << 2));
+ HW_PINCTRL_MUXSEL7_CLR((3 << 16) | (3 << 18));
+ /* Mux only the DUART to pins actually used for this function */
+ HW_PINCTRL_MUXSEL6_SET((2 << 4) | (2 << 6));
+#else
//boot rom wrong use debug uart port.
//If fuse burned, the below two line can be removed.
HW_PINCTRL_MUXSEL7_CLR(0xF);
@@ -1315,6 +1357,7 @@ int _start(int arg)
* which cause uboot can't input
*/
HW_PINCTRL_MUXSEL7_SET(0x30000);
+#endif
#ifdef MEM_MDDR
/* set to mddr mode*/
@@ -1374,28 +1417,8 @@ int _start(int arg)
change_cpu_freq();
-#if 0
- for (i = 0; i <= 40; i++) {
- printf("mem %x - 0x%x\r\n",
- i, *(volatile int*)(0x800E0000 + i * 4));
- }
-#endif
-
- /*Test Memory;*/
- printf("start test memory accress\r\n");
- printf("ddr2 0x%x\r\n", pTest);
- for (i = 0; i < 1000; i++)
- *pTest++ = i;
-
- pTest = (volatile int *)0x40000000;
-
- for (i = 0; i < 1000; i++) {
- if (*pTest != (i)) {
- printf("0x%x error value 0x%x\r\n", i, *pTest);
- }
- pTest++;
- }
- printf("finish simple test\r\n");
+ memsize = get_ram_size((long *)0x40000000, 0x10000000);
+ printf("finish simple test memory size = 0x%xMB\r\n", memsize >> 20);
return 0;
}
diff --git a/linux_prep/Makefile b/linux_prep/Makefile
index 19b02a9..b33e4c1 100644
--- a/linux_prep/Makefile
+++ b/linux_prep/Makefile
@@ -69,6 +69,11 @@ ARCH = mx28
HW_OBJS = $(LRADC_OBJS)
CFLAGS += -DMX28 -DBOARD_MX28_EVK
endif
+ifeq ($(BOARD), cfa10036)
+ARCH = mx28
+HW_OBJS = $(LRADC_OBJS)
+CFLAGS += -DMX28 -DBOARD_CFA10036
+endif
# Generic code
CORE_OBJS = entry.o resume.o cmdlines.o setup.o keys.o
diff --git a/linux_prep/board/cfa10036.c b/linux_prep/board/cfa10036.c
new file mode 100644
index 0000000..b084ed4
--- /dev/null
+++ b/linux_prep/board/cfa10036.c
@@ -0,0 +1,51 @@
+/*
+ * Platform specific data for the STMP37XX development board
+ *
+ * Vladislav Buzov <vbuzov@embeddedalley.com>
+ *
+ * Copyright 2008 SigmaTel, Inc
+ * Copyright 2008 Embedded Alley Solutions, Inc
+ * Copyright 2008-2010 Freescale Semiconductor, Inc. All Rights Reserved.
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+#include <setup.h>
+#include <keys.h>
+#include <lradc_buttons.h>
+
+/************************************************
+ * LRADC keyboard data *
+ ************************************************/
+int lradc_keypad_ch = LRADC_CH1;
+int lradc_vddio_ch = LRADC_CH10;
+
+struct lradc_keycode lradc_keycodes[] = {
+ { 100, KEY4 },
+ { 306, KEY5 },
+ { 626, KEY6 },
+ { 932, KEY7 },
+ { 1260, KEY8 },
+ { 1584, KEY9 },
+ { 1757, KEY10 },
+ { 2207, KEY11 },
+ { 2525, KEY12 },
+ { 2831, KEY13 },
+ { 3134, KEY14 },
+ { -1, 0 },
+};
+
+/************************************************
+ * Magic key combinations for Armadillo *
+ ************************************************/
+u32 magic_keys[MAGIC_KEY_NR] = {
+ [MAGIC_KEY1] = KEY4,
+ [MAGIC_KEY2] = KEY6,
+ [MAGIC_KEY3] = KEY10,
+};
+
+/************************************************
+ * Default command line *
+ ************************************************/
+char cmdline_def[] = "console=ttyAMA0,115200";
diff --git a/linux_prep/cmdlines/cfa10036.txt b/linux_prep/cmdlines/cfa10036.txt
new file mode 100644
index 0000000..486ffe8
--- /dev/null
+++ b/linux_prep/cmdlines/cfa10036.txt
@@ -0,0 +1 @@
+console=ttyAMA0,115200 root=/dev/mmcblk0p3 rw rootwait
diff --git a/linux_prep/include/mx28/platform.h b/linux_prep/include/mx28/platform.h
index d4063f8..3d1f1d7 100644
--- a/linux_prep/include/mx28/platform.h
+++ b/linux_prep/include/mx28/platform.h
@@ -19,6 +19,8 @@
#if defined (BOARD_MX28_EVK)
#define MACHINE_ID 2531
+#elif defined (BOARD_CFA10036)
+#define MACHINE_ID 4142
#else
#error "Allocate a machine ID for your board"
#endif

View File

@ -1,4 +0,0 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append_cfa10036 = " file://cfa10036-support.patch"

View File

@ -0,0 +1,29 @@
From ba86203da14d21c9c48dcf02595d71901875a263 Mon Sep 17 00:00:00 2001
From: Max Krummenacher <max.krummenacher@toradex.com>
Date: Thu, 23 Jun 2022 08:31:46 +0000
Subject: [PATCH] Makefile: use oe ldflags
Prevents QA error about missing GNU_HASH in the binary.
Upstream-Status: Pending
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 4482baf..34afbd4 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ build/libmcc.a: build/libmcc.o
$(AR) rcs $@ $<
build/libmcc.so.1.0: build/libmcc.o
- $(CC) -shared -Wl,-soname,libmcc.so.1 -o $@ $< -lc
+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libmcc.so.1 -o $@ $< -lc
install:
mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib
--
2.20.1

View File

@ -0,0 +1,32 @@
From adef7a71a3bd40650685183c8a023000423ec880 Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Tue, 6 Jan 2015 12:03:27 -0200
Subject: [PATCH] build: Fix symlink generation
Organization: O.S. Systems Software LTDA.
Upstream-Status: Pending
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index ac46f5c..248b2eb 100644
--- a/Makefile
+++ b/Makefile
@@ -14,9 +14,8 @@ install:
mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib
cp -f build/libmcc.so.* build/libmcc.a $(DESTDIR)/usr/lib
cp -f include/*.h $(DESTDIR)/usr/include
- cd $(DESTDIR)/usr/lib/
- ln -sf libmcc.so.1.0 libmcc.so.1
- ln -sf libmcc.so.1 libmcc.so
+ ln -sf libmcc.so.1.0 $(DESTDIR)/usr/lib/libmcc.so.1
+ ln -sf libmcc.so.1 $(DESTDIR)/usr/lib/libmcc.so
clean:
rm -rf build
--
2.1.4

View File

@ -0,0 +1,19 @@
libmcc: build with versioned soname
This adds a versioned soname to the shared library during linking.
Otherwise an application linked with '-lmcc' needs libmcc.so for execution,
having libmcc.so.1 would not be enough.
Upstream-Status: Pending
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
--- a/Makefile 2015-01-07 17:09:13.657675270 +0100
+++ b/Makefile 2015-01-07 17:21:19.457545709 +0100
@@ -8,7 +8,7 @@
$(AR) rcs $@ $<
build/libmcc.so.1.0: build/libmcc.o
- $(CC) -shared -o $@ $<
+ $(CC) -shared -Wl,-soname,libmcc.so.1 -o $@ $< -lc
install:
mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib

View File

@ -0,0 +1,30 @@
# Copyright (C) 2013 Timesys Corporation
SUMMARY = "Multicore communication Library"
LICENSE = "GPL-2.0-only | BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d \
file://BSD_LICENSE;md5=10695b8f86532e5e44640acf4d92a2ef"
DEPENDS = "virtual/kernel-module-mcc"
SRC_URI = "http://repository.timesys.com/buildsources/l/libmcc/libmcc-${PV}/libmcc-${PV}.tar.bz2 \
file://build-Fix-symlink-generation.patch \
file://build-with-versioned-soname.patch \
file://0001-Makefile-use-oe-ldflags.patch \
"
SRC_URI[sha256sum] = "5d6d85f2f17ba1016c24e3a1c1c934a9267021edaed67b63879112151f48562c"
S = "${WORKDIR}/libmcc-${PV}"
CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
RDEPENDS:${PN} = "virtual/kernel-module-mcc"
COMPATIBLE_MACHINE = "(vf-generic-bsp)"
do_install() {
oe_runmake 'DESTDIR=${D}' install
}
RDEPENDS:${PN}-dev += "virtual/kernel-module-mcc-dev"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@ -0,0 +1,7 @@
FILESEXTRAPATHS:append:lx2160acex7 := "${THISDIR}/${PN}-lx2160acex7:"
SRC_URI:append:lx2160acex7 = "\
file://0001-lx2160acex7-add-8x10G-dual-40G-and-dual-100G-DPL-DPC.patch \
"
MC_FLAVOUR:lx2160acex7 = "CEX7"

View File

@ -0,0 +1,29 @@
From 368ee177806f15194acf352c83f64ba697a613ac Mon Sep 17 00:00:00 2001
From: Max Krummenacher <max.krummenacher@toradex.com>
Date: Thu, 23 Jun 2022 08:46:14 +0000
Subject: [PATCH] Makefile: use OE ldflags
Prevents QA error about missing GNU_HASH in the binary.
Upstream-Status: Pending
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 37da46f..74cf280 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ all: build/mqxboot
build/mqxboot: src/mqxboot.c
mkdir -p build/
- $(CC) $< -o $@ $(CFLAGS)
+ $(CC) $< -o $@ $(CFLAGS) $(LDFLAGS)
install:
mkdir -p $(INSTALL_PATH)
--
2.20.1

View File

@ -0,0 +1,26 @@
# Copyright (C) 2013 Timesys Corporation
SUMMARY = "MQX Image loader - starts an MQX image on the M4"
LICENSE = "GPL-2.0-only | BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d \
file://BSD_LICENSE;md5=10695b8f86532e5e44640acf4d92a2ef"
DEPENDS = "virtual/kernel-module-mcc"
SRC_URI = " \
http://repository.timesys.com/buildsources/m/mqxboot/mqxboot-${PV}/mqxboot-${PV}.tar.bz2 \
file://0001-Makefile-use-OE-ldflags.patch \
"
SRC_URI[sha256sum] = "32444409de5e809b9347e275a3bf78623a89e9ecce3188ebac79318b2b7c39b3"
S = "${WORKDIR}/mqxboot-${PV}"
CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
RDEPENDS:${PN} = "virtual/kernel-module-mcc"
COMPATIBLE_MACHINE = "(vf-generic-bsp)"
do_install() {
oe_runmake 'DESTDIR=${D}' install
}

View File

@ -0,0 +1,640 @@
From ef5ab1b5a7262a6ef9caf334b0c772b0ebf00fdf Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Sun, 28 Jul 2019 14:43:06 +0300
Subject: [PATCH] lx2160acex7 misc RCW files
This patch adds support for lx2160a rcw project.
In general RCW has lots of redundent files and can be restructured
better as in this patch.
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
lx2160acex7/Makefile | 2 +
lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig | 61 +++++++++++++++++++
.../rcw_1900_600_2600_17_4_2.rcw | 4 ++
.../rcw_1900_600_2600_17_4_2_sd.rcw | 4 ++
.../rcw_2000_700_2400_13_5_2_sd.rcw | 4 ++
.../rcw_2000_700_2400_20_5_2_sd.rcw | 4 ++
.../rcw_2000_700_2400_8_5_2_sd.rcw | 4 ++
.../rcw_2000_700_2600_8_5_2_sd.rcw | 4 ++
.../rcw_2000_700_2900_17_4_2_sd.rcw | 4 ++
.../rcw_2000_700_2900_8_5_2_sd.rcw | 4 ++
.../rcw_2000_700_3200_17_4_2_sd.rcw | 4 ++
.../rcw_2000_700_3200_20_5_2_sd.rcw | 4 ++
.../rcw_2000_700_3200_8_5_0_sd.rcw | 4 ++
.../rcw_2000_700_3200_8_5_2_sd.rcw | 4 ++
.../rcw_2000_700_3200_8_5_2_xspi.rcw | 4 ++
.../rcw_2400_700_3200_8_5_2_sd.rcw | 4 ++
.../rcw_2500_700_3200_8_5_2_sd.rcw | 4 ++
.../rcw_2600_700_3200_8_5_2_sd.rcw | 4 ++
.../XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw | 4 ++
lx2160acex7/configs/lx2160a_13_5_2.rcwi | 3 +
lx2160acex7/configs/lx2160a_17_4_2.rcwi | 7 +++
.../configs/lx2160a_1900_600_2600.rcwi | 12 ++++
.../configs/lx2160a_2000_700_2400.rcwi | 12 ++++
.../configs/lx2160a_2000_700_2600.rcwi | 12 ++++
.../configs/lx2160a_2000_700_2900.rcwi | 12 ++++
.../configs/lx2160a_2000_700_3200.rcwi | 12 ++++
lx2160acex7/configs/lx2160a_20_5_2.rcwi | 7 +++
.../configs/lx2160a_2400_700_3200.rcwi | 12 ++++
.../configs/lx2160a_2500_700_3200.rcwi | 12 ++++
.../configs/lx2160a_2600_700_3200.rcwi | 12 ++++
lx2160acex7/configs/lx2160a_8_5_0.rcwi | 7 +++
lx2160acex7/configs/lx2160a_8_5_2.rcwi | 7 +++
lx2160acex7/configs/lx2160a_defaults.rcwi | 19 ++++++
lx2160acex7/configs/lx2160a_sdboot.rcwi | 20 ++++++
lx2160acex7/configs/lx2160a_test.rcwi | 20 ++++++
lx2160acex7/configs/lx2160a_xspiboot.rcwi | 17 ++++++
36 files changed, 334 insertions(+)
create mode 100644 lx2160acex7/Makefile
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_13_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_20_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_8_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2600_8_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_17_4_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_8_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_17_4_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_20_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_0_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_xspi.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2400_700_3200_8_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2500_700_3200_8_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2600_700_3200_8_5_2_sd.rcw
create mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw
create mode 100644 lx2160acex7/configs/lx2160a_13_5_2.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_17_4_2.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_1900_600_2600.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_2000_700_2400.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_2000_700_2600.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_2000_700_2900.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_2000_700_3200.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_20_5_2.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_2400_700_3200.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_2500_700_3200.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_2600_700_3200.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_8_5_0.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_8_5_2.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_defaults.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_sdboot.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_test.rcwi
create mode 100644 lx2160acex7/configs/lx2160a_xspiboot.rcwi
diff --git a/lx2160acex7/Makefile b/lx2160acex7/Makefile
new file mode 100644
index 0000000..d7e9447
--- /dev/null
+++ b/lx2160acex7/Makefile
@@ -0,0 +1,2 @@
+include ../Makefile.inc
+
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig
new file mode 100644
index 0000000..cdb6446
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig
@@ -0,0 +1,61 @@
+/*
+ * SerDes Protocol 1 - 19
+ * SerDes Protocol 2 - 5
+ * SerDes Protocol 3 - 2
+ *
+ * Frequencies:
+ * Core -- 1900 MHz
+ * Platform -- 600 MHz
+ * DDR -- 2600 MT/s
+ */
+
+#include <../lx2160asi/lx2160a.rcwi>
+
+SYS_PLL_RAT=12
+MEM_PLL_CFG=3
+MEM_PLL_RAT=26
+MEM2_PLL_CFG=3
+MEM2_PLL_RAT=26
+CGA_PLL1_RAT=19
+CGA_PLL2_RAT=19
+CGB_PLL1_RAT=19
+CGB_PLL2_RAT=9
+C5_PLL_SEL=0
+C6_PLL_SEL=0
+C7_PLL_SEL=0
+C8_PLL_SEL=0
+HWA_CGA_M1_CLK_SEL=1
+HWA_CGB_M1_CLK_SEL=7
+BOOT_LOC=26
+SYSCLK_FREQ=600
+IIC2_PMUX=6
+IIC3_PMUX=2
+IIC4_PMUX=2
+USB3_CLK_FSEL=39
+SRDS_PRTCL_S1=19
+SRDS_PRTCL_S2=5
+SRDS_PRTCL_S3=2
+SRDS_PLL_REF_CLK_SEL_S1=2
+SRDS_DIV_PEX_S1=1
+SRDS_DIV_PEX_S2=3
+SRDS_DIV_PEX_S3=1
+
+/* Errata to write on scratch reg for validation */
+#include <../lx2160asi/scratchrw1.rcw>
+
+/* Copy SPL Uboot to Ocram */
+.pbi
+blockcopy 0x08,0x00100000,0x1800a000,0x00020000
+.end
+
+/* Boot Location Pointer */
+#include <../lx2160asi/bootlocptr_sd.rcw>
+
+/* Errata for SATA controller */
+#include <../lx2160asi/a010554.rcw>
+
+/* Modify FlexSPI Clock Divisor value */
+#include <../lx2160asi/flexspi_divisor_24.rcw>
+
+/* common PBI commands */
+#include <../lx2160asi/common.rcw>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2.rcw
new file mode 100644
index 0000000..13ab0b9
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_1900_600_2600.rcwi>
+#include <configs/lx2160a_17_4_2.rcwi>
+#include <configs/lx2160a_xspiboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2_sd.rcw
new file mode 100644
index 0000000..14fae8c
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_1900_600_2600.rcwi>
+#include <configs/lx2160a_17_4_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_13_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_13_5_2_sd.rcw
new file mode 100644
index 0000000..2dae5a2
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_13_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_2400.rcwi>
+#include <configs/lx2160a_13_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_20_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_20_5_2_sd.rcw
new file mode 100644
index 0000000..5335072
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_20_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_2400.rcwi>
+#include <configs/lx2160a_20_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_8_5_2_sd.rcw
new file mode 100644
index 0000000..e2a5bd3
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_8_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_2400.rcwi>
+#include <configs/lx2160a_8_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2600_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2600_8_5_2_sd.rcw
new file mode 100644
index 0000000..a330bfe
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2600_8_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_2600.rcwi>
+#include <configs/lx2160a_8_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_17_4_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_17_4_2_sd.rcw
new file mode 100644
index 0000000..8535dbd
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_17_4_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_2900.rcwi>
+#include <configs/lx2160a_17_4_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_8_5_2_sd.rcw
new file mode 100644
index 0000000..698be01
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_8_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_2900.rcwi>
+#include <configs/lx2160a_8_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_17_4_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_17_4_2_sd.rcw
new file mode 100644
index 0000000..780d8c3
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_17_4_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_3200.rcwi>
+#include <configs/lx2160a_17_4_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_20_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_20_5_2_sd.rcw
new file mode 100644
index 0000000..eb9d240
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_20_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_3200.rcwi>
+#include <configs/lx2160a_20_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_0_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_0_sd.rcw
new file mode 100644
index 0000000..ceb53a3
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_0_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_3200.rcwi>
+#include <configs/lx2160a_8_5_0.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_sd.rcw
new file mode 100644
index 0000000..a220e98
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_3200.rcwi>
+#include <configs/lx2160a_8_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_xspi.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_xspi.rcw
new file mode 100644
index 0000000..1eabd7d
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_xspi.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2000_700_3200.rcwi>
+#include <configs/lx2160a_8_5_2.rcwi>
+#include <configs/lx2160a_xspiboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2400_700_3200_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2400_700_3200_8_5_2_sd.rcw
new file mode 100644
index 0000000..2ac59b1
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2400_700_3200_8_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2400_700_3200.rcwi>
+#include <configs/lx2160a_8_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2500_700_3200_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2500_700_3200_8_5_2_sd.rcw
new file mode 100644
index 0000000..e7c08df
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2500_700_3200_8_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2500_700_3200.rcwi>
+#include <configs/lx2160a_8_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2600_700_3200_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2600_700_3200_8_5_2_sd.rcw
new file mode 100644
index 0000000..1e7a8f7
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2600_700_3200_8_5_2_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_2600_700_3200.rcwi>
+#include <configs/lx2160a_8_5_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw
new file mode 100644
index 0000000..86f12f8
--- /dev/null
+++ b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw
@@ -0,0 +1,4 @@
+#include <configs/lx2160a_defaults.rcwi>
+#include <configs/lx2160a_test.rcwi>
+#include <configs/lx2160a_17_4_2.rcwi>
+#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/configs/lx2160a_13_5_2.rcwi b/lx2160acex7/configs/lx2160a_13_5_2.rcwi
new file mode 100644
index 0000000..76f44bc
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_13_5_2.rcwi
@@ -0,0 +1,3 @@
+SRDS_PRTCL_S1=13
+SRDS_PRTCL_S2=5
+SRDS_PRTCL_S3=2
diff --git a/lx2160acex7/configs/lx2160a_17_4_2.rcwi b/lx2160acex7/configs/lx2160a_17_4_2.rcwi
new file mode 100644
index 0000000..358972d
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_17_4_2.rcwi
@@ -0,0 +1,7 @@
+SRDS_PRTCL_S1=17
+SRDS_PRTCL_S2=4
+SRDS_PRTCL_S3=2
+
+/*SRDS_INTRA_REF_CLK_S1 = 1*/ /* PLLF used for PLLS */
+/*SRDS_PLL_REF_CLK_SEL_S1=2*/
+
diff --git a/lx2160acex7/configs/lx2160a_1900_600_2600.rcwi b/lx2160acex7/configs/lx2160a_1900_600_2600.rcwi
new file mode 100644
index 0000000..8b61021
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_1900_600_2600.rcwi
@@ -0,0 +1,12 @@
+CGA_PLL1_RAT=19
+CGA_PLL2_RAT=19
+CGB_PLL1_RAT=19
+CGB_PLL2_RAT=9
+
+SYS_PLL_RAT=12
+
+MEM_PLL_RAT=26
+MEM2_PLL_RAT=26
+
+/* Modify FlexSPI Clock Divisor value */
+/* #include <../lx2160asi/flexspi_divisor_24.rcw>*/
diff --git a/lx2160acex7/configs/lx2160a_2000_700_2400.rcwi b/lx2160acex7/configs/lx2160a_2000_700_2400.rcwi
new file mode 100644
index 0000000..6b0b150
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_2000_700_2400.rcwi
@@ -0,0 +1,12 @@
+CGA_PLL1_RAT=20
+CGA_PLL2_RAT=20
+CGB_PLL1_RAT=20
+CGB_PLL2_RAT=9
+
+SYS_PLL_RAT=14
+
+MEM_PLL_RAT=24
+MEM2_PLL_RAT=24
+
+/* Modify FlexSPI Clock Divisor value */
+/* #include <../lx2160asi/flexspi_divisor_28.rcw>*/
diff --git a/lx2160acex7/configs/lx2160a_2000_700_2600.rcwi b/lx2160acex7/configs/lx2160a_2000_700_2600.rcwi
new file mode 100644
index 0000000..21dce67
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_2000_700_2600.rcwi
@@ -0,0 +1,12 @@
+CGA_PLL1_RAT=20
+CGA_PLL2_RAT=20
+CGB_PLL1_RAT=20
+CGB_PLL2_RAT=9
+
+SYS_PLL_RAT=14
+
+MEM_PLL_RAT=26
+MEM2_PLL_RAT=26
+
+/* Modify FlexSPI Clock Divisor value */
+/* #include <../lx2160asi/flexspi_divisor_28.rcw>*/
diff --git a/lx2160acex7/configs/lx2160a_2000_700_2900.rcwi b/lx2160acex7/configs/lx2160a_2000_700_2900.rcwi
new file mode 100644
index 0000000..e6a8e30
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_2000_700_2900.rcwi
@@ -0,0 +1,12 @@
+CGA_PLL1_RAT=20
+CGA_PLL2_RAT=20
+CGB_PLL1_RAT=20
+CGB_PLL2_RAT=9
+
+SYS_PLL_RAT=14
+
+MEM_PLL_RAT=29
+MEM2_PLL_RAT=29
+
+/* Modify FlexSPI Clock Divisor value */
+/* #include <../lx2160asi/flexspi_divisor_28.rcw>*/
diff --git a/lx2160acex7/configs/lx2160a_2000_700_3200.rcwi b/lx2160acex7/configs/lx2160a_2000_700_3200.rcwi
new file mode 100644
index 0000000..27ee377
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_2000_700_3200.rcwi
@@ -0,0 +1,12 @@
+CGA_PLL1_RAT=20
+CGA_PLL2_RAT=20
+CGB_PLL1_RAT=20
+CGB_PLL2_RAT=9
+
+SYS_PLL_RAT=14
+
+MEM_PLL_RAT=32
+MEM2_PLL_RAT=32
+
+/* Modify FlexSPI Clock Divisor value */
+#include <../lx2160asi/flexspi_divisor_28.rcw>
diff --git a/lx2160acex7/configs/lx2160a_20_5_2.rcwi b/lx2160acex7/configs/lx2160a_20_5_2.rcwi
new file mode 100644
index 0000000..c2c7bea
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_20_5_2.rcwi
@@ -0,0 +1,7 @@
+SRDS_PRTCL_S1=20
+SRDS_PRTCL_S2=5
+SRDS_PRTCL_S3=2
+
+SRDS_INTRA_REF_CLK_S1 = 1 /* PLLF used for PLLS */
+SRDS_PLL_REF_CLK_SEL_S1=2
+SRDS_PLL_PD_PLL1=1
diff --git a/lx2160acex7/configs/lx2160a_2400_700_3200.rcwi b/lx2160acex7/configs/lx2160a_2400_700_3200.rcwi
new file mode 100644
index 0000000..fc0fd6c
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_2400_700_3200.rcwi
@@ -0,0 +1,12 @@
+CGA_PLL1_RAT=24
+CGA_PLL2_RAT=24
+CGB_PLL1_RAT=24
+CGB_PLL2_RAT=9
+
+SYS_PLL_RAT=14
+
+MEM_PLL_RAT=32
+MEM2_PLL_RAT=32
+
+/* Modify FlexSPI Clock Divisor value */
+#include <../lx2160asi/flexspi_divisor_28.rcw>
diff --git a/lx2160acex7/configs/lx2160a_2500_700_3200.rcwi b/lx2160acex7/configs/lx2160a_2500_700_3200.rcwi
new file mode 100644
index 0000000..62d9069
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_2500_700_3200.rcwi
@@ -0,0 +1,12 @@
+CGA_PLL1_RAT=25
+CGA_PLL2_RAT=25
+CGB_PLL1_RAT=25
+CGB_PLL2_RAT=9
+
+SYS_PLL_RAT=14
+
+MEM_PLL_RAT=32
+MEM2_PLL_RAT=32
+
+/* Modify FlexSPI Clock Divisor value */
+#include <../lx2160asi/flexspi_divisor_28.rcw>
diff --git a/lx2160acex7/configs/lx2160a_2600_700_3200.rcwi b/lx2160acex7/configs/lx2160a_2600_700_3200.rcwi
new file mode 100644
index 0000000..e244917
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_2600_700_3200.rcwi
@@ -0,0 +1,12 @@
+CGA_PLL1_RAT=26
+CGA_PLL2_RAT=26
+CGB_PLL1_RAT=26
+CGB_PLL2_RAT=9
+
+SYS_PLL_RAT=14
+
+MEM_PLL_RAT=32
+MEM2_PLL_RAT=32
+
+/* Modify FlexSPI Clock Divisor value */
+#include <../lx2160asi/flexspi_divisor_28.rcw>
diff --git a/lx2160acex7/configs/lx2160a_8_5_0.rcwi b/lx2160acex7/configs/lx2160a_8_5_0.rcwi
new file mode 100644
index 0000000..62ff153
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_8_5_0.rcwi
@@ -0,0 +1,7 @@
+SRDS_PRTCL_S1=8 /* should be 8 */
+SRDS_PRTCL_S2=5
+SRDS_PRTCL_S3=0
+
+SRDS_INTRA_REF_CLK_S1 = 1 /* PLLF used for PLLS */
+SRDS_PLL_REF_CLK_SEL_S1=2
+SRDS_PLL_PD_PLL1=1
diff --git a/lx2160acex7/configs/lx2160a_8_5_2.rcwi b/lx2160acex7/configs/lx2160a_8_5_2.rcwi
new file mode 100644
index 0000000..d7d707a
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_8_5_2.rcwi
@@ -0,0 +1,7 @@
+SRDS_PRTCL_S1=8 /* should be 8 */
+SRDS_PRTCL_S2=5
+SRDS_PRTCL_S3=2
+
+SRDS_INTRA_REF_CLK_S1 = 1 /* PLLF used for PLLS */
+SRDS_PLL_REF_CLK_SEL_S1=2
+SRDS_PLL_PD_PLL1=1
diff --git a/lx2160acex7/configs/lx2160a_defaults.rcwi b/lx2160acex7/configs/lx2160a_defaults.rcwi
new file mode 100644
index 0000000..6fd65ec
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_defaults.rcwi
@@ -0,0 +1,19 @@
+#include <../lx2160asi/lx2160a.rcwi>
+MEM_PLL_CFG=3
+MEM2_PLL_CFG=3
+C5_PLL_SEL=0
+C6_PLL_SEL=0
+C7_PLL_SEL=0
+C8_PLL_SEL=0
+HWA_CGA_M1_CLK_SEL=1
+HWA_CGB_M1_CLK_SEL=7
+BOOT_LOC=26
+SYSCLK_FREQ=600
+IIC2_PMUX=6
+IIC3_PMUX=0
+IIC4_PMUX=2
+USB3_CLK_FSEL=39
+SRDS_DIV_PEX_S1=1
+SRDS_DIV_PEX_S2=3
+SRDS_DIV_PEX_S3=1
+
diff --git a/lx2160acex7/configs/lx2160a_sdboot.rcwi b/lx2160acex7/configs/lx2160a_sdboot.rcwi
new file mode 100644
index 0000000..d537ea5
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_sdboot.rcwi
@@ -0,0 +1,20 @@
+/* Errata to write on scratch reg for validation */
+#include <../lx2160asi/scratchrw1.rcw>
+
+/* Copy SPL Uboot to Ocram */
+.pbi
+blockcopy 0x08,0x00100000,0x1800a000,0x00020000
+.end
+
+/* Boot Location Pointer */
+#include <../lx2160asi/bootlocptr_sd.rcw>
+
+/* Errata for SATA controller */
+#include <../lx2160asi/a010554.rcw>
+
+/* Errata for PCIe controller */
+#include <../lx2160asi/a011270.rcw>
+
+/* common PBI commands */
+#include <../lx2160asi/common.rcw>
+
diff --git a/lx2160acex7/configs/lx2160a_test.rcwi b/lx2160acex7/configs/lx2160a_test.rcwi
new file mode 100644
index 0000000..a223be1
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_test.rcwi
@@ -0,0 +1,20 @@
+CGA_PLL1_RAT=20
+CGA_PLL2_RAT=20
+CGB_PLL1_RAT=20
+CGB_PLL2_RAT=8
+
+SYS_PLL_RAT=12
+
+MEM_PLL_RAT=32
+MEM2_PLL_RAT=32
+
+/* Modify FlexSPI Clock Divisor value */
+/* #include <../lx2160asi/flexspi_divisor_24.rcw> */
+
+SRDS_PLL_PD_PLL1=1
+SRDS_PLL_PD_PLL2=1
+SRDS_PLL_PD_PLL3=1
+SRDS_PLL_PD_PLL4=1
+SRDS_PLL_PD_PLL5=1
+SRDS_PLL_PD_PLL6=1
+
diff --git a/lx2160acex7/configs/lx2160a_xspiboot.rcwi b/lx2160acex7/configs/lx2160a_xspiboot.rcwi
new file mode 100644
index 0000000..eecc314
--- /dev/null
+++ b/lx2160acex7/configs/lx2160a_xspiboot.rcwi
@@ -0,0 +1,17 @@
+/* Errata to write on scratch reg for validation */
+#include <../lx2160asi/scratchrw1.rcw>
+
+/* Boot Location Pointer */
+#include <../lx2160asi/bootlocptr_nor.rcw>
+
+/* Errata for SATA controller */
+#include <../lx2160asi/a010554.rcw>
+
+/* Errata for PCIe controller */
+#include <../lx2160asi/a011270.rcw>
+
+/* common PBI commands */
+#include <../lx2160asi/common.rcw>
+
+/* Modify FlexSPI Clock Divisor value */
+#include <../lx2160asi/flexspi_divisor_24.rcw>
--
2.17.1

View File

@ -0,0 +1,38 @@
From b184697cff85d8f98e765014309b97444ff1c5b7 Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Wed, 30 Oct 2019 11:43:37 +0200
Subject: [PATCH 2/2] Set io pads as GPIO
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
lx2160acex7/configs/lx2160a_defaults.rcwi | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/lx2160acex7/configs/lx2160a_defaults.rcwi b/lx2160acex7/configs/lx2160a_defaults.rcwi
index 6fd65ec..dbc843f 100644
--- a/lx2160acex7/configs/lx2160a_defaults.rcwi
+++ b/lx2160acex7/configs/lx2160a_defaults.rcwi
@@ -9,11 +9,16 @@ HWA_CGA_M1_CLK_SEL=1
HWA_CGB_M1_CLK_SEL=7
BOOT_LOC=26
SYSCLK_FREQ=600
-IIC2_PMUX=6
+IIC2_PMUX=1
IIC3_PMUX=0
IIC4_PMUX=2
USB3_CLK_FSEL=39
SRDS_DIV_PEX_S1=1
SRDS_DIV_PEX_S2=3
SRDS_DIV_PEX_S3=1
-
+SDHC1_DIR_PMUX=1
+IRQ03_00_PMUX=1
+IRQ07_04_PMUX=1
+IRQ11_08_PMUX=1
+EVT20_PMUX=1
+EVT43_PMUX=1
--
2.17.1

View File

@ -0,0 +1,42 @@
From 3b0e8b6e242549c2ed992d7556d7966a77b6da86 Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Tue, 5 Nov 2019 10:35:32 +0200
Subject: [PATCH] S2 - enable gen3, xspi increase divisor to 28
Serdes group 2 enable PCIe gen 3
XSPI increase divisor to 28 - this fixes UEFI SPI flash detection.
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
lx2160acex7/configs/lx2160a_defaults.rcwi | 2 +-
lx2160acex7/configs/lx2160a_xspiboot.rcwi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lx2160acex7/configs/lx2160a_defaults.rcwi b/lx2160acex7/configs/lx2160a_defaults.rcwi
index dbc843f..3ea7683 100644
--- a/lx2160acex7/configs/lx2160a_defaults.rcwi
+++ b/lx2160acex7/configs/lx2160a_defaults.rcwi
@@ -14,7 +14,7 @@ IIC3_PMUX=0
IIC4_PMUX=2
USB3_CLK_FSEL=39
SRDS_DIV_PEX_S1=1
-SRDS_DIV_PEX_S2=3
+SRDS_DIV_PEX_S2=1
SRDS_DIV_PEX_S3=1
SDHC1_DIR_PMUX=1
IRQ03_00_PMUX=1
diff --git a/lx2160acex7/configs/lx2160a_xspiboot.rcwi b/lx2160acex7/configs/lx2160a_xspiboot.rcwi
index eecc314..28310c9 100644
--- a/lx2160acex7/configs/lx2160a_xspiboot.rcwi
+++ b/lx2160acex7/configs/lx2160a_xspiboot.rcwi
@@ -14,4 +14,4 @@
#include <../lx2160asi/common.rcw>
/* Modify FlexSPI Clock Divisor value */
-#include <../lx2160asi/flexspi_divisor_24.rcw>
+#include <../lx2160asi/flexspi_divisor_28.rcw>
--
2.17.1

View File

@ -0,0 +1,181 @@
From c7c3ed47f1de7c20de348a6ca5fe0d5a18912f4b Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Mon, 23 Mar 2020 12:16:13 +0200
Subject: [PATCH 4/4] refactor a009531, a008851 and a011270
1. Add 'load conditional', 'jump condidional' and 'jump' to PBI
instructions.
2. Use SVR register to execute the PCIe workarounds on the relevant rev
of the device.
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
lx2160asi/a009531_a008851.rcw | 96 +++++++++++++++++++++++++++++++++++
lx2160asi/a011270.rcw | 6 +++
rcw.py | 28 ++++++++++
3 files changed, 130 insertions(+)
create mode 100644 lx2160asi/a009531_a008851.rcw
diff --git a/lx2160asi/a009531_a008851.rcw b/lx2160asi/a009531_a008851.rcw
new file mode 100644
index 0000000..0eb7051
--- /dev/null
+++ b/lx2160asi/a009531_a008851.rcw
@@ -0,0 +1,96 @@
+/*
+ * Work-around for erratum A-009531
+ *
+ * Description:
+ * As defined in section 2.2.6.4, Relaxed Ordering and ID-Based Ordering (IDO)
+ * Attributes of the PCI Express Base Specification Rev 3.1, “A Completer
+ * is permitted to set IDO only if the IDO Completion Enable bit in the Device
+ * Control 2 Register is set. It is not required to copy the value of IDO from
+ * the Request into the Completion(s) for that Request".
+ *
+ * However, the PCI Express controller as the completer sets the IDO bit in the
+ * completion packet header, in response to non-posted requests (memory read) with
+ * IDO bit set in the packet header, even if the IDO Completion Enable bit in the
+ * Device Control 2 Register is not set.
+ *
+ * Impact:
+ * The PCI Express controller as the completer sends completion packets with IDO
+ * bit set in packet header even when the IDO Completion Enable bit is cleared in
+ * the controllers Device Control 2 Register.
+ * Applicable for SNP PCIe controller
+ */
+
+/*
+ * Work-around for erratum A-008851
+ *
+ * Invalid transmitter/receiver preset values are used in Gen3 equalization
+ * phases during link training for RC mode
+ * This errata is valid only for PCI gen3.
+ * Workaround:
+ * write 0x00000001 to MISC_CONTROL_1_OFF
+ * write 0x4747 to Lane Equalization Control register for each lane
+ * Applicable for SNP PCIe controller
+ */
+
+.pbi
+/* Load condition SVR register mask major ID */
+loadc 0x01e000a4,0x000000f0
+
+/* If it is rev 2, skip the following jump command */
+jumpc 0x00000014,0x00000020
+
+/* Jump all the below instructions */
+jump 0x190 /* All instruction below including the jump are 0x190 bytes */
+
+loadc 0x01ea1080,0x70000000
+jumpc 0x00000034,0x00000000
+write 0x03400098,0x00000000
+write 0x034008bc,0x00000001
+write 0x03400154,0x47474747
+write 0x03400158,0x47474747
+write 0x034008bc,0x00000000
+
+loadc 0x01ea1080,0x00700000
+jumpc 0x00000034,0x00000000
+write 0x03500098,0x00000000
+write 0x035008bc,0x00000001
+write 0x03500154,0x47474747
+write 0x03500158,0x47474747
+write 0x035008bc,0x00000000
+
+loadc 0x01eb1080,0x70000000
+jumpc 0x00000044,0x00000000
+write 0x03600098,0x00000000
+write 0x036008bc,0x00000001
+write 0x03600164,0x47474747
+write 0x03600168,0x47474747
+write 0x0360016c,0x47474747
+write 0x03600170,0x47474747
+write 0x036008bc,0x00000000
+
+loadc 0x01eb1080,0x00700000
+jumpc 0x00000034,0x00000000
+write 0x03700098,0x00000000
+write 0x037008bc,0x00000001
+write 0x03700154,0x47474747
+write 0x03700158,0x47474747
+write 0x037008bc,0x00000000
+
+loadc 0x01ec1080,0x70000000
+jumpc 0x00000044,0x00000000
+write 0x03800098,0x00000000
+write 0x038008bc,0x00000001
+write 0x03800164,0x47474747
+write 0x03800168,0x47474747
+write 0x0380016c,0x47474747
+write 0x03800170,0x47474747
+write 0x038008bc,0x00000000
+
+loadc 0x01ec1080,0x00700000
+jumpc 0x00000034,0x00000000
+write 0x03900098,0x00000000
+write 0x039008bc,0x00000001
+write 0x03900154,0x47474747
+write 0x03900158,0x47474747
+write 0x039008bc,0x00000000
+.end
diff --git a/lx2160asi/a011270.rcw b/lx2160asi/a011270.rcw
index 0dc774d..5bd5558 100644
--- a/lx2160asi/a011270.rcw
+++ b/lx2160asi/a011270.rcw
@@ -4,6 +4,12 @@
*/
.pbi
+/* Load condition SVR register mask major ID */
+loadc 0x01e000a4,0x000000f0
+/* If it is rev 1, skip the following jump command */
+jumpc 0x00000014,0x00000010
+/* Skip the following instructions by jumping to the end */
+jump 0x38
write 0x03400688,0x00000001
write 0x03500688,0x00000001
write 0x03600688,0x00000001
diff --git a/rcw.py b/rcw.py
index 863f755..c2d06f6 100755
--- a/rcw.py
+++ b/rcw.py
@@ -328,6 +328,34 @@ def build_pbi(lines):
v2 = struct.pack(endianess + 'L', p2)
subsection += v1
subsection += v2
+ elif op == 'loadc':
+ if p1 == None or p2 == None:
+ print('Error: "loadc" instruction requires two parameters')
+ return ''
+ v1 = struct.pack(endianess + 'L', 0x80140000)
+ v2 = struct.pack(endianess + 'L', p1)
+ v3 = struct.pack(endianess + 'L', p2)
+ subsection += v1
+ subsection += v2
+ subsection += v3
+ elif op == 'jumpc':
+ if p1 == None or p2 == None:
+ print('Error: "jumpc" instruction requires two parameters')
+ return ''
+ v1 = struct.pack(endianess + 'L', 0x80850000)
+ v2 = struct.pack(endianess + 'L', p1)
+ v3 = struct.pack(endianess + 'L', p2)
+ subsection += v1
+ subsection += v2
+ subsection += v3
+ elif op == 'jump':
+ if p1 == None:
+ print('Error: "jump" instruction requires a parameter')
+ return ''
+ v1 = struct.pack(endianess + 'L', 0x80840000)
+ v2 = struct.pack(endianess + 'L', p1)
+ subsection += v1
+ subsection += v2
elif op == 'awrite':
if p1 == None or p2 == None:
print('Error: "awrite" instruction requires two parameters')
--
2.17.1

View File

@ -0,0 +1,32 @@
From 2ebdb6a46e6db66cc0b09c51260a90ea8abc4713 Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Mon, 23 Mar 2020 12:35:04 +0200
Subject: [PATCH 6/8] lx2160a: add SVR check for a050234 to apply only on rev1
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
lx2160asi/a050234.rcw | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lx2160asi/a050234.rcw b/lx2160asi/a050234.rcw
index 72a40e4..2130709 100644
--- a/lx2160asi/a050234.rcw
+++ b/lx2160asi/a050234.rcw
@@ -4,6 +4,12 @@
*/
.pbi
+/* Load condition SVR register mask major ID */
+loadc 0x01e000a4,0x000000f0
+/* If it is rev 1, skip the following jump command */
+jumpc 0x00000014,0x00000010
+/* Skip the following instructions by jumping to the end */
+jump 0xc8
write 0x1ea1200,0x20081004
write 0x1ea1240,0x20081004
write 0x1ea1280,0x20081004
--
2.17.1

View File

@ -0,0 +1,95 @@
From 6d634d64528e5ba510c369a2ae19c337ae7d692e Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Mon, 23 Mar 2020 12:36:20 +0200
Subject: [PATCH 7/8] lx2160acex7 - pcie workarounds and fan full speed
1. Moves calling the workarounds to the _defaults.rcwi
2. Toggle fan-full-speed GPIO. The fan controller starts throttling when
a driver exists (i.e. kernel); in order to avoid overheating until then
enable full speed.
3. Run a050234.rcw on rev1 - fixes some issues observed when using Mellanox
ConnectX-5 NICs
4. Run a009531 and a00885 on rev2.
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
lx2160acex7/configs/lx2160a_defaults.rcwi | 21 +++++++++++++++++----
lx2160acex7/configs/lx2160a_sdboot.rcwi | 6 ------
lx2160acex7/configs/lx2160a_xspiboot.rcwi | 6 ------
3 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/lx2160acex7/configs/lx2160a_defaults.rcwi b/lx2160acex7/configs/lx2160a_defaults.rcwi
index 3ea7683..7af1f5b 100644
--- a/lx2160acex7/configs/lx2160a_defaults.rcwi
+++ b/lx2160acex7/configs/lx2160a_defaults.rcwi
@@ -1,10 +1,6 @@
#include <../lx2160asi/lx2160a.rcwi>
MEM_PLL_CFG=3
MEM2_PLL_CFG=3
-C5_PLL_SEL=0
-C6_PLL_SEL=0
-C7_PLL_SEL=0
-C8_PLL_SEL=0
HWA_CGA_M1_CLK_SEL=1
HWA_CGB_M1_CLK_SEL=7
BOOT_LOC=26
@@ -22,3 +18,20 @@ IRQ07_04_PMUX=1
IRQ11_08_PMUX=1
EVT20_PMUX=1
EVT43_PMUX=1
+
+/* Drive the fan full speed pin */
+.pbi
+write 0x2320000,0x20000000
+.end
+
+/* Errata for SATA controller */
+#include <../lx2160asi/a010554.rcw>
+
+/* Errata for rev 1 PCIe controller */
+#include <../lx2160asi/a011270.rcw>
+
+/* Errata a050234 - fix elastic buffer threshold in rev 1 */
+#include <../lx2160asi/a050234.rcw>
+
+/* LX2 rev 2 PCIe Errata A-009531 and A-008851*/
+#include <../lx2160asi/a009531_a008851.rcw>
diff --git a/lx2160acex7/configs/lx2160a_sdboot.rcwi b/lx2160acex7/configs/lx2160a_sdboot.rcwi
index d537ea5..9086ffc 100644
--- a/lx2160acex7/configs/lx2160a_sdboot.rcwi
+++ b/lx2160acex7/configs/lx2160a_sdboot.rcwi
@@ -9,12 +9,6 @@ blockcopy 0x08,0x00100000,0x1800a000,0x00020000
/* Boot Location Pointer */
#include <../lx2160asi/bootlocptr_sd.rcw>
-/* Errata for SATA controller */
-#include <../lx2160asi/a010554.rcw>
-
-/* Errata for PCIe controller */
-#include <../lx2160asi/a011270.rcw>
-
/* common PBI commands */
#include <../lx2160asi/common.rcw>
diff --git a/lx2160acex7/configs/lx2160a_xspiboot.rcwi b/lx2160acex7/configs/lx2160a_xspiboot.rcwi
index 28310c9..fa092c9 100644
--- a/lx2160acex7/configs/lx2160a_xspiboot.rcwi
+++ b/lx2160acex7/configs/lx2160a_xspiboot.rcwi
@@ -4,12 +4,6 @@
/* Boot Location Pointer */
#include <../lx2160asi/bootlocptr_nor.rcw>
-/* Errata for SATA controller */
-#include <../lx2160asi/a010554.rcw>
-
-/* Errata for PCIe controller */
-#include <../lx2160asi/a011270.rcw>
-
/* common PBI commands */
#include <../lx2160asi/common.rcw>
--
2.17.1

View File

@ -0,0 +1,113 @@
From f7f0ad5e568862f7dc70fbd0f790845ee576734d Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Tue, 24 Mar 2020 03:42:14 +0200
Subject: [PATCH 8/8] lx2160a: add generic bootloc section
The generic bootloc section does conditional blockcopy from SD/eMMC and
SPI with some predefined addresses.
Later on if ATF is used; those addresses are modified with ATF's
create_pbl.c
With this method a single boot image is unified for all the 3 different
boot methods.
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
lx2160acex7/configs/lx2160a_defaults.rcwi | 12 +++++
lx2160asi/bootlocptr.rcw | 62 +++++++++++++++++++++++
2 files changed, 74 insertions(+)
create mode 100644 lx2160asi/bootlocptr.rcw
diff --git a/lx2160acex7/configs/lx2160a_defaults.rcwi b/lx2160acex7/configs/lx2160a_defaults.rcwi
index 7af1f5b..7997d49 100644
--- a/lx2160acex7/configs/lx2160a_defaults.rcwi
+++ b/lx2160acex7/configs/lx2160a_defaults.rcwi
@@ -35,3 +35,15 @@ write 0x2320000,0x20000000
/* LX2 rev 2 PCIe Errata A-009531 and A-008851*/
#include <../lx2160asi/a009531_a008851.rcw>
+
+/* Unified boot location copy */
+#include <../lx2160asi/bootlocptr.rcw>
+
+/* Errata to write on scratch reg for validation */
+#include <../lx2160asi/scratchrw1.rcw>
+
+/* common PBI commands */
+#include <../lx2160asi/common.rcw>
+
+/* Modify FlexSPI Clock Divisor value - for now keep it fixed value but using loadc/jumpc/jump it can be calculated on the fly */
+#include <../lx2160asi/flexspi_divisor_28.rcw>
diff --git a/lx2160asi/bootlocptr.rcw b/lx2160asi/bootlocptr.rcw
new file mode 100644
index 0000000..645182f
--- /dev/null
+++ b/lx2160asi/bootlocptr.rcw
@@ -0,0 +1,62 @@
+/*
+ * Generic code for auto booting.
+ * For each section blockcopy followed by write to bootlocl then bootloch must
+ * be followed in each section since when using ATF with create_pbl script in
+ * auto mode; it counts on the sequence of to be in that order.
+ */
+
+/* Boot from SD - copy SPL Uboot to Ocram */
+.pbi
+/* Load condition PORSR1 and mask RCW_SRC */
+loadc 0x01e00000,0x07800000
+
+/* If it is 0x8 << 23 then skip the following jump command */
+jumpc 0x00000014,0x04000000
+
+/* Jump all the below instructions */
+jump 0x28 /* All instruction below including the jump are 40 bytes */
+
+/* blockcopy must be followed by two writes to bootlocl and bootloch */
+blockcopy 0x08,0x00100000,0x1800a000,0x00020000
+write 0x01e00400,0x1800a000
+write 0x01e00404,0x00000000
+.end
+
+/* Boot from eMMC - copy SPL Uboot to Ocram */
+.pbi
+/* Load condition PORSR1 and mask RCW_SRC */
+loadc 0x01e00000,0x07800000
+
+/* If it is 0x9 << 23 then skip the following jump command */
+jumpc 0x00000014,0x04800000
+
+/* Jump all the below instructions */
+jump 0x28 /* All instruction below including the jump are 40 bytes */
+
+/* blockcopy must be followed by two writes to bootlocl and bootloch */
+blockcopy 0x09,0x00100000,0x1800a000,0x00020000
+write 0x01e00400,0x1800a000
+write 0x01e00404,0x00000000
+.end
+
+/* XSPI boot Location Pointer */
+/*
+ * Set the boot location pointer to the NOR flash boot area.
+ */
+
+.pbi
+/* Load condition PORSR1 and mask RCW_SRC */
+loadc 0x01e00000,0x07800000
+
+/* If it is 0xf << 23 then skip the following jump command */
+jumpc 0x00000014,0x07800000
+
+/* Jump all the below instructions */
+jump 0x28 /* All instruction below including the jump are 0x190 bytes */
+
+/* blockcopy must be followed by two writes to bootlocl and bootloch */
+blockcopy 0x0f,0x00100000,0x1800a000,0x00020000
+write 0x01e00400,0x20100000
+write 0x01e00404,0x00000000
+.end
+
--
2.17.1

View File

@ -0,0 +1,301 @@
From 151f650f383fc5ddd9c405cf96bc189c2eaf13bd Mon Sep 17 00:00:00 2001
From: Rabeeh Khoury <rabeeh@solid-run.com>
Date: Tue, 24 Mar 2020 03:51:28 +0200
Subject: [PATCH 9/9] lx2160acex7: remove all predefined RCW files
Remove all predefined RCW files and use on-the-fly created RCW from
external script.
For instance when using lx2160a_build repo; the runme.sh file creates
lx2160acex7/RCW/template.rcw file the gets compiled.
The creation is done using a simple bash script -
cd $ROOTDIR/build/rcw/lx2160acex7
mkdir -p RCW
echo "#include <configs/lx2160a_defaults.rcwi>" > RCW/template.rcw
echo "#include <configs/lx2160a_${SPEED}.rcwi>" >> RCW/template.rcw
echo "#include <configs/lx2160a_${SERDES}.rcwi>" >> RCW/template.rcw
make clean
make -j${PARALLEL}
Upstream-Status: Inappropriate [Solid-Run BSP]
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
---
lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig | 61 -------------------
.../rcw_1900_600_2600_17_4_2.rcw | 4 --
.../rcw_1900_600_2600_17_4_2_sd.rcw | 4 --
.../rcw_2000_700_2400_13_5_2_sd.rcw | 4 --
.../rcw_2000_700_2400_20_5_2_sd.rcw | 4 --
.../rcw_2000_700_2400_8_5_2_sd.rcw | 4 --
.../rcw_2000_700_2600_8_5_2_sd.rcw | 4 --
.../rcw_2000_700_2900_17_4_2_sd.rcw | 4 --
.../rcw_2000_700_2900_8_5_2_sd.rcw | 4 --
.../rcw_2000_700_3200_17_4_2_sd.rcw | 4 --
.../rcw_2000_700_3200_20_5_2_sd.rcw | 4 --
.../rcw_2000_700_3200_8_5_0_sd.rcw | 4 --
.../rcw_2000_700_3200_8_5_2_sd.rcw | 4 --
.../rcw_2000_700_3200_8_5_2_xspi.rcw | 4 --
.../rcw_2400_700_3200_8_5_2_sd.rcw | 4 --
.../rcw_2500_700_3200_8_5_2_sd.rcw | 4 --
.../rcw_2600_700_3200_8_5_2_sd.rcw | 4 --
.../XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw | 4 --
18 files changed, 129 deletions(-)
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_13_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_20_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_8_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2600_8_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_17_4_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_8_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_17_4_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_20_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_0_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_xspi.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2400_700_3200_8_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2500_700_3200_8_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2600_700_3200_8_5_2_sd.rcw
delete mode 100644 lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig
deleted file mode 100644
index cdb6446..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw.orig
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * SerDes Protocol 1 - 19
- * SerDes Protocol 2 - 5
- * SerDes Protocol 3 - 2
- *
- * Frequencies:
- * Core -- 1900 MHz
- * Platform -- 600 MHz
- * DDR -- 2600 MT/s
- */
-
-#include <../lx2160asi/lx2160a.rcwi>
-
-SYS_PLL_RAT=12
-MEM_PLL_CFG=3
-MEM_PLL_RAT=26
-MEM2_PLL_CFG=3
-MEM2_PLL_RAT=26
-CGA_PLL1_RAT=19
-CGA_PLL2_RAT=19
-CGB_PLL1_RAT=19
-CGB_PLL2_RAT=9
-C5_PLL_SEL=0
-C6_PLL_SEL=0
-C7_PLL_SEL=0
-C8_PLL_SEL=0
-HWA_CGA_M1_CLK_SEL=1
-HWA_CGB_M1_CLK_SEL=7
-BOOT_LOC=26
-SYSCLK_FREQ=600
-IIC2_PMUX=6
-IIC3_PMUX=2
-IIC4_PMUX=2
-USB3_CLK_FSEL=39
-SRDS_PRTCL_S1=19
-SRDS_PRTCL_S2=5
-SRDS_PRTCL_S3=2
-SRDS_PLL_REF_CLK_SEL_S1=2
-SRDS_DIV_PEX_S1=1
-SRDS_DIV_PEX_S2=3
-SRDS_DIV_PEX_S3=1
-
-/* Errata to write on scratch reg for validation */
-#include <../lx2160asi/scratchrw1.rcw>
-
-/* Copy SPL Uboot to Ocram */
-.pbi
-blockcopy 0x08,0x00100000,0x1800a000,0x00020000
-.end
-
-/* Boot Location Pointer */
-#include <../lx2160asi/bootlocptr_sd.rcw>
-
-/* Errata for SATA controller */
-#include <../lx2160asi/a010554.rcw>
-
-/* Modify FlexSPI Clock Divisor value */
-#include <../lx2160asi/flexspi_divisor_24.rcw>
-
-/* common PBI commands */
-#include <../lx2160asi/common.rcw>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2.rcw
deleted file mode 100644
index 13ab0b9..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_1900_600_2600.rcwi>
-#include <configs/lx2160a_17_4_2.rcwi>
-#include <configs/lx2160a_xspiboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2_sd.rcw
deleted file mode 100644
index 14fae8c..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_1900_600_2600_17_4_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_1900_600_2600.rcwi>
-#include <configs/lx2160a_17_4_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_13_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_13_5_2_sd.rcw
deleted file mode 100644
index 2dae5a2..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_13_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_2400.rcwi>
-#include <configs/lx2160a_13_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_20_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_20_5_2_sd.rcw
deleted file mode 100644
index 5335072..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_20_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_2400.rcwi>
-#include <configs/lx2160a_20_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_8_5_2_sd.rcw
deleted file mode 100644
index e2a5bd3..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2400_8_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_2400.rcwi>
-#include <configs/lx2160a_8_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2600_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2600_8_5_2_sd.rcw
deleted file mode 100644
index a330bfe..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2600_8_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_2600.rcwi>
-#include <configs/lx2160a_8_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_17_4_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_17_4_2_sd.rcw
deleted file mode 100644
index 8535dbd..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_17_4_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_2900.rcwi>
-#include <configs/lx2160a_17_4_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_8_5_2_sd.rcw
deleted file mode 100644
index 698be01..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_2900_8_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_2900.rcwi>
-#include <configs/lx2160a_8_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_17_4_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_17_4_2_sd.rcw
deleted file mode 100644
index 780d8c3..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_17_4_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_3200.rcwi>
-#include <configs/lx2160a_17_4_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_20_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_20_5_2_sd.rcw
deleted file mode 100644
index eb9d240..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_20_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_3200.rcwi>
-#include <configs/lx2160a_20_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_0_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_0_sd.rcw
deleted file mode 100644
index ceb53a3..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_0_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_3200.rcwi>
-#include <configs/lx2160a_8_5_0.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_sd.rcw
deleted file mode 100644
index a220e98..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_3200.rcwi>
-#include <configs/lx2160a_8_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_xspi.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_xspi.rcw
deleted file mode 100644
index 1eabd7d..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2000_700_3200_8_5_2_xspi.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2000_700_3200.rcwi>
-#include <configs/lx2160a_8_5_2.rcwi>
-#include <configs/lx2160a_xspiboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2400_700_3200_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2400_700_3200_8_5_2_sd.rcw
deleted file mode 100644
index 2ac59b1..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2400_700_3200_8_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2400_700_3200.rcwi>
-#include <configs/lx2160a_8_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2500_700_3200_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2500_700_3200_8_5_2_sd.rcw
deleted file mode 100644
index e7c08df..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2500_700_3200_8_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2500_700_3200.rcwi>
-#include <configs/lx2160a_8_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2600_700_3200_8_5_2_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2600_700_3200_8_5_2_sd.rcw
deleted file mode 100644
index 1e7a8f7..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_2600_700_3200_8_5_2_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_2600_700_3200.rcwi>
-#include <configs/lx2160a_8_5_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
diff --git a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw b/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw
deleted file mode 100644
index 86f12f8..0000000
--- a/lx2160acex7/XGGFF_PP_HHHH_RR_19_5_2/rcw_test_sd.rcw
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <configs/lx2160a_defaults.rcwi>
-#include <configs/lx2160a_test.rcwi>
-#include <configs/lx2160a_17_4_2.rcwi>
-#include <configs/lx2160a_sdboot.rcwi>
--
2.17.1

View File

@ -0,0 +1,29 @@
FILESEXTRAPATHS:append:lx2160acex7 := "${THISDIR}/${PN}-lx2160acex7:"
SRC_URI:append:lx2160acex7 = "\
file://0001-lx2160acex7-misc-RCW-files.patch \
file://0002-Set-io-pads-as-GPIO.patch \
file://0003-S2-enable-gen3-xspi-increase-divisor-to-28.patch \
file://0004-refactor-a009531-a008851-and-a011270.patch \
file://0006-lx2160a-add-SVR-check-for-a050234-to-apply-only-on-r.patch \
file://0007-lx2160acex7-pcie-workarounds-and-fan-full-speed.patch \
file://0008-lx2160a-add-generic-bootloc-section.patch \
file://0009-lx2160acex7-remove-all-predefined-RCW-files.patch \
"
do_configure:prepend:lx2160acex7 () {
for BT in ${BOARD_TARGETS}
do
mkdir -p ${S}/${BOARD_TARGETS}/${SERDES}
cat <<EOF >${S}/${BOARD_TARGETS}/README
The RCW directories for lx2160acex7 are created based on existing SERDES
configuration. Currently created automatically - later maybe by building
cross product of serdes & ddr speeds in a final commit.
EOF
cat <<EOF >${S}/${BOARD_TARGETS}/${SERDES}/${SPEED}.rcw
#include <configs/lx2160a_defaults.rcwi>
#include <configs/lx2160a_${SPEED}.rcwi>
#include <configs/lx2160a_${SERDES}.rcwi>
EOF
done
}

View File

@ -0,0 +1,13 @@
DESCRIPTION = "U-Boot for Boundary Devices boards"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
PV = "v2022.04+git${SRCPV}"
SRCREV = "1c69998957efb2a9dcde024f33e9b73b84226560"
SRCBRANCH = "boundary-v2022.04"
SRC_URI = "git://github.com/boundarydevices/u-boot.git;branch=${SRCBRANCH};protocol=https"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
PACKAGE_ARCH = "${MACHINE_ARCH}"

Some files were not shown because too many files have changed in this diff Show More