[meta-freescale] t4240 offloading applications

hari prasad hprasad257 at gmail.com
Tue Jun 24 10:25:31 PDT 2014


uboot environment variables:

U-Boot 2013.01 (May 25 2014 - 14:54:05)

CPU0:  T4240E, Version: 1.0, (0x82480010)
Core:  E6500, Version: 1.0, (0x80400010)
Clock Configuration:
       CPU0:1666.667 MHz, CPU1:1666.667 MHz, CPU2:1666.667 MHz,
CPU3:1666.667 MHz,
       CPU4:1666.667 MHz, CPU5:1666.667 MHz, CPU6:1666.667 MHz,
CPU7:1666.667 MHz,
       CPU8:1666.667 MHz, CPU9:1666.667 MHz, CPU10:1666.667 MHz,
CPU11:1666.667 MHz,
       CCB:600  MHz,
       DDR:400  MHz (800 MT/s data rate) (Asynchronous), IFC:150  MHz
       FMAN1: 466.667 MHz
       FMAN2: 466.667 MHz
       QMAN:  300 MHz
       PME:   300 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
Reset Configuration Word (RCW):
       00000000: 120c0019 0c10190e 00000000 00000000
       00000010: 04023033 00558c00 1c020000 19000000
       00000020: 00000000 ee0000ee 00000000 000307fc
       00000030: 00000000 00000000 00000000 00000010
Board: T4240QDS, Sys ID: 0x1e, Sys Ver: 0x24, vBank: 4
FPGA: v3 (T4240QDS_2012_1113_1114), build 438 on Tue Nov 13 17:14:23 2012
SERDES Reference Clocks: SERDES1=125MHz SERDES2=125MHz SERDES3=100MHz
SERDES4=100MHz
I2C:   ready
SPI:   ready
DRAM:  Initializing....using SPD
Detected UDIMM 9JSF25672AZ-2G1K1
Detected UDIMM 9JSF25672AZ-2G1K1
Detected UDIMM 9JSF25672AZ-2G1K1
4 GiB left unmapped
    DDR: 6 GiB (DDR3, 64-bit, CL=6, ECC on)
       DDR Controller Interleaving Mode: 3-way 4KB
