pandora-x-loader.git
13 years agobump up revision to 1.5.0 v1.5.0
Anand Gadiyar [Fri, 25 Mar 2011 07:24:38 +0000 (12:54 +0530)]
bump up revision to 1.5.0

We've committed several patches since we branched off from
Steve's tree. But we're still carrying around the 1.4.4ss
revision tag.

Bump up the revision to 1.5.0 and drop the ss tag.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agobuild break in lib/board.c
Andy Doan [Fri, 18 Mar 2011 07:14:15 +0000 (12:44 +0530)]
build break in lib/board.c

Commit 85c0898d4e removed the variable i. This is needed
for certain board configurations. I hit it using overo_config.

Signed-off-by: Andy Doan <andy.doan@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoBeagleBoard: Forced newer revisions to default to xM.
Jason Kridner [Mon, 14 Mar 2011 08:31:14 +0000 (14:01 +0530)]
BeagleBoard: Forced newer revisions to default to xM.

Even if we don't know what revision of the board it is, the default should be to use the
latest known revision, not to simply fail or default to an older revision that could be
detected anyway.

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoDefault to building signGP and a signed x-loader
LoïMinier [Mon, 14 Mar 2011 07:32:02 +0000 (13:02 +0530)]
Default to building signGP and a signed x-loader

Signed-off-by: LoïMinier <loic.minier@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoMerge signGP cflags into HOSTCFLAGS and use these
LoïMinier [Mon, 14 Mar 2011 07:31:59 +0000 (13:01 +0530)]
Merge signGP cflags into HOSTCFLAGS and use these

Signed-off-by: LoïMinier <loic.minier@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoAppend CFLAGS and HOSTCFLAGS to environment
LoïMinier [Mon, 14 Mar 2011 07:31:57 +0000 (13:01 +0530)]
Append CFLAGS and HOSTCFLAGS to environment

Signed-off-by: LoïMinier <loic.minier@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoAdd error checking to all file functions
LoïMinier [Mon, 14 Mar 2011 07:31:53 +0000 (13:01 +0530)]
Add error checking to all file functions

When building with a fortify-enabled toolchain, one would get:
scripts/signGP.c:305:8: warning: ignoring return value of .fread., declared with attribute warn_unused_result

Signed-off-by: LoïMinier <loic.minier@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoRemoved some dead code
LoïMinier [Mon, 14 Mar 2011 07:31:50 +0000 (13:01 +0530)]
Removed some dead code

Signed-off-by: LoïMinier <loic.minier@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoReplace die() with pdie() and err() macros
LoïMinier [Mon, 14 Mar 2011 07:31:47 +0000 (13:01 +0530)]
Replace die() with pdie() and err() macros

err() saves errno for pdie() to perror() the actual strerror() issue.

Signed-off-by: LoïMinier <loic.minier@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoSend errors to stderr
LoïMinier [Mon, 14 Mar 2011 07:31:45 +0000 (13:01 +0530)]
Send errors to stderr

Signed-off-by: LoïMinier <loic.minier@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoAdd a die() macro to exit with an error message
LoïMinier [Mon, 14 Mar 2011 07:31:42 +0000 (13:01 +0530)]
Add a die() macro to exit with an error message

Signed-off-by: LoïMinier <loic.minier@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoAdd -marm -fno-stack-protector to CFLAGS on ARM
LoïMinier [Mon, 14 Mar 2011 07:31:36 +0000 (13:01 +0530)]
Add -marm -fno-stack-protector to CFLAGS on ARM

The Linaro-based arm-linux-gnueabi cross-compiler in Ubuntu defaults to
Thumb 2 and enables the stack protector by default, both of which can
break x-loader at runtime (the former breaks the build).

Signed-off-by: LoïMinier <loic.minier@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - clean remove all magic constant addresses and use symbols
Andy Green [Wed, 9 Feb 2011 14:47:04 +0000 (14:47 +0000)]
xloader: Panda - clean remove all magic constant addresses and use symbols

