- Jan 24, 2014
-
-
Masahiro Yamada authored
The script files, define2mk.sed and make-asm-offsets are used to create autoconf.mk and asm-offsets.h while build. Whereas README, dot.kermrc, flash_param, send_cmd, send_image are files useful for kermit. We should not put files which have the totally different purpose into the same directory. This commit creates a new directory, tools/kermit, and move kermit files into it. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Wolfgang Denk <wd@denx.de>
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Darwin Rambo authored
When CONFIG_SYS_VSNPRINTF is enabled, it protects print operations such as sprintf, snprintf, vsnprintf, etc., from buffer overflows. But vsnprintf_internal includes the terminating NULL character in the calculation of number of characters written. This affects sprintf and snprintf return values. Fix this issue by setting pointer 'str' back to the location of the '\0'. Signed-off-by:
Darwin Rambo <drambo@broadcom.com> Reviewed-by:
Steve Rae <srae@broadcom.com>
-
Darwin Rambo authored
If timer_init() is made a weak stub function, then it allows us to remove several empty timer_init functions for those boards that already have a timer initialized when u-boot starts. Architectures that use the timer framework may also remove the need for timer.c. Signed-off-by:
Darwin Rambo <drambo@broadcom.com> Reviewed-by:
Tim Kryger <tim.kryger@linaro.org>
-
- Jan 22, 2014
-
-
Haijun.Zhang authored
On BSC9131, BSC9132, P1010 : For High Capacity SD Cards (> 2 GBytes), the 32-bit source address specifies the memory address in block address format. Block length is fixed to 512 bytes as per the SD High Capacity specification. So we need to convert the block address format to byte address format to calculate the envaddr. If there is no enough space for environment variables or envaddr is larger than 4GiB, we relocate the envaddr to 0x400. The address relocated is in the front of the first partition that is assigned for sdboot only. Signed-off-by:
Haijun Zhang <haijun.zhang@freescale.com> Acked-by:
Pantelis Antoniou <panto@antoniou-consulting.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haijun.Zhang authored
The upper 4 data signals of esdhc are shared with spi flash. So detect if the upper 4 pins are assigned to esdhc before enable sdhc 8 bit width. Signed-off-by:
Haijun Zhang <haijun.zhang@freescale.com> Acked-by:
Pantelis Antoniou <panto@antoniou-consulting.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Haijun.Zhang authored
Card detection pin is ineffective on T4240QDS Rev1.0. There are two cards can be connected to board. 1. eMMC card is built-in board, can not be removed. so For eMMC card it is always there. 2. Card detecting pin is functional for SDHC card in Rev2.0. This workaround force sdhc driver scan and initialize the card regardless of whether the card is inserted or not in case Rev1.0. Signed-off-by:
Haijun Zhang <Haijun.Zhang@freescale.com> Acked-by:
Pantelis Antoniou <panto@antoniou-consulting.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Jan 21, 2014
-
-
Prabhakar Kushwaha authored
u-boot binary size for Freescale mpc85xx platforms is 512KB. This has been reached to upper limit for some of the platforms causig linker error. So, Increase the u-boot binary size to 768KB. Signed-off-by:
York Sun <yorksun@freescale.com> Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com>
-
Shengzhou Liu authored
This patch reverts patch 'add ft_fixup_xgec to support 3rd and 4th 10GEC'. When dual-role MAC acts as 10G,it still uses fsl,fman-port-1g-rx/tx as before. Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@freescale.com> Acked-by:
York Sun <yorksun@freescale.com>
-
Prabhakar Kushwaha authored
Rename CONFIG_PBLRCW_CONFIG and CONFIG_PBLRCW_CONFIG. Also add their details in README. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Shengzhou Liu authored
- Optimize UDIMM parameters for whole range from 1500MT/s to 2140MT/s. - Remove unused patameters: 'cpo', 'wrdata delay', '2T', which are unrelated to DDR3/3L. Tested with UDIMM 9JSF25672AZ-2G1K1 and verified speed 1200/1866/2133MT/s. Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Po Liu authored
Using the TPL/SPL method to booting from 8k page NAND flash. - Add 256kB size SRAM tlb for second step booting; - Add spl.c for TPL image boot; - Add spl_minimal.c for minimal SPL image; - Add C29XPCIE_NAND configure; - Modify C29XPCIE.h for nand config and enviroment; Signed-off-by:
Po Liu <Po.Liu@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Po Liu authored
Using the TPL method for nand boot by sram was already supported. Here add some code for mpc85xx ifc nand boot. - For ifc, elbc, esdhc, espi, all need the SPL without section .resetvec. - Use a clear function name for nand spl boot. - Add CONFIG_SPL_DRIVERS_MISC_SUPPORT to compile the fsl_ifc.c in spl/Makefile; Signed-off-by:
Po Liu <Po.Liu@freescale.com> Acked-by:
Scott Wood <scottwood@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
York Sun authored
Existing workaround only handles one RDIMM on reference design. In case of two RDIMMs being used, the workaround requires two separate writes to DDR_SDRAM_MD_CNTL register. This patch also restores two debug registers changed by the workaround. Signed-off-by:
York Sun <yorksun@freescale.com> CC: Ben Collins <ben.c@servergy.com> CC: James Yang <James.Yang@freescale.com>
-
York Sun authored
Unfortunately a typo presents "DDR-A003473" instead of "DDR-A003474". Signed-off-by:
York Sun <yorksun@freescale.com>
-
Shengzhou Liu authored
Enable Erratum A006379 for T2080, T2081, T4160, B4420. Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Shengzhou Liu authored
- add more serdes protocols support. - fix some serdes lanes route. - fix SGMII doesn't work and incorrect mdio display for XFI when serdes 0x6d. - correct boot location info for SD/SPI boot. Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Ramneek Mehresh authored
Defines get_svr() for 83xx devices Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Priyanka Jain authored
Update following DDR related settings for T1040QDS -Correct number of chip selects to two as t1040qds supports two Chip selects. -Update board_specific_parameters udimm structure with settings derived via calibration. -Reduced I2C speed to 50KHz as DDR-SPD does not get reliably read at 400KHz. Verified the updated settings to be working fine with dual-ranked Micron, MT18KSF51272AZ-1G6 DIMM at data rate 833MT/s, 1333MT/s and 1600MT/s. Signed-off-by:
Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by:
Priyanka Jain <Priyanka.Jain@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Jan 20, 2014
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
The change to add 64bit initrd support broke 32bit initrd support as it always set 64bits worth of data into the properties, even on 32bit systems. The fix is to use addr_cell_len (which already says how much data is in 'tmp') to set the property, rather than always setting 8. Thanks to Stephen Warren for pointing out the fix here. Reported-by:
Otavio Salvador <otavio@ossystems.com.br> Signed-off-by:
Tom Rini <trini@ti.com>
-
Stephen Warren authored
My original intention was to have a 100ms timeout. However, the timer operations used return values in ms not us, so we ended up with a 100s timeout instead. Fixing this exposes that some operations need longer to operate than 100ms, so bump the timeout up to a whole second. Reported-by:
Andre Heider <a.heider@gmail.com> Reviewed-by:
Andre Heider <a.heider@gmail.com> Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Stephen Warren authored
Send RPC commands to the VideoCore to turn on the SDHCI and USB modules. For SDHCI this isn't needed in practice, since the firmware already turned on the power in order to load U-Boot. However, it's best to be explicit. For USB, this is necessary, since the module isn't powered otherwise. This will allow the kernel USB driver to work. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Dan Murphy authored
The spl directory is ignored by git as these objects are created during spl creation. The only file not created is the Makefile. This file can be modified and checked in via git. Due to the order of rule precedence having the whole directory ignored first then indicating not to ignore the Makefile is not correct the message to force adding the Makefile is still shown. So reorder the .gitignore for the Makefile and indicate that the Makefile does not need to be ignored first and then indicate everything else in spl should be ignored after wards. Signed-off-by:
Dan Murphy <dmurphy@ti.com>
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Charles Manning authored
The summary already has other verification. This one is not needed. The check caused summaries to be ignored if they were not on the numbered block. This caused problems when a summary was embedded in an image and the image is written to a flash with bad blocks. Signed-off-by:
Charles Manning <cdhmanning@gmail.com>
-
Ionut Nicu authored
For files where we actually have extent indexes following an extent header (ext_block->eh_depth != 0), the do/while loop from ext4fs_get_extent_block() does not select the proper extent index structure. For example, if we have: ext_block->eh_depth = 1 ext_block->eh_entries = 1 fileblock = 0 index[0].ei_block = 0 the do/while loop will exit with i set to 0 and the ext4fs_get_extent_block() function will return 0, even if there was a valid extent index structure following the header. Signed-off-by:
Ionut Nicu <ioan.nicu.ext@nsn.com> Signed-off-by:
Mathias Rulf <mathias.rulf@nsn.com>
-
Ionut Nicu authored
Using fs->blksz in ext4fs_get_extent_block() is not correct since fs->blksz is not initialized on the read path. Use EXT2_BLOCK_SIZE() instead which will produce the desired output. Signed-off-by:
Ionut Nicu <ioan.nicu.ext@nsn.com> Signed-off-by:
Mathias Rulf <mathias.rulf@nsn.com>
-
Piotr Wilczek authored
Universal uses only one adapter I2C_0. Signed-off-by:
Piotr Wilczek <p.wilczek@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Acked-by:
Przemyslaw Marczak <p.marczak@samsung.com>
-
Ma Haijun authored
Curently, we are using 32 bit multiplication to calculate the offset, so the result will always be 32 bit. This can silently cause file system corruption when performing a write operation on partition larger than 4 GiB. This patch address the issue by simply promoting the terms to 64 bit, and let compilers decide how to do the multiplication efficiently. Signed-off-by:
Ma Haijun <mahaijuns@gmail.com>
-
Ma Haijun authored
It may cause file system corruption when do a write operation. This issue only affects boards that use 32 bit lbaint_t. Signed-off-by:
Ma Haijun <mahaijuns@gmail.com>
-
git://git.denx.de/u-boot-i2cTom Rini authored
-
git://www.denx.de/git/u-boot-imxTom Rini authored
-
- Jan 17, 2014
-
-
Robert Nelson authored
findftd is currently setting fdtfile to undefined for the beagle c4, select omap3-beagle.dtb instead Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Jeroen Hofstee authored
The omap_gpmc allows switching ecc at runtime. Since the NAND_SUBPAGE_READ flag is only set, it is kept when switching to hw ecc, which is not correct. This leads to calling chip->ecc.read_subpage which is not a valid pointer. Therefore clear the flag when switching ecc so reading in hw mode works again. Cc: Scott Wood <scottwood@freescale.com> Cc: Pekon Gupta <pekon@ti.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl>
-
Masahiro Yamada authored
- Fix the path to source_file_format.txt - Fix a minor typo - Fix the type for FIT blob: it must be "flat_dt" Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Bhupesh Sharma authored
This patch enables ethernet support in ARMv8 foundation model. The ARMv8 foundation model supports a SMSC91C111 integrated MAC and PHY module which is present at base address 0x01A000000. The previous implementation had enabled SMSC9115 ethernet controller which is not present on the ARMv8 foundation model. Tested on ARMv8 foundation model v1 and v2 by running ping/tftp between the foundation model and the host PC via a bridged network. Signed-off-by:
Bhupesh Sharma <bhupesh.sharma@freescale.com>
-
Łukasz Majewski authored
Provide default Poll Timeout value for Trats2 board. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Acked-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Łukasz Majewski authored
Disable L2 caches for Trats and Trats2 devices. It turns out that for data downloading with thordown command L2 cache disablement brings a significant speed improvement. rootfs - 400 MiB: - L2 cache enabled: 2.69 MiB/s - L2 cache disabled: 5.56 MiB/s Such improvement is possible due to reduction of the need to invalidate redundant data, which resides in L2 cache. Since the sent USB request size at once is 512B (L1 - 32 KiB in total) - one can be quite confident that it is already available in L1 and L2 can be disabled. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Acked-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Commit 02229827 (mx6: soc: Disable VDDPU regulator) is causing kernel hang for people using FSL kernel 3.0.35 and 3.10, so revert it for now. Reported-by:
Otavio Salvador <otavio@ossystems.com.br> Reported-by:
Pierre Aubert <p.aubert@staubli.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-