<div class="gmail_quote">2009/1/15 Anatolij Gustschin <span dir="ltr"><<a href="mailto:agust@denx.de">agust@denx.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Jean-Michel Hautbois wrote:<br>
<br>
> I have a MPC8272ADS board, 64MB RAM, 8MB Flash.<br>
> I compiled u-boot using the existing config file, and compiled my linux<br>
> kernel successfully with the defconfig file too.<br>
><br>
> I have updated u-boot, downloaded my kernel file, and a ramdisk image<br>
> from the eldk distribution.<br>
> I have tried using a lot of bootargs (<br>
> bootargs root=/dev/ram rw console=ttyS0,115200<br>
> bootargs through nfs, etc.)<br>
><br>
> When I am resetting my card, it reboots:<br>
> bootargs=root=/dev/ram rw console=ttyS0,115200<br>
> bootcmd=bootm ff800000 ff980000<br>
<br>
</div>you also need to build a device tree blob for mpc8272ads, load it<br>
into RAM or flash and boot using "bootm" command as follows:<br>
<br>
=> bootm ff800000 ff980000 %FDT_ADDR%"<br>
<br>
See also <a href="http://www.denx.de/wiki/view/DULG/BootingEmbeddedLinux" target="_blank">http://www.denx.de/wiki/view/DULG/BootingEmbeddedLinux</a><br>
<br>
Best regards,<br>
<font color="#888888">Anatolij</font></blockquote><div><br>I just tried. I created a dtb from the file arch/powerpc/boot/dst/mpc8272ads.dts file.<br>It is not rebboting, but handling (my "run" led is switching off).<br>
<br>=> tftp 2000000 mpc8272ads.dtb<br>Using FCC1 ETHERNET device<br>TFTP from server 10.0.0.1; our IP address is 10.0.0.2<br>Filename 'mpc8272ads.dtb'.<br>Load address: 0x2000000<br>Loading: #<br>done<br>Bytes transferred = 4442 (115a hex)<br>
=> bootm FF800000 FF980000 2000000<br>## Booting kernel from Legacy Image at ff800000 ...<br> Image Name: Linux-2.6.29-rc1-01197-g5a7b6e7-<br> Image Type: PowerPC Linux Kernel Image (gzip compressed)<br> Data Size: 1487167 Bytes = 1.4 MB<br>
Load Address: 00000000<br> Entry Point: 00000000<br> Verifying Checksum ... OK<br>## Loading init Ramdisk from Legacy Image at ff980000 ...<br> Image Name: Simple Embedded Linux Framework<br> Image Type: PowerPC Linux RAMDisk Image (gzip compressed)<br>
Data Size: 1730966 Bytes = 1.7 MB<br> Load Address: 00000000<br> Entry Point: 00000000<br> Verifying Checksum ... OK<br>## Flattened Device Tree blob at 02000000<br> Booting using the fdt blob at 0x2000000<br>
Uncompressing Kernel Image ... OK<br> Loading Ramdisk to 039d7000, end 03b7d996 ... OK<br> Loading Device Tree to 007fb000, end 007ff159 ... OK<br>Unable to update property /cpus/cpu@0:bus-frequency, err=FDT_ERR_NOTFOUND<br>
Unable to update property /cpus/cpu@0:timebase-frequency, err=FDT_ERR_NOTFOUND<br>Unable to update property /cpus/cpu@0:clock-frequency, err=FDT_ERR_NOTFOUND<br></div></div><br>