Go through and eliminate magic constant addresses in the OMAP4 /
Pandaboard code by providing symbolic ones.

This also allows removal of a bunch of comments trying to note
the register names separately.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - clean small refactors and hang with spam_leds
Andy Green [Wed, 9 Feb 2011 14:46:34 +0000 (14:46 +0000)]
xloader: Panda - clean small refactors and hang with spam_leds

Get rid of do loops where while is simpler.
Lose some indent with return.
Change hang loop to use spam_leds(), it's no worse
  even if mux wasn't set up.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - kill OTG and reset PHY in case ROM started them
Andy Green [Wed, 9 Feb 2011 14:46:03 +0000 (14:46 +0000)]
xloader: Panda - kill OTG and reset PHY in case ROM started them

It'd be better if we didn't let the OS or next bootloader
see that the ROM set things up differently than usual.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - return memif clock to HW_AUTO after DPLL set
Andy Green [Wed, 9 Feb 2011 14:45:40 +0000 (14:45 +0000)]
xloader: Panda - return memif clock to HW_AUTO after DPLL set

As advised by Aneesh V we return that clock to HW_AUTO after meddling
for DDR bringup.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - fix ROM OTG boot path
Andy Green [Wed, 9 Feb 2011 14:45:14 +0000 (14:45 +0000)]
xloader: Panda - fix ROM OTG boot path

When the OMAP 4 on Panda sees that USB OTG external power is present,
it changes the boot flow in the ROM to try to boot via that before
trying MMC1.  If it isn't satisfied, it falls through to try MMC1.

Without this patch, under those conditions X-Loader is unable to
update the DPLL as it needs to do during dram initialization, because
the EMIF never goes idle allowing the shadow update mechanism to
apply the new settings.

It therefore loops for a long period waiting to confirm the settings
applied and boot is hung (with LEDs off, so the device looks OFF).

This patch re-enables EMIF idle which was previously commented out with
"No IDLE: BUG in SDC" to allow the new DPLL settings to apply.

With the patch against http://gitorious.org/x-loader HEAD the Panda is
able to boot from either USB OTG power applied or DC Jack power OK.

Note that I saw peak current during boot of 650mA, higher than the
500mA allowed by USB.  It may go higher with other peripherals enabled
or trying to use USB host on Panda.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - add led flashing debug code
Andy Green [Wed, 9 Feb 2011 14:44:47 +0000 (14:44 +0000)]
xloader: Panda - add led flashing debug code

I found this useful during debugging failure of xloader before
serial had come up on Panda.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - add Omap4 gpio base
Andy Green [Wed, 9 Feb 2011 14:44:30 +0000 (14:44 +0000)]
xloader: Panda - add Omap4 gpio base

We don't seem to have the GPIO bases available.  This
patch adds the ones we will use.

Signed-off-by: Andy Green <andy.green@warmcat.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - clean eliminate volatile temps
Andy Green [Wed, 9 Feb 2011 14:44:08 +0000 (14:44 +0000)]
xloader: Panda - clean eliminate volatile temps

The Omap4 hsmmc code has three instances of volatile
temps that are not necessary.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - refactor mux define into struct array
Andy Green [Wed, 9 Feb 2011 14:43:44 +0000 (14:43 +0000)]
xloader: Panda - refactor mux define into struct array

There's a giant #define that is just unrolled code to
write a constant to a constant address.

This patch converts the address and data content to be
an array of structs, and changed the mux init code
to walk through the array doing the writes.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - remove commented cruft
Andy Green [Wed, 9 Feb 2011 14:43:25 +0000 (14:43 +0000)]
xloader: Panda - remove commented cruft

There's quite a lot of dead commented code that can be
recovered from git if it is needed again.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - convert explicit volatile rw to __raw_xx
Andy Green [Wed, 9 Feb 2011 14:43:08 +0000 (14:43 +0000)]
xloader: Panda - convert explicit volatile rw to __raw_xx

