Uboot-V2: ARM: towards a common start-arm.S
Copy to list
Quoted 48 lines
-----Original Message-----
From: Peter Pearse [mailto:peter.pearse at arm.com]
Sent: 18 March 2008 09:32
To: 'Nishanth Menon'
Subject: RE: [U-Boot-Users] Uboot-V2: ARM: towards a commonstart-arm.SQuoted 11 lines
-----Original Message-----
From: u-boot-users-bounces at lists.sourceforge.net [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Nishanth Menon
Sent: 17 March 2008 22:32
To: s.hauer at pengutronix.de; u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] Uboot-V2: ARM: towards a commonstart-arm.SHi Sascha,
I think we dont have a seperate list for uboot-v2, so, just
wanted to
Quoted 1 line
know the opinion of having a single
arch/arm/cpu/start-arm.SinsteadQuoted 5 lines
of multiple start-arm files.
essentially providing hooks to arch,soc,board specific preinits can allow us to reuse major chunk of code..
I have attached a samplestart-arm.S(modified fromstart-arm920t.S) as reference.Great idea.
Two trivial points.
a) In the past confusion has arisen because the reset vector is so called. Some users thought the code after reset:
caused a reset, rather than running after the cpu has been reset. Could it be renamedstart_code, as per currentarm920t/start.S?b) I dont believe that relocating the vector table to the reset address is ARCH or SOC dependent. It depends on
TEXT_BASEand whether memory at the reset location is writeable. So it should be in yourstart.Ssomewhere, as per currentarm920t/start.S.Regards
Peter