Android boot uEnv.txt issues

I’m new to u-boot, but it looked like there were references in the uRef.txt that pointed to the wrong storage device.

mmcdev=0

bootargs=console=ttyO0,115200n8 androidboot.console=ttyO0 mem=512M root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait rootdelay=1 init=/init ip=off

bootcmd=mmc rescan ; fatload mmc 1 81000000 uImage ; bootm 81000000
uenvcmd=boot

I updated both the mem and root settings in the boot args and the bootcmd to fatload mmc 1 and I added the mmcdev=0.

I’m not sure what else to set in this file, however I’m now up to 3 lights from 2.

Any ideas?

I was able to hook up the TTY serial console cable and get this while it tried to boot Android:

[ 0.282379] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.869537] console [ttyO0] enabled
[ 0.873626] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.881378] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.889129] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.896850] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.904541] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.919830] brd: module loaded
[ 0.927154] loop: module loaded
[ 0.930633] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.937164] i2c-core: driver [tsl2550] using legacy resume method
[ 0.943603] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.004943] No daughter card found on AM335x EVM
[ 1.009796] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.025054] Board name: A335BNLT
[ 1.028411] Board version: 0A5A
[ 1.031707] SKU: ������
[ 1.034240] The error message above indicates that there is an issue with
[ 1.034271] the EEPROM or the EEPROM contents. After verifying the EEPROM
[ 1.034271] contents, if any, refer to the am335x_evm_setup function in the
[ 1.034271] arch/arm/mach-omap2/board-am335xevm.c file to modify the board
[ 1.034301] initialization code to match the hardware configuration

please always paste a full boot log, starting at power-on

what I assume is happening here is that you are using an older kernel that is not happy with a new beagle bone black. What Android release is that?

I’m using Jelly Bean from here:

Here’s the full terminal output:

[ 0.091796] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.092773] tps65910 1-002d: could not be detected
[ 0.093322] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.093994] Bluetooth: Core ver 2.16
[ 0.094055] NET: Registered protocol family 31
[ 0.094085] Bluetooth: HCI device and connection manager initialized
[ 0.094085] Bluetooth: HCI socket layer initialized
[ 0.094116] Bluetooth: L2CAP socket layer initialized
[ 0.094146] Bluetooth: SCO socket layer initialized
[ 0.094390] Switching to clocksource gp timer
[ 0.104339] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.104583] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.104797] MUSB0 controller’s USBSS revision = 4ea20800
[ 0.105346] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 18
[ 0.105621] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.105804] MUSB1 controller’s USBSS revision = 4ea20800
[ 0.105957] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.106018] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.106170] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.106201] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.106231] usb usb1: Product: MUSB HDRC host driver
[ 0.106231] usb usb1: Manufacturer: Linux 3.2.0-gfe511cc musb-hcd
[ 0.106231] usb usb1: SerialNumber: musb-hdrc.1
[ 0.106933] hub 1-0:1.0: USB hub found
[ 0.106964] hub 1-0:1.0: 1 port detected
[ 0.107421] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 19
[ 0.107788] NET: Registered protocol family 2
[ 0.108001] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.108428] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.108642] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.108764] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.108795] TCP reno registered
[ 0.108795] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.108825] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.109069] NET: Registered protocol family 1
[ 0.109375] RPC: Registered named UNIX socket transport module.
[ 0.109405] RPC: Registered udp transport module.
[ 0.109405] RPC: Registered tcp transport module.
[ 0.109436] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.109710] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.299591] ashmem: initialized
[ 0.299896] VFS: Disk quotas dquot_6.5.2
[ 0.299957] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.300964] msgmni has been set to 490
[ 0.302185] io scheduler noop registered
[ 0.302185] io scheduler deadline registered
[ 0.302276] io scheduler cfq registered (default)
[ 0.302917] Could not set LED4 to fully on
[ 0.304199] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.890502] console [ttyO0] enabled
[ 0.894592] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.902343] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.910095] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.917816] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.925537] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.940765] brd: module loaded
[ 0.948089] loop: module loaded
[ 0.951538] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.958068] i2c-core: driver [tsl2550] using legacy resume method
[ 0.964508] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.024902] No daughter card found on AM335x EVM
[ 1.029785] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.045013] Board name: A335BNLT
[ 1.048370] Board version: 0A5A
[ 1.051666] SKU: ˝˝˝˝˝˝
[ 1.054199] The error message above indicates that there is an issue with
[ 1.054229] the EEPROM or the EEPROM contents. After verifying the EEPROM
[ 1.054229] contents, if any, refer to the am335x_evm_setup function in the
[ 1.054229] arch/arm/mach-omap2/board-am335xevm.c file to modify the board
[ 1.054260] initialization code to match the hardware configuration

And here’s a copy of the image I’m loading:
https://dl.dropboxusercontent.com/u/75819670/android_beagle.gz

Sorry, here’s the full output:

U-Boot SPL 2013.04-rc1-14237-g90639fe-dirty (Apr 13 2013 - 13:57:11)
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
OMAP SD/MMC: 0
mmc_send_cmd : timeout: No status update
reading u-boot.img
reading u-boot.img

U-Boot 2013.04-rc1-14237-g90639fe-dirty (Apr 13 2013 - 13:57:11)