Flash: 128 MiB
L2:    2048 KB enabled
enable l2 for cluster 1 fec60000
enable l2 for cluster 2 feca0000
Corenet Platform Cache: 1536 KB enabled
Using SERDES1 Protocol: 1 (0x1)
Using SERDES2 Protocol: 1 (0x1)
Using SERDES3 Protocol: 6 (0x6)
Using SERDES4 Protocol: 6 (0x6)
SRIO1: enabled
SRIO2: enabled
NAND:  512 MiB
MMC:  FSL_SDHC: 0
EEPROM: NXID v1
PCIe1: Root Complex, no link, regs @ 0xfe240000
PCIe1: Bus 00 - 00
PCIe2: disabled
PCIe3: Root Complex, no link, regs @ 0xfe260000
PCIe3: Bus 01 - 01
PCIe4: disabled
In:    serial
Out:   serial
Err:   serial
Net:   Fman1: Uploading microcode version 106.4.9
Fman2: Uploading microcode version 106.4.9
FM1 at DTSEC5 [PRIME], FM1 at TGEC1, FM2 at DTSEC5
Hit any key to stop autoboot:  0
=>
=> setenv ethact FM1 at TGEC1
=> setenv ethprime FM1 at TGEC1
=> print
baudrate=115200
bdev=sda3
bootargs=root=/dev/mmcblk0p1 rw rootdelay=5 console=ttyS0,115200
usdpaa_mem=256M bportals=s0-1 qportals=s0-1
bootcmd=setenv bootargs root=/dev/mmcblk0p1 rw rootdelay=2
console=$consoledev,$baudrate;
>
> mmcinfo;ext2load mmc 0:1 $loadaddr $bootfile;ext2load mmc 0:1 $fdtaddr
> $fdtfile; bootm $loadaddr - $fdtaddr
> bootdelay=3
> bootfile=uImage
> consoledev=ttyS0
> eth10addr=00:04:9F:02:7A:39
> eth11addr=00:04:9F:02:7A:3A
> eth12addr=00:04:9F:02:7A:3B
> eth13addr=00:04:9F:02:7A:3C
> eth14addr=00:04:9F:02:7A:3D
> eth15addr=00:04:9F:02:7A:3E
> eth1addr=00:04:9F:02:7A:30
> eth2addr=00:04:9F:02:7A:31
> eth3addr=00:04:9F:02:7A:32
> eth4addr=00:04:9F:02:7A:33
> eth5addr=00:04:9F:02:7A:34
> eth6addr=00:04:9F:02:7A:35
> eth7addr=00:04:9F:02:7A:36
> eth8addr=00:04:9F:02:7A:37
> eth9addr=00:04:9F:02:7A:38
> ethact=FM1 at TGEC1
> ethaddr=00:04:9F:02:7A:2F
> ethprime=FM1 at TGEC1
> fdtaddr=0x17200000
> fdtfile=uImage-t4240qds.dtb
> fileaddr=1000000
> filesize=46573C
> fman_ucode=0xeff40000
> gatewayip=192.168.1.1
>
> hwconfig=fsl_ddr:ctlr_intlv=3way_4KB,bank_intlv=auto;fsl_fm1_xaui_phy:xfi;fsl_fm2_xaui_phy:xfi
> ipaddr=10.116.65.141
> loadaddr=0x10000000
> netdev=eth0
> netmask=255.255.255.0
> nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath
> ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off
> console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp
> $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr
> ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate
> $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp
> $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
> ramdiskaddr=2000000
> ramdiskfile=t4240qds/ramdisk.uboot
> rcw=t4240rcw
> rcw_spi=mw.w ffdf0060 2201;qixis_reset altbank
> rcwemmc=mw.w ffdf0060 2000
> rootpath=/opt/nfsroot
> sataboot=setenv bootargs root=/dev/sda1 rootdelay=5 rw
> console=$consoledev,$baudrate $othbootargs;bootm e8020000 - e8800000
> sdboot=setenv bootargs root=/dev/mmcblk0p1 rw rootdelay=5
> console=ttyS0,115200; ext2load mmc 0:1 $loadaddr $bootfile; ext2load mmc
> 0:1 $fdtaddr $fdtfilel bootm $loadaddr - $fdtaddr
> serverip=10.116.65.150
> stderr=serial
> stdin=serial
> stdout=serial
> tftpflash=tftpboot $loadaddr $uboot && protect off $ubootaddr +$filesize
> && erase $ubootaddr +$filesize && cp.b $loadaddr $ubootaddr $filesize &&
> protect on $ubootaddr +$filesize && cmp.b $loadaddr $ubootaddr $filesize
> tftprcw=tftpboot $loadaddr $rcw && mmcinfo && mmc write 1000000 8 1
> uboot="u-boot.bin"
> ubootaddr=0xeff80000


regards,
Hari Prasad S R
7418234575


On Tue, Jun 24, 2014 at 8:37 AM, zhenhua.luo at freescale.com <
zhenhua.luo at freescale.com> wrote:

>  Do you use the usdpaa dtb(t4240qds-usdpaa.dtb)? Please provide more
> details, e.g. u-boot setting, bootargs, etc.
>
>
>
>
>
> Best Regards,
>
>
>
> Zhenhua
>
>
>
> *From:* meta-freescale-bounces at yoctoproject.org [mailto:
> meta-freescale-bounces at yoctoproject.org] *On Behalf Of *hari prasad
> *Sent:* Monday, June 23, 2014 5:59 PM
> *To:* meta-freescale at yoctoproject.org
> *Subject:* [meta-freescale] t4240 offloading applications
>
>
>
> HI,
>
> I am trying to run usdpaa offloading applications in t4240qds but drivers
> dpa_stats and dpa_classifier are not present in /dev/ . How can I get these
> applications to work
>
> regards,
>
> Hari Prasad S R
>
> 7418234575
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140624/3756ead3/attachment-0001.html>


More information about the meta-freescale mailing list