updating top level readme and changing uart examples to use the 0x8000 base address
This commit is contained in:
3
README
3
README
@@ -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
|
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
|
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
|
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
|
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
|
want an sd card that is at least a few meg, probably a full 128MBytes or
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
ram : ORIGIN = 0x00000000, LENGTH = 0x1000
|
ram : ORIGIN = 0x8000, LENGTH = 0x1000
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
|
|
||||||
.globl _start
|
.globl _start
|
||||||
_start:
|
_start:
|
||||||
b reset
|
mov sp,#0x8000
|
||||||
|
|
||||||
reset:
|
|
||||||
mov sp,#0x1000
|
|
||||||
bl notmain
|
bl notmain
|
||||||
hang: b hang
|
hang: b hang
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
ram : ORIGIN = 0x00000000, LENGTH = 0x1000
|
ram : ORIGIN = 0x8000, LENGTH = 0x1000
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
|
|
||||||
.globl _start
|
.globl _start
|
||||||
_start:
|
_start:
|
||||||
b reset
|
mov sp,#0x8000
|
||||||
|
|
||||||
reset:
|
|
||||||
mov sp,#0x1000
|
|
||||||
bl notmain
|
bl notmain
|
||||||
hang: b hang
|
hang: b hang
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
ram : ORIGIN = 0x00000000, LENGTH = 0x1000
|
ram : ORIGIN = 0x8000, LENGTH = 0x1000
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
|||||||
@@ -1,13 +1,11 @@
|
|||||||
|
|
||||||
.globl _start
|
.globl _start
|
||||||
_start:
|
_start:
|
||||||
b reset
|
|
||||||
reset:
|
|
||||||
ldr sp,stack_start
|
ldr sp,stack_start
|
||||||
ldr r0,thumb_start_add
|
ldr r0,thumb_start_add
|
||||||
bx r0
|
bx r0
|
||||||
|
|
||||||
stack_start: .word 0x1000
|
stack_start: .word 0x8000
|
||||||
thumb_start_add: .word thumb_start
|
thumb_start_add: .word thumb_start
|
||||||
.word 0
|
.word 0
|
||||||
.word 0
|
.word 0
|
||||||
|
|||||||
Reference in New Issue
Block a user