summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* ENGR00292012 MX6SL EVK:Increase env offset to 512KiBrel_imx_3.10.17_1.0.0_betaimx_v2013.04_3.10.17_1.0.0_betaLiu Ying2013-12-13-1/+1
| | | | | | | | | | This patch increases Uboot environmental variable offset from 384KiB to 512KiB to align with MX6 Sabre platforms so that we may simplify mfgtool implementation. Tested-by: Robby Cai <R63905@freescale.com> Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 1260160c062e31536ae70137e5c52ce03328a3e1)
* ENGR00291115-2 MX6 Sabreauto:Add IPUv3 splash screen supportLiu Ying2013-12-11-19/+218
| | | | | | | | | | | | | | | | This patch adds IPUv3 splash screen support for the MX6Q/SDL Sabreauto platforms. The default display is the Hannstar-XGA LVDS panel. Users may set the uboot variable 'panel' to be 'HDMI' to switch to use HDMI splash screen. To avoid duplicate configures on different sabre platforms, this patch moves the IPUv3 splash screen relevant configures to the head file 'mx6qsabre_common.h'. Also, this patch modifies the condition to build in EPDC splash screen feature in order to avoid the build break due to the migration of the IPUv3 splash screen relevant configures. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 346c9db1eec35d91669ee3bfb38ba672a06705f0)
* ENGR00291115-1 MX6 common:Increase env offset for MMCLiu Ying2013-12-11-1/+1
| | | | | | | | | | | Uboot image size will be larger than 400KiB, when we add the splash screen with IPUv3 at this stage. So, the patch increases CONFIG_ENV_OFFSET from 384KiB to 512KiB for MMC to avoid overlapping bewteen the Uboot image and the environmental data. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit a3696740eba4027a8d61ca06edc650d90f2e6d2a)
* ENGR00288995 MX6 SabreSD: Correct IPU DI pix fmt for LDBLiu Ying2013-11-22-13/+4
| | | | | | | | | | | | | The DC mapping for LVDS666 is different from that for RGB666. Currently, we set IPU DI pixel format to be LVDS666 and set LDB data width to be 24bit. This happens to make the display work normally somehow. But, the two configurations are wrong and don't match with each other. This patch corrects the IPU DI output pixel format from LVDS666 to RGB666 and LDB data width from 24bit to 18bit. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 588849e191577d87596e28c21e0c80f911eb4990)
* ENGR00289053-2 MX6 SabreSD: Disable HDMI detectLiu Ying2013-11-22-7/+1
| | | | | | | | | | | | | | As the HDMI splash screen feature is not well supported, we should not set it to be the default display. In case, users leave the 'panel' uboot environment variable empty and connect the board with a HDMI monitor, the HDMI detect funtion will work and enable the HDMI splash screen. So, this patch disables HDMI detect function so that users may only explicitly set the 'panel' variable to be 'HDMI' to use HDMI splash screen. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit d97c525d98261ea3e83e5fbc30a7225b72dbe8a9)
* ENGR00289053-1 mx6sabresd: Fix wrong colors in LVDS displayFabio Estevam2013-11-22-8/+22
| | | | | | | | | | | | | | Currently HDMI splash screen is selected by default on mx6sabresd boards. As LVDS is also always enabled, this causes incorrect colors to be displayed in the LVDS panel due to the different pixel format in HDMI and LVDS. Fix this by selecting the LVDS panel as the default splash output and also by ensuring that LVDS is turned off when HDMI output is active. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 017bdd25b496cd26caef9f549a49d366f6eac855)
* video: ipu_disp: Fix clock polarity logicFabio Estevam2013-11-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Currently the HDMI splash screen image quality on mx6solo does not show a very stable image. By comparing the IPU driver from U-boot with the one from FSL 4.1.0 BSP, we can see that there is an inverted logic for setting the DI_GEN_POL_CLK bit. >From FSL BSP [1] we have: if (!sig.clk_pol) di_gen |= DI_GEN_POLARITY_DISP_CLK; Applying the same logic into U-boot fixes the HDMI image stability. [1] git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/mxc/ipu3/ipu_disp.c?h=imx_3.0.35_4.1.0 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Tested-by: Eric Nelson <eric.nelson@boundarydevices.com> Acked-by: Eric Nelson <eric.nelson@boundarydevices.com> Acked-by: Stefano Babic <sbabic@denx.de> (cherry picked from commit 2740e5de4f3cd0aa36efcfe1a995fb6e3858cc97) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 1f55273ede94a64f13d806fc4aabb792b1e4110b)
* mx6: Fix use of improper value in enable_ipu_clockPierre Aubert2013-11-22-1/+1
| | | | | | | | | | | | The value MXC_CCM_CCGR3_IPU1_IPU_DI0_OFFSET that was used to initialize the CCGR3 register caused an undefined value for CG0. Signed-off-by: Pierre Aubert <p.aubert@staubli.com> CC: Stefano Babic <sbabic@denx.de> Acked-by: Eric Nelson <eric.nelson@boundarydevices.com> (cherry picked from commit a0a0dacfe8ff8d7036db823ca5ea9ba393a35187) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit c6fb5f07f5530b0db3157141e14cc056aa3a904f)
* mx6sabresd: Reset counter to prevent error messageFabio Estevam2013-11-22-0/+1
| | | | | | | | | | | | | | | | | | | | | | If a HDMI cable is not connected, the following message is seen on boot: CPU: Freescale i.MX6Q rev1.1 at 792 MHz Reset cause: POR Board: MX6-SabreSD DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 No panel detected: default to HDMI unsupported panel HDMI Reset the 'i' variable to fix the 'unsupported panel' message. This follows the same idea of commit 47ac53d7ae (imx: nitrogen6x/mx6qsabrelite: Fix bug in board_video_skip). Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> (cherry picked from commit 59f46f4a73b13dc500e6cdb13b507f2aa3bc8c45) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 935b686faab48aea93cfc5d5e349154099b3bf0a)
* mx6sabresd: Avoid hang when HDMI cable is not connectedFabio Estevam2013-11-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Since commit d9b894603 (mx6sabresd: Add LVDS splash screen support) the following hang happens if the HDMI cable is not connected or the 'panel' variable is not set: U-Boot 2013.10-rc2-12978-g47ac53d-dirty (Sep 11 2013 - 15:07:38) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: MX6-SabreSD DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 ... Provide a check to 'dev->detect' in order to prevent the hang. Reported-by: Pardeep Kumar Singla <b45784@freescale.com> Suggested-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> (cherry picked from commit 1601ba4d1e9711e9259ea563b3a2ee1c7c4b3f36) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 858b14ecdf63632d054ae971af0bfa33350e43dc)
* mx6sabresd: Add LVDS splash screen supportFabio Estevam2013-11-22-21/+145
| | | | | | | | | | | | | | | | | | | | mx6sabresd boards can be connected to a Hannstar XGA LVDS panel. Add support for displaying U-boot splashscreen on it. By default, HDMI splash is selected. In order to use splash via LVDS, do the following in the U-boot prompt: setenv panel Hannstar-XGA save and reboot. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> (cherry picked from commit d9b8946035e8cdd237404f3b83d6caf21f84ce73) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 43c36ed9ec2d6cb1a84c03080e267f6e3507162c)
* mxc_ipuv3: fix memory alignment of framebufferEric Nelson2013-11-22-2/+3
| | | | | | | | | The frame-buffer on i.MX boards needs to be aligned for DMA. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> (cherry picked from commit 4acb4d391f005c0c72f7b84041b3884e4260a5a4) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 1e73790043576a43e45ef3899845cfa71b7ccd5c)
* imx: nitrogen6x: mx6qsabrelite: Add support for DVI monitorsRobert Winkler2013-11-22-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | A little background is probably appropriate for this patch. Since "the beginning" of usage of the SABRE Lite and Nitrogen6x boards, DVI detection has been somewhat broken. Some (most) DVI monitors don't produce the "HPD" bit in the PHY_STAT0 register, but do show proper toggling of the RX_SENSE0..3 bits. Creating a new the bit-mask to include all five bits and modifying the 'hdmidet' command and internal detection routines allows these monitors to function properly in U-Boot. A related patch to our kernels allows things to work under Linux: https://github.com/boundarydevices/linux-imx6/commit/7d8752905c118af9063738a533227de0b2f6ecd4 Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com> Acked-by: Stefano Babic <sbabic@denx.de> (cherry picked from commit 10f779da54b8a8c85df6d58592c40836d8e7ed49) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit c5f576bb0effceb232986d1b6ca76f06f129516f)
* mx6qsabresd: Add splash screen support via HDMIPardeep Kumar Singla2013-11-22-2/+82
| | | | | | | Signed-off-by: Pardeep Kumar Singla <b45784@freescale.com> (cherry picked from commit 58cc97877713f46d2e7dfd515844c29c70c56d82) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 53cc4d3645875739eb85992083dadd7dd0fdf9e4)
* mx6: Factor out common HDMI setup codePardeep Kumar Singla2013-11-22-78/+70
| | | | | | | | | | | | | | | Instead of duplicating HDMI setup code for every mx6 board, factor out the common code Signed-off-by: Pardeep Kumar Singla <b45784@freescale.com> Acked-By: Eric Nelson <eric.nelson@boundarydevices.com> (cherry picked from commit 5ea7f0e328c19542ce96d8242125b51b3dbca86b) Conflicts: arch/arm/cpu/armv7/mx6/soc.c arch/arm/include/asm/arch-mx6/clock.h Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit e968e5301c42d2c2071f9ef871cfee8200e58b11)
* video: consolidate splash screen alignment codeAnatolij Gustschin2013-11-22-39/+39
| | | | | | | | | | | | | Code for checking "splashpos" environment variable is duplicated in drivers, move it to the common function. Call this function also in the bmp display command to consider "splashpos" settings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit ff8fb56b6f7edafc1bcba8ef008b3f368cabe60d) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 9eba1a8ff0b87142306b557559be8a2a5e6e839a)
* video: lcd: Make splash_screen_prepare weak, remove config macroRobert Winkler2013-11-22-17/+12
| | | | | | | | | | | Remove CONFIG_SPLASH_SCREEN_PREPARE from README Add doc/README.splashprepare to document functionality Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> (cherry picked from commit 59b15922119f79289df6714972acaeec0de1fe95) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 4117088dfcb88b20808561698af0144d05fb6eb5)
* video: lcd: Add CONFIG_SPLASH_SCREEN_PREPARE support to CONFIG_VIDEORobert Winkler2013-11-22-16/+72
| | | | | | | | | | | Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> (cherry picked from commit dd4425e85260c2e750676e2dc9c225cfff1b4bcd) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 46ed430cf175585c4b2926d648c90efaf9bbec49)
* lcd: remove unaligned access in lcd_dt_simplefb_configure_node()Stephen Warren2013-11-22-3/+3
| | | | | | | | | | | | | | | | Some ARM compilers may emit code that makes unaligned accesses when faced with constructs such as: const char format[] = "r5g6b5"; Make this data static since it doesn't chagne; the compiler will simply place it into the .rodata section directly, and avoid any unaligned run- time initialization. Signed-off-by: Stephen Warren <swarren@nvidia.com> (cherry picked from commit 5af7d0f090b9fe2464d7980841b940846a547716) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 9589ff33327fc038be7c302e71377582738d8fde)
* imx6: fix GPR2 wrong definitionPierre Aubert2013-11-22-1/+1
| | | | | | | | | Signed-off-by: Pierre Aubert <p.aubert@staubli.com> CC: Stefano Babic <sbabic@denx.de> Acked-by: Dirk Behme <dirk.behme@gmail.com> (cherry picked from commit 7aa1e8bb1bdbcc9d6114f70504257c2eae4b0cd7) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 68c9ed925b8f07d3050765efc2eadd0098a247fe)
* lcd: add functions to set up simplefb device treeStephen Warren2013-11-22-0/+115
| | | | | | | | | | | | | | | | | | | simple-framebuffer is a new device tree binding that describes a pre- configured frame-buffer memory region and its format. The Linux kernel contains a driver that supports this binding. Implement functions to create a DT node (or fill in an existing node) with parameters that describe the framebuffer format that U-Boot is using. This will be immediately used by the Raspberry Pi board in U-Boot, and likely will be used by the Samsung ARM ChromeBook support soon too. It could well be used by many other boards (e.g. Tegra boards with built-in LCD panels, which aren't yet supported by the Linux kernel). Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Simon Glass <sjg@chromium.org> (cherry picked from commit 6a195d2d8a9c321817e1f034afcdc8c8642664bc) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 91403a3401cf35c1356d1a21b239e57a9843c3e9)
* wandboard: Enable HDMI splashscreenFabio Estevam2013-11-22-1/+112
| | | | | | | Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> (cherry picked from commit 7bcb983feb8296f58a651c2b2a48683fc27174cd) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit fdd320883fc36f4726f7d10d13dfc16615de1152)
* cfb_console: flush FB cache at end of public functionsEric Nelson2013-11-22-6/+9
| | | | | | | | | | | Removed internal cache_flush operations and placed a flush of the entire frame-buffer at the end of each public function. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Anatolij Gustschin <agust@denx.de> (cherry picked from commit db0d47dd433bc7ba60b927fb0ff6835758a8893d) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 5001a45aa84134504db31a8bc5ca3e2c5a41195b)
* wandboard: Add boot selection supportOtavio Salvador2013-11-22-0/+21
| | | | | | | | | | | Adds support for 'bmode' command which let user to choose where to boot from; this allows U-Boot to load system from another storage without messing with jumpers. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit eaffaa2d25ce6e94a965460467352bd12513bf09) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 101e40f636c950eaf726f26b8246b2dde8ede6a5)
* wandboard: Add update_sd_firmware supportOtavio Salvador2013-11-22-0/+16
| | | | | | | | | | This allow for easy update of firmware in the SD card from a running U-Boot. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 0798d5785d3fe71f1e2b30dab908fc9a9b40e016) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit dfa136614b8ab08692f6b621413ceee39948059b)
* ENGR00289247 Fix build break for mx6qsabresdRobby Cai2013-11-22-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix build break as follows. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- mx6qsabresd mx6qsabresd.c:189: error: ‘MX6_PAD_EIM_A16__EPDC_SDDO_0’ undeclared here (not in a function) mx6qsabresd.c:190: error: ‘MX6_PAD_EIM_DA10__EPDC_SDDO_1’ undeclared here (not in a function) mx6qsabresd.c:191: error: ‘MX6_PAD_EIM_DA12__EPDC_SDDO_2’ undeclared here (not in a function) mx6qsabresd.c:192: error: ‘MX6_PAD_EIM_DA11__EPDC_SDDO_3’ undeclared here (not in a function) mx6qsabresd.c:193: error: ‘MX6_PAD_EIM_LBA__EPDC_SDDO_4’ undeclared here (not in a function) mx6qsabresd.c:194: error: ‘MX6_PAD_EIM_EB2__EPDC_SDDO_5’ undeclared here (not in a function) mx6qsabresd.c:195: error: ‘MX6_PAD_EIM_CS0__EPDC_SDDO_6’ undeclared here (not in a function) mx6qsabresd.c:196: error: ‘MX6_PAD_EIM_RW__EPDC_SDDO_7’ undeclared here (not in a function) mx6qsabresd.c:197: error: ‘MX6_PAD_EIM_A21__EPDC_GDCLK’ undeclared here (not in a function) mx6qsabresd.c:198: error: ‘MX6_PAD_EIM_A22__EPDC_GDSP’ undeclared here (not in a function) mx6qsabresd.c:199: error: ‘MX6_PAD_EIM_A23__EPDC_GDOE’ undeclared here (not in a function) mx6qsabresd.c:200: error: ‘MX6_PAD_EIM_A24__EPDC_GDRL’ undeclared here (not in a function) mx6qsabresd.c:201: error: ‘MX6_PAD_EIM_D31__EPDC_SDCLK’ undeclared here (not in a function) mx6qsabresd.c:202: error: ‘MX6_PAD_EIM_D27__EPDC_SDOE’ undeclared here (not in a function) mx6qsabresd.c:203: error: ‘MX6_PAD_EIM_DA1__EPDC_SDLE’ undeclared here (not in a function) mx6qsabresd.c:204: error: ‘MX6_PAD_EIM_EB1__EPDC_SDSHR’ undeclared here (not in a function) mx6qsabresd.c:205: error: ‘MX6_PAD_EIM_DA2__EPDC_BDR_0’ undeclared here (not in a function) mx6qsabresd.c:206: error: ‘MX6_PAD_EIM_DA4__EPDC_SDCE_0’ undeclared here (not in a function) mx6qsabresd.c:207: error: ‘MX6_PAD_EIM_DA5__EPDC_SDCE_1’ undeclared here (not in a function) mx6qsabresd.c:208: error: ‘MX6_PAD_EIM_DA6__EPDC_SDCE_2’ undeclared here (not in a function) Signed-off-by: Robby Cai <R63905@freescale.com>
* ENGR00288418 Add EPDC splash screen for MX 6DL SabreSD and 6SL EVKRobby Cai2013-11-21-0/+1737
| | | | | | | | | | | | | | | | | Add EPDC splash screen feature for MX6SL EVK, and MX6DL SABRESD board. - Currently, splash screen consists of a simple black border around a white screen. Done this way to save in memory footprint. - EPDC splash screen is disabled by default in the config file for MX6DL_SABRESD and MX6SL_EVK. If left enabled, the U-Boot image will not boot correctly (hang), since some additional content on the boot device (waveform file) is required for EPDC splash to work correctly. Please refer to Linux Reference Manual for how to flash WAVEFORM file. Signed-off-by: Robby Cai <R63905@freescale.com> (cherry picked from commit b934091a04e11e96281b10cf63830851fd096fdd)
* ENGR00270355 Fix eMMC fast boot hang issueYe.Li2013-11-20-3/+33
| | | | | | | | | | | | | When booting in eMMC fast boot, the uboot v2013.04 always hangs. The root cause is that MMC host does not exit from boot mode after bootrom loading image. So the first command 'CMD0' sent in uboot will pull down the CMD line to low and cause errors. This patch cleans the MMC boot register in "mmc_init" to put the MMC host back to normal mode. Signed-off-by: Ye Li <b37916@freescale.com> (cherry picked from commit fa9f30b03b65b253ba292020f3ebbe70220e3c29)
* ENGR00288341 NAND: change the rootfs's mtd number for NAND bootHuang Shijie2013-11-18-6/+7
| | | | | | | Since the imx6q{dl}-sabreauto-gpmi-weim.dts also enables the WEIN NOR which is mtd0. So the rootfs's mtd number becomes mtd4 now. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00288171 gpmi: use the same ECC strength as used in the kernelHuang Shijie2013-11-15-11/+13
| | | | | | | | | | | Current code use the hardcoded ECC strength which is not aligned with the kernel. This patch use the same ECC strength as used in the kernel. We do not support the NAND whose OOB size is larger then 512bytes. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00288064 set the mmcdev number dynamiclly according to the boot slotJason Liu2013-11-15-1/+17
| | | | | | | | | | For the SPI/WEIM NOR, it can't store all the images into it due to it's capacity, we need one default mmc device to load the left image or rootfs. The end user need change the default setting according to their needs. For NAND/SATA boot, the storage is big enough to hold all the stuff. For SD/MMC boot, mmcdev is dynamiclly created due to the boot SD/MMC slot. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00287831 mx6: fix the secure boot issue on the new tapout chipJason Liu2013-11-15-15/+81
| | | | | | | | | | The new TO(i.MX6Q TO1.5 and i.MX6DL TO1.2) of ROM change the HAB API table address, thus the secure boot can't boot up on the new TO. This patch fix this issue by fix up the HAB API table address according to the TO revision. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00284053 imx6sl: increase the console I/O buffer to 1KHuang Shijie2013-11-15-1/+1
| | | | | | | | Current console buffer is 256 bytes long, it is too small. increase it to 1K. Signed-off-by: Huang Shijie <b32955@freescale.com> (cherry picked from commit 94cf546c2f798d431c648b1bc287d7c7bbc9056d)
* ENGR00288025 imx6: fix build warningsRobin Gong2013-11-14-1/+5
| | | | | | | | | | | | | | Fix below two warning: soc.c: In function 'check_1_2G': soc.c:488:2: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] main.c: In function 'main_loop': main.c:444:3: warning: implicit declaration of function 'set_default_env' [-Wimplicit-function-declaration] set_default_env("Use default environment for mfgtools\n"); Signed-off-by: Robin Gong <b38343@freescale.com>
* ENGR00287923 fix random hang when download by mfgtoolsFrank Li2013-11-14-0/+2
| | | | | | | | ROM did not invalidate L1 cache when download by usb Need invalidate L1 cache before enable cache Signed-off-by: Huang yongcai <b20788@freescale.com> Signed-off-by: Frank Li <Frank.Li@freescale.com>
* ENGR00286912 mx6slevk support mfgtoolsFrank Li2013-11-08-0/+12
| | | | | | support mfgtools Signed-off-by: Frank Li <Frank.Li@freescale.com>
* ENGR00285890 imx6:plugin: update the ROM_API_TABLE_BASE_ADDR for plugin codeJason Liu2013-11-05-3/+22
| | | | | | | | | | | | | | i.MX6DQ TO1.5 and i.MX6DL/SOLO change the ROM_API_TABLE_BASE_ADDR from 0xc0 to 0xc4.Need update the plugin code to sync with this change. The change as the following for the new TO with i.MX6DQ, i.MX6DL/SOLO: For i.MX6DQ, if the TO >=1.5, will use the new ROM_API_TABLE_BASE_ADDR=0xc4 For i.MX6DL/S, if the TO >=1.2, will use the new ROM_API_TABLE_BASE_ADDR=0xc4 For the old TO, we will still use the 0xc0 to keep compatible. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00285646 add NAND partition info for mfgtoolFrank Li2013-10-31-2/+11
| | | | | | must add initrd_high, otherwise initrd will be relocated to random address. Signed-off-by: Frank Li <Frank.Li@freescale.com>
* ENGR00280959 configs/mx6qsabre_common: correctify the sector size for SPI-NORJason Liu2013-09-25-1/+1
| | | | | | Correctify the sector size for the SPI-NOR flash on the board, it should be 64KB Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00280957 mx6qsabreauto: add the SATA boot supportJason Liu2013-09-25-1/+31
| | | | | | This patch add the SATA boot support for the mx6qsabreauto board Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00280943 configs/mx6qsabre_common: remove HW PROTECTION for NOR flashJason Liu2013-09-25-1/+0
| | | | | | | | The CONFIG_SYS_FLASH_PROTECTION will mark env partion of the NOR flash to RO, which will cause some problems for the tools such as MFG, thus turn it off to make life easier. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00280494 Add g_mass_storage parameter for manufactory toolsFrank Li2013-09-19-0/+3
| | | | | | | Reduce hardcode in kernel. Pass down g_mass_storage paremeters Signed-off-by: Frank Li <Frank.li@freescale.com>
* ENGR00278716 imx6sl: correct mmc/sd partition number to load uImage and rootfsRobby Cai2013-09-09-2/+2
| | | | | | | | The uImage and rootfs has been stored on partition #1 and #2 respectively. This patch fixes the partition index thus the boot script can boot from mmc/sd automatically. Signed-off-by: Robby Cai <R63905@freescale.com>
* ENGR00278711: ARM: mx6: use working_fdt instead of 'images.ft_addr'Robin Gong2013-09-09-2/+2
| | | | | | | | | If we use 'bootz' to boot kernel, u-boot will not touch the global 'images', but in both 'bootm' and 'bootz' will use 'working_fdt' as the fdt load address. So we replace 'images.ft_addr' with 'working_fdt' to support 'bootz' and 'bootm'. Signed-off-by: Robin Gong <b38343@freescale.com>
* ENGR00278692 ARM: mx6: use hang() instead of do_reset when wrong dtb file usedRobin Gong2013-09-09-2/+2
| | | | | | Use hang() instead of do_reset, so that we can easily see what error happen. Signed-off-by: Robin Gong <b38343@freescale.com>
* ENGR00278575 imx6sl: modify fdt_addr to avoid overlap of image and dtb fileRobby Cai2013-09-06-1/+1
| | | | | | | | since loadaddr is set to 0x80800000, previous setting for 'fdt_addr' is 0x81000000, the kernel image could be overlapped by dtb file when do decompressing. This patch changes 'fdt_addr' to 0x83000000 to fix it. Signed-off-by: Robby Cai <R63905@freescale.com>
* ENGR00278511: ARM: mx6: get fdt_blob from images instead of 'fdt_addr' paramRobin Gong2013-09-06-4/+19
| | | | | | | | | | --Get fdt_blob from images.ft_addr which set by boot command instead of 'fdt_addr' param, so that we can use any other name as fdt load address. --If find it's not ldo-enable dts on 1.2G chip, will report the error log and reset board to correct the dtb file. Signed-off-by: Robin Gong <b38343@freescale.com>
* ENGR00277992 Auto check if boot from usbFrank Li2013-09-04-0/+32
| | | | | | | If boot from usb, reset environment to default value. Auto apply mfgtools setting and boot mfgtools kernel. Signed-off-by: Frank Li <Frank.li@freescale.com>
* ENGR00277895-2 ARM: mx6: check the property setting of "fsl,ldo-bypass"Robin Gong2013-09-04-5/+9
| | | | | | | | | | Check the right property setting of "fsl,ldo-bypass" in dts to know what ldo mode we need use(ldo-bypass or ldo-enable). Before only check the presence of "fsl,ldo-bypass", now change to check whether "fsl,ldo-bypass = <1>" in dts. If yes, switch to ldo-bypass mode. If "fsl,ldo-bypass = <0>" or no "fsl, ldo-bypass" property, u-boot keep in ldo-enable mode. Signed-off-by: Robin Gong <b38343@freescale.com>
* ENGR00277895-1: ARM: mx6: add waring message to use ldo-enable dts on 1.2G chipRobin Gong2013-09-04-2/+4
| | | | | | | We need add clear warning message to remind useing ldo-enable dts for 1.2G chip . Correct 1.2G check code too. Signed-off-by: Robin Gong <b38343@freescale.com>