嵌入式爱好者

查看: 9528|回复: 8

[Linux] yocto BSP 4.1.15 on OKMX6Q

[复制链接]

3

主题

17

帖子

42

积分

扫一扫,手机访问本帖
发表于 2017-6-5 19:56:08 | 显示全部楼层 |阅读模式
将 BSP 升级到了 4.1.15。 优化了一下启动, 速度提高了一点点。


[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.15+gaf657e6 (root@debian) (gcc version 5.2.0 (GCC) ) #3 SMP PREEMPT Thu Jun 1 11:42:19 CST 2017
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Forlinx Embedded i.MX6 OKMX6Q Board
[    0.000000] Reserved memory: created CMA memory pool at 0x3a000000, size 320 MiB
[    0.000000] Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat 80686a00, node_mem_map bf657000
[    0.000000]   Normal zone: 2304 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 262144 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 11 pages/cpu @bf60a000 s15744 r8192 d21120 u45056
[    0.000000] pcpu-alloc: s15744 r8192 d21120 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 259840
[    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait ro init=/usr/bin/minit
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 702796K/1048576K available (4875K kernel code, 264K rwdata, 1300K rodata, 212K init, 388K bss, 18100K reserved, 327680K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
[    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
[    0.000000]       .text : 0x80008000 - 0x80610140   (6177 kB)
[    0.000000]       .init : 0x80611000 - 0x80646000   ( 212 kB)
[    0.000000]       .data : 0x80646000 - 0x80688028   ( 265 kB)
[    0.000000]        .bss : 0x8068b000 - 0x806ec02c   ( 389 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76070001
[    0.000000] mxc_clocksource_init 3000000
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000006] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000023] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.000981] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=6000)
[    0.000996] pid_max: default: 32768 minimum: 301
[    0.001106] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001118] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001716] Initializing cgroup subsys blkio
[    0.001732] Initializing cgroup subsys memory
[    0.001765] Initializing cgroup subsys devices
[    0.001778] Initializing cgroup subsys freezer
[    0.001791] Initializing cgroup subsys perf_event
[    0.001815] CPU: Testing write buffer coherency: ok
[    0.002100] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002167] Setting up static identity map for 0x10008280 - 0x100082d8
[    0.014225] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.018211] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.022238] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.022307] Brought up 4 CPUs
[    0.022327] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[    0.022335] CPU: All CPU(s) started in SVC mode.
[    0.022968] devtmpfs: initialized
[    0.032203] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.032487] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 3822520892550000 ns
[    0.050189] pinctrl core: initialized pinctrl subsystem
[    0.051246] NET: Registered protocol family 16
[    0.058095] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.058613] CPU identified as i.MX6Q, silicon rev 1.5
[    0.080081] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.080093] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.080716] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.089558] mxs-dma 110000.dma-apbh: initialized
[    0.091837] SCSI subsystem initialized
[    0.092097] usbcore: registered new inte**ce driver usbfs
[    0.092170] usbcore: registered new inte**ce driver hub
[    0.092292] usbcore: registered new device driver usb
[    0.093085] i2c i2c-0: IMX I2C adapter registered
[    0.093103] i2c i2c-0: can't use DMA
[    0.093907] i2c i2c-1: IMX I2C adapter registered
[    0.093922] i2c i2c-1: can't use DMA
[    0.094399] i2c i2c-2: IMX I2C adapter registered
[    0.094413] i2c i2c-2: can't use DMA
[    0.094542] Linux video capture inte**ce: v2.00
[    0.094588] pps_core: LinuxPPS API ver. 1 registered
[    0.094596] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.094620] PTP clock support registered
[    0.097731] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[    0.101726] imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[    0.102871] Advanced Linux Sound Architecture Driver Initialized.
[    0.104136] Switched to clocksource mxc_timer1
[    0.105414] NET: Registered protocol family 2
[    0.106190] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.106279] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.106423] TCP: Hash tables configured (established 8192 bind 8192)
[    0.106584] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.106626] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.106822] NET: Registered protocol family 1
[    0.107141] CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
[    0.107188] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.109949] Bus freq driver module loaded
[    0.110889] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.110975] audit: initializing netlink subsys (disabled)
[    0.111029] audit: type=2000 audit(0.110:1): initialized
[    0.118364] ntfs: driver 2.1.32 [Flags: R/W].
[    0.121931] alg: No test for stdrng (krng)
[    0.122344] io scheduler noop registered
[    0.122355] io scheduler deadline registered
[    0.122406] io scheduler cfq registered (default)
[    0.123222] backlight supply power not found, using dummy regulator
[    0.126868] mxc_sdc_fb fb@0: registered mxc display driver lcd
[    0.137491] mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
[    0.137518] fbcvt: 1920x1080@60: CVT Name - 2.073M9
[    0.137622] mxc_sdc_fb fb@1: registered mxc display driver hdmi
[    0.142724] mxc_sdc_fb fb@2: registered mxc display driver ldb
[    0.145734] imx-sdma 20ec000.sdma: no iram assigned, using external mem
[    0.146337] imx-sdma 20ec000.sdma: no event needs to be remapped
[    0.146722] imx-sdma 20ec000.sdma: loaded firmware 3.3
[    0.149286] imx-sdma 20ec000.sdma: initialized
[    0.150936] pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
[    0.151545] pfuze100-regulator 1-0008: FAB: 0, FIN: 0
[    0.151558] pfuze100-regulator 1-0008: pfuze100 found.
[    0.166625] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 25, base_baud = 5000000) is a IMX
[    0.167244] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 296, base_baud = 5000000) is a IMX
[    0.167702] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 297, base_baud = 5000000) is a IMX
[    0.168217] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 298, base_baud = 5000000) is a IMX
[    0.169939] spi_imx 200c000.ecspi: probed
[    0.170521] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.170530] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.170618] usbcore: registered new inte**ce driver usb-storage
[    0.171105] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
[    0.171232] i2c /dev entries driver
[    0.172504] ov5640 thread probe +
[    0.172599] ov5640 thread probe -
[    0.173447] imx2-wdt 20c0000.wdog: use WDOG_B to reboot.
[    0.173771] imx2-wdt 20c0000.wdog: timeout 60 sec (nowayout=0)
[    0.174049] sdhci: Secure Digital Host Controller Inte**ce driver
[    0.174057] sdhci: Copyright(c) Pierre Ossman
[    0.174064] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.174925] /soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified
[    0.175406] sdhci-esdhc-imx 219c000.usdhc: No vmmc regulator found
[    0.175420] sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found
[    0.206168] mmc0: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
[    0.207548] mxc_vpu 2040000.vpu_fsl: VPU initialized
[    0.209730] camera ov5640 is found
[    0.212217] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
[    0.213103] Galcore version 5.0.11.41671
[    0.248703] fsl-asrc 2034000.asrc: driver registered
[    0.250585] NET: Registered protocol family 10
[    0.251571] NET: Registered protocol family 17
[    0.263568] VGEN1: disabling
[    0.264057] SWBST: disabling
[    0.264512] SW4: disabling
[    0.264522] sensor-supply: disabling
[    0.264529] wm8962-supply: disabling
[    0.264536] usb_h1_vbus: disabling
[    0.264543] usb_otg_vbus: disabling
[    0.264730] ALSA device list:
[    0.264736]   No soundcards found.
[    0.264821] Warning: unable to open an initial console.
[    0.264858] Waiting for root device /dev/mmcblk0p1...
[    0.272704] mmc0: MAN_BKOPS_EN bit is not set
[    0.292201] mmc0: new DDR MMC card at address 0001
[    0.292673] mmcblk0: mmc0:0001 SEM08G 7.28 GiB
[    0.292804] mmcblk0boot0: mmc0:0001 SEM08G partition 1 2.00 MiB
[    0.292927] mmcblk0boot1: mmc0:0001 SEM08G partition 2 2.00 MiB
[    0.293047] mmcblk0rpmb: mmc0:0001 SEM08G partition 3 2.00 MiB
[    0.293934]  mmcblk0: p1 p2 p3
[    0.300308] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    0.300343] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[    0.301034] devtmpfs: mounted
[    0.301434] Freeing unused kernel memory: 212K (80611000 - 80646000)

