1 /******************************************************************************
2 * Copyright (c) 2004, 2008 IBM Corporation
4 * This program and the accompanying materials
5 * are made available under the terms of the BSD License
6 * which accompanies this distribution, and is available at
7 * http://www.opensource.org/licenses/bsd-license.php
10 * IBM Corporation - initial implementation
11 *****************************************************************************/
14 #include "boot_abort.h"
17 #define MSG_LOOK_HDR TERM_CTRL_BRIGHT, TERM_BG_RED, TERM_FG_WHITE
21 .ascii "\n\r\n\rE1001 - Boot ROM CRC failure\n\r"
22 .ascii TERM_CTRL_RESET, "\0"
25 ASM_ENTRY(msg_e_nomem)
27 .ascii "\n\r\n\rE1002 - Memory could not be initialized\n\r"
28 .ascii TERM_CTRL_RESET, "\0"
31 ASM_ENTRY(msg_e_nofile)
33 .ascii "\n\r\n\rE1003 - Firmware image incomplete"
34 .ascii TERM_CTRL_RESET
35 .ascii "\n\r internal FLS1-FFS-0.\0"
38 ASM_ENTRY(msg_e_ierror)
40 .ascii "\n\r\n\rE1004 - Unspecified Internal Firmware Error"
41 .ascii TERM_CTRL_RESET
42 .ascii "\n\r internal FLSX-SE-0.\0"
45 /* E1005 : used in memory init code */
47 /*****************************************************************************
51 * R3 - capability informatin (i/o etc.)
52 * R4 - handling suggestion
53 * R5 - error string reference
57 * if possible input to H8 and NVRAM log and console , then reboot/halt
61 * R3 bits: 63 (h8/console possible) ... add more
62 * R4 bits: 63 (do not attempt reboot)
63 * R5 reference to error message string
64 * R6 32-bit error enumerator
66 ******************************************************************************/
74 /* check if i/o is possible, if yes then print message */
79 /* use i/o ..., first print reference message */
80 /* then add internal number if != 0 */
82 mfspr r4, HSPRG0 /* get runbase */