The question about the fail at the begin of linux on MPC8360E.
Hi,friends,
Thanks.
We boot the linux-2.6.22 on MPC8360 board, it failed, follow is the output information. we just only success on linux-2.6.11, but fail on linux-2.6.19 and linux-2.6.22. Both 2.6.19 and 2.6.22 are failed on same position,please see follow information. linux-2.6.19 and linux-2.6.22 are come from BSP of freescale. I used the u-boot-1.2.0 that compiled by myself. We guess that maybe we did not setup the bootargs parameter on u-boot rightly or maybe the DDR-I hardware circuit design is not good enough.
If the reason is the bootargs parameter, could you tell me what is the right bootargs for linux-2.6.19 and linux-2.6.22?
If the reason is the DDR, I want to boot the linux on my SDRAM chip,kick off the DDR, my SDRAM located on the address of F0000000~F3FFFFFF, total 64MB. How can I modify the source code of linux to re-map it and ramdisk and others to my SDRAM chip space?
Follow is the fail information:
=> bootm 0c000000 0e000000
## Booting image at 0c000000 ...
Image Name: Linux-2.6.22 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1333681 Bytes = 1.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at 0e000000 ...
Image Name: uboot ext2 ramdisk rootfs Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 3589813 Bytes = 3.4 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Ramdisk to 0fc3e000, end 0ffaa6b5 ... OK
Hi there,
You need a device tree. The defaut one is = arch/powerpc/boot/dts/mpc836x_mds.dts. You need the DTC (Device Tree = Compiler) from here http://jdl.com/git_repos/?p=3Ddtc.git;a=3Dsummary. = This should be enough to give you some reading pointers.
Cheers,
Emil.
Quoted 66 lines
-----Original Message-----
From:=20 [email protected] rg=20 [mailto:linuxppc-embedded-bounces+emilian.medve=3Dfreescale.com@ ozlabs.org] On Behalf Of ??
Sent: Thursday, November 01, 2007 10:09 PM
To: [email protected]
Subject: The question about the fail at the begin of linux on=20 MPC8360E.
=20
Hi,friends,
Thanks.
=20
We boot the linux-2.6.22 on MPC8360 board, it failed, follow=20 is the output
information. we just only success on linux-2.6.11, but fail=20 on linux-2.6.19 and
linux-2.6.22. Both 2.6.19 and 2.6.22 are failed on same=20 position,please see follow
information. linux-2.6.19 and linux-2.6.22 are come from BSP=20 of freescale. I used
the u-boot-1.2.0 that compiled by myself. We guess that maybe=20 we did not setup the
bootargs parameter on u-boot rightly or maybe the DDR-I=20 hardware circuit design is
not good enough.
=20
If the reason is the bootargs parameter, could you tell me=20 what is the right
bootargs for linux-2.6.19 and linux-2.6.22?
=20
If the reason is the DDR, I want to boot the linux on my=20 SDRAM chip,kick off the
DDR, my SDRAM located on the address of F0000000~F3FFFFFF,=20 total 64MB. How can I
modify the source code of linux to re-map it and ramdisk and=20 others to my SDRAM
chip space?
=20
=20
Follow is the fail information:
=3D> bootm0c0000000e000000
## Booting image at0c000000...Image Name: Linux-2.6.22 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1333681 Bytes =3D 1.3 MBLoad Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at0e000000...Image Name: uboot ext2 ramdisk rootfs Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 3589813 Bytes =3D 3.4 MBLoad Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Ramdisk to0fc3e000, end0ffaa6b5... OK =20
=20
=20
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20
Quoted 4 lines · Medve Emilian-EMMEDVE1 wrote:
Hi there,
You need a device tree. The defaut one is
arch/powerpc/boot/dts/mpc836x_mds.dts. You need the DTC (Device Tree Compiler) from here http://jdl.com/git_repos/?p=dtc.git;a=summary. This should be enough to give you some reading pointers.
And if your U-Boot doesn't support device trees, you'll need to enable cuImage support in the kernel as well.
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale