Problem in Beaglebone Black based custom hardware

Hello!

I’m experiencing a really weird problem with custom hardware based in Beaglebone Black. This is the 4th revision of our hardware and we have never found this issue until now. Everything related with the Beaglebone Black part of the circuit remains invariable (except for RAM and emmc, since because of lack of stock we had to change to compatible ICs, EMMC04G-S100-A08U from Kingston and D2516EC4BXGGB, also from Kingston).

We have 4 prototypes for this model: 3 of them are experiencing this problem, but not the other one.

The problem: I run Ubuntu 12.04 from an SD card, with the intention of flashing an Ubuntu 14.04 image to the board flash. The operating systems launches from the SD and I’m able to log In, but roughly one minute after that, the board freezes (a few USRx leds remain fixed and I can’t do anything in the board anymore).

As I’ve told, this is happening in 3 of 4 prototypes that we have. One common thing that happens in the 3 boards which are freezing is that USR3 led remains on (it doesn’t blink), and this is not happening in the board that works ok.

Of course, we have checked all voltages in the board and looked for short circuits, but everything seems to be ok.

I’ll paste the system log obtained from the debug uart, since I think the last 7 lines can be specially significant to explain the problem. Any help or suggestion would be appreciated.

Thanks in advance!

18/05/2016 14:16:39.353 [RX] - 
U-Boot SPL 2013.10-00249-g15c5cdf (Nov 17 2013 - 16:35:11)
reading args
spl: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2013.10-00249-g15c5cdf (Nov 17 2013 - 16:35:11)

