Hi,
i just got a new COM Exptess MPC8360 board on my desk and tried to make it works with the JFFS2 filesystem.
But a problem occurs.
Basically we need 3 files to be flashed into the board right? the linux kernel, the rootfilesystem, and the DTB file.
As i compiled the LTIB package for JFFS2 target filesyste, no new DTB file was created. The only DTB file found in the LTIB directory structure is under images/ firectory. So i used that and flashed onto the board.
I followed every detail instruction in the BSP manual such as setting the following uboot parameters:
=> printenv
........................
bootcmd=run romboot
........................
romboot=setenv bootargs root=/dev/mtdblock4 rootfstype=jffs2 rw console=ttyS0,115200; bootm $flashkerneladdr - $flashftdaddr
........................
but as the kernel try to boot, it says:
## Booting image at ff860000 ...
Image Name: Linux-2.6.11
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1394717 Bytes = 1.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at 00000000 ...
Bad Magic Number
Resetting the board.
It is weird that it is not working as it is described on the manual. I suggest that the DTB file i used is wrong, but anyway the LTIB didn't build any new DTB file!
On the previous board as far i remembered we had the same problem, and the solution i found accidentally was to change the boot command from:
# bootm $flashkerneladdr - $flashftdaddr
into :
# bootm $flashkerneladdr $flashftdaddr
And it worked! but unfortunattely it doesnt work this time with the new board.
Can anybody give me a hint what is going wrong here?
Thanks in advance.