Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Use a menu string if present, otherwise use the kernel string.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
|
|
Include files outside of a menu were not getting included and parsed.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
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>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
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>
|
|
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.
|
|
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>
|
|
Signed-off-by: Per Forlin <per.forlin@linaro.org>
|
|
Signed-off-by: Per Forlin <per.forlin@linaro.org>
|
|
Signed-off-by: Per Forlin <per.forlin@linaro.org>
|
|
TODO: add the v2 stuff in a separate patch
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add support for the Dialog DA9053 PMIC.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
|
|
Signed-off-by: Stefano Babic <sbabic@denx.de>
|
|
Fix warnings introduced by OMAP4: Panda: Add usb peripheral boot
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
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>
|
|
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>
|
|
Signed-off-by: Steve Sakoman <steve@sakoman.com>
|
|
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
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
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>
|
|
TODO: share dieid<-->mac addr code between
OMAP3 and OMAP4
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Some boot scripts fail without this. This makes OMAP4
the same as omap3_beagle.
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Identical to omap3_beagle.
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
Removing boot.scr support broke some external bootscripts
that depended on it.
This patch restores boot.scr support but leaves uEnv.txt
support in.
uEnv.txt still works and if both files exist then uEnv.txt
takes precedence.
Signed-off-by: John Rigby <john.rigby@linaro.org>
|
|
The panda board has a usb nic but the nic has no
rom. Use the die-id to generate a unique address.
This is derived from an RFC kernel patch by Andy Green
that does the same thing:
https://patchwork.kernel.org/patch/660541/
[RFC PATCH 1/2] OMAP2+: add cpu id register to MAC address helper
Signed-off-by: John Rigby <john.rigby@linaro.org>
|