linux-libc-headers: Add linux-libc-headers_3.3.bb.
PATCH 1/3 linux-libc-headers: Add linux-libc-headers_3.3.bb.
This commit adds linux-libc-headers_3.3.bb for linux-xilinx kernel 3.3.
--- .../linux-libc-headers/linux-libc-headers_3.3.bb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 recipes-kernel/linux-libc-headers/linux-libc-headers_3.3.bb
recipes-kernel/linux-libc-headers/linux-libc-headers_3.3.bb new file +6 -0
@@ -0,0 +1,6 @@ +require recipes-kernel/linux-libc-headers/linux-libc-headers.inc + +PR = "r0" + +SRC_URI[md5sum] = "98a6cdd7d082b7ea72df9c89842bac74" +SRC_URI[sha256sum] = "8fd669b4e48181b8d44644a45bf421a84bb8d5ec273ef36349796443e442f333"
Signature · 1 line
1.7.9.5
PATCH 2/3 linux-xilinx-3.0: Add new recipe for linux-xilinx v3.0.0 kernel.
This commit adds a new recipe for the linux-xilinx v3.0.0 kernel, and includes the following features:
* support for Xilinx ML507 development board
* support for Xilinx Virtex 5 PowerPC440 processor
* support for console output on a LCD display using the DVI port
* support for using a ramdisk and booting to a bash prompt
* support for xps-uartlite-1.01.a, ttyUL0
* support for xps-ethernetlite-4.00.a, 10/100 Mbps ethernet interface
The ramdisk size has been set to 32768 kilobytes. This value can be changed by modifying the supplied kernel deconfig_3.0.0
The linux-xilinx v3.0.0 kernel has been tested using a hardware project created using Xilinx EDK 13.1.
--- ...l507.dts-Update-device-tree-to-version-ge.patch | 828 ++++++++++ ...l507.dts-Update-bootargs-to-use-ramdisk-a.patch | 73 + .../linux/linux-xilinx-3.0/virtex5/defconfig_3.0.0 | 1652 ++++++++++++++++++++ recipes-kernel/linux/linux-xilinx_3.0.bb | 25 + 4 files changed, 2578 insertions(+) create mode 100644 recipes-kernel/linux/linux-xilinx-3.0/virtex5/0001-virtex440-ml507.dts-Update-device-tree-to-version-ge.patch create mode 100644 recipes-kernel/linux/linux-xilinx-3.0/virtex5/0002-virtex440-ml507.dts-Update-bootargs-to-use-ramdisk-a.patch create mode 100644 recipes-kernel/linux/linux-xilinx-3.0/virtex5/defconfig_3.0.0 create mode 100644 recipes-kernel/linux/linux-xilinx_3.0.bb
recipes-kernel/linux/linux-xilinx-3.0/virtex5/0001-virtex440-ml507.dts-Update-device-tree-to-version-ge.patch new file +828 -0
@@ -0,0 +1,828 @@ +From d543cb700dc4c29369095b6099f6c0c416092e1c Mon Sep 17 00:00:00 2001 +From: Elvis Dowson <[email protected]> +Date: Tue, 21 Aug 2012 18:56:18 +0400 +Subject: [PATCH 1/2] virtex440-ml507.dts: Update device tree to version + generated by Xilinx EDK 13.1. + +This commit updates the virtex-ml507.dts device tree file version +automatically generated by Xilinx EDK 13.1. + +The bootargs are set as follows: +console=ttyS0,115200 ip=on root=/dev/xsa2 rw + +Signed-off-by: Elvis Dowson <[email protected]> +--- + arch/powerpc/boot/dts/virtex440-ml507.dts | 796 +++++++++++++++-------------- + 1 file changed, 416 insertions(+), 380 deletions(-) + +diff --git a/arch/powerpc/boot/dts/virtex440-ml507.dts b/arch/powerpc/boot/dts/virtex440-ml507.dts +index 9cf6081..1d60466 100644 +--- a/arch/powerpc/boot/dts/virtex440-ml507.dts ++++ b/arch/powerpc/boot/dts/virtex440-ml507.dts +@@ -13,387 +13,423 @@ + * Device Tree Generator version: 1.1 + * + * CAUTION: This file is automatically generated by libgen. +- * Version: Xilinx EDK 10.1.03 EDK_K_SP3.6 ++ * Version: Xilinx EDK 13.1 EDK_O.40d + * + * XPS project directory: ml507_ppc440_emb_ref + */ +- +-/dts-v1/; +-/ { +- #address-cells = <1>; +- #size-cells = <1>; +- compatible = "xlnx,virtex440"; +- dcr-parent = <&ppc440_0>; +- model = "testing"; +- DDR2_SDRAM: memory@0 { +- device_type = "memory"; +- reg = < 0x0 0x10000000 >; +- } ; +- chosen { +- bootargs = "console=ttyS0 ip=on root=/dev/ram"; +- linux,stdout-path = "/plb@0/serial@83e00000"; +- } ; +- cpus { +- #address-cells = <1>; +- #cpus = <0x1>; +- #size-cells = <0>; +- ppc440_0: cpu@0 { +- #address-cells = <1>; +- #size-cells = <1>; +- clock-frequency = ""; +- compatible = "PowerPC,440", "ibm,ppc440"; +- d-cache-line-size = <0x20>; +- d-cache-size = <0x8000>; +- dcr-access-method = "native"; +- dcr-controller ; +- device_type = "cpu"; +- i-cache-line-size = <0x20>; +- i-cache-size = <0x8000>; +- model = "PowerPC,440"; +- reg = <0>; ++ ++/dts-v1/; ++/ { ++ #address-cells = <1>; ++ #size-cells = <1>; ++ compatible = "xlnx,virtex440", "xlnx,virtex"; ++ dcr-parent = <&ppc440_0>; ++ model = "testing"; ++ DDR2_SDRAM: memory@0 { ++ device_type = "memory"; ++ reg = < 0x0 0x10000000 >; ++ } ; ++ aliases { ++ ethernet0 = &Ethernet_MAC; ++ serial0 = &RS232_Uart_1; ++ } ; ++ chosen { ++ bootargs = "console=ttyS0,115200 ip=on root=/dev/xsa2 rw"; ++ linux,stdout-path = "/plb@0/serial@84000000"; ++ } ; ++ cpus { ++ #address-cells = <1>; ++ #cpus = <0x1>; ++ #size-cells = <0>; ++ ppc440_0: cpu@0 { ++ #address-cells = <1>; ++ #size-cells = <1>; ++ clock-frequency = <400000000>; ++ compatible = "PowerPC,440", "ibm,ppc440"; ++ d-cache-line-size = <0x20>; ++ d-cache-size = <0x8000>; ++ dcr-access-method = "native"; ++ dcr-controller ; ++ device_type = "cpu"; ++ i-cache-line-size = <0x20>; ++ i-cache-size = <0x8000>; ++ model = "PowerPC,440"; ++ reg = <0>; + timebase-frequency = <400000000>; +- xlnx,apu-control = <0x1>; +- xlnx,apu-udi-0 = <0x0>; +- xlnx,apu-udi-1 = <0x0>; +- xlnx,apu-udi-10 = <0x0>; +- xlnx,apu-udi-11 = <0x0>; +- xlnx,apu-udi-12 = <0x0>; +- xlnx,apu-udi-13 = <0x0>; +- xlnx,apu-udi-14 = <0x0>; +- xlnx,apu-udi-15 = <0x0>; +- xlnx,apu-udi-2 = <0x0>; +- xlnx,apu-udi-3 = <0x0>; +- xlnx,apu-udi-4 = <0x0>; +- xlnx,apu-udi-5 = <0x0>; +- xlnx,apu-udi-6 = <0x0>; +- xlnx,apu-udi-7 = <0x0>; +- xlnx,apu-udi-8 = <0x0>; +- xlnx,apu-udi-9 = <0x0>; +- xlnx,dcr-autolock-enable = <0x1>; +- xlnx,dcu-rd-ld-cache-plb-prio = <0x0>; +- xlnx,dcu-rd-noncache-plb-prio = <0x0>; +- xlnx,dcu-rd-touch-plb-prio = <0x0>; +- xlnx,dcu-rd-urgent-plb-prio = <0x0>; +- xlnx,dcu-wr-flush-plb-prio = <0x0>; +- xlnx,dcu-wr-store-plb-prio = <0x0>; +- xlnx,dcu-wr-urgent-plb-prio = <0x0>; +- xlnx,dma0-control = <0x0>; +- xlnx,dma0-plb-prio = <0x0>; +- xlnx,dma0-rxchannelctrl = <0x1010000>; +- xlnx,dma0-rxirqtimer = <0x3ff>; +- xlnx,dma0-txchannelctrl = <0x1010000>; +- xlnx,dma0-txirqtimer = <0x3ff>; +- xlnx,dma1-control = <0x0>; +- xlnx,dma1-plb-prio = <0x0>; +- xlnx,dma1-rxchannelctrl = <0x1010000>; +- xlnx,dma1-rxirqtimer = <0x3ff>; +- xlnx,dma1-txchannelctrl = <0x1010000>; +- xlnx,dma1-txirqtimer = <0x3ff>; +- xlnx,dma2-control = <0x0>; +- xlnx,dma2-plb-prio = <0x0>; +- xlnx,dma2-rxchannelctrl = <0x1010000>; +- xlnx,dma2-rxirqtimer = <0x3ff>; +- xlnx,dma2-txchannelctrl = <0x1010000>; +- xlnx,dma2-txirqtimer = <0x3ff>; +- xlnx,dma3-control = <0x0>; +- xlnx,dma3-plb-prio = <0x0>; +- xlnx,dma3-rxchannelctrl = <0x1010000>; +- xlnx,dma3-rxirqtimer = <0x3ff>; +- xlnx,dma3-txchannelctrl = <0x1010000>; +- xlnx,dma3-txirqtimer = <0x3ff>; +- xlnx,endian-reset = <0x0>; +- xlnx,generate-plb-timespecs = <0x1>; +- xlnx,icu-rd-fetch-plb-prio = <0x0>; +- xlnx,icu-rd-spec-plb-prio = <0x0>; +- xlnx,icu-rd-touch-plb-prio = <0x0>; +- xlnx,interconnect-imask = <0xffffffff>; +- xlnx,mplb-allow-lock-xfer = <0x1>; +- xlnx,mplb-arb-mode = <0x0>; +- xlnx,mplb-awidth = <0x20>; +- xlnx,mplb-counter = <0x500>; +- xlnx,mplb-dwidth = <0x80>; +- xlnx,mplb-max-burst = <0x8>; +- xlnx,mplb-native-dwidth = <0x80>; +- xlnx,mplb-p2p = <0x0>; +- xlnx,mplb-prio-dcur = <0x2>; +- xlnx,mplb-prio-dcuw = <0x3>; +- xlnx,mplb-prio-icu = <0x4>; +- xlnx,mplb-prio-splb0 = <0x1>; +- xlnx,mplb-prio-splb1 = <0x0>; +- xlnx,mplb-read-pipe-enable = <0x1>; +- xlnx,mplb-sync-tattribute = <0x0>; +- xlnx,mplb-wdog-enable = <0x1>; +- xlnx,mplb-write-pipe-enable = <0x1>; +- xlnx,mplb-write-post-enable = <0x1>; +- xlnx,num-dma = <0x1>; +- xlnx,pir = <0xf>; +- xlnx,ppc440mc-addr-base = <0x0>; +- xlnx,ppc440mc-addr-high = <0xfffffff>; +- xlnx,ppc440mc-arb-mode = <0x0>; +- xlnx,ppc440mc-bank-conflict-mask = <0xc00000>; +- xlnx,ppc440mc-control = <0xf810008f>; +- xlnx,ppc440mc-max-burst = <0x8>; +- xlnx,ppc440mc-prio-dcur = <0x2>; +- xlnx,ppc440mc-prio-dcuw = <0x3>; +- xlnx,ppc440mc-prio-icu = <0x4>; +- xlnx,ppc440mc-prio-splb0 = <0x1>; +- xlnx,ppc440mc-prio-splb1 = <0x0>; +- xlnx,ppc440mc-row-conflict-mask = <0x3ffe00>; +- xlnx,ppcdm-asyncmode = <0x0>; +- xlnx,ppcds-asyncmode = <0x0>; +- xlnx,user-reset = <0x0>; +- DMA0: sdma@80 { +- compatible = "xlnx,ll-dma-1.00.a"; +- dcr-reg = < 0x80 0x11 >; +- interrupt-parent = <&xps_intc_0>; +- interrupts = < 10 2 11 2 >; +- } ; +- } ; +- } ; +- plb_v46_0: plb@0 { +- #address-cells = <1>; +- #size-cells = <1>; +- compatible = "xlnx,plb-v46-1.03.a", "simple-bus"; +- ranges ; +- DIP_Switches_8Bit: gpio@81460000 { +- compatible = "xlnx,xps-gpio-1.00.a"; +- interrupt-parent = <&xps_intc_0>; +- interrupts = < 7 2 >; +- reg = < 0x81460000 0x10000 >; +- xlnx,all-inputs = <0x1>; +- xlnx,all-inputs-2 = <0x0>; +- xlnx,dout-default = <0x0>; +- xlnx,dout-default-2 = <0x0>; +- xlnx,family = "virtex5"; +- xlnx,gpio-width = <0x8>; +- xlnx,interrupt-present = <0x1>; +- xlnx,is-bidir = <0x1>; +- xlnx,is-bidir-2 = <0x1>; +- xlnx,is-dual = <0x0>; +- xlnx,tri-default = <0xffffffff>; +- xlnx,tri-default-2 = <0xffffffff>; +- } ; +- FLASH: flash@fc000000 { +- bank-width = <2>; +- compatible = "xlnx,xps-mch-emc-2.00.a", "cfi-flash"; +- reg = < 0xfc000000 0x2000000 >; +- xlnx,family = "virtex5"; +- xlnx,include-datawidth-matching-0 = <0x1>; +- xlnx,include-datawidth-matching-1 = <0x0>; +- xlnx,include-datawidth-matching-2 = <0x0>; +- xlnx,include-datawidth-matching-3 = <0x0>; +- xlnx,include-negedge-ioregs = <0x0>; +- xlnx,include-plb-ipif = <0x1>; +- xlnx,include-wrbuf = <0x1>; +- xlnx,max-mem-width = <0x10>; +- xlnx,mch-native-dwidth = <0x20>; +- xlnx,mch-plb-clk-period-ps = <0x2710>; +- xlnx,mch-splb-awidth = <0x20>; +- xlnx,mch0-accessbuf-depth = <0x10>; +- xlnx,mch0-protocol = <0x0>; +- xlnx,mch0-rddatabuf-depth = <0x10>; +- xlnx,mch1-accessbuf-depth = <0x10>; +- xlnx,mch1-protocol = <0x0>; +- xlnx,mch1-rddatabuf-depth = <0x10>; +- xlnx,mch2-accessbuf-depth = <0x10>; +- xlnx,mch2-protocol = <0x0>; +- xlnx,mch2-rddatabuf-depth = <0x10>; +- xlnx,mch3-accessbuf-depth = <0x10>; +- xlnx,mch3-protocol = <0x0>; +- xlnx,mch3-rddatabuf-depth = <0x10>; +- xlnx,mem0-width = <0x10>; +- xlnx,mem1-width = <0x20>; +- xlnx,mem2-width = <0x20>; +- xlnx,mem3-width = <0x20>; +- xlnx,num-banks-mem = <0x1>; +- xlnx,num-channels = <0x2>; +- xlnx,priority-mode = <0x0>; +- xlnx,synch-mem-0 = <0x0>; +- xlnx,synch-mem-1 = <0x0>; +- xlnx,synch-mem-2 = <0x0>; +- xlnx,synch-mem-3 = <0x0>; +- xlnx,synch-pipedelay-0 = <0x2>; +- xlnx,synch-pipedelay-1 = <0x2>; +- xlnx,synch-pipedelay-2 = <0x2>; +- xlnx,synch-pipedelay-3 = <0x2>; +- xlnx,tavdv-ps-mem-0 = <0x1adb0>; +- xlnx,tavdv-ps-mem-1 = <0x3a98>; +- xlnx,tavdv-ps-mem-2 = <0x3a98>; +- xlnx,tavdv-ps-mem-3 = <0x3a98>; +- xlnx,tcedv-ps-mem-0 = <0x1adb0>; +- xlnx,tcedv-ps-mem-1 = <0x3a98>; +- xlnx,tcedv-ps-mem-2 = <0x3a98>; +- xlnx,tcedv-ps-mem-3 = <0x3a98>; +- xlnx,thzce-ps-mem-0 = <0x88b8>; +- xlnx,thzce-ps-mem-1 = <0x1b58>; +- xlnx,thzce-ps-mem-2 = <0x1b58>; +- xlnx,thzce-ps-mem-3 = <0x1b58>; +- xlnx,thzoe-ps-mem-0 = <0x1b58>; +- xlnx,thzoe-ps-mem-1 = <0x1b58>; +- xlnx,thzoe-ps-mem-2 = <0x1b58>; +- xlnx,thzoe-ps-mem-3 = <0x1b58>; +- xlnx,tlzwe-ps-mem-0 = <0x88b8>; +- xlnx,tlzwe-ps-mem-1 = <0x0>; +- xlnx,tlzwe-ps-mem-2 = <0x0>; +- xlnx,tlzwe-ps-mem-3 = <0x0>; +- xlnx,twc-ps-mem-0 = <0x2af8>; +- xlnx,twc-ps-mem-1 = <0x3a98>; +- xlnx,twc-ps-mem-2 = <0x3a98>; +- xlnx,twc-ps-mem-3 = <0x3a98>; +- xlnx,twp-ps-mem-0 = <0x11170>; +- xlnx,twp-ps-mem-1 = <0x2ee0>; +- xlnx,twp-ps-mem-2 = <0x2ee0>; +- xlnx,twp-ps-mem-3 = <0x2ee0>; +- xlnx,xcl0-linesize = <0x4>; +- xlnx,xcl0-writexfer = <0x1>; +- xlnx,xcl1-linesize = <0x4>; +- xlnx,xcl1-writexfer = <0x1>; +- xlnx,xcl2-linesize = <0x4>; +- xlnx,xcl2-writexfer = <0x1>; +- xlnx,xcl3-linesize = <0x4>; +- xlnx,xcl3-writexfer = <0x1>; +- } ; +- Hard_Ethernet_MAC: xps-ll-temac@81c00000 { +- #address-cells = <1>; +- #size-cells = <1>; +- compatible = "xlnx,compound"; +- ethernet@81c00000 { +- compatible = "xlnx,xps-ll-temac-1.01.b"; +- device_type = "network"; +- interrupt-parent = <&xps_intc_0>; +- interrupts = < 5 2 >; +- llink-connected = <&DMA0>; +- local-mac-address = [ 02 00 00 00 00 00 ]; +- reg = < 0x81c00000 0x40 >; +- xlnx,bus2core-clk-ratio = <0x1>; +- xlnx,phy-type = <0x1>; +- xlnx,phyaddr = <0x1>; +- xlnx,rxcsum = <0x1>; +- xlnx,rxfifo = <0x1000>; +- xlnx,temac-type = <0x0>; +- xlnx,txcsum = <0x1>; +- xlnx,txfifo = <0x1000>; +- } ; +- } ; +- IIC_EEPROM: i2c@81600000 { +- compatible = "xlnx,xps-iic-2.00.a"; +- interrupt-parent = <&xps_intc_0>; +- interrupts = < 6 2 >; +- reg = < 0x81600000 0x10000 >; +- xlnx,clk-freq = <0x5f5e100>; +- xlnx,family = "virtex5"; +- xlnx,gpo-width = <0x1>; +- xlnx,iic-freq = <0x186a0>; +- xlnx,scl-inertial-delay = <0x0>; +- xlnx,sda-inertial-delay = <0x0>; +- xlnx,ten-bit-adr = <0x0>; +- } ; +- LEDs_8Bit: gpio@81400000 { +- compatible = "xlnx,xps-gpio-1.00.a"; +- reg = < 0x81400000 0x10000 >; +- xlnx,all-inputs = <0x0>; +- xlnx,all-inputs-2 = <0x0>; +- xlnx,dout-default = <0x0>; +- xlnx,dout-default-2 = <0x0>; +- xlnx,family = "virtex5"; +- xlnx,gpio-width = <0x8>; +- xlnx,interrupt-present = <0x0>; +- xlnx,is-bidir = <0x1>; +- xlnx,is-bidir-2 = <0x1>; +- xlnx,is-dual = <0x0>; +- xlnx,tri-default = <0xffffffff>; +- xlnx,tri-default-2 = <0xffffffff>; +- } ; +- LEDs_Positions: gpio@81420000 { +- compatible = "xlnx,xps-gpio-1.00.a"; +- reg = < 0x81420000 0x10000 >; +- xlnx,all-inputs = <0x0>; +- xlnx,all-inputs-2 = <0x0>; +- xlnx,dout-default = <0x0>; +- xlnx,dout-default-2 = <0x0>; +- xlnx,family = "virtex5"; +- xlnx,gpio-width = <0x5>; +- xlnx,interrupt-present = <0x0>; +- xlnx,is-bidir = <0x1>; +- xlnx,is-bidir-2 = <0x1>; +- xlnx,is-dual = <0x0>; +- xlnx,tri-default = <0xffffffff>; +- xlnx,tri-default-2 = <0xffffffff>; +- } ; +- Push_Buttons_5Bit: gpio@81440000 { +- compatible = "xlnx,xps-gpio-1.00.a"; +- interrupt-parent = <&xps_intc_0>; +- interrupts = < 8 2 >; +- reg = < 0x81440000 0x10000 >; +- xlnx,all-inputs = <0x1>; +- xlnx,all-inputs-2 = <0x0>; +- xlnx,dout-default = <0x0>; +- xlnx,dout-default-2 = <0x0>; +- xlnx,family = "virtex5"; +- xlnx,gpio-width = <0x5>; +- xlnx,interrupt-present = <0x1>; +- xlnx,is-bidir = <0x1>; +- xlnx,is-bidir-2 = <0x1>; +- xlnx,is-dual = <0x0>; +- xlnx,tri-default = <0xffffffff>; +- xlnx,tri-default-2 = <0xffffffff>; +- } ; +- RS232_Uart_1: serial@83e00000 { +- clock-frequency = <100000000>; +- compatible = "xlnx,xps-uart16550-2.00.a", "ns16550"; +- current-speed = <9600>; +- device_type = "serial"; +- interrupt-parent = <&xps_intc_0>; +- interrupts = < 9 2 >; +- reg = < 0x83e00000 0x10000 >; +- reg-offset = <0x1003>; +- reg-shift = <2>; +- xlnx,family = "virtex5"; +- xlnx,has-external-rclk = <0x0>; +- xlnx,has-external-xin = <0x0>; +- xlnx,is-a-16550 = <0x1>; +- } ; +- SysACE_CompactFlash: sysace@83600000 { +- compatible = "xlnx,xps-sysace-1.00.a"; +- interrupt-parent = <&xps_intc_0>; +- interrupts = < 4 2 >; +- reg = < 0x83600000 0x10000 >; +- xlnx,family = "virtex5"; +- xlnx,mem-width = <0x10>; +- } ; +- xps_bram_if_cntlr_1: xps-bram-if-cntlr@ffff0000 { +- compatible = "xlnx,xps-bram-if-cntlr-1.00.a"; +- reg = < 0xffff0000 0x10000 >; +- xlnx,family = "virtex5"; +- } ; +- xps_intc_0: interrupt-controller@81800000 { +- #interrupt-cells = <0x2>; +- compatible = "xlnx,xps-intc-1.00.a"; +- interrupt-controller ; +- reg = < 0x81800000 0x10000 >; +- xlnx,num-intr-inputs = <0xc>; +- } ; +- xps_timebase_wdt_1: xps-timebase-wdt@83a00000 { +- compatible = "xlnx,xps-timebase-wdt-1.00.b"; +- interrupt-parent = <&xps_intc_0>; +- interrupts = < 2 0 1 2 >; +- reg = < 0x83a00000 0x10000 >; +- xlnx,family = "virtex5"; +- xlnx,wdt-enable-once = <0x0>; +- xlnx,wdt-interval = <0x1e>; +- } ; +- xps_timer_1: timer@83c00000 { +- compatible = "xlnx,xps-timer-1.00.a"; +- interrupt-parent = <&xps_intc_0>; +- interrupts = < 3 2 >; +- reg = < 0x83c00000 0x10000 >; +- xlnx,count-width = <0x20>; +- xlnx,family = "virtex5"; +- xlnx,gen0-assert = <0x1>; +- xlnx,gen1-assert = <0x1>; +- xlnx,one-timer-only = <0x1>; +- xlnx,trig0-assert = <0x1>; +- xlnx,trig1-assert = <0x1>; +- } ; +- } ; +-} ; ++ xlnx,apu-control = <0x2000>; ++ xlnx,apu-udi-0 = <0x0>; ++ xlnx,apu-udi-1 = <0x0>; ++ xlnx,apu-udi-10 = <0x0>; ++ xlnx,apu-udi-11 = <0x0>; ++ xlnx,apu-udi-12 = <0x0>; ++ xlnx,apu-udi-13 = <0x0>; ++ xlnx,apu-udi-14 = <0x0>; ++ xlnx,apu-udi-15 = <0x0>; ++ xlnx,apu-udi-2 = <0x0>; ++ xlnx,apu-udi-3 = <0x0>; ++ xlnx,apu-udi-4 = <0x0>; ++ xlnx,apu-udi-5 = <0x0>; ++ xlnx,apu-udi-6 = <0x0>; ++ xlnx,apu-udi-7 = <0x0>; ++ xlnx,apu-udi-8 = <0x0>; ++ xlnx,apu-udi-9 = <0x0>; ++ xlnx,dcr-autolock-enable = <0x1>; ++ xlnx,dcu-rd-ld-cache-plb-prio = <0x0>; ++ xlnx,dcu-rd-noncache-plb-prio = <0x0>; ++ xlnx,dcu-rd-touch-plb-prio = <0x0>; ++ xlnx,dcu-rd-urgent-plb-prio = <0x0>; ++ xlnx,dcu-wr-flush-plb-prio = <0x0>; ++ xlnx,dcu-wr-store-plb-prio = <0x0>; ++ xlnx,dcu-wr-urgent-plb-prio = <0x0>; ++ xlnx,dma0-control = <0x0>; ++ xlnx,dma0-plb-prio = <0x0>; ++ xlnx,dma0-rxchannelctrl = <0x1010000>; ++ xlnx,dma0-rxirqtimer = <0x3ff>; ++ xlnx,dma0-txchannelctrl = <0x1010000>; ++ xlnx,dma0-txirqtimer = <0x3ff>; ++ xlnx,dma1-control = <0x0>; ++ xlnx,dma1-plb-prio = <0x0>; ++ xlnx,dma1-rxchannelctrl = <0x1010000>; ++ xlnx,dma1-rxirqtimer = <0x3ff>; ++ xlnx,dma1-txchannelctrl = <0x1010000>; ++ xlnx,dma1-txirqtimer = <0x3ff>; ++ xlnx,dma2-control = <0x0>; ++ xlnx,dma2-plb-prio = <0x0>; ++ xlnx,dma2-rxchannelctrl = <0x1010000>; ++ xlnx,dma2-rxirqtimer = <0x3ff>; ++ xlnx,dma2-txchannelctrl = <0x1010000>; ++ xlnx,dma2-txirqtimer = <0x3ff>; ++ xlnx,dma3-control = <0x0>; ++ xlnx,dma3-plb-prio = <0x0>; ++ xlnx,dma3-rxchannelctrl = <0x1010000>; ++ xlnx,dma3-rxirqtimer = <0x3ff>; ++ xlnx,dma3-txchannelctrl = <0x1010000>; ++ xlnx,dma3-txirqtimer = <0x3ff>; ++ xlnx,endian-reset = <0x0>; ++ xlnx,generate-plb-timespecs = <0x1>; ++ xlnx,icu-rd-fetch-plb-prio = <0x0>; ++ xlnx,icu-rd-spec-plb-prio = <0x0>; ++ xlnx,icu-rd-touch-plb-prio = <0x0>; ++ xlnx,interconnect-imask = <0xffffffff>; ++ xlnx,mplb-allow-lock-xfer = <0x1>; ++ xlnx,mplb-arb-mode = <0x0>; ++ xlnx,mplb-awidth = <0x20>; ++ xlnx,mplb-counter = <0x500>; ++ xlnx,mplb-dwidth = <0x80>; ++ xlnx,mplb-max-burst = <0x8>; ++ xlnx,mplb-native-dwidth = <0x80>; ++ xlnx,mplb-p2p = <0x0>; ++ xlnx,mplb-prio-dcur = <0x2>; ++ xlnx,mplb-prio-dcuw = <0x3>; ++ xlnx,mplb-prio-icu = <0x4>; ++ xlnx,mplb-prio-splb0 = <0x1>; ++ xlnx,mplb-prio-splb1 = <0x0>; ++ xlnx,mplb-read-pipe-enable = <0x1>; ++ xlnx,mplb-sync-tattribute = <0x0>; ++ xlnx,mplb-wdog-enable = <0x1>; ++ xlnx,mplb-write-pipe-enable = <0x1>; ++ xlnx,mplb-write-post-enable = <0x1>; ++ xlnx,num-dma = <0x0>; ++ xlnx,pir = <0xf>; ++ xlnx,ppc440mc-addr-base = <0x0>; ++ xlnx,ppc440mc-addr-high = <0xfffffff>; ++ xlnx,ppc440mc-arb-mode = <0x0>; ++ xlnx,ppc440mc-bank-conflict-mask = <0xc00000>; ++ xlnx,ppc440mc-control = <0xf810008f>; ++ xlnx,ppc440mc-max-burst = <0x8>; ++ xlnx,ppc440mc-prio-dcur = <0x2>; ++ xlnx,ppc440mc-prio-dcuw = <0x3>; ++ xlnx,ppc440mc-prio-icu = <0x4>; ++ xlnx,ppc440mc-prio-splb0 = <0x1>; ++ xlnx,ppc440mc-prio-splb1 = <0x0>; ++ xlnx,ppc440mc-row-conflict-mask = <0x3ffe00>; ++ xlnx,ppcdm-asyncmode = <0x0>; ++ xlnx,ppcds-asyncmode = <0x0>; ++ xlnx,user-reset = <0x0>; ++ } ; ++ } ; ++ plb_v46_0: plb@0 { ++ #address-cells = <1>; ++ #size-cells = <1>; ++ compatible = "xlnx,plb-v46-1.05.a", "xlnx,plb-v46-1.00.a", "simple-bus"; ++ DIP_Switches_8Bit: gpio@81460000 { ++ compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 10 2 >; ++ reg = < 0x81460000 0x10000 >; ++ xlnx,all-inputs = <0x1>; ++ xlnx,all-inputs-2 = <0x0>; ++ xlnx,dout-default = <0x0>; ++ xlnx,dout-default-2 = <0x0>; ++ xlnx,family = "virtex5"; ++ xlnx,gpio-width = <0x8>; ++ xlnx,gpio2-width = <0x20>; ++ xlnx,interrupt-present = <0x1>; ++ xlnx,is-dual = <0x0>; ++ xlnx,tri-default = <0xffffffff>; ++ xlnx,tri-default-2 = <0xffffffff>; ++ } ; ++ Ethernet_MAC: ethernet@81000000 { ++ compatible = "xlnx,xps-ethernetlite-4.00.a", "xlnx,xps-ethernetlite-1.00.a"; ++ device_type = "network"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 5 0 >; ++ local-mac-address = [ 00 0a 35 01 a5 00 ]; ++ phy-handle = <&phy0>; ++ reg = < 0x81000000 0x10000 >; ++ xlnx,duplex = <0x1>; ++ xlnx,family = "virtex5"; ++ xlnx,include-global-buffers = <0x0>; ++ xlnx,include-internal-loopback = <0x0>; ++ xlnx,include-mdio = <0x1>; ++ xlnx,rx-ping-pong = <0x0>; ++ xlnx,tx-ping-pong = <0x0>; ++ mdio { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ phy0: phy@7 { ++ compatible = "marvell,88e1111"; ++ device_type = "ethernet-phy"; ++ reg = <7>; ++ } ; ++ } ; ++ } ; ++ FLASH: flash@8c000000 { ++ bank-width = <2>; ++ compatible = "xlnx,xps-mch-emc-3.01.a", "cfi-flash"; ++ reg = < 0x8c000000 0x2000000 >; ++ xlnx,family = "virtex5"; ++ xlnx,include-datawidth-matching-0 = <0x1>; ++ xlnx,include-datawidth-matching-1 = <0x0>; ++ xlnx,include-datawidth-matching-2 = <0x0>; ++ xlnx,include-datawidth-matching-3 = <0x0>; ++ xlnx,include-negedge-ioregs = <0x0>; ++ xlnx,include-plb-ipif = <0x1>; ++ xlnx,include-wrbuf = <0x1>; ++ xlnx,max-mem-width = <0x10>; ++ xlnx,mch-native-dwidth = <0x20>; ++ xlnx,mch-splb-awidth = <0x20>; ++ xlnx,mch-splb-clk-period-ps = <0x2710>; ++ xlnx,mch0-accessbuf-depth = <0x10>; ++ xlnx,mch0-protocol = <0x0>; ++ xlnx,mch0-rddatabuf-depth = <0x10>; ++ xlnx,mch1-accessbuf-depth = <0x10>; ++ xlnx,mch1-protocol = <0x0>; ++ xlnx,mch1-rddatabuf-depth = <0x10>; ++ xlnx,mch2-accessbuf-depth = <0x10>; ++ xlnx,mch2-protocol = <0x0>; ++ xlnx,mch2-rddatabuf-depth = <0x10>; ++ xlnx,mch3-accessbuf-depth = <0x10>; ++ xlnx,mch3-protocol = <0x0>; ++ xlnx,mch3-rddatabuf-depth = <0x10>; ++ xlnx,mem0-width = <0x10>; ++ xlnx,mem1-width = <0x20>; ++ xlnx,mem2-width = <0x20>; ++ xlnx,mem3-width = <0x20>; ++ xlnx,num-banks-mem = <0x1>; ++ xlnx,num-channels = <0x0>; ++ xlnx,pagemode-flash-0 = <0x0>; ++ xlnx,pagemode-flash-1 = <0x0>; ++ xlnx,pagemode-flash-2 = <0x0>; ++ xlnx,pagemode-flash-3 = <0x0>; ++ xlnx,priority-mode = <0x0>; ++ xlnx,synch-mem-0 = <0x0>; ++ xlnx,synch-mem-1 = <0x0>; ++ xlnx,synch-mem-2 = <0x0>; ++ xlnx,synch-mem-3 = <0x0>; ++ xlnx,synch-pipedelay-0 = <0x2>; ++ xlnx,synch-pipedelay-1 = <0x2>; ++ xlnx,synch-pipedelay-2 = <0x2>; ++ xlnx,synch-pipedelay-3 = <0x2>; ++ xlnx,tavdv-ps-mem-0 = <0x1adb0>; ++ xlnx,tavdv-ps-mem-1 = <0x3a98>; ++ xlnx,tavdv-ps-mem-2 = <0x3a98>; ++ xlnx,tavdv-ps-mem-3 = <0x3a98>; ++ xlnx,tcedv-ps-mem-0 = <0x1adb0>; ++ xlnx,tcedv-ps-mem-1 = <0x3a98>; ++ xlnx,tcedv-ps-mem-2 = <0x3a98>; ++ xlnx,tcedv-ps-mem-3 = <0x3a98>; ++ xlnx,thzce-ps-mem-0 = <0x88b8>; ++ xlnx,thzce-ps-mem-1 = <0x1b58>; ++ xlnx,thzce-ps-mem-2 = <0x1b58>; ++ xlnx,thzce-ps-mem-3 = <0x1b58>; ++ xlnx,thzoe-ps-mem-0 = <0x1b58>; ++ xlnx,thzoe-ps-mem-1 = <0x1b58>; ++ xlnx,thzoe-ps-mem-2 = <0x1b58>; ++ xlnx,thzoe-ps-mem-3 = <0x1b58>; ++ xlnx,tlzwe-ps-mem-0 = <0x88b8>; ++ xlnx,tlzwe-ps-mem-1 = <0x0>; ++ xlnx,tlzwe-ps-mem-2 = <0x0>; ++ xlnx,tlzwe-ps-mem-3 = <0x0>; ++ xlnx,tpacc-ps-flash-0 = <0x61a8>; ++ xlnx,tpacc-ps-flash-1 = <0x61a8>; ++ xlnx,tpacc-ps-flash-2 = <0x61a8>; ++ xlnx,tpacc-ps-flash-3 = <0x61a8>; ++ xlnx,twc-ps-mem-0 = <0x2af8>; ++ xlnx,twc-ps-mem-1 = <0x3a98>; ++ xlnx,twc-ps-mem-2 = <0x3a98>; ++ xlnx,twc-ps-mem-3 = <0x3a98>; ++ xlnx,twp-ps-mem-0 = <0x11170>; ++ xlnx,twp-ps-mem-1 = <0x2ee0>; ++ xlnx,twp-ps-mem-2 = <0x2ee0>; ++ xlnx,twp-ps-mem-3 = <0x2ee0>; ++ xlnx,xcl0-linesize = <0x4>; ++ xlnx,xcl0-writexfer = <0x1>; ++ xlnx,xcl1-linesize = <0x4>; ++ xlnx,xcl1-writexfer = <0x1>; ++ xlnx,xcl2-linesize = <0x4>; ++ xlnx,xcl2-writexfer = <0x1>; ++ xlnx,xcl3-linesize = <0x4>; ++ xlnx,xcl3-writexfer = <0x1>; ++ } ; ++ IIC_EEPROM: i2c@81600000 { ++ compatible = "xlnx,xps-iic-2.03.a", "xlnx,xps-iic-2.00.a"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 7 2 >; ++ reg = < 0x81600000 0x10000 >; ++ xlnx,clk-freq = <0x5f5e100>; ++ xlnx,family = "virtex5"; ++ xlnx,gpo-width = <0x1>; ++ xlnx,iic-freq = <0x186a0>; ++ xlnx,scl-inertial-delay = <0x5>; ++ xlnx,sda-inertial-delay = <0x5>; ++ xlnx,ten-bit-adr = <0x0>; ++ } ; ++ LEDs_8Bit: gpio@81440000 { ++ compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a"; ++ reg = < 0x81440000 0x10000 >; ++ xlnx,all-inputs = <0x0>; ++ xlnx,all-inputs-2 = <0x0>; ++ xlnx,dout-default = <0x0>; ++ xlnx,dout-default-2 = <0x0>; ++ xlnx,family = "virtex5"; ++ xlnx,gpio-width = <0x8>; ++ xlnx,gpio2-width = <0x20>; ++ xlnx,interrupt-present = <0x0>; ++ xlnx,is-dual = <0x0>; ++ xlnx,tri-default = <0xffffffff>; ++ xlnx,tri-default-2 = <0xffffffff>; ++ } ; ++ LEDs_Positions: gpio@81420000 { ++ compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a"; ++ reg = < 0x81420000 0x10000 >; ++ xlnx,all-inputs = <0x0>; ++ xlnx,all-inputs-2 = <0x0>; ++ xlnx,dout-default = <0x0>; ++ xlnx,dout-default-2 = <0x0>; ++ xlnx,family = "virtex5"; ++ xlnx,gpio-width = <0x5>; ++ xlnx,gpio2-width = <0x20>; ++ xlnx,interrupt-present = <0x0>; ++ xlnx,is-dual = <0x0>; ++ xlnx,tri-default = <0xffffffff>; ++ xlnx,tri-default-2 = <0xffffffff>; ++ } ; ++ Push_Buttons_5Bit: gpio@81400000 { ++ compatible = "xlnx,xps-gpio-2.00.a", "xlnx,xps-gpio-1.00.a"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 11 2 >; ++ reg = < 0x81400000 0x10000 >; ++ xlnx,all-inputs = <0x1>; ++ xlnx,all-inputs-2 = <0x0>; ++ xlnx,dout-default = <0x0>; ++ xlnx,dout-default-2 = <0x0>; ++ xlnx,family = "virtex5"; ++ xlnx,gpio-width = <0x5>; ++ xlnx,gpio2-width = <0x20>; ++ xlnx,interrupt-present = <0x1>; ++ xlnx,is-dual = <0x0>; ++ xlnx,tri-default = <0xffffffff>; ++ xlnx,tri-default-2 = <0xffffffff>; ++ } ; ++ RS232_Uart_1: serial@84000000 { ++ clock-frequency = <100000000>; ++ compatible = "xlnx,xps-uartlite-1.01.a", "xlnx,xps-uartlite-1.00.a"; ++ current-speed = <115200>; ++ device_type = "serial"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 12 0 >; ++ port-number = <0>; ++ reg = < 0x84000000 0x10000 >; ++ xlnx,baudrate = <0x1c200>; ++ xlnx,data-bits = <0x8>; ++ xlnx,family = "virtex5"; ++ xlnx,odd-parity = <0x0>; ++ xlnx,use-parity = <0x0>; ++ } ; ++ SysACE_CompactFlash: sysace@83600000 { ++ compatible = "xlnx,xps-sysace-1.01.a", "xlnx,xps-sysace-1.00.a"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 4 2 >; ++ reg = < 0x83600000 0x10000 >; ++ xlnx,family = "virtex5"; ++ xlnx,mem-width = <0x10>; ++ } ; ++ xps_bram_if_cntlr_1: xps-bram-if-cntlr@ffff0000 { ++ compatible = "xlnx,xps-bram-if-cntlr-1.00.b", "xlnx,xps-bram-if-cntlr-1.00.a"; ++ reg = < 0xffff0000 0x10000 >; ++ xlnx,family = "virtex5"; ++ } ; ++ xps_intc_0: interrupt-controller@81800000 { ++ #interrupt-cells = <0x2>; ++ compatible = "xlnx,xps-intc-2.01.a", "xlnx,xps-intc-1.00.a"; ++ interrupt-controller ; ++ reg = < 0x81800000 0x10000 >; ++ xlnx,kind-of-intr = <0x106a>; ++ xlnx,num-intr-inputs = <0xd>; ++ } ; ++ xps_ps2_0: xps-ps2@81480000 { ++ #address-cells = <1>; ++ #size-cells = <1>; ++ compatible = "xlnx,compound"; ++ ranges = < 0x0 0x81480000 0x10000 >; ++ ps2@0 { ++ compatible = "xlnx,xps-ps2-1.01.b", "xlnx,xps-ps2-1.00.a"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 8 2 >; ++ reg = < 0x0 0x40 >; ++ } ; ++ ps2@1000 { ++ compatible = "xlnx,xps-ps2-1.01.b", "xlnx,xps-ps2-1.00.a"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 9 2 >; ++ reg = < 0x1000 0x40 >; ++ } ; ++ } ; ++ xps_tft_0: tft@86e00000 { ++ compatible = "xlnx,xps-tft-2.01.a"; ++ reg = < 0x86e00000 0x10000 >; ++ xlnx,dcr-splb-slave-if = <0x1>; ++ xlnx,default-tft-base-addr = <0x0>; ++ xlnx,family = "virtex5"; ++ xlnx,i2c-slave-addr = <0x76>; ++ xlnx,mplb-awidth = <0x20>; ++ xlnx,mplb-dwidth = <0x80>; ++ xlnx,mplb-native-dwidth = <0x40>; ++ xlnx,mplb-smallest-slave = <0x20>; ++ xlnx,tft-interface = <0x1>; ++ } ; ++ xps_timebase_wdt_0: xps-timebase-wdt@83a00000 { ++ compatible = "xlnx,xps-timebase-wdt-1.02.a"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 3 0 2 2 >; ++ reg = < 0x83a00000 0x10000 >; ++ xlnx,family = "virtex5"; ++ xlnx,wdt-enable-once = <0x0>; ++ xlnx,wdt-interval = <0x1e>; ++ } ; ++ xps_timer_0: timer@83c00000 { ++ compatible = "xlnx,xps-timer-1.02.a", "xlnx,xps-timer-1.00.a"; ++ interrupt-parent = <&xps_intc_0>; ++ interrupts = < 1 0 >; ++ reg = < 0x83c00000 0x10000 >; ++ xlnx,count-width = <0x20>; ++ xlnx,family = "virtex5"; ++ xlnx,gen0-assert = <0x1>; ++ xlnx,gen1-assert = <0x1>; ++ xlnx,one-timer-only = <0x0>; ++ xlnx,trig0-assert = <0x1>; ++ xlnx,trig1-assert = <0x1>; ++ } ; ++ } ; ++} ; +-- +1.7.9.5 +
recipes-kernel/linux/linux-xilinx-3.0/virtex5/0002-virtex440-ml507.dts-Update-bootargs-to-use-ramdisk-a.patch new file +73 -0
73 lines not on this page · raw message
recipes-kernel/linux/linux-xilinx-3.0/virtex5/defconfig_3.0.0 new file +1652 -0
1,652 lines not on this page · raw message
recipes-kernel/linux/linux-xilinx_3.0.bb new file +25 -0
@@ -0,0 +1,25 @@ +inherit kernel xilinx-kernel xilinx-utils +require recipes-kernel/linux/linux-xilinx.inc + +DEFAULT_PREFERENCE = "-1" + +KBRANCH = "master" + +LINUX_VERSION ?= "3.0.0" +SRCREV_pn-${PN} = "92ddb93ba1cc62fe73429819164c18094e673669" +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/linux-xilinx-3.0' ], d)}" + +PR = "r00" +PV = "${LINUX_VERSION}" + +SRC_URI = "git://git.xilinx.com/linux-xlnx.git;protocol=git;branch=${KBRANCH} \ + file://0001-virtex440-ml507.dts-Update-device-tree-to-version-ge.patch \ + file://0002-virtex440-ml507.dts-Update-bootargs-to-use-ramdisk-a.patch \ + file://defconfig_3.0.0" + +# Support for binary device tree generation +XILINX_BOARD ?= "${@find_board(bb.data.getVar('XILINX_BSP_PATH', d, 1), d)}" +KERNEL_DEVICETREE = "${@device_tree(bb.data.getVar('TARGET_ARCH', d, 1), d)}" +KERNEL_DEVICETREE_microblazeel = "${@device_tree(bb.data.getVar('TARGET_CPU', d, 1), d)}" + +COMPATIBLE_MACHINE = "(virtex4|virtex5|virtex5mb|spartan6-sp605|spartan6-lx9mb)"
Signature · 1 line
1.7.9.5
PATCH 3/3 linux-xilinx-3.3: Add new recipe for linux-xilinx v3.3.0 kernel.
In reply to Elvis DowsonThis commit adds a new recipe for the linux-xilinx v3.3.0 kernel, and includes the following features:
* support for Xilinx ML507 development board
* support for Xilinx Virtex 5 PowerPC440 processor
* support for console output on a LCD display using the DVI port
* support for using a ramdisk and booting to a bash prompt
* support for xps-uart16550-2.00.a, ttyS0
* support for xps-ethernetlite-4.00.a, 10/100 Mbps ethernet interface
The ramdisk size has been set to 32768 kilobytes. This value can be changed by modifying the supplied kernel deconfig_3.3.0
The linux-xilinx v3.3.0 kernel has been tested using a hardware project created using Xilinx EDK 14.2.
--- ...pdate-IP-Core-support-for-Xilinx-ISE-14.1.patch | 149 ++ ...l507.dts-Update-device-tree-file-using-Xi.patch | 875 ++++++++++ ...x-regression-in-call-to-XPS-TFT-controlle.patch | 32 + .../linux/linux-xilinx-3.3/virtex5/defconfig_3.3.0 | 1704 ++++++++++++++++++++ recipes-kernel/linux/linux-xilinx_3.3.bb | 26 + 5 files changed, 2786 insertions(+) create mode 100644 recipes-kernel/linux/linux-xilinx-3.3/virtex5/0001-Xilinx-Update-IP-Core-support-for-Xilinx-ISE-14.1.patch create mode 100644 recipes-kernel/linux/linux-xilinx-3.3/virtex5/0002-virtex440-ml507.dts-Update-device-tree-file-using-Xi.patch create mode 100644 recipes-kernel/linux/linux-xilinx-3.3/virtex5/0003-xilinxfb-Fix-regression-in-call-to-XPS-TFT-controlle.patch create mode 100644 recipes-kernel/linux/linux-xilinx-3.3/virtex5/defconfig_3.3.0 create mode 100644 recipes-kernel/linux/linux-xilinx_3.3.bb
recipes-kernel/linux/linux-xilinx-3.3/virtex5/0001-Xilinx-Update-IP-Core-support-for-Xilinx-ISE-14.1.patch new file +149 -0
@@ -0,0 +1,149 @@ +From 8a353689559cd864647d39a05ef449e423a07fdd Mon Sep 17 00:00:00 2001 +From: Elvis Dowson <[email protected]> +Date: Wed, 22 Aug 2012 01:38:03 +0400 +Subject: [PATCH 1/3] Xilinx: Update IP Core support for Xilinx ISE 14.1. + +This commit updates linux kernel support for the following IP Cores +shipped with Xilinx ISE 14.1: +xlnx,xps-sysace-1.01.a +xlnx,xps-iic-2.02.a +xlnx,xps-ethernetlite-4.00.a +xlnx,xps-ll-temac-2.03.a +xlnx,xps-uartlite-1.02.a + +This commit also updates PowerPC support for the following IP Cores +shipped with Xilinx ISE 14.1: +xps-uartlite-1.02.a +xlnx,plb-v46-1.05.a +xlnx,xps-intc-2.01.a + +Signed-off-by: Elvis Dowson <[email protected]> +--- + arch/powerpc/boot/serial.c | 4 +++- + arch/powerpc/platforms/44x/virtex.c | 3 +++ + arch/powerpc/sysdev/xilinx_intc.c | 2 ++ + drivers/block/xsysace.c | 1 + + drivers/i2c/algos/xilinx_iic/i2c-algo-xilinx.c | 2 ++ + drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 ++ + .../ethernet/xilinx/xilinx_lltemac/xlltemac_main.c | 4 ++++ + drivers/tty/serial/uartlite.c | 2 ++ + 8 files changed, 19 insertions(+), 1 deletion(-) + +diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c +index f2156f0..6f901dc 100644 +--- a/arch/powerpc/boot/serial.c ++++ b/arch/powerpc/boot/serial.c +@@ -130,7 +130,9 @@ int serial_console_init(void) + else if (dt_is_compatible(devp, "fsl,mpc5200-psc-uart")) + rc = mpc5200_psc_console_init(devp, &serial_cd); + else if (dt_is_compatible(devp, "xlnx,opb-uartlite-1.00.b") || +- dt_is_compatible(devp, "xlnx,xps-uartlite-1.00.a")) ++ dt_is_compatible(devp, "xlnx,xps-uartlite-1.00.a") || ++ dt_is_compatible(devp, "xlnx,xps-uartlite-1.01.a") || ++ dt_is_compatible(devp, "xlnx,xps-uartlite-1.02.a")) + rc = uartlite_console_init(devp, &serial_cd); + + /* Add other serial console driver calls here */ +diff --git a/arch/powerpc/platforms/44x/virtex.c b/arch/powerpc/platforms/44x/virtex.c +index cf96cca..eb208d3 100644 +--- a/arch/powerpc/platforms/44x/virtex.c ++++ b/arch/powerpc/platforms/44x/virtex.c +@@ -25,6 +25,9 @@ static struct of_device_id xilinx_of_bus_ids[] __initdata = { + { .compatible = "simple-bus", }, + { .compatible = "xlnx,plb-v46-1.00.a", }, + { .compatible = "xlnx,plb-v46-1.02.a", }, ++ { .compatible = "xlnx,plb-v46-1.03.a", }, ++ { .compatible = "xlnx,plb-v46-1.04.a", }, ++ { .compatible = "xlnx,plb-v46-1.05.a", }, + { .compatible = "xlnx,plb-v34-1.01.a", }, + { .compatible = "xlnx,plb-v34-1.02.a", }, + { .compatible = "xlnx,opb-v20-1.10.c", }, +diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/powerpc/sysdev/xilinx_intc.c +index 6183799..a115a20 100644 +--- a/arch/powerpc/sysdev/xilinx_intc.c ++++ b/arch/powerpc/sysdev/xilinx_intc.c +@@ -267,6 +267,8 @@ static inline void xilinx_i8259_setup_cascade(void) { return; } + static struct of_device_id xilinx_intc_match[] __initconst = { + { .compatible = "xlnx,opb-intc-1.00.c", }, + { .compatible = "xlnx,xps-intc-1.00.a", }, ++ { .compatible = "xlnx,xps-intc-2.00.a", }, ++ { .compatible = "xlnx,xps-intc-2.01.a", }, + {} + }; + +diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c +index 6e9a86b..8b2ee12 100644 +--- a/drivers/block/xsysace.c ++++ b/drivers/block/xsysace.c +@@ -1194,6 +1194,7 @@ static const struct of_device_id ace_of_match[] __devinitconst = { + { .compatible = "xlnx,opb-sysace-1.00.b", }, + { .compatible = "xlnx,opb-sysace-1.00.c", }, + { .compatible = "xlnx,xps-sysace-1.00.a", }, ++ { .compatible = "xlnx,xps-sysace-1.01.a", }, + { .compatible = "xlnx,sysace", }, + {}, + }; +diff --git a/drivers/i2c/algos/xilinx_iic/i2c-algo-xilinx.c b/drivers/i2c/algos/xilinx_iic/i2c-algo-xilinx.c +index 4f3c599..c59b6d0 100644 +--- a/drivers/i2c/algos/xilinx_iic/i2c-algo-xilinx.c ++++ b/drivers/i2c/algos/xilinx_iic/i2c-algo-xilinx.c +@@ -554,6 +554,8 @@ static int __devinit xilinx_iic_setup( + /* Match table for of_platform binding */ + static struct of_device_id __devinitdata xilinx_iic_of_match[] = { + { .compatible = "xlnx,xps-iic-2.00.a", }, ++ { .compatible = "xlnx,xps-iic-2.01.a", }, ++ { .compatible = "xlnx,xps-iic-2.02.a", }, + {}, + }; + MODULE_DEVICE_TABLE(of, xilinx_iic_of_match); +diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c +index 79013e5..91fb8e0 100644 +--- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c ++++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c +@@ -1289,6 +1289,8 @@ static struct of_device_id xemaclite_of_match[] __devinitdata = { + { .compatible = "xlnx,xps-ethernetlite-2.00.a", }, + { .compatible = "xlnx,xps-ethernetlite-2.01.a", }, + { .compatible = "xlnx,xps-ethernetlite-3.00.a", }, ++ { .compatible = "xlnx,xps-ethernetlite-3.01.a", }, ++ { .compatible = "xlnx,xps-ethernetlite-4.00.a", }, + { /* end of list */ }, + }; + MODULE_DEVICE_TABLE(of, xemaclite_of_match); +diff --git a/drivers/net/ethernet/xilinx/xilinx_lltemac/xlltemac_main.c b/drivers/net/ethernet/xilinx/xilinx_lltemac/xlltemac_main.c +index e008795..b05e996 100644 +--- a/drivers/net/ethernet/xilinx/xilinx_lltemac/xlltemac_main.c ++++ b/drivers/net/ethernet/xilinx/xilinx_lltemac/xlltemac_main.c +@@ -3595,6 +3595,7 @@ static struct of_device_id xtenet_fifo_of_match[] = { + { .compatible = "xlnx,xps-ll-fifo-1.00.a", }, + { .compatible = "xlnx,xps-ll-fifo-1.00.b", }, + { .compatible = "xlnx,xps-ll-fifo-1.01.a", }, ++ { .compatible = "xlnx,xps-ll-fifo-1.02.a", }, + { /* end of list */ }, + }; + +@@ -3746,6 +3747,9 @@ static struct of_device_id xtenet_of_match[] = { + { .compatible = "xlnx,xps-ll-temac-1.00.b", }, + { .compatible = "xlnx,xps-ll-temac-1.01.a", }, + { .compatible = "xlnx,xps-ll-temac-1.01.b", }, ++ { .compatible = "xlnx,xps-ll-temac-2.00.a", }, ++ { .compatible = "xlnx,xps-ll-temac-2.02.a", }, ++ { .compatible = "xlnx,xps-ll-temac-2.03.a", }, + { /* end of list */ }, + }; + +diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c +index 6cd4143..dd0664d 100644 +--- a/drivers/tty/serial/uartlite.c ++++ b/drivers/tty/serial/uartlite.c +@@ -566,6 +566,8 @@ static int __devexit ulite_release(struct device *dev) + static struct of_device_id ulite_of_match[] __devinitdata = { + { .compatible = "xlnx,opb-uartlite-1.00.b", }, + { .compatible = "xlnx,xps-uartlite-1.00.a", }, ++ { .compatible = "xlnx,xps-uartlite-1.01.a", }, ++ { .compatible = "xlnx,xps-uartlite-1.02.a", }, + {} + }; + MODULE_DEVICE_TABLE(of, ulite_of_match); +-- +1.7.9.5 +
recipes-kernel/linux/linux-xilinx-3.3/virtex5/0002-virtex440-ml507.dts-Update-device-tree-file-using-Xi.patch new file +875 -0
875 lines not on this page · raw message
recipes-kernel/linux/linux-xilinx-3.3/virtex5/0003-xilinxfb-Fix-regression-in-call-to-XPS-TFT-controlle.patch new file +32 -0
@@ -0,0 +1,32 @@ +From a77debe1e3b3823e18d8ef021b694c42b1515dda Mon Sep 17 00:00:00 2001 +From: Elvis Dowson <[email protected]> +Date: Wed, 22 Aug 2012 03:22:42 +0400 +Subject: [PATCH 3/3] xilinxfb: Fix regression in call to XPS TFT controller + write API. + +This commit fixes a regression in xilinx_fb_out_be32(), where an incorrect +call to the XPS TFT controller's write API, caused the display not to work. + +This fix has been adapted from linux-xilinx-3.0.0. + +Signed-off-by: Elvis Dowson <[email protected]> +--- + drivers/video/xilinxfb.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c +index b800c9c..1808452 100644 +--- a/drivers/video/xilinxfb.c ++++ b/drivers/video/xilinxfb.c +@@ -154,7 +154,7 @@ static void xilinx_fb_out_be32(struct xilinxfb_drvdata *drvdata, u32 offset, + u32 val) + { + if (drvdata->flags & PLB_ACCESS_FLAG) +- iowrite32(val, drvdata->regs + (offset << 2)); ++ out_be32(drvdata->regs + (offset << 2), val); + #ifdef CONFIG_PPC_DCR + else + dcr_write(drvdata->dcr_host, offset, val); +-- +1.7.9.5 +
recipes-kernel/linux/linux-xilinx-3.3/virtex5/defconfig_3.3.0 new file +1704 -0
1,704 lines not on this page · raw message
recipes-kernel/linux/linux-xilinx_3.3.bb new file +26 -0
@@ -0,0 +1,26 @@ +inherit kernel xilinx-kernel xilinx-utils +require recipes-kernel/linux/linux-xilinx.inc + +DEFAULT_PREFERENCE = "1" + +KBRANCH = "master" + +LINUX_VERSION ?= "3.3.0" +SRCREV_pn-${PN} = "1e92da8e3a66b051766b1be57be67e2bff11e19d" +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/linux-xilinx-3.3' ], d)}" + +PR = "r00" +PV = "${LINUX_VERSION}" + +SRC_URI = "git://git.xilinx.com/linux-xlnx.git;protocol=git;branch=${KBRANCH} \ + file://0001-Xilinx-Update-IP-Core-support-for-Xilinx-ISE-14.1.patch \ + file://0002-virtex440-ml507.dts-Update-device-tree-file-using-Xi.patch \ + file://0003-xilinxfb-Fix-regression-in-call-to-XPS-TFT-controlle.patch \ + file://defconfig_3.3.0" + +# Support for binary device tree generation +XILINX_BOARD ?= "${@find_board(bb.data.getVar('XILINX_BSP_PATH', d, 1), d)}" +KERNEL_DEVICETREE = "${@device_tree(bb.data.getVar('TARGET_ARCH', d, 1), d)}" +KERNEL_DEVICETREE_microblazeel = "${@device_tree(bb.data.getVar('TARGET_CPU', d, 1), d)}" + +COMPATIBLE_MACHINE = "(virtex4|virtex5|virtex5mb|spartan6-sp605|spartan6-lx9mb)"
Signature · 1 line
1.7.9.5