summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-04colibri_vf: Enable board specific USB initialisation for USB pen gpioSanchayan Maity
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>
2015-05-04usb: ehci-vf: Add weak function for board specific initialisationSanchayan Maity
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>
2015-05-01Colibri iMX6: initial commitMax Krummenacher
use make colibri_imx6_defconfig
2015-05-01Apalis iMX6: initial commitMax Krummenacher
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
2015-05-01serial_mxc.c: add option to use in DTE modeMax Krummenacher
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.
2015-05-01apalis/colibri_t20/t30: fix setupdateMarcel Ziswiler
2015-04-28colibri_vf: whitespace cleanupMarcel Ziswiler
Cleanup various whitespaces throughout its configuration file.
2015-04-28apalis/colibri_t30: fix setupdate handlingMarcel Ziswiler
Fix setupdate handling. While at it also fix using asix_mac rather than igb_mac on Colibri T30.
2015-04-28toradex: configblock: fix commentMarcel Ziswiler
Fix comment in write_trdx_cfg_block_to_nand to actually indicate it writing the config block to NAND.
2015-04-28apalis_t30: add missing new lineMarcel Ziswiler
Add missing new line in tegra_pcie_board_init.
2015-04-28colibri_t20: migrateMarcel Ziswiler
Migrate Colibri T20 to U-Boot 2015.04.
2015-04-28tegra: nand: 16-bit bch ecc integrationMarcel Ziswiler
Integrate 16-bit BCH ECC handling required e.g. for the latest NAND parts assembled on Colibri T20.
2015-04-28tegra: nand: fix read_byte required for proper onfi detectionMarcel Ziswiler
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.
2015-04-27colibri_t20: add i2c supportMarcel Ziswiler
Add I2C support in order to subsequently allow disabling the PMIC sleep mode on low supply voltage.
2015-04-27colibri_t20: add LCD display supportMarcel Ziswiler
Add LCD display support defaulting to VESA VGA resolution. Different resolutions configurable via device-tree.
2015-04-27colibri_t20: fix device-tree compatible nodeMarcel Ziswiler
Use toradex,colibri_t20 as the device-tree compatible node value rather than toradex,t20 in accordance to our Apalis/Colibri T30 products.
2015-04-23colibri_vf: set the devices serial number in the device treeStefan Agner
Use the proposed format to transport the device's serial number to the kernel: http://www.spinics.net/lists/devicetree/msg76756.html
2015-04-23colibri_vf: remove fec_macStefan Agner
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.
2015-04-23Merge branch '2015.04-toradex-next-gpio' into 2015.04-toradex-nextStefan Agner
2015-04-23colibri_vf: add additional GPIOs required for display handlingStefan Agner
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).
2015-04-23video: dcu: make sure memory size aligns to section sizeStefan Agner
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
2015-04-23video: dcu: add additional modes for DCUStefan Agner
Add common widescreen modes 800x480 and 1024x600.
2015-04-22dm: colibri_vf: Add gpio pltform dataBhuvanchandra DV
Add GPIO platform data which will be used when device tree control was not enabled Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
2015-04-22colibri_vf: Enable GPIO supportBhuvanchandra DV
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
2015-04-22colibri_vf: Add pinmux entries for GPIOsBhuvanchandra DV
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>
2015-04-22dm: gpio: vf610: Add GPIO driver supportBhuvanchandra DV
Add GPIO support to Freescale VF610 Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
2015-04-22dm: gpio: uclass: Add flag to control sequence numberingBhuvanchandra DV
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>
2015-04-22ARM: vf610: add additional modes for DCUStefan Agner
Add common widescreen modes 800x480 and 1024x600.
2015-04-22ARM: vf610: add default environment for framebuffer supportStefan Agner
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")
2015-04-22video: dcu: fix framebuffer to the end of memoryStefan Agner
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")
2015-04-22video: dcu: enable pixel clock after initializationStefan Agner
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.
2015-04-21logos: add Toradex logoStefan Agner
2015-04-21video: dcu: Add DCU support for Vybrid SoCStefan Agner
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.
2015-04-20ARM: vf610: add bmode for Vybrid SoCStefan Agner
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.
2015-04-18colibri_vf: fix model info display with missing config blockMarcel Ziswiler
Display model information even if config block is missing. While at it fix an indentation issue, update copyright period and fix abbreviated setenv commands.
2015-04-18apalis/colibri_t30: migrateMarcel Ziswiler
Migrate Apalis/Colibri T30 to U-Boot 2015.04.
2015-04-18toradex: configblock: extend for eMMC on T30 and fix some issuesMarcel Ziswiler
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.
2015-04-18generic-board: allow showing custom board infoMarcel Ziswiler
Allow showing custom board info from a checkboard() function being implemented if CONFIG_CUSTOM_BOARDINFO is specified.
2015-04-17ARM: tegra: make sysinfo optionalMarcel Ziswiler
Make sysinfo containing board string for board info optional.
2015-04-17ARM: tegra: allow reading recovery mode boot typeMarcel Ziswiler
Allow reading recovery mode (RCM) boot type from the boot information table (BIT) written by the boot ROM (BR) to the IRAM.
2015-04-16ARM: tegra: allow custom usb manufacturer/product/vendor ids/stringsMarcel Ziswiler
Allow for optional custom USB gadget manufacturer/product/vendor IDs/strings to be specified.
2015-04-16colibri_vf: change toradex config block offset type from hex to intMarcel Ziswiler
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.
2015-04-15colibri_vf: move kconfig sourcing to top levelMarcel Ziswiler
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
2015-04-15apalis/colibri_t20/t30/vf: update maintainer support status/informationMarcel Ziswiler
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
2015-04-15fs/fs.c: read up to EOF when len would read past EOFMax Krummenacher
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
2015-04-15fw_env.h: include autoconf.hMax Krummenacher
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)
2015-04-15net: asix: fix operation without eepromMarcel Ziswiler
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)
2015-04-15Revert "dm: tegra: Enable driver model for serial"Marcel Ziswiler
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
2015-04-15e1000: unprogrammed i210 operation hackMarcel Ziswiler
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)
2015-04-14colibri_vf: Enable update procedure using USB mass storageStefan Agner
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>