I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 1 0
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
340 bytes read in 3 ms (110.4 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc …
Running uenvcmd …
3314544 bytes read in 487 ms (6.5 MiB/s)
24884 bytes read in 48 ms (505.9 KiB/s)
Kernel image @ 0x80200000 [ 0x000000 - 0x329370 ]

Flattened Device Tree blob at 80f80000

Booting using the fdt blob at 0x80f80000
Using Device Tree in place at 80f80000, end 80f89133

Starting kernel …

Uncompressing Linux… done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.8.13-bone30 (root@imx6q-sabrelite-1gb-1) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 SMP Thu Nov 14 11:19:20 UTC 2013
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] PERCPU: Embedded 9 pages/cpu @c0e45000 s14080 r8192 d14592 u36864
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129792
[ 0.000000] Kernel command line: console=ttyO0,115200n8 fixrtc root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 511MB = 511MB total
[ 0.000000] Memory: 507164k/507164k available, 17124k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08ee8e0 (9115 kB)
[ 0.000000] .init : 0xc08ef000 - 0xc0938700 ( 294 kB)
[ 0.000000] .data : 0xc093a000 - 0xc09bd500 ( 526 kB)
[ 0.000000] .bss : 0xc09bd500 - 0xc0a34900 ( 477 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000252] Calibrating delay loop… 663.07 BogoMIPS (lpj=647168)
[ 0.035033] pid_max: default: 32768 minimum: 301
[ 0.035185] Security Framework initialized
[ 0.035252] Mount-cache hash table entries: 512
[ 0.041111] Initializing cgroup subsys cpuacct
[ 0.041135] Initializing cgroup subsys memory
[ 0.041183] Initializing cgroup subsys blkio
[ 0.041284] CPU: Testing write buffer coherency: ok
[ 0.041710] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.041767] Setting up static identity map for 0x8061b380 - 0x8061b3d8
[ 0.042797] Brought up 1 CPUs
[ 0.042815] SMP: Total of 1 processors activated (663.07 BogoMIPS).
[ 0.043698] devtmpfs: initialized
[ 0.101323] pinctrl core: initialized pinctrl subsystem
[ 0.101536] rstctl core: initialized rstctl subsystem
[ 0.101885] regulator-dummy: no parameters
[ 0.102250] NET: Registered protocol family 16
[ 0.102796] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.108722] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.109180] platform 49000000.edma: alias fck already exists
[ 0.109198] platform 49000000.edma: alias fck already exists
[ 0.109212] platform 49000000.edma: alias fck already exists
[ 0.110068] OMAP GPIO hardware version 0.1
[ 0.112904] gpio-rctrl rstctl.4: loaded OK
[ 0.116149] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.117511] cpsw.0: No hwaddr in dt. Using a0:f6:fd:4c:91:98 from efuse
[ 0.117532] cpsw.1: No hwaddr in dt. Using a0:f6:fd:4c:91:9a from efuse
[ 0.125759] bio: create slab at 0
[ 0.132522] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.132876] vmmcsd_fixed: 3300 mV
[ 0.134492] SCSI subsystem initialized
[ 0.134816] usbcore: registered new interface driver usbfs
[ 0.134883] usbcore: registered new interface driver hub
[ 0.135127] usbcore: registered new device driver usb
[ 0.136448] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 0.137539] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0
[ 0.139298] DCDC1: at 1500 mV
[ 0.140179] vdd_mpu: 925 <–> 1325 mV at 1325 mV
[ 0.141082] vdd_core: 925 <–> 1150 mV at 1125 mV
[ 0.141924] LDO1: at 1800 mV
[ 0.142774] LDO2: at 3300 mV
[ 0.144314] LDO3: 1800 mV
[ 0.145196] LDO4: at 3300 mV
[ 0.145960] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 0.146542] omap_i2c 44e0b000.i2c: unable to select pin group
[ 0.147129] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[ 0.148773] omap_i2c 4819c000.i2c: unable to select pin group
[ 0.148933] media: Linux media interface: v0.10
[ 0.148995] Linux video capture interface: v2.00
[ 0.149083] pps_core: LinuxPPS API ver. 1 registered
[ 0.149094] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.149518] Advanced Linux Sound Architecture Driver Initialized.
[ 0.150157] NetLabel: Initializing
[ 0.150171] NetLabel: domain hash size = 128
[ 0.150178] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.150409] NetLabel: unlabeled traffic allowed by default
[ 0.150616] Switching to clocksource gp_timer
[ 0.184893] NET: Registered protocol family 2
[ 0.185605] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.185686] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[ 0.185769] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.185911] TCP: reno registered
[ 0.185931] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 0.185956] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 0.186233] NET: Registered protocol family 1
[ 0.186688] RPC: Registered named UNIX socket transport module.
[ 0.186701] RPC: Registered udp transport module.
[ 0.186708] RPC: Registered tcp transport module.
[ 0.186716] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.187247] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.187501] CPU PMU: attempt to register multiple PMU devices!
[ 0.187528] arm-pmu: probe of arm-pmu failed with error -28
[ 0.187929] omap2_mbox_probe: platform not supported
[ 0.341617] VFS: Disk quotas dquot_6.5.2
[ 0.341775] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.342681] NFS: Registering the id_resolver key type
[ 0.342761] Key type id_resolver registered
[ 0.342770] Key type id_legacy registered
[ 0.342815] fuse init (API version 7.20)
[ 0.343382] Btrfs loaded
[ 0.343497] msgmni has been set to 990
[ 0.345402] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.345423] io scheduler noop registered
[ 0.345431] io scheduler deadline registered
[ 0.345455] io scheduler cfq registered (default)
[ 0.346640] tps65217-bl tps65217-bl: no platform data provided
[ 0.346668] tps65217-bl: probe of tps65217-bl failed with error -22
[ 0.347228] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.348729] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[ 0.349054] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
[ 1.083652] console [ttyO0] enabled
[ 1.088080] [drm] Initialized drm 1.1.0 20060810
[ 1.100910] brd: module loaded
[ 1.108249] loop: module loaded
[ 1.111686] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.118990] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.126280] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.133642] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.140956] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.154938] bone-capemgr bone_capemgr.9: Baseboard: ‘A335BNLT,00A6,4213BBBK2132’
[ 1.162733] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
[ 1.201476] bone-capemgr bone_capemgr.9: slot #0: No cape found
[ 1.238583] bone-capemgr bone_capemgr.9: slot #1: No cape found
[ 1.275689] bone-capemgr bone_capemgr.9: slot #2: No cape found
[ 1.312799] bone-capemgr bone_capemgr.9: slot #3: No cape found
[ 1.319048] bone-capemgr bone_capemgr.9: slot #4: specific override
[ 1.325647] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
[ 1.333690] bone-capemgr bone_capemgr.9: slot #4: ‘Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G’
[ 1.343814] bone-capemgr bone_capemgr.9: slot #5: specific override
[ 1.350409] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
[ 1.358453] bone-capemgr bone_capemgr.9: slot #5: ‘Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI’
[ 1.368467] bone-capemgr bone_capemgr.9: slot #6: specific override
[ 1.375060] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
[ 1.383103] bone-capemgr bone_capemgr.9: slot #6: ‘Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN’
[ 1.393588] bone-capemgr bone_capemgr.9: loader: before slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[ 1.402478] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[ 1.411334] bone-capemgr bone_capemgr.9: loader: before slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[ 1.420115] bone-capemgr bone_capemgr.9: loader: check slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[ 1.428816] bone-capemgr bone_capemgr.9: initialized OK.
[ 1.434411] bone-capemgr bone_capemgr.9: loader: before slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.443274] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.453273] OneNAND driver initializing
[ 1.458212] usbcore: registered new interface driver cdc_ether
[ 1.464400] bone-capemgr bone_capemgr.9: loader: after slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[ 1.473238] usbcore: registered new interface driver rndis_host
[ 1.479524] bone-capemgr bone_capemgr.9: loader: after slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[ 1.488222] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.497065] usbcore: registered new interface driver cdc_ncm
[ 1.503039] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware ‘cape-bone-2g-emmc1.dtbo’ for board-name ‘Bone-LT-eMMC-2G’, version ‘00A0’
[ 1.517205] usbcore: registered new interface driver cdc_acm
[ 1.523189] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.531595] Initializing USB Mass Storage driver…
[ 1.536741] bone-capemgr bone_capemgr.9: slot #4: dtbo ‘cape-bone-2g-emmc1.dtbo’ loaded; converting to live tree
[ 1.547471] bone-capemgr bone_capemgr.9: slot #5: Requesting firmware ‘cape-boneblack-hdmi-00A0.dtbo’ for board-name ‘Bone-Black-HDMI’, version ‘00A0’
[ 1.561688] usbcore: registered new interface driver usb-storage
[ 1.568008] USB Mass Storage support registered.
[ 1.573065] bone-capemgr bone_capemgr.9: slot #4: #2 overlays
[ 1.579723] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.
[ 1.586635] bone-capemgr bone_capemgr.9: loader: done slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)
[ 1.595355] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.604152] bone-capemgr bone_capemgr.9: slot #5: dtbo ‘cape-boneblack-hdmi-00A0.dtbo’ loaded; converting to live tree
[ 1.615573] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 1.622184] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
[ 1.627435] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 1.636777] bone-capemgr bone_capemgr.9: slot #5: #4 overlays
[ 1.644270] platform 4830e000.fb: alias fck already exists
[ 1.650327] musb-hdrc musb-hdrc.0.auto: *** mode=3
[ 1.655409] musb-hdrc musb-hdrc.0.auto: *** power=250
[ 1.661729] bone-capemgr bone_capemgr.9: slot #5: Applied #4 overlays.
[ 1.668668] bone-capemgr bone_capemgr.9: loader: done slot-5 BB-BONELT-HDMI:00A0 (prio 1)
[ 1.677303] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.686633] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
[ 1.691901] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 1.700710] bone-capemgr bone_capemgr.9: loader: after slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.709654] musb-hdrc musb-hdrc.1.auto: *** mode=1
[ 1.714712] musb-hdrc musb-hdrc.1.auto: *** power=250
[ 1.720024] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.726086] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware ‘cape-boneblack-hdmin-00A0.dtbo’ for board-name ‘Bone-Black-HDMIN’, version ‘00A0’
[ 1.740544] bone-capemgr bone_capemgr.9: slot #6: dtbo ‘cape-boneblack-hdmin-00A0.dtbo’ loaded; converting to live tree
[ 1.752090] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[ 1.761717] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[ 1.768493] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.778511] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 1.786957] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.794118] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.801705] usb usb1: Product: MUSB HDRC host driver
[ 1.806921] usb usb1: Manufacturer: Linux 3.8.13-bone30 musb-hcd
[ 1.813229] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 1.819185] hub 1-0:1.0: USB hub found
[ 1.823178] hub 1-0:1.0: 1 port detected
[ 1.828174] mousedev: PS/2 mouse device common for all mice
[ 1.835737] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.843465] i2c /dev entries driver
[ 1.848291] pps_ldisc: PPS line discipline registered
[ 1.853718] Driver for 1-wire Dallas network protocol.
[ 1.860457] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.868196] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-devel@redhat.com
[ 1.877144] cpuidle: using governor ladder
[ 1.881492] cpuidle: using governor menu
[ 1.885944] omap_hsmmc mmc.5: of_parse_phandle_with_args of ‘reset’ failed
[ 1.893186] omap_hsmmc mmc.5: Failed to get rstctl; not using any
[ 1.899920] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 1.907120] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 1.914461] mmc.5 supply vmmc_aux not found, using dummy regulator
[ 1.921323] omap_hsmmc mmc.5: pins are not configured from the driver
[ 1.955633] gpio-rctrl rstctl.4: gpio_rctrl_request eMMC_RSTn
[ 1.961831] omap_hsmmc mmc.11: Got rstctl (gpio:#0 name eMMC_RSTn) label:eMMC_RSTn
[ 1.969833] gpio-rctrl rstctl.4: gpio_rctrl_deassert eMMC_RSTn
[ 1.976223] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
[ 1.983360] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
[ 1.990805] mmc.11 supply vmmc_aux not found, using dummy regulator
[ 1.997521] omap_hsmmc mmc.11: pins are not configured from the driver
[ 2.031977] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 2.043720] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 2.051036] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[ 2.060019] leds-gpio gpio-leds.8: pins are not configured from the driver
[ 2.068087] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.074823] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[ 2.082066] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 2.089670] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 2.096050] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[ 2.103207] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[ 2.111285] usbcore: registered new interface driver usbhid
[ 2.117244] usbhid: USB HID core driver
[ 2.121348] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 2.130707] ashmem: initialized
[ 2.134414] logger: created 256K log ‘log_main’
[ 2.139362] mmc0: new high speed SDHC card at address 0007
[ 2.145391] logger: created 256K log ‘log_events’
[ 2.150935] mmcblk0: mmc0:0007 SD4GB 3.70 GiB
[ 2.155896] logger: created 256K log ‘log_radio’
[ 2.161697] logger: created 256K log ‘log_system’
[ 2.166911] mmcblk0: p1 p2
[ 2.174038] davinci_evm sound.14: nxp-hdmi-hifi <-> 48038000.mcasp mapping ok
[ 2.184068] TCP: cubic registered
[ 2.187690] NET: Registered protocol family 10
[ 2.193424] NET: Registered protocol family 17
[ 2.198476] Key type dns_resolver registered
[ 2.203215] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 2.211373] ThumbEE CPU extension supported.
[ 2.215912] Registering SWP/SWPB emulation handler
[ 2.221128] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 2.228967] registered taskstats version 1
[ 2.235188] tilcdc 4830e000.fb: No power control GPIO
[ 2.241577] dummy 0-0034: Error -121 writing to cec:0xff
[ 2.247357] tda998x 0-0070: Error -121 reading from 0xa
[ 2.252978] tda998x 0-0070: Error -121 writing to 0xa
[ 2.310939] tda998x 0-0070: Error -121 reading from 0xa
[ 2.316513] tda998x 0-0070: Error -121 writing to 0xa
[ 2.352083] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[ 2.359131] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.367307] hub 1-1:1.0: USB hub found
[ 2.371343] hub 1-1:1.0: 4 ports detected
[ 2.375648] tda998x 0-0070: Error -121 reading from 0x1
[ 2.381491] tda998x 0-0070: Error -121 writing to 0x1
[ 2.387080] tda998x 0-0070: Error -121 reading from 0x1
[ 2.393006] tda998x 0-0070: Error -121 writing to 0x1
[ 2.398387] tda998x 0-0070: Error -121 writing to REG_CURPAGE
[ 2.404527] tda998x 0-0070: Error -121 writing to 0x200
[ 2.410097] tda998x 0-0070: Error -121 writing to 0x201
[ 2.415665] tda998x 0-0070: Error -121 writing to 0x202
[ 2.421232] tda998x 0-0070: Error -121 writing to 0x203
[ 2.426795] tda998x 0-0070: Error -121 writing to 0x204
[ 2.432359] tda998x 0-0070: Error -121 writing to 0x205
[ 2.437923] tda998x 0-0070: Error -121 writing to 0x20e
[ 2.443485] tda998x 0-0070: Error -121 writing to 0x211
[ 2.449047] tda998x 0-0070: Error -121 writing to 0x207
[ 2.454605] tda998x 0-0070: Error -121 writing to 0x208
[ 2.460175] tda998x 0-0070: Error -121 writing to 0x209
[ 2.465738] tda998x 0-0070: Error -121 writing to 0x20a
[ 2.471301] tda998x 0-0070: Error -121 writing to 0x206
[ 2.476867] tda998x 0-0070: Error -121 writing to REG_CURPAGE
[ 2.482976] tda998x 0-0070: Error -121 reading from 0x0
[ 2.488542] tda998x 0-0070: Error -121 reading from 0x2
[ 2.494243] hub 1-1:1.0: hub_port_status failed (err = -32)
[ 2.500354] tilcdc 4830e000.fb: no encoders/connectors found
[ 2.506311] tilcdc 4830e000.fb: failed to initialize mode setting
[ 2.512887] hub 1-1:1.0: hub_port_status failed (err = -32)
[ 2.533829] hub 1-1:1.0: hub_port_status failed (err = -32)
[ 2.540066] hub 1-1:1.0: hub_port_status failed (err = -32)
[ 2.574532] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 2.580944] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 2.588321] libphy: 4a101000.mdio: probed
[ 2.592565] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 2.602367] Detected MACID = a0:f6:fd:4c:91:98
[ 2.606993] cpsw 4a100000.ethernet: NAPI disabled
[ 2.613376] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[ 2.627551] ALSA device list:
[ 2.630724] #0: TI BeagleBone Black
[ 2.638815] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 2.646561] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.664244] EXT4-fs (mmcblk0p2): recovery complete
[ 2.756807] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.765382] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.779999] devtmpfs: mounted
[ 2.783580] Freeing init memory: 292K
[ 3.212234] init: ureadahead main process (86) terminated with status 5
[ 5.190134] libphy: PHY 4a101000.mdio:01 not found
[ 5.195204] net eth0: phy 4a101000.mdio:01 not found on slave 1
[ 120.340186] INFO: task kworker/u:1:21 blocked for more than 60 seconds.
[ 120.347182] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 120.355702] Kernel panic - not syncing: hung_task: blocked tasks
[ 120.362013] [] (unwind_backtrace+0x0/0xe0) from [] (panic+0x84/0x1e0)
[ 120.370589] [] (panic+0x84/0x1e0) from [] (watchdog+0x1d0/0x224)
[ 120.378707] [] (watchdog+0x1d0/0x224) from [] (kthread+0xa0/0xac)
[ 120.386914] [] (kthread+0xa0/0xac) from [] (ret_from_fork+0x14/0x3c)

How much did you change the layout, and how experienced is the PCB layout person with high speed digital design? Have you probed the data/clock lines for the EMMC device and are your timing within spec? When you have one board that works and 3 that don’t, then I think you have marginal timing issues. Could be impedance mismatch issues, reflections, length mismatch, etc. Could also be power issues such as ground bounce, insufficient decoupling, etc.

Regards,
John

You have a lot of error on your log…

You have to know that when you create your own board, you need to understand how the U-boot and the kernel know that it is a beaglebone-black. Otherwise you will have wrong settings, particularly on the tps. ( I had also a lot of errors before)

In the u-boot, at the beginning it check the name of the board and the version from the eeprom that is on i2c0. Depending of that, the U-boot configure many thing, one of them is the tps.

First you need to look at the log from the U-boot. It’s easy: connect to uart0 and copy those log here.

Depending of those errors I will tell you what is wrong. But from your log, you should put a scope on i2c0, Looks like that the kernel can’t read the tps register. But it can be the consequence of the U-boot misconfigured. ( maybe because your eeprom is empty)

One of the solution is to download the source of the U-boot and apply a patch that force the U-boot to assume that the board is a beaglebone black:

https://raw.githubusercontent.com/RobertCNelson/Bootloader-Builder/master/patches/v2015.10/0002-NFM-Production-eeprom-assume-device-is-BeagleBone-Bl.patch

Thanks again Robert Nelson for all your help.

Micka,

Thanks to all for your answers.

Alex, the log that I’ve published here is already the log from U-boot obtained via UART0.
In reference to the Beaglebone Eeprom, I have to say that the first thing we do after assembling a new board is to write in the eeprom a copy of the information contained in the original Beaglebone Black eeprom. After that, we insert an SD card to launch from the SD, check the correct behaviour and then burn the operating system in the internal emmc. In reference to length mistmaches, impedances and so, I don’t think that is the problem, since this is the 4th version of the board (it has never happened before), and we kept the routes for memories invariable from the original Beaglebone design, in order to prevent that kind of problems. In addition, the person doing the electronic design has a great expertise in high frecuency electronics and is aware of the problems that might appear due to a bad design causing lost of data synchrony.

I’ve also checked i2c communication and I’ve read the full content of the eeprom to check consistency. Everything seems to be working fine in reference to i2c.

Did you check on the scope if the device 34 and 70 work on i2C0 ? From the kernel log it doesn’t. ( that why I said: check I2C0) .

[ 2.241577] dummy 0-0034: Error -121 writing to cec:0xff
[ 2.247357] tda998x 0-0070: Error -121 reading from 0xa
[ 2.252978] tda998x 0-0070: Error -121 writing to 0xa
[ 2.310939] tda998x 0-0070: Error -121 reading from 0xa
[ 2.316513] tda998x 0-0070: Error -121 writing to 0xa

