From 052dd9bfc0aeb6665f07f0fd3bf5a2c9bdc71315 Mon Sep 17 00:00:00 2001 From: David Given Date: Thu, 20 Jun 2013 00:14:55 +0100 Subject: [PATCH] Actually remember to set the stack pointer on startup. Reduce to stack from 16kB to a much more reasonable 1kB. --HG-- branch : dtrg-videocore --- plat/rpi/boot.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plat/rpi/boot.s b/plat/rpi/boot.s index 71081d2cb..8bee47aba 100644 --- a/plat/rpi/boot.s +++ b/plat/rpi/boot.s @@ -16,7 +16,7 @@ .sect .text #define gp r15 -#define STACKSIZE 16*1024 +#define STACKSIZE 1*1024 ! MAIN ENTRY POINT @@ -46,6 +46,7 @@ _1: st lr, .returnlr lea gp, begtext + lea sp, .stack + STACKSIZE ! Save the kernel parameters. -- 2.34.1