Hi
I have a T1040RDB and I would like to try the example with reflector. I follow the documentation :
<qoriqsdk1.7_path>/sdk_documentation/4099560.html
I start the board with the default image fsl-core. The logs :
log |
---|
Net: Initializing Fman Fman1: Uploading microcode version 106.4.14 FSL_MDIO0:0 is connected to FM1@DTSEC1. Reconnecting to FM1@DTSEC2 FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5 ... ## Booting kernel from Legacy Image at e8020000 ... Image Name: Linux-3.12.19-rt30-QorIQ-SDK-V1. Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4351614 Bytes = 4.2 MiB ... ## Loading init Ramdisk from Legacy Image at e9300000 ... Image Name: fsl-image-core-t1040rdb-20141214 Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 29372982 Bytes = 28 MiB .... No USDPAA memory, no 'usdpaa_mem' bootarg ... dpaa_debugfs: FSL DPAA Ethernet debugfs entries () dpaa_generic_debugfs: FSL DPAA Ethernet debugfs entries () fsl_mac: fsl_mac: FSL FMan MAC API based driver () fsl_mac ffe4e0000.ethernet: FMan MEMAC fsl_mac ffe4e0000.ethernet: FMan MAC address: 00:04:9f:03:43:75 fsl_mac ffe4e2000.ethernet: FMan MEMAC fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:03:43:76 fsl_mac ffe4e4000.ethernet: FMan MEMAC fsl_mac ffe4e4000.ethernet: FMan MAC address: 00:04:9f:03:43:77 fsl_mac ffe4e6000.ethernet: FMan MEMAC fsl_mac ffe4e6000.ethernet: FMan MAC address: 00:04:9f:03:43:78 fsl_mac ffe4e8000.ethernet: FMan MEMAC fsl_mac ffe4e8000.ethernet: FMan MAC address: 00:04:9f:03:43:79 fsl_dpa: FSL DPAA Ethernet driver () fsl_dpa: fsl_dpa: Probed interface eth0 fsl_dpa: fsl_dpa: Probed interface eth1 fsl_dpa: fsl_dpa: Probed interface eth2 fsl_dpa: fsl_dpa: Probed interface eth3 fsl_dpa: fsl_dpa: Probed interface eth4 ... |
Then:
cd /usr/etc
fmc -c usdpaa_config_t1_serdes_0x66.xml -p usdpaa_policy_hash_ipv4.xml -a
killall l2sw_bin
/etc/init.d/l2switch start
l2switch-cfg mac add 00:11:22:33:44:01 0 #(Add mac address to FDB of port 0)
l2switch-cfg mac add 00:11:22:33:55:01 1
l2switch-cfg mac add 00:11:22:33:44:02 2
l2switch-cfg mac add 00:11:22:33:55:02 3
l2switch-cfg mac add 00:11:22:33:44:03 4
l2switch-cfg mac add 00:11:22:33:55:03 4
l2switch-cfg mac add 00:04:9f:03:43:75 8 # replace <...> with real MAC address
l2switch-cfg mac add 00:04:9f:03:43:75 9 # replace <...> with real MAC address
l2switch-cfg mac dump
mac dump | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
------ --- ----------------- -----
Static entries: 7 Dynamic entries: 0 |
First "problem", my entry for port 8 is missing, but anyway. Then :
reflector 3 -c usdpaa_config_t1_serdes_0x66.xml -p usdpaa_policy_hash_ipv4.xml -d 0x10000000
Found /fsl,dpaa/dpa-fman0-oh@2, Tx Channel = 80a, FMAN = 0, Port ID = 1
apps/lib/usdpaa_netcfg_layer.c:577:usdpaa_netcfg_acquire(): fmc_netcfg_get_info()
error: failed to load configuration
I don't understand what I'm doing wrong...
Thank you
Hi
I updated Fman with fsl_fman_ucode_t1040_r1.0_107_4_2.bin and rcw with rcw_1400MHz. I
Fman1: Uploading microcode version 107.4.2
FSL_MDIO0:0 is connected to FM1@DTSEC1. Reconnecting to FM1@DTSEC2
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5
Hit any key to stop autoboot: 0
I reserved also some memory
nohvboot=tftp 1000000 $dir/$bootfile;tftp 2000000 $dir/$ramdiskfile;tftp c00000 $dir/$fdtfile;setenv bootargs root=/dev/ram rw console=ttyS0,115200 $othbootargs;bo;
I sill don't understand why it fails
root@t1040rdb:/usr/etc# reflector 3 -c usdpaa_config_t1_serdes_0x66.xml -p usdpaa_policy_hash_ipv4.xml -d 0x10000000
Found /fsl,dpaa/dpa-fman0-oh@2, Tx Channel = 80a, FMAN = 0, Port ID = 1
lib/syscfg/usdpaa_netcfg_layer.c:577:usdpaa_netcfg_acquire(): fmc_netcfg_get_info()
error: failed to load configuration
Thank you
Hi
Thank you for the answer. I still have error...
1) i gave some memory :
=> printenv
baudrate=115200
bdev=sda3
boot=run my_dtb my_fs my_kern my_boot
bootargs=root=/dev/ram rw console=ttyS0,115200 ramdisk_size=700000
bootcmd=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;bootm e8020000 e9300000 e8800000
bootdelay=3
bootfile=uImage
c=ffe
consoledev=ttyS0
eth1addr=00:04:9F:03:43:76
eth2addr=00:04:9F:03:43:77
eth3addr=00:04:9F:03:43:78
eth4addr=00:04:9F:03:43:79
eth5addr=00:04:9f:8e:7b:b4
ethact=FM1@DTSEC1
ethaddr=00:04:9F:03:43:75
ethprime=e1000#0
fdtaddr=c00000
fdtfile=uImage-t1040rdb.dtb
fileaddr=c00000
filesize=9a83
fman_ucode=eff00000
hvboot=setenv bootargs console=$consoledev,$baudrate config-addr=0xfe8900000;bootm 0xfe8700000 - 0xfe8800000
hwconfig=fsl_ddr:bank_intlv=cs0_cs1
ipaddr=192.168.2.105
kuryboot=tftp 0x4000000 core_edited/uRamdisk; tftp 0x1000000 core_edited/uImage--3.12-r0; tftp e8800000 core_edited/uImage--3.12-r0-t1040d4rdb.dtb; bootm 0x1000000 0x4000000 e8800000;
loadaddr=1000000
my_boot=bootm 0x1000000 0x2000000 0x0c00000
my_dtb=tftp 0x00c00000 uImage-t1040d4rdb.dtb
my_fs=tftp 0x2000000 kvm-image-extended-t1040d4rdb-64b-20151126101307.rootfs.ext4
my_kern=tftp 0x1000000 uImage_64bit.bin
netdev=eth0
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootr
nohvboot=tftp 1000000 $dir/$bootfile;tftp 2000000 $dir/$ramdiskfile;tftp c00000 $dir/$fdtfile;setenv bootargs root=/dev/ram rw console=ttyS0,115200 $othbootargs;bootm 1000000 2000000 c00000;
othbootargs=isolcpus=1-3 usdpaa_mem=256M bportals=s0 qportals=s0 fsl_fm_max_frm=9000
ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdr
ramdiskaddr=2000000
ramdiskfile=fsl-image-flash-t1040rdb.ext2.gz.u-boot
rootpath=/opt/nfsroot
serverip=192.168.2.22
tftpflash=tftpboot $loadaddr $uboot && protect off $ubootaddr +$filesize && erase $ubootaddr +$filesize && cp.b $loadaddr $ubootaddr $filesize && protect on $ubootaddr +$filesize && cmp.b $loadade
uboot=u-boot.bin
ubootaddr=0xeff40000
2) Yes I use the good udspaa.dtb... I took the original files provided on a usb key with the T1040.
tftp 0x4000000 sdk1.7_default/fsl-image-core-t1040rdb-64b-20141214121956.rootfs.uRamdisk
tftp 0x1000000 sdk1.7_default/uImage--3.12-r0-t1040rdb-64b-20141213100714.bin
tftp e8800000 sdk1.7_default/uImage--3.12-r0-t1040rdb-usdpaa-20141213100714.dtb
bootm 0x1000000 0x4000000 e8800000
My problem is the same as Reflector on P4080DS is not working
root@t1040rdb:/usr/etc# reflector 3 -c usdpaa_config_t1_serdes_0x66.xml -p usdpaa_policy_hash_ipv4.xml -d 0x10000000
Found /fsl,dpaa/dpa-fman0-oh@2, Tx Channel = 80a, FMAN = 0, Port ID = 1
apps/lib/usdpaa_netcfg_layer.c:577:usdpaa_netcfg_acquire(): fmc_netcfg_get_info()
error: failed to load configuration
The full log. I should see "fsl_dpa_proxy-proxy ethernet.18: probed MAC device with MAC address: 00:e0:0c:00:27:04" but it is not the case.
=> bootm 0x1000000 0x4000000 e8800000
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-3.12.19-rt30-QorIQ-SDK-V1.
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 5123378 Bytes = 4.9 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 04000000 ...
Image Name: Rootfs
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 30738030 Bytes = 29.3 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at e8800000
Booting using the fdt blob at 0xe8800000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 2e2af000, end 2ffff66e ... OK
Loading Device Tree to 03fe4000, end 03fffb65 ... OK
Warning: MAC address for l2switch not found
Using CoreNet Generic machine description
MMU: Supported page sizes
4 KB as direct
1024 KB as direct
2048 KB as direct
4096 KB as direct
16384 KB as direct
65536 KB as direct
262144 KB as direct
1048576 KB as direct
MMU: Book3E HW tablewalk not supported
Found initrd at 0xc00000002e2af000:0xc00000002ffff66e
No /soc@ffe000000/qman@318000 property 'fsl,qman-fqd', using memblock_alloc(0000000000400000)
No /soc@ffe000000/qman@318000 property 'fsl,qman-pfdr', using memblock_alloc(0000000002000000)
Qman ver:0a01,03,01,03
No /soc@ffe000000/bman@31a000 property 'fsl,bman-fbpr', using memblock_alloc(0000000001000000)
Bman ver:0a02,02,01
pme: No /soc@ffe000000/pme@316000 property 'fsl,pme-pdsr', using memblock_alloc(0x0000000001000000)
pme: No /soc@ffe000000/pme@316000 property 'fsl,pme-sre', using memblock_alloc(0x0000000000a00000)
No USDPAA memory, no 'usdpaa_mem' bootarg
bootconsole [udbg0] enabled
CPU maps initialized for 1 thread per core
Starting Linux PPC64 #1 SMP Sat Dec 13 18:31:15 HKT 2014
-----------------------------------------------------
ppc64_pft_size = 0x0
physicalMemorySize = 0x100000000
ppc64_caches.dcache_line_size = 0x40
ppc64_caches.icache_line_size = 0x40
-----------------------------------------------------
<- setup_system()
Linux version 3.12.19-rt30-QorIQ-SDK-V1.7+g6619b8b (jenkins@debian) (gcc version 4.8.1 (GCC) ) #1 SMP Sat Dec 13 18:31:15 HKT 2014
CF000012
Setup Arch
[boot]0012 Setup Arch
CoreNet Generic board from Freescale Semiconductor
Zone ranges:
DMA [mem 0x00000000-0x7fffffff]
Normal [mem 0x80000000-0xffffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x00000000-0xffffffff]
MMU: Allocated 2112 bytes of context maps for 255 contexts
CF000015
Setup Done
[boot]0015 Setup Done
PERCPU: Embedded 11 pages/cpu @c000000007900000 s15808 r0 d29248 u262144
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1034240
Kernel command line: root=/dev/ram rw console=ttyS0,115200 ramdisk_size=700000
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Sorting __ex_table...
Memory: 3940872K/4194304K available (8020K kernel code, 1148K rwdata, 2844K rodata, 348K init, 772K bss, 253432K reserved)
Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=24 to nr_cpu_ids=4.
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe040000, max 4 CPUs
mpic: ISU size: 512, shift: 9, mask: 1ff
mpic: Initializing for 512 sources
clocksource: timebase mult[1aaaaaab] shift[24] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 256
mpic: requesting IPIs...
e500 family performance monitor hardware support registered
Brought up 4 CPUs
devtmpfs: initialized
xor: measuring software checksum speed
8regs : 3197.000 MB/sec
8regs_prefetch: 2606.000 MB/sec
32regs : 3077.000 MB/sec
32regs_prefetch: 2740.000 MB/sec
xor: using function: 8regs (3197.000 MB/sec)
NET: Registered protocol family 16
Found FSL PCI host bridge at 0x0000000ffe240000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe240000 ranges:
MEM 0x0000000c00000000..0x0000000c0fffffff -> 0x00000000e0000000
IO 0x0000000ff8000000..0x0000000ff800ffff -> 0x0000000000000000
/pcie@ffe240000: PCICSRBAR @ 0xff000000
/pcie@ffe240000: Setup 64-bit PCI DMA window
/pcie@ffe240000: WARNING: Outbound window cfg leaves gaps in memory map. Adjusting the memory map could reduce unnecessary bounce buffering.
/pcie@ffe240000: DMA window size is 0xe0000000
Found FSL PCI host bridge at 0x0000000ffe250000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe250000 ranges:
MEM 0x0000000c10000000..0x0000000c1fffffff -> 0x00000000e0000000
IO 0x0000000ff8010000..0x0000000ff801ffff -> 0x0000000000000000
/pcie@ffe250000: PCICSRBAR @ 0xff000000
/pcie@ffe250000: Setup 64-bit PCI DMA window
/pcie@ffe250000: WARNING: Outbound window cfg leaves gaps in memory map. Adjusting the memory map could reduce unnecessary bounce buffering.
/pcie@ffe250000: DMA window size is 0xe0000000
Found FSL PCI host bridge at 0x0000000ffe260000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe260000 ranges:
MEM 0x0000000c20000000..0x0000000c2fffffff -> 0x00000000e0000000
IO 0x0000000ff8020000..0x0000000ff802ffff -> 0x0000000000000000
/pcie@ffe260000: PCICSRBAR @ 0xff000000
/pcie@ffe260000: Setup 64-bit PCI DMA window
/pcie@ffe260000: WARNING: Outbound window cfg leaves gaps in memory map. Adjusting the memory map could reduce unnecessary bounce buffering.
/pcie@ffe260000: DMA window size is 0xe0000000
Found FSL PCI host bridge at 0x0000000ffe270000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe270000 ranges:
MEM 0x0000000c30000000..0x0000000c3fffffff -> 0x00000000e0000000
IO 0x0000000ff8030000..0x0000000ff803ffff -> 0x0000000000000000
/pcie@ffe270000: PCICSRBAR @ 0xff000000
/pcie@ffe270000: Setup 64-bit PCI DMA window
/pcie@ffe270000: WARNING: Outbound window cfg leaves gaps in memory map. Adjusting the memory map could reduce unnecessary bounce buffering.
/pcie@ffe270000: DMA window size is 0xe0000000
software IO TLB [mem 0x07fcb000-0x0bfcb000] (64MB) mapped at [c000000007fcb000-c00000000bfcafff]
PCI: Probing PCI hardware
fsl-pci ffe240000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x0000-0xffff])
pci_bus 0000:00: root bus resource [mem 0xc00000000-0xc0fffffff] (bus address [0xe0000000-0xefffffff])
pci_bus 0000:00: root bus resource [bus 00]
pci 0000:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:00.0: PCI bridge to [bus 01-ff]
fsl-pci ffe250000.pcie: PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [io 0x21000-0x30fff] (bus address [0x0000-0xffff])
pci_bus 0001:00: root bus resource [mem 0xc10000000-0xc1fffffff] (bus address [0xe0000000-0xefffffff])
pci_bus 0001:00: root bus resource [bus 00]
pci 0001:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0001:00:00.0: PCI bridge to [bus 01-ff]
fsl-pci ffe260000.pcie: PCI host bridge to bus 0002:00
pci_bus 0002:00: root bus resource [io 0x32000-0x41fff] (bus address [0x0000-0xffff])
pci_bus 0002:00: root bus resource [mem 0xc20000000-0xc2fffffff] (bus address [0xe0000000-0xefffffff])
pci_bus 0002:00: root bus resource [bus 00]
pci 0002:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0002:00:00.0: PCI bridge to [bus 01-ff]
fsl-pci ffe270000.pcie: PCI host bridge to bus 0003:00
pci_bus 0003:00: root bus resource [io 0x43000-0x52fff] (bus address [0x0000-0xffff])
pci_bus 0003:00: root bus resource [mem 0xc30000000-0xc3fffffff] (bus address [0xe0000000-0xefffffff])
pci_bus 0003:00: root bus resource [bus 00]
pci 0003:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
pci 0003:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0003:00:00.0: PCI bridge to [bus 01-ff]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0: bridge window [io 0x10000-0x1ffff]
pci 0000:00:00.0: bridge window [mem 0xc00000000-0xc0fffffff]
pci 0001:00:00.0: PCI bridge to [bus 01]
pci 0001:00:00.0: bridge window [io 0x21000-0x30fff]
pci 0001:00:00.0: bridge window [mem 0xc10000000-0xc1fffffff]
pci 0002:00:00.0: PCI bridge to [bus 01]
pci 0002:00:00.0: bridge window [io 0x32000-0x41fff]
pci 0002:00:00.0: bridge window [mem 0xc20000000-0xc2fffffff]
pci 0003:00:00.0: PCI bridge to [bus 01]
pci 0003:00:00.0: bridge window [io 0x43000-0x52fff]
pci 0003:00:00.0: bridge window [mem 0xc30000000-0xc3fffffff]
bio: create slab <bio-0> at 0
raid6: int64x1 526 MB/s
raid6: int64x2 858 MB/s
raid6: int64x4 1177 MB/s
raid6: int64x8 975 MB/s
raid6: using algorithm int64x4 (1177 MB/s)
raid6: using intx1 recovery algorithm
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
EDAC MC: Ver: 3.0.0
Bman err interrupt handler present
Bman portal initialised, cpu 0
Bman portal initialised, cpu 1
Bman portal initialised, cpu 2
Bman portal initialised, cpu 3
Bman portals initialised
Qman err interrupt handler present
QMan: Allocated lookup table at 8000000000000000, entry count 65537
Qman portal initialised, cpu 0
Qman portal initialised, cpu 1
Qman portal initialised, cpu 2
Qman portal initialised, cpu 3
Qman portals initialised
Bman: BPID allocator includes range 32:32
Qman: FQID allocator includes range 256:512
Qman: FQID allocator includes range 32768:32768
Qman: CGRID allocator includes range 0:256
Qman: pool channel allocator includes range 1025:15
fsl-ifc ffe124000.localbus: Freescale Integrated Flash Controller
Switched to clocksource timebase
NET: Registered protocol family 2
TCP established hash table entries: 32768 (order: 7, 524288 bytes)
TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
TCP: reno registered
UDP hash table entries: 2048 (order: 4, 65536 bytes)
UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 30016K (c00000002e2af000 - c00000002ffff000)
HugeTLB registered 1 MB page size, pre-allocated 0 pages
HugeTLB registered 4 MB page size, pre-allocated 0 pages
HugeTLB registered 16 MB page size, pre-allocated 0 pages
HugeTLB registered 64 MB page size, pre-allocated 0 pages
HugeTLB registered 256 MB page size, pre-allocated 0 pages
HugeTLB registered 1 GB page size, pre-allocated 0 pages
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
NTFS driver 2.1.30 [Flags: R/O].
jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 7755
async_tx: api initialized (async)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Freescale Display Interface Unit (DIU) framebuffer driver
fsl_diu_perpare: Borad not support DIU. Can't dispaly video.
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0xffe11c500 (irq = 36, base_baud = 18750000) is a 16550A_FSL64
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0xffe11c600 (irq = 36, base_baud = 18750000) is a 16550A_FSL64
serial8250.0: ttyS2 at MMIO 0xffe11d500 (irq = 37, base_baud = 18750000) is a 16550A_FSL64
serial8250.0: ttyS3 at MMIO 0xffe11d600 (irq = 37, base_baud = 18750000) is a 16550A_FSL64
ePAPR hypervisor byte channel driver
brd: module loaded
loop: module loaded
st: Version 20101219, fixed bufsize 32768, s/g segs 256
fsl-sata ffe220000.sata: Sata FSL Platform/CSB Driver init
scsi0 : sata_fsl
ata1: SATA max UDMA/133 irq 68
fsl-sata ffe221000.sata: Sata FSL Platform/CSB Driver init
scsi1 : sata_fsl
ata2: SATA max UDMA/133 irq 69
fe8000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
ftl_cs: FTL header not found.
ONFI param page 0 valid
ONFI flash detected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron MT29F8G08ABABAWP), 1024MiB, page size: 4096, OOB size: 224
Bad block table found at page 262016, version 0x01
Bad block table found at page 261888, version 0x01
nand_read_bbt: bad block at 0x000009600000
nand_read_bbt: bad block at 0x00000c800000
4 ofpart partitions found on MTD device fff800000.flash
Creating 4 MTD partitions on "fff800000.flash":
0x000000000000-0x000000100000 : "NAND U-Boot Image"
ftl_cs: FTL header not found.
0x000000100000-0x000000200000 : "NAND DTB Image"
ftl_cs: FTL header not found.
0x000000200000-0x000000c00000 : "NAND Linux Kernel Image"
ftl_cs: FTL header not found.
0x000000c00000-0x000020000000 : "NAND RFS Image"
ftl_cs: FTL header not found.
fsl,ifc-nand fff800000.nand: IFC NAND device at 0xfff800000, bank 1
fsl_espi ffe110000.spi: master is unqueued, this is deprecated
m25p80 spi32766.0: n25q512ax3 (65536 Kbytes)
ftl_cs: FTL header not found.
fsl_espi ffe110000.spi: at 0x800008008012e000 (irq = 53)
libphy: Fixed MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
Freescale FM module (Dec 13 2014:18:27:16), FMD API version 21.1.0
Freescale FM Ports module (Dec 13 2014:18:27:21)
dpaa_debugfs: FSL DPAA Ethernet debugfs entries ()
dpaa_generic_debugfs: FSL DPAA Ethernet debugfs entries ()
fsl_mac: fsl_mac: FSL FMan MAC API based driver ()
fsl_mac ffe4e0000.ethernet: FMan MEMAC
fsl_mac ffe4e0000.ethernet: FMan MAC address: 00:04:9f:03:43:75
fsl_mac ffe4e2000.ethernet: FMan MEMAC
fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:03:43:76
fsl_mac ffe4e4000.ethernet: FMan MEMAC
fsl_mac ffe4e4000.ethernet: FMan MAC address: 00:04:9f:03:43:77
fsl_mac ffe4e6000.ethernet: FMan MEMAC
fsl_mac ffe4e6000.ethernet: FMan MAC address: 00:04:9f:03:43:78
fsl_mac ffe4e8000.ethernet: FMan MEMAC
fsl_mac ffe4e8000.ethernet: FMan MAC address: 00:04:9f:03:43:79
fsl_dpa: FSL DPAA Ethernet driver ()
fsl_dpa: fsl_dpa: Probed interface eth0
fsl_dpa: fsl_dpa: Probed interface eth1
fsl_dpa: fsl_dpa: Probed interface eth2
fsl_dpa: fsl_dpa: Probed interface eth3
fsl_dpa: fsl_dpa: Probed interface eth4
fsl_dpa_shared: FSL DPAA Shared Ethernet driver ()
fsl_dpa_proxy: FSL DPAA Proxy initialization driver ()
fsl_oh: FSL FMan Offline Parsing port driver ()
fsl_oh dpa-fman0-oh.24: Found OH node handle compatible with fsl,dpa-oh.
fsl_oh dpa-fman0-oh.24: Allocating 0 ingress frame queues duples
fsl_oh dpa-fman0-oh.24: OH port /soc@ffe000000/fman@400000/port@83000 enabled.
fsl_oh dpa-fman0-oh.24: Default egress frame queue: 105
fsl_oh dpa-fman0-oh.24: Default error frame queue: 104
fsl_oh dpa-fman0-oh.24: Initialized queues:
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
fsl-of-dma ffe100300.dma: dma channel dma-uio0-0 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-1 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-2 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-3 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-4 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-5 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-6 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-7 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-0 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-1 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-2 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-3 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-4 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-5 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-6 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-7 initialized
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
/soc@ffe000000/usb@210000: Invalid 'dr_mode' property, fallback to host mode
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 44, io mem 0xffe210000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ata1: No Device OR PHYRDY change,Hstatus = 0xa0000000
ata1: SATA link down (SStatus 10 SControl 300)
ata2: No Device OR PHYRDY change,Hstatus = 0x80000000
ata2: SATA link down (SStatus 10 SControl 300)
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 45, io mem 0xffe211000
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
i2c /dev entries driver
mpc-i2c ffe118000.i2c: timeout 1000000 us
mpc-i2c ffe118100.i2c: timeout 1000000 us
mpc-i2c ffe119000.i2c: timeout 1000000 us
mpc-i2c ffe119100.i2c: timeout 1000000 us
i2c i2c-1: Added multiplexed i2c bus 4
i2c i2c-1: Added multiplexed i2c bus 5
i2c i2c-1: Added multiplexed i2c bus 6
i2c i2c-1: Added multiplexed i2c bus 7
pca954x 1-0077: registered 4 multiplexed busses for I2C switch pca9546
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc@ffe000000/sdhc@114000: voltage-ranges unspecified
mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using ADMA
platform caam_qi.0: Linux CAAM Queue I/F driver initialised
caam ffe300000.crypto: Entropy delay = 3200
caam ffe300000.crypto: Instantiated RNG4 SH0
caam ffe300000.crypto: Instantiated RNG4 SH1
caam ffe300000.crypto: device ID = 0x0a12040000000000 (Era 6)
caam ffe300000.crypto: job rings = 4, qi = 1
caam algorithms registered in /proc/crypto
caam_jr ffe301000.jr: registering rng-caam
caam ffe300000.crypto: fsl,sec-v5.0 algorithms registered in /proc/crypto
platform caam_qi.0: fsl,sec-v5.0 algorithms registered in /proc/crypto
Freescale USDPAA process driver
fsl-usdpaa: no region found
Freescale USDPAA process IRQ driver
fsl-pme ffe316000.pme: ver: 0x00100202
Freescale pme2 db driver
Freescale pme2 scan driver
fsl-pme2-scan: device pme_scan registered
Freescale hypervisor management driver
fsl-hv: no hypervisor found
ipip: IPv4 over IPv4 tunneling driver
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
fsl_dpa_macless: FSL DPAA MACless Ethernet driver ()
fsl_dpa_generic: FSL DPAA Generic Ethernet driver ()
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
usb 1-1: new high-speed USB device number 2 using fsl-ehci
usb-storage 1-1:1.0: USB Mass Storage device detected
scsi2 : usb-storage 1-1:1.0
scsi 2:0:0:0: Direct-Access Kingston DT Ultimate G3 PMAP PQ: 0 ANSI: 6
sd 2:0:0:0: Attached scsi generic sg0 type 0
sd 2:0:0:0: [sda] 61472768 512-byte logical blocks: (31.4 GB/29.3 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 2:0:0:0: [sda] Attached SCSI removable disk
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 348K (c000000000aa3000 - c000000000afa000)
INIT: version 2.88 booting
Starting udev
udevd[1775]: starting version 182
seville ffe800000.l2switch: Found Seville Switch, UIO device - IRQ 26, id 0x099530e9.
seville MAC address not found
Starting Bootlog daemon: bootlogd.
Populating dev cache
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.all.rp_filter = 0
hwclock: can't open '/dev/misc/rtc': No such file or directory
Sun Dec 14 13:03:00 UTC 2014
hwclock: can't open '/dev/misc/rtc': No such file or directory
Running postinst /etc/rpm-postinsts/100-inetutils-inetd...
Running postinst /etc/rpm-postinsts/101-sysvinit-inittab...
Running postinst /etc/rpm-postinsts/102-util-linux-readprofile...
Running postinst /etc/rpm-postinsts/103-debianutils...
Running postinst /etc/rpm-postinsts/104-inetutils-tftpd...
Running postinst /etc/rpm-postinsts/105-inetutils-ftpd...
Running postinst /etc/rpm-postinsts/106-inetutils-telnetd...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
INIT: Entering runlevel: 5up links for run-postin
Configuring network interfaces... done.
Starting system message bus: dbus.
Starting Dropbear SSH server: Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDN8wSDXMiXBaQLXs1hnEfbxk6A/LD54h4DYirPD0xY6pnCLr8GOK0rVDWUUzQJRuIu3wQ82tXnpXVyt7AcNUiz7nCGF4ERUuc06y6iV4d2RC5Nkpih05JM9pDcZ4NbQP2rhKFgd1BlffHDWuImnNpi8/HGaAKb
Fingerprint: md5 00:54:12:49:b1:5c:9e:53:f3:56:65:01:28:e2:6f:42
dropbear.
Created /var/log/l2switch
l2switch: Started L2 Switch demo app version 0.4.0
Build Date: Dec 14 2014 20:48:42
GIT Version: fsl-sdk-v1.7-rc2-dirty
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting network benchmark server: netserver.
Starting system log daemon...0
Starting kernel log daemon...0
Starting internet superserver: xinetd.
Stopping Bootlog daemon: bootlogd.
Poky (Yocto Project Reference Distro) 1.6.1 t1040rdb /dev/ttyS0
Thank you
Suggestions:
1. Give USDPAA driver some memory, 256M recommended, by specifying usdpaa_mem=256M on the kernel parameter string. See the URL below:
2. Make sure USDPAA was assigned some ethernet interfaces in your Device Tree. The SDK has pre-configured examples. Should be
<your_board>-usdpaa.dtb. More details can be found here:
3. For the switch port problem, the missing one seems to be the second internal connection to FMAN, which is not enabled by default.
Attempt to enable by hand or move to the most recent SDK.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------