big commit mostly related to moving start addresses to 0x8000
This commit is contained in:
@@ -5,7 +5,7 @@ on the raspberry pi. Also find information on how to load and run
|
||||
these programs.
|
||||
|
||||
This example uses the free running ARM timer, not the 64 bit system
|
||||
one as in blinker02 but the so called ARM timer.
|
||||
timer as in blinker02 but the so called ARM timer.
|
||||
|
||||
The system clock appears to come up at 250MHz as documented. Divide that
|
||||
by 250 to get 1Mhz on this free running ARM timer. Then count to four
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
MEMORY
|
||||
{
|
||||
ram : ORIGIN = 0x00000000, LENGTH = 0x1000
|
||||
ram : ORIGIN = 0x8000, LENGTH = 0x1000
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
|
||||
.globl _start
|
||||
_start:
|
||||
b reset
|
||||
|
||||
reset:
|
||||
mov sp,#0x1000
|
||||
mov sp,#0x8000
|
||||
bl notmain
|
||||
hang: b hang
|
||||
|
||||
|
||||
Reference in New Issue
Block a user