-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branches 'btc', 'dma', 'entry', 'fixes', 'linker-layout', 'misc…
…', 'mmci', 'suspend' and 'vfp' into for-next
- Loading branch information
Showing
934 changed files
with
33,881 additions
and
6,641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
ROM-able zImage boot from eSD | ||
----------------------------- | ||
|
||
An ROM-able zImage compiled with ZBOOT_ROM_SDHI may be written to eSD and | ||
SuperH Mobile ARM will to boot directly from the SDHI hardware block. | ||
|
||
This is achieved by the mask ROM loading the first portion of the image into | ||
MERAM and then jumping to it. This portion contains loader code which | ||
copies the entire image to SDRAM and jumps to it. From there the zImage | ||
boot code proceeds as normal, uncompressing the image into its final | ||
location and then jumping to it. | ||
|
||
This code has been tested on an mackerel board using the developer 1A eSD | ||
boot mode which is configured using the following jumper settings. | ||
|
||
8 7 6 5 4 3 2 1 | ||
x|x|x|x| |x|x| | ||
S4 -+-+-+-+-+-+-+- | ||
| | | |x| | |x on | ||
|
||
The eSD card needs to be present in SDHI slot 1 (CN7). | ||
As such S1 and S33 also need to be configured as per | ||
the notes in arch/arm/mach-shmobile/board-mackerel.c. | ||
|
||
A partial zImage must be written to physical partition #1 (boot) | ||
of the eSD at sector 0 in vrl4 format. A utility vrl4 is supplied to | ||
accomplish this. | ||
|
||
e.g. | ||
vrl4 < zImage | dd of=/dev/sdX bs=512 count=17 | ||
|
||
A full copy of _the same_ zImage should be written to physical partition #1 | ||
(boot) of the eSD at sector 0. This should _not_ be in vrl4 format. | ||
|
||
vrl4 < zImage | dd of=/dev/sdX bs=512 | ||
|
||
Note: The commands above assume that the physical partition has been | ||
switched. No such facility currently exists in the Linux Kernel. | ||
|
||
Physical partitions are described in the eSD specification. At the time of | ||
writing they are not the same as partitions that are typically configured | ||
using fdisk and visible through /proc/partitions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
* ARM Performance Monitor Units | ||
|
||
ARM cores often have a PMU for counting cpu and cache events like cache misses | ||
and hits. The interface to the PMU is part of the ARM ARM. The ARM PMU | ||
representation in the device tree should be done as under:- | ||
|
||
Required properties: | ||
|
||
- compatible : should be one of | ||
"arm,cortex-a9-pmu" | ||
"arm,cortex-a8-pmu" | ||
"arm,arm1176-pmu" | ||
"arm,arm1136-pmu" | ||
- interrupts : 1 combined interrupt or 1 per core. | ||
|
||
Example: | ||
|
||
pmu { | ||
compatible = "arm,cortex-a9-pmu"; | ||
interrupts = <100 101>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.