Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/linux-sunxi/sunxi-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Nordstrom <henrik@henriknordstrom.net>2012-10-11 19:16:08 +0400
committerHenrik Nordstrom <henrik@henriknordstrom.net>2012-10-11 19:16:08 +0400
commitddead1555e4f488f67d97e8885935cb437334cbf (patch)
treeeccf1ee47f12bc238a375e89991158bd57988ea2 /boot_head.S
parent985cea043345e3d8d9263868d82bda91477d2381 (diff)
boot_head, a little boot header to work around broken bootloaders
Diffstat (limited to 'boot_head.S')
-rw-r--r--boot_head.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/boot_head.S b/boot_head.S
index 22c5a0b..8404ed5 100644
--- a/boot_head.S
+++ b/boot_head.S
@@ -17,6 +17,21 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
+ *
+ *
+ * This file is a workaround to broken bootloaders on Allwinner A1x
+ * platform who do not provide correct machid or atags address
+ *
+ * Usage:
+ * load the header at 0x40007000 and change the entry point of your
+ * boot process to 0x40007000
+ *
+ * Detailed memory map:
+ * 0x40000100 atags
+ * 0x40007000 boot_head (entry point)
+ * 0x40008000 kernel
+ * 0x43000000 script.bin
+ * If you have a ramdisk then load it at some higher address
*/
_start: