aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-09PXE: add dhcp option support for better pxe support2012.05.62012.05-6Justin L Werner
"MAGIC" - 208 - An option whose presence and content verifies to the PXELINUX bootloader that the options numbered 209-211 are for the purpose as described herein. "ConfigFile" - 209 - Configures the path/filename component of the configuration file's location, which this bootloader should use to configure itself. "PathPrefix" - 210 - Configures a value to be prepended to the ConfigFile to discern the directory location of the file. "RebootTime" - 211 - Configures a timeout after which the bootstrap program will reboot the system (most likely returning it to PXE). Signed-off-by: Justin L Werner <justin.werner@caononical.com> Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-08-09dhcp: add default weak dhcp_vendorex_{prep,proc} functionsJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-07-20pxe: add support for parsing local syslinux files2012.05.52012.05-5Rob Herring
Add a new command "sysboot" which parses syslinux menu files and boots using kernel and initrd specified by menu files. The operation is similar to "pxe boot" except local files on ext2 or fat filesystem are parsed. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-07-20pxe: parse initrd file from append stringRob Herring
For syslinux, the initrd can be set in the append string as "initrd=<file>", so try to find it there if we haven't already set the initrd. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-07-20pxe: support absolute pathsRob Herring
If the file path starts with a '/', then don't pre-pend the bootfile path. This fixes a problem with running 'pxe boot' multiple times where the bootfile path gets pre-pended to itself each time. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-07-20pxe: support linux entries for labelsRob Herring
Kernels can be specified using "linux" or "kernel" entry. The difference is kernel is supposed to detect the type of file, but for u-boot both are treated the same. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-07-20pxe: add support for label menu textRob Herring
Use a menu string if present, otherwise use the kernel string. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-07-20pxe: support include files at top-levelRob Herring
Include files outside of a menu were not getting included and parsed. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-07-19omap4: do not enable auxiliary cores2012.05.42012.05-4Tero Kristo
Booting up these cores (dsp / ivahd / cortex-m3) is bad without firmware running on them, and they will hang preventing any kind of sleep transitions later on with the kernel. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: R Sricharan <r.sricharan@ti.com>
2012-07-19omap4: do not enable fs-usb moduleTero Kristo
If this is done in the bootloader, the FS-USB will later be stuck into intransition state, which will prevent the device from entering idle. Signed-off-by: Tero Kristo <t-kristo@ti.com>
2012-07-19omap4: panda: disable uart2 pads during bootTero Kristo
If uart2 is enabled during boot, spurious wifi chip transmission will hang the module and it is impossible to recover from this situation without hard reset. This will prevent any l4_per domain idle transitions. Signed-off-by: Tero Kristo <t-kristo@ti.com>
2012-07-16snowball: Reducing environment block size to 8K.Mathieu J. Poirier
Environment block size needs to be limited to 8K in order to avoid over writing u-boot. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-17snowball: adding new line after fdt_high.2012.05.32012.05-3Mathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-17snowball: saving environment block to emmcMathieu J. Poirier
Everything that is already available and working to save environment block variables to emmc, simply enabling the feature. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-11snowball: Fixing boot algorithm for snowball and DT address2012.05-2Mathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-07snowball: fixing cache management before starting kernelMathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-07snowball: fixing board specific defines to boot kernelMathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-07SAUCE: Snowball: init serial laterJohn Rigby
The early init does not take for some reason or is not called at all? This works around the problem while search for what is really going on. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-07snowball: arm cpu: inv and clean of L2Per Forlin
TODO: make this patch board specific. E.g add a board hook in cpu.c that the board may implement. Use generic cache functions for clean and inv, not hardcoded registers.
2012-05-07snowball: igloo copy port of board specific filesPer Forlin
Signed-off-by: Per Forlin <per.forlin@linaro.org> remove snowball specific mmc driver and use pl180_mmci Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-07snowball: add snowball to boards.cfgPer Forlin
Signed-off-by: Per Forlin <per.forlin@linaro.org>
2012-05-07snowball: igloo copy port of gpio driver supportPer Forlin
Signed-off-by: Per Forlin <per.forlin@linaro.org>
2012-05-07snowball: igloo copy port of armv7/u8500 and include/asm/arch-u8500Per Forlin
Signed-off-by: Per Forlin <per.forlin@linaro.org>
2012-05-07MMC: arm_pl180_mmci: factor out plat specific infoJohn Rigby
TODO: add the v2 stuff in a separate patch Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04mx53loco: Add support for 1GHz operation for DA9053-based boardsFabio Estevam
There are two types of mx53loco boards: initial boards were built with a Dialog DA9053 PMIC and more recent version is based on a Freescale MC34708 PMIC. Add DA9053 PMIC support and adjust the required voltages and clocks for running the CPU at 1GHz. Tested on both versions of mx53loco boards. In the case of a MC34708-based board the CPU operating voltage remains at 800MHz. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04mx53loco: Allow to print CPU information at a later stageFabio Estevam
Print CPU information within board_late_init(). This is in preparation for adding 1GHz support, which requires programming a PMIC via I2C. As I2C is only available after relocation, print the CPU information later at board_late_init(), so that the CPU frequency can be printed correctly. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04mx5: Add clock config interfaceFabio Estevam
mx5: Add clock config interface Add clock config interface support, so that we can configure CPU or DDR clock in the later init Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04imx-common: Factor out get_ahb_clk()Fabio Estevam
get_ahb_clk() is a common function between mx5 and mx6. Place it into imx-common directory. Cc: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04pmic: Add support for the Dialog DA9053 PMICFabio Estevam
Add support for the Dialog DA9053 PMIC. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04MX53: mx53loco: Add SATA supportStefano Babic
Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Jason Liu <jason.hui@linaro.org> Acked-by: Jason Liu <jason.hui@linaro.org> Conflicts: include/configs/mx53loco.h
2012-05-04SATA: add driver for MX5 / MX6 SOCsStefano Babic
This driver is part of Freescale's LTIB for MX5 / MX6. Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Terry Lv <r65388@freescale.com> CC: Fabio Estevam <fabio.estevam@freescale.com> CC: Dirk Behme <dirk.behme@de.bosch.com>
2012-05-04MX53: add function to set SATA clock to internalStefano Babic
The MX53 SATA interface can use an internal clock (USB PHY1) instead of an external clock. This is an undocumented feature, but used on most Freescale's evaluation boards, such as MX53-loco. As stated by Freescale's support: Fuses (but not pins) may be used to configure SATA clocks. Particularly the i.MX53 Fuse_Map contains the next information about configuring SATA clocks : SATA_ALT_REF_CLK[1:0] (offset 0x180C) '00' - 100MHz (External) '01' - 50MHz (External) '10' - 120MHz, internal (USB PHY) '11' - Reserved Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04SATA: check for return value from sata functionsStefano Babic
sata functions are called even if previous functions failed because return value is not checked. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Dirk Behme <dirk.behme@de.bosch.com> CC: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04MX5: Add definitions for SATA controllerStefano Babic
Add base address and MXC_SATA_CLK to return the clock used for the SATA controller. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com> CC: Dirk Behme <dirk.behme@de.bosch.com>
2012-05-04NET: fec_mxc.c: Add a way to disable auto negotiationStefano Babic
Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
2012-05-04Define UART4 and UART5 base addressesStefano Babic
Signed-off-by: Stefano Babic <sbabic@denx.de>
2012-05-04dsuboot: fix warningsJohn Rigby
Fix warnings introduced by OMAP4: Panda: Add usb peripheral boot Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04GCC47: Fix warning in md5.cMarek Vasut
md5.c: In function ‘MD5Final’: md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
2012-05-04GCC47: Fix warning in cmd_nand.cMarek Vasut
cmd_nand.c: In function ‘arg_off_size’: cmd_nand.c:216:5: warning: ‘maxsize’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Marek Vasut <marex@denx.de> Cc: Scott Wood <scottwood@freescale.com> Cc: Wolfgang Denk <wd@denx.de>
2012-05-04overo: support 200Mhz memory on 37XXSteve Sakoman
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2012-05-04Revert "armv7: adapt omap3 to the new cache maintenance framework"Ricardo Salveti de Araujo
This reverts commit 45bf05854bc94ed8bae9e9114292895b990327ea. Conflicts: arch/arm/cpu/armv7/omap3/board.c arch/arm/cpu/armv7/omap3/lowlevel_init.S arch/arm/include/asm/arch-omap3/sys_proto.h Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> Conflicts: arch/arm/cpu/armv7/omap3/board.c
2012-05-04OMAP3 Beagle: add preEnv.txt supportJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP4: add preEnv.txt supportJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04SAUCE: HACK: move omap spl base addressJohn Rigby
Move NON_SECURE_SRAM_START from 0x40304000 to 0x40303000 and move u-boot-spl load address from 0x40304350 to 0x40303080. This allows it to stay under 0x4030c000 which is what the TRM says it must do. SRAM actually starts at 0x40300000 on GP devices but was set to 0x40304000 to be the same as Secure devices so this breaks that. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP3: Beagle: set mac addr from dieidJohn Rigby
TODO: share dieid<-->mac addr code between OMAP3 and OMAP4 Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04Allow loading of u-boot.bin for backward compatibilityJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP3: Enable command line editing for omap3_beagleJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP4: change MAXARGS to 32John Rigby
Some boot scripts fail without this. This makes OMAP4 the same as omap3_beagle. Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP4: Enable command line editing in omap4_common.hJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2012-05-04OMAP4: Panda: add uEnv.txt supportJohn Rigby
Identical to omap3_beagle. Signed-off-by: John Rigby <john.rigby@linaro.org>