Age | Commit message (Collapse) | Author |
|
Introduce BspRootDirPath to cleanup paths. Also suppress
generation of install files since we do cross compilation of
firmwares by default.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
But remove EPD OCRAM, since this is not clocked during suspend. Use
TCM instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Update to latest FreeRTOS of the V8 series. This contains lot
of bug fixes and new, useful features such as Task notifications.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Add interrupt and polling examples based on the stander colibri SPI (ECSPI3).
SODIMM_88 - SPI CLK
SODIMM_92 - SPI TXD
SODIMM_90 - SPI RXD
SODIMM_86 - SPI CS
To test this example, connect SODIMM_92 to SODIMM_90 in order to create a loop back.
Signed-off-by: Raul Munoz <raul.munoz@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
The Colibri standard SPI is connected to the SoCs ECSPI3 instance. Add
defines as BOARD_ECSPI_... Also add board level pinmux and clock
readout support.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Move the memory (m_data) area in the OCRAM linker file to the
EPDC OCRAM area. Also use the code bus for the code area instead
of the system bus which should improve performance. This allows
firmware of up to ~64KiB and memory of 128KiB.
Note: To get more heap space in FreeRTOS configTOTAL_HEAP_SIZE in
FreeRTOSConfig.h needs to be adjusted as well.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Increase the memory (m_data) area in the DDR linker file. Also use
the code bus for the code area instead of the system bus. This
aligns with the _tcm.ld file and should improve performance.
Note: To get more heap space in FreeRTOS configTOTAL_HEAP_SIZE in
FreeRTOSConfig.h needs to be adjusted as well.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Add a define with the same name we have on the Linux side to define
the number of VirtIO buffers we are going to allocate.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
GPTA is supposed to run directly of the 24MHz OSC. Fix a type which
update GPTB's root clock instead of GPTA.
Note: GPTB seems to rely on the System PLL PFD0, which seems to be
influenced by Linux' SDHC driver. Freezes of both systems have been
observed. Disabling the SDHC driver on the Linux side or using the
24MHz clock source for GPTB seem to avoid freezes.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Synchronize examples with latest versions from the imx7d_sdb_m4 board.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
The linker file to build a firmware running from DDR memory
(MCIMX7D_M4_ddr.ld) currently puts the firmware at the end of
the 512MiB boundary. That is not a valid memory area for the
Colibri iMX7S module (which comes with 256MiB of DDR memory).
In practise it actually does work because out-of-bound addresses
usually just mirror the content of the lower address, but it is
a behavior which should not be relied upon. This change moves
the firmware location to a valid location for all our modules
at the end of the 256MiB boundary (0x8ff00000, allows for a
firmware up to ~960kiB).
Furthermore, the VirtIO VRING offset is currently at the end of
the 1024MiB boundary. Again, due to the mirroring behavior this
worked in practise, but it should not be relied upon. Hence move
the VRING to the end of the 256MiB boundary too (0x8fff0000). The
firmware size has been choosen so that the VRING just fits after
the firmware.
Note that since the VRING offsets are hardcoded, this change needs
a corresponding change in the Linux kernel source:
arch/arm/mach-imx/imx_rpmsg.c (function imx_rpmsg_probe)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
|
|
|
|
|
|
|
|
|
|
The Colibri iMX7 module does not provide QSPI flash, hence drop
the QSPI example.
|
|
Pin assignment for I2C4 changed to redirect the bus to SODIMM pins 194 and 196 (standard Colibri I2C interface)
|
|
|
|
Use Colibri EXT_IO0-2 as Key/LED GPIO. Those signals can easily
be connected to a real button/LED on the Colibri Evaluation board:
EXT_IO0 => X21-LED1
EXT_IO1 => X21-SW6
EXT_IO2 => X21-SW5
|
|
|
|
|
|
|
|
Add mode parameter which allows to select DCE/DTE mode of the
debug UART.
|
|
|
|
This adds initial examples for imx7_colibri_m4, currently just a
copy of the imx7d_sdb_m4 examples.
|
|
|
|
Fix assertion in modem mode to allow using DTE mode.
|
|
|