linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Kerenel crashes every other Boot..
       [not found] <OFB4F00B2A.B7C79F45-ON8525733F.00547516-8525733F.0054E4E5@teal.com>
@ 2007-08-22 15:36 ` Wolfgang Reissnegger
  2007-08-22 16:28   ` ravi.rao
  2007-08-22 20:39   ` Need the bdi cfg file for taihu PPCEP405 Eval board ravi.rao
  0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Reissnegger @ 2007-08-22 15:36 UTC (permalink / raw)
  To: ravi.rao; +Cc: linuxppc-embedded

Hi Ravi,

my first guess would be that there is a problem with your RAM. Could be
the RAM timing or just a bad RAM chip.

Try to run the image on another board, see if it works there. If not you
can check the RAM timing. Given that you have a custom board there could
be some design issues.

Where are you loading the image from? Maybe there is a problem in
transferring the image into RAM so the image download corrupts the data?

Cheers,
   Wolfgang

ravi.rao@rflelect.com wrote:
> 
> Hi,
>   Some times it crashes and many times it comes back with an error as
> Junk in compressed Image..
> Below is the screen dump..
> **************** When it does not work **************************
> BOOT MONITOR:
> .. eth driver not initialized. command aborted
> .. Invoking Linux PPC Kernel Loader at 0xfe800000
> .. Boot Parms: 0x3f72314, Flags: 0x1014, Verbose: 0x3
> 
> loaded at:     FE800000 FEA16124
> relocated to:  00400000 00616124
> board data at: 03F72314 03F72510
> relocated to:  00613000 006131FC
> zimage at:     00404EDC 0061289C
> avail ram:     00617000 04000000
> 
> Linux/PPC load: console=ttyS0,9600 ip=dhcp root=nfs
> Uncompressing Linux...done.
> Now booting the kernel
> Linux version 2.6.21 (root@localhost.localdomain) (gcc version 4.1.0
> 20060304 (TimeSys 4.1.0-3)) #27 Wed Aug 22 10:10:4
> 2 EDT 2007
> MAC 0: 00:50:cc:0c:e2:30
> MAC 1: 00:50:c2:0c:e2:31
> Zone PFN ranges:
>   DMA             0 ->    16384
>   Normal      16384 ->    16384
> early_node_map[1] active PFN ranges
>     0:        0 ->    16384
> Built 1 zonelists.  Total pages: 16256
> Kernel command line: console=ttyS0,9600 root=/dev/rd/0
> ip=10.2.254.33:10.2.1.1:10.2.0.1:255.255.0.0:unknown:eth0
> PID hash table entries: 256 (order: 8, 1024 bytes)
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 61952k available (1188k kernel code, 280k data, 1504k init, 0k
> highmem)
> Mount-cache hash table entries: 512
> Kernel panic - not syncing: junk in compressed archive
> Rebooting in 180 seconds..
> 
> ******************** When it works **************************
> BOOT MONITOR:
> .. eth driver not initialized. command aborted
> .. Invoking Linux PPC Kernel Loader at 0xfe800000
> .. Boot Parms: 0x3f72314, Flags: 0x1014, Verbose: 0x3
> 
> loaded at:     FE800000 FEA16124
> relocated to:  00400000 00616124
> board data at: 03F72314 03F72510
> relocated to:  00613000 006131FC
> zimage at:     00404EDC 0061289C
> avail ram:     00617000 04000000
> 
> Linux/PPC load: console=ttyS0,9600 ip=dhcp root=nfs
> Uncompressing Linux...done.
> Now booting the kernel
> Linux version 2.6.21 (root@localhost.localdomain) (gcc version 4.1.0
> 20060304 (TimeSys 4.1.0-3)) #27 Wed Aug 22 10:10:4
> 2 EDT 2007
> MAC 0: 00:50:cc:0c:e2:30
> MAC 1: 00:50:c2:0c:e2:31
> Zone PFN ranges:
>   DMA             0 ->    16384
>   Normal      16384 ->    16384
> early_node_map[1] active PFN ranges
>     0:        0 ->    16384
> Built 1 zonelists.  Total pages: 16256
> Kernel command line: console=ttyS0,9600 root=/dev/rd/0
> ip=10.2.254.33:10.2.1.1:10.2.0.1:255.255.0.0:unknown:eth0
> PID hash table entries: 256 (order: 8, 1024 bytes)
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 61952k available (1188k kernel code, 280k data, 1504k init, 0k
> highmem)
> Mount-cache hash table entries: 512
> JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A
> serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A
> RAMDISK driver initialized: 1 RAM disks of 16384K size 1024 blocksize
> loop: loaded (max 8 devices)
> i2c /dev entries driver
> IBM IIC driver v2.1
> ibm-iic0: using standard (100 kHz) mode
> Freeing unused kernel memory: 1504k init
> serial console detected.  Disabling virtual terminals.
> init started:  BusyBox v0.60.2 (2003.04.29-11:32+0000) multi-call binary
> Bummer, could not run '/etc/init.d/rcS': No such file or directory
> 
> Please press Enter to activate this console.
> sh-2.05#
> 
> Ravishankar Govindarao
> RFL Electronics Inc.
> E-mail : _Ravi.Rao@rflelect.com_ <mailto:Ravi.Rao@rflelect.com>
> Voice: 973.334.3100 Ext. 233
> Fax: 973.334.3863
> 
>  
> 
> 
> _CONFIDENTIALITY NOTE_
> 
> This e-mail, including any attachments, may contain confidential and/or
> legally privileged information.  The Information is intended only for
> the use of the individual or entity named on this e-mail .  If you are
> not the intended recipient, you are hereby notified that any disclosure,
> copying, distribution, or the taking of any action in reliance on the
> contents of this transmitted Information is strictly prohibited. 
> Further, if you are not the intended recipient, please notify us by
> return e-mail and delete the Information promptly.
> 
>  
> 
>  
> 
>  
> 
> 
> *Wolfgang Reissnegger <wolfgang.reissnegger@xilinx.com>*
> 
> 08/22/2007 11:15 AM
> 
> 	
> To
> 	ravi.rao@rflelect.com
> cc
> 	linuxppc-embedded@ozlabs.org
> Subject
> 	Re: Kerenel crashes every other Boot..
> 
> 
> 	
> 
> 
> 
> 
> 
> Hi Ravi,
> 
> you need to provide more information, for example, where does the kernel
> crash, any serial console output that you see when it crashes, etc.
> 
> Cheers,
>   Wolfgang
> 
> 
> ravi.rao@rflelect.com wrote:
>>
>> Hi All,
>>     I have a PPC 405EP custom target. I based most of my software on the
>> EP405 Taihu reference and now I am able to load the 2.6.21 kernel and
>> with a minimum initramfs I also get the busy box prompt. I see a strange
>> poblem it fails(linux crashes) every other boot. Can any one please tell
>> me what may be happening ???
>> Thanks,
>> Ravishankar Govindarao
>> RFL Electronics Inc.
>> E-mail : _Ravi.Rao@rflelect.com_ <mailto:Ravi.Rao@rflelect.com>
>> Voice: 973.334.3100 Ext. 233
>> Fax: 973.334.3863
>>
>>  
>>
>>
>> _CONFIDENTIALITY NOTE_
>>
>> This e-mail, including any attachments, may contain confidential and/or
>> legally privileged information.  The Information is intended only for
>> the use of the individual or entity named on this e-mail .  If you are
>> not the intended recipient, you are hereby notified that any disclosure,
>> copying, distribution, or the taking of any action in reliance on the
>> contents of this transmitted Information is strictly prohibited.
>> Further, if you are not the intended recipient, please notify us by
>> return e-mail and delete the Information promptly.
>>
>>  
>>
>>  
>>
>>  
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded@ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kerenel crashes every other Boot..
  2007-08-22 15:36 ` Kerenel crashes every other Boot Wolfgang Reissnegger
