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.

Blaze OMAP4430 boot from eMMC with UI

Other Parts Discussed in Thread: TWL6030, TMP105

Hi,

I've been using the blaze platform for a while. The platform is based on ES2.1GP and I use the Froyo Android from the Omappedia Wiki (both pre-build binaries and sources). I use the L27.10.2-P1 sources and the L27.10.1-P1 -  I tried them both. I also included in my FS the  GFX files. When I tried to load the device from the eMMC I found that the device does not finish boot. I managed to follow the instructions from the Omappedia Wiki including all files generation and fast-boot (http://www.omapedia.org/wiki/L27.INC1.10.2-P1_OMAP4_Froyo_ES2_Release_Notes). I also tried the conflicting directions at http://www.omapedia.org/wiki/Using_EMMC_on_OMAP4_devices. However it looks like upon boot it cannot find anything under /bin. I mounted the created system image and saw that all applications are there and has all access rights. I attached the boot log.

If someone managed to load it from eMMC I will appreciate some directions.

Boot output:

OMAP44XX SDP # printenv
bootdelay=5
ethact=KS8851SNL
stdin=serial
stdout=serial
stderr=serial
bootargs=androidboot.console=ttyO2 console=ttyO2,115200n8 mem=456M@0x80000000 mem=512M@0xA0000000 rootdelay=2 init=/init vram=10M omapfb.vram=0:4M
bootcmd=mmcinit 1;mmc 1 read 0x500 0x81000000 0x500000;booti 81000000
loadaddr=81000000

