summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-12-19colibri_imx6.h: fix syntax in vidargsColibri_iMX6_LinuxImageV2.3Beta5_20141219Apalis_iMX6_LinuxImageV2.3Beta6_20150112Apalis_iMX6_LinuxImageV2.3Beta5_201412192014.04-toradexMax Krummenacher
2014-12-10colibri_imx6.h: default to VGA on parallel RGBMax Krummenacher
2014-12-10colibri-imx6: add board_rev to the U-Boot environmentMax Krummenacher
Unify code with Apalis iMX6 while not changing behaviour Add board_rev to the U-Boot environment. On V1.0A HW: 010a Add CONFIG_ENV_VARS_UBOOT_CONFIG
2014-12-10apalis-imx6: add HW revision detectionMax Krummenacher
- Default to DTE UART mode, as used on HW V1.1 but automatically fall back to use DCE UART on V1.0 HW. - If using the default device tree filename imx6q-apalis-eval.dtb, switch to the V1.0 devicetree on V1.0 HW. If device tree name is not the default leave it alone. - Add board_rev to the U-Boot environment. On V1.0A HW: 010a - Add CONFIG_ENV_VARS_UBOOT_CONFIG
2014-12-05apalis imx6: add inital configuration for ITMax Krummenacher
- Add a 2GB RAM configuration with quick and dirty DDR optimization values. - Make sure the device-tree is not relocated to high-memory. - Configure eMMC reset to GPIO with pullup. The boot ROM already did a pulse.
2014-12-05apalis-imx6: V1.1 HW changesMax Krummenacher
- use PWM 4 through a buffer for BL_PWM - use UARTs in DTE mode (Pinout change from V1.1 HW) - enable mtest
2014-12-05apalis_imx6: use _ in file nameMax Krummenacher
Be consistent with other Toradex products
2014-12-05colibri_imx6: use UART DTE mode unconditionallyMax Krummenacher
2014-12-05colibri_imx6: use _ in file nameMax Krummenacher
Be consistent with other Toradex products
2014-10-28Apalis/Colibri iMX6: cleanup configsMax Krummenacher
remove double defines remove unneeded environment remove usb nic driver move defines to were they logically belong move the (unused) ramdisk_addr_r out of the addresses used for the kernel
2014-09-18apalis-imx6.h: fix LVDS panel name in environmentMax Krummenacher
2014-09-18colibri-imx6.h: add vidargs example for HDMIMax Krummenacher
2014-09-10colibri-imx6.h: adapt vidargs for i.MX6S/DLMax Krummenacher
2014-09-10colibri-imx6.h: set module parameter galcoreMax Krummenacher
Without this X does not start on a Colibri iMX6S for lack of RAM. galcore.contiguousSize=50331648 (48MB)
2014-09-01colibri-imx6: initial support for dual-lightMax Krummenacher
2014-07-21colibri vf50/61: update env config for environmentStefan Agner
Define the environment partition r/w in order to write the environment from Linux. Also define ENV_RANGE to make use of the whole parittion in case the partition contains bad blocks.
2014-07-21apalis-imx6.h: add LVDS vidargs env. variable sampleMax Krummenacher
additionally fix missing whitespace in LCD sample
2014-07-16apalis-imx6.h: add device tree bootingMax Krummenacher
while at it - clean up environment variables and names - make setupdate work with both SD/MMC slots - add example for VDAC video out
2014-07-16apalis-imx6.h: cleanupMax Krummenacher
2014-07-15apalis-imx6: use DCE UARTs for nowMax Krummenacher
Apalis iMX6+ 1GB V1.0A V1.0B are wired for DCE, now that the code is prepared for DTE switch back to DCE.
2014-07-15apalis_imx6: update config to changed USB stackMax Krummenacher
2014-07-15apalis-imx6: Enable VERSION_VARIABLEMax Krummenacher
Enable VERSION_VARIABLE in order to be able to check U-Boot version from update scripts.
2014-07-15apalis-imx6: use UARTs in DCE modeMax Krummenacher
The Apalis standart uses the UART in DTE mode. This commit uses UART1 in DTE mode for the U-Boot console and configures all used UARTs to start in DTE mode. Note that for this to work module version V1.0A requires TXD/RXD to be crossed between the Apalis iMX6 and the RS232 transceiver.
2014-06-27colibri vf50/61: fix environment offsetStefan Agner
Environment offset was set to block 6 (0xC0000), which is still inside the U-Boot partition. Since U-Boot is small enouth to fit in the first 5 blocks, it usually is not an issue, however if one of this 5 blocks is bad, then the environment overwrites part of the boot loader. This fix sets the environment to erase block 12 (0x180000).
2014-05-23colibri vf50/61: increase boot delay to fix uart loadingColibri_VF_LinuxImageV2.2Beta1_20140603Marcel Ziswiler
Increase boot delay to one second again as otherwise one is not able to enter into the interactive U-Boot console when recovering U-Boot via UART (e.g. doing ./update.sh -d /dev/ttyUSB0).
2014-05-23colibri vf50/61: fix various issuesMarcel Ziswiler
Change to a Toradex email address. Properly handle malloc return value. Re-implement memory kernel argument passing in order to properly use all available memory even on our currently used kernel. Re-integrate U-Boot board size limit checking. Re-add CMD_ASKENV and CMD_EXT2 but disable CMD_FLASH and CMD_LOADB/S again. Get rid of spurious double CMD_BOOTZ define. Enable VERSION_VARIABLE in order to be able to check U-Boot version from our update scripts. Change boot delay to zero and enable ZERO_BOOTDELAY_CHECK to be more in-line with our other BSPs. Re-integrate vidargs environment handling. Added setupdate command introduced on Apalis iMX6 to ease update procedure from SD card. While at it ran it through checkpatch.pl and cleaned it up.
2014-05-06ARM: mx6: CPU errata and I2C changesMax Krummenacher
follow commit 02824dc78642b3057cc8c1ab7dc32203f55a17fa ARM: mx6: Update non-Freescale boards to include CPU errata. follow commit b089d039b1971fc3abfe1d9bcebd0d35245fb110 i2c: update config using mxc driver to new subsystem
2014-05-06Merge remote-tracking branch 'remotes/origin/toradex_imx6' into ↵Max Krummenacher
2014.04-colibri_vf Conflicts: boards.cfg
2014-04-30colibri_vf: move load addressStefan Agner
Move load address to the beginning of RAM to maximize available RAM for filesystem images.
2014-04-29colibri_vf: fix ubi root partitionStefan Agner
Use UBI root partition according to MTD partition name.
2014-04-28colibri_vf: change default environmentStefan Agner
Use default environment which boots from UBI. Add commands to boot from NFS or MMC as available on other Toradex modules. Also configure default IP address and command prompt.
2014-04-24colibri_vf: add detection for Colibri VF50Stefan Agner
Detect Colibri VF50 modules by read L2 cache configuration of the running CPU. Colibri VF50 modules come without L2 cache. Configure CPU clock accordingly.
2014-04-24colibri_vf: add Toradex config blockStefan Agner
Add support for Toardex specific config block. This data structure is available on NAND and written at production time. Get MAC address as well as serial number and board revision from this structure.
2014-04-24colibri_vf: enable NAND and use environment from NANDStefan Agner
This enables NAND for Colibri VF61/VF50. The environment is now taken from NAND. The first block, the boot control block, is definied as a seperate partition in order for easier erasing.
2014-04-24arm: vf610: initial integration for Colibri VF61Stefan Agner
This adds initial support for Colibri VF61 based on Freescale Vybrid Tower System TWR-VF65GS10: - New Machine ID - Default UART_A on SCI0 - FEC1 - Enabled command line editing - PLL5 based RMII clocking (e.g. no external crystal) - UART_A and UART_C I/O muxing - Boot from OCRAM gfxRAM Tested on Colibri VF61 V1.1 booting using serial loader over UART.
2014-04-14arm: kzm9g: Add CONFIG_SYS_GENERIC_BOARDTetsuyuki Kobayashi
Add CONFIG_SYS_GENERIC_BOARD to use common/board_[fr].c for kzm9g. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Acked-by: Heiko Schocher <hs@denx.de> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2014-04-11board:tricorder: fixup SPL OOB layoutAndreas Bießmann
Commit d016dc42cedbf6102e100fa9ecb58462edfb14f8 changed the layout of BCH8 SW on omap3 boards. We need to adopt the ecc layout for the nand_spl_simle driver to avoid wrong ecc errors. Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.de> Cc: Thomas Weber <thomas.weber@corscience.de> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
2014-04-11board:tricorder: enable omap_gpio clocksAndreas Bießmann
Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.de> Cc: Thomas Weber <thomas.weber@corscience.de> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
2014-04-08Merge branch 'u-boot/master' into 'u-boot-arm/master'Albert ARIBAUD
Conflicts: arch/arm/cpu/arm926ejs/mxs/Makefile include/configs/trats.h include/configs/trats2.h include/mmc.h
2014-04-08arm64 patch: gicv3 supportDavid Feng
This patch add gicv3 support to uboot armv8 platform. Changes for v2: - rename arm/cpu/armv8/gic.S with arm/lib/gic_64.S - move smp_kick_all_cpus() from gic.S to start.S, it would be implementation dependent. - Each core initialize it's own ReDistributor instead of master initializeing all ReDistributors. This is advised by arnab.basu <arnab.basu@freescale.com>. Signed-off-by: David Feng <fenghua@phytium.com.cn>
2014-04-07Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'Albert ARIBAUD
2014-04-07MX6: Enable ARM errata workaround 794072 and 761320Nitin Garg
Since MX6 is Cortex-A9 r2p10, enable software workaround for errata 794072 and 761320. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
2014-04-07socfpga: Adding Clock Manager driverChin Liang See
Clock Manager driver will be called to reconfigure all the clocks setting based on user input. The input are passed to Preloader through handoff files Signed-off-by: Chin Liang See <clsee@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> CC: Pavel Machek <pavel@denx.de> Cc: Dinh Nguyen <dinguyen@altera.com> Acked-by: Pavel Machek <pavel@denx.de>
2014-04-04Merge branch 'master' of git://git.denx.de/u-boot-arm into masterStefano Babic
Conflicts: arch/arm/cpu/arm926ejs/mxs/mxsimage.mx23.cfg arch/arm/cpu/arm926ejs/mxs/mxsimage.mx28.cfg Signed-off-by: Stefano Babic <sbabic@denx.de>
2014-04-02trats/trats2: enable CONFIG_RANDOM_UUIDPrzemyslaw Marczak
This change enables automatically uuid generation by command gpt. In case of updating partitions layout user don't need to care about generate uuid manually. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Piotr Wilczek <p.wilczek@samsung.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: trini@ti.com
2014-04-02new commands: uuid and guid - generate random unique identifierPrzemyslaw Marczak
Those commands basis on implementation of random UUID generator version 4 which is described in RFC4122. The same algorithm is used for generation both ids but string representation is different as below. char: 0 9 14 19 24 36 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx UUID: be be be be be GUID: le le le be be Commands usage: - uuid [<varname>] - guid [<varname>] The result is saved in environment as a "varname" variable if argument is given, if not then it is printed. New config: - CONFIG_CMD_UUID Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: trini@ti.com
2014-04-02lib: uuid: add functions to generate UUID version 4Przemyslaw Marczak
This patch adds support to generate UUID (Universally Unique Identifier) in version 4 based on RFC4122, which is randomly. Source: https://www.ietf.org/rfc/rfc4122.txt Changes: - new configs: - CONFIG_LIB_UUID for compile lib/uuid.c - CONFIG_RANDOM_UUID for functions gen_rand_uuid() and gen_rand_uuid_str() - add configs dependency to include/config_fallbacks.h for lib uuid. lib/uuid.c: - add gen_rand_uuid() - this function writes 16 bytes len binary representation of UUID v4 to the memory at given address. - add gen_rand_uuid_str() - this function writes 37 bytes len hexadecimal ASCII string representation of UUID v4 to the memory at given address. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Lukasz Majewski <l.majewski@samsung.com> [trini: Add CONFIG_EFI_PARTITION to fallbacks] Signed-off-by: Tom Rini <trini@ti.com>
2014-04-02lib: uuid: code refactor for proper maintain between uuid bin and stringPrzemyslaw Marczak
Changes in lib/uuid.c to: - uuid_str_to_bin() - uuid_bin_to_str() New parameter is added to specify input/output string format in listed functions This change allows easy recognize which UUID type is or should be stored in given string array. Binary data of UUID and GUID is always stored in big endian, only string representations are different as follows. String byte: 0 36 String char: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx string UUID: be be be be be string GUID: le le le be be This patch also updates functions calls and declarations in a whole code. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: trini@ti.com
2014-04-02part_efi: move uuid<->string conversion functions into lib/uuid.cPrzemyslaw Marczak
This commit introduces cleanup for uuid library. Changes: - move uuid<->string conversion functions into lib/uuid.c so they can be used by code outside part_efi.c. - rename uuid_string() to uuid_bin_to_str() for consistency with existing uuid_str_to_bin() - add an error return code to uuid_str_to_bin() - update existing code to the new library functions. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: trini@ti.com
2014-04-02config:trats2: Change u-boot's TEXT_BASE from 0x78100000 to 0x43e00000Łukasz Majewski
The u-boot's image TEXT_BASE needs to be changed to 0x43e00000 from 0x78100000. This change provides compatibility with other trats2 (RD_PQ) devices (http://download.tizen.org/releases/system/). Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>