From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 9 Jan 2002 11:25:08 -0500 From: Kent Borg To: linuxppc-embedded@lists.linuxppc.org Subject: Boot ROM Responsibilities (and GDB)? Message-ID: <20020109112508.B4902@borg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: Is there any documentation on what a 405 boot ROM is supposed to do before jumping to the PPC kernel? We finally found what was messing with our use of GDB. DBSR was (sometimes) coming up with some unfortunate bits set, our boot ROM didn't know to clear them and the code that actually uses the CPU's debug hardware didn't bother to put that hardware in an appropriate state. Coming from an old fashioned perspective where boot ROMs are little and only sufficient to get the next higher level of program running, it seems strange to make them have to know anything about details of assorted hardware other than to disable optional things and make very basic things (like RAM access) work. Because we have a custom boot ROM (lifted from a previous non-Linux use of the same board--that's part of the beauty of having boot ROMs be simple, they are then quite universal and can be written quite early in the project before you even know what the project is) what else are we missing? What are a PPC boot ROM's responsibilities? (I.E., what do we add to our version of head.S.) Thanks, -kb, the Kent who is trying to keep his head in two different arch trees at once without too much confusion. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/