[beagleboard] Custom board bring up problem

Hi all,

We're trying to bring up our custom AM335x board. No EEPROM, no eMMC, no Ethernet on this board. I've made the changes to U-Boot to force the boot process info believing it is running on a BBB and set the dpll_mpu_opp100.m = MPUPLL_M_720 in board.c for U-Boot. We're using the 720MHz version of the AM335x processor.

The boot up console output looks fine up to 0.140810 then hangs for 38 seconds with the irq 23 error. Then continues to display output right up to the kernel panic.

I'm using Robert Nelson's 3.8.13-bone35.1 kernel with no special changes.

U-Boot 2014.04-dirty (Apr 23 2014 - 15:10:32)

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

Net: <ethaddr> not set. Validating first E-fuse MAC
Could not get PHY for cpsw: addr 0
cpsw, usb_ether
Hit any key to stop autoboot: 0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
1128 bytes read in 5 ms (219.7 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
reading zImage
3360080 bytes read in 210 ms (15.3 MiB/s)
reading initrd.img
2867153 bytes read in 187 ms (14.6 MiB/s)
reading /dtbs/am335x-boneblack.dtb
24884 bytes read in 10 ms (2.4 MiB/s)
Kernel image @ 0x80300000 [ 0x000000 - 0x334550 ]
## Flattened Device Tree blob at 815f0000
    Booting using the fdt blob at 0x815f0000
    Using Device Tree in place at 815f0000, end 815f9133

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-bone35.1 (mvpcal@mvpcal-system) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-204
[ 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 @c0e55000 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 consoleblank=0 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2Gc
[ 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: 504296k/504296k available, 19992k 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 - 0xc08ffdf0 (9184 kB)
[ 0.000000] .init : 0xc0900000 - 0xc0949700 ( 294 kB)
[ 0.000000] .data : 0xc094a000 - 0xc09cd780 ( 526 kB)
[ 0.000000] .bss : 0xc09cd780 - 0xc0a44b80 ( 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.000322] Calibrating delay loop... 476.12 BogoMIPS (lpj=465408)
[ 0.017420] pid_max: default: 32768 minimum: 301
[ 0.017612] Security Framework initialized
[ 0.017694] Mount-cache hash table entries: 512
[ 0.025409] Initializing cgroup subsys cpuacct
[ 0.025442] Initializing cgroup subsys memory
[ 0.025495] Initializing cgroup subsys blkio
[ 0.025619] CPU: Testing write buffer coherency: ok
[ 0.026134] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.026201] Setting up static identity map for 0x806277f0 - 0x80627848
[ 0.027588] Brought up 1 CPUs
[ 0.027608] SMP: Total of 1 processors activated (476.12 BogoMIPS).
[ 0.028677] devtmpfs: initialized
[ 0.039370] omap_hwmod: wd_timer2: _wait_target_disable failed
[ 0.092698] pinctrl core: initialized pinctrl subsystem
[ 0.092893] rstctl core: initialized rstctl subsystem
[ 0.093301] regulator-dummy: no parameters
[ 0.093817] NET: Registered protocol family 16
[ 0.094546] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.102425] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.103039] platform 49000000.edma: alias fck already exists
[ 0.103064] platform 49000000.edma: alias fck already exists
[ 0.103084] platform 49000000.edma: alias fck already exists
[ 0.104182] OMAP GPIO hardware version 0.1
[ 0.107882] gpio-rctrl rstctl.4: loaded OK
[ 0.112214] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.113949] cpsw.0: No hwaddr in dt. Using c8:a0:30:a0:fc:81 from efuse
[ 0.113975] cpsw.1: No hwaddr in dt. Using c8:a0:30:a0:fc:82 from efuse
[ 0.125213] bio: create slab <bio-0> at 0
[ 0.134290] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.134724] vmmcsd_fixed: 3300 mV
[ 0.136959] SCSI subsystem initialized
[ 0.137295] usbcore: registered new interface driver usbfs
[ 0.137394] usbcore: registered new interface driver hub
[ 0.137674] usbcore: registered new device driver usb
[ 0.139433] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 0.140810] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0

no output to console until this next message is displayed, 38 seconds later......

