Hi all,

As many of you may have noticed  (if in IRC) I have been working on
integrating the ZedBoard. With the help of some of you, I can present
you an almost-working version of such integration.

It has some handicaps, but it's almost working. All the work is
available at https://github.com/txomon/openwrt in
integration/xilinx-zynq branch. There is still a huge work to be done,
mainly by shipping xilinx patches divided instead of a big bunch of
them.

The problem I am targeting now is that for some reason, the card is
not booting, gets stuck while loading kernel[1], so I supposed that it
was due to some incompatibility with the v3.13.7 patches, but using
the kernel tree override pointing to the Xilinx vanilla kernel doesn't
seem to fix it, so I run out of idea.

I don't know how to continue on this, as my knowledge is quite
limited, and it's the first time I have done something like this.

In case someone interested, I got references from buildroot, where I
have taken ideas from.

To compile and test it, you must have a Xilinx installation, as you
have to copy two source files from it, that due to licensing problems,
are undistributable. My u-boot script does the copy for you.

The config parameters to get where I am are:
- Target System -> Xilinx Zynq7000 silicons
- Subtarget  -> Zedboard
- Target Images -> [*] ramdisk
- Boot Loaders -> <*> uboot-zynq-zedboard
- Boot Loaders -> Xilinx installation Path -> here you must point to
your xilinx installation path, for me = /opt/Xilinx/14.7/ISE_DS/

If someone gives me support on this, I could continue "developing",
testing and trying to have it running. For the moment, overriding the
kernel tree to use Xilinx provided one to assert that it wasn't a
kernel problem was my last idea.

Regards,

Javier Domingo Cansino


[1] Serial output:
---
Device: zynq_sdhci
Manufacturer ID: 27
OEM: 5048
Name: SD04G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit
reading uEnv.txt
** Unable to read file uEnv.txt **
Copying Linux from SD to RAM...
reading uImage
4582096 bytes read in 443 ms (9.9 MiB/s)
reading devicetree.dtb
2739 bytes read in 15 ms (177.7 KiB/s)
reading uramdisk.image.gz
917825 bytes read in 99 ms (8.8 MiB/s)
## Booting kernel from Legacy Image at 03000000 ...
   Image Name:   ARM OpenWrt Linux-3.13.7
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4582032 Bytes = 4.4 MiB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    917761 Bytes = 896.3 KiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
   Booting using the fdt blob at 0x2a00000
   Loading Kernel Image ...
---
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to