Age | Commit message (Collapse) | Author |
|
Add IOMUX for the pad used as USB pen. This needs to be driven low for
the Iris and Viola boards where it is pulled up high by default. This is
required for the USB host functionality to work on these boards. Use the
board specific weak initialisation function, to drive the pin low which
would be called on "usb start".
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
[use switch statement to make port selection more obvious]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Add a weak function board_ehci_hcd_init which can be used by the board
file for board specific initialisation.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
|
|
use
make colibri_imx6_defconfig
|
|
Use for the industrial temperature range rated modules:
make apalis_imx6_it_defconfig
Use for the commercial temperature range rated modules:
make apalis_imx6_defconfig
|
|
The serial_mxc UART can use DTE and DCE mode (i.e End device vs. modem).
This adds DTE mode capability to the driver.
In order to switch from the default DCE to DTE mode define CONFIG_MXC_UART_DTE.
|
|
|
|
Cleanup various whitespaces throughout its configuration file.
|
|
Fix setupdate handling.
While at it also fix using asix_mac rather than igb_mac on Colibri T30.
|
|
Fix comment in write_trdx_cfg_block_to_nand to actually indicate it
writing the config block to NAND.
|
|
Add missing new line in tegra_pcie_board_init.
|
|
Migrate Colibri T20 to U-Boot 2015.04.
|
|
Integrate 16-bit BCH ECC handling required e.g. for the latest NAND
parts assembled on Colibri T20.
|
|
Fix PIO read_byte() implementation not only used for the legacy READ ID
but also the PARAM command now required for proper ONFI detection.
This fix is inspired by Lucas Stach's Linux Tegra NAND driver of late.
While at it also disable subpage writes.
|
|
Add I2C support in order to subsequently allow disabling the PMIC sleep
mode on low supply voltage.
|
|
Add LCD display support defaulting to VESA VGA resolution. Different
resolutions configurable via device-tree.
|
|
Use toradex,colibri_t20 as the device-tree compatible node value rather
than toradex,t20 in accordance to our Apalis/Colibri T30 products.
|
|
Use the proposed format to transport the device's serial number
to the kernel:
http://www.spinics.net/lists/devicetree/msg76756.html
|
|
Also, the kernel argument has been renamed (to fec.macaddr) and uses
a different format (0x00,0x2d...). The FEC ethernet address is assigned
through device tree nowadays. Hence remove the old argument "fec_mac"
without replacement.
|
|
|
|
Add GPIO's typically required for display handling such as GPIO 45
(SO-DIMM 71, BL_ON) or GPIO 22 (SO-DIMM 59, PWM<A> for backlight).
|
|
Align the reported memory size to 1MiB, which is the section size
in the Linux memory managment system. This avoids triggering an
issue which leads to freeze the Linux kernel very early:
http://thread.gmane.org/gmane.linux.ports.arm.kernel/408378
|
|
Add common widescreen modes 800x480 and 1024x600.
|
|
Add GPIO platform data which will be
used when device tree control was
not enabled
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
|
|
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
|
|
Inorder to use the pins as GPIO, apart from setting the alt-function,
pinmuxing need to be done, this patch adds pinmux entries of
few GPIOs.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
|
|
Add GPIO support to Freescale VF610
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
|
|
Like SPI and I2C few GPIO controllers also have multiple chip instances.
This patch adds the flag 'DM_UC_FLAG_SEQ_ALIAS' in gpio_uclass driver
to control device sequence numbering. By defalut the dev->r_seq for gpio_uclass
will alwalys returns -1, which leads the gpio driver probe failure.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
|
|
Add common widescreen modes 800x480 and 1024x600.
|
|
Add environment variables for default framebuffer support using a
default VGA mode. Also remove memargs, since we use memory size to
reserve the framebuffer which does not get overwritten by the
Linux kernel. See related commit: 1d7518ec3a ("video: dcu: fix
framebuffer to the end of memory")
|
|
Fix the framebuffer location to the very end of the available memory.
This allows to remove the area from available memory for the kernel,
which in turn allows to display the splash screen through the while
Linux kernel boot process.
Ideas has been taken from the sunxi display driver, e.g.
20779ec3a5 ("sunxi: video: Dynamically reserve framebuffer memory")
|
|
When enabling the DCU and pixel clock, the test mode is activated
since this is the reset configuration. The test mode immediately
shows a red screen on a LCD. A moment later, the DCU gets
initialized properly.
This patch enables the pixel clock after initialization of the DCU
control register. This avoids this initial flicker on LCD screens.
|
|
|
|
The Vybrid SoC family has the same display controller unit (DCU)
like the LS1021A SoC. This patch adds platform data, pinmux defines
and clock control to enable the driver for Vybrid based boards too.
|
|
Implement boot mode for Vybrid SoC. Boot mode selection works much
like the i.MX6 implementation. Provide a standard set of boot modes
for the two eSDHC instances and use the reserved mode to jump into
SoC's recovery mechanism, the serial downloader.
|
|
Display model information even if config block is missing.
While at it fix an indentation issue, update copyright period and fix
abbreviated setenv commands.
|
|
Migrate Apalis/Colibri T30 to U-Boot 2015.04.
|
|
Fix eMMC operation due to it always reading/writing a full block of 512
bytes.
Add all currently known product IDs.
Allow writing config block on eMMC as well.
Fix potential allocation alignment issues during storage accesses.
Implement interactive config block generation for Tegras.
Fix memory leak due to not freeing config block memory area after
generation.
While at it shorten all lines to 80 characters adhering to coding
style.
|
|
Allow showing custom board info from a checkboard() function being
implemented if CONFIG_CUSTOM_BOARDINFO is specified.
|
|
Make sysinfo containing board string for board info optional.
|
|
Allow reading recovery mode (RCM) boot type from the boot information
table (BIT) written by the boot ROM (BR) to the IRAM.
|
|
Allow for optional custom USB gadget manufacturer/product/vendor
IDs/strings to be specified.
|
|
Allow specifying a negative number as the Toradex config block offset
by changing its type from hex to int. This is required in the eMMC case
where this is used to force a location at the end of respective
hardware boot partition.
While at it fix SPL compilation by not compiling configblock handling
in this case for now.
|
|
Move Kconfig sourcing to top level as conceptually it does not make
much sense to source it from a particular board especially as sourcing
it multiple time is completely discouraged as it would lead to the
following warning message:
board/toradex/common/Kconfig:29:warning: choice value used outside its
choice group
board/toradex/common/Kconfig:32:warning: choice value used outside its
choice group
|
|
Add our support email address as well as our developer website as
official maintenance point of contacts:
Toradex ARM Support <support.arm@toradex.com>
http://developer.toradex.com/software-resources/arm-family/linux
|
|
http://lists.denx.de/pipermail/u-boot/2012-September/134347.html
allows for reading files in chunks from the shell.
When this feature is used to read past the end of a file an error
was returned instead of returning the bytes read up to the end of
file. Thus the following fails in the shell:
offset = 0
len = chunksize
do
read file, offset, len
write data
until bytes_read < len
The patch changes the behaviour to printing an informational
message and returning the actual read number of bytes.
(cherry picked from commit 4641b92713300089c5980259ba31e668657aa75d)
Conflicts:
fs/fs.c
|
|
Without this, when CONFIG_ENV_VARS_UBOOT_CONFIG is active we get
a compile time error when doing 'make env'.
In file included from tools/env/fw_env.c:117:0:
include/env_default.h:110:11: error: expected ‘}’ before ‘CONFIG_SYS_ARCH’
When building U-Boot this is included indirectly by the compiler switch
-include
/home/trdx/git.toradex.com/u-boot-2014.10-toradex/include/linux/kconfig.h
(cherry picked from commit 7031ed747021815dd8303d8a70b8c070ba709c56)
|
|
This patch fixes operation of our on-board AX88772B chip without EEPROM
but with a ethaddr coming from the regular U-Boot environment. This is
a forward port of some remaining parts initially implemented by
Antmicro.
(cherry picked from commit 67c3a4aee6c0af124ce779aed1be70c7a92d0916)
|
|
Migrating our BSPs towards mainline U-Boot I noticed it suddenly booting
slower. With mainline Linux I noticed about a 1 to 2 second increase
while booting downstream L4T takes 10 to 15 seconds longer!
This reverts commit 858530a8c0a7ce7e573e513934804a00d6676813.
Conflicts:
drivers/serial/Makefile
(cherry picked from commit 752aae30a791326581efafbb761c0cebaba8d3ea)
Conflicts:
drivers/serial/serial_tegra.c
include/configs/tegra-common.h
|
|
Hack driver to avoid the following error for now. This is required for
unprogrammed i210 operation.
e1000: e1000#0: ERROR: Hardware Initialization Failed
(cherry picked from commit 02bf24ad4a7c882e25771f656b973d5458695cf0)
(cherry picked from commit 68cecfdbe342f800a0b1f10a1f8fb019b491f04b)
|
|
Add default environment variable allowing update of the on-board flash
using USB mass storage in addition to SD card.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
[merged with SD-card update script]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|