[ 38.560187] irq 23: nobody cared (try booting with the "irqpoll" option)
[ 38.560255] [<c0013598>] (unwind_backtrace+0x0/0xe0) from [<c0095874>] (__report_bad_irq+0x1c/0xc0)
[ 38.560281] [<c0095874>] (__report_bad_irq+0x1c/0xc0) from [<c0095cfc>] (note_interrupt+0x188/0x244)
[ 38.560305] [<c0095cfc>] (note_interrupt+0x188/0x244) from [<c009487c>] (irq_thread+0xc0/0x16c)
[ 38.560338] [<c009487c>] (irq_thread+0xc0/0x16c) from [<c0059450>] (kthread+0xa0/0xb0)
[ 38.560368] [<c0059450>] (kthread+0xa0/0xb0) from [<c000d918>] (ret_from_fork+0x14/0x3c)
[ 38.560404] handlers:
[ 38.560422] [<c0093e30>] irq_default_primary_handler threaded [<c03a5734>] tps65217_irq
[ 38.560455] Disabling IRQ #23
[ 38.562024] DCDC1: at 1500 mV
[ 38.563090] vdd_mpu: 925 <--> 1325 mV at 1275 mV
[ 38.564072] vdd_core: 925 <--> 1150 mV at 1125 mV
[ 38.565062] LDO1: at 1800 mV
[ 38.566019] LDO2: at 3300 mV
[ 38.567788] LDO3: 1800 mV
[ 38.568800] LDO4: at 3300 mV
[ 38.569707] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 38.570494] omap_i2c 44e0b000.i2c: unable to select pin group
[ 38.571179] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[ 38.573304] omap_i2c 4819c000.i2c: unable to select pin group
[ 38.573496] media: Linux media interface: v0.10
[ 38.573591] Linux video capture interface: v2.00
[ 38.573701] pps_core: LinuxPPS API ver. 1 registered
[ 38.573714] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 38.574376] Advanced Linux Sound Architecture Driver Initialized.
[ 38.575195] NetLabel: Initializing
[ 38.575211] NetLabel: domain hash size = 128
[ 38.575220] NetLabel: protocols = UNLABELED CIPSOv4
[ 38.575310] NetLabel: unlabeled traffic allowed by default
[ 38.575613] Switching to clocksource gp_timer
[ 38.620030] NET: Registered protocol family 2
[ 38.621014] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 38.621129] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[ 38.621253] TCP: Hash tables configured (established 4096 bind 4096)
[ 38.621336] TCP: reno registered
[ 38.621359] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 38.621394] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 38.621731] NET: Registered protocol family 1
[ 38.622273] RPC: Registered named UNIX socket transport module.
[ 38.622291] RPC: Registered udp transport module.
[ 38.622301] RPC: Registered tcp transport module.
[ 38.622311] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 38.622785] Trying to unpack rootfs image as initramfs...
[ 38.887108] Freeing initrd memory: 2796K
[ 38.887582] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 38.887916] CPU PMU: attempt to register multiple PMU devices!
[ 38.887950] arm-pmu: probe of arm-pmu failed with error -28
[ 38.888511] omap2_mbox_probe: platform not supported
[ 39.101817] VFS: Disk quotas dquot_6.5.2
[ 39.102018] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 39.103127] NFS: Registering the id_resolver key type
[ 39.103223] Key type id_resolver registered
[ 39.103236] Key type id_legacy registered
[ 39.103643] fuse init (API version 7.20)
[ 39.104226] Btrfs loaded
[ 39.104392] msgmni has been set to 990
[ 39.106817] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 39.106839] io scheduler noop registered
[ 39.106851] io scheduler deadline registered
[ 39.106883] io scheduler cfq registered (default)
[ 39.108463] tps65217-bl tps65217-bl: no platform data provided
[ 39.108499] tps65217-bl: probe of tps65217-bl failed with error -22
[ 39.109305] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 39.111428] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[ 39.111736] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
[ 39.946004] console [ttyO0] enabled
[ 39.950670] [drm] Initialized drm 1.1.0 20060810
[ 39.966130] brd: module loaded
[ 39.974976] loop: module loaded
[ 39.978445] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 39.985742] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 39.993020] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 40.000295] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 40.007850] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 40.022002] bone-capemgr bone_capemgr.9: bone: Invalid signature 'ffffffff' at baseboard
[ 40.030529] bone-capemgr bone_capemgr.9: Failed to scan baseboard eeprom
[ 40.039327] OneNAND driver initializing
[ 40.044567] usbcore: registered new interface driver cdc_ether
[ 40.050777] usbcore: registered new interface driver rndis_host
[ 40.057153] usbcore: registered new interface driver cdc_ncm
[ 40.063791] usbcore: registered new interface driver cdc_acm
[ 40.069776] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 40.078273] Initializing USB Mass Storage driver...
[ 40.083535] usbcore: registered new interface driver usb-storage
[ 40.089853] USB Mass Storage support registered.
[ 40.094866] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 40.101530] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
[ 40.106787] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 40.115750] musb-hdrc musb-hdrc.0.auto: *** mode=3
[ 40.120806] musb-hdrc musb-hdrc.0.auto: *** power=250
[ 40.126755] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
[ 40.132013] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 40.140951] musb-hdrc musb-hdrc.1.auto: *** mode=1
[ 40.146015] musb-hdrc musb-hdrc.1.auto: *** power=250
[ 40.151333] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 40.157687] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 40.166125] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 40.173273] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 40.180933] usb usb1: Product: MUSB HDRC host driver
[ 40.186166] usb usb1: Manufacturer: Linux 3.8.13-bone35.1 musb-hcd
[ 40.192666] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 40.198927] hub 1-0:1.0: USB hub found
[ 40.202949] hub 1-0:1.0: 1 port detected
[ 40.208224] mousedev: PS/2 mouse device common for all mice
[ 40.216175] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 40.223929] i2c /dev entries driver
[ 40.229016] pps_ldisc: PPS line discipline registered
[ 40.234466] Driver for 1-wire Dallas network protocol.
[ 40.241340] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 40.249189] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-devel@redhat.com
[ 40.258163] cpuidle: using governor ladder
[ 40.262515] cpuidle: using governor menu
[ 40.267069] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[ 40.274318] omap_hsmmc mmc.5: Failed to get rstctl; not using any
[ 40.281229] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 40.288457] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 40.295801] mmc.5 supply vmmc_aux not found, using dummy regulator
[ 40.302766] omap_hsmmc mmc.5: pins are not configured from the driver
[ 40.337974] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 40.349744] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 40.357065] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[ 40.366072] leds-gpio gpio-leds.8: pins are not configured from the driver
[ 40.374391] ledtrig-cpu: registered to indicate activity on CPUs
[ 40.381296] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[ 40.388573] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 40.396830] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 40.403151] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[ 40.410389] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[ 40.418420] usbcore: registered new interface driver usbhid
[ 40.424358] usbhid: USB HID core driver
[ 40.429651] ashmem: initialized
[ 40.433464] logger: created 256K log 'log_main'
[ 40.438641] logger: created 256K log 'log_events'
[ 40.443940] logger: created 256K log 'log_radio'
[ 40.449115] logger: created 256K log 'log_system'
[ 40.456648] TCP: cubic registered
[ 40.460305] NET: Registered protocol family 10
[ 40.466288] NET: Registered protocol family 17
[ 40.471341] Key type dns_resolver registered
[ 40.476160] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 40.484441] ThumbEE CPU extension supported.
[ 40.488999] Registering SWP/SWPB emulation handler
[ 40.495070] registered taskstats version 1
[ 40.519036] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 40.529784] mmc0: new high speed SDHC card at address aaaa
[ 40.536271] mmcblk0: mmc0:aaaa SU16G 14.8 GiB
[ 40.544476] mmcblk0: p1 p2 < p5 p6 >
[ 40.550398] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 40.556834] davinci_mdio 4a101000.mdio: no live phy, scanning all
[ 40.563656] davinci_mdio: probe of 4a101000.mdio failed with error -5
[ 40.570773] Detected MACID = c8:a0:30:a0:fc:81
[ 40.575387] Unhandled fault: external abort on non-linefetch (0x1008) at 0xe0898000
[ 40.583604] Internal error: : 1008 [#1] SMP ARM
[ 40.588349] Modules linked in:
[ 40.591557] CPU: 0 Not tainted (3.8.13-bone35.1 #6)
[ 40.597042] PC is at cpsw_probe+0x528/0xbd8
[ 40.601437] LR is at ioremap_page_range+0x120/0x17c
[ 40.606548] pc : [<c0402cac>] lr : [<c02f3b38>] psr: a0000113
[ 40.606548] sp : df053e18 ip : df04e260 fp : e0898000
[ 40.618569] r10: de269590 r9 : de264c60 r8 : 00000002
[ 40.624041] r7 : 00000000 r6 : df112600 r5 : df112610 r4 : de269000
[ 40.630877] r3 : df10b840 r2 : c0402c90 r1 : 4a100e13 r0 : e0898000
[ 40.637714] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 40.645369] Control: 10c5387d Table: 80004019 DAC: 00000015
[ 40.651386] Process swapper/0 (pid: 1, stack limit = 0xdf052240)
[ 40.657676] Stack: (0xdf053e18 to 0xdf054000)
[ 40.662239] 3e00: 00000000 000000d0
[ 40.670809] 3e20: c0150558 00000007 de269298 c0621010 df051640 00000000 df053e4c 00000020
[ 40.679380] 3e40: 00000008 c0150888 22222222 22222222 22222222 de26cd08 de26cc88 de26cc88
[ 40.687949] 3e60: df053e90 c0150770 00000000 de26cc88 df111148 de2655c0 00000000 c01513c0
[ 40.696518] 3e80: df0484b8 c005ed84 00000000 00000003 df111148 00000000 c09b0754 df112610
[ 40.705087] 3ea0: df112644 c09b0754 c038b60c 000000f3 00000000 c0926104 00000000 c038c5e4
[ 40.713657] 3ec0: c038c5d0 c038b4c0 df112610 df112644 c09b0754 c038b674 00000000 df053ee8
[ 40.722227] 3ee0: c09b0754 c0389d0c df048478 df104280 c09b0754 c09b0754 de2655c0 c09a5e50
[ 40.730796] 3f00: 00000000 c038ac70 c080c32a df001288 c09b0754 c0932f10 c0945c24 c09cd780
[ 40.739366] 3f20: 000000f3 c038bb48 00000000 00000007 c0932f10 c0945c24 c09cd780 000000f3
[ 40.747936] 3f40: c0926104 c0008890 c0926104 0001e268 c0945c50 00000008 00000007 c0932f10
[ 40.756505] 3f60: c0945c24 c09cd780 000000f3 c0900274 c0932f18 c0900918 00000007 00000007
[ 40.765073] 3f80: c0900274 00000000 00000000 c0616114 00000000 00000000 00000000 00000000
[ 40.773640] 3fa0: 00000000 c061611c 00000000 c000d918 00000000 00000000 00000000 00000000
[ 40.782208] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.790776] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 cd4f4f77 e77dddeb
[ 40.799362] [<c0402cac>] (cpsw_probe+0x528/0xbd8) from [<c038c5e4>] (platform_drv_probe+0x14/0x18)
[ 40.808765] [<c038c5e4>] (platform_drv_probe+0x14/0x18) from [<c038b4c0>] (driver_probe_device+0xa0/0x1ec)
[ 40.818885] [<c038b4c0>] (driver_probe_device+0xa0/0x1ec) from [<c038b674>] (__driver_attach+0x68/0x8c)
[ 40.828731] [<c038b674>] (__driver_attach+0x68/0x8c) from [<c0389d0c>] (bus_for_each_dev+0x50/0x88)
[ 40.838214] [<c0389d0c>] (bus_for_each_dev+0x50/0x88) from [<c038ac70>] (bus_add_driver+0xcc/0x21c)
[ 40.847698] [<c038ac70>] (bus_add_driver+0xcc/0x21c) from [<c038bb48>] (driver_register+0x9c/0x12c)
[ 40.857183] [<c038bb48>] (driver_register+0x9c/0x12c) from [<c0008890>] (do_one_initcall+0x90/0x160)
[ 40.866759] [<c0008890>] (do_one_initcall+0x90/0x160) from [<c0900918>] (kernel_init_freeable+0xf8/0x1c4)
[ 40.876793] [<c0900918>] (kernel_init_freeable+0xf8/0x1c4) from [<c061611c>] (kernel_init+0x8/0xe4)
[ 40.886281] [<c061611c>] (kernel_init+0x8/0xe4) from [<c000d918>] (ret_from_fork+0x14/0x3c)
[ 40.895033] Code: e59f1660 ebfe16b5 ea00014d e584b5c0 (e59b3000)
[ 40.901419] ---[ end trace 5997583f3445d98b ]---
[ 40.906576] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 40.906576]