There were a ton of explicit volatile address to pointer
casts and such.  This converts them all to __raw_[read|write][l|w]
and in the process makes checkpatch much happier

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - enable Werror
Andy Green [Wed, 9 Feb 2011 14:42:35 +0000 (14:42 +0000)]
xloader: Panda - enable Werror

It is pointless having -Wall without -Werror.  Now that
the warnings are cleaned out, enable -Werror for the
panda config.

Now you're gonna have to attend to any compiler warnings...

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - clean compile warnings
Andy Green [Wed, 9 Feb 2011 14:42:15 +0000 (14:42 +0000)]
xloader: Panda - clean compile warnings

Visit each warning during panda config clean build and
fix them. (This is true for gcc 4.5.1 compiler anyway)

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - bugfix mux redefinition different values
Andy Green [Wed, 9 Feb 2011 14:41:55 +0000 (14:41 +0000)]
xloader: Panda - bugfix mux redefinition different values

CONTROL_PADCONF_WAKEUPEVENT_0 is defined twice in the mux.h header

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - bugfix board hang function doesn't hang
Andy Green [Wed, 9 Feb 2011 14:41:21 +0000 (14:41 +0000)]
xloader: Panda - bugfix board hang function doesn't hang

Given this code is meant to 'hang', I am guessing the author
wanted a while (1) ; in there

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - bugfix missing while body
Andy Green [Wed, 9 Feb 2011 14:40:50 +0000 (14:40 +0000)]
xloader: Panda - bugfix missing while body

It looks like there is a missing ; that brings the following sr32
into the loop body.  That probably wasn't intentional and could
lead to unreliable ordering of the completion check and possibly
no sr32 following completion.

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoxloader: Panda - clean board files style
Andy Green [Wed, 9 Feb 2011 14:40:20 +0000 (14:40 +0000)]
xloader: Panda - clean board files style

