From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Belm Date: Fri, 21 Aug 2009 14:08:03 +0100 Subject: [U-Boot] Mips: start.S Questions In-Reply-To: References: <574bb010908210434j5e3bcc4cqb96604c345f01046@mail.gmail.com> <574bb010908210553v7dd8570cnfa6d85978b531e10@mail.gmail.com> Message-ID: <574bb010908210608h3e77eb4fj5f510754eb2333be@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > Why should it? I presume the CPU starts at _start, so it will "b > reset", i.e. branch (jump) to "reset" and be happy. Its only if the CPU > jumps to one the reserved vectors that it will loop. And well, as they > are reserved, this is a legal thing to do, no? As the purple port > works, I'm pretty sure they do not usually get jumped to there ;) I knew I must be missing something, I didn't see that the reset definition comes straight under all the other vector calls, so _start just runs through all the vectors if for some reason reset returns (twice) and would get trapped because of RVECENT(romReserved,2). I shouldn't have missed my morning coffee :-P thank you for your help. -- Regards, Peter Belm