forked from len0rd/rockbox
as3525*: enable MMU in bootloader
Reserve 1MB of DRAM for loading rockbox and use the rest as BSS Write sdram setup in assembler and move it to a separate file, together with MMU init code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26926 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6e5330f663
commit
fd715fa95c
12 changed files with 200 additions and 198 deletions
|
|
@ -122,11 +122,10 @@ void main(void)
|
|||
if(ret < 0)
|
||||
error(EBOOTFILE, ret);
|
||||
|
||||
disable_irq(); /* disable irq until we have copied the new vectors */
|
||||
|
||||
if (ret == EOK)
|
||||
{
|
||||
kernel_entry = (void*) loadbuffer;
|
||||
cpucache_invalidate();
|
||||
printf("Executing");
|
||||
kernel_entry();
|
||||
printf("ERR: Failed to boot");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue