Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-23 Thread Joakim Tjernlund
Scott Wood wrote on 2012/08/23 18:53:14: > > On 08/23/2012 02:21 AM, Joakim Tjernlund wrote: > > Andy Fleming wrote on 2012/08/22 23:08:45: > >> > >> On Mon, Jul 23, 2012 at 3:58 PM, Joakim Tjernlund > >> wrote: > >>> PowerPC mandates SP to be 16 bytes aligned. > >>> Furthermore, a stack frame i

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-23 Thread Scott Wood
On 08/23/2012 02:21 AM, Joakim Tjernlund wrote: > Andy Fleming wrote on 2012/08/22 23:08:45: >> >> On Mon, Jul 23, 2012 at 3:58 PM, Joakim Tjernlund >> wrote: >>> PowerPC mandates SP to be 16 bytes aligned. >>> Furthermore, a stack frame is added, pointing to the reset vector >>> which may in the

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-23 Thread Joakim Tjernlund
Andy Fleming wrote on 2012/08/22 23:08:45: > > On Mon, Jul 23, 2012 at 3:58 PM, Joakim Tjernlund > wrote: > > PowerPC mandates SP to be 16 bytes aligned. > > Furthermore, a stack frame is added, pointing to the reset vector > > which may in the way when gdb is walking the stack because > > the re

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-22 Thread Andy Fleming
On Mon, Jul 23, 2012 at 3:58 PM, Joakim Tjernlund wrote: > PowerPC mandates SP to be 16 bytes aligned. > Furthermore, a stack frame is added, pointing to the reset vector > which may in the way when gdb is walking the stack because > the reset vector may not accessible depending on emulator settin

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-16 Thread Andy Fleming
I will pull them. Possibly tomorrow. I'm currently buried in other work, but Friday is supposed to be my U-Boot Custodian day. :) Andy On Aug 15, 2012, at 12:13 PM, Scott Wood wrote: > On 08/15/2012 02:10 AM, Joakim Tjernlund wrote: >> Kumar Gala wrote on 2012/08/14 23:28:45: >>> >>> >>> On J

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-15 Thread Scott Wood
On 08/15/2012 02:10 AM, Joakim Tjernlund wrote: > Kumar Gala wrote on 2012/08/14 23:28:45: >> >> >> On Jul 23, 2012, at 3:58 PM, Joakim Tjernlund wrote: >> >>> PowerPC mandates SP to be 16 bytes aligned. >>> Furthermore, a stack frame is added, pointing to the reset vector >>> which may in the way

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-15 Thread Joakim Tjernlund
Kumar Gala wrote on 2012/08/14 23:28:45: > > > On Jul 23, 2012, at 3:58 PM, Joakim Tjernlund wrote: > > > PowerPC mandates SP to be 16 bytes aligned. > > Furthermore, a stack frame is added, pointing to the reset vector > > which may in the way when gdb is walking the stack because > > the reset v

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-15 Thread Joakim Tjernlund
Scott Wood wrote on 2012/08/14 23:01:47: > > On 08/14/2012 03:55 PM, Joakim Tjernlund wrote: > > Ping? > > > >> > >> PowerPC mandates SP to be 16 bytes aligned. > >> Furthermore, a stack frame is added, pointing to the reset vector > >> which may in the way when gdb is walking the stack because >

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-14 Thread Kumar Gala
On Jul 23, 2012, at 3:58 PM, Joakim Tjernlund wrote: > PowerPC mandates SP to be 16 bytes aligned. > Furthermore, a stack frame is added, pointing to the reset vector > which may in the way when gdb is walking the stack because > the reset vector may not accessible depending on emulator settings.

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-14 Thread Scott Wood
On 08/14/2012 03:55 PM, Joakim Tjernlund wrote: > Ping? > >> >> PowerPC mandates SP to be 16 bytes aligned. >> Furthermore, a stack frame is added, pointing to the reset vector >> which may in the way when gdb is walking the stack because >> the reset vector may not accessible depending on emulato

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-14 Thread Joakim Tjernlund
Ping? > > PowerPC mandates SP to be 16 bytes aligned. > Furthermore, a stack frame is added, pointing to the reset vector > which may in the way when gdb is walking the stack because > the reset vector may not accessible depending on emulator settings. > Also use a temp register so gdb doesn't pic