28 Jun, 2015
2 commits
-
By default on this platform, u-boot loads data into high memory
in the range of 0x7Fxxxxxx, which generates a data abort when the
kernel tries to read it. Config the u-boot environment to load
the device tree and initrd image into lower memory to make them
accessible to the kernel.Signed-off-by: Kevin Smith
Acked-by: Stefan Roese -
Signed-off-by: Kevin Smith
Acked-by: Stefan Roese
26 Jun, 2015
7 commits
-
This sets the default commands Kconfig to match
include/config_cmd_default.h commands in the common/Kconfig and removes
them from include/configs.Signed-off-by: Joe Hershberger
[trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates]
Signed-off-by: Tom Rini -
Some archs/boards specify their own default by pre-defining the config
which causes the Kconfig system to mix up the order of the configs in
the defconfigs... This will cause merge pain if allowed to proliferate.Remove the configs that behave this way from the archs.
A few configs still remain, but that is because they only exist as
defaults and do not have a proper Kconfig entry. Those appear to be:SPIFLASH
DISPLAY_BOARDINFOSigned-off-by: Joe Hershberger
[trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates,
drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM]
Signed-off-by: Tom Rini -
Boards using link-local need lib rand.
When link-local is moved to Kconfig, this dependency will be described
there.Signed-off-by: Joe Hershberger
-
This command needs to exist in the Kconfig so that it can be moved from
the config_cmd_default.h.Signed-off-by: Joe Hershberger
-
The help for this was simply copied from another command.
Update it to reflect the command.
Signed-off-by: Joe Hershberger
-
This config needs to be available in the Kconfig to allow it to be
removed from arch defaults.Signed-off-by: Joe Hershberger
-
Patch 33fe2fb8df01647f97a7bce96a1c7781a7f6d253 titled
"mmc: bcm283x: Remove get_timer_us() from mmc driver"
incorrectly replaced ad-hoc get_timer_us() function
with a plain get_timer(). The get_timer() operates in
mSec units instead of uSec though, which caused very
slow operation of the driver.Restore the original behavior of the driver, but avoid
get_timer_us() and use timer_get_us() instead. The later
is part of the standard API.Signed-off-by: Marek Vasut
Cc: Jakub Kiciński
Cc: Stephen Warren
Tested-by: Jakub Kicinski
20 Jun, 2015
15 commits
-
Update new naming scheme.
Signed-off-by: Samuel Egli
Acked-by: Heiko Schocher
Reviewed-by: Tom Rini -
rastaban is a draco version with more flash, more RAM
and faster CPU. Number of partitions is the same but
rootfs partition is different.Signed-off-by: Samuel Egli
Acked-by: Heiko Schocher
Reviewed-by: Tom Rini -
Unlike most configuration options defining this actually disables
support for a feature (parallel flash). Eventually the logic behind this
should probably be flipped so that '#ifndef CONFIG_SYS_NO_FLASH' becomes
'#ifdef CONFIG_HAS_PARALLEL_FLASH' but for now lets document the
existing behaviour.Signed-off-by: Chris Packham
Reviewed-by: Stefan Roese -
BeagleBoard-X15 uses a vtt regulator for DDR3 termination
and this is controlled by gpio7_11. Configuring gpio7_11.Signed-off-by: Lokesh Vutla
Reviewed-by: Tom Rini -
add cpsw ethernet boot mode support to download spl and
u-boot.img via tftp protocol. Also adding a seperate config
for ethernet boot mode as the default build falcon mode and
environment on MMC is defined for ethernet boot mode
environment should be set to nowhere.Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini -
While booting via usb host mode, ROM uses DMA to copy MLO over USB so
ARM internal RAM cannot be used. Adding USB host boot support by
introducing new config target which sets SPL_TEXT_BASE to OCMC ram.Signed-off-by: Mugunthan V N
Reviewed-by: Tom Rini -
With 1.2 silicon this is now the documented starting usable point for
downloading images to (and corrects a problem with peripheral booting
with prior silicon). Prior silicon is OK using this address as well.Signed-off-by: Tom Rini
Signed-off-by: Mugunthan V N -
DRA7/AM57xx devices can be operated in many different configurations.
When the SoC is supposed to support a configuration where low power mode
state may involve the SoC completely powered off and DDR is in self
refresh, SoC EMIF controller should not be the master of the reset
signal and an external entity might be in control of things.The default configuration of Linux on TI evms involve not powering off
the voltage rails (due to various reasons including reliability concerns)
and must not allow DDR reset to be controlled by EMIF. On platforms
where external entity might control the reset signal, this configuration
will be a "dont care".Fixes: 536d87470869 ("ARM: DRA7: Update DDR IO registers")
Tested-by: Keerthy
Acked-by: Brad Griffis
Signed-off-by: Nishanth Menon
Reviewed-by: Tom Rini -
Signed-off-by: Guillaume GARDET
Cc: Tom Rini
Reviewed-by: Tom Rini -
Tested on Pandaboard (rev. A3) and Beagleboard xM (rev. B).
Compilation tested on TI armv7 boards and OMAP boards from other vendors.Signed-off-by: Guillaume GARDET
Cc: Tom Rini
Reviewed-by: Tom Rini -
updates for the siemens am335x based boards:
- draco: add delay for DDR3 configuration
- change MTD partition layout and add a possibility
to redefine MTD layout in board header.
- move ubi support to common header file
- draco: improve dtb naming
- draco: set CONFIG_SYS_CBSIZE to 1024
- add generic env based led
Leds can now be defined in Environment
- add generic env based dfu button
Which gpio is used for the dfu button can be defined
through the Environment
- set MACH_TYPE only if defined
- draco: increase CPU freq to 300MHz
- Add time command to siemens am33xx boards
- DDR3: increase default tRFC
- draco: enable pullup for DFU and ERST pin
- change print format DDR3Signed-off-by: Samuel Egli
Acked-by: Heiko Schocher
Reviewed-by: Tom RiniSigned-off-by: Heiko Schocher
-
This introduces the part start and part size sub-commands. The purpose of these
is to store the start block and size of a partition in a variable, given the
device and partition number.This allows reading raw data that fits a single partition more easily.
For instance, this could be used to figure out the start block and size of a
kernel partition when a partition table is present, given the partition number.Signed-off-by: Paul Kocialkowski
Acked-by: Stephen Warren
[trini: Change "%lx" to LBAF]
Signed-off-by: Tom Rini -
This fixes a misaligned declaration.
Signed-off-by: Paul Kocialkowski
-
The get_max_arm_speed() and get_max_dev_speed() used wrong register
fields to get the maximum speeds. This commit fixes the bug.Signed-off-by: Vitaly Andrianov
Reviewed-by: Tom Rini
19 Jun, 2015
12 commits
-
When we're polling and thus handling key-repeat in software, make sure
to disable idle reports, some keyboards may have these enabled by default
messing up our software keyrepeat.Signed-off-by: Hans de Goede
-
Without this we loose every other interrupt packet. We never noticed this
because with keyboards the packets which we were loosing would normally
be key release packets.But now that we do keyrepeat in software instead of relying on the hid
idle functionality, missing a release will result in key repeat triggering.This commit fixes this.
Signed-off-by: Hans de Goede
-
There is no harm in declaring the function prototypes even if nothing
implements them, and when CONFIG_DM_USB=y the various usb functions are
available regardless of any controller drivers being enabled.This fixes compile warnings due to missing prototypes on ARCHs where
the ARCH Kconfig always enables CONFIG_DM_USB and various usb drivers.One could argue that in the case of no controllers CONFIG_DM_USB should not
be set, but this problem is typically seen during bringup of boards which
do actually have usb controllers.Signed-off-by: Hans de Goede
-
With the change to make sure that CONFIG_CMD_NET is enabled this board
no longer fits into the linker script:powerpc-linux-ld.bfd: section .resetvec loaded at [fffffffc,ffffffff] overlaps section .u_boot_list loaded at [ffffff58,00000723]
powerpc-linux-ld.bfd: u-boot: section .resetvec lma 0xfffffffc adjusted to 0x724
powerpc-linux-ld.bfd: u-boot: section `.resetvec' can't be allocated in segment 0
LOAD: .data.init .text .rodata .reloc .data .u_boot_list .resetvec
powerpc-linux-ld.bfd: final link failed: File truncatedDrop CONFIG_SYS_LONGHELP to free up space.
Cc: Matthias Fuchs
Signed-off-by: Tom Rini -
This allows using only one of either raw or fs mode for SPL mmc boot, without
the need to have provisions for the other. In particular, a device may have
U-Boot installed on a file system on the mmc, without ever needing to read
U-Boot from raw memory. Thus, there is no reason to provide a sector or
partition for raw mode. This allows this behaviour and still provides a robust
fallback mechanism in case provisions for both modes are defined.Signed-off-by: Paul Kocialkowski
-
This switches some printf calls to puts and avoids a test repetition.
Signed-off-by: Paul Kocialkowski
-
When building tools-only (or env) we need to be sure that we do use
and do not use . This will fix
problems such as running 'make defconfig' or 'make sandbox_config' and
then 'make tools-only'.Based on the responses below to the thread add linux/kconfig.h higher in
the includes and drop the now unneeded autoconf.h lower down to ensure
the default environment is included correctlyhttp://lists.denx.de/pipermail/u-boot/2015-June/216849.html
Signed-off-by: Peter Robinson
-
This fix is necessary to avoid booting the default ITB configuration.
Signed-off-by: Lukasz Majewski
-
We want to see if the requested start or total block count are
unaligned. We discard the whole numbers and only care about the
remainder. Update the code to use div_u64_rem here and add a comment.Cc: Hans de Goede
Cc: Pantelis Antoniou
Cc: Bernhard Nortmann
Reported-by: Simon Glass
Signed-off-by: Tom Rini
Tested-by: Bernhard Nortmann
Reviewed-by: Hans de Goede -
since we have now various processor-speeds it isn't useful anymore to
preinitialize kernels-delay loop.Rather we want the kernel to calibrate it on every boot.
This wastes around 80ms boottime but is compatible to all CPU-speeds.Signed-off-by: Hannes Schmelzer
-
in future we support yet another b&r am335x based board, where Timer 5 is
wired to backlight-driver.So we introduce a new driver-type '2' to setup timer5 instead timer6.
Signed-off-by: Hannes Schmelzer
Reviewed-by: Simon Glass -
Currently there is no default value for NETARGS if CONFIG_CMD_NET=y isn't set.
This results in build errors which was first discovered when trying to run
make env.By defining a blank NETARGS these errors can be avoided.
Signed-off-by: Franklin S Cooper Jr
Tested-by: Maxin B. John
Reviewed-by: Tom Rini
18 Jun, 2015
3 commits
-
Since the tam3517 base board has a 16bit wide nand connected to
the gpmc, enable the prefetch mode, since that is now supported.Cc: Scott Wood
Cc: Tom Rini
Cc: pekon gupta
Cc: Nishanth Menon
Cc: Daniel Mack
Cc: Tapani UtriainenSigned-off-by: Jeroen Hofstee
Reviewed-by: Tom Rini -
commit c316f57 "mtd: OMAP: Enable GPMC prefetch mode" only enabled
prefetch mode for 8 bit nand access, this adds 16 bit as well.Cc: Scott Wood
Cc: Tom Rini
Cc: Daniel MackSigned-off-by: Jeroen Hofstee
Reviewed-by: Tom Rini -
The prefech mode is a feature of the gpmc, not the ELM. An am3517
does not have an elm, but can do prefeches, so move the code out
of the CONFIG_NAND_OMAP_ELM ifdef.Cc: Scott Wood
Cc: Tom Rini
Cc: Daniel MackSigned-off-by: Jeroen Hofstee
Reviewed-by: Tom Rini
17 Jun, 2015
1 commit
-
The MSI Primo 81 is an Allwinner A31s-based tablet on which the
OTG port is the only accessible USB interface. The existing
defconfig had VGA console on the LCD enabled, but was missing
keyboard support because the prerequisites for that (sunxi MUSB
support and AXP221 GPIO support) had not been available before.
All previously missing dependencies are available now, so this
patch enables keyboard support and its prerequisites in the
defconfig.Signed-off-by: Karsten Merker
Reviewed-by: Hans de Goede
Signed-off-by: Hans de Goede