@ 2007-08-22 16:28   ` ravi.rao
  2007-08-22 20:39   ` Need the bdi cfg file for taihu PPCEP405 Eval board ravi.rao
  1 sibling, 0 replies; 4+ messages in thread
From: ravi.rao @ 2007-08-22 16:28 UTC (permalink / raw)
  To: wolfgang.reissnegger; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 9132 bytes --]

Hi Wolfgang,
     The image is getting loaded from the flash. I am able to hook up 
BDI2000 and dump various locations.
I dumped first few kilo byte locations of the image and looks no 
corruption.
I also tried this on another board and l see the same behaviour.

Also the board I am using is an existing product but it is running 2.4.18 
kernel.
Hardware of our next gen product will be based on the existing board but 
it will run 2.6.21 kernel.
So to speed software development I am using the existing product as the 
refernce and trying to put 2.6.21.

Other paculiar thing that I have seen is Once I reset the power to chasis 
or pull the card out and put it back in  it gets stuck at "Now booting the 
kernel" stage and upon hooking BDI2000 it looks like it hangs in 
early_init function at the call to memset_io(PTRRELOC(&__bss_start), 0, 
_end - __bss_start). Only way to get it back working is by burning a 2.4 
kernel rebooting the card and again burning the 2.6 one..Any idea what may 
be happening.....

