BBB Not Booting from SD - All user LEDs on.

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

BBB Not Booting from SD - All user LEDs on.

Postby ryansturmer » Fri Jul 25, 2014 11:13 am

I have built a microSD as described here: http://archlinuxarm.org/platforms/armv7 ... s-ui-tabs2

I have followed this procedure successfully before, but it doesn't seem to be working for me. Powering on the BBB, the user LEDs come on (after about a second) and just stay on. No activity on the HDMI port, no evidence otherwise of boot.

I am creating the partitions and copying the files on my workstation, which runs archlinux (x86_64)

Here are the things I've tried:

1) Using cfdisk vs fdisk to create the partition (I stick with fdisk since it honors device block sizes)
2) Changing the order of writing files to the bootloader (MLO first)
3) Installing as root vs. using sudo (I am doing it as the root user, as recommended)
4) Changing the USB power supply. (I am not running it from a PC, but a standalone USB charger that can source up to 3.2A)

Has anyone else seen this? Any thoughts?

-R
ryansturmer
 
Posts: 6
Joined: Sat Jun 14, 2014 6:06 pm

Re: BBB Not Booting from SD - All user LEDs on.

Postby WarheadsSE » Fri Jul 25, 2014 1:53 pm

I don't think we auto-start the HDMI.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: BBB Not Booting from SD - All user LEDs on.

Postby ryansturmer » Fri Jul 25, 2014 3:58 pm

Nevertheless, all LEDs on isn't normal behavior is it? With Ethernet plugged in I never see the device on the network. It appears to be unresponsive.. It's there a better way to diagnose the issue?
ryansturmer
 
Posts: 6
Joined: Sat Jun 14, 2014 6:06 pm

Re: BBB Not Booting from SD - All user LEDs on.

Postby WarheadsSE » Fri Jul 25, 2014 6:18 pm

Correct, the LEDs all on is not a normal state.

Do you have a 3.3v TTL serial cable?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: BBB Not Booting from SD - All user LEDs on.

Postby ryansturmer » Sat Jul 26, 2014 8:26 pm

I do! I have connected to the serial port on the device, and I get the following over and over again:

$this->bbcode_second_pass_code('', '
U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

reading args
spl_load_image_fat_os: error reading image arg
s, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

I2C: ready
DRAM: 512 MiB

NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** War
ning - readenv() failed, using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 1
\0x08\0x08\0x08 0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current d
evice
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
603 bytes read in 4 ms (146.5 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 ...
mmc0 is current device

3334320 bytes read in 234 ms (13.6 MiB/s)
25926 bytes read
in 89 ms (284.2 KiB/s)
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
603 bytes read in 4 ms (146.5 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 ...
mmc0 is current device

3334320 bytes read in 234 ms (13.6 MiB/s)
25926 bytes read
in 90 ms (281.3 KiB/s)
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
603 bytes read in 5 ms (117.2 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 ...
mmc0 is current device

3334320 bytes read in 234 ms (13.6 MiB/s)
25926 bytes read
in 89 ms (284.2 KiB/s)
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
603 bytes read in 4 ms (146.5 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 ...
mmc0 is current device
')

That last "paragraph" seems to repeat over and over until I reset the device.

=R
ryansturmer
 
Posts: 6
Joined: Sat Jun 14, 2014 6:06 pm

Re: BBB Not Booting from SD - All user LEDs on.

Postby ryansturmer » Sun Jul 27, 2014 4:15 pm

This was apparently an issue with the specific device I had. I tried another BB and it seems to work fine. I will follow up with logs for comparison.
ryansturmer
 
Posts: 6
Joined: Sat Jun 14, 2014 6:06 pm

Re: BBB Not Booting from SD - All user LEDs on.

Postby ryansturmer » Sun Jul 27, 2014 6:10 pm

Here are the logs, first for the beaglebone that didn't work:

$this->bbcode_second_pass_code('', '
U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

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
cpsw, usb_ether
Hit any key to stop autoboot: 1  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
603 bytes read in 4 ms (146.5 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 ...
mmc0 is current device
3334320 bytes read in 233 ms (13.6 MiB/s)
25926 bytes read in 79 ms (320.3 KiB/s)
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt

--- THIS REPEATS FOR SOME TIME, SEVERAL MINUTES AT LEAST ---

mmc0 is current device
3334320 bytes read in 232 ms (13.7 MiB/s)
25926 bytes read in 80 ms (316.4 KiB/s)
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
ERROR : memory not allocated

---- THE DEVICE APPEARS TO REBOOT HERE ----

U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
')

Then for the board that works fine. These two were run with the SAME SD CARD.

$this->bbcode_second_pass_code('', '

U-Boot SPL 2013.07 (Aug 09 2013 - 18:03:11)
musb-hdrc: Co
nfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
OMAP SD/MMC: 0

mmc_send_cmd : timeout: No status update
reading args
spl:
error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2013.07 (Aug 09 2013 - 18:03: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


musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-
ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 1
\0x08\0x08\0x08 0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current de
vice
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
603 bytes read in 3 ms (196.3 KiB/s)
Importing environment from mmc ...
gpio: pin 55 (gpio 55) value is 1
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
mmc0 is current device

3334320 bytes read in 582 ms (5.5 MiB/s)
25926 bytes read i
n 83 ms (304.7 KiB/s)
Booting from mmc ...
Kernel image @ 0x80200000 [ 0x000000 - 0x32e0b0 ]
## Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
Using Device Tree in place at 80f80000, end 80f89545

Starting kernel ...

Uncompressing Linux...
done, booting the kernel.
')
ryansturmer
 
Posts: 6
Joined: Sat Jun 14, 2014 6:06 pm

Re: BBB Not Booting from SD - All user LEDs on.

Postby ItachiSan » Thu Sep 25, 2014 6:28 pm

I've the same problem.
I've recreated 3 times the SD Card, with the official tutorial and manually with GParted and CLI stuff...
Nothing worked. I have no serial port debugging tools and I charge my BBB with a USB charger.
ItachiSan
 
Posts: 7
Joined: Tue Jul 01, 2014 7:03 pm

Re: BBB Not Booting from SD - All user LEDs on.

Postby miltmobley » Wed Nov 05, 2014 2:14 am

Please explain how you can get different uboot SPL versions if you are using the same SD card?
miltmobley
 
Posts: 4
Joined: Tue Nov 04, 2014 3:52 am


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 6 guests