Maybe those errors are related to something bigger. ( from my experience it’s because they are not powered, but it can be something else… )

Also, from your log you have a kernel panic, that why the LED doesn’t blink as you want…

[ 120.340186] INFO: task kworker/u:1:21 blocked for more than 60 seconds.
[ 120.347182] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 120.355702] Kernel panic - not syncing: hung_task: blocked tasks
[ 120.362013] [] (unwind_backtrace+0x0/0xe0) from [] (panic+0x84/0x1e0)
[ 120.370589] [] (panic+0x84/0x1e0) from [] (watchdog+0x1d0/0x224)
[ 120.378707] [] (watchdog+0x1d0/0x224) from [] (kthread+0xa0/0xac)
[ 120.386914] [] (kthread+0xa0/0xac) from [] (ret_from_fork+0x14/0x3c)

you don’t have more line after 120.38 ?

can you use the console after the kernel panic ? is it in the freeze state ?

Something went wrong on your board, and If I were you I will fix the issue with the two device on I2C0. After that if you have still a kernel panic, we will figure it out.

And finally you have this error :

[ 0.346640] tps65217-bl tps65217-bl: no platform data provided
[ 0.346668] tps65217-bl: probe of tps65217-bl failed with error -22

Looks like that you are using the backlight driver, something went wrong with it. I don’t know this driver, but check the documentation for the device tree :