The only difference i see in 2.4.x initial code and 2.6.x init code is the 
wired tlb setup in head_4xx.S. Do you know why the wired tlb setup code 
got removed from 2.6 ??

Thanks,
Ravishankar Govindarao
RFL Electronics Inc.
E-mail : Ravi.Rao@rflelect.com
Voice: 973.334.3100 Ext. 233
Fax: 973.334.3863
 
CONFIDENTIALITY NOTE
This e-mail, including any attachments, may contain confidential and/or 
legally privileged information.  The Information is intended only for the 
use of the individual or entity named on this e-mail .  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or the taking of any action in reliance on the contents of 
this transmitted Information is strictly prohibited.  Further, if you are 
not the intended recipient, please notify us by return e-mail and delete 
the Information promptly.
 
 
 



Wolfgang Reissnegger <wolfgang.reissnegger@xilinx.com> 
08/22/2007 11:36 AM

To
ravi.rao@rflelect.com
cc
linuxppc-embedded@ozlabs.org
Subject
Re: Kerenel crashes every other Boot..






Hi Ravi,

my first guess would be that there is a problem with your RAM. Could be
the RAM timing or just a bad RAM chip.

Try to run the image on another board, see if it works there. If not you
can check the RAM timing. Given that you have a custom board there could
be some design issues.

Where are you loading the image from? Maybe there is a problem in
transferring the image into RAM so the image download corrupts the data?

Cheers,
   Wolfgang

