RobertCNelson / armv7-multiplatform

MIT License
75 stars 42 forks source link

beagleboard XM doesn't boot on v3.19-rc7 #25

Open ndyer opened 9 years ago

ndyer commented 9 years ago

I have built a kernel from your tree using build_mainline.sh and am trying to boot it using the ubuntu-14.04.1-console-armhf-2015-01-06 system image as recommended on http://www.elinux.org/BeagleBoardUbuntu#Method_1:_Download_a_Complete_Pre-Configured_Image

I get the following output on console at boot, then it hangs:

U-Boot SPL 2015.01-00011-g2efed9f (Jan 12 2015 - 17:15:10)
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!
reading u-boot.img
reading u-boot.img

U-Boot 2015.01-00011-g2efed9f (Jan 12 2015 - 17:15:10), Build: jenkins-github_Bootloader-Builder-90

OMAP3630/3730-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

Beagle xM Rev C
No EEPROM on expansion board
No EEPROM on expansion board
Die ID #0daa00029ff80000016071641700c021
Net:   usb_ether
Error: usb_ether address not set.

Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
Checking for: /uEnv.txt ...
Checking for: /boot/uEnv.txt ...
186 bytes read in 41 ms (3.9 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
Running uname_boot ...
loading /boot/vmlinuz-3.19.0-rc7-armv7-devel-r58-00032-g5ee0e96 ...
5722752 bytes read in 404 ms (13.5 MiB/s)
loading /boot/dtbs/3.19.0-rc7-armv7-devel-r58-00032-g5ee0e96/omap3-beagle-xm.dtb ...
62706 bytes read in 106 ms (577.1 KiB/s)
debug: [console=ttyO2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc quiet] ...
debug: [bootz 0x82000000 - 0x88000000] ...
Kernel image @ 0x82000000 [ 0x000000 - 0x575280 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Using Device Tree in place at 88000000, end 880124f1

Starting kernel ...

[    0.203094] platform 48058000.ssi-controller: Cannot lookup hwmod 'ssi'
[    0.206420] of_amba_device_create(): amba_device_add() failed (-19) for /etb@5401b000
[    0.206542] of_amba_device_create(): amba_device_add() failed (-19) for /etm@54010000
[    0.585296] ehci-omap 48064800.ehci: Can't get PHY device for port 1: -517
[    0.739410] leds_pwm pwmleds: unable to request PWM for beagleboard::pmu_stat: -517
[    0.759887] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva
[    0.767517] omap2_set_init_voltage: unable to set vdd_mpu_iva
[    0.773620] omap2_set_init_voltage: unable to find boot up OPP for vdd_core
[    0.780944] omap2_set_init_voltage: unable to set vdd_core
[    2.063598] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    2.084777] leds_pwm pwmleds: unable to request PWM for beagleboard::pmu_stat: -517
[    2.100250] leds_pwm pwmleds: unable to request PWM for beagleboard::pmu_stat: -517
[    2.348785] mmc0: card never left busy state
[    2.353332] mmc0: error -110 whilst initialising SD card
[    2.528045] leds_pwm pwmleds: unable to request PWM for beagleboard::pmu_stat: -517
[    2.985504] leds_pwm pwmleds: unable to request PWM for beagleboard::pmu_stat: -517
Nash-Strongman commented 9 years ago

I have the same issue

RobertCNelson commented 9 years ago

mmc0 error 110: use a different microsd card brand.

Nash-Strongman commented 9 years ago

Hi,

I replaced the spl and uboot with v2015.04.rc2.r2 and it works fine.

Thank you

gurpartap007 commented 9 years ago

@Nash-Strongman how you replace th spl and uboot.I am facing the same problem.

Nash-Strongman commented 9 years ago

@gurpartap007 Use the netinstall method from http://elinux.org/BeagleBoardUbuntu#Method_2:_Use_the_NetInstall_method.

Download the required versions of spl and uboot from http://rcn-ee.com/repos/bootloader/omap3_beagle/ ( I used v2015.04.rc2.r2) Pass the file names as parameters for --spl and --bootloader to mk_mmc.sh

ndyer commented 9 years ago

mmc0 error 110: use a different microsd card brand.

Can you recommend a brand that works? I've tried several now with the same issue

RobertCNelson commented 9 years ago

@ndyer have you tried the latest image, i bump u-boot and the kernel: http://www.elinux.org/BeagleBoardUbuntu#Ubuntu_.2814.04.2.29

Right now i'm using Kingston 8GB (SDC10)'s, as all my SanDisk Ultra 8GB's fail...

Regards,

thorsteneisbein commented 9 years ago

Hello, not sure if you solved the problem already. I had a similar issue and solved it by adding regulator-enable-ramp-delay=<50000>; to &vmmc1 in the dts file. It seems that specially the SanDisk Cards needs some time to start. The linux kernel switch off the card and on again while booting and if the delay is too short, the init of the SD Card fails.

Somewhere around 3.10-3.14 a fixed delay in the mmc drivers was removed, that caused the problem. I wasn't aware of that delay before.

If have another problem with the SanDisk on another omap3 platform. If I press the reset botton uboot still works and can access the SD Card, but the kernel says: [ 4.778219] mmc0: card never left busy state [ 4.782724] mmc0: error -110 whilst initialising SD card Still searching for a solution here. Pressing the reset botton again and everything is fine.

RobertCNelson commented 9 years ago

Guys, some of my SanDisk ultra's are now working with v2015.07-rc2 + v4.1.0-rc7 on the xM..

Updated image from last week: http://elinux.org/BeagleBoardUbuntu#BeagleBoard_xM

Regards,

DanieloDelgado commented 8 years ago

It keeps happening with U-Boot 2015.10-rc1-00001-gb885963 and kernel 4.1.6-armv7-x2. Anybody has at least a patch to solve this? [ 11.463745] mmc0: card never left busy state [ 11.468200] mmc0: error -110 whilst initialising SD card I happens with both Kingston and Sandisk Ultra.

RobertCNelson commented 8 years ago

A similar issue is hitting sunxi: https://groups.google.com/forum/#!topic/linux-sunxi/ABqafwuPYMM

haven't tested their patch to see if fixes ours...

DanieloDelgado commented 8 years ago

I tried appliying the "Setting the bus clock before the access mode switch fixed it" but after the second reboot the error is still there.

RobertCNelson commented 8 years ago

I'm looking at the: mmc: retry in the case of failing to switch to HS mode Regards,

RobertCNelson commented 8 years ago

Okay this looks to be a regression in v3.17.x

Just built/installed v3.16.x and booted my xm: https://github.com/RobertCNelson/armv7-multiplatform/tree/v3.16.x

Will start bisecting the v3.17.x tomorrow..

RobertCNelson commented 8 years ago

Humm: (looking v3.16..v3.17) https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5e863662add1fc00bf088dc381b787edc0a0de5b

added: [ 11.463745] mmc0: card never left busy state

Regards,

DanieloDelgado commented 8 years ago

Seems that i will have to modify that timeout mmc_delay(10) for something bigger or increase i variable to give it more time to left busy state.

Thanks.

RobertCNelson commented 8 years ago

Okay, git bisect is pointing too:

daebabd578647440d41fc9b48d8c7a88dc2f7ab5 is the first bad commit
commit daebabd578647440d41fc9b48d8c7a88dc2f7ab5
Author: Tony Lindgren <tony@atomide.com>
Date:   Tue Aug 19 08:24:05 2014 -0700

    mfd: twl4030-power: Fix PM idle pin configuration to not conflict with regulators

    Commit 43fef47f94a1 (mfd: twl4030-power: Add a configuration to turn
    off oscillator during off-idle) added support for configuring the PMIC
    to cut off resources during deeper idle states to save power.

    This however caused regression for n900 display power that needed the
    PMIC configuration to be disabled with commit d937678ab625 (ARM: dts:
    Revert enabling of twl configuration for n900).

    Turns out the root cause of the problem is that we must use
    TWL4030_RESCONFIG_UNDEF instead of DEV_GRP_NULL to avoid disabling
    regulators that may have been enabled before the init function
    for twl4030-power.c runs. With TWL4030_RESCONFIG_UNDEF we let the
    regulator framework control the regulators like it should. Here we
    need to only configure the sys_clken and sys_off_mode triggers for
    the regulators that cannot be done by the regulator framework as
    it's not running at that point.

    This allows us to enable the PMIC configuration for n900.

    Fixes: 43fef47f94a1 (mfd: twl4030-power: Add a configuration to turn off oscillator during off-idle)

    Cc: stable@vger.kernel.org # v3.16
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>

:040000 040000 6420a23a46d3d267398d4d23d22891e4bf9856b8 027a7b56b4a04bd56b7cd74b51063f5858b70571 M  arch
:040000 040000 638eafdfb9f30a06b7f68f9d82fa27c5a060c6c2 9050e926daf65ac08278917496571ab3e3cf66ec M  drivers

Starting verification...

git bisect start
# good: [a8e4def604a9affa04fdd4efa0692da1385ffa3f] Merge tag 'mmc-v3.17-1' of git://git.linaro.org/people/ulf.hansson/mmc
git bisect good a8e4def604a9affa04fdd4efa0692da1385ffa3f
# bad: [bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9] Linux 3.17
git bisect bad bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9
# bad: [86ba8b0aee711b01fa5a14868035a3f4d6b1e1d9] Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
git bisect bad 86ba8b0aee711b01fa5a14868035a3f4d6b1e1d9
# good: [433ab34d26e29d0f036c3f514a09ae96f973d8c5] Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect good 433ab34d26e29d0f036c3f514a09ae96f973d8c5
# bad: [848298c6fb36fbe459854e376ce90af32ba6e1ce] Merge tag 'usb-3.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect bad 848298c6fb36fbe459854e376ce90af32ba6e1ce
# good: [1fb00cbca05ba13f386e75aa1f6d801895cfed29] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
git bisect good 1fb00cbca05ba13f386e75aa1f6d801895cfed29
# bad: [ef13c8afa67518e1d173a6f3b95dd02559879421] Merge tag 'dm-3.17-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
git bisect bad ef13c8afa67518e1d173a6f3b95dd02559879421
# good: [daf543b177835e42a806439346d367dafeb3a1d3] Merge tag 'for-3.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/sumits/dma-buf
git bisect good daf543b177835e42a806439346d367dafeb3a1d3
# bad: [5691e4456a9332b5cdc0692f0963f35444711038] alpha: Wire up sched_setattr, sched_getattr, and renameat2 syscalls.
git bisect bad 5691e4456a9332b5cdc0692f0963f35444711038
# good: [0caf14e66aee5f8d97e61ba3d46c89ae3548702e] Merge tag 'pinctrl-v3.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect good 0caf14e66aee5f8d97e61ba3d46c89ae3548702e
# good: [bc80436033838b918f21a7074f56d3a8263ccca4] mfd: tc3589x: Add device tree bindings
git bisect good bc80436033838b918f21a7074f56d3a8263ccca4
# bad: [2db3cff2d3ebb0f377d93c5253624927c0a35cf9] Merge tag 'mfd-fixes-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
git bisect bad 2db3cff2d3ebb0f377d93c5253624927c0a35cf9
# bad: [daebabd578647440d41fc9b48d8c7a88dc2f7ab5] mfd: twl4030-power: Fix PM idle pin configuration to not conflict with regulators
git bisect bad daebabd578647440d41fc9b48d8c7a88dc2f7ab5
# first bad commit: [daebabd578647440d41fc9b48d8c7a88dc2f7ab5] mfd: twl4030-power: Fix PM idle pin configuration to not conflict with regulators
RobertCNelson commented 8 years ago

So verification failed..

https://github.com/RobertCNelson/armv7-multiplatform/commit/da940131e331594f33438c3d166415166a7981ce

[    6.050659] mmc0: card never left busy state
[    6.055114] mmc0: error -110 whilst initialising SD card

I'll start the bisect again, makeing sure to also include ^ patch...

DanieloDelgado commented 8 years ago

I applied 0002-mmc-retry-in-the-case-of-failing-to-switch-to-HS-mod.patch from sunxi to u-boot and after several reboots and reset pushes Kingston SD's boots correctly, from time to time it fails. Sandisk Ultra stil failing but no so many as before, maybe if the timeout in the patch is increased this problem will be solved.

DanieloDelgado commented 8 years ago

I want to count how many times Sandisk Ultra fails to leave busy state but I could't find how to enable debug messages for mmc.c.

DanieloDelgado commented 8 years ago

Not sure if was thanks to the patch or just a coincidence.

DanieloDelgado commented 8 years ago

Sorry, i was wrong.

MarsThunder commented 8 years ago

This might explain the issue I am having. I have Jessie working on my XM revC - no problems, except room. It is a 2GB Kingston card. Cloned the image onto a 4GB SanDisk, and before I expanded partition, fired it up. Boots fine, however it will only cold boot. Reboot, Shutdown -r, etc. bring the XM down, but it never comes back. Started from scratch with netinstall of Wiley and Xenial, and results are the same - cold boots and power on through 5V wall wart are only way to get the board up. This is all on the SanDisk 4GB. I have a SanDisk Ultra 8GB and the results are the same except that the card stopped working and boots to BusyBox and the '[8.921] never left busy state' along with the '110' error. I have just ordered both Kingston and PNY cards in various sizes to see if that solves reboot issue. Does it make sense this is all related? Am I too bleeding edge with kernel (4.4.1) and should go back to earlier ones? I remember years ago, I had Maverick running perfectly on this same board and it had GNOME and all the trimmings on a 4GB card - probably in some cell phone somewhere for photos since then.

code-struck commented 8 years ago

tried to install using the netinstall method, getting a kernel panic sudo ./mk_mmc.sh --dtb omap3-beagle-xm --distro trusty --serial-mode --mmc /dev/sde

U-Boot SPL 2016.01-00001-g3f205b0 (Mar 01 2016 - 14:23:49) Trying to boot from MMC SPL: Please implement spl_start_uboot() for your board SPL: Direct Linux boot not active! reading u-boot.img reading u-boot.img

U-Boot 2016.01-00001-g3f205b0 (Mar 01 2016 - 14:23:49 -0600), Build: jenkins-github_Bootloader-Builder-337

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *\ Warning - readenv() failed, using default environment

Beagle xM Rev C No EEPROM on expansion board No EEPROM on expansion board OMAP die ID: 13011007016842c89ff800003d260002Net: usb_ether Error: usb_ether address not set.

Hit any key to stop autoboot: 1  0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 Checking for: /uEnv.txt ... Checking for: /boot/uEnv.txt ... reading /boot/uEnv.txt 184 bytes read in 5 ms (35.2 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... Running uname_boot ... loading /boot/vmlinuz-current ... reading /boot/vmlinuz-current 5712176 bytes read in 354 ms (15.4 MiB/s) loading /boot/dtbs/current/omap3-beagle-xm.dtb ... reading /boot/dtbs/current/omap3-beagle-xm.dtb 108305 bytes read in 27 ms (3.8 MiB/s) loading /boot/initrd.img-current ... reading /boot/initrd.img-current 54857262 bytes read in 3337 ms (15.7 MiB/s)

Installer for [trusty-armhf] is using the Serial Interface

debug: [console=ttyO2,115200n8 root=/dev/ram rw] ... debug: [bootz 0x82000000 0x88080000:3450e2e 0x88000000] ... Kernel image @ 0x82000000 [ 0x000000 - 0x572930 ]

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000 Loading Ramdisk to 8cbaf000, end 8ffffe2e ... OK Loading Device Tree to 8cb91000, end 8cbae710 ... OK

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.4.3-armv7-x5 (root@a4-imx6q-wandboard-2gb) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) ) #1 SMP Fri Feb 26 22:35:21 UTC 2016 [ 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 model: TI OMAP3 BeagleBoard xM [ 0.000000] cma: Reserved 24 MiB at 0x9e000000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk ) [ 0.000000] PERCPU: Embedded 13 pages/cpu @df8f9000 s23552 r8192 d21504 u53248 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408 [ 0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/ram rw [ 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] Memory: 418904K/522240K available (11836K kernel code, 1240K rwdata, 4468K rodata, 1036K init, 929K bss, 78760K reserved, 24576K 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 : 0xe0800000 - 0xff800000 ( 496 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 - 0xc0ff44ac (16306 kB) [ 0.000000] .init : 0xc0ff5000 - 0xc10f8000 (1036 kB) [ 0.000000] .data : 0xc10f8000 - 0xc122e290 (1241 kB) [ 0.000000] .bss : 0xc1231000 - 0xc1319434 ( 930 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, 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/400/600 MHz [ 0.000000] OMAP clockevent source: timer1 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.007324] Console: colour dummy device 80x30 [ 0.007354] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032) [ 0.061248] pid_max: default: 32768 minimum: 301 [ 0.061462] Security Framework initialized [ 0.061462] Yama: becoming mindful. [ 0.061523] AppArmor: AppArmor disabled by boot time parameter [ 0.061767] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.061798] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.062957] Initializing cgroup subsys io [ 0.062988] Initializing cgroup subsys memory [ 0.063049] Initializing cgroup subsys devices [ 0.063079] Initializing cgroup subsys freezer [ 0.063110] Initializing cgroup subsys net_cls [ 0.063140] Initializing cgroup subsys perf_event [ 0.063140] Initializing cgroup subsys net_prio [ 0.063171] Initializing cgroup subsys pids [ 0.063262] CPU: Testing write buffer coherency: ok [ 0.063323] ftrace: allocating 38692 entries in 114 pages [ 0.237457] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.237609] Setting up static identity map for 0x80008280 - 0x80008318 [ 0.246917] Brought up 1 CPUs [ 0.246948] SMP: Total of 1 processors activated (597.60 BogoMIPS). [ 0.246948] CPU: All CPU(s) started in SVC mode. [ 0.248992] devtmpfs: initialized [ 0.305206] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.337402] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp [ 0.338348] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp [ 0.416503] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.418975] xor: measuring software checksum speed [ 0.510314] arm4regs : 730.000 MB/sec [ 0.610107] 8regs : 541.200 MB/sec [ 0.709899] 32regs : 610.000 MB/sec [ 0.809692] neon : 1040.400 MB/sec [ 0.809692] xor: using function: neon (1040.400 MB/sec) [ 0.809814] pinctrl core: initialized pinctrl subsystem [ 0.812774] NET: Registered protocol family 16 [ 0.816589] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.820159] Reprogramming SDRC clock to 400000000 Hz [ 0.826873] omap_gpio 48310000.gpio: could not find pctldev for node /ocp/l4@48000000/scm@2000/pinmux@a00/pinmux_gpio1_pins, deferring probe [ 0.828247] OMAP GPIO hardware version 2.5 [ 0.834747] irq: no irq domain found for /ocp/l4@48000000/scm@2000/pinmux@30 ! [ 0.847534] omap-gpmc 6e000000.gpmc: GPMC revision 5.0 [ 0.847564] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.848937] platform 48058000.ssi-controller: Cannot lookup hwmod 'ssi' [ 0.853057] of_amba_device_create(): amba_device_add() failed (-19) for /etb@5401b000 [ 0.853210] of_amba_device_create(): amba_device_add() failed (-19) for /etm@54010000 [ 0.856811] No ATAGs? [ 0.856842] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.858947] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.858978] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.859771] OMAP DMA hardware revision 5.0 [ 0.862396] Serial: AMBA PL011 UART driver [ 1.049652] raid6: int32x1 gen() 124 MB/s [ 1.218933] raid6: int32x1 xor() 104 MB/s [ 1.388732] raid6: int32x2 gen() 187 MB/s [ 1.558135] raid6: int32x2 xor() 122 MB/s [ 1.727966] raid6: int32x4 gen() 159 MB/s [ 1.897430] raid6: int32x4 xor() 121 MB/s [ 2.067138] raid6: int32x8 gen() 174 MB/s [ 2.236938] raid6: int32x8 xor() 103 MB/s [ 2.406433] raid6: neonx1 gen() 873 MB/s [ 2.576049] raid6: neonx1 xor() 507 MB/s [ 2.745697] raid6: neonx2 gen() 1121 MB/s [ 2.915313] raid6: neonx2 xor() 708 MB/s [ 3.084991] raid6: neonx4 gen() 1166 MB/s [ 3.254638] raid6: neonx4 xor() 721 MB/s [ 3.424285] raid6: neonx8 gen() 691 MB/s [ 3.593902] raid6: neonx8 xor() 502 MB/s [ 3.593902] raid6: using algorithm neonx4 gen() 1166 MB/s [ 3.593933] raid6: .... xor() 721 MB/s, rmw enabled [ 3.593933] raid6: using intx1 recovery algorithm [ 3.603576] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver [ 3.613708] omap-iommu 480bd400.mmu: 480bd400.mmu registered [ 3.616729] vgaarb: loaded [ 3.617858] SCSI subsystem initialized [ 3.618804] usbcore: registered new interface driver usbfs [ 3.618927] usbcore: registered new interface driver hub [ 3.619049] usbcore: registered new device driver usb [ 3.623016] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz [ 3.623931] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz [ 3.624725] omap_i2c 48060000.i2c: bus 2 rev4.4 at 100 kHz [ 3.625518] media: Linux media interface: v0.10 [ 3.625640] Linux video capture interface: v2.00 [ 3.625793] pps_core: LinuxPPS API ver. 1 registered [ 3.625793] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 3.625854] PTP clock support registered [ 3.626800] omap-mailbox 48094000.mailbox: omap mailbox rev 0x40 [ 3.629089] NetLabel: Initializing [ 3.629089] NetLabel: domain hash size = 128 [ 3.629119] NetLabel: protocols = UNLABELED CIPSOv4 [ 3.629180] NetLabel: unlabeled traffic allowed by default [ 3.629974] clocksource: Switched to clocksource 32k_counter [ 3.788696] NET: Registered protocol family 2 [ 3.789794] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 3.789886] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 3.789978] TCP: Hash tables configured (established 4096 bind 4096) [ 3.790161] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 3.790191] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 3.790588] NET: Registered protocol family 1 [ 3.791290] RPC: Registered named UNIX socket transport module. [ 3.791320] RPC: Registered udp transport module. [ 3.791320] RPC: Registered tcp transport module. [ 3.791351] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.794219] Unpacking initramfs... [ 9.479003] Freeing initrd memory: 53572K (ccbaf000 - d0000000) [ 9.479644] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 9.485137] futex hash table entries: 256 (order: 2, 16384 bytes) [ 9.485290] audit: initializing netlink subsys (disabled) [ 9.485412] audit: type=2000 audit(9.375:1): initialized [ 9.487304] zbud: loaded [ 9.487762] VFS: Disk quotas dquot_6.6.0 [ 9.487884] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 9.488769] NFS: Registering the id_resolver key type [ 9.488861] Key type id_resolver registered [ 9.488861] Key type id_legacy registered [ 9.488891] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 9.489349] fuse init (API version 7.23) [ 9.489746] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 9.495086] jitterentropy: Initialization failed with host not compliant with requirements: 2 [ 9.495269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 9.495574] io scheduler noop registered [ 9.495605] io scheduler deadline registered [ 9.495666] io scheduler cfq registered (default) [ 9.499359] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568 [ 9.499755] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92 [ 9.500671] pinctrl-single 480025a0.pinmux: 46 pins at pa fa0025a0 size 92 [ 9.508575] 48050000.dss supply vdda_video not found, using dummy regulator [ 9.508850] OMAP DSS rev 2.0 [ 9.509063] omapdss_dss 48050000.dss: bound 48050400.dispc (ops dispc_component_ops) [ 9.509185] omapdss_dss 48050000.dss: bound 48050c00.encoder (ops venc_component_ops) [ 9.510620] tfp410 encoder@0: failed to parse PD gpio [ 9.511138] connector-dvi connector@0: failed to find video source [ 9.518585] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled [ 9.522705] Serial: AMBA driver [ 9.524169] omap_uart 4806a000.serial: no wakeirq for uart0 [ 9.524475] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 9.525146] omap_uart 4806c000.serial: no wakeirq for uart1 [ 9.525360] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 9.526245] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 10.583007] console [ttyO2] enabled [ 10.587493] omap_uart 49042000.serial: no wakeirq for uart3 [ 10.593627] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3 [ 10.605346] [drm] Initialized drm 1.1.0 20060810 [ 10.610321] Error: Driver 'tfp410' is already registered, aborting... [ 10.644897] twl 0-0048: PIH (irq 23) chaining IRQs 307..315 [ 10.650909] twl 0-0048: power (irq 312) chaining IRQs 315..322 [ 10.690399] twl4030_gpio twl4030-gpio: gpio (irq 307) chaining IRQs 323..340 [ 10.705078] twl4030_usb 48070000.i2c:twl@48:twl4030-usb: Initialized TWL4030 USB module [ 10.765777] usbcore: registered new interface driver dln2 [ 10.781036] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 10.787963] ehci-pci: EHCI PCI platform driver [ 10.792785] ehci-platform: EHCI generic platform driver [ 10.798767] ehci-omap: OMAP-EHCI Host Controller driver [ 10.804748] ehci-omap 48064800.ehci: Can't get PHY device for port 1: -517 [ 10.812347] tegra-ehci: Tegra EHCI driver [ 10.817810] usbcore: registered new interface driver usb-storage [ 10.827423] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver [ 10.833557] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1 [ 10.842102] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 10.849212] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 10.856811] usb usb1: Product: MUSB HDRC host driver [ 10.862060] usb usb1: Manufacturer: Linux 4.4.3-armv7-x5 musb-hcd [ 10.868438] usb usb1: SerialNumber: musb-hdrc.0.auto [ 10.874816] hub 1-0:1.0: USB hub found [ 10.878814] hub 1-0:1.0: 1 port detected [ 10.888671] using random self ethernet address [ 10.893493] using random host ethernet address [ 10.899200] usb0: HOST MAC 0e:2d:6d:55:33:e8 [ 10.903900] usb0: MAC 6e:b7:c9:22:2b:85 [ 10.907958] using random self ethernet address [ 10.912658] using random host ethernet address [ 10.917449] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 [ 10.924438] g_ether gadget: g_ether ready [ 10.929412] mousedev: PS/2 mouse device common for all mice [ 10.937866] input: twl4030_pwrbutton as /devices/platform/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl@48:pwrbutton/input/input0 [ 10.956207] twl_rtc 48070000.i2c:twl@48:rtc: Power up reset detected. [ 10.963409] twl_rtc 48070000.i2c:twl@48:rtc: Enabling TWL-RTC [ 10.972351] twl_rtc 48070000.i2c:twl@48:rtc: rtc core: registered 48070000.i2c:twl@48 as rtc0 [ 10.982299] i2c /dev entries driver [ 10.989227] Driver for 1-wire Dallas network protocol. [ 11.001129] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 11.014099] sdhci: Secure Digital Host Controller Interface driver [ 11.020690] sdhci: Copyright(c) Pierre Ossman [ 11.070983] Synopsys Designware Multimedia Card Interface Driver [ 11.078643] sdhci-pltfm: SDHCI platform and OF driver helper [ 11.090972] ledtrig-cpu: registered to indicate activity on CPUs [ 11.097381] hidraw: raw HID events driver (C) Jiri Kosina [ 11.104217] usbcore: registered new interface driver usbhid [ 11.110168] usbhid: USB HID core driver [ 11.114593] ashmem: initialized [ 11.130004] oprofile: using arm/armv7 [ 11.134613] NET: Registered protocol family 10 [ 11.141235] mip6: Mobile IPv6 [ 11.144378] NET: Registered protocol family 17 [ 11.149200] Key type dns_resolver registered [ 11.153808] mpls_gso: MPLS GSO support [ 11.158050] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva [ 11.165710] omap2_set_init_voltage: unable to set vdd_mpu_iva [ 11.171813] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 11.179138] omap2_set_init_voltage: unable to set vdd_core [ 11.188903] ThumbEE CPU extension supported. [ 11.193542] Registering SWP/SWPB emulation handler [ 11.198547] SmartReflex Class3 initialized [ 11.204132] registered taskstats version 1 [ 11.208557] zswap: loaded using pool lzo/zbud [ 11.214416] Btrfs loaded [ 11.242156] Key type encrypted registered [ 11.350891] ehci-omap 48064800.ehci: EHCI Host Controller [ 11.356567] ehci-omap 48064800.ehci: new USB bus registered, assigned bus number 2 [ 11.365020] ehci-omap 48064800.ehci: irq 93, io mem 0x48064800 [ 11.390350] ehci-omap 48064800.ehci: USB 2.0 started, EHCI 1.00 [ 11.396942] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 11.404052] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 11.411651] usb usb2: Product: EHCI Host Controller [ 11.416748] usb usb2: Manufacturer: Linux 4.4.3-armv7-x5 ehci_hcd [ 11.423126] usb usb2: SerialNumber: 48064800.ehci [ 11.429107] hub 2-0:1.0: USB hub found [ 11.433197] hub 2-0:1.0: 3 ports detected [ 11.438720] 48050000.dss supply vdds_dsi not found, using dummy regulator [ 11.447113] omapdrm omapdrm.0: DMM not available, disable DMM support [ 11.455078] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 11.462066] [drm] No driver support for vblank timestamp query. [ 11.480651] omapdrm omapdrm.0: No connectors reported connected with modes [ 11.487884] [drm] Cannot find any crtc or sizes - going 1024x768 [ 11.511291] Console: switching to colour frame buffer device 128x48 [ 11.529327] omapdrm omapdrm.0: fb0: omapdrm frame buffer device [ 11.535766] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0 [ 11.543609] input: gpio_keys as /devices/platform/gpio_keys/input/input1 [ 11.552276] twl_rtc 48070000.i2c:twl@48:rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 11.562225] sr_init: No PMIC hook to init smartreflex [ 11.567871] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized [ 11.576446] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized [ 11.584777] of_cfs_init [ 11.587371] of_cfs_init: OK [ 11.606628] VAUX3: disabling [ 11.610809] VDAC: disabling [ 11.614746] VPLL2: disabling [ 11.620483] Freeing unused kernel memory: 1036K (c0ff5000 - c10f8000) /lib/debian-installer/start-udev: line 3: can't create /sys/kernel/uevent_helper: Permission denied [ 11.690856] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 11.690856] [ 11.700439] CPU: 0 PID: 1 Comm: init Not tainted 4.4.3-armv7-x5 #1 [ 11.706878] Hardware name: Generic OMAP36xx (Flattened Device Tree) [ 11.713470] from [ 11.721557] from [ 11.729125] from [ 11.736297] from [ 11.743316] from [ 11.750854] from [ 11.759155] from [ 11.767700] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 [ 11.767700]

RobertCNelson commented 8 years ago

@code-struck actually that's a different issue.. trusty looks to be broken with 4.4.x kernel, it works with 4.1.x:

--distro trusty --use-lts-4_1-kernel

Or switch to either wily/xenial, as that boots fine with 4.4.x

We are about a month away from xenial (16.04) being released, so I personally don't see any worth in fixing trusty (14.04).. But if you find something let me know.

Regards,

code-struck commented 8 years ago

Ah okay then, thank you. I think I will just wait a month then to install 16.04.

RobertCNelson commented 8 years ago

@code-struck xenial's an lts release, currently just past the beta point, it's pretty safe right now, you should only see fixes leading up to next month..

spanceac commented 5 years ago

I fixed this issue with this patch: https://github.com/balena-os/balena-beaglebone/blob/master/layers/meta-balena-beaglebone/recipes-kernel/linux/linux-beagleboard-4.14/0001-card-power-cycle.patch