11 Jan, 2013
3 commits
-
Some platforms (e.g. IGEPv2 board) has a broken ns16550 UART that
does not set the TEMT bit when the transmitter is empty in SPL.
This makes U-Boot to hang while waiting for TEMT to be set.Add a new option to avoid this:
CONFIG_SYS_NS16550_BROKEN_TEMT
16550 UART set the Transmitter Empty (TEMT) Bit when all output
has finished and the transmitter is totally empty. U-Boot waits
for this bit to be set to initialize the serial console. On some
broken platforms this bit is not set in SPL making U-Boot to
hang while waiting for TEMT. Define this option to avoid it.Signed-off-by: Javier Martinez Canillas
-
On clobber, do a cleanup even for SPL build else, we'd have
MLO.byteswap remaining for certain platforms like am33xx SPL buildsSigned-off-by: Nishanth Menon
-
When booting an IGEPv2 board from NAND with SPL, U-Boot hangs
trying to read the OMAP General Purpose Memory Controller (GPMC).The reason is that the GPMC initialization function is called
inside spl_board_init() and this function is only executed when
CONFIG_SPL_BOARD_INIT is defined.Signed-off-by: Javier Martinez Canillas
Acked-by: Enric Balletbo i Serra
10 Jan, 2013
1 commit
09 Jan, 2013
13 commits
-
This will fix the following error:
---88---
Signed-off-by: Andreas Bießmann
Cc: prafulla@marvell.com
Cc: dimax.main@gmail.com
Tested-by: Alex Xol -
Modified the arch-kirkwood header so KWGBE_PORT_SERIAL_CONTROL1_REG(x)
returns the correct address.Originally calling KWGBE_PORT_SERIAL_CONTROL1_REG(1) returned the
address for port 0 and vice versa.Doesn't have any knock on effects to the u-boot code as the only
time they're used is to do the same function to both addressesSigned-off-by: Luke Lowrey
Acked-by: Prafulla Wadaskar
Acked-by: Heiko Schocher -
Instead of using the serverip we get from the DHCP server, implicitly use
the broadcast address, which is automatically set when no ncip environment
variable is set. That way it isn't necessary to use a special DHCP
configuration to set the netconsole peer.Signed-off-by: Michael Walle
Cc: Prafulla Wadaskar -
Signed-off-by: Albert ARIBAUD
-
This saves stack and code memory for local copy, and
consumes initialized data memory. For 22 of the 29
kirkwood-based boards, this results in a global saving
of about 30 bytes. For 7 of them, it results in an
increase of 6 to 14 bytes.Signed-off-by: Albert ARIBAUD
-
Signed-off-by: Albert ARIBAUD
-
This patch removes 2 small portions of board specific code that are
duplicated with common ARM code and thus unnecessary. These 2 portions
of code concern the mach id that is given by u-boot to the Linux kernel
to identify the system's MACH.The first one was the possibility to change the MACH thanks to the
'mach_id' enviroment variable. This is possible thanks to the 'machid'
env variable (see arch/arm/lib/bootm.c:boot_jump_linux()).The seconde one is the setting of the bi_arch_number. This is already
done in arch/arm/lib/board.c:board_init_f() since km_arm.h does #define
CONFIG_MACH_TYPE.Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Prafulla Wadaskar
Acked-by: Prafulla Wadaskar -
Signed-off-by: Holger Brunck
cc: Valentin Longchamp
cc: Prafulla Wadaskar
Acked-by: Prafulla Wadaskar -
These variables are only used if CONFIG_SYS_CONSOLE_IS_IN_ENV
is set. This isn't the case, so we can drop them safely.Signed-off-by: Holger Brunck
cc: Valentin Longchamp
cc: Prafulla Wadaskar -
On kmcoge5un we faced some serious problems with the memory during
temperature tests. Reason was that we overwrite some registers for
memory settings which have to leave untouched. These where registers
0x20148 , 0x2014c and 0x20154.
So writing these registers is prohibited and this patch removes them
from all km related config files. Even if the problem was only
seen on kmcoge5un.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Prafulla Wadaskar -
Remove code such as unneeded includes or labels.
These removals have no functional effect.Signed-off-by: Albert ARIBAUD
-
Move all the C runtime setup code from every start.S
in arch/arm into arch/arm/lib/crt0.S. This covers
the code sequence from setting up the initial stack
to calling into board_init_r().Also, rewrite the C runtime setup and make functions
board_init_*() and relocate_code() behave according to
normal C semantics (no jumping across the C stack any
more, etc).Some SPL targets had to be touched because they use
start.S explicitly or for some reason; the relevant
maintainers and custodians are cc:ed.Signed-off-by: Albert ARIBAUD
08 Jan, 2013
2 commits
-
This required manual merging drivers/mtd/nand/Makefile
and adding am335x_evm support for CONFIG_SPL_NAND_DRIVERS
06 Jan, 2013
9 commits
-
In order to mx53 ROM to properly load the U-boot image, its header size should
be multiple of 512 bytes.This issue was observed with gcc 4.6.2/4.7.3, which caused data aborts:
U-Boot 2013.01-rc2-00172-gf8cfcf1-dirty (Dec 26 2012 - 13:13:28)
Board: MX53 LOCO
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
In: serial
Out: serial
Err: serial
CPU: Freescale i.MX53 family rev2.1 at 1000 MHz
Reset cause: WDOG
Net: FEC
Warning: FEC using MAC address from net deviceHit any key to stop autoboot: 0
data abortMAYBE you should read doc/README.arm-unaligned-accesses
pc : [] lr : []
sp : af565e20 ip : af566918 fp : 00000000
r10: 00000003 r9 : affabb5b r8 : af565f58
r7 : 00000000 r6 : 36747fff r5 : af5668e8 r4 : 36747fff
r3 : af5668ec r2 : af5668eb r1 : 00000000 r0 : af5668e8
Flags: NzcV IRQs off FIQs off Mode SVC_32
Resetting CPU ...resetting ...
,and this patch fixes it.
Also, even though the ROUND macro is already defined in common.h,
the reason for redefining it in image.h is explained by Stefano Babic:"I will remark a previous comment - even if including common.h seems a
good idea to avoid duplications, it makes tools like mkimage to depend
on the selected board, because _config must run. Even if this is
not a problem for us u-boot developers, it becomes an issue when these
tools are included in distros (like u-boot-tools in Ubuntu) and cannot
be packaged."Signed-off-by: Troy Kisky
Signed-off-by: Fabio Estevam -
Make the error handling more robust.
Check if each one of the PMIC writes fail and if they do, just return
immediately.Also, print the cause for the failures.
Signed-off-by: Fabio Estevam
-
commit c73368150 (pmic: Extend PMIC framework to support multiple instances
of PMIC devices) introduced an extra 'retval' variable, but this is not
necessary since we have already the variable 'ret' in place.So use 'ret' to store the return values from the pmic related calls and remove
'retval'.Signed-off-by: Fabio Estevam
-
Looks like the original comment came from a copy and paste from mx31ads.h.
It does not have a context on mx51evk anymore, so delete it.
Signed-off-by: Fabio Estevam
-
It makes more sense to use on-board eMMC to store environments. The
boot partition 1 is selected by default.Signed-off-by: Shawn Guo
-
The on-board number of available usdhc devices is something board
specific. The patch moves CONFIG_SYS_FSL_USDHC_NUM out of
mx6qsabre_common.h and adds usdhc2 and usdhc4 support for mx6qsabresd
board.To keep the default mmc device for environment same as before (usdhc3),
it moves CONFIG_SYS_MMC_ENV_DEV out of mx6qsabre_common.h and changes
it to 1 for mx6qsabresd.Signed-off-by: Shawn Guo
-
All esdhc variants we know should support high capacity MMC cards,
so let's add MMC_MODE_HC host_caps unconditionally to support those
MMC cards (capacity > 2 GB).Signed-off-by: Shawn Guo
-
Use IMX_GPO_NR macro
Signed-off-by: Ashok Kumar Reddy
Acked-by: Stefano Babic -
Adjust the NAND partitioning layout so that there is a separate partition
for the ramdisk and fdt blob on the NAND.Signed-off-by: Marek Vasut
Cc: Detlev Zundel
Cc: Stefano Babic
Cc: Wolfgang Denk
27 Dec, 2012
1 commit
-
Since commit c733681 (pmic: Extend PMIC framework to support multiple instances
of PMIC devices) mx53loco fails to allocate the memory for PMIC:U-Boot 2013.01-rc2-dirty (Dec 20 2012 - 15:55:01)
Board: MX53 LOCO
I2C: ready
DRAM: 1 GiB
pmic_alloc: No available memory for allocation!
pmic_init: POWER allocation error!
CPU: Freescale i.MX53 family rev2.0 at 800 MHz
Reset cause: POR
MMC: FSL_SDHC: 0, FSL_SDHC: 1Calling the PMIC related functions at a later stage, ie, from board_late_init()
fixes the issue.Reported-by: Robert Nelson
Signed-off-by: Fabio Estevam
Tested-by: Stefano Babic
26 Dec, 2012
5 commits
-
This allow use of mainline and Freescale BSP Linux kernel with same
environment.Signed-off-by: Otavio Salvador
-
This allow use of mainline and Freescale BSP Linux kernel with same
environment.Signed-off-by: Otavio Salvador
-
This allow use of mainline and Freescale BSP Linux kernel with same
environment.Signed-off-by: Otavio Salvador
-
For a generic environment, we shouldn't have a fixed rootfs filesystem
so we drop it from env.Signed-off-by: Otavio Salvador
-
Select CONFIG_OF_LIBFDT, so that a dt kernel can be launched.
Signed-off-by: Fabio Estevam
22 Dec, 2012
1 commit
-
This commit merges branches from samsung, imx and tegra
meant to fix merge issues between u-boot/master and
u-boot-arm/master, as well as a few manual merge fixes.
20 Dec, 2012
1 commit
-
Conflicts:
README
arch/arm/cpu/armv7/exynos/clock.c
board/samsung/universal_c210/universal.c
drivers/misc/Makefile
drivers/power/power_fsl.c
include/configs/mx35pdk.h
include/configs/mx53loco.h
include/configs/seaboard.h
18 Dec, 2012
2 commits
16 Dec, 2012
2 commits
-
SH7752 has two fast ethernet controllers and two gigabit ethernet
controllers. It is similar to SH7757.Signed-off-by: Yoshihiro Shimoda
Acked-by: Nobuhiro Iwamatsu -
The ip is stored in network order, so we can't test it in host order.
Signed-off-by: Joe Hershberger
Reviewed-by: Kim Phillips