updating top level readme and changing uart examples to use the 0x8000 base address

This commit is contained in:
David Welch
2012-06-20 01:00:49 -04:00
parent 267b154b8e
commit 0d1a778e72
7 changed files with 8 additions and 15 deletions

3
README
View File

@@ -105,7 +105,8 @@ my examples). go to the firmware directory and then the boot directory.
For each of these files, bootcode.bin, loader.bin, start.elf (NOT
kernel.img, dont need it, too big). Click on the file name, it will
go to another page then click on View Raw and it will let you download
the file.
the file. For reference, I do not use nor have a config.txt file on my
sd card. I only have the four files.
bootcode.bin is about 2MBytes, the other files are smaller, so you will
want an sd card that is at least a few meg, probably a full 128MBytes or

View File

@@ -1,7 +1,7 @@
MEMORY
{
ram : ORIGIN = 0x00000000, LENGTH = 0x1000
ram : ORIGIN = 0x8000, LENGTH = 0x1000
}
SECTIONS

View File

@@ -1,10 +1,7 @@
.globl _start
_start:
b reset
reset:
mov sp,#0x1000
mov sp,#0x8000
bl notmain
hang: b hang

View File

@@ -1,7 +1,7 @@
MEMORY
{
ram : ORIGIN = 0x00000000, LENGTH = 0x1000
ram : ORIGIN = 0x8000, LENGTH = 0x1000
}
SECTIONS

View File

@@ -1,10 +1,7 @@
.globl _start
_start:
b reset
reset:
mov sp,#0x1000
mov sp,#0x8000
bl notmain
hang: b hang

View File

@@ -1,7 +1,7 @@
MEMORY
{
ram : ORIGIN = 0x00000000, LENGTH = 0x1000
ram : ORIGIN = 0x8000, LENGTH = 0x1000
}
SECTIONS

View File

@@ -1,13 +1,11 @@
.globl _start
_start:
b reset
reset:
ldr sp,stack_start
ldr r0,thumb_start_add
bx r0
stack_start: .word 0x1000
stack_start: .word 0x8000
thumb_start_add: .word thumb_start
.word 0
.word 0