Solve checkpatch in ./board/omap4430panda/* and ./cpu/omap4

Ignore volatile warnings and mux define crap because it will
be solved in following patches separately

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agogitignore: Add x-load.bin.ift to the list of ignored files
Vaibhav Bedia [Mon, 14 Mar 2011 07:13:08 +0000 (12:43 +0530)]
gitignore: Add x-load.bin.ift to the list of ignored files

The commit d0dadd2c46c1a0fd0b8cbe5fa84ce487fe5c2368 updated the
gitignore file but in the process missed out adding x-load.bin.ift
to the list of ignored files.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoovero: Fix bug in prcm_init
Steve Sakoman [Fri, 28 Jan 2011 19:22:29 +0000 (00:52 +0530)]
overo: Fix bug in prcm_init

The overo get_cpu_rev function was extended when 37XX support was
added, but I neglected to modify the index calculation in prcm_init
to compensate.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Tested-by: Philip Balister <philip@opensdr.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoSupport for ES2.2 pandaboard
Sebastien Jan [Fri, 28 Jan 2011 19:22:21 +0000 (00:52 +0530)]
Support for ES2.2 pandaboard

Mostly inspired from Dan Murphy's patch on dev.omapzoom.org
x-loader tree:
    X-Loader: Change for the ES2.2 support

    Modified the OMAP revision code to only compare
    the upper nibble of the most significant byte as this
    denotes the OMAP revision.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoomap4430panda: enable clock gating for M6_DPLL_CORE
Aaron Carroll [Fri, 28 Jan 2011 19:22:12 +0000 (00:52 +0530)]
omap4430panda: enable clock gating for M6_DPLL_CORE

The M6 clock from the core DPLL supplies a clock to the debug domain.
After the core DPLL is locked, the M6 clock appears to stop if clock
gating has been *disabled* for that output (reason unknown).  This
breaks JTAG debugging.

This patch enables clock gating on M6_DPLL_CORE before locking the
core DPLL, so the debugger continues to work.

Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agogitignore: be explicit for x-load files
Nishanth Menon [Wed, 26 Jan 2011 14:04:35 +0000 (19:34 +0530)]
gitignore: be explicit for x-load files

As discussed in thread:
http://groups.google.com/group/x-loader/browse_thread/thread/bf17e22c9628c630
x-load.lds file gets ignored by having x-load.*
as a coverall. we should ignore just the x-load, and corresponding
.map and .bin files alone.

Reported by: Enric Balletbo i Serra <eballetbo@gmail.com>

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agosignGP: dont add Config header for all devices
Nishanth Menon [Wed, 26 Jan 2011 14:04:32 +0000 (19:34 +0530)]
signGP: dont add Config header for all devices

Configuration Header is not needed for OMAP3, but needed
on Panda. To allow co-existance, introduce CONFIG_HEADER
to enable it when doing make ift

Tested on: Beagle XM rev A, Pandaboard rev EA1.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoMakefile: remove TEXT_BASE
Nishanth Menon [Wed, 26 Jan 2011 14:04:29 +0000 (19:34 +0530)]
Makefile: remove TEXT_BASE

TEXT_BASE comes from config.mk - dont need to hackup here.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoIGEPV2: Fixing Makefile to properly save objects in a different path
Ricardo Salveti de Araujo [Wed, 26 Jan 2011 13:59:55 +0000 (19:29 +0530)]
IGEPV2: Fixing Makefile to properly save objects in a different path

Now it follows the same as we have with other boards.

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoOMAP3: Add support for the IGEP v2 board.
Enric Balletbo i Serra [Mon, 24 Jan 2011 08:51:53 +0000 (14:21 +0530)]
OMAP3: Add support for the IGEP v2 board.

The IGEP v2 board is a low-cost, fan-less and industrial temperature
range single board computer that unleashes laptop-like performance and
expandability without the bulk, expense, or noise of typical desktop
machines. Its architecture shares much in common with other OMAP3 boards.

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
13 years agoonenand|ddr: Add support for M39B0Rx0xxN1 Numonyx POP device
Enric Balletbo i Serra [Mon, 24 Jan 2011 08:47:30 +0000 (14:17 +0530)]
onenand|ddr: Add support for M39B0Rx0xxN1 Numonyx POP device

The M39B0Rx0xxN1 combines the following memory devices in MCP (multichip package):
  * 2-Gbit (x16), 1.8 V OneNANDTM flash memory, the NAND02GR4E0A
  * 4-Gbit DDP (DUAL DIE PLAN) (x16), 1.8 V OneNANDTM flash memory, the
    NAND04GR4E1A
  * Two or one single die of 2-Gbit double data rate LPSDRAM (low-power SDRAM), the
    M65KD002AM.

The datasheets are available from your local Numonyx distributor.

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
13 years agoomap1: remove support for 1710 and 1510
Nishanth Menon [Thu, 23 Dec 2010 09:44:41 +0000 (15:14 +0530)]
omap1: remove support for 1710 and 1510

Remove support of 1710 H3 platform and 1510 - there are no
active maintainers or interest in maintaining these platforms.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoAdd Maintainer file
Nishanth Menon [Tue, 21 Dec 2010 19:26:32 +0000 (13:26 -0600)]
Add Maintainer file

This will allow us to have official maintainers per platform
who will be able to help in case of issues relevant to the
platform

Signed-off-by: Nishanth Menon <nm@ti.com>
13 years agoAdding support for saving build objects in a separated directory.
Ricardo Salveti de Araujo [Mon, 20 Dec 2010 13:30:27 +0000 (11:30 -0200)]
Adding support for saving build objects in a separated directory.

This patch basically ports the same functionality already available at u-boot,
and can be used in two ways:
 1) Add O= to the make command line
    'make O=/tmp/build board_config'
    'make O=/tmp/build ift'

 2) Set environement variable BUILD_DIR to point to the desired location
    'export BUILD_DIR=/tmp/build'
    'make board_config'
    'make ift'

Similar to u-boot, setting 'O=' at the command line will override the BUILD_DIR
environment variable.

If you use none of above methods, the build will happen localy, as before.

Changes since v1:
 * Rebase to correctly apply against the main Makefile after the signGP merge

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Acked-by: Nishanth Menon <nm@ti.com>
13 years agoscripts: signGP: properly returning 1 in case of errors
Ricardo Salveti de Araujo [Mon, 20 Dec 2010 13:23:18 +0000 (11:23 -0200)]
scripts: signGP: properly returning 1 in case of errors

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Acked-by: Nishanth Menon <nm@ti.com>
13 years agoscripts: signGP: add spaces for better readability
Felipe Balbi [Wed, 15 Dec 2010 12:28:18 +0000 (14:28 +0200)]
scripts: signGP: add spaces for better readability

it's better to read when we follow Linux Kernel
CodingStyle.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoscripts: signGP: mark struct as static
Felipe Balbi [Wed, 15 Dec 2010 12:28:17 +0000 (14:28 +0200)]
scripts: signGP: mark struct as static

that will never be used outside this file
anyway.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoMakefile: enable warnings and debugging symbols
Felipe Balbi [Wed, 15 Dec 2010 12:28:16 +0000 (14:28 +0200)]
Makefile: enable warnings and debugging symbols

... when compiling signGP.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoscripts: signGP: fix up main() prototype
Felipe Balbi [Wed, 15 Dec 2010 12:28:15 +0000 (14:28 +0200)]
scripts: signGP: fix up main() prototype

... also add a return statement to a function
returning int.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoscripts: signGP: get rid of C++ style comments
Felipe Balbi [Wed, 15 Dec 2010 12:28:14 +0000 (14:28 +0200)]
scripts: signGP: get rid of C++ style comments

convert // to /* */ comments.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoscripts: signGP: Add GPL header
Felipe Balbi [Wed, 15 Dec 2010 12:28:13 +0000 (14:28 +0200)]
scripts: signGP: Add GPL header

