Nobody any idea?
 
Gesendet: Montag, 06. Juni 2016 um 20:13 Uhr
Von: "Holger Bach" <[email protected]>
An: [email protected]
Betreff: [meta-ti] Cannot boot from mmc; dtb-problem?
 
 
Gesendet: Montag, 06. Juni 2016 um 07:59 Uhr
Von: "Holger Bach" <[email protected]>
An: [email protected], [email protected]
Betreff: Cannot boot from mmc; dtb-problem?
Hello,

I'm pretty new to yocto and trying to build an image for my beagleboard BB-MB-000 Rev.C4. I am using poky and the meta-ti-layer but i cannot get the rootfs from mmcblk0p2.

A workaround was to boot an old anstrom-demo-image from http://downloads.angstrom-distribution.org/demo/beagleboard/

and flashing the poky-rootfs to nand. Booting from Nand is working, but device fb0 was not found.

Therefore it seems, that the device tree doesn't fit to the board. I have tried kernel 4.4.7, 4.4.9, 4.4.11 and finally 4.1.18 with the same result. I
customized nothing, only build an uImage by bitbake and a core-image-sato.

And here comes the output from the boot process with a lot of messages saying that some hardware is disabled:

Starting kernel ...
 
[    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.18-g6b41ca0b94 (holger@thinkdebian) (gcc
version 5.3.0 (GCC) ) #1 SMP PREEMPT Thu Jun 2 22:40:20 CEST 206
[    0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[    0.000000] Machine model: TI OMAP3 BeagleBoard
[    0.000000] cma: Reserved 24 MiB at 0x8e000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
[    0.000000] PERCPU: Embedded 12 pages/cpu @cfb5c000 s17164 r8192 d23796
u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total
pages: 64448
[    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2
rootwait rw rootfstype=ext4 mpurate=auto buddy=zippy camer0
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 222560K/260096K available (6455K kernel code, 498K
rwdata, 2364K rodata, 376K init, 256K bss, 12960K reserved, 245)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08a5064   (8821 kB)
[    0.000000]       .init : 0xc08a6000 - 0xc0904000   ( 376 kB)
[    0.000000]       .data : 0xc0904000 - 0xc0980970   ( 499 kB)
[    0.000000]        .bss : 0xc0983000 - 0xc09c3030   ( 257 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96
interrupts
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[    0.000000] omap_hwmod: mpu: _wait_target_ready failed: -22
[    0.000000] omap_hwmod: mpu: cannot be enabled for reset (3)
[    0.000000] OMAP clockevent source: timer12 at 32768 Hz
[    0.000000] clocksource 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 58327039986419 ns
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every
65535999984741ns
[    0.000030] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000335] Console: colour dummy device 80x30
[    0.000366] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[    0.000396] This ensures that you still see kernel messages. Please
[    0.000396] update your kernel commandline.
[    0.000427] Calibrating delay loop... 496.43 BogoMIPS (lpj=2482176)
[    0.048370] pid_max: default: 32768 minimum: 301
[    0.048583] Security Framework initialized
[    0.048706] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048706] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050109] Initializing cgroup subsys blkio
[    0.050170] Initializing cgroup subsys memory
[    0.050231] Initializing cgroup subsys devices
[    0.050262] Initializing cgroup subsys freezer
[    0.050323] Initializing cgroup subsys perf_event
[    0.050354] CPU: Testing write buffer coherency: ok
[    0.051025] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.051177] Setting up static identity map for 0x80008280 - 0x800082f0
[    0.089263] Brought up 1 CPUs
[    0.089294] SMP: Total of 1 processors activated (496.43 BogoMIPS).
[    0.089324] CPU: All CPU(s) started in SVC mode.
[    0.090515] devtmpfs: initialized
[    0.148559] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
rev 1
[    0.188323] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp
[    0.189453] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp
[    0.217529] omap_hwmod: mpu: _wait_target_ready failed: -22
[    0.217559] omap_hwmod: mpu: cannot be enabled for reset (3)
[    0.271850] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 19112604462750000 ns
[    0.274993] pinctrl core: initialized pinctrl subsystem
[    0.277526] NET: Registered protocol family 16
[    0.283355] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.308044] cpuidle: using governor ladder
[    0.338165] cpuidle: using governor menu
[    0.352600] Reprogramming SDRC clock to 332000000 Hz
[    0.362426] omap_gpio 48310000.gpio: could not find pctldev for node /ocp/l4@
48000000/scm@2000/pinmux@a00/pinmux_gpio1_pins, deferringe
[    0.364471] OMAP GPIO hardware version 2.5
[    0.375061] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30
!
[    0.395874] omap-gpmc 6e000000.gpmc: GPMC revision 5.0
[    0.395904] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.407012] No ATAGs?
[    0.407073] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.408935] omap4_sram_init:Unable to allocate sram needed to handle errata
I688
[    0.408996] omap4_sram_init:Unable to get sram pool needed to handle errata
I688
[    0.410003] OMAP DMA hardware revision 4.0
[    0.464447] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver
[    0.472625] omap-iommu 480bd400.mmu: 480bd400.mmu registered
[    0.473510] vgaarb: loaded
[    0.474487] SCSI subsystem initialized
[    0.478179] omap_i2c 48070000.i2c: bus 0 rev3.3 at 2600 kHz
[    0.479461] omap_i2c 48072000.i2c: bus 1 rev3.3 at 100 kHz
[    0.480590] omap_i2c 48060000.i2c: bus 2 rev3.3 at 100 kHz
[    0.481140] media: Linux media interface: v0.10
[    0.481292] Linux video capture interface: v2.00
[    0.481445] pps_core: LinuxPPS API ver. 1 registered
[    0.481445] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti <[email protected]>
[    0.481536] PTP clock support registered
[    0.483062] omap-mailbox 48094000.mailbox: omap mailbox rev 0x40
[    0.483642] Advanced Linux Sound Architecture Driver Initialized.
[    0.485656] Switched to clocksource 32k_counter
[    0.513519] NET: Registered protocol family 2
[    0.515014] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.515075] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.515167] TCP: Hash tables configured (established 2048 bind 2048)
[    0.515319] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.515380] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.515747] NET: Registered protocol family 1
[    0.516662] RPC: Registered named UNIX socket transport module.
[    0.516693] RPC: Registered udp transport module.
[    0.516723] RPC: Registered tcp transport module.
[    0.516723] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.520629] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    0.520782] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5
counters available
[    0.527404] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.527587] audit: initializing netlink subsys (disabled)
[    0.527709] audit: type=2000 audit(0.520:1): initialized
[    0.546203] VFS: Disk quotas dquot_6.6.0
[    0.546691] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.552490] NFS: Registering the id_resolver key type
[    0.552612] Key type id_resolver registered
[    0.552642] Key type id_legacy registered
[    0.552795] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    0.557373] NET: Registered protocol family 38
[    0.557495] io scheduler noop registered
[    0.557525] io scheduler deadline registered
[    0.557647] io scheduler cfq registered (default)
[    0.560546] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568
[    0.561035] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92
[    0.562072] pinctrl-single 480025d8.pinmux: 18 pins at pa fa0025d8 size 36
[    0.569366] 48050000.dss supply vdda_video not found, using dummy regulator
[    0.569641] OMAP DSS rev 2.0
[    0.570129] omapdss_dss 48050000.dss: bound 48050400.dispc (ops
dispc_component_ops)
[    0.570526] omapdss_dss 48050000.dss: bound 48050c00.encoder (ops
venc_component_ops)
[    0.577697] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.586608] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 88, base_baud =
3000000) is a 8250
[    0.588592] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 89, base_baud =
3000000) is a 8250
[    0.590637] console [ttyS2] disabled
[    0.590759] 49020000.serial: ttyS2 at MMIO 0x49020000 (irq = 90, base_baud =
3000000) is a 8250
[    1.423004] console [ttyS2] enabled
[    1.428924] [drm] Initialized drm 1.1.0 20060810
[    1.461090] brd: module loaded
[    1.477691] loop: module loaded
[    1.488281] twl 0-0048: PIH (irq 23) chaining IRQs 309..317
[    1.494079] twl 0-0048: power (irq 314) chaining IRQs 317..324
[    1.538513] twl4030_gpio twl4030-gpio: gpio (irq 309) chaining IRQs 325..342
[    1.554199] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.563110] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xba
[    1.569580] nand: Micron MT29F2G16ABD
[    1.573303] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB
size: 64
[    1.580963] nand: using OMAP_ECC_HAM1_CODE_HW
[    1.585418] 5 ofpart partitions found on MTD device 30000000.nand
[    1.591613] Creating 5 MTD partitions on "30000000.nand":
[    1.597106] 0x000000000000-0x000000080000 : "X-Loader"
[    1.605224] 0x000000080000-0x000000260000 : "U-Boot"
[    1.614135] 0x000000260000-0x000000280000 : "U-Boot Env"
[    1.621887] 0x000000280000-0x000000680000 : "Kernel"
[    1.632598] 0x000000680000-0x000010000000 : "Filesystem"
[    1.864410] mousedev: PS/2 mouse device common for all mice
[    1.870269] i2c /dev entries driver
[    1.879669] omap_hsmmc 4809c000.mmc: failed to set clock to 52000000
[    1.886352] omap_hsmmc: probe of 4809c000.mmc failed with error -22
[    1.893524] ledtrig-cpu: registered to indicate activity on CPUs
[    1.905700] oprofile: using arm/armv7
[    1.910217] Initializing XFRM netlink socket
[    1.914611] NET: Registered protocol family 17
[    1.919342] NET: Registered protocol family 15
[    1.924072] Key type dns_resolver registered
[    1.928894] omap2_set_init_voltage: unable to find boot up OPP for
vdd_mpu_iva
[    1.936248] omap2_set_init_voltage: unable to set vdd_mpu_iva
[    1.942047] omap2_set_init_voltage: unable to find boot up OPP for vdd_core
[    1.949096] omap2_set_init_voltage: unable to set vdd_core
[    1.956695] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating
voltage latency[975000<->1350000]:-22
[    1.967468] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating
voltage latency[975000<->1350000]:-22
[    1.980285] ThumbEE CPU extension supported.
[    1.984619] Registering SWP/SWPB emulation handler
[    1.989654] SmartReflex Class3 initialized
[    2.004669] hctosys: unable to open rtc device (rtc0)
[    2.010070] sr_init: No PMIC hook to init smartreflex
[    2.015594] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver
initialized
[    2.024353] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver
initialized
[    2.057983] hsusb2_vbus: disabling
[    2.061920] VUSB3V1: disabling
[    2.065429] VUSB1V8: disabling
[    2.069030] VUSB1V5: disabling
[    2.072692] VMMC1: disabling
[    2.076080] VDAC: disabling
[    2.079498] VAUX3: disabling
[    2.082855] pbias_mmc_omap2430: disabling
[    2.087341] ALSA device list:
[    2.090332]   No soundcards found.
[    2.096069] Waiting for root device /dev/mmcblk0p2...
[  133.656372] random: nonblocking pool is initialized

Do you have a clue what I'm doing wrong? Or is it really a bug?

Thanks.

Holger Bach 
-- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to