Hi,
I have done first partition of mine Zedbaord and given it name Boot and i copied following things here:-
Hi,
I have done first partition of mine Zedbaord and given it name Boot and i copied following things here:-
Hi Aditya,
I ran into similar problems when we started using larger RAMdisk images on ZedBoard. I found that my problem was related to copying files over the top of each other in memory when U-Boot is loading components from the SD card.
Something similar may be happening to you here, take a look at your RAMdisk image which advertises itself as 18046997 bytes (which is 0x1136015 bytes) long. Since you are loading this to 0x2000000 in memory, it occupies 0x2000000 to 0x3136015 (which is 0x2000000 + 0x1136015) which stomps over the top of your devicetree which you loaded to 0x2A00000 AND over your kernel which you loaded to 0x3000000.
Overwriting either the kernel and devicetree with over data would prevent you from successfully booting Linux. I suggest you go back and evaluate where these Linux components can be loaded into memory so that they do not overlap.
Another alternative to managing all of this on your own would be to switch over to using either Xilinx PetaLinux Tools or Wind River Pulsar Linux to help you get your design up and running faster.
Regards,
-Kevin
Hi Kevin,
First of all thanks for such a great reply as myself would have never figured it out as i am very new to such kind of Linux development environment on SoC boards. I will look into this and come back to u. The addresses that i am using,i have got from http://architechboards-zedboard.readthedocs.org/en/latest/quick.html webpage and also this matches with U-boot/ zed_common.h file. So i thought that it is standard thing.
So what you told seems to me logical also. So i will change the addresses. I have total address 0x20000000 .So one thing that::-
1- is it that , at each address only one byte is stored?????Why i am asking this because from some tutorials i got this thing(may be i understood wrong) that at each address two bytes(16 bit) are stored.
2- So i will change accordingly in mine uenv.txt file , then do i also need to change something in mine U-boot/ zed_common.h(which basically contains the setenv variables definitions at the boot time).
lastely, Nice suggestion by you:- "Another alternative to managing all of this on your own would be to switch over to using either Xilinx PetaLinux Tools or Wind River Pulsar Linux to help you get your design up and running faster."
But right now i am in not in a situation to jump into this. I have posted many questions on this forum and As you can see that i am on this work since last one and half months because i started following the webpage http://zedboard.org/product/wilink-8-adaptor which suggested to me to use http://architechboards-zedboard.readthedocs.org/en/latest/quick.html.That is why i could not use PetaLinux etc and now i have come very far.
Thanks you guys always guiding me and helping me all the time. As i have come so far, so let me try this the last hurdle also.
Please keep on guiding me.
Regards
Aditya
Hi Kevin,
Please see mine previous reply against your reply(if seen already it is ok and you can read this now). Then this is the uenv.txt file that have changed as per mine advertised address:-
boot_Zed=mmcinfo;fatload mmc 0 0x3300000 ${kernel_image}; fatload mmc 0 0x3200000 ${devicetree_image}; fatload mmc 0 0x200000 ${ramdisk_image}; bootm 0x3300000 0x2000000 0x3200000
uenvcmd=run boot_Zed
1- So is it ok now??.
2- Now also i have used printenv command to list the setenv variables which is as follows.Please have a quick look and suggest me if anything need to be modified here,since i am going to change mine uenv.txt file. But as per mine thinking since i am using uenv.txt file so in that case nothing need to be modified here.
zynq-uboot> printenv
Hi Kevin,
Please see mine previous reply against your reply(if seen already it is ok and you can read this now). Then this is the uenv.txt file that have changed as per mine advertised address:-
boot_Zed=mmcinfo;fatload mmc 0 0x3300000 ${kernel_image}; fatload mmc 0 0x3200000 ${devicetree_image}; fatload mmc 0 0x200000 ${ramdisk_image}; bootm 0x3300000 0x2000000 0x3200000
uenvcmd=run boot_Zed
1- So is it ok now??.
2- Now also i have used printenv command to list the setenv variables which is as follows.Please have a quick look and suggest me if anything need to be modified here,since i am going to change mine uenv.txt file. But as per mine thinking since i am using uenv.txt file so in that case nothing need to be modified here.
zynq-uboot> printenv