[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Can't get MMU kernel to boot
I have successfully loaded the Spartan3a DSP 1800a with the pre-built Xilinx-S3DSP1800A-Rev1-MMU-edk101 of PetaLinux v0.40-rc4 using XMD.
petalinux-jtag-boot is a tool to download the image.bin with XMD.
Could you download the latest version and try it again?
To create a MMU platform, it is preferred to use petalinux-new-platform with MMU option:
petalinux-new-platform -p <platform_name> -k <kernel_version> -v <vendor_name> -mYou can try to create a MMU platform using petalinux-new-platform command, test it; if it succeeds, configure the platform.
If you failed to load the board with the newly created MMU platform, you can:
1. check whether the hardware platform is correctly configured with MMU support
2. make sure you have successfully run petalinux-copy-autoconfig before you build the kernel image
On Fri, Jul 24, 2009 at 11:56 AM, Curran, Tom <Tom.Curran@xxxxxxxxx>
My XPS hardware platform targets an Avnet V5LX110T board. It is the same hardware platform I have previously used successfully with the Xilinx S3ADSP1800 board and PetaLinux v0.30-rc1. The only difference is that now I have added support for the MMU to the MicroBlaze. I am now using PetaLinux v0.40-rc4. I have used the BSP generator to create the Kconfig.auto file, run the petalinux-new-platform script for the V5LX110T board, and copied the Kconfig.auto file to the correct folder in my PetaLinux install. No matter how I configure the kernel, when configured to use the MMU, the kernel will not boot. I don't get any output on the serial console. I use XMD to download the kernel image to the board. However, if I change the kernel configuration to NOT use the MMU I can get the kernel to boot, but then it fails when it tries to mount its root file system. I understand that v0.40-rc4 now uses the initramfs scheme and thus needs the rootfs.cpio file to create the root file!
system. When building my kernel image this rootfs.cpio file is always an empty file. I am using the UARTLITE and specify the physical address of the uart in the kernel configuration.
I think there are probably a few issues going on here, and I hope they are all due to my misunderstanding or inadvertent skipping of some crucial step. I notice that the kernel configuration menus have changed a lot since v0.30-rc1, so perhaps I have missed something.
Also, in an effort to take a step back and start from a baseline, I have tried implementing the pre-built Xilinx-S3DSP1800A-Rev1-MMU-edk101 XPS platform. As expected, the bitstream for that board downloads fine, but the supplied image-2.6.bin does not boot when downloaded via XMD.
What am I possibly doing wrong? Any help is appreciated. Thanks!
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/