This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using uEnv.txt in the beagle bone black

Hi:

             I am using uEnv.txt in my board and i have some arguments like ip=${ipaddr} and my board boot from eMMC. I found whenever I enable the argument "ip=${ipaddr}", i also need to plug in the ethernet cable with my PC, otherwise my board would go to a deadlock state. Does anyone know why and how to avoid this situation without connect any ethernet cable. Thanks in advance.

  • Hi Ivan,

    Could you attach both the bootlog when you get deadlock state and when you see good boot.
  • Hi Stalin:
    I am afraid of I can't provide these kind of information for you, maybe later..., because i need a TTL-USB cable to debug this, but currently i don't have . Because BBB have a mini USB slot for debugging, it also can provide system power, whenever I plug into the mini USB(Power from jack), my PC should find an additional device file(ttyACM0) The situations I met are: (1)Deadlock: After power on about 10s, I plug into the mini USB, my PC doesn't find any additional device file and the Led(Heart beat) stop blinking. (2)Good: After power on about 10s, i plug into the mini USB, my PC have an additional device file(ttyACM0).
  • Hi,

    what you can do is set ip=off, or set to some static unused ip in your network example, set ip=192.168.1.120

    Thanks,
    --Prabhakar Lad
  • Hi,
    Yes, If i set ip=off, it can work normally. But my requirement is I want my board have a static ip when it boot up.
  • I can understand.
    We can get come clue from the messgaes.
    Are you getting any message if you've not connected to the network while bootup ?
    Able to see any bootup message difference between good & hang boot ?
  • Hi I connected the ttl to usb cable on the board, and i got the following message:
    [good status]

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [ 0.381381] omap2_mbox_probe: platform not supported
    [ 0.548625] tps65217-bl tps65217-bl: no platform data provided
    [ 0.612472] bone-capemgr bone_capemgr.9: slot #0: No cape found
    [ 0.649580] bone-capemgr bone_capemgr.9: slot #1: No cape found
    [ 0.686688] bone-capemgr bone_capemgr.9: slot #2: No cape found
    [ 0.723797] bone-capemgr bone_capemgr.9: slot #3: No cape found
    [ 0.745226] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8
    .45 (#5:BB-BONELT-HDMI)
    [ 0.754868] bone-capemgr bone_capemgr.9: slot #6: Failed verification
    [ 0.761619] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BON
    ELT-HDMIN:00A0 (prio 2)
    [ 0.776922] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
    [ 0.839313] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by
    44e10800.pinmux; cannot claim for gpio-leds.8
    [ 0.851034] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
    [ 0.858316] pinctrl-single 44e10800.pinmux: could not request pin 21 on devic
    e pinctrl-single
    [ 1.079866] libphy: PHY 4a101000.mdio:01 not found
    [ 1.085028] net eth0: phy 4a101000.mdio:01 not found on slave 1
    Loading, please wait...
    Scanning for Btrfs filesystems
    systemd-fsck[208]: rootfs: clean, 77252/230144 files, 406687/919296 blocks

    Debian GNU/Linux 7 beaglebone ttyO0

    default username:password is [debian:temppwd]

    Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

    The IP Address for usb0 is: 192.168.7.2
    beaglebone login: root
    Last login: Wed Apr 23 20:23:42 UTC 2014 on ttyO0
    Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    root@beaglebone:~# ifconfig
    eth0 Link encap:Ethernet HWaddr d0:5f:b8:ef:9e:be
    inet addr:192.168.1.120 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::d25f:b8ff:feef:9ebe/64 Scope:Link
    UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
    RX packets:24 errors:0 dropped:0 overruns:0 frame:0
    TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1670 (1.6 KiB) TX bytes:8860 (8.6 KiB)
    Interrupt:40

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    usb0 Link encap:Ethernet HWaddr ee:cc:70:0b:26:ea
    inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
    inet6 addr: fe80::eccc:70ff:fe0b:26ea/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:24 errors:0 dropped:0 overruns:0 frame:0
    TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:5044 (4.9 KiB) TX bytes:10420 (10.1 KiB)

    [deadlock status]

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [ 0.381390] omap2_mbox_probe: platform not supported
    [ 0.548351] tps65217-bl tps65217-bl: no platform data provided
    [ 0.612472] bone-capemgr bone_capemgr.9: slot #0: No cape found
    [ 0.649579] bone-capemgr bone_capemgr.9: slot #1: No cape found
    [ 0.686685] bone-capemgr bone_capemgr.9: slot #2: No cape found
    [ 0.723795] bone-capemgr bone_capemgr.9: slot #3: No cape found
    [ 0.745381] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8
    .45 (#5:BB-BONELT-HDMI)
    [ 0.754957] bone-capemgr bone_capemgr.9: slot #6: Failed verification
    [ 0.761699] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BON
    ELT-HDMIN:00A0 (prio 2)
    [ 0.777153] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
    [ 0.839308] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by
    44e10800.pinmux; cannot claim for gpio-leds.8
    [ 0.851029] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
    [ 0.858315] pinctrl-single 44e10800.pinmux: could not request pin 21 on devic
    e pinctrl-single
    [ 1.079826] libphy: PHY 4a101000.mdio:01 not found
    [ 1.085001] net eth0: phy 4a101000.mdio:01 not found on slave 1
    [ 120.540205] INFO: task kworker/0:1:15 blocked for more than 60 seconds.
    [ 120.547244] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
    message.
    [ 120.555558] Kernel panic - not syncing: hung_task: blocked tasks
    [ 120.561941] [<c0010443>] (unwind_backtrace+0x1/0x8a) from [<c0455ced>] (panic
    +0x51/0x148)
    [ 120.570583] [<c0455ced>] (panic+0x51/0x148) from [<c006770b>] (watchdog+0x14f
    /0x194)
    [ 120.578795] [<c006770b>] (watchdog+0x14f/0x194) from [<c003fb8f>] (kthread+0x
    67/0x74)
    [ 120.587069] [<c003fb8f>] (kthread+0x67/0x74) from [<c000c0dd>] (ret_from_fork
    +0x11/0x34)
    [ 120.595601] drm_kms_helper: panic occurred, switching back to text console
  • Does anyone know this issue?? I really want to solve this problem, thanks.