ravi.rao@rflelect.com wrote:
> 
> Hi,
>   Some times it crashes and many times it comes back with an error as
> Junk in compressed Image..
> Below is the screen dump..
> **************** When it does not work **************************
> BOOT MONITOR:
> .. eth driver not initialized. command aborted
> .. Invoking Linux PPC Kernel Loader at 0xfe800000
> .. Boot Parms: 0x3f72314, Flags: 0x1014, Verbose: 0x3
> 
> loaded at:     FE800000 FEA16124
> relocated to:  00400000 00616124
> board data at: 03F72314 03F72510
> relocated to:  00613000 006131FC
> zimage at:     00404EDC 0061289C
> avail ram:     00617000 04000000
> 
> Linux/PPC load: console=ttyS0,9600 ip=dhcp root=nfs
> Uncompressing Linux...done.
> Now booting the kernel
> Linux version 2.6.21 (root@localhost.localdomain) (gcc version 4.1.0
> 20060304 (TimeSys 4.1.0-3)) #27 Wed Aug 22 10:10:4
> 2 EDT 2007
> MAC 0: 00:50:cc:0c:e2:30
> MAC 1: 00:50:c2:0c:e2:31
> Zone PFN ranges:
>   DMA             0 ->    16384
>   Normal      16384 ->    16384
> early_node_map[1] active PFN ranges
>     0:        0 ->    16384
> Built 1 zonelists.  Total pages: 16256
> Kernel command line: console=ttyS0,9600 root=/dev/rd/0
> ip=10.2.254.33:10.2.1.1:10.2.0.1:255.255.0.0:unknown:eth0
> PID hash table entries: 256 (order: 8, 1024 bytes)
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 61952k available (1188k kernel code, 280k data, 1504k init, 0k
> highmem)
> Mount-cache hash table entries: 512
> Kernel panic - not syncing: junk in compressed archive
> Rebooting in 180 seconds..
> 
> ******************** When it works **************************
> BOOT MONITOR:
> .. eth driver not initialized. command aborted
> .. Invoking Linux PPC Kernel Loader at 0xfe800000
> .. Boot Parms: 0x3f72314, Flags: 0x1014, Verbose: 0x3
> 
> loaded at:     FE800000 FEA16124
> relocated to:  00400000 00616124
> board data at: 03F72314 03F72510
> relocated to:  00613000 006131FC
> zimage at:     00404EDC 0061289C
> avail ram:     00617000 04000000
> 
> Linux/PPC load: console=ttyS0,9600 ip=dhcp root=nfs
> Uncompressing Linux...done.
> Now booting the kernel
> Linux version 2.6.21 (root@localhost.localdomain) (gcc version 4.1.0
> 20060304 (TimeSys 4.1.0-3)) #27 Wed Aug 22 10:10:4
> 2 EDT 2007
> MAC 0: 00:50:cc:0c:e2:30
> MAC 1: 00:50:c2:0c:e2:31
> Zone PFN ranges:
>   DMA             0 ->    16384
>   Normal      16384 ->    16384
> early_node_map[1] active PFN ranges
>     0:        0 ->    16384
> Built 1 zonelists.  Total pages: 16256
> Kernel command line: console=ttyS0,9600 root=/dev/rd/0
> ip=10.2.254.33:10.2.1.1:10.2.0.1:255.255.0.0:unknown:eth0
> PID hash table entries: 256 (order: 8, 1024 bytes)
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 61952k available (1188k kernel code, 280k data, 1504k init, 0k
> highmem)
> Mount-cache hash table entries: 512
> JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A
> serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A
> RAMDISK driver initialized: 1 RAM disks of 16384K size 1024 blocksize
> loop: loaded (max 8 devices)
> i2c /dev entries driver
> IBM IIC driver v2.1
> ibm-iic0: using standard (100 kHz) mode
> Freeing unused kernel memory: 1504k init
> serial console detected.  Disabling virtual terminals.
> init started:  BusyBox v0.60.2 (2003.04.29-11:32+0000) multi-call binary
> Bummer, could not run '/etc/init.d/rcS': No such file or directory
> 
> Please press Enter to activate this console.
> sh-2.05#
> 
> Ravishankar Govindarao
> RFL Electronics Inc.
> E-mail : _Ravi.Rao@rflelect.com_ <mailto:Ravi.Rao@rflelect.com>
> Voice: 973.334.3100 Ext. 233
> Fax: 973.334.3863
> 
> 
> 
> 
> _CONFIDENTIALITY NOTE_
> 
> This e-mail, including any attachments, may contain confidential and/or
> legally privileged information.  The Information is intended only for
> the use of the individual or entity named on this e-mail .  If you are
> not the intended recipient, you are hereby notified that any disclosure,
> copying, distribution, or the taking of any action in reliance on the
> contents of this transmitted Information is strictly prohibited. 
> Further, if you are not the intended recipient, please notify us by
> return e-mail and delete the Information promptly.
> 
> 
> 
> 
> 
> 
> 
> 
> *Wolfgang Reissnegger <wolfgang.reissnegger@xilinx.com>*
> 
> 08/22/2007 11:15 AM
> 
> 
> To
>                ravi.rao@rflelect.com
> cc
>                linuxppc-embedded@ozlabs.org
> Subject
>                Re: Kerenel crashes every other Boot..
> 
> 
> 
> 
> 
> 
> 
> 
> Hi Ravi,
> 
> you need to provide more information, for example, where does the kernel
> crash, any serial console output that you see when it crashes, etc.
> 
> Cheers,
>   Wolfgang
> 
> 
> ravi.rao@rflelect.com wrote:
>>
>> Hi All,
>>     I have a PPC 405EP custom target. I based most of my software on 
the
>> EP405 Taihu reference and now I am able to load the 2.6.21 kernel and
>> with a minimum initramfs I also get the busy box prompt. I see a 
strange
>> poblem it fails(linux crashes) every other boot. Can any one please 
tell
>> me what may be happening ???
>> Thanks,
>> Ravishankar Govindarao
>> RFL Electronics Inc.
>> E-mail : _Ravi.Rao@rflelect.com_ <mailto:Ravi.Rao@rflelect.com>
>> Voice: 973.334.3100 Ext. 233
>> Fax: 973.334.3863
>>
>> 
>>
>>
>> _CONFIDENTIALITY NOTE_
>>
>> This e-mail, including any attachments, may contain confidential and/or
>> legally privileged information.  The Information is intended only for
>> the use of the individual or entity named on this e-mail .  If you are
>> not the intended recipient, you are hereby notified that any 
disclosure,
>> copying, distribution, or the taking of any action in reliance on the
>> contents of this transmitted Information is strictly prohibited.
>> Further, if you are not the intended recipient, please notify us by
>> return e-mail and delete the Information promptly.
>>
>> 
>>
>> 
>>
>> 
>>
>>
>> 
------------------------------------------------------------------------
>>
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded@ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 



