class="markdown_views prism-dracula">
参考
T2080RDB-PC uboot 引导 Linux 内核启动
Freescale Layerscape 嵌入式系统构建笔记
系统内存空间分配
CCSR,
*archpowerpcincludeasmconfig_mpc85xx.h line921
相对于T2080-RDB,删除了NAND,扩大PCIe4的Mem Space到2GB(待试验),CPLD为4KB(LAW 4KB,AMASK 16KB,取小)
开始 |
结束 |
定义 |
长度 |
0xFFFDF0000
0xFFFDFFFFF
IFC-CPLD
4KB
0xFFE000000
0xFFEFFFFFF
CCSR
16MB
0xFFD000000
0xFFDFFFFFF
IFC-FPGA
16MB
0xFF8030000
0xFF803FFFF
PCIe4 IO Space
64KB
0xFF8020000
0xFF802FFFF
PCIe3 IO Space
64KB
0xFF8010000
0xFF801FFFF
PCIe2 IO Space
64KB
0xFF8000000
0xFF800FFFF
PCIe1 IO Space
64KB
0xFF6000000
0xFF7FFFFFF
QMan
32MB
0xFF4000000
0xFF5FFFFFF
BMan
32MB
0xFE0000000
0xFEFFFFFFF
IFC-NOR
256MB
0xFD0000000
0xFDFFFFFFF
IFC-FPGA-BPI-NOR
256MB
0xF00000000
0xF003FFFFF
DCSR
4MB
0xC40000000
0xC4FFFFFFF
PCIe4 Mem Space
256MB
0xC30000000
0xC3FFFFFFF
PCIe3 Mem Space/RapidIO2
256MB
0xC20000000
0xC2FFFFFFF
PCIe2 Mem Space/RapidIO1
256MB
0xC00000000
0xC1FFFFFFF
PCIe1 Mem Space
512MB
0x000000000
0x0FFFFFFFF
DDR
4GB
u-boot
Nor Flash地址空间分配
256MB按如下分配,
开始 |
结束 |
文件 |
长度 |
0xEFF40000
0xEFFFFFFF
u-boot
768K
0xEFF20000
0xEFF3FFFF
u-boot环境变量
128K
0xEFF00000
0xEFF1FFFF
FMan microcode
128K
0xEF620000
0xEFEFFFFF
kernel
8M + 896K
0xEF600000
0xEF61FFFF
设备树
128K
0xE0020000
0xEF5FFFFF
根文件系统
245M + 896K
0xE0000000
0xE001FFFF
RCW
128K
DDR
DDR主时钟修改,开发板133.33MHz,修改相关宏为66.66MHz,采用QCVS重新生成DDR初始化代码,
网络
网络配置,
不从i2c读取MAC
#define CONFIG_ID_EEPROM
在
* 2080u-boot-qoriq-v2.0includeconfigsT208xRDB.h
line652配置千兆网phy地址,
#define RGMII_PHY1_ADDR 0x07
#define RGMII_PHY2_ADDR 0x06
在
*u-boot-qoriq-v2.0archpowerpcincludeasmconfig.h
line102,可以看到CONFIG_PHYLIB在这里使能,所以menuconfig没有配置,
#if defined(CONFIG_FMAN_ENET)
#define CONFIG_PHYLIB
#endif
万兆网走光纤,没有phy,看一下T2080 u-boot的网络初始化过程,用fixed phy驱动取代开发板上的phy。
mac_read_from_eeprom
initr_ethaddr
initr_net
eth_initialize
board_eth_init
cpu_eth_init
fm_standard_init
fm_eth_initialize
fm_eth_init_mac
fm_eth_startup
init_phy
phy_connect
phy_find_by_mask
get_phy_device_by_mask
search_for_existing_phy
create_phy_by_mask
get_phy_id
phy_device_create
phy_connect_dev
phy_reset
phy_config
eth_register
设置环境变量,
=>setenv ipaddr <board_ipaddress>
=>setenv serverip <tftp_serverip>
=>setenv gatewayip <your_gatewayip>
=>setenv ethaddr 00:04:9F:03:6B:10
=>setenv eth1addr 00:04:9F:03:6B:11
=>setenv eth2addr 00:04:9F:03:6B:12
=>setenv eth3addr 00:04:9F:03:6B:13
=>setenv eth4addr 00:04:9F:03:6B:14
=>setenv eth5addr 00:04:9F:03:6B:15
=>setenv eth6addr 00:04:9F:03:6B:16
=>setenv eth7addr 00:04:9F:03:6B:17
=>setenv eth8addr 00:04:9F:03:6B:18
=>setenv eth9addr 00:04:9F:03:6B:29
=>setenv ethprime <ethx>
=>setenv ethact <ethx>
=>setenv netmask 255.255.x.x
=>saveenv
Nor Flash
Nor Flash容量扩大,128MB增加到256MB,修改IFC宏,u-boot cp命令没有显示扇区地址,修改源代码添加这个打印。
NAND FLASH
没有Nand,注释
T2080RDB.h
相关宏,删除LAW,TLB,
*oardfreescale 208xrdblaw.c
*oardfreescale 208xrdb lb.c
CPLD/FPGA
更改配置头文件
T2080RDB.h
宏定义,
cpu_init_early_f archpowerpccpumpc85xxcpu_init_early.c
init_laws archpowerpccpumpc8xxxlaw.c
law_table boardfreescale 208xrdblaw.c
init_tlbs archpowerpccpumpc85xx lb.c
tlb_table boardfreescale 208xrdb lb.c
cpu_init_f archpowerpccpumpc85xxcpu_init.c
init_early_memctl_regs driversmiscfsl_ifc.c
I2C
取消从EEPROM中读取MAC,取消VID电压控制,
万兆网
万兆网使用光口时,u-boot hwconfig环境变量需要配置,
hwconfig = fsl_ddr:ctlr_intlv=cacheline,bank_intlv=cs0_cs1;fsl_fm1_xaui_phy:xfi
uboot开机打印
经过上面的修改,uboot所有的开机打印警告消除,
U-Boot 2016.09-fdk-1.0.0-20190116.1935 (Mar 08 2019 - 16:12:07 +0800)
CPU0: T2080, Version: 1.1, (0x85300011)
Core: e6500, Version: 2.0, (0x80400120)
Clock Configuration:
CPU0:1799.820 MHz, CPU1:1799.820 MHz, CPU2:1799.820 MHz, CPU3:1799.820 MHz,
CCB:599.940 MHz,
DDR:799.920 MHz (1599.840 MT/s data rate) (Asynchronous), IFC:599.940 MHz
FMAN1: 699.930 MHz
QMAN: 299.970 MHz
PME: 599.940 MHz
L1: D-cache 32 KiB enabled
I-cache 32 KiB enabled
Reset Configuration Word (RCW):
00000000: 120c001b 15000000 00000000 00000000
00000010: 662d0002 00000000 ec027000 c1000000
00000020: 00800000 00000000 00000000 000307fc
00000030: 00000000 00000000 00000000 00000004
I2C: ready
SPI: ready
DRAM: Configuring Fixed DDR for 1599.840 MT/s data rate
2 GiB left unmapped
4 GiB (DDR3, 64-bit, CL=11, ECC on)
Flash: 256 MiB
L2: 2 MiB enabled
Corenet Platform Cache: 512 KiB enabled
Using SERDES1 Protocol: 102 (0x66)
Using SERDES2 Protocol: 45 (0x2d)
MMC: FSL_SDHC: 0
PCIe1: disabled
PCIe2: disabled
PCIe3: disabled
PCIe4: Root Complex, no link, regs @ 0xfe270000
PCIe4: Bus 00 - 00
In: serial
Out: serial
Err: serial
Net: Fman1: Uploading microcode version 106.4.18
FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@TGEC1, FM1@TGEC2, FM1@TGEC3, FM1@TGEC4
Hit any key to stop autoboot: 0
T2080>
设备树
IFC
Nor长度增大,去除nand,增加CPLD长度,
linux内核
menuconfig
打开jffs2,ext4,fuse,net phy,phy subsystem,NVMe,uio,rapidio配置,修改ramdisk,spi-nor配置,
USB
如果没有USB_CLKIN信号,写USB控制寄存器处理器会卡死,如果没有PHY时钟,使用USBx_CONTROL[PHY_CLK_VALID]位来检测USB PHY时钟,此处需要修改内核或者设备树,否则linux会hang住,
CONFIG_DEBUG_SECTION_MISMATCH
待分析,
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
网络
文件
*drivers
etethernetfreescalesdk_dpaamac.c
中获取mac地址,可以在u-boot中设置,
mac_addr = of_get_mac_address(mac_node);
if (unlikely(mac_addr == NULL)) {
dev_err(dev, "of_get_mac_address(%s) failed
",
mac_node->full_name);
_errno = -EINVAL;
goto _return_dev_set_drvdata;
}
memcpy(mac_dev->addr, mac_addr, sizeof(mac_dev->addr));
内核启动打印
Reserved memory: initialized node bman-fbpr, compatible id fsl,bman-fbpr
Reserved memory: initialized node qman-fqd, compatible id fsl,qman-fqd
Reserved memory: initialized node qman-pfdr, compatible id fsl,qman-pfdr
Reserved memory: initialized node pme-pdsr, compatible id fsl,pme-pdsr
Reserved memory: initialized node pme-sre, compatible id fsl,pme-sre
Using CoreNet Generic machine description
MMU: Supported page sizes
4 KB as direct
2048 KB as direct & indirect
4096 KB as direct
16384 KB as direct
65536 KB as direct
262144 KB as direct
1048576 KB as direct
MMU: Book3E HW tablewalk enabled
bootconsole [udbg0] enabled
CPU maps initialized for 2 threads per core
Starting Linux PPC64
-----------------------------------------------------
ppc64_pft_size = 0x0
phys_mem_size = 0x100000000
dcache_line_size = 0x40
icache_line_size = 0x40
cpu_features = 0x00180480581802c8
possible = 0x00180480581802c8
always = 0x00180400581802c0
cpu_user_features = 0xdc008000 0x08000000
mmu_features = 0x000a0010
firmware_features = 0x0000000000000000
-----------------------------------------------------
<- setup_system()
Linux version 4.1.35-rt41-fdk-1.0.0-20190116.1935 (zc@ubuntu) (gcc version 4.9.2 (GCC) )
CoreNet Generic board
Zone ranges:
DMA [mem 0x0000000000000000-0x000000007fffffff]
DMA32 empty
Normal [mem 0x0000000080000000-0x00000000ffffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000000000-0x00000000ffffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x00000000ffffffff]
MMU: Allocated 2112 bytes of context maps for 255 contexts
PERCPU: Embedded 17 pages/cpu @c0000000ffe00000 s28760 r0 d40872 u131072
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1034240
Kernel command line: rootfstype=jffs2 noinitrd root=/dev/mtdblock1 rw console=ttyS0,115200
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 28672 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 65536 bytes
early log buf free: 12064(73%)
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: 3965336K/4194304K available (8332K kernel code, 1168K rwdata, 3060K rodata, 368K init, 767K bss, 228968K reserved, 0K cma-reserved)
Hierarchical RCU implementation.
RCU debugfs-based tracing is enabled.
CONFIG_RCU_FANOUT set to non-default value of 32
Additional per-CPU info printed with stalls.
RCU restricting CPUs from NR_CPUS=24 to nr_cpu_ids=8.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe040000, max 8 CPUs
mpic: ISU size: 512, shift: 9, mask: 1ff
mpic: Initializing for 512 sources
clocksource timebase: mask: 0xffffffffffffffff max_cycles: 0x8a5d528ca, max_idle_ns: 440795203517 ns
clocksource: timebase mult[1aab5972] shift[24] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
e6500 family performance monitor hardware support registered
Brought up 8 CPUs
devtmpfs: initialized
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
xor: measuring software checksum speed
8regs : 3563.000 MB/sec
8regs_prefetch: 3152.000 MB/sec
32regs : 3005.000 MB/sec
32regs_prefetch: 2657.000 MB/sec
altivec : 5638.000 MB/sec
xor: using function: altivec (5638.000 MB/sec)
NET: Registered protocol family 16
Bman ver:0a02,02,01
qman-fqd addr 0x00000000ff000000 size 0x800000
qman-pfdr addr 0x00000000fc000000 size 0x2000000
Qman ver:0a01,03,01,02
Machine: fsl,T2080RDB
SoC family: QorIQ T2080
SoC ID: svr:0x85300011, Revision: 1.1
Found FSL PCI host bridge at 0x0000000ffe270000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe270000 ranges:
MEM 0x0000000c40000000..0x0000000c4fffffff -> 0x00000000e0000000
IO 0x0000000ff8030000..0x0000000ff803ffff -> 0x0000000000000000
/pcie@ffe270000: PCICSRBAR @ 0xff000007
setup_pci_atmu: end of DRAM 100000000
/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
EDAC PCI0: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV ffe270000.pcie (INTERRUPT)
MPC85xx_edac acquired irq 23 for PCI Err
MPC85xx_edac PCI err registered
platform ffe270000.pcie:pcie@0: Invalid size 0xfffff9 for dma-range
software IO TLB [mem 0xf2e00000-0xf6e00000] (64MB) mapped at [c0000000f2e00000-c0000000f6dfffff]
PCI: Probing PCI hardware
fsl-pci ffe270000.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 0xc40000000-0xc4fffffff] (bus address [0xe0000000-0xefffffff])
pci_bus 0000:00: root bus resource [bus 00]
pci 0000:00:00.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:00.0: PCI bridge to [bus 01-ff]
pci 0000:00:00.0: BAR 6: no space for [mem size 0x01000000 pref]
pci 0000:00:00.0: BAR 6: failed to assign [mem size 0x01000000 pref]
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 0xc40000000-0xc4fffffff]
raid6: altivecx1 gen() 1111 MB/s
raid6: altivecx2 gen() 1849 MB/s
raid6: altivecx4 gen() 3049 MB/s
raid6: altivecx8 gen() 2964 MB/s
raid6: int64x1 gen() 518 MB/s
raid6: int64x1 xor() 763 MB/s
raid6: int64x2 gen() 872 MB/s
raid6: int64x2 xor() 921 MB/s
raid6: int64x4 gen() 1334 MB/s
raid6: int64x4 xor() 1020 MB/s
raid6: int64x8 gen() 1163 MB/s
raid6: int64x8 xor() 827 MB/s
raid6: using algorithm altivecx4 gen() 3049 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
PTP clock support registered
EDAC MC: Ver: 3.0.0
bman-fbpr addr 0x00000000fe000000 size 0x1000000
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 portal initialised, cpu 4
Bman portal initialised, cpu 5
Bman portal initialised, cpu 6
Bman portal initialised, cpu 7
Bman portals initialised
Qman err interrupt handler present
QMan: Allocated lookup table at 8000000000002000, entry count 131073
Qman portal initialised, cpu 0
Qman portal initialised, cpu 1
Qman portal initialised, cpu 2
Qman portal initialised, cpu 3
Qman portal initialised, cpu 4
Qman portal initialised, cpu 5
Qman portal initialised, cpu 6
Qman portal initialised, cpu 7
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
No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
fsl-ifc ffe124000.localbus: Freescale Integrated Flash Controller
fsl-ifc ffe124000.localbus: IFC version 1.3, 8 banks
Switched to clocksource timebase
NET: Registered protocol family 2
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
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.
futex hash table entries: 2048 (order: 5, 131072 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1.468:1): initialized
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.32 [Flags: R/O].
jffs2: version 2.2. (NAND) (SUMMARY) 漏 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
console [ttyS0] disabled
serial8250.0: ttyS0 at MMIO 0xffe11c500 (irq = 36, base_baud = 18748125) is a 16550A
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [udbg0] disabled
bootconsole [udbg0] disabled
serial8250.0: ttyS1 at MMIO 0xffe11c600 (irq = 36, base_baud = 18748125) is a 16550A
serial8250.0: ttyS2 at MMIO 0xffe11d500 (irq = 37, base_baud = 18748125) is a 16550A
serial8250.0: ttyS3 at MMIO 0xffe11d600 (irq = 37, base_baud = 18748125) is a 16550A
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
scsi host0: sata_fsl
ata1: SATA max UDMA/133 irq 68
fsl-sata ffe221000.sata: Sata FSL Platform/CSB Driver init
scsi host1: sata_fsl
ata2: SATA max UDMA/133 irq 69
fe0000000.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.5.
number of CFI chips: 1
7 ofpart partitions found on MTD device fe0000000.nor
Creating 7 MTD partitions on "fe0000000.nor":
0x000000000000-0x000000020000 : "rcw"
ftl_cs: FTL header not found.
0x000000020000-0x00000f600000 : "rootfs"
ftl_cs: FTL header not found.
0x00000f600000-0x00000f620000 : "dtb"
ftl_cs: FTL header not found.
0x00000f620000-0x00000ff00000 : "kernel"
ftl_cs: FTL header not found.
0x00000ff00000-0x00000ff20000 : "fman"
ftl_cs: FTL header not found.
0x00000ff20000-0x00000ff40000 : "bootenv"
ftl_cs: FTL header not found.
0x00000ff40000-0x00000ff60000 : "boot"
ftl_cs: FTL header not found.
fsl_espi ffe110000.spi: at 0x800008008099e000 (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
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, FMD API version 21.1.0
Freescale FM Ports module
fsl_mac: fsl_mac: FSL FMan MAC API based driver
fsl_mac ffe4e0000.ethernet: FMan MEMAC
fsl_mac ffe4e0000.ethernet: FMan MAC address: 52:bf:a2:a5:ff:1d
fsl_mac ffe4e2000.ethernet: FMan MEMAC
fsl_mac ffe4e2000.ethernet: FMan MAC address: 5a:b7:8b:df:73:11
fsl_mac ffe4e4000.ethernet: FMan MEMAC
fsl_mac ffe4e4000.ethernet: FMan MAC address: 2e:9d:71:d1:29:16
fsl_mac ffe4e6000.ethernet: FMan MEMAC
fsl_mac ffe4e6000.ethernet: FMan MAC address: 26:95:58:ab:a5:1a
fsl_mac ffe4f0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@f0000) failed
fsl_mac: probe of ffe4f0000.ethernet failed with error -22
fsl_mac ffe4f2000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@f2000) failed
fsl_mac: probe of ffe4f2000.ethernet failed with error -22
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,dpaa:ethernet@8: dev_get_drvdata(ffe4f0000.ethernet) failed
fsl_dpa: probe of fsl,dpaa:ethernet@8 failed with error -22
fsl_dpa fsl,dpaa:ethernet@9: dev_get_drvdata(ffe4f2000.ethernet) failed
fsl_dpa: probe of fsl,dpaa:ethernet@9 failed with error -22
fsl_advanced: FSL DPAA Advanced drivers:
fsl_proxy: FSL DPAA Proxy initialization driver
fsl_dpa_shared: FSL DPAA Shared Ethernet driver
fsl_dpa_macless: FSL DPAA MACless Ethernet driver
fsl_oh: FSL FMan Offline Parsing port driver
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2014 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
fsl-of-srio ffe0c0000.rapidio: Rapidio UIO driver initialized
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
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
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software
EDAC MC0: Giving out device to module MPC85xx_edac controller mpc85xx_mc_err: DEV mpc85xx_mc_err (INTERRUPT)
MPC85xx_edac acquired irq 490 for MC
MPC85xx_edac MC err registered
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc ffe114000.sdhc: No vmmc regulator found
sdhci-esdhc ffe114000.sdhc: No vqmmc regulator found
ata1: No Device OR PHYRDY change,Hstatus = 0x80000000
ata1: SATA link down (SStatus 10 SControl 300)
ata2: No Device OR PHYRDY change,Hstatus = 0x80000000
ata2: SATA link down (SStatus 10 SControl 300)
mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using ADMA 64-bit
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Freescale USDPAA process driver
fsl-usdpaa: no region found
Freescale USDPAA process IRQ driver
dce_sys_init done!
fsl-dce ffe312000.dce: Device /soc@ffe000000/dce@312000 initialized ver: 0x0af00101
fsl-pme ffe316000.pme: ver: 0x00100201
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
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_generic: FSL DPAA Generic Ethernet driver
hctosys: unable to open rtc device (rtc0)
md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
VFS: Mounted root (jffs2 filesystem) on device 31:1.
devtmpfs: mounted
Freeing unused kernel memory: 368K (c000000000b27000 - c000000000b83000)
INIT: version 2.88 booting
Starting udev
udevd[1191]: starting version 182
fsl_dpa fsl,dpaa:ethernet@0 fm1-mac1: renamed from eth0
fsl_dpa fsl,dpaa:ethernet@1 fm1-mac2: renamed from eth1
udevd[1354]: renamed network interface eth0 to fm1-mac1
fsl_dpa fsl,dpaa:ethernet@2 fm1-mac3: renamed from eth2
udevd[1355]: renamed network interface eth1 to fm1-mac2
bootlogd: cannot allocate pseudo tty: No such file or directory
udevd[1356]: renamed network interface eth2 to fm1-mac3
fsl_dpa fsl,dpaa:ethernet@3 fm1-mac4: renamed from eth3
udevd[1357]: renamed network interface eth3 to fm1-mac4
random: dd urandom read with 10 bits of entropy available
hwclock: can't open '/dev/misc/rtc': No such file or directory
Thu Sep 20 10:49:01 UTC 2018
INIT: Entering runlevel: 5misc/r
Configuring network interfaces... done.
Starting OpenBSD Secure Shell server: sshd
done.
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.
QorIQ SDK (FSL Reference Distro) 2.0 t2080rdb /dev/ttyS0
t2080rdb login:
测试
测试发现,总是报这个
Segmentation fault
,后定位是文件错误,原因待定位啊,每次都是在4727这个位置出错,文件大小是对的。
root@t2080rdb:~
iperf3[2016]: unhandled signal 11 at 0000000000000008 nip 00003fffa474f860 lr 00003fffa4746d38 code 30001
Segmentation fault
root@t2080rdb:~
4727 25 0
4728 0 25
4740 20 0
4741 3 20
4742 121 3
4743 340 121
4744 0 340
4747 16 0