[    0.762000] camera 1st draw

.

回复

使用道具 举报

2

主题

7

帖子

24

积分

i.MX6UL通行证i.MX6Q通行证

发表于 2017-6-5 20:48:38 | 显示全部楼层
网卡能正常使用?
点评回复 支持 反对

使用道具 举报

3

主题

17

帖子

42

积分

 楼主| 发表于 2017-6-5 21:02:25 | 显示全部楼层
网卡一直就没有不好用啊。
点评回复 支持 反对

使用道具 举报

2

主题

10

帖子

34

积分

i.MX6UL通行证i.MX6Q通行证

发表于 2017-6-9 13:42:33 | 显示全部楼层
这速度,很快啊,要是写了优化文档,能否共享下啊?
点评回复 支持 反对

使用道具 举报

3

主题

17

帖子

42

积分

 楼主| 发表于 2017-6-26 22:25:16 | 显示全部楼层
修改了一下 ov5640, 速度有少量提升。

[    0.582000] camera 1st draw
点评回复 支持 反对

使用道具 举报

0

主题

1

帖子

20

积分

i.MX6UL通行证i.MX6Q通行证

发表于 2017-9-6 14:20:27 | 显示全部楼层
楼主, 你有 yocto BSP 4.1.15 on OKMX6Q 相关的教程吗?
点评回复 支持 反对

使用道具 举报

1

主题

3670

帖子

4159

积分

发表于 2017-9-6 17:33:45 | 显示全部楼层
scaborough 发表于 2017-6-26 22:25
修改了一下 ov5640, 速度有少量提升。

[    0.582000] camera 1st draw

您好:
    希望楼主贴一下移植文档,给大家分享一下:handshake
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

9

主题

18

帖子

42

积分

i.MX6Q通行证

发表于 2018-3-1 17:39:08 | 显示全部楼层
看起来很厉害的样子,建议作者分享给大家学习一下。
点评回复 支持 反对

使用道具 举报

1

主题

2

帖子

19

积分

i.MX6Q通行证XX18通行证

发表于 2018-8-17 09:21:43 | 显示全部楼层
启动速度这么牛逼么????? 楼主能否分享下教程
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-26 05:28

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表