All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] boot linux kernel problem
@ 2003-03-01  2:17 yu
  2003-03-01  4:10 ` Xianghua Xiao
  2003-03-01  9:07 ` Paul McAvoy
  0 siblings, 2 replies; 3+ messages in thread
From: yu @ 2003-03-01  2:17 UTC (permalink / raw)
  To: u-boot

Hello. Everyone.
I use ppcboot and linux on a walnut board for test.
I compile the linux kernel source src-linuxppc_2_4_devel from 
ppckernel.org with the command:
make pImage

then I copy the pImage file to walnut board RAM and boot it.
but the linux kernel hang up after the decompression.
What is the possible reason?
thanks in advance.




PPCBoot 1.2.0 (Mar  1 2003 - 03:04:51)

CPU:   IBM PowerPC 405GP Rev. E at 200 MHz (PLB=100, OPB=50, EBC=50 MHz)
           PCI sync clock at 33 MHz, internal PCI arbiter enabled
           16 kB I-Cache 8 kB D-Cache
Board: ### No HW ID - assuming WALNUT405
I2C:   ready
DRAM:  32 MB
FLASH: 512 kB
In:    serial
Out:   serial
Err:   serial
KGDB:  kgdb ready
ready
BEDBUG:ready
Hit any key to stop autoboot:  0
=> tftpboot 600000 pImage
ENET Speed is 100 Mbps - FULL duplex connection
ARP broadcast 1
TFTP from server 192.168.1.10; our IP address is 192.168.1.20
Filename 'pImage'.
Load address: 0x600000
Loading: #################################################################
         ############################################
done
Bytes transferred = 556097 (87c41 hex)
=> bootm 600000
## Booting image at 00600000 ...
   Image Name:   Linux-2.4.20-pre7
   Created:      2003-03-01   1:06:57 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    556033 Bytes = 543 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK


-- 
Maoyuan Yu
FPGA-Processor Group
Dept. of Computer Science V
University of Mannheim
B6,23-29A - 68131 Mannheim - Germany
Phone:+(49)621 181 2631 - Fax:+(49)621 181 3580
mailto:yu at mp-sun1.informatik.uni-mannheim.de
http://cern.ch/myu

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

* [U-Boot-Users] boot linux kernel problem
  2003-03-01  2:17 [U-Boot-Users] boot linux kernel problem yu
@ 2003-03-01  4:10 ` Xianghua Xiao
  2003-03-01  9:07 ` Paul McAvoy
  1 sibling, 0 replies; 3+ messages in thread
From: Xianghua Xiao @ 2003-03-01  4:10 UTC (permalink / raw)
  To: u-boot

1. make sure CONFIG_CLOCKS_IN_MHZ is set correctly.
2. make sure your u-boot.h in u-boot matches ppcboot.h in the kernel
source.
good luck.

On Fri, 2003-02-28 at 20:17, yu wrote:
> Hello. Everyone.
> I use ppcboot and linux on a walnut board for test.
> I compile the linux kernel source src-linuxppc_2_4_devel from 
> ppckernel.org with the command:
> make pImage
> 
> then I copy the pImage file to walnut board RAM and boot it.
> but the linux kernel hang up after the decompression.
> What is the possible reason?
> thanks in advance.
> 
> 
> 
> 
> PPCBoot 1.2.0 (Mar  1 2003 - 03:04:51)
> 
> CPU:   IBM PowerPC 405GP Rev. E at 200 MHz (PLB=100, OPB=50, EBC=50 MHz)
>            PCI sync clock at 33 MHz, internal PCI arbiter enabled
>            16 kB I-Cache 8 kB D-Cache
> Board: ### No HW ID - assuming WALNUT405
> I2C:   ready
> DRAM:  32 MB
> FLASH: 512 kB
> In:    serial
> Out:   serial
> Err:   serial
> KGDB:  kgdb ready
> ready
> BEDBUG:ready
> Hit any key to stop autoboot:  0
> => tftpboot 600000 pImage
> ENET Speed is 100 Mbps - FULL duplex connection
> ARP broadcast 1
> TFTP from server 192.168.1.10; our IP address is 192.168.1.20
> Filename 'pImage'.
> Load address: 0x600000
> Loading: #################################################################
>          ############################################
> done
> Bytes transferred = 556097 (87c41 hex)
> => bootm 600000
> ## Booting image at 00600000 ...
>    Image Name:   Linux-2.4.20-pre7
>    Created:      2003-03-01   1:06:57 UTC
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    556033 Bytes = 543 kB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
> 
> 
> -- 
> Maoyuan Yu
> FPGA-Processor Group
> Dept. of Computer Science V
> University of Mannheim
> B6,23-29A - 68131 Mannheim - Germany
> Phone:+(49)621 181 2631 - Fax:+(49)621 181 3580
> mailto:yu at mp-sun1.informatik.uni-mannheim.de
> http://cern.ch/myu
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users

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