[-- Attachment #2: Type: text/html, Size: 13247 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Need the bdi cfg file for taihu PPCEP405 Eval board
  2007-08-22 15:36 ` Kerenel crashes every other Boot Wolfgang Reissnegger
  2007-08-22 16:28   ` ravi.rao
@ 2007-08-22 20:39   ` ravi.rao
  2007-08-23  5:52     ` Stefan Roese
  1 sibling, 1 reply; 4+ messages in thread
From: ravi.rao @ 2007-08-22 20:39 UTC (permalink / raw)
  To: wolfgang.reissnegger; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 847 bytes --]

Hi All,
   Can one of you please email me the bdi config file for Taihu Eval 
board. I need to attach bdi200 and do some debugging on that..
Thanks,
Ravishankar Govindarao
RFL Electronics Inc.
E-mail : Ravi.Rao@rflelect.com
Voice: 973.334.3100 Ext. 233
Fax: 973.334.3863
 
CONFIDENTIALITY NOTE
This e-mail, including any attachments, may contain confidential and/or 
legally privileged information.  The Information is intended only for the 
use of the individual or entity named on this e-mail .  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or the taking of any action in reliance on the contents of 
this transmitted Information is strictly prohibited.  Further, if you are 
not the intended recipient, please notify us by return e-mail and delete 
the Information promptly.
 
 
 

