Hi,
I am following the instructions on http://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz to create a bootable Linux image on a SD Card for the Zedboard/FMCOMMS2, but despite putting linaro on the rootfs partition, and configuring u-boot to use that filesystem, u-boot keeps asking me for a uramdisk.image.gz. The full details are below, and I'd appreciate any guidance to overcome this problem.
Specifically, I did the following:
1. Built the reference HDL design using ISE 14.4 as described at http://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/reference_hdl . I used XPS with the system.xmp in "fpgahdl_xilinx/cf_ad9361_zed" and built a system.bit using Hardware -> Generate Bitstream
2. Built u-boot as described at http://www.wiki.xilinx.com/Build+U-Boot. I git cloned the code at git://github.com/Xilinx/u-boot-xlnx.git . I set CROSS_COMPILE to arm-xilinx-linux-gnueabi- , edited the last line of the "sdboot" section in include/configs/zynq_common.h to say "bootm 0x3000000 - 0x2A00000;" (my understanding is that the - tells u-boot not to look for a ramdisk), and did "make zynq_zed_config" followed by "make".
3. I built BOOT.BIN using the "build the boot image" instructions at http://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/linux/zynq. Specifically, I exported hardware platform information from XPS to SDK and built a Zynq FSBL as per instructions.
3. I added the u-boot-xlnx/tools/ directory to the path to make sure mkimage would be available in the path, and then cloned "https://github.com/analogdevicesinc/linux.git" to branch xcomm_zynq, exported ARCH=arm, CROSS_COMPILE=<path to Xilinx 14.4>/ISE_DS/EDK/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi- and did "make zynq_xcomm_adv7511_defconfig" followed by "make uImage LOADADDR=0x00008000".
4. I then executed "make zynq-zed-adv7511-ad9361.dtb" and checked that the bootargs in the included arch/arm/boot/dts/zynq-zed.dtsi said "bootargs = "console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=0" (i.e. it boots from the second partition on the sdcard and does not expect ramdisk).
5. I initialized the rootfs partition by wgetting the linaro 12.11 tarball ("wget http://releases.linaro.org/12.11/ubuntu/precise-images/ubuntu-desktop/linaro-precise-ubuntu-desktop-20121124-560.tar.gz") and copying to the rootfs partition using the tar --strip command ("sudo tar --strip-components=3 -C <path to rootfs partition> -xzpf linaro-precise-ubuntu-desktop-20121124-560.tar.gz binary/boot/filesystem.dir")
6. I copied BOOT.BIN, uImage and devicetree.dtb to the BOOT partition on the sdcard.
I then synced all the file systems, and booted the zedboard with this sdcard.
The blue done LED lit up, but the HDMI display did not turn on.
When I connected to the zedboard using Minicom, I got the "zynq-uboot>" prompt. When I type "boot" at the prompt, I get the following message:
====
Device: zynq_sdhci
Manufacturer ID: 41
OEM: 3432
Name: SD8GB
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
reading uEnv.txt
** Unable to read file uEnv.txt **
Copying Linux from SD to RAM...
reading uImage
3601048 bytes read in 326 ms (10.5 MiB/s)
reading devicetree.dtb
16109 bytes read in 19 ms (827.1 KiB/s)
reading uramdisk.image.gz
** Unable to read file uramdisk.image.gz **
=====
I don't understand why u-boot is still looking for uramdisk, and what I should do to get past this? I would really appreciate any help on this.
Thanks,
Arun