summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2015-09-04Apalis iMX6: cleanup filename for V1.0 HWMax Krummenacher
Follow the rename imx6q-apalis-eval_v1_0.dtb to imx6q-apalis_v1_0-eval.dtb in the kernel. The v1_0 denotes the Apalis module version, not the evaluation board version.
2015-08-18dm: spi: Correct SPI claim/release_bus() methodsSimon Glass
These methods should be passed a slave device, not a bus. This matches the old SPI interface. It is important to know which device is claiming the bus so passing a bus is not that useful. Reported-by: Haikun Wang <haikun.wang@freescale.com> Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Peng Fan <Peng.Fan@freescale.com> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
2015-08-18colibri_t20: implement early pmic rail configurationMarcel Ziswiler
Implement early TPS6586X PMIC rail configuration setting SM0 being VDD_CORE_1.2V to 1.2 volts and SM1 being VDD_CPU_1.0V to 1.0 volts. While those are PMIC power-up defaults the SoC might have been reset separately with certain rails being left at lower DVFS states which is e.g. the case upon watchdog reset while otherwise nearly idling.
2015-08-10colibri-vf: Enable SPI supportBhuvanchandra DV
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> [add CONFIG_DM to colibri_vf_defconfig] Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2015-08-10dm: spi: Convert Freescale DSPI driver to driver modelHaikun.Wang@freescale.com
Move the Freescale DSPI driver over to driver model. Signed-off-by: Haikun Wang <Haikun.Wang@freescale.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
2015-08-10colibri_vf: add fdt_fixup environment variableStefan Agner
Add additional environment variable "fdt_fixup" which will be called between device tree load command and kernel boot command. This allows to change device tree using U-Boot scripting environment.
2015-07-13apalis_t30: enable display driverMarcel Ziswiler
Enable the display driver on Apalis T30. Unfortunately the PWM pin muxing wasn't any good neither which made that display stay dark.
2015-07-12colibri_t30: enable display driverMarcel Ziswiler
On popular request enable the display driver on Colibri T30. A few notes about some things encountered during porting: While analogue VGA (e.g. via the on-carrier RAMDAC) worked just fine from the beginning the EDT display flickered like crazy which turned out to be a pin muxing issue. Unfortunately the PWM pin muxing wasn't any good neither which made that display stay dark. Enjoy.
2015-07-12tegra: lcd: video: integrate display driver for t30Marcel Ziswiler
On popular request make the display driver from T20 work on T30 as well. Turned out to be quite straight forward. However a few notes about some things encountered during porting: Of course the T30 device tree was completely missing host1x as well as PWM support but it turns out this can simply be copied from T20. The only trouble compiling the Tegra video driver for T30 had to do with some hard-coded PWM pin muxing for T20 which is quite ugly anyway. On T30 this gets handled by a board specific complete pin muxing table. The older Chromium U-Boot 2011.06 which to my knowledge was the only prior attempt at enabling a display driver for T30 for whatever reason got some clocking stuff mixed up. Turns out at least for a single display controller T20 and T30 can be clocked quite similar. Enjoy.
2015-07-12apalis/colibri_t20/t30: increase tftp blocksizeMarcel Ziswiler
Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384 (resp. 1536 on Colibri T20). This increases the tftp download speed considerably. While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to fifty '#' independent of the downloaded file size. While at it also fix some spacing from using spaces to tabs.
2015-07-12colibri_t30: fix framebuffer console regressionMarcel Ziswiler
This is a copy/paste error from the Apalis T30 configuration as there we show the Linux framebuffer console by default on the second framebuffer instance being the DVI-D aka HDMI one due to analogue VGA not being available. This patch changes it for the Colibri T30 back to the first framebuffer instance being the parallel RGB aka TFTLCD one which usually gets converted to analogue VGA via an on-carrier RAMDAC (e.g. at least on the Colibri Evaluation board as well as Iris this is the case).
2015-07-07arm: vf610: support global timerStefan Agner
Add support for ARM global timer. This allows to save the platform wide PIT timer for other purposes such as MQX on the secondary Cortex-M4 core.
2015-06-30colibri_vf: use device-tree for MTD partitionsStefan Agner
Use device-tree fixup to communicate the MTD partitions to the kernel. U-Boot's mtdparts environment variable will be used as partition source for the device-tree based partition table too.
2015-05-28image: add Cortex-M4 related operating systemsStefan Agner
Add new identifiers for Cortex-M4 related (RT)OS eCos, MQX and Bare-metal.
2015-05-28imx-common: add m4boot commandStefan Agner
Add m4boot command which allows to boot FIT images on the Cortex-M4 kernel. The command currently only supports FIT image, which allows to provide entry point and load addresses for all boot artifacts. Currently, the Cortex-M4 mini loader needs to be loaded manually to Kernel loadaddr - 0x80 (e.g. 0x8f000000, if kernel is loaded at 0x8f000080).
2015-05-28colibri_vf: increase tftp block sizeStefan Agner
Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384. This increases the tftp download speed from ~2.5 to ~8.2MiB/s. While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to 50 '#' indepent off the downloaded file size.
2015-05-28colibri_vf: Increase console IO buffer size to 1024Sanchayan Maity
Increase console IO buffer size to 1024 from the previous value of 256. The previous value was too short for editing environment variables like ubiboot, from the console. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2015-05-21Apalis/Colibri iMX6: increase tftp blocksizeMax Krummenacher
Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384. This increases the tftp download speed considerably. While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to fifty '#' indepent off the downloaded file size.
2015-05-18colibri_t20/t30: fix setsdupdateColibri_iMX6_LinuxImageV2.4Beta1_20150518Colibri_VF_LinuxImageV2.4Beta1_20150518Colibri_T30_LinuxImageV2.4Beta1_20150518Colibri_T20_LinuxImageV2.4Beta1_20150518Apalis_iMX6_LinuxImageV2.4Beta1_20150518Apalis_T30_LinuxImageV2.4Beta1_20150518Marcel Ziswiler
Fix setsdupdate by adding missing 'usb start' command. While at it also add USB start to setethupdate as doing it twice won't hurt (e.g. it returns immediately only 'usb reset' does a full rescan).
2015-05-13apalis/colibri_t20/t30: enable of system setup supportMarcel Ziswiler
Enable OF system setup to add hardware revision and serial number information to the device-tree in case a mainline Linux kernel with any such is booted. While at it default back to the regular 8 MB DFU data buffer size.
2015-05-13apalis/colibri_t20/t30: enable raw initrd supportMarcel Ziswiler
Enable optional raw initrd support to allow boot using an initrd.
2015-05-11colibri_imx6.h: source the correct script addressMax Krummenacher
2015-05-09toradex: common: set Toradex specific dt propertiesStefan Agner
Use ft_system_setup to set Toradex specific device-tree properties. At first, this is only the serial-number, which is using a property which is about to be standardized in the binding documentation of the Linux kernel.
2015-05-07Apalis/Colibri iMX6: use Toradex boot logoMax Krummenacher
This uses the tools/logos/toradex.bmp instead of the default tux logo and places it centered on screen. While at it group the display releated variables together.
2015-05-06Apalis/Colibri imx6: remove explicitely set default configsMax Krummenacher
2015-05-06apalis/colibri_t30: fix dfu_alt_infoMarcel Ziswiler
2015-05-05colibri_t20: adjust cfgblock & u-boot env locations in flashMarcel Ziswiler
Swap the order of the Toradex factory configuration block location in respect to the U-Boot environment. This to again be in-line with mainline. Move the Toradex factory configuration block to a 3 MB offset.
2015-05-04colibri_vf: update default configStefan Agner
Add consoleblank=0 to disable console blanking by default. To use initramfs without the need of creating a U-Boot image using mkimage, enable CONFIG_SUPPORT_RAW_INITRD too.
2015-05-04toradex: common: create a place for common functionalityStefan Agner
Some functionality is repetitve accross the boards. This creates a common place for U-Boot functions which need to be implemented similarly for all Toradex modules.
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-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-28colibri_t20: migrateMarcel Ziswiler
Migrate Colibri T20 to U-Boot 2015.04.
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-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-22colibri_vf: Enable GPIO supportBhuvanchandra DV
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
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-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-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-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-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>
2015-04-14colibri_vf: support Toradex config blockStefan Agner
2015-04-14imx: add writebcb commandStefan Agner
Add writebcb command which creates a NAND Boot Configuration Block (BCB) at the beginning of the active flash device. The BCB stores the information for the SoC internal boot ROM where the application with a valid IVT header can be found on the NAND device. The first two argument of the command need an offset of the NAND device where the primary and secondary application can be found. Typically, U-Boot is the application which gets loaded by the boot ROM. Hence, the offset address need to be the address where U-Boot (u-boot.imx along with a 0x400 long prefix) is stored on the device. At least one location is mandatory. Currently only the FCB (Firmware Configuration Block) is written to the device. The DBBT (Discovered Bad Block Table) is optional and not created by writebcb currently.