[-- Attachment #2: Type: text/html, Size: 1593 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Need the bdi cfg file for taihu PPCEP405 Eval board
  2007-08-22 20:39   ` Need the bdi cfg file for taihu PPCEP405 Eval board ravi.rao
@ 2007-08-23  5:52     ` Stefan Roese
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2007-08-23  5:52 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

On Wednesday 22 August 2007, ravi.rao@rflelect.com wrote:
>    Can one of you please email me the bdi config file for Taihu Eval
> board. I need to attach bdi200 and do some debugging on that..

I don't have a config file for the Taihu, but I attached one for a board 
that's quite similar to the AMCC Taihu. Needs some small changes perhaps. 
Just give it a try.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office@denx.de
=====================================================================

[-- Attachment #2: zeus.cfg --]
[-- Type: text/plain, Size: 3186 bytes --]

;bdiGDB configuration file for Zeus for U-Boot
; --------------------------------------------
;
[INIT]
; init core register
WSPR	954	0x00000000      ;DCWR: Disable data cache write-thru
WSPR	1018	0x00000000	;DCCR: Disable data cache
WSPR	1019	0x00000000	;ICCR: Disable instruction cache
WSPR	982	0xFFF80000	;EVPR: Exception Vector Table @0x00000000

;
WDCR    0x0F9   0x00000010	; enable WR# (PCI_INT/WR# multiplexing)

; Setup PLL
; CPU=133MHz
; PLB=133MHz
; OPB=66MHz
; EBC=33MHz
WDCR    0x0F0    0x00001203
WDCR    0x0F4    0x8042223E


; Setup Peripheral Bus

; CS0 (default mode)
WDCR	18	0x00000010	;Select PB0AP
WDCR	19	0x05815600	;PB0AP: NOR Flash/SRAM
WDCR	18	0x00000000	;Select PB0CR
WDCR	19	0xff09a000	;PB0CR: BAS=0xFF0,BS=4MB,BU=R/W,BW=16bit

; Setup SDRAM Controller
WDCR	16	0x00000080	;Select SDTR1
WDCR	17	0x01074015	;SDTR1: SDRAM Timing Register
WDCR	16	0x00000040	;Select MB0CF
WDCR	17	0x00084001	;MB0CF: 16MB @ 0x00000000
WDCR	16	0x00000030	;Select RTR
WDCR	17	0x07f00000	;RTR: Refresh Timing Register
WDCR	16	0x00000020	;Select MCOPT1
WDCR	17	0x80800000	;MCOPT1: Enable SDRAM Controller


; Setup MMU info - these lines must be uncommented to debug Linux kernel
;WM32    0x000000f4  0x00000000  ;invalidate kernel  page table base
;WM32    0x000000f8  0x00000000  ;invalidate process page table base
;WM32    0x000000f0  0xc00000f4  ;invalidate page table base

; Setup OCM
WDCR    0x01A   0xEC000000
WDCR    0x01B   0xC0000000

[TARGET]
JTAGCLOCK   0                   ;use 16 MHz JTAG clock
CPUTYPE     405 		;the used target CPU type
BDIMODE     AGENT   	        ;the BDI working mode (LOADONLY | AGENT)
WAKEUP      1000                ;wakeup time after reset
BREAKMODE   HARD      	        ;SOFT or HARD, HARD uses PPC hardware breakpoint
STEPMODE    HWBP                ;JTAG or HWBP, HWPB uses one or two hardware breakpoints
;VECTOR      CATCH               ;catch unhandled exceptions
;MMU         XLAT 0xC0000000     ;enable virtual address mode
;PTBASE      0x000000f0          ;address where kernel/user stores pointer to page table
;SIO         7 9600              ;TCP port for serial IO

;REGLIST     SPR                 ;select register to transfer to GDB
REGLIST      ALL                 ;select register to transfer to GDB
;SCANPRED    2 2                 ;JTAG devices connected before PPC400
;SCANSUCC    3 3                 ;JTAG devices connected after PPC400

[HOST]
IP          10.0.0.152
FORMAT      BIN
FILE        /tftpboot/zeus/u-boot.bin
LOAD        MANUAL 	       ;load code MANUAL or AUTO after reset
DEBUGPORT   2001
PROMPT      zeus>

[FLASH]
WORKSPACE   0x100000  ;workspace in on-chip SRAM for fast programming algorithm
CHIPTYPE    MIRRORX16    ;Flash type
CHIPSIZE    0x1000000    ;16MB The size of one flash chip in bytes
BUSWIDTH    16          ;The width of the flash memory bus in bits (8 | 16 | 32)
FILE        /tftpboot/zeus/u-boot.bin
FORMAT      BIN 0xFFFC0000

; Erase just the last seven blocks for U-Boot
ERASE       0xFFFC0000
ERASE       0xFFFE0000

[REGS]
IDCR1	0x010	0x011	;MEMCFGADR and MEMCFGDATA
IDCR2	0x012	0x013	;EBCCFGADR and EBCCFGDATA
;IDCR3	0x014	0x015	;KIAR and KIDR
FILE    /tftpboot/BDI2000/reg405ep.def

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-23  5:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <OFB4F00B2A.B7C79F45-ON8525733F.00547516-8525733F.0054E4E5@teal.com>
2007-08-22 15:36 ` Kerenel crashes every other Boot Wolfgang Reissnegger
2007-08-22 16:28   ` ravi.rao
2007-08-22 20:39   ` Need the bdi cfg file for taihu PPCEP405 Eval board ravi.rao
2007-08-23  5:52     ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).