Default debian image not booting

Hi everyone,

after having my Beagleboard xM collecting dust for quite some time I decided to get back to it and give it some useful work. Unfortunally I don’t even get it to boot with the latest debian image.

My display just turns orange when I power it up and then goes black. I tried the 2 latest versions:

I tried reflashing the image (using etcher) A LOT, different sd-cards, power supplies and nothing helped.

Once I got a blinking text-cursor followed by a stuck mouse cursor on a black background, but even after waiting ~20min nothing further happened. After resetting then it again got stuck on loading the kernel and I never managed to get ahead of that anymore. Also I can’t tell any difference to the tries before. I was trying around with holding the user button at that time, but since that doesn’t really do anything for the beagleboard xM (and I couldn’t reproduce it trying pressing/holding the button) I don’t think that had anything to do with that one more successful attempt.

Now I connected it to my pc via serial and managed to get some debugging information, but unfortunally I didn’t find anything useful about those messages:

`

switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
Checking for: /uEnv.txt …
Checking for: /boot/uEnv.txt …
260 bytes read in 20 ms (12.7 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt…
Running uname_boot …
loading /boot/vmlinuz-4.8.7-armv7-x4 …
6294200 bytes read in 510 ms (11.8 MiB/s)
loading /boot/dtbs/4.8.7-armv7-x4/omap3-beagle-xm.dtb …
111103 bytes read in 260 ms (417 KiB/s)
loading /boot/initrd.img-4.8.7-armv7-x4 …
5324513 bytes read in 432 ms (11.8 MiB/s)
debug: [console=ttyO2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait coherent_pool=1M quiet] …
debug: [bootz 0x82000000 0x88080000:513ee1 0x88000000] …

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8faec000, end 8ffffee1 … OK
Loading Device Tree to 8facd000, end 8faeb1fe … OK

Starting kernel …

[ 4.461242] tfp410 encoder0: failed to parse PD gpio
[ 4.466796] OF: ERROR: Bad of_node_put() on /encoder0/ports/port@1/endpoint
[ 4.474456] connector-dvi connector0: failed to find video source
[ 4.482299] Error: Driver ‘tfp410’ is already registered, aborting…
[ 4.603271] ehci-omap 48064800.ehci: Can’t get PHY device for port 1: -517
[ 4.736480] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva
[ 4.743865] omap2_set_init_voltage: unable to set vdd_mpu_iva
[ 4.749755] omap2_set_init_voltage: unable to find boot up OPP for vdd_core
[ 4.756744] omap2_set_init_voltage: unable to set vdd_core
[ 4.806793] OF: ERROR: Bad of_node_put() on /ocp/dss@48050000/port/endpoint
[ 4.816497] OF: ERROR: Bad of_node_put() on /encoder0/ports/port@1/endpoint
[ 32.248260] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [irq/77-48060000:30]
[ 60.248260] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [irq/77-48060000:30]
[ 88.248260] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [irq/77-48060000:30]
[ 116.248260] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [irq/77-48060000:30]
[ 144.248260] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [irq/77-48060000:30]
[ 172.248260] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [irq/77-48060000:30]
[ 200.248260] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [irq/77-48060000:30]

U-Boot SPL 2016.09-00001-g2f045d8 (Sep 28 2016 - 10:43:13)
Trying to boot from MMC1
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.09-00001-g2f045d8 (Sep 28 2016 - 10:43:13 -0500), Build: jenkins-github_Bootloader-Builder-467

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: 12a200029ff80000016842c815012008
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 …
260 bytes read in 20 ms (12.7 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt…
Running uname_boot …
loading /boot/vmlinuz-4.8.7-armv7-x4 …
6294200 bytes read in 510 ms (11.8 MiB/s)
loading /boot/dtbs/4.8.7-armv7-x4/omap3-beagle-xm.dtb …
111103 bytes read in 260 ms (417 KiB/s)
loading /boot/initrd.img-4.8.7-armv7-x4 …
5324513 bytes read in 432 ms (11.8 MiB/s)
debug: [console=ttyO2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait coherent_pool=1M quiet] …
debug: [bootz 0x82000000 0x88080000:513ee1 0x88000000] …

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8faec000, end 8ffffee1 … OK
Loading Device Tree to 8facd000, end 8faeb1fe … OK

Starting kernel …

[ 4.451477] tfp410 encoder0: failed to parse PD gpio
[ 4.457031] OF: ERROR: Bad of_node_put() on /encoder0/ports/port@1/endpoint
[ 4.464660] connector-dvi connector0: failed to find video source
[ 4.472503] Error: Driver ‘tfp410’ is already registered, aborting…
[ 4.593566] ehci-omap 48064800.ehci: Can’t get PHY device for port 1: -517
[ 4.726470] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva
[ 4.733856] omap2_set_init_voltage: unable to set vdd_mpu_iva
[ 4.739746] omap2_set_init_voltage: unable to find boot up OPP for vdd_core
[ 4.746734] omap2_set_init_voltage: unable to set vdd_core
[ 4.796844] OF: ERROR: Bad of_node_put() on /ocp/dss@48050000/port/endpoint
[ 4.806549] OF: ERROR: Bad of_node_put() on /encoder0/ports/port@1/endpoint
[ 32.248291] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [irq/77-48060000:30]
[ 60.248291] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [irq/77-48060000:30]
[ 88.248321] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [irq/77-48060000:30]
[…] (Repeating every 28 seconds)

`

Any ideas about what is the issue here or what I could try to fix it would be nice.

Best regards

Jens N

For the BB-xM grab either:

For Jessie:

https://rcn-ee.net/rootfs/bb.org/testing/2018-01-01/lxqt-xm-4gb/bbxm-debian-8.10-lxqt-xm-4gb-armhf-2018-01-01-4gb.img.xz

For Stretch:

https://rcn-ee.net/rootfs/bb.org/testing/2018-01-14/stretch-lxqt-xm/bbxm-debian-9.3-lxqt-xm-armhf-2018-01-14-4gb.img.xz

Regards,

Hey,

thanks at first for the quick reply. The mentioned Images look a lot more promising, but both of them won’t show anything on hdmi after the orange starting screen and will crash after some time with those messages:

`

[ 79.053771] INFO: rcu_sched detected stalls on CPUs/tasks:
[ 79.059295] (detected by 0, t=5252 jiffies, g=13836, c=13835, q=9)
[ 79.065612] All QSes seen, last rcu_sched kthread activity 5252 (-55236–60488), jiffies_till_next_fqs=1, root ->qsmask 0x0

`

I also tried a version from cristmas ( https://rcn-ee.net/rootfs/bb.org/testing/2017-12-24/stretch-lxqt-xm/bbxm-debian-9.3-lxqt-xm-armhf-2017-12-24-4gb.img.xz ) which froze after booting to the login, also producing no output to the hdmi.

Logs of attempts for all 3 version are attached.

fail81_2018-01-01.txt (7.31 KB)

fail81_2018-01-01.txt (7.31 KB)

fail93_2017-12-24.txt (8.62 KB)

Update: It seems to boot and be stable when booting without the hdmi cable attached.