From: Subodh N. <SNijsure@SkyStream.com> - 2000-12-28 00:21:04
|
I think I have the PPCBOOTROM running for the powerpc board that I am working with since this board is derivative of FADS860 but is lot different I have created another "board" directory (named CXE) and config file. As the log below shows I am able to download tftp image to the board. I am using 2.4.0-test2 kernel that comes with MVista CD. Anybody has notes/hints/links on how I should go about porting by board specific things that worked for ppcboot into linux 2.4.0-test2 kernel? Just for the sake of it I built the RPXLITE kernel and as expected it doesn't work. Thanks! /Subodh Nijsure + /root/ppcboot/tools/mkimage -n '2.4.0-test2 MVista Kernel' -A ppc -O linux -T kernel -C none -a 0x100000 -e 0x00000000 -d /opt/hardhat/devkit/kernel/linux-2.4.0-test2/arch/ppc/coffboot/vmlinux.gz /tftpboot/vmlinux Image Name: 2.4.0-test2 MVista Kernel for CX Created: Wed Dec 27 15:41:06 2000 Image Type: PowerPC Linux Kernel Image (uncompressed) Data Size: 218099 Bytes = 212.99 kB = 0.21 MB Load Address: 0x00100000 Entry Point: 0x00000000 --------------------------------------------------------------------- CXE-BOOTROM=> ppcboot 0.7.0 (Dec 27 2000 - 11:16:07) Initializing... CPU: XPC860xxZPnnD3 at 48 MHz: 16 kB I-Cache 8 kB D-Cache FEC present Board: SRAM: 64 MB Relocating to: 03fa0000, 393216 bytes for malloc() Board Info at: 03f3ffc0 Chip is post RevD New Stack Pointer is: 03f3ff40 Now running in RAM - dest_addr = 0x03fa0000 FLASH: 4 MB *** Warning - bad CRC, using default environment Monitor relocated to 0x03fa0000 Input: serial Output: serial CXE-BOOTROM=>reginfo System Configuration registers SIUMCR 1600400 SYPCR FFFFFF89 SWT FFFF0000 SWSR SIPEND 20000 SIMASK 4000000 SIEL 0 SIVEC 3C000000 TESR 0 SDCR 1 Memory Controller Registers BR0 0X28000001 OR0 0XFFC00742 BR1 0X40020001 OR1 0XFFFF07F2 BR2 0X40040001 OR2 0XFFFC07F2 BR3 0X40000C1 OR3 0XFC000A00 BR4 0X0 OR4 0X0 BR5 0XC1 OR5 0XFC000A00 BR6 0X0 OR6 0X0 BR7 0X40000801 OR7 0XFFFF8750 mamr 0X67001000 mbmr 0X18964114 mstat 0X0 mptpr 0X400 mdr 0XFFFFFFFF System Integration Timers TBSCR 0X1 RTCSC 0X11 PISCR 0X2 CXE-BOOTROM=>setenv ipaddr 192.168.4.41 CXE-BOOTROM=>setenv serverip 192.168.4.43 CXE-BOOTROM=> CXE-BOOTROM=>bdinfo memstart = 0x00000000 memsize = 0x04000000 flashstart = 0x02800000 flashsize = 0x00400000 flashoffset = 0x00060000 sramstart = 0x00000000 sramsize = 0x00000000 immr_base = 0xff000000 bootflags = 0x00000001 intfreq = 48 MHz busfreq = 48 MHz ethaddr = 00:C1:4F:1E:BF:80 IP addr = 192.168.4.41 baudrate = 9600 bps getc = 0x03fadf2c tstc = 0x03fadf64 putc = 0x03fade9c puts = 0x03fadf84 printf = 0x03fa9b88 install_hdlr= 0x03fae848 free_hdlr = 0x03fae8d0 malloc = 0x03fa8554 free = 0x03fa8abc CXE-BOOTROM=>tftpboot In function NetLoop FEC.C Initializing ethernet.... About to reset the FEC block.... TFTP from server 192.168.4.43; our IP address is 192.168.4.41 No file name; using 'vmlinux'. No load address; using 0x100000 Loading: ########################################### done CXE-BOOTROM=>iminfo ## Checking Image at 00100000 ... Image Name: 2.4.0-test2 MVista Kernel Image Type: PowerPC Linux Kernel Image (uncompressed) Data Size: 218099 Bytes = 212 kB = 0 MB Load Address: 00100000 Entry Point: 00000000 Verifying Checksum ... OK CXE-BOOTROM=>bootm ## Booting Linux kernel at 00100000 ... Image Name: 2.4.0-test2 MVista Kernel Image Type: PowerPC Linux Kernel Image (uncompressed) Data Size: 218099 Bytes = 212 kB = 0 MB Load Address: 00100000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK ## Transferring control to Linux (at address 00000000) ... NIP: 00000000 XER: C0004F7F LR: 03FA4F30 REGS: 03f3fb20 TRAP: 1000 DAR: E0004F7FMSR: 00001002 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00 GPR00: 03FA4F14 03F3FC10 00000000 007FFEC0 00000000 00000000 007FFF00 007FFF00 GPR08: 00000001 00000000 FF002808 00001E48 00000000 00800000 03FBC000 007FFF00 GPR16: 00000000 FFFFFFFF 007FFEC0 007FFF00 00000000 03FB52E4 03F3FFC0 03F3FE70 GPR24: 00000001 00100040 03FBB9EC 00100040 00000000 00000001 03FBC2EC 00000000 Call backtrace: Software Emulation Exception ### ERROR ### Please RESET the board ### |