Hi,
where is possible to find the uboot and linux kernel source code for your device? I can refer me to the xilinx git repos? In case yes do I need any additional patch for zedboard? Where I can find the right defconfigs?
Thanks in advance!
Hi,
where is possible to find the uboot and linux kernel source code for your device? I can refer me to the xilinx git repos? In case yes do I need any additional patch for zedboard? Where I can find the right defconfigs?
Thanks in advance!
I have recompiled linux using Xilinx source code. To successfully boot into the compiled kernel, FSBL must be recompiled with ZedBoard settings. DeviceTree is also changed: remove the i2c node and ethernet phy must be modified. Memory size should be set to 512MB.
I have recompiled linux using Xilinx source code. To successfully boot into the compiled kernel, FSBL must be recompiled with ZedBoard settings. DeviceTree is also changed: remove the i2c node and ethernet phy must be modified. Memory size should be set to 512MB.
How to modify the deconfig for ZED? some details?
I used the same kernel configuration file for ZC702 board which can be found in Xilinx kernel source. Most PS devices are functioning properly.
Hi, could you share the modifications for the zedboard define as a patch?
I also recompiled uboot source and the linux kernel source from xilinx.
For uBoot : make zynq_zed_config
For Kernel: make xilinx_zynq_defconfig
It won't boot because wrong machine/arch id at boot in r1 (0x1f...... and should be 0x00000d32 for xilinx ep107).
Is the machine id defined in the compatible node in the devicetree or a uboot env variable?
As I read uboot should change r1 to correct value before giving control to kernel at PC 0x8000.
Or does anybody use the new kernel from xilinx succesfully with zedboard?
Thanks
Solved my problem.
Successfully booted into newest uBoot and Linux Kernel from Xilinx repository on the Zedboard.
For uBoot I used the zynq_zc702_config ( You only have to edit the RAM size to #define PHYS_SDRAM_1_SIZE (512 * 1024 * 1024) ).
After that compiled the Kernel with standard xilinx_zynq_defconfig. Then you have to do make like normal but with uImage (make uImage).
To perform this successfully you need uboot-tools installed on your linux machine. This package contains mkimage binary which will be used.
I used a devicetree from my own project, can be compared with standard Zedboard but without OLED,HDMI and this stuff.
And for the Ramdisk I uncompressed the Xilinx 14.2 Release Ramdisk and turned it with 'mkimage'.
( Done with following command if you have uboot-tools package installed mkimage -A arm -O linux -T ramdisk -a 0x2000000 -n "Zedboard ramdisk" -d <orig_input>/ramdisk8M.image <output>/uramdisk.image.gz ).
Hope this can be a guide for others who also facing this problem ;-)
Hi, you mentioned changing the ethernet phy settings for the zedboard. Can you please describe the changes?