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>
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>
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>
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.
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.
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>
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>
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>
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>
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.
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.