Add the generic GPL header to signGP.c file.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
13 years agoGenerate MLO file with Makefile ift option
Vikram Pandita [Tue, 10 Feb 2009 20:55:35 +0000 (14:55 -0600)]
Generate MLO file with Makefile ift option

MLO is the file name used for MMC booting.
Make that as default file generated with
make ift

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
13 years agoX-loader: add gitignore
Nishanth Menon [Sat, 11 Dec 2010 23:21:59 +0000 (17:21 -0600)]
X-loader: add gitignore

it is kind of irritating to get much git status
for object files

Signed-off-by: Nishanth Menon <nm@ti.com>
13 years agoSignGP: add CH support
Aneesh V [Thu, 22 Jul 2010 06:17:30 +0000 (11:47 +0530)]
SignGP: add CH support

Configuration Header is attached as part of the 'make ift' step.
After this, same MLO will work for both eMMC and external MMC boot.

Signed-off-by: Aneesh V <aneesh@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
13 years agoX-Loader: Add SignGP support
Nishanth Menon [Sat, 11 Dec 2010 23:18:45 +0000 (17:18 -0600)]
X-Loader: Add SignGP support

Integrate signGP from
http://beagleboard.googlecode.com/files/signGP.c

This will allow:
make ift to generate the ift file

Signed-off-by: Nishanth Menon <nm@ti.com>
13 years agoFix reading FAT32 root dirs that span >1 cluster
Nick Gasson [Sat, 13 Nov 2010 18:57:35 +0000 (18:57 +0000)]
Fix reading FAT32 root dirs that span >1 cluster

Unlike FAT12/16, FAT32 does not guarantee that root directories will
occupy consecutive clusters. To get each cluster after the first you
must access the FAT as with any other directory. This patch implements
this and bumps up the largest valid cluster number to support large
e.g. 64MB partitions.

13 years agoBeagle: Support C4 from Special Computing (with Numonyx DDR/NAND)
Steve Sakoman [Wed, 3 Nov 2010 16:56:40 +0000 (09:56 -0700)]
Beagle: Support C4 from Special Computing (with Numonyx DDR/NAND)

