]>
git.karo-electronics.de Git - karo-tx-uboot.git/log
Lothar Waßmann [Mon, 4 Jul 2016 12:49:50 +0000 (14:49 +0200)]
Merge branch 'tx53-bugfix'
Lothar Waßmann [Mon, 4 Jul 2016 12:49:42 +0000 (14:49 +0200)]
Merge branch 'tx28-bugfix'
Lothar Waßmann [Thu, 30 Jun 2016 13:41:36 +0000 (15:41 +0200)]
karo: tx28: fix bugs in 'romupdate' command
Lothar Waßmann [Thu, 30 Jun 2016 13:41:08 +0000 (15:41 +0200)]
karo: tx28: enable 'gpio' command
Lothar Waßmann [Thu, 30 Jun 2016 13:40:18 +0000 (15:40 +0200)]
mxs_gpio: correctly use the GPIO API
The GPIO API expects a linear GPIO number as parameter to the gpio_*()
functions. The current implementation of the mxs_gpio driver operates on
iomux_cfg_t cookies instead. Therefore the 'gpio' command cannot be
used with this driver.
Change the driver to implement the correct API and introduce some
checks to catch users that still use the old semantics.
1. assert the most sigificant bit in the iomux_cfg_t pad definitions,
so that using such a cookie in place of a GPIO number will
decisively generate an invalid GPIO number and flag an error at runtime.
2. introduce a compile switch CONFIG_MXS_IOMUX_COMPILE_CHECK to make
the iomux_cfg_t cookie a 64 bit variable, so that passing an
iomux_cfg_t value to a gpio_*() function will generate a compile
time error.
Lothar Waßmann [Thu, 30 Jun 2016 10:31:42 +0000 (12:31 +0200)]
mxs_gpio: improve readability by using '(void *)' on right hand size of pointer initializations
Lothar Waßmann [Thu, 30 Jun 2016 10:30:15 +0000 (12:30 +0200)]
mxs_gpio: remove unused defines
Lothar Waßmann [Thu, 30 Jun 2016 12:33:39 +0000 (14:33 +0200)]
karo: tx28: request gpio for acitivity LED and disable LED on failure
Lothar Waßmann [Thu, 30 Jun 2016 10:01:49 +0000 (12:01 +0200)]
karo: tx28: enable activity led only on stk5-v3 baseboard
Lothar Waßmann [Thu, 30 Jun 2016 09:59:02 +0000 (11:59 +0200)]
karo: tx28: enable U-Boot build with different (or none) console UART
Lothar Waßmann [Thu, 30 Jun 2016 09:57:39 +0000 (11:57 +0200)]
karo: tx28: explicitly configure pad config (voltage, pull, drive) for all pads
Lothar Waßmann [Thu, 30 Jun 2016 09:45:52 +0000 (11:45 +0200)]
karo: tx28: remove LCD pad configuration from SPL
Lothar Waßmann [Thu, 30 Jun 2016 09:44:30 +0000 (11:44 +0200)]
mxs: spl: print the actual battery brownout level rather than the constant string '3.0V'
Lothar Waßmann [Thu, 30 Jun 2016 09:43:32 +0000 (11:43 +0200)]
mxs: spl: adjust delay after setting CLKCTRL_PLL0CTRL0_POWER to what the hardware requires (according to the Reference Manual)
Lothar Waßmann [Thu, 30 Jun 2016 09:37:16 +0000 (11:37 +0200)]
mxs: spl: use writel() to Set/Clear registers rather than {set|clear}bits_le32() where applicable
Lothar Waßmann [Thu, 30 Jun 2016 09:35:07 +0000 (11:35 +0200)]
mxs: spl: replace bogus early_delay() function with standard udelay() calls
Lothar Waßmann [Thu, 30 Jun 2016 09:32:52 +0000 (11:32 +0200)]
ARM: MXS: use 'struct mxs_digctl_regs' to access MXS_HW_DIGCTL_MICROSECONDS
Lothar Waßmann [Thu, 30 Jun 2016 08:46:21 +0000 (10:46 +0200)]
karo: tx53: enable 'gpio' command
Lothar Waßmann [Thu, 30 Jun 2016 08:46:00 +0000 (10:46 +0200)]
karo: tx53: romupdate: fix calculation of starting block in tx53_prog_uboot()
Lothar Waßmann [Thu, 30 Jun 2016 08:44:39 +0000 (10:44 +0200)]
karo: tx53: various fixes for CONFIG_SECURE_BOOT
Lothar Waßmann [Wed, 29 Jun 2016 09:06:58 +0000 (11:06 +0200)]
fs/fs.c: correctly interpret the '(max)len' parameter to fs_read()
The 'len' parameter passed to fs_read() actually denotes the maximum
number of bytes that fit into the callers buffer, not an expected
amount of data to be read.
Rename the parameter accordingly and honor the maxlen requested by the
caller appropriately.
Also remove the bogus warning message printed when the number of bytes
read is smaller than maxlen.
Lothar Waßmann [Wed, 29 Jun 2016 08:52:53 +0000 (10:52 +0200)]
cmd_gpio.c: adjust help message depending on gpio_status being compiled in or not
Lothar Waßmann [Wed, 29 Jun 2016 08:51:31 +0000 (10:51 +0200)]
common/cmd_mtdparts.c: print ECC stats along with partition information
Lothar Waßmann [Wed, 29 Jun 2016 08:50:13 +0000 (10:50 +0200)]
common/cmd_mtdparts.c: use proper return values for U-Boot command functions
Lothar Waßmann [Wed, 29 Jun 2016 08:46:49 +0000 (10:46 +0200)]
common/cmd_misc.c: fix return code of sleep command
-1 is equivalent to CMD_RET_USAGE and makes the sleep command print
its usage information when aborted by <CTRL-C> which is most probably
not intended.
Lothar Waßmann [Mon, 13 Jun 2016 10:19:11 +0000 (12:19 +0200)]
Merge branch 'tx28-update' into tx28-bugfix
Lothar Waßmann [Tue, 26 Apr 2016 13:33:34 +0000 (15:33 +0200)]
karo: tx6ul: disable the PMIC for '_noenv' U-Boot
The I2C access to the PMIC requires the TAMPER pins of the i.MX6UL to
be useable as GPIOs. This is only possible after the TAMPER_PIN_DISABLE
fuses are programmed which is usually done via U-Boot.
Resolve this catch 22 situation by disabling the PMIC in the '_noenv'
U-Boot variant which is usually used in the manufacturing
environment.
Lothar Waßmann [Tue, 26 Apr 2016 13:30:56 +0000 (15:30 +0200)]
karo: tx6ul: make board string dependent on cpurev
Lothar Waßmann [Tue, 26 Apr 2016 13:29:48 +0000 (15:29 +0200)]
mx6: clock: use setup_gpmi_io_clk() to change nfc clk divider for CONFIG_NAND_MXS
Lothar Waßmann [Tue, 26 Apr 2016 13:20:19 +0000 (15:20 +0200)]
mx6: clock: fix integer overflow in calculation of relative error in set_nfc_clk()
Lothar Waßmann [Tue, 26 Apr 2016 13:19:20 +0000 (15:19 +0200)]
mx6: ocotp: add timeout to busy wait loop
Lothar Waßmann [Tue, 26 Apr 2016 13:16:57 +0000 (15:16 +0200)]
karo: tx6: pmic: print PMIC name in boot messages
Lothar Waßmann [Tue, 19 Apr 2016 14:07:37 +0000 (16:07 +0200)]
arm: mx6: fix NFC clock get/set routines for i.MX6QP,i.MX6UL
Lothar Waßmann [Mon, 18 Apr 2016 12:45:01 +0000 (14:45 +0200)]
karo: tx6: add support for TX6Q-8037 (i.MX6QP)
Lothar Waßmann [Mon, 18 Apr 2016 12:43:29 +0000 (14:43 +0200)]
karo: tx6: add support for boards with >= 2GiB memory
Lothar Waßmann [Mon, 18 Apr 2016 12:42:17 +0000 (14:42 +0200)]
karo: tx6: disable gpmi clk before changing podf and clk_sel
Lothar Waßmann [Mon, 18 Apr 2016 07:43:23 +0000 (09:43 +0200)]
karo: tx6: replace open coded interpretation of cpurev by calls to is_cpu_type()
Lothar Waßmann [Mon, 18 Apr 2016 07:33:43 +0000 (09:33 +0200)]
karo: tx6: set LCD x, y dimensions to 0 when disabling LCD
Even when the LCD is disabled, the LCD framework will still clear the
video memory. This can take a cosiderable amount of time for the
maximum resolution of 16MiB that the i.MX6 supports.
Setting vl_row and vl_col to 0 results in a zero sized framebuffer
to avoid this unnecessary delay.
Lothar Waßmann [Mon, 18 Apr 2016 07:30:59 +0000 (09:30 +0200)]
karo: tx6: rename CONFIG_SYS_BOOT_CMD_NAND to FDTSAVE_CMD_STR
This macro in not actually a configurable setting as the original
naming suggests.
Lothar Waßmann [Wed, 13 Apr 2016 10:03:10 +0000 (12:03 +0200)]
mx6: clock: take 'num' and 'denom' regs into account when calculating audio/video PLL frequency
Lothar Waßmann [Wed, 13 Apr 2016 10:00:52 +0000 (12:00 +0200)]
net: fec: use correct sizes to clear and flush descriptors
Lothar Waßmann [Wed, 13 Apr 2016 09:17:12 +0000 (11:17 +0200)]
rename TX6Q-1033 to TX6Q-1036
Lothar Waßmann [Thu, 24 Mar 2016 11:30:01 +0000 (12:30 +0100)]
karo: tx28: supply a valid stack pointer to early SPL code
Lothar Waßmann [Thu, 24 Mar 2016 11:28:21 +0000 (12:28 +0100)]
karo: tx28: remove obsolete u-boot.bd
Lothar Waßmann [Thu, 24 Mar 2016 11:01:02 +0000 (12:01 +0100)]
mxs: spl: remove duplicate debug messages
Lothar Waßmann [Fri, 18 Mar 2016 09:35:26 +0000 (10:35 +0100)]
karo: tx6: remove redundant #ifndef CONFIG_TX6_UBOOT_MFG
Lothar Waßmann [Thu, 18 Feb 2016 17:38:00 +0000 (18:38 +0100)]
Merge branch 'tx53-update-2016-02-03' into karo-tx6
Lothar Waßmann [Thu, 18 Feb 2016 17:37:47 +0000 (18:37 +0100)]
Merge branch 'tx28-update-2016-02-03' into karo-tx6
Lothar Waßmann [Thu, 18 Feb 2016 17:37:33 +0000 (18:37 +0100)]
Merge branch 'tx6-update-2016-02-03' into karo-tx6
Lothar Waßmann [Thu, 18 Feb 2016 17:36:01 +0000 (18:36 +0100)]
karo: tx6ul: fix bogus GPIO numbers
Lothar Waßmann [Thu, 18 Feb 2016 17:35:38 +0000 (18:35 +0100)]
karo: tx6ul: add pad settings for FT5x06 and USB pads on STK5
Lothar Waßmann [Thu, 18 Feb 2016 17:34:32 +0000 (18:34 +0100)]
karo: tx6ul: add support for TX6UL Mainboard (v1)
Lothar Waßmann [Thu, 18 Feb 2016 17:30:19 +0000 (18:30 +0100)]
karo: tx6ul: defer mmc probing until environment has been loaded
Check the 'baseboard' environment variable before initializing the MMC
interface to prevent error messages on TX6UL-Mainboard which doesn't
support MMC mass storage.
Lothar Waßmann [Thu, 18 Feb 2016 17:29:21 +0000 (18:29 +0100)]
karo: tx6ul: proper initialize second FEC if available
Lothar Waßmann [Thu, 18 Feb 2016 17:27:36 +0000 (18:27 +0100)]
karo: tx6ul: reorder functions to better follow which ones are called with the default resp. loaded environment
Lothar Waßmann [Thu, 18 Feb 2016 17:18:43 +0000 (18:18 +0100)]
karo: tx6: check ctrlc before returning error code for unsupported baseboard
Lothar Waßmann [Thu, 18 Feb 2016 17:17:01 +0000 (18:17 +0100)]
karo: tx53: check ctrlc before returning error code for unsupported baseboard
Lothar Waßmann [Thu, 18 Feb 2016 17:16:23 +0000 (18:16 +0100)]
karo: tx53: don't return non-zero return value in board_init() upon CTRL-C detection
Lothar Waßmann [Thu, 18 Feb 2016 16:58:57 +0000 (17:58 +0100)]
karo: tx6ul: make show_activity() bail out on GPIO error
Lothar Waßmann [Thu, 18 Feb 2016 16:57:57 +0000 (17:57 +0100)]
karo: tx6ul: indentation fixes
Lothar Waßmann [Thu, 18 Feb 2016 16:23:58 +0000 (17:23 +0100)]
karo: tx6: don't write u-boot image with WITH_DROP_FFS
Lothar Waßmann [Thu, 18 Feb 2016 15:22:15 +0000 (16:22 +0100)]
karo: tx53: don't write u-boot image with WITH_DROP_FFS
Lothar Waßmann [Thu, 11 Feb 2016 12:02:36 +0000 (13:02 +0100)]
karo: tx28: set CONFIG_ENV_OVERWRITE also for NAND environment
Lothar Waßmann [Thu, 11 Feb 2016 12:02:28 +0000 (13:02 +0100)]
karo: tx28: fix prototype of video_hw_init()
Lothar Waßmann [Thu, 11 Feb 2016 12:02:21 +0000 (13:02 +0100)]
karo: tx28: check ctrlc before returning error code for unsupported baseboard
Lothar Waßmann [Thu, 11 Feb 2016 12:02:04 +0000 (13:02 +0100)]
karo: tx28: don't return non-zero return value in board_init() upon CTRL-C detection
Lothar Waßmann [Thu, 11 Feb 2016 11:26:02 +0000 (12:26 +0100)]
karo: tx28: don't write u-boot image with WITH_DROP_FFS
Lothar Waßmann [Thu, 4 Feb 2016 12:48:54 +0000 (13:48 +0100)]
karo: tx6ul: fix ENET2_TX_CLK pad settings
Lothar Waßmann [Thu, 4 Feb 2016 11:13:35 +0000 (12:13 +0100)]
karo: remove redundant cmap entry in panel_info
Lothar Waßmann [Thu, 4 Feb 2016 11:12:19 +0000 (12:12 +0100)]
net: fec_mxc: exempt already found PHYs from being probed again
Lothar Waßmann [Thu, 4 Feb 2016 11:11:38 +0000 (12:11 +0100)]
net: fec_mxc: make base_mii configurable
Lothar Waßmann [Thu, 4 Feb 2016 11:01:35 +0000 (12:01 +0100)]
lcd: properly display bitmaps > 8bpp
Lothar Waßmann [Thu, 4 Feb 2016 11:00:58 +0000 (12:00 +0100)]
lcd: support corner cases for splashpos
Lothar Waßmann [Wed, 3 Feb 2016 06:16:20 +0000 (07:16 +0100)]
lcd: fix integer overflow in calculation of number of colors
Lothar Waßmann [Wed, 3 Feb 2016 06:05:48 +0000 (07:05 +0100)]
lcd: fix typo CONFIG_BMP_24BMP -> CONFIG_BMP_24BPP
Lothar Waßmann [Thu, 26 Nov 2015 14:37:48 +0000 (15:37 +0100)]
karo: tx6ul: set VIDEO_PLL to 648MHz by default
Lothar Waßmann [Thu, 26 Nov 2015 14:34:30 +0000 (15:34 +0100)]
karo: tx6ul: fix ENFC_CLK_SEL bitmask
On i.MX6UL the bitmask for ENFC_CLK_SEL in CS2CDR is different from the other
i.MX6 variants.
Lothar Waßmann [Thu, 26 Nov 2015 14:33:58 +0000 (15:33 +0100)]
ARM: imx6ul: add support for mxsfb on i.MX6UL
Lothar Waßmann [Thu, 26 Nov 2015 14:31:34 +0000 (15:31 +0100)]
ARM: imx6: clocks: add support for eLCDIF clock on i.MX6UL
Lothar Waßmann [Thu, 26 Nov 2015 14:31:02 +0000 (15:31 +0100)]
ARM: imx6: clocks: remove function local definitions of mxc_ccm_reg and anatop_regs
Lothar Waßmann [Thu, 26 Nov 2015 14:30:00 +0000 (15:30 +0100)]
imx6: rename ANADIG_PLL_AUDIO_TEST_DIV to ANADIG_PLL_AUDIO_POST_DIV
Lothar Waßmann [Thu, 26 Nov 2015 13:07:39 +0000 (14:07 +0100)]
karo: tx6: enable CONFIG_BMP_*BPP to make splashscreen functional again
Lothar Waßmann [Thu, 26 Nov 2015 13:06:28 +0000 (14:06 +0100)]
karo: tx6: rework PMIC code to allow for different configs for same chip
Lothar Waßmann [Thu, 26 Nov 2015 13:05:17 +0000 (14:05 +0100)]
karo: tx6ul: enable soft_i2c for PMIC access
Lothar Waßmann [Thu, 26 Nov 2015 13:00:18 +0000 (14:00 +0100)]
karo: tx6: set TX6_REV=0x1 where appropriate to eliminate code for unused PMIC chips
Lothar Waßmann [Thu, 26 Nov 2015 12:59:22 +0000 (13:59 +0100)]
karo: tx6ul: fix max. dimensions of framebuffer
Lothar Waßmann [Mon, 16 Nov 2015 07:57:32 +0000 (08:57 +0100)]
karo: tx6: disable LCD in '_noenv' config
Lothar Waßmann [Mon, 16 Nov 2015 07:56:32 +0000 (08:56 +0100)]
karo: tx6: remove secure_boot fuse override which is a leftover from secure boot tests
Lothar Waßmann [Mon, 26 Oct 2015 13:46:20 +0000 (14:46 +0100)]
Merge branch 'tx48-devel' into karo-devel
Lothar Waßmann [Mon, 26 Oct 2015 13:44:47 +0000 (14:44 +0100)]
Merge branch 'tx28-devel' into karo-devel
Lothar Waßmann [Mon, 26 Oct 2015 13:19:48 +0000 (14:19 +0100)]
karo: tx28: Kconfig: select CMD_ROMUPDATE for TX28 modules
Lothar Waßmann [Mon, 26 Oct 2015 13:14:47 +0000 (14:14 +0100)]
Merge branch 'tx28-bugfix' into karo-devel
Lothar Waßmann [Mon, 26 Oct 2015 13:14:36 +0000 (14:14 +0100)]
Merge branch 'tx51-bugfix' into karo-devel
Lothar Waßmann [Mon, 26 Oct 2015 11:41:39 +0000 (12:41 +0100)]
tools: elftosb: use g++ to compile elftosb to prevent link error due to missing libm
Lothar Waßmann [Mon, 26 Oct 2015 11:40:59 +0000 (12:40 +0100)]
tools: elftosb: makefile indentation and whitespace cleanup
Lothar Waßmann [Mon, 26 Oct 2015 11:23:28 +0000 (12:23 +0100)]
karo: tx48: fix build error "undefined reference to `mmc_legacy_init'"
Lothar Waßmann [Mon, 26 Oct 2015 11:15:08 +0000 (12:15 +0100)]
karo: fdt: prevent duplicate call of fdt_fixup_ethernet()
fdt_fixup_ethernet() is already called internally
by boot_prep_linux(). Remove the calls to it in ft_board_setup().
Lothar Waßmann [Fri, 23 Oct 2015 10:46:03 +0000 (12:46 +0200)]
video: ipu: initialize g_ipu_clk, g_ldb_clk statically
When the FB driver has not been initialized, booting Linux will hang
the system when ipuv3_fb_shutdown() is called from arch_preboot_os()
because clk_enable(g_ipu_clk) is a NOP with g_ipu_clk == NULL.
There is no need to initialize these variables at runtime, so use
static initialization to prevent this problem.
Lothar Waßmann [Thu, 22 Oct 2015 13:04:44 +0000 (15:04 +0200)]
arm: mx6: fix the AIPS?_BASE_ADDR fsckup introduced by commit
f5def95698f6
commit
f5def95698f6f3d8923f0e38706e3e5ebed81a10 ("imx: mx6: Fixed AIPS3 base address issue")
claimed to fix an AIPS3 base address issue, while it in fact messed up
the AIPS1 and AIPS2 base addresses too.
Lothar Waßmann [Thu, 22 Oct 2015 09:28:29 +0000 (11:28 +0200)]
karo: tx6: adapt romupdate command for i.MX6UL