- 14 11月, 2012 1 次提交
-
-
由 Scott Wood 提交于
Commit 97b24d3d "common: Add symbol handling for generic lists into Makefile" introduced build errors in many nand_spl targets, complaining of a missing u-boot.lst. When not doing an out-of-tree build, $(obj) expands to nothing, so GCC ended up being given -I with no argument (or rather, -ansi was the argument). The failure didn't show up during a -j1 build because it was picking up the non-SPL version of u-boot.lst. Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 22 10月, 2012 3 次提交
-
-
由 Marek Vasut 提交于
The command declaration now uses the new LG-array method to generate list of commands. Thus the __u_boot_cmd section is now superseded and redundant and therefore can be removed. Also, remove externed symbols associated with this section from include/command.h . Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org>
-
由 Marek Vasut 提交于
Add section for the linker-generated lists into all possible linker files, so that everyone can easily use these lists. This is mostly a mechanical adjustment. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org>
-
由 Marek Vasut 提交于
This patch adds essential components for generation of the contents of the linker section that is used by the linker-generated array. All of the contents is held in a separate file, u-boot.lst, which is generated at runtime just before U-Boot is linked. The purpose of this code is to especially generate the appropriate boundary symbols around each subsection in the section carrying the linker-generated arrays. Obviously, the interim linker code for actual placement of the variables into the section is generated too. The generated file, u-boot.lst, is included into u-boot.lds via the linker INCLUDE directive in u-boot.lds . Adjustments are made in the Makefile and spl/Makefile so that the u-boot.lds and u-boot-spl.lds depend on their respective .lst files. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Tested-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 03 9月, 2012 1 次提交
-
-
由 Stefan Roese 提交于
This patch removes some superfluous SDRAM init calls to fit the NAND_SPL image into 4k again. Signed-off-by: NStefan Roese <sr@denx.de>
-
- 23 8月, 2012 5 次提交
-
-
由 Matthew McClintock 提交于
This change reduces the SPL size by removing the redundant syncs produced by out_be32 and just replies on one final sync Done with: sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' -i `git grep --name-only sdram_init nand_spl/` Signed-off-by: NMatthew McClintock <msm@freescale.com> Acked-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Matthew McClintock 提交于
We have a requirement to wait a period of time before enabling the DDR controller Signed-off-by: NMatthew McClintock <msm@freescale.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Matthew McClintock 提交于
Let's use the more appropriate udelay for the nand_spl. While we can't make use of u-boot's full udelay we can atl east use a for loop that won't get optimized away .Since we have the bus clock we can use the timebase to calculate wall time. Looked at reusing the u-boot udelay functions but it pulls in a lot of code and would require quite a bit of work to keep us within the very small space constrains we currently have Signed-off-by: NMatthew McClintock <msm@freescale.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Matthew McClintock 提交于
We were not comparing the SVRs properly previously. This comparison will properly shift the SVR and mask off the E bit This fixes the boot output to show the correct DDR bus width: 512 MiB (DDR3, 16-bit, CL=5, ECC off) instead of 512 MiB (DDR3, 32-bit, CL=5, ECC off) Signed-off-by: NMatthew McClintock <msm@freescale.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Matthew McClintock 提交于
Currently, for NAND boot for the P1010/4RDB we hard code the DDR configuration. We can still dynamically set the DDR bus width in the nand spl so the P1010/4RDB boards can boot from the same u-boot image Signed-off-by: NMatthew McClintock <msm@freescale.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 12 2月, 2012 1 次提交
-
-
由 Sughosh Ganu 提交于
This patch moves hawkboard to the new spl infrastructure from the older nand_spl one. Removed the hawkboard_nand_config build option -- The spl code now gets compiled with hawkboard_config, after building the main u-boot image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard to reflect the same. Signed-off-by: NSughosh Ganu <urwithsughosh@gmail.com> Signed-off-by: NHeiko Schocher <hs@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Christian Riesch <christian.riesch@omicron.at> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Cc: Tom Rini <trini@ti.com> Acked-by: NChristian Riesch <christian.riesch@omicron.at>
-
- 07 12月, 2011 5 次提交
-
-
由 Sughosh Ganu 提交于
dram_init function in board/davinci/common/misc.c does not get compiled for spl builds, thus rendering inclusion of memsize.c useless. Signed-off-by: NSughosh Ganu <urwithsughosh@gmail.com>
-
由 Heiko Schocher 提交于
move the board/davinci/common/misc.c file to arch/arm/cpu/arm926ejs/davinci/misc.c, so all davinci boards can use this functions. Signed-off-by: NHeiko Schocher <hs@denx.de> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Tom Rini <tom.rini@gmail.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Christian Riesch <christian.riesch@omicron.at>
-
由 Christian Riesch 提交于
The boards in board/davinci/da8xxevm/ define pinmux_config[] vectors that contain pinmux configurations for emac, uarts, memory controllers... In an earlier patch such pinmux configurations were added to the arch tree. This patch makes the hawkboard use these definitions instead of defining its own. Signed-off-by: NChristian Riesch <christian.riesch@omicron.at> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Heiko Schocher <hs@denx.de> Cc: Syed Mohammed Khasim <sm.khasim@gmail.com> Cc: Sughosh Ganu <urwithsughosh@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Christian Riesch 提交于
Signed-off-by: NChristian Riesch <christian.riesch@omicron.at> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Heiko Schocher <hs@denx.de> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Cc: Syed Mohammed Khasim <sm.khasim@gmail.com> Cc: Sughosh Ganu <urwithsughosh@gmail.com> Cc: Nick Thompson <nick.thompson@ge.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by: NHeiko Schocher <hs@denx.de> Acked-by: NNick Thompson <nick.thompson@ge.com>
-
由 Simon Schwarz 提交于
s3c64xx.c implemented its own nand_read_byte, nand_write_buf and nand_read_buf functions. This provoked a regression when these functions were made public by patch 55f429bb39614a16b1bacc9a8bea9ac01a60bfc8. This deletes these duplicated functions from s3c64xx.c and adds the generic implementations in nand_base.c to the spl Makefile. It also adds -ffcuntion-sections and -gc-sections to the compilation flags of the SPL to avoid errors originating from unused functions in nand_base.c. Description of the regression: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/108873Signed-off-by: NSimon Schwarz <simonschwarzcor@gmail.com> Cc: scottwood@freescale.com Cc: s-paulraj@ti.com Cc: albert.u.boot@aribaud.net
-
- 01 10月, 2011 1 次提交
-
-
由 Fabio Estevam 提交于
No need to have a config.mk to only store a single line. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Acked-by: NStefano Babic <sbabic@denx.de>
-
- 30 9月, 2011 2 次提交
-
-
由 Dipen Dudhat 提交于
And various defines to enable NAND support and NAND spl code for the P1010RDB platform. Signed-off-by: NDipen Dudhat <Dipen.Dudhat@freescale.com> Signed-off-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Li Yang 提交于
The following boards share a common design but with minor variations between them: P1020MSBG-PC P1020RDB-PC P1020UTM-PC P1021RDB-PC P1024RDB P1025RDB P2020RDB-PC The P1020RDB-PC shares its roots in the existing P1020RDB board design, however uses DDR3 instead of DDR2. P2020RDB-PC differs from the P102x RDB-PC with 64-bit DDR and 100Mhz SYSCLK. Key features on these boards include: * DDR3 * NOR flash * NAND flash (on RDB's only) * SPI flash (on RDB's only) * SDHC/MMC card slot * VSC7385 Ethernet switch (on P1020MBG, P1020RDB, & P1021RDB) * PCIE slot and mini-PCIE slots As these boards use soldered DDR chips not regular DIMMs, an on-board EEPROM is used to store SPD data. In case of absent or corrupted SPD, falling back to timing data embedded in the source code will be used. Raw timing data is extracted from DDR chip datasheet. Different speeds of DDR are supported with this approach. ODT option is forced to fit this set of boards, again because they don't have regular DIMMs. CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS is defined as 5ms to meet specification for writing timing. VSC firmware Address is defined by default in config file for eTSEC1. SD width is based off DIP switch. DIP switch is detected on the board by reading i2c bus and setting the appropriate mux values. Some boards have QE module in the silicon (P1021 and P1025). QE and eLBC have pins multiplexing. QE function needs to be disabled to access Nor Flash and CPLD. QE-UEC and QE-UART can be enabled for linux kernel by setting "qe" in hwconfig. In addition, QE-UEC and QE-TDM also have pins multiplexing, to enable QE-TDM for linux kernel, set "qe;tdm" in hwconfig. Syntax is as below 'setenv hwconfig qe' to enable QE UEC/UART and disable Nor-Flash/CPLD. 'setenv hwconfig 'qe;tdm'' to enalbe QE TDM and disable Nor-Flash/CPLD. Signed-off-by: NYork Sun <yorksun@freescale.com> Signed-off-by: NLi Yang <leoli@freescale.com> Signed-off-by: NZhao Chenhui <b26998@freescale.com> Signed-off-by: NMatthew McClintock <msm@freescale.com> Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com> Signed-off-by: NTang Yuantian <b29983@freescale.com> Signed-off-by: Nramneek.mehresh <ramneek.mehresh@freescale.com> Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by: NMatthew McClintock <msm@freescale.com> Signed-off-by: NXie Xiaobo <X.Xie@freescale.com> Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Signed-off-by: NJerry Huang <Chang-Ming.Huang@freescale.com> Signed-off-by: NAkhil Goyal <akhil.goyal@freescale.com>
-
- 10 9月, 2011 1 次提交
-
-
由 Stefano Babic 提交于
get_ram_size() is called, but memsize.c is not compiled. Signed-off-by: NStefano Babic <sbabic@denx.de>
-
- 05 8月, 2011 1 次提交
-
-
由 Albert ARIBAUD 提交于
There was a mix of UTF-8 and ISO-8859 files in the U-Boot source tree, which could cause issues with the patchwork review system. This commit converts all ISO-8859 files to UTF-8. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
-
- 26 7月, 2011 1 次提交
-
-
由 Aneesh V 提交于
replace all occurences of CONFIG_PRELOADER with CONFIG_SPL_BUILD Signed-off-by: NAneesh V <aneesh@ti.com>
-
- 12 7月, 2011 1 次提交
-
-
由 Roy Zang 提交于
The P1023RDS board is the reference board for the P1023 SoC. Add support for booting it from NOR or NAND, with fixed 2G of DDR, PCIe, UART, I2C, etc. Signed-off-by: NRoy Zang <tie-fei.zang@freescale.com> Signed-off-by: NHaiying Wang <Haiying.Wang@freescale.com> Signed-off-by: NChunhe Lan <Chunhe.Lan@freescale.com> Signed-off-by: NLei Xu <B33228@freescale.com> Signed-off-by: NYork Sun <yorksun@freescale.com> Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 26 5月, 2011 1 次提交
-
-
由 seedshope 提交于
Since we rename _end to __bss_end__, But we need add _end symbol for the end of u-boot image. Signed-off-by: NZhong Hongbo <bocui107@gmail.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 28 4月, 2011 3 次提交
-
-
由 Sughosh Ganu 提交于
Fix the nand_spl build for the hawkboard Signed-off-by: NSughosh Ganu <urwithsughosh@gmail.com>
-
由 Fabio Estevam 提交于
Commit f326cbba (arm: fix incorrect monitor protection region in FLASH) missed to update nand_spl/board/karo/tx25/u-boot.lds. Add the _end section. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
-
由 Stefano Babic 提交于
Commit f326cbba breaks mx31pdk, as the _end section in u-boot.lds is missing for the nand_spl production. Signed-off-by: NStefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com> Tested-by: NFabio Estevam <fabio.estevam@freescale.com>
-
- 16 4月, 2011 1 次提交
-
-
由 Dipen Dudhat 提交于
Modify eLBC based platform's NAND loader Makefile to preprocess nand loader linker script and then use it. Signed-off-by: NDipen Dudhat <Dipen.Dudhat@freescale.com> CC: Scott Wood <scottwood@freescale.com> Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 01 4月, 2011 1 次提交
-
-
由 Wolfgang Denk 提交于
Commit 6dc1eceb "Introduce a new linker flag LDFLAGS_FINAL" modified a number of Makefiles in a way that broke out-of-tree builds. The problem was that $(nandobj) was used before it got defined. Fix this. Signed-off-by: NWolfgang Denk <wd@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 28 3月, 2011 2 次提交
-
-
由 seedshope 提交于
In the nand_spl feature of SMDK6400. Add some relocation symbols to nand_spl/board/samsung/smdk6400/u-boot.lds to fix the compile error. Signed-off-by: NZhong Hongbo <bocui107@gmail.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
由 Po-Yu Chuang 提交于
Currently, _end is used for end of BSS section. We want _end to mean end of u-boot image, so we rename _end to __bss_end__ first. Signed-off-by: NPo-Yu Chuang <ratbert@faraday-tech.com>
-
- 23 3月, 2011 1 次提交
-
-
由 Haiying Wang 提交于
commit 8aba9dce Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS breaks the usage of --gc-section to build nand_spl. We still need linker option --gc-section for every uboot image, not only the main one. LDFLAGS_FINAL passes the --gc-sections to each uboot image. To get the proper linker flags, we use LDFLAGS and LDFLAGS_FINAL to replace PLATFORM_LDFLAGS in the Makefile of each nand_spl board. Signed-off-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NHaiying Wang <Haiying.Wang@freescale.com>
-
- 21 2月, 2011 1 次提交
-
-
由 Fabio Estevam 提交于
Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
-
- 14 1月, 2011 1 次提交
-
-
由 Kumar Gala 提交于
Mimic support that exists on MPC8536DS on the MPC8572DS to allow booting from NAND. Signed-off-by: NJin Qing <b24347@freescale.com> Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 18 12月, 2010 1 次提交
-
-
由 Joakim Tjernlund 提交于
By rearranging the linker script we get support for relocation of -fpic for free. Move __got2_entries outside _GOT2_TABLE_ defining scope matching the rest of PowerPC Signed-off-by: NJoakim Tjernlund <Joakim.Tjernlund@transmode.se> Acked-by: NScott Wood <scottwood@freescale.com> Acked-by: NKim Phillips <kim.phillips@freescale.com>
-
- 17 12月, 2010 2 次提交
-
-
由 Scott Wood 提交于
Recent GCC (4.4+) performs out-of-line epilogues in some cases, when optimizing for size. It causes a link error for _restgpr_30_x (and similar) if libgcc is not linked. It actually increases size with very small binaries, due to the fixed size of the out-of-line code, and not having any functions that actually need to restore more than 2 or 3 registers. But I don't see a way to turn it off, other than asking GCC to optimize for speed -- which may also increase size for some boards. Signed-off-by: NScott Wood <scottwood@freescale.com> Acked-by: NKim Phillips <kim.phillips@freescale.com> Acked-by: NWolfgang Denk <wd@denx.de>
-
由 Scott Wood 提交于
Recent GCC (4.4+) performs out-of-line epilogues in some cases, when optimizing for size. It causes a link error for _restgpr_30_x (and similar) if libgcc is not linked. It actually increases size with very small binaries, due to the fixed size of the out-of-line code, and not having any functions that actually need to restore more than 2 or 3 registers. But I don't see a way to turn it off, other than asking GCC to optimize for speed -- which may also increase size for some boards. Signed-off-by: NScott Wood <scottwood@freescale.com> Acked-by: NKim Phillips <kim.phillips@freescale.com> Acked-by: NWolfgang Denk <wd@denx.de>
-
- 09 12月, 2010 3 次提交
-
-
由 Stefano Babic 提交于
As more Davinci 8xx board can be added, move common code to be shared between boards. * rebased ontop of Sugosh's patches * moving the HAWKBOARD_KICK{0,1}_UNLOCK defines to arch/arm/include/asm/arch-davinci/davinci_misc.h from to arch/arm/include/asm/arch-davinci/da8xx_common.h * don't define dram functions in PRELOADER * move sync_env_enetaddr into existing EMAC ifdef * use misc.c in hawkboard nand_spl Signed-off-by: NBen Gardiner <bengardiner@nanometrics.ca> Signed-off-by: NStefano Babic <sbabic@denx.de> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Sughosh Ganu 提交于
The patch adds basic board support for TI's OMAP-L138 based Hawkboard. This board is pretty similar to the da850 EVM. Support for nand and network access is added in this version. The following bootup procedure is used. At reset, the Rom Boot Loader(RBL), initialises the ddr and the nand controllers and copies the second stage bootloader(nand_spl) to RAM. The secondary bootloader then copies u-boot from a predefined location in the nand flash to the RAM, and passes control to the u-boot image. Three config options are supported * hawkboard_config - Used to create the u-boot.bin. Tftp the u-boot.bin image to the RAM from u-boot, and flash to the nand flash at address 0xe0000. * hawkboard_nand_config - Used to generate the secondary bootloader(nand_spl) image. This creates an elf file u-boot-spl under nand_spl/. Create an AIS signed image using this file, and flash it to the nand flash at address 0x20000. The ais file should fit in one block. * hawkboard_uart_config - This is same as the first image, but with the TEXT_BASE as expected by the RBL(0xc1080000). Create the AIS Signed-off-by: NSughosh Ganu <urwithsughosh@gmail.com> Signed-off-by: NBen Gardiner <bengardiner@nanometrics.ca> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Sughosh Ganu 提交于
Remove the board_init_f function from nand_spl/nand_boot.c. This function is to be defined by all boards using the nand_spl functionality in their individual board directory. Currently this function was being used by the smdk6400 board. Added the board specific function definition. Signed-off-by: NSughosh Ganu <urwithsughosh@gmail.com> Acked-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-