13 years agoPanda: Sync ES2.1 changes
Steve Sakoman [Sat, 30 Oct 2010 15:09:45 +0000 (08:09 -0700)]
Panda: Sync ES2.1 changes

13 years agoOvero: Add support for Hynix POP (512MB DDR, 512MB NAND)
Steve Sakoman [Wed, 13 Oct 2010 02:05:03 +0000 (19:05 -0700)]
Overo: Add support for Hynix POP (512MB DDR, 512MB NAND)

13 years agoRevert "Panda: Use proper VCORE3 settings for ES2.1"
Steve Sakoman [Thu, 7 Oct 2010 19:48:20 +0000 (12:48 -0700)]
Revert "Panda: Use proper VCORE3 settings for ES2.1"

This reverts commit b718a9a320138daf9d799f91c2d0d7a440b6c6c4.

Mistakenly applied.

13 years agoPanda: Use proper VCORE3 settings for ES2.1
Steve Sakoman [Thu, 7 Oct 2010 16:37:17 +0000 (09:37 -0700)]
Panda: Use proper VCORE3 settings for ES2.1

This patch based on work by Ricardo Salveti de Araujo and Rob Clark
with help of some other TI folks.

13 years agoomap3evm: compile onenand.o
Vincent Stehlé [Sat, 25 Sep 2010 19:33:26 +0000 (21:33 +0200)]
omap3evm: compile onenand.o

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
13 years agopanda: add 1GB memory support
Steve Sakoman [Fri, 17 Sep 2010 17:54:43 +0000 (10:54 -0700)]
panda: add 1GB memory support

This patch is based on Rob Clark's patch in his gitorious x-load repository

13 years agoovero: handle board revision detection for fab revisions <= R2410
Steve Sakoman [Fri, 17 Sep 2010 03:44:52 +0000 (20:44 -0700)]
overo: handle board revision detection for fab revisions <= R2410

Revisions < R2410 connect gpio112 to the 4030 irq_1 line. Since gpio112
is now used for board revision, this could lead to an erroneous
board revision results depending on the state of the irq.

This patch forces a 4030 RTC interrupt, which pulls irq_1 low, giving
a low level on gpio112 on these boards.  This gives a proper revision
0 result for these boards.

13 years agopanda: bring up to date with L24.9 changes
Steve Sakoman [Thu, 16 Sep 2010 20:33:52 +0000 (13:33 -0700)]
panda: bring up to date with L24.9 changes

13 years agoBeagle, Overo: Don't call nand/onenand functions unless the appropriate CFG option...
Steve Sakoman [Thu, 16 Sep 2010 05:19:48 +0000 (22:19 -0700)]
Beagle, Overo: Don't call nand/onenand functions unless the appropriate CFG option is enabled

13 years agoOMAP4: first cut at support for OMAP4 and Panda
Steve Sakoman [Thu, 16 Sep 2010 03:47:50 +0000 (20:47 -0700)]
OMAP4: first cut at support for OMAP4 and Panda

13 years agodrivers/Makefile: Don't automatically build onenand driver for all boards
Steve Sakoman [Thu, 16 Sep 2010 03:45:44 +0000 (20:45 -0700)]
drivers/Makefile:  Don't automatically build onenand driver for all boards

13 years agolib/board.c: Don't call i2c, nand, or onenand functions unless appropriate CFG optio...
Steve Sakoman [Thu, 16 Sep 2010 03:43:27 +0000 (20:43 -0700)]
lib/board.c:  Don't call i2c, nand, or onenand functions unless appropriate CFG options are defined

13 years agoFix omap3evm compilation
Vincent Stehlé [Sat, 4 Sep 2010 15:51:20 +0000 (17:51 +0200)]
Fix omap3evm compilation

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
13 years agoOvero: add support for OMAP37XX based COMs
Steve Sakoman [Thu, 26 Aug 2010 04:00:25 +0000 (21:00 -0700)]
Overo: add support for OMAP37XX based COMs

