- Jan 10, 2013
-
-
Nishanth Menon authored
On clobber, do a cleanup even for SPL build else, we'd have MLO.byteswap remaining for certain platforms like am33xx SPL builds Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Javier Martinez Canillas authored
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 <javier.martinez@collabora.co.uk> Acked-by:
Enric Balletbo i Serra <eballetbo@iseebcn.com>
-
- Jan 09, 2013
-
-
Albert ARIBAUD authored
-
Albert ARIBAUD authored
-
- Jan 08, 2013
-
-
Andreas Bießmann authored
This will fix the following error: ---8<--- UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:root' errno=-12! --->8--- Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com> Cc: prafulla@marvell.com Cc: dimax.main@gmail.com Tested-by:
Alex Xol <dimax.main@gmail.com>
-
Luke Lowrey authored
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 addresses Signed-off-by:
Luke Lowrey <luke@chamsys.co.uk> Acked-by:
Prafulla Wadaskar <Prafulla@marvell.com> Acked-by:
Heiko Schocher <hs@denx.de>
-
Michael Walle authored
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 <michael@walle.cc> Cc: Prafulla Wadaskar <prafulla@marvell.com>
-
Albert ARIBAUD authored
Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Albert ARIBAUD authored
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 <albert.u.boot@aribaud.net>
-
Albert ARIBAUD authored
Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Valentin Longchamp authored
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 <valentin.longchamp@keymile.com> cc: Holger Brunck <holger.brunck@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> Acked-by:
Prafulla Wadaskar <Prafulla@marvell.com>
-
Holger Brunck authored
Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> Acked-by:
Prafulla Wadaskar <Prafulla@marvell.com>
-
Holger Brunck authored
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 <holger.brunck@keymile.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com>
-
Holger Brunck authored
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 <holger.brunck@keymile.com> Signed-off-by:
Valentin Longchamp <valentin.longchamp@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com>
-
Albert ARIBAUD authored
Remove code such as unneeded includes or labels. These removals have no functional effect. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Albert ARIBAUD authored
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 <albert.u.boot@aribaud.net>
-
Albert ARIBAUD authored
-
Albert ARIBAUD authored
This required manual merging drivers/mtd/nand/Makefile and adding am335x_evm support for CONFIG_SPL_NAND_DRIVERS
-
- Jan 05, 2013
-
-
Fabio Estevam authored
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 device Hit any key to stop autoboot: 0 data abort MAYBE you should read doc/README.arm-unaligned-accesses pc : [<aff72220>] lr : [<aff721fc>] 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 <board>_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 <troy.kisky@boundarydevices.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Fabio Estevam authored
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 <fabio.estevam@freescale.com>
-
Fabio Estevam authored
commit c7336815 (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 <fabio.estevam@freescale.com>
-
Fabio Estevam authored
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 <fabio.estevam@freescale.com>
-
Shawn Guo authored
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 <shawn.guo@linaro.org>
-
Shawn Guo authored
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 <shawn.guo@linaro.org>
-
Shawn Guo authored
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 <shawn.guo@linaro.org>
-
Ashok authored
Use IMX_GPO_NR macro Signed-off-by:
Ashok Kumar Reddy <ashokkourla2000@gmail.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Marek Vasut authored
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 <marex@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de>
-
- Dec 27, 2012
-
-
Fabio Estevam authored
Since commit c7336815 (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: 1 Calling the PMIC related functions at a later stage, ie, from board_late_init() fixes the issue. Reported-by:
Robert Nelson <robertcnelson@gmail.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Tested-by:
Stefano Babic <sbabic@denx.de>
-
- Dec 26, 2012
-
-
Otavio Salvador authored
This allow use of mainline and Freescale BSP Linux kernel with same environment. Signed-off-by:
Otavio Salvador <otavio@ossystems.com.br>
-
Otavio Salvador authored
This allow use of mainline and Freescale BSP Linux kernel with same environment. Signed-off-by:
Otavio Salvador <otavio@ossystems.com.br>
-
Otavio Salvador authored
This allow use of mainline and Freescale BSP Linux kernel with same environment. Signed-off-by:
Otavio Salvador <otavio@ossystems.com.br>
-
Otavio Salvador authored
For a generic environment, we shouldn't have a fixed rootfs filesystem so we drop it from env. Signed-off-by:
Otavio Salvador <otavio@ossystems.com.br>
-
Fabio Estevam authored
Select CONFIG_OF_LIBFDT, so that a dt kernel can be launched. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
- Dec 22, 2012
-
-
Albert ARIBAUD authored
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.
-
- Dec 19, 2012
-
-
Allen Martin authored
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
-
- Dec 18, 2012
-
-
git://git.denx.de/u-boot-netTom Rini authored
-
- Dec 15, 2012
-
-
Yoshihiro Shimoda authored
SH7752 has two fast ethernet controllers and two gigabit ethernet controllers. It is similar to SH7757. Signed-off-by:
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Joe Hershberger authored
The ip is stored in network order, so we can't test it in host order. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
Kim Phillips <kim.phillips@freescale.com>
-
Simon Glass authored
This prints a tftp speed indication after the download completes. This is the 3.6 MiB/s indicator below. Tegra2 (SeaBoard) # tftp ... Using asx0 device TFTP from server 172.22.72.144; our IP address is 172.22.73.81 Filename '/tftpboot/uImage-user-seaboard-1'. Load address: 0x408000 Loading: ################################################# 3.6 MiB/s done Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Igor Grinberg <grinberg@compulab.co.il>
-