[MPC8272ADS]Cannot start my Linux Kernel

Jean-Michel Hautbois jhautbois at gmail.com
Fri Jan 16 00:10:00 EST 2009


2009/1/15 Anatolij Gustschin <agust at denx.de>

> Jean-Michel Hautbois wrote:
>
> > I have a MPC8272ADS board, 64MB RAM, 8MB Flash.
> > I compiled u-boot using the existing config file, and compiled my linux
> > kernel successfully with the defconfig file too.
> >
> > I have updated u-boot, downloaded my kernel file, and a ramdisk image
> > from the eldk distribution.
> > I have tried using a lot of bootargs (
> > bootargs root=/dev/ram rw console=ttyS0,115200
> > bootargs through nfs, etc.)
> >
> > When I am resetting my card, it reboots:
> > bootargs=root=/dev/ram rw console=ttyS0,115200
> > bootcmd=bootm ff800000 ff980000
>
> you also need to build a device tree blob for mpc8272ads, load it
> into RAM or flash and boot using "bootm" command as follows:
>
> => bootm ff800000 ff980000 %FDT_ADDR%"
>
> See also http://www.denx.de/wiki/view/DULG/BootingEmbeddedLinux
>
> Best regards,
> Anatolij


I just tried. I created a dtb from the file
arch/powerpc/boot/dst/mpc8272ads.dts file.
It is not rebboting, but handling (my "run" led is switching off).

=> tftp 2000000 mpc8272ads.dtb
Using FCC1 ETHERNET device
TFTP from server 10.0.0.1; our IP address is 10.0.0.2
Filename 'mpc8272ads.dtb'.
Load address: 0x2000000
Loading: #
done
Bytes transferred = 4442 (115a hex)
=> bootm FF800000 FF980000 2000000
## Booting kernel from Legacy Image at ff800000 ...
   Image Name:   Linux-2.6.29-rc1-01197-g5a7b6e7-
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1487167 Bytes =  1.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at ff980000 ...
   Image Name:   Simple Embedded Linux Framework
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    1730966 Bytes =  1.7 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02000000
   Booting using the fdt blob at 0x2000000
   Uncompressing Kernel Image ... OK
   Loading Ramdisk to 039d7000, end 03b7d996 ... OK
   Loading Device Tree to 007fb000, end 007ff159 ... OK
Unable to update property /cpus/cpu at 0:bus-frequency, err=FDT_ERR_NOTFOUND
Unable to update property /cpus/cpu at 0:timebase-frequency,
err=FDT_ERR_NOTFOUND
Unable to update property /cpus/cpu at 0:clock-frequency, err=FDT_ERR_NOTFOUND
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090115/2c57eede/attachment.htm>


More information about the Linuxppc-dev mailing list