13 years agonand: k9f1g08: fail gracefully if no nand is present
Steve Sakoman [Thu, 26 Aug 2010 03:58:39 +0000 (20:58 -0700)]
nand: k9f1g08: fail gracefully if no nand is present

13 years agoOvero: run from SRAM
Steve Sakoman [Fri, 20 Aug 2010 16:06:45 +0000 (09:06 -0700)]
Overo: run from SRAM

13 years agoFAT: Find the start of the first partition in a non-hardcoded way
Laine Walker-Avina [Tue, 13 Apr 2010 20:27:31 +0000 (13:27 -0700)]
FAT: Find the start of the first partition in a non-hardcoded way

13 years agoSupport Micron or Numonyx memory
Steve Kipisz [Thu, 8 Jul 2010 15:30:58 +0000 (10:30 -0500)]
Support Micron or Numonyx memory

* Updated Numonyx memory size.

14 years agoOMAP3: beagle: revise SDRC config for Micron 2 bank x 256MB DDR
Steve Sakoman [Fri, 26 Mar 2010 04:08:24 +0000 (21:08 -0700)]
OMAP3: beagle: revise SDRC config for Micron 2 bank x 256MB DDR

14 years agoOMAP3: beagle: first cut at support for xM
Steve Sakoman [Sun, 21 Mar 2010 17:23:20 +0000 (10:23 -0700)]
OMAP3: beagle: first cut at support for xM

14 years agoOMAP3: mem.h: add ac timing info for Micron @ 200 Mhz
Steve Sakoman [Sun, 21 Mar 2010 16:37:54 +0000 (09:37 -0700)]
OMAP3: mem.h: add ac timing info for Micron @ 200 Mhz

14 years agoOMAP3: lib/board.c: bump revision, tweak serial boot logic
Steve Sakoman [Thu, 18 Mar 2010 04:25:40 +0000 (21:25 -0700)]
OMAP3: lib/board.c: bump revision, tweak serial boot logic

14 years agoOMAP3: cpu.h: add SDRC register definitions for second RAM bank
Steve Sakoman [Thu, 18 Mar 2010 04:22:36 +0000 (21:22 -0700)]
OMAP3: cpu.h: add SDRC register definitions for second RAM bank

14 years agoOMAP3: add GPMC_NONE definition for systems with no nand
Steve Sakoman [Thu, 18 Mar 2010 04:20:02 +0000 (21:20 -0700)]
OMAP3: add GPMC_NONE definition for systems with no nand

14 years agoomap3: add gpio API's
Steve Sakoman [Thu, 18 Mar 2010 04:05:17 +0000 (21:05 -0700)]
omap3: add gpio API's

14 years agodrivers/k9f1g08r0a.c: additional nand vendor/device id's
Steve Sakoman [Fri, 5 Mar 2010 04:34:31 +0000 (20:34 -0800)]
drivers/k9f1g08r0a.c: additional nand vendor/device id's

14 years agoboard.c: attempt serial boot if not possible to boot from mmc, nand, or onenand
Steve Sakoman [Mon, 8 Feb 2010 22:15:44 +0000 (14:15 -0800)]
board.c: attempt serial boot if not possible to boot from mmc, nand, or onenand

15 years agocpu/omap3/config.mk: Set march to armv7-a
Steve Sakoman [Fri, 6 Mar 2009 16:01:31 +0000 (08:01 -0800)]
cpu/omap3/config.mk: Set march to armv7-a

15 years agoOMAP3: X-Loader: Make MMC register macros volatile
Dirk Behme [Sat, 20 Dec 2008 19:35:12 +0000 (11:35 -0800)]
OMAP3: X-Loader: Make MMC register macros volatile

As discussed in

http://groups.google.com/group/beagleboard/browse_thread/thread/14988091de9c80cf

make register macros volatile to avoid reordering by compiler.