I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: No NAND device found!!!
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: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
micro SD card found
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
226 bytes read in 3 ms (73.2 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc …
Running uenvcmd …
reading uImage
3687224 bytes read in 447 ms (7.9 MiB/s)

Booting kernel from Legacy Image at 81000000 …

Image Name: Linux-3.2.0-gfe511cc
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3687160 Bytes = 3.5 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK
Loading Kernel Image … OK
OK

Starting kernel …

Uncompressing Linux… done, booting the kernel.
[ 0.000000] Linux version 3.2.0-gfe511cc (x0146275@psplinux052) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 Fri Aug 17 12:18:40 IST 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait rootdelay=1 init=/init ip=off
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 251280k/251280k available, 10864k 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 : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0694000 (6704 kB)
[ 0.000000] .init : 0xc0694000 - 0xc06d2000 ( 248 kB)
[ 0.000000] .data : 0xc06d2000 - 0xc072e440 ( 370 kB)
[ 0.000000] .bss : 0xc072e464 - 0xc085f888 (1222 kB)
[ 0.000000] NR_IRQS:396
[ 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: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000183] Calibrating delay loop… 548.86 BogoMIPS (lpj=2744320)
[ 0.048309] pid_max: default: 32768 minimum: 301
[ 0.048461] Security Framework initialized
[ 0.048522] Mount-cache hash table entries: 512
[ 0.048950] CPU: Testing write buffer coherency: ok
[ 0.069763] omap_hwmod: pruss: failed to hardreset
[ 0.070678] print_constraints: dummy:
[ 0.070922] NET: Registered protocol family 16
[ 0.072204] OMAP GPIO hardware version 0.1
[ 0.073486] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.074951] omap_i2c.1: alias fck already exists
[ 0.075561] omap2_mcspi.1: alias fck already exists
[ 0.075683] omap2_mcspi.2: alias fck already exists
[ 0.075897] edma.0: alias fck already exists
[ 0.075927] edma.0: alias fck already exists
[ 0.075927] edma.0: alias fck already exists
[ 0.088073] bio: create slab at 0
[ 0.089263] SCSI subsystem initialized
[ 0.090240] usbcore: registered new interface driver usbfs
[ 0.090393] usbcore: registered new interface driver hub
[ 0.090515] usbcore: registered new device driver usb
[ 0.090667] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.090850] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.091400] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.092346] tps65910 1-002d: could not be detected
[ 0.092926] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.093597] Bluetooth: Core ver 2.16
[ 0.093658] NET: Registered protocol family 31
[ 0.093688] Bluetooth: HCI device and connection manager initialized
[ 0.093688] Bluetooth: HCI socket layer initialized
[ 0.093719] Bluetooth: L2CAP socket layer initialized
[ 0.093750] Bluetooth: SCO socket layer initialized
[ 0.093994] Switching to clocksource gp timer
[ 0.103912] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.104156] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.104370] MUSB0 controller’s USBSS revision = 4ea20800
[ 0.104949] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 18
[ 0.105194] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.105407] MUSB1 controller’s USBSS revision = 4ea20800
[ 0.105529] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.105621] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.105773] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.105773] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.105804] usb usb1: Product: MUSB HDRC host driver
[ 0.105804] usb usb1: Manufacturer: Linux 3.2.0-gfe511cc musb-hcd
[ 0.105834] usb usb1: SerialNumber: musb-hdrc.1
[ 0.106506] hub 1-0:1.0: USB hub found
[ 0.106536] hub 1-0:1.0: 1 port detected
[ 0.106994] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 19
[ 0.107360] NET: Registered protocol family 2
[ 0.107604] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.108032] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.108215] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.108337] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.108367] TCP reno registered
[ 0.108367] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.108398] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.108673] NET: Registered protocol family 1
[ 0.108978] RPC: Registered named UNIX socket transport module.
[ 0.109008] RPC: Registered udp transport module.
[ 0.109008] RPC: Registered tcp transport module.
[ 0.109008] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.109313] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.299285] ashmem: initialized
[ 0.299591] VFS: Disk quotas dquot_6.5.2
[ 0.299652] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.300689] msgmni has been set to 490
[ 0.301910] io scheduler noop registered
[ 0.301940] io scheduler deadline registered
[ 0.302001] io scheduler cfq registered (default)
[ 0.302703] Could not set LED4 to fully on
[ 0.303955] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.890106] console [ttyO0] enabled
[ 0.894195] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.901947] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.909667] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.917388] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.925109] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.940338] brd: module loaded
[ 0.947662] loop: module loaded
[ 0.951141] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.957641] i2c-core: driver [tsl2550] using legacy resume method
[ 0.964080] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.024536] No daughter card found on AM335x EVM
[ 1.029418] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.044647] Board name: A335BNLT
[ 1.048004] Board version: 0A5A
[ 1.051269] SKU: ???
[ 1.053833] The error message above indicates that there is an issue with
[ 1.053863] the EEPROM or the EEPROM contents. After verifying the EEPROM
[ 1.053863] contents, if any, refer to the am335x_evm_setup function in the
[ 1.053863] arch/arm/mach-omap2/board-am335xevm.c file to modify the board
[ 1.053863] initialization code to match the hardware configuration

as said, this code knows nothing about the Bone Black. Either wait for the rowboat team to support the Black or get your hands into the code.

Regards,

Vladimir