http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/video/backlight/tps65217-backlight.txt?v=4.1

maybe you didn’t configure the driver correctly. I’m not an expert on this driver ^^

Micka,

Thank you for your answer Micka,

Errors related with i2c with address 0x34 and 0x70 happen because we removed the HDMI related part from our design, but the OS we are using is still the original for Beaglebone Black. We have done the same until know with our previous custom board. We disable HDMI in the OS later, after flashing it to the emmc.

In reference to this error:

[ 120.340186] INFO: task kworker/u:1:21 blocked for more than 60 seconds.
[ 120.347182] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 120.355702] Kernel panic - not syncing: hung_task: blocked tasks
[ 120.362013] [] (unwind_backtrace+0x0/0xe0) from [] (panic+0x84/0x1e0)
[ 120.370589] [] (panic+0x84/0x1e0) from [] (watchdog+0x1d0/0x224)
[ 120.378707] [] (watchdog+0x1d0/0x224) from [] (kthread+0xa0/0xac)
[ 120.386914] [] (kthread+0xa0/0xac) from [] (ret_from_fork+0x14/0x3c)

That happens at the exact time that the board freezes. Console is unusable after that, and no more messages come from the UART0 after that.
I’m almost sure that the kernel panic and board freezing are produced due to a hardware failure, but I don’t know where to look for the failure.

Well, It looks like that you are not the only one that have this error. But it looks like that it is related to the capemanager. Specifically when you add a custom cape.

This guy have the same error has you :
https://groups.google.com/forum/#!topic/beagleboard/rO6-MyHvn2w

are you using a custom cap ? Can have I a look on it ? ( the device tree file )

also you should remove the caps HDMI and HDMIN :
[ 1.752090] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
YOu don’t need it, because you removed the component : tda998x .

It’s better to have a clean kernel log ^^ ( look at the uEnv.txt how to remove the hdmi cap)

You have those error :

[ 2.031977] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 2.043720] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 2.051036] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single

you should fix it too … looks like that you are using gpio that is used by the led …