Environment size: 305/131068 bytes
OMAP44XX SDP # saveenv
Type 'y' or 'Y' to Save Environment to EMMC..
Saving Environment to EMMC...
Erasing MMC...done
Writing to MMC... done
OMAP44XX SDP #
OMAP44XX SDP # boot

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35.7-00166-gd92ad95-dirty (ubuntu@ubuntu-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #412 SMP PREEMPT Mon Jun 20 15:11:02 IDT 2011
CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP4430 4430SDP board
Memory policy: ECC disabled, Data cache writealloc
***********************
OMAP4430 ES2.1 type(GP)
id-code  (3b95c02f)
Die-id   (34B40003-00000000-0A6CAEA7-03015)
Prod-id  (0001B95C-000300F0)
***********************
SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0x100000
FIXME: omap44xx_sram_init not implemented
Reserving 10485760 bytes SDRAM for VRAM
PERCPU: Embedded 7 pages/cpu @c1d78000 s5568 r8192 d14912 u65536
pcpu-alloc: s5568 r8192 d14912 u65536 alloc=16*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 245760
Kernel command line: androidboot.console=ttyO2 console=ttyO2,115200n8 mem=456M@0x80000000 mem=512M@0xA0000000 rootdelay=2 init=/init vram=10M omapfb.vram=0:4M
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 456MB 256MB 256MB = 968MB total
Memory: 964628k/964628k available, 26604k reserved, 262144K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xf0800000 - 0xf8000000   ( 120 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .init : 0xc0008000 - 0xc0044000   ( 240 kB)
      .text : 0xc0044000 - 0xc0621000   (6004 kB)
      .data : 0xc0622000 - 0xc06778e0   ( 343 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:388
omap_hwmod: sys_32k_ck: missing clockdomain for sys_32k_ck.
omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for dpll_mpu_m2_ck.
omap_hwmod: dmic: resetting
omap_hwmod: dss_dsi1: cannot be enabled (3)
omap_hwmod: dss_dsi2: cannot be enabled (3)
omap_hwmod: dss_hdmi: cannot be enabled (3)
omap_hwmod: dss_rfbi: cannot be enabled (3)
omap_hwmod: dss_venc: cannot be enabled (3)
omap_hwmod: ipu: failed to reset in 10000 usec
omap_hwmod: mailbox: resetting
omap_hwmod: omap-mcpdm-dai: cannot be enabled (3)
omap_hwmod: mcspi1: resetting
omap_hwmod: mcspi2: resetting
omap_hwmod: mcspi3: resetting
omap_hwmod: mcspi4: resetting
omap_hwmod: mmc1: resetting
omap_hwmod: mmc2: resetting
omap_hwmod: mmc3: resetting
omap_hwmod: mmc4: resetting
omap_hwmod: mmc5: resetting
omap_hwmod: timer3: resetting
omap_hwmod: timer4: resetting
omap_hwmod: timer5: resetting
omap_hwmod: timer6: resetting
omap_hwmod: timer7: resetting
omap_hwmod: timer8: resetting
omap_hwmod: timer9: resetting
omap_hwmod: timer11: resetting
GPMC revision 6.0
SmartReflex CLASS3 initialized
OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 2013.49 BogoMIPS (lpj=7864320)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Calibrating local timer...
50.00MHz.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x1e470000
CPU1: Booted secondary processor
Brought up 2 CPUs
SMP: Total of 2 processors activated (4010.18 BogoMIPS).
devtmpfs: initialized
regulator: core version 0.5
NET: Registered protocol family 16
EMIF0 is enabled with IRQ142
EMIF1 is enabled with IRQ143
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 2
omap_mux_init: Add partition: #2: wkup, flags: 2
Reprogramming LPDDR2 timingsto 400000000 Hz
omap_disp_led_init: Configuring as one display LED
_omap_mux_init_gpio: Could not set gpio4
Configured modem_ipc: n/a
Modem HSI not detected
res->start = 49022000
res->start = 49024000
res->start = 49026000
res->start = 48096000
OMAP DMA hardware revision 0.0
dma dma.0: System DMA registered
HSI: device registered
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_omap i2c_omap.1: bus 1 rev4.0 at 400 kHz
Skipping twl internal clock init and using bootloader value (unknown osc rate)
twl6030: PIH (irq 39) chaining IRQs 368..387
twl6030_usb twl6030_usb: Initialized TWL6030 USB module
regulator: VMMC: 1200 <--> 3000 mV at 3000 mV normal standby
regulator: VPP: 1800 <--> 2500 mV at 1900 mV normal standby
regulator: VUSIM: 1200 <--> 2900 mV at 1800 mV normal standby
regulator: VANA: 2100 mV normal standby
regulator: VCXIO: 1800 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VUSB: 3300 mV normal standby
regulator: VAUX1_6030: 1000 <--> 3000 mV at 2800 mV normal standby
regulator: VAUX2_6030: 1200 <--> 2800 mV at 1800 mV normal standby
regulator: VAUX3_6030: 1000 <--> 3000 mV at 1200 mV normal standby
i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev4.0 at 400 kHz
i2c_omap i2c_omap.4: bus 4 rev4.0 at 400 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Switching to clocksource timer-32k
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc musb_hdrc: USB OTG mode controller at fc0ab000 using DMA, IRQ 124
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 464K
ipu-power ipu0: Test of writing to the device message log,done from ipu_pm_init
ipu-power initialized ipu, major: 251, minor: 0
sdp4430_wifi_init: start
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: tesla registered
iovmm-omap initialized ducati, major: 250, base-minor: 0
iovmm-omap initialized tesla, major: 250, base-minor: 1
omap-remoteproc omap-remoteproc.0: omap_rproc_probe: adding rproc tesla
omap-remoteproc omap-remoteproc.0: omap-rproc initialized tesla, major: 249, base-minor: 0
omap-remoteproc omap-remoteproc.1: omap_rproc_probe: adding rproc ducati-proc0
omap-remoteproc omap-remoteproc.1: omap-rproc initialized ducati-proc0, major: 249, base-minor: 1
omap-remoteproc omap-remoteproc.2: omap_rproc_probe: adding rproc ducati-proc1
omap-remoteproc omap-remoteproc.2: omap-rproc initialized ducati-proc1, major: 249, base-minor: 2
highmem bounce pool size: 64 pages
ashmem: initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 1372
SMC: Running on a GP device, SMC disabled
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
OMAP DSS rev 4.0
OMAP DISPC rev 4.0
OMAP DSI rev 3.0
OMAP DSI2 rev 3.0
Enter hdmi_init()
OMAP HDMI W1 rev 2.0
hdmi_panel_probe x_res= 1920 y_res = 1080
pico DLP probe called
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap-hsuart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
omap-hsuart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
omap-hsuart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
console [ttyO2] enabled
omap-hsuart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
brd: module loaded
loop: module loaded
twl: i2c_read failed to transfer all messages
twl: i2c_write failed to transfer all messages
twl: i2c_read failed to transfer all messages
twl: i2c_write failed to transfer all messages
ks8851 spi1.0: message enable is 0
ks8851 spi1.0: eth0: revision 0, MAC 08:00:28:01:53:c8, IRQ 194, has EEPROM
android init
android_probe pdata: c0646b88
android_bind
android_usb gadget: android_usb ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.35.7-00166-gd92ad95-dirty musb-hcd
usb usb1: SerialNumber: musb_hdrc
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
f_adb init
android_register_function adb
f_mass_storage init
fsg_probe pdev: c06468d0, pdata: c0646b78
android_register_function usb_mass_storage
f_rndis init
android_register_function rndis
rndis_function_bind_config MAC: 02:03:34:41:34:30
android_usb gadget: using random self ethernet address
android_usb gadget: using random host ethernet address
usb0: MAC 9e:72:6e:06:70:0f
usb0: HOST MAC aa:a8:8e:25:3e:b0
android_usb gadget: Mass Storage Function, version: 2009/09/11
android_usb gadget: Number of LUNs=1
 lun0: LUN: removable file: (no medium)
adb_bind_config
input: omap-keypad as /devices/platform/omap-keypad/input/input0
tm12xx_ts: Synaptic TM12xx Touchscreen Driver found man id 1 (1)
tm12xx_ts 2-004b: resetting device (reg 0x62)
tm12xx_ts: Synaptic TM12xx Touchscreen Driver found man id 1 (1)
tm12xx_ts 2-004b: no button capabilities found
tm12xx_ts: product ID: TM1217 family:1 fw:9
input: Synaptic TM12XX TouchPoint 1 as /devices/platform/i2c_omap.2/i2c-2/2-004b/input/input1
tm12xx_ts 2-004b: device status: 0x0, no error
tm12xx_ts 3-004b: resetting device (reg 0x62)
sfh7741_probe: Proximity sensor
input: sfh7741 as /devices/platform/sfh7741.1/input/input2
tm12xx_ts 3-004b: no button capabilities found
CMA3000 Acclerometer : Revision 10
input: cma3000-acclerometer as /devices/virtual/input/input3
tm12xx_ts: product ID: TM1217 family:1 fw:9
input: Synaptic TM12XX TouchPoint 1 as /devices/platform/i2c_omap.3/i2c-3/3-004b/input/input4
tm12xx_ts 3-004b: device status: 0x0, no error
bh1780 3-0029: Ambient Light Sensor, Rev : 1
input: bh1780gli as /devices/virtual/input/input5
input: hmc5843 as /devices/virtual/input/input6
bmp085 4-0077: BMP085 ver. 1.0 found.
input: bmp085 as /devices/virtual/input/input7
bmp085 4-0077: Succesfully initialized bmp085!
using rtc device, twl_rtc, for alarms
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
twl_rtc twl_rtc: Power up reset detected.
twl_rtc twl_rtc: Enabling TWL-RTC.
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
Linux video capture interface: v2.00
twl6030_bci twl6030_bci: Battery Voltage at Bootup is 3662 mV
lm75 3-0048: hwmon0: sensor 'tmp105'
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
cpuidle: using governor ladder
cpuidle: using governor menu
omap4430_sdp_display_probe:Enter
omap4430_sdp_display_probe:Exit
omap4430_keypad_led_probe:Enter
omap4430_keypad_led_probe:Exit
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
logger: created 64K log 'log_system'
proc4430_drv_initializeModule
omap-devicehandler omap-devicehandler.0: omap_devh_probe: adding devh Tesla
omap-devh initialized Tesla, major: 241, base-minor: 0
omap-devicehandler omap-devicehandler.1: omap_devh_probe: adding devh SysM3
omap-devh initialized SysM3, major: 241, base-minor: 1
omap-devicehandler omap-devicehandler.2: omap_devh_probe: adding devh AppM3
omap-devh initialized AppM3, major: 241, base-minor: 2
SDP4430 SoC init
asoc: null-codec-dai <-> MultiMedia1 mapping ok
asoc: null-codec-dai <-> MultiMedia2 mapping ok
asoc: null-codec-dai <-> Voice mapping ok
asoc: null-codec-dai <-> Tones mapping ok
asoc: null-codec-dai <-> Vibra mapping ok
asoc: null-codec-dai <-> MODEM mapping ok
asoc: null-codec-dai <-> MultiMedia1 LP mapping ok
asoc: HDMI <-> hdmi-dai mapping ok
asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
asoc: twl6040-dl1 <-> mcpdm-dl mapping ok
asoc: dmic-hifi <-> omap-dmic-dai-0 mapping ok
asoc: twl6040-dl1 <-> mcpdm-dl1 mapping ok
asoc: twl6040-ul <-> mcpdm-ul1 mapping ok
asoc: twl6040-dl2 <-> mcpdm-dl2 mapping ok
asoc: twl6040-vib <-> mcpdm-vib mapping ok
asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
asoc: MODEM <-> omap-mcbsp-dai.1 mapping ok
asoc: dmic-hifi <-> omap-dmic-abe-dai-0 mapping ok
asoc: dmic-hifi <-> omap-dmic-abe-dai-1 mapping ok
asoc: dmic-hifi <-> omap-dmic-abe-dai-2 mapping ok
input: SDP4430 Headset Jack as /devices/platform/soc-audio/sound/card0/input8
ALSA device list:
  #0: TI OMAP4 SDP4430 Board
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (15079 buckets, 60316 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Mobile IPv6
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
ip6tnl0: Disabled Privacy Extensions
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
ThumbEE CPU extension supported.
omap_hwmod: Initialize debugfs support
Power Management for TI OMAP4.
CPUidle for CPU0 registered
CPUidle for CPU1 registered
sr_init: No PMIC hook to init smartreflex
smartreflex smartreflex.0: omap_smartreflex_probe: SmartReflex driver initialized
smartreflex smartreflex.1: omap_smartreflex_probe: SmartReflex driver initialized
smartreflex smartreflex.2: omap_smartreflex_probe: SmartReflex driver initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 1
Console: switching to colour frame buffer device 108x30
taal display0: taal panel revision e3.85.7d
regulator_init_complete: incomplete constraints, leaving VAUX3_6030 on
regulator_init_complete: incomplete constraints, leaving VAUX2_6030 on
regulator_init_complete: incomplete constraints, leaving VAUX1_6030 on
regulator_init_complete: incomplete constraints, leaving VUSB on
regulator_init_complete: incomplete constraints, leaving VDAC on
regulator_init_complete: incomplete constraints, leaving VCXIO on
regulator_init_complete: incomplete constraints, leaving VANA on
regulator_init_complete: incomplete constraints, leaving VUSIM on
regulator_init_complete: incomplete constraints, leaving VPP on
twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
omap_vout omap_vout: : registered and initialized video device 0
omap_vout omap_vout: : registered and initialized video device 1
omap_wb: registered and initialized wb device 3 [v4l2]
Freeing init memory: 240K
init: cannot open '/initlogo.rle'
taal2 display1: taal2 panel revision e3.85.7d
omapdss HDMI: powerchg (a=0,v=0,s=0/0)->(a=0,v=1,s=0) = (1:A)
omapdss HDMI: pwrchanged => (1,A) = 0
init: cannot find '/system/bin/sh', disabling 'console'
init: cannot find '/system/bin/pvrsrvinit', disabling 'pvrsrvinit'
init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
init: cannot find '/system/bin/vold', disabling 'vold'
init: cannot find '/system/bin/netd', disabling 'netd'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/syslink_daemon.out', disabling 'baseimage'
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
init: cannot find '/system/bin/uim-rfkill', disabling 'uim'
init: cannot find '/system/bin/installd', disabling 'installd'
init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
init: cannot find '/system/bin/keystore', disabling 'keystore'
enabling adb
adb_open
CPU1: shutdown