Remove macro defined twice.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
15 years agolib/board.c: Specify where u-boot is being loaded from
Steve Sakoman [Tue, 9 Sep 2008 04:42:28 +0000 (21:42 -0700)]
lib/board.c: Specify where u-boot is being loaded from

15 years agoovero: changes required to make x-load USB downloadable
Steve Sakoman [Sat, 6 Sep 2008 14:17:22 +0000 (07:17 -0700)]
overo: changes required to make x-load USB downloadable

Note: use *unsigned* version for USB or serial download!

15 years agoomap3evm: provide missing udelay function
Steve Sakoman [Mon, 18 Aug 2008 18:11:57 +0000 (11:11 -0700)]
omap3evm: provide missing udelay function

15 years agoomap3evm: fix broken build due to missing raise and abort functions
Steve Sakoman [Sun, 17 Aug 2008 23:36:10 +0000 (16:36 -0700)]
omap3evm: fix broken build due to missing raise and abort functions

15 years agoomap3evm: modify config to unbreak mmcboot
Steve Sakoman [Sat, 16 Aug 2008 13:22:57 +0000 (06:22 -0700)]
omap3evm:  modify config to unbreak mmcboot

15 years agoovero: use the same platform.S as beagle
Steve Sakoman [Fri, 15 Aug 2008 04:23:11 +0000 (21:23 -0700)]
overo: use the same platform.S as beagle

15 years agoFix build breakage when CONFIG_MMC is disabled
Steve Sakoman [Fri, 15 Aug 2008 04:21:03 +0000 (21:21 -0700)]
Fix build breakage when CONFIG_MMC is disabled

15 years agolib/board.c: add missing call to misc_init_r
Steve Sakoman [Fri, 8 Aug 2008 00:38:42 +0000 (17:38 -0700)]
lib/board.c:  add missing call to misc_init_r

15 years agoovero: add delay to allow vaux2 power supply time to settle
Steve Sakoman [Thu, 7 Aug 2008 22:13:58 +0000 (15:13 -0700)]
overo:  add delay to allow vaux2 power supply time to settle

15 years agoEnable i2c support, update mmc driver for beagle and overo, bump version
Steve Sakoman [Thu, 7 Aug 2008 21:00:58 +0000 (14:00 -0700)]
Enable i2c support, update mmc driver for beagle and overo, bump version
to 1.42 and add time stamp to boot banner

TODO: omap3evm

15 years agoboard.c: implement generalized mmc boot for all boards, clean up boot messages
Steve Sakoman [Sat, 2 Aug 2008 03:32:13 +0000 (20:32 -0700)]
board.c:  implement generalized mmc boot for all boards, clean up boot messages

TODO: remove individual mmc_boot routines from board files

15 years agommc: fix infinite loop in mmc_init_stream
Steve Sakoman [Fri, 1 Aug 2008 19:55:44 +0000 (12:55 -0700)]
mmc:  fix infinite loop in mmc_init_stream

15 years agoboard.c: check for u-boot on mmc on all configurations, not just those with managed...
Steve Sakoman [Fri, 1 Aug 2008 15:03:41 +0000 (08:03 -0700)]
board.c:  check for u-boot on mmc on all configurations, not just those with managed nand

15 years agoboard.c: print boot method (mmc, onenand, nand)
Steve Sakoman [Thu, 31 Jul 2008 23:34:54 +0000 (16:34 -0700)]
board.c:  print boot method (mmc, onenand, nand)

15 years agobeagle: fix missing parentheses in while statement (cleanup error)
Steve Sakoman [Thu, 31 Jul 2008 20:37:13 +0000 (13:37 -0700)]
beagle:  fix missing parentheses in while statement (cleanup error)

15 years agoTI tarball had execute permissions set on a number of source files -- change these...
Steve Sakoman [Thu, 31 Jul 2008 06:53:44 +0000 (23:53 -0700)]
TI tarball had execute permissions set on a number of source files -- change these files to 0644