* [U-Boot-Users] boot linux kernel problem
  2003-03-01  2:17 [U-Boot-Users] boot linux kernel problem yu
  2003-03-01  4:10 ` Xianghua Xiao
@ 2003-03-01  9:07 ` Paul McAvoy
  1 sibling, 0 replies; 3+ messages in thread
From: Paul McAvoy @ 2003-03-01  9:07 UTC (permalink / raw)
  To: u-boot

On Sat, Mar 01, 2003 at 03:17:47AM +0100, yu wrote:
> Hello. Everyone.
> I use ppcboot and linux on a walnut board for test.
> I compile the linux kernel source src-linuxppc_2_4_devel from 
> ppckernel.org with the command:
> make pImage
> 
> then I copy the pImage file to walnut board RAM and boot it.
> but the linux kernel hang up after the decompression.
> What is the possible reason?
> thanks in advance.

I've actually experienced this running on an Arm kernel.  It is able to
decompress the image, then init's the mem, sets up the hash tables, and hangs.
I don't know exactly what is going on.  I've tried setting up the environment
in memory at addr 0x100 as specified for my system (TAG Table) but nothing
seems to work.  

I was thinking that possbly the image needs to run from ram, but that has not
worked yet either. 

Sorry,  I just wanted to share my woes! :)  I'm working on this u-boot thing
trying to see if possibly that will help me get my kernel running.

- Paul

> 
> 
> 
> 
> PPCBoot 1.2.0 (Mar  1 2003 - 03:04:51)
> 
> CPU:   IBM PowerPC 405GP Rev. E at 200 MHz (PLB=100, OPB=50, EBC=50 MHz)
>            PCI sync clock at 33 MHz, internal PCI arbiter enabled
>            16 kB I-Cache 8 kB D-Cache
> Board: ### No HW ID - assuming WALNUT405
> I2C:   ready
> DRAM:  32 MB
> FLASH: 512 kB
> In:    serial
> Out:   serial
> Err:   serial
> KGDB:  kgdb ready
> ready
> BEDBUG:ready
> Hit any key to stop autoboot:  0
> => tftpboot 600000 pImage
> ENET Speed is 100 Mbps - FULL duplex connection
> ARP broadcast 1
> TFTP from server 192.168.1.10; our IP address is 192.168.1.20
> Filename 'pImage'.
> Load address: 0x600000
> Loading: #################################################################
>          ############################################
> done
> Bytes transferred = 556097 (87c41 hex)
> => bootm 600000
> ## Booting image at 00600000 ...
>    Image Name:   Linux-2.4.20-pre7
>    Created:      2003-03-01   1:06:57 UTC
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    556033 Bytes = 543 kB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
> 
> 
> -- 
> Maoyuan Yu
> FPGA-Processor Group
> Dept. of Computer Science V
> University of Mannheim
> B6,23-29A - 68131 Mannheim - Germany
> Phone:+(49)621 181 2631 - Fax:+(49)621 181 3580
> mailto:yu at mp-sun1.informatik.uni-mannheim.de
> http://cern.ch/myu
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 

-- 
Paul McAvoy	-- Informatico Magnifico --		 http://queda.net
PGP key		- http://queda.net/paulmcav-gpg.txt

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

end of thread, other threads:[~2003-03-01  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-01  2:17 [U-Boot-Users] boot linux kernel problem yu
2003-03-01  4:10 ` Xianghua Xiao
2003-03-01  9:07 ` Paul McAvoy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.