[U-Boot-Users] u-boot & linux kernel help on mpc860
Wolfgang Grandegger
wolfgang.grandegger at bluewin.ch
Wed Dec 10 11:21:55 CET 2003
>-- Original Message --
>From: Steve Gray <steve.gray at westell.co.uk>
>To: "U-Boot-Users (E-mail)" <u-boot-users at lists.sourceforge.net>
>Subject: [U-Boot-Users] u-boot & linux kernel help on mpc860
>Date: Wed, 10 Dec 2003 09:37:15 -0000
>
>
>Hi everyone.
>This is my first post onto this mailing list, so please forgive me in
>advance if i am not following the correct protocol
>with posts and such.
>
>I have u-boot working it seems almost 100%, however i have a problem with
>starting the linux kernel using bootm.
>
>I am using eldk 2.1.0 patched upto 2.2.0.
>Linux_2_4_devel cvs (snapshot 09/12/03)
>Hardware setup
>Flash Base address 0xa00000000 -> 0xa1000000 ( AMD29LV640 x2 16-bit
>wide)
>SDRAM 0x00000000 -> 0x01000000
>Serial SMC1 @ 38k4
>Net FEC
>
>I can tftp the uImage into RAM, then cp.b into flash. This process is fine.
>But when running the image bootm command, it seems not to continue.
>
> ## Booting image at a0100000 ...
> Image Name: Linux-2.4.23
> Created: 2003-12-09 16:44:24 UTC
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 637255 Bytes = 622.3 kB
> Load Address: 00000000
> Entry Point: 00000000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
>
>From this point everything stops. There is no more output and the console
>is
>not responding to anything
>I have what i believe to be the correct environment.
>
> baudrate=38400
> ethaddr=00:a0:13:00:0a:8c
> preboot=echo;echo
> clocks_in_mhz=1
> kernel_addr=a0100000
> bootargs=root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
>ip=$(ipaddr):$(serveri
> p):$(gatewayip):$(netmask):$(hostname)::off
> bootcmd=bootm a0100000
> filesize=9b949
> ipaddr=168.10.10.6
> serverip=168.10.1.240
> stdin=serial
> stdout=serial
> stderr=serial
>
> Environment size: 340/4092 bytes
>
>I have a number of questions about the interaction with u-boot and the
>kernel, which i am hoping can be answered.
>
>Does the kernel require configuration for custom hardware ? By custom
>hardware i mean not an off shelf the standard development board.
>How does the kernel find out the flash base address. serial port is running
>at 38k4 on smc1, the FEC is to be used. IP address etc etc ?
This depends on the actual hardware. Parameters like IP address,
flash base address or baudrate are passed via info structure to
Linux, basically what is listed with "=> bdinfo". Serial ports
and ethernet configuration is defined via Linux kernel parameters
(make config).
Wolfgang.
More information about the U-Boot
mailing list