Any ideas ???

Thanks,
Ross

My first guess, and do keep in mind this is a GUESS. Going with what rh said, you may need to compile your own kernel taking everything out that is compiled in statically, that you do not have on your board.

For instance, there are MANY networking options with possibly many compiled in statically for the on board ethernet ( BBB ).

Dear Ross,

My Custom AM335X board also behaves similarly. Please find enclosed the log. Did you solve this problem? If so, What is the problem?

Uncompressing Linux… done, booting the kernel.
[ 75.526598] irq 23: nobody cared (try booting with the “irqpoll” option)
[ 75.526676] [] (unwind_backtrace+0x1/0x8c) from [] (__report_bad_irq+0x11/0x80)
[ 75.526714] [] (__report_bad_irq+0x11/0x80) from [] (note_interrupt+0xf1/0x178)
[ 75.526749] [] (note_interrupt+0xf1/0x178) from [] (irq_thread+0x75/0xec)
[ 75.526790] [] (irq_thread+0x75/0xec) from [] (kthread+0x61/0x72)
[ 75.526830] [] (kthread+0x61/0x72) from [] (ret_from_fork+0x11/0x34)
[ 75.526845] handlers:
[ 75.526867] [] irq_default_primary_handler threaded [] tps65217_irq
[ 75.526908] Disabling IRQ #23
[ 75.529577] DCDC1: at 1500 mV
[ 75.531338] vdd_mpu: 925 <–> 1325 mV at 1100 mV
[ 75.533024] vdd_core: 925 <–> 1150 mV at 1100 mV
[ 75.534698] LDO1: at 1800 mV
[ 75.536334] LDO2: at 3300 mV
[ 75.539425] LDO3: 1800 mV
[ 75.541143] LDO4: at 3300 mV
[ 75.542650] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 75.543500] omap_i2c 44e0b000.i2c: unable to select pin group
[ 75.544262] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[ 75.545342] pca953x 1-0020: failed reading register
[ 75.545382] pca953x: probe of 1-0020 failed with error -121
[ 75.549018] omap_i2c 4819c000.i2c: unable to select pin group
[ 75.549253] media: Linux media interface: v0.10
[ 75.549356] Linux video capture interface: v2.00
[ 75.549494] pps_core: LinuxPPS API ver. 1 registered
[ 75.550217] Advanced Linux Sound Architecture Driver Initialized.
[ 75.551383] nfc: nfc_init: NFC Core ver 0.1
[ 75.551496] NET: Registered protocol family 39
[ 75.551678] Switching to clocksource gp_timer
[ 75.569666] NET: Registered protocol family 2
[ 75.570668] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 75.570813] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[ 75.570977] TCP: Hash tables configured (established 4096 bind 4096)
[ 75.571066] TCP: reno registered
[ 75.571094] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 75.571140] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 75.571611] NET: Registered protocol family 1
[ 75.572192] RPC: Registered named UNIX socket transport module.
[ 75.572214] RPC: Registered udp transport module.
[ 75.572228] RPC: Registered tcp transport module.
[ 75.572243] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 75.572865] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 75.573446] CPU PMU: attempt to register multiple PMU devices!
[ 75.573490] arm-pmu: probe of arm-pmu failed with error -28
[ 75.573878] omap2_mbox_probe: platform not supported
[ 75.577766] VFS: Disk quotas dquot_6.5.2
[ 75.578003] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 75.579242] NFS: Registering the id_resolver key type
[ 75.579330] Key type id_resolver registered
[ 75.579349] Key type id_legacy registered
[ 75.579416] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 75.579882] msgmni has been set to 993
[ 75.582685] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 75.582710] io scheduler noop registered
[ 75.582727] io scheduler deadline registered
[ 75.582778] io scheduler cfq registered (default)
[ 75.584513] tps65217-bl tps65217-bl: no platform data provided
[ 75.584554] tps65217-bl: probe of tps65217-bl failed with error -22
[ 75.585632] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 75.588234] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[ 75.588517] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
[ 75.951262] console [ttyO0] enabled
[ 75.956279] [drm] Initialized drm 1.1.0 20060810
[ 75.974620] brd: module loaded
[ 75.984729] loop: module loaded
[ 75.988197] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 75.995500] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 76.002798] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 76.010083] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 76.017368] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 76.031921] bone-capemgr bone_capemgr.9: Baseboard: ‘A335BNLT,00A6,4213BBBK0413’
[ 76.039820] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
[ 76.075233] bone-capemgr bone_capemgr.9: slot #0: No cape found
[ 76.112341] bone-capemgr bone_capemgr.9: slot #1: No cape found
[ 76.149451] bone-capemgr bone_capemgr.9: slot #2: No cape found
[ 76.186559] bone-capemgr bone_capemgr.9: slot #3: No cape found
[ 76.192843] bone-capemgr bone_capemgr.9: slot #4: specific override
[ 76.199473] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
[ 76.207544] bone-capemgr bone_capemgr.9: slot #4: ‘Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G’
[ 76.217731] bone-capemgr bone_capemgr.9: slot #5: specific override
[ 76.224353] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
[ 76.232420] bone-capemgr bone_capemgr.9: slot #5: ‘Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI’
[ 76.242578] bone-capemgr bone_capemgr.9: slot #6: specific override
[ 76.249189] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
[ 76.257235] bone-capemgr bone_capemgr.9: slot #6: ‘Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN’
[ 76.267983] bone-capemgr bone_capemgr.9: initialized OK.
[ 76.273638] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware ‘cape-bone-2g-emmc1.dtbo’ for board-name ‘Bone-LT-eMMC-2G’, version ‘00A0’
[ 76.287248] bone-capemgr bone_capemgr.9: slot #5: Requesting firmware ‘cape-boneblack-hdmi-00A0.dtbo’ for board-name ‘Bone-Black-HDMI’, version ‘00A0’
[ 76.302241] usbcore: registered new interface driver pn533
[ 76.309480] OneNAND driver initializing
[ 76.313598] bone-capemgr bone_capemgr.9: slot #4: dtbo ‘cape-bone-2g-emmc1.dtbo’ loaded; converting to live tree
[ 76.324323] bone-capemgr bone_capemgr.9: slot #5: dtbo ‘cape-boneblack-hdmi-00A0.dtbo’ loaded; converting to live tree
[ 76.337263] edma-dma-engine edma-dma-engine.0: allocated channel for 0:45
[ 76.345077] bone-capemgr bone_capemgr.9: slot #4: #2 overlays
[ 76.352189] bone-capemgr bone_capemgr.9: slot #5: #4 overlays
[ 76.358438] edma-dma-engine edma-dma-engine.0: allocated channel for 0:44
[ 76.367642] usbcore: registered new interface driver asix
[ 76.374281] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.
[ 76.383484] platform 4830e000.fb: alias fck already exists
[ 76.389442] usbcore: registered new interface driver cdc_ether
[ 76.395827] usbcore: registered new interface driver smsc95xx
[ 76.403668] bone-capemgr bone_capemgr.9: slot #5: Applied #4 overlays.
[ 76.410631] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware ‘cape-boneblack-hdmin-00A0.dtbo’ for board-name ‘Bone-Black-HDMIN’, version ‘00A0’
[ 76.425082] usbcore: registered new interface driver net1080
[ 76.431247] usbcore: registered new interface driver cdc_subset
[ 76.437555] bone-capemgr bone_capemgr.9: slot #6: dtbo ‘cape-boneblack-hdmin-00A0.dtbo’ loaded; converting to live tree
[ 76.449114] usbcore: registered new interface driver zaurus
[ 76.455162] usbcore: registered new interface driver cdc_ncm
[ 76.461477] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[ 76.471096] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[ 76.477878] bone-capemgr bone_capemgr.9: loader: retrying slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 76.487919] usbcore: registered new interface driver cdc_acm
[ 76.493897] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 76.502291] Initializing USB Mass Storage driver…
[ 76.507450] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 76.517327] usbcore: registered new interface driver usb-storage
[ 76.523665] USB Mass Storage support registered.
[ 76.528770] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 76.535502] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
[ 76.540774] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 76.549958] musb-hdrc musb-hdrc.0.auto: *** mode=3
[ 76.555018] musb-hdrc musb-hdrc.0.auto: *** power=250
[ 76.561007] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
[ 76.566264] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 76.575256] musb-hdrc musb-hdrc.1.auto: *** mode=1
[ 76.580303] musb-hdrc musb-hdrc.1.auto: *** power=250
[ 76.585619] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 76.591989] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 76.600445] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 76.607588] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 76.615174] usb usb1: Product: MUSB HDRC host driver
[ 76.620403] usb usb1: Manufacturer: Linux 3.8.13 musb-hcd
[ 76.626079] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 76.632362] hub 1-0:1.0: USB hub found
[ 76.636399] hub 1-0:1.0: 1 port detected
[ 76.641915] mousedev: PS/2 mouse device common for all mice
[ 76.650456] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 76.658146] rtc-pcf8563 1-0051: chip found, driver version 0.4.3
[ 76.664750] rtc-pcf8563 1-0051: pcf8563_get_datetime: read error
[ 76.671371] rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc1
[ 76.678806] i2c /dev entries driver
[ 76.683540] pps_ldisc: PPS line discipline registered
[ 76.689033] Driver for 1-wire Dallas network protocol.
[ 76.696336] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 76.703939] cpuidle: using governor ladder
[ 76.708271] cpuidle: using governor menu
[ 76.712877] omap_hsmmc mmc.5: of_parse_phandle_with_args of ‘reset’ failed
[ 76.720108] omap_hsmmc mmc.5: Failed to get rstctl; not using any
[ 76.726919] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 76.734145] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 76.741690] mmc.5 supply vmmc_aux not found, using dummy regulator
[ 76.748743] omap_hsmmc mmc.5: pins are not configured from the driver
[ 76.782619] gpio-rctrl rstctl.4: gpio_rctrl_request eMMC_RSTn
[ 76.788834] omap_hsmmc mmc.11: Got rstctl (gpio:#0 name eMMC_RSTn) label:eMMC_RSTn
[ 76.796870] gpio-rctrl rstctl.4: gpio_rctrl_deassert eMMC_RSTn
[ 76.803394] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
[ 76.810563] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
[ 76.818254] mmc.11 supply vmmc_aux not found, using dummy regulator
[ 76.825015] omap_hsmmc mmc.11: pins are not configured from the driver
[ 76.858955] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 76.870670] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 76.877982] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[ 76.886968] leds-gpio gpio-leds.8: pins are not configured from the driver
[ 76.895605] ledtrig-cpu: registered to indicate activity on CPUs
[ 76.902446] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[ 76.909698] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 76.917868] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 76.924215] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[ 76.931468] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[ 76.944523] usbcore: registered new interface driver usbhid
[ 76.950579] usbhid: USB HID core driver
[ 76.957950] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 76.974456] pinctrl-single 44e10800.pinmux: pin 44e1099c already requested by 481a0000.spi; cannot claim for 48038000.mcasp
[ 76.986161] pinctrl-single 44e10800.pinmux: pin-103 (48038000.mcasp) status -22
[ 76.993842] pinctrl-single 44e10800.pinmux: could not request pin 103 on device pinctrl-single
[ 77.003314] davinci-mcasp 48038000.mcasp: pins are not configured from the driver
[ 77.011385] mmc0: new high speed SDHC card at address e624
[ 77.019672] davinci_evm sound.14: nxp-hdmi-hifi <-> 48038000.mcasp mapping ok
[ 77.027376] mmcblk0: mmc0:e624 SU04G 3.69 GiB
[ 77.034015] mmcblk0: p1 p2
[ 77.039900] TCP: cubic registered
[ 77.043433] Initializing XFRM netlink socket
[ 77.049221] NET: Registered protocol family 17
[ 77.054225] NET: Registered protocol family 15
[ 77.059169] Key type dns_resolver registered
[ 77.063827] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 77.071985] ThumbEE CPU extension supported.
[ 77.076540] Registering SWP/SWPB emulation handler
[ 77.082539] registered taskstats version 1
[ 77.088535] pinctrl-single 44e10800.pinmux: pin 44e109b0 already requested by mmc.11; cannot claim for hdmi.13
[ 77.099153] pinctrl-single 44e10800.pinmux: pin-108 (hdmi.13) status -22
[ 77.106199] pinctrl-single 44e10800.pinmux: could not request pin 108 on device pinctrl-single
[ 77.115240] slave hdmi.13: Failed to select default state
[ 77.121012] slave: probe of hdmi.13 failed with error -22
[ 77.128516] tilcdc 4830e000.fb: No power control GPIO
[ 77.135201] dummy 0-0034: Error -121 writing to cec:0xff
[ 77.141051] tda998x 0-0070: Error -121 reading from 0xa
[ 77.146810] tda998x 0-0070: Error -121 writing to 0xa
[ 77.192172] mmc1: BKOPS_EN bit is not set
[ 77.199609] mmc1: new high speed MMC card at address 0001
[ 77.205464] tda998x 0-0070: Error -121 reading from 0xa
[ 77.211770] mmcblk1: mmc1:0001 MMC02G 1.78 GiB
[ 77.216754] tda998x 0-0070: Error -121 writing to 0xa
[ 77.222409] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
[ 77.228985] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
[ 77.237463] mmcblk1: unknown partition table
[ 77.244271] mmcblk1boot1: unknown partition table
[ 77.251416] mmcblk1boot0: unknown partition table
[ 77.274627] tda998x 0-0070: Error -121 reading from 0x1
[ 77.280313] tda998x 0-0070: Error -121 writing to 0x1
[ 77.285772] tda998x 0-0070: Error -121 reading from 0x1
[ 77.291413] tda998x 0-0070: Error -121 writing to 0x1
[ 77.296888] tda998x 0-0070: Error -121 writing to REG_CURPAGE
[ 77.303078] tda998x 0-0070: Error -121 writing to 0x200
[ 77.308720] tda998x 0-0070: Error -121 writing to 0x201
[ 77.314360] tda998x 0-0070: Error -121 writing to 0x202
[ 77.320017] tda998x 0-0070: Error -121 writing to 0x203
[ 77.325659] tda998x 0-0070: Error -121 writing to 0x204
[ 77.331300] tda998x 0-0070: Error -121 writing to 0x205
[ 77.336983] tda998x 0-0070: Error -121 writing to 0x20e
[ 77.342623] tda998x 0-0070: Error -121 writing to 0x211
[ 77.348263] tda998x 0-0070: Error -121 writing to 0x207
[ 77.353903] tda998x 0-0070: Error -121 writing to 0x208
[ 77.359686] tda998x 0-0070: Error -121 writing to 0x209
[ 77.365332] tda998x 0-0070: Error -121 writing to 0x20a
[ 77.370974] tda998x 0-0070: Error -121 writing to 0x206
[ 77.376614] tda998x 0-0070: Error -121 writing to REG_CURPAGE
[ 77.382798] tda998x 0-0070: Error -121 reading from 0x0
[ 77.388439] tda998x 0-0070: Error -121 reading from 0x2
[ 77.394280] tilcdc 4830e000.fb: no encoders/connectors found
[ 77.400244] tilcdc 4830e000.fb: failed to initialize mode setting
[ 77.458162] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 77.464594] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 77.472146] libphy: 4a101000.mdio: probed
[ 77.476418] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 77.486284] Detected MACID = 00:18:31:e1:c4:ee
[ 77.490947] cpsw 4a100000.ethernet: NAPI disabled
[ 77.497630] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 77.515431] ALSA device list:
[ 77.518581] #0: TI BeagleBone Black
[ 77.525273] EXT3-fs (mmcblk0p2): recovery required on readonly filesystem
[ 77.532399] EXT3-fs (mmcblk0p2): write access will be enabled during recovery
[ 77.639304] kjournald starting. Commit interval 5 seconds
[ 77.651562] EXT3-fs (mmcblk0p2): recovery complete
[ 77.656597] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 77.663889] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
[ 77.672619] devtmpfs: mounted
[ 77.676038] Freeing init memory: 268K
INIT: version 2.88 booting
Starting udev
[ 78.020132] udevd[113]: starting version 182
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[ 78.259242] EXT3-fs (mmcblk0p2): using internal journal
Configuring network interfaces… [ 79.018929] net eth0: initializing cpsw version 1.12 (0)
[ 79.033078] net eth0: phy found : id is : 0x7c0f1
[ 79.044286] libphy: PHY 4a101000.mdio:01 not found
[ 79.049352] net eth0: phy 4a101000.mdio:01 not found on slave 1
udhcpc (v1.21.1) started
Sending discover…
Sending discover…
Sending discover…

No lease, failing
Sat Jan 18 06:58:00 UTC 2014
INIT: Entering runlevel: 5
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.

Poky (Yocto Project Reference Distro) 1.5 beaglebone /dev/ttyO0

beaglebone login:

With Thanks

Siddhiq

Hi Ross,

We are also trying to bring up our custom AM335x board.

So, could you plese tell me what changes you made to U-Boot to force the
boot process into believing it is running on a BBB, as i am facing lot of issues for doing the same. i have already tried with https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2014.10/0002-NFM-Production-eeprom-assume-device-is-BeagleBone-Bl.patch but didn’t get any better result out of this, As i can see in my FTDI output, only the s_init() function (file:board/ti/am335x/board.c) is keep on executing repeatedly.

If possible can u give me the patch file of the changes you made to U-Boot.

Expecting a quick response …