- Nov 12, 2015
-
-
Need to call lcdif_power_down to make lcdif in initial state before kernel boot. Similar issue for uboot reset with lcdif enabled, system will hang after serveral times resetting. Need to let lcdif initial state to make all go well. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Eric Nelson <eric.nelson@boundarydevices.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Tim Harvey <tharvey@gateworks.com> Cc: Fabio Estevam <fabio.estevam@freescale.com>
-
We need to power down lcdif before uboot reset to make reset can pass stress test. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
-
Introudce a new function lcdif_power_down. 1. Waits for a VSYNC interrupt to guarantee the reset is done at the VSYNC edge, which somehow makes the LCDIF consume the display FIFO(?) and helps the LCDIF work normally at the kernel stage. 2. Add power down function to stop lcdif. The reason to introduce lcdif_power_down is that we want lcdif to be in initial state when doing uboot reset or before kernel boot to make system stable, otherwise system may hang. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Acked-by:
Anatolij Gustschin <agust@denx.de>
-
Support lcdif display: 1. Add pinmux and pad settings for LCDIF 2. Introduce setup_lcd to do the settings for LCDIF 3. Enable VIDEO related macros in board header files 4. Add a new env videomode which is needed by mxsfb.c. The settings for videomode in this patch is for TFT43AB. 5. Tested on mx6ul 14x14/9x9 evk. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
-
Implement mxs_set_lcdclk, enable_lcdif_clock and enable_pll_video. The three API can be used to configure lcdif related clock when CONFIG_VIDEO_MXS enabled. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
-
Add i.MX6UL/SX LCDIF related macros. Discard uneccessary '#ifdef xxx'. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by:
Stefano Babic <sbabic@denx.de>
-
1. Move WDOG3_BASE_ADDR to '#if !(defined(__ASSEMBLY__))'. 2. Add i.MX6UL LCDIF register base address. And Introduce LCDIF1_BASE_ADDR to support runtime check. 3. include <asm/imx-common/regs-lcdif.h> for imx-regs.h to avoid building error for mxsfb.c, since mxsfb.c use imx-regs.h. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
-
Share one lcdif structure for i.MXes. 1. Discard struct mxs_lcdif_regs from imx-regs.h of i.MX7 2. Add i.MX6SX/6UL/7D support in imx-lcdif.h of imx-common Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
-
Move 'struct mxs_lcdif_regs' and lcdif related macro definitions to arch/arm/include/asm/imx-common/regs-lcdif.h. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
-
There are uint8_t, uint32_t types in regs-common.h, so include linux/types.h. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
-
regs-common.h must be wrapped with #ifndef __ASSEMBLY__ Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
-
board_mxsfb_system_setup must be renamed mxsfb_system_setup. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Stefano Babic <sbabic@denx.de>
-
Change mxs_set_lcdclk prototype to add a new parameter base_addr. There are two LCD interfaces for i.MX6SX, we may support LCDIF1 or LCDIF2. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Acked-by:
Anatolij Gustschin <agust@denx.de>
-
The kernel_addr_r should be set to the same value as CONFIG_LOADADDR, get rid of the duplication. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Sean Cross <xobs@kosagi.com> Cc: Stefano Babic <sbabic@denx.de>
-
Support PSCI and switch to non-secure mode when booting linux. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Signed-off-by:
Frank Li <Frank.Li@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
-
1. add basic psci support for imx7 chip. 2. support cpu_on and cpu_off. 3. switch to non-secure mode when boot linux kernel. 4. set csu allow accessing all peripherial register in non-secure mode. Signed-off-by:
Frank Li <Frank.Li@freescale.com> Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
-
The code such as PSCI in section named secure is bundled with u-boot image, and when bootm, the code will be copied to their runtime address same to compliation/linking address - CONFIG_ARMV7_SECURE_BASE. When compile the PSCI code and link it into the u-boot image, there will be relocation entries in .rel.dyn section for PSCI. Actually, we do not needs these relocation entries. If still keep the relocation entries in .rel.dyn section, r0 at line 103 and 106 in arch/arm/lib/relocate.S may be an invalid address which may not support read/write for one SoC. 102 /* relative fix: increase location by offset */ 103 add r0, r0, r4 104 ldr r1, [r0] 105 add r1, r1, r4 106 str r1, [r0] So discard them to avoid touching the relocation entry in arch/arm/lib/relocate.S. Signed-off-by:
Peng Fan <Peng.Fan@freescale.com> Cc: Tom Warren <twarren@nvidia.com> Cc: York Sun <yorksun@freescale.com> Cc: Hans De Goede <hdegoede@redhat.com> Cc: Ian Campbell <ijc@hellion.org.uk> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@konsulko.com> Cc: Jan Kiszka <jan.kiszka@siemens.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
There is really no need to provide an empty reset_cpu() implementation, so just remove it. Cc: Tim Harvey <tharvey@gateworks.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Tim Harvey <tharvey@gateworks.com>
-
There is really no need to provide an empty reset_cpu() implementation, so just remove it. Cc: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Christian Gmeiner <christian.gmeiner@gmail.com>
-
There is really no need to provide an empty reset_cpu() implementation, so just remove it. Cc: Marek Vasut <marex@denx.de> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Marek Vasut <marex@denx.de>
-
There is really no need to provide an empty reset_cpu() implementation, so just remove it. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
There is really no need to provide an empty reset_cpu() implementation, so just remove it. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
There is really no need to provide an empty reset_cpu() implementation, so just remove it. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
There is really no need to provide an empty reset_cpu() implementation, so just remove it. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by:
Stefano Babic <sbabic@denx.de>
-
This allows for more flexible and standardized boot across multiple platforms. Remove redundant legacy boot environment. Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by:
Vagrant Cascadian <vagrant@debian.org>
-
This allows for more flexible and standardized boot across multiple platforms. Remove redundant legacy boot environment. Signed-off-by:
Vagrant Cascadian <vagrant@debian.org>
-
On the target board: => dfu 0 mmc 0 On the host PC: $ dfu-util -l Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=0, name="image" Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=1, name="u-boot" Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=2, name="bootimg" Found DFU: [0525:a4a5] devnum=0, cfg=1, intf=0, alt=3, name="rootfs" Update with a full SD image $ dfu-util -a image -D core-image-minimal-imx7dsabresd.sdcard Update u-boot only $ dfu-util -a u-boot -D u-boot.imx Signed-off-by:
Tzu-Jung Lee <roylee17@currantlabs.com> Reviewed-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
git://git.denx.de/u-bootStefano Babic authored
-
Thomas Chou authored
Add 3c120 and 10m50 devboards MAINTAINERS Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
The 10m50 devboard becomes the new golden reference design of Nios II Linux. So change README.nios2 to use 10m50 as template. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Rename board nios2-generic to 3c120_devboard. Since nios2 is converted to driver model and device tree control of u-boot, the nios2-generic board directory is removed. We can rename the board back to a real board name. Now the boards maintained in u-boot mainline are the same as Linux kernel, namely 3c120 and 10m50. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de> Acked-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Add 10m50 devboard support. It is based on the Golden Hardware Reference Design (GHRD), available at, http://rocketboards.org/foswiki/view/Documentation/ AlteraMAX1010M50RevCDevelopmentKitLinuxSetup Though we supported only one nios2-generic board in the past. Now, with the removal of the nios2-generic board dir, adding new nios2 boards to u-boot is easier than before. It should be helpful to add those boards supported in Linux mainline. There are only two such nios2 boards, the 3c120 devboard and 10m50 devboard. The nios2-generic is actually 3c120, and should restore the name. The 10m50 is this one. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
The Modular Scatter-Gather DMA core is a new DMA core to work with the Altera Triple-Speed Ethernet MegaCore. It replaces the legacy Scatter-Gather Direct Memory Access (SG-DMA) controller core. Please find details on the "Embedded Peripherals IP User Guide" of Altera. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Add priv ops to prepare msgdma support. These ops are dma type specific. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Move the sgdma wait from free_pkt to recv. This is the proper place to wait recv sgdma done. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Factor out the stop mac function to prepare msgdma support. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Zap the altera_tse_initialize() prototypes, since it is converted to driver model. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Do not allocate rx buf in net.c, because altera_tse allocates its own rx buf in driver. This can save 6KB memory. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
Thomas Chou authored
Add Altera Generic Quad SPI Controller support. The controller converts SPI NOR flash to parallel flash interface. So it is not like other SPI flash, but rather like CFI flash. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
Thomas Chou authored
Add memcpy_fromio() and memcpy_toio(). Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-