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.

Android 2.3.4 on BeagleBone - losing debug comms and no SSH

Hi there,

I'm new to Linux and Android development. I have recently got a BBone and running up an Android Image 2.3.4.

Here is the output comms that spews out from the FTDI UART debug port (see below). As you will note I am using TFTP and NFS to load up the kernel and the file system, via the ethernet connection on a local subnet.

U-Boot 2011.09-00010-g81c8c79 (Feb 13 2012 - 14:48:03)

I2C:   ready
DRAM:  256 MiB
No daughter card present
NAND:  HW ECC Hamming Code selected
nand_get_flash_type: unknown NAND device: Manufacturer ID: 0x04, Chip ID: 0x04
No NAND device found!!!
0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

Net:   cpsw
Hit any key to stop autoboot:  0
SD/MMC found on device 0
reading uEnv.txt

671 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
Data (writethrough) Cache is OFF
Instruction Cache is OFF
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.100; our IP address is 192.168.1.120
Filename 'uImage'.
Load address: 0x82000000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #############################
done
Bytes transferred = 2809960 (2ae068 hex)
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.1.0-g62911f8-dirty
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2809896 Bytes = 2.7 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.065690] omap_l3_smx omap_l3_smx.0: couldn't find resource
[    0.209876] Could not set LED4 to fully on
[    0.587814] omap2_set_init_voltage: unable to get clk dpll1_ck
[    0.594004] omap2_set_init_voltage: unable to set vdd_mpu_iva
[    0.600016] omap2_set_init_voltage: unable to get clk l3_ick
[    0.605918] omap2_set_init_voltage: unable to set vdd_core
[    0.620857]
[    0.620863] CPSW phy found : id is : 0x7c0f1
[    0.627618] PHY 0:01 not found
[    2.981362] init: service 'console' requires console
[    3.010742] init: cannot find '/system/etc/install-recovery.sh', disabling 'f
lash_recovery'
[    3.888435] android_usb: already disabled
[   23.203318] init: sys_prop: mis-match msg size recieved: -1 expected: 128

....

Then it goes completely silent ... at about the same time as the Android icon is seen on the 7" screen (using Chipsee LCD cape).


1/
Does the communications stop because Android doesn't support output breadcrumb debugging? Do I need to do something to enable it?

2/
I also am unable to SSH into the Bbone once Android has booted, why is this? How can I make it support SSH serving function from the bone?

Regards,
Hemon
 

  • Turns out that both of the issues mentioned was to do with the wrong bootargs in uEnv.txt.

    This updated uEnv.txt seems to work much better, both for debug comms out and console:

    ethaddr=D4:94:A1:89:84:EF
    autoload=no
    hostname=BeagleBone
    serverip=192.168.1.100
    ipaddr=192.168.1.120
    netmask=255.255.255.0
    getway=192.168.1.2
    console=ttyO0,115200n8
    loadaddr=0x82000000
    bootfile=uImage
    root=/dev/nfs rw
    nfsroot=192.168.1.100:/nfs/rootfs nolock rsize=4096 wsize=4096
    ip=192.168.1.120:192.168.1.100:192.168.1.2:255.255.255.0:BeagleBone:eth0:off

    nfsargs=setenv bootargs console=${console} androidboot.console=ttyO0 root=${root} nfsroot=${nfsroot} ip=${ip} rootwait init=/init
    loadkernel=dcache off; icache off;run nfsargs; tftpboot ${loadaddr} ${bootfile}
    uenvcmd=run loadkernel;run nfsargs;bootm ${loadaddr}