Hello,
I tried to boot the prebuilt image for the beagleboard xm:
http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Android_GingerBread_2_3_4_DevKit_2_1/exports/beagleboard-xm.tar.gz
I use a 4GB SD card (SDHC) which I formatted using the mkmmc-android script. I modified this script slightly because my sd card is recognized as /dev/mmcblk0 io /dev/sdx (host; Ubuntu 11.04). In case of multiple partitions, the names for these partitions also contain a p after the device name. (e.g. mmcblk0p1, etc.). After this modification the script seems to run fine.
When I insert the SD card into the beagleboard xm and apply power, it starts booting which I can see from the output on the serial port. However, when it seems to be ready. I only have a white or blank screen on my attached DVI monitor.
Things that I have tried to solve it:
- A different sd card (original delivered with bb-xm)
- Set the screen resolution to a resolution that works for angstrom distribution (1280x1024MR-32) by using setenv dvimode 1280x1024MR-32 and then boot.
Unfortunately both did not help. Can somebody point me in the right direction. I have tried a lot and searched for answers but nothing seems to help. Your help is appreciated!
My output on the serial port:
Texas Instruments X-Loader 1.51 (Jul 11 2011 - 21:11:32)Unsupported Chip!Beagle xM Rev CStarting X-loader on MMC Reading boot sector213256 Bytes Read from MMC Starting OS Bootloader from MMC...Starting OS Bootloader...U-Boot 2010.06 (Jul 08 2011 - 04:37:45)OMAP34xx/35xx-GP ES2.1, CPU-OPP2 L3-165MHzOMAP3 Beagle board + LPDDR/NANDI2C: readyDRAM: 384 MiBNAND: HW ECC [Kernel/FS layout] selected0 MiB*** Warning - bad CRC or NAND, using default environmentIn: serialOut: serialErr: serialBeagle xM Rev A/CDie ID #38d400029ff800000163810c1201900eHit any key to stop autoboot: 0 mmc1 is availablereading boot.scr460 bytes readRunning bootscript from mmc ...## Executing script at 82000000reading uImage2745172 bytes read***** Kernel: /dev/mmcblk0p1/uImage ********** RootFS: /dev/mmcblk0p2 *****## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-2.6.37-g06ebbba Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2745108 Bytes = 2.6 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OKOKStarting kernel ...Uncompressing Linux... done, booting the kernel.Linux version 2.6.37-g06ebbba (a0131746@swubn01) (gcc version 4.4.3 (GCC) ) #1 Fri Jul 8 04:28:11 IST 2011CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7fCPU: VIPT nonaliasing data cache, VIPT aliasing instruction cacheMachine: OMAP3 Beagle BoardReserving 8388608 bytes SDRAM for VRAMMemory policy: ECC disabled, Data cache writebackOMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000Built 1 zonelists in Zone order, mobility grouping on. Total pages: 62976Kernel command line: console=ttyO2,115200n8 androidboot.console=ttyO2 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootdelay=1 init=/init ip=off omap_voutMPID hash table entries: 1024 (order: 0, 4096 bytes)Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)Memory: 248MB = 248MB totalMemory: 245300k/245300k available, 16844k reserved, 0K highmemVirtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc003b000 ( 204 kB) .text : 0xc003b000 - 0xc052f000 (5072 kB) .data : 0xc0530000 - 0xc0574940 ( 275 kB)NR_IRQS:409Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHzReprogramming SDRC clock to 400000000 Hzdpll3_m2_clk rate change failed: -22IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interruptsTotal of 96 interrupts on 1 active controllerGPMC revision 5.0Trying to install interrupt handler for IRQ402Trying to install interrupt handler for IRQ403Trying to install interrupt handler for IRQ404Trying to install interrupt handler for IRQ405Trying to install interrupt handler for IRQ406Trying to install interrupt handler for IRQ407Trying to install interrupt handler for IRQ408Trying to install type control for IRQ409Trying to set irq flags for IRQ409OMAP clockevent source: GPTIMER1 at 32768 HzConsole: colour dummy device 80x30Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)pid_max: default: 32768 minimum: 301Security Framework initializedMount-cache hash table entries: 512CPU: Testing write buffer coherency: okregulator: core version 0.5regulator: dummy: NET: Registered protocol family 16OMAP GPIO hardware version 2.5OMAP GPIO hardware version 2.5OMAP GPIO hardware version 2.5OMAP GPIO hardware version 2.5OMAP GPIO hardware version 2.5OMAP GPIO hardware version 2.5omap_mux_init: Add partition: #1: core, flags: 0OMAP3 Beagle Rev: xM CFound NAND on CS0Registering NAND on CS0Unable to get DVI reset GPIOhw-breakpoint: debug architecture 0x4 unsupported.OMAP DMA hardware revision 5.0bio: create slab <bio-0> at 0SCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbomap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHztwl4030: PIH (irq 7) chaining IRQs 368..375twl4030: power (irq 373) chaining IRQs 376..383twl4030: gpio (irq 368) chaining IRQs 384..401regulator: VUSB1V5: 1500 mV normal standbyregulator: VUSB1V8: 1800 mV normal standbyregulator: VUSB3V1: 3100 mV normal standbytwl4030_usb twl4030_usb: Initialized TWL4030 USB moduleregulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standbyregulator: VDAC: 1800 mV normal standbyregulator: VDVI: 1800 mV normal standbyregulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standbyregulator: VAUX3: 1800 mV normal standbyregulator: VAUX4: 1800 mV normal standbyomap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHzomap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHzomap_device: omap_i2c.3: new worst case deactivate latency 0: 30517Advanced Linux Sound Architecture Driver Version 1.0.23.Switching to clocksource 32k_countermusb-hdrc: version 6.0, otg (peripheral+host), debug=0musb-hdrc musb-hdrc.0: dma type: dma-inventramusb-hdrc musb-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92NET: Registered protocol family 2IP route cache hash table entries: 2048 (order: 1, 8192 bytes)TCP established hash table entries: 8192 (order: 4, 65536 bytes)TCP bind hash table entries: 8192 (order: 3, 32768 bytes)TCP: Hash tables configured (established 8192 bind 8192)TCP reno registeredUDP hash table entries: 256 (order: 0, 4096 bytes)UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)NET: Registered protocol family 1NetWinder Floating Point Emulator V0.97 (double precision)omap-iommu omap-iommu.0: isp registeredAM37x/DM37x Linux PSP version 04.02.00.07 (OMAP3BEAGLE)ashmem: initializedVFS: Disk quotas dquot_6.5.2Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.msgmni has been set to 479io scheduler noop registeredio scheduler deadline registeredio scheduler cfq registered (default)OMAP DSS rev 2.0OMAP DISPC rev 3.0OMAP VENC rev 2OMAP DSI rev 1.0Serial: 8250/16550 driver, 4 ports, IRQ sharing enabledomap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2console [ttyO2] enabledomap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3brd: module loadedloop: module loadedomap_device: omap_i2c.1: new worst case activate latency 0: 30517mtdoops: mtd device (mtddev=name/number) must be suppliedomap2-nand driver initializingNo NAND device found.No NAND device found.OneNAND driver initializingusbcore: registered new interface driver asixusbcore: registered new interface driver cdc_etherusbcore: registered new interface driver smsc95xxusbcore: registered new interface driver net1080usbcore: registered new interface driver cdc_subsetusbcore: registered new interface driver zaurusehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driverehci-omap.0 supply hsusb0 not found, using dummy regulatorehci-omap.0 supply hsusb1 not found, using dummy regulatorehci-omap ehci-omap.0: OMAP-EHCI Host Controllerehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1ehci-omap ehci-omap.0: irq 77, io mem 0x48064800ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00usb usb1: New USB device found, idVendor=1d6b, idProduct=0002usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb1: Product: OMAP-EHCI Host Controllerusb usb1: Manufacturer: Linux 2.6.37-g06ebbba ehci_hcdusb usb1: SerialNumber: ehci-omap.0hub 1-0:1.0: USB hub foundhub 1-0:1.0: 3 ports detectedInitializing USB Mass Storage driver...usbcore: registered new interface driver usb-storageUSB Mass Storage support registered.android initandroid_probe pdata: c053ff2candroid_bindandroid_usb gadget: android_usb readymusb-hdrc musb-hdrc.0: MUSB HDRC host drivermusb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2usb usb2: New USB device found, idVendor=1d6b, idProduct=0002usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb2: Product: MUSB HDRC host driverusb usb2: Manufacturer: Linux 2.6.37-g06ebbba musb-hcdusb usb2: SerialNumber: musb-hdrc.0hub 2-0:1.0: USB hub foundhub 2-0:1.0: 1 port detectedf_adb initandroid_register_function adbadb_bind_configf_mass_storage initandroid_register_function usb_mass_storagemice: PS/2 mouse device common for all miceinput: gpio-keys as /devices/platform/gpio-keys/input/input0input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1using rtc device, twl_rtc, for alarmstwl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0i2c /dev entries driverLinux media interface: v0.10Linux video capture interface: v2.00omap3isp supply VDD_CSIPHY1 not found, using dummy regulatoromap3isp supply VDD_CSIPHY2 not found, using dummy regulatoromap3isp omap3isp: Revision 15.0 foundomap-iommu omap-iommu.0: isp: version 1.1mt9v113 2-003c: chip id mismatch read 0x0, expecting 0x2280isp_register_subdev_group: Unable to register subdev mt9v113OMAP Watchdog Timer Rev 0x31: initial timeout 60 sectwl4030_wdt twl4030_wdt: Failed to register misc devicetwl4030_wdt: probe of twl4030_wdt failed with error -16device-mapper: uevent: version 1.0.3device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.comusbcore: registered new interface driver usbhidusbhid: USB HID core driverlogger: created 64K log 'log_main'logger: created 256K log 'log_events'logger: created 64K log 'log_radio'logger: created 64K log 'log_system'usbcore: registered new interface driver snd-usb-audioOMAP3 Beagle/Devkit8000 SoC initusb 1-2: new high speed USB device using ehci-omap and address 2asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping okALSA device list: #0: omap3beagleoprofile: hardware counters not availableoprofile: using timer interrupt.TCP cubic registeredInitializing XFRM netlink socketNET: Registered protocol family 17NET: Registered protocol family 15Registering the dns_resolver key typeVFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3ThumbEE CPU extension supported.Power Management for TI OMAP3.smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initializedsmartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initializedSmartReflex Class3 initializedclock: disabling unused clocks to save powerplatform mpu.0: omap_voltage_scale: Already at the requestedrate 600000000regulator_init_complete: incomplete constraints, leaving VDAC onusb 1-2: New USB device found, idVendor=0424, idProduct=9514usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0hub 1-2:1.0: USB hub foundhub 1-2:1.0: 5 ports detectedtwl_rtc twl_rtc: setting system clock to 2000-01-01 00:01:04 UTC (946684864)omap_vout omap_vout: Buffer Size = 3686400omap_vout omap_vout: : registered and initialized video device 15omap_vout omap_vout: Buffer Size = 3686400omap_vout omap_vout: : registered and initialized video device 16Waiting 1sec before mounting root device...mmc0: host does not support reading read-only switch. assuming write-enable.mmc0: new high speed SDHC card at address 1234mmcblk0: mmc0:1234 SA04G 3.67 GiB mmcblk0: p1 p2 p3usb 1-2.1: new high speed USB device using ehci-omap and address 3usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0smsc95xx v1.0.4smsc95xx 1-2.1:1.0: usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, 8a:0b:39:26:40:4eusb 1-2.5: new low speed USB device using ehci-omap and address 4usb 1-2.5: New USB device found, idVendor=04d9, idProduct=1603usb 1-2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0usb 1-2.5: Product: USB Keyboardusb 1-2.5: Manufacturer: input: USB Keyboard as /devices/platform/ehci-omap.0/usb1/1-2/1-2.5/1-2.5:1.0/input/input2generic-usb 0003:04D9:1603.0001: input: USB HID v1.10 Keyboard [ USB Keyboard] on usb-ehci-omap.0-2.5/input0input: USB Keyboard as /devices/platform/ehci-omap.0/usb1/1-2/1-2.5/1-2.5:1.1/input/input3generic-usb 0003:04D9:1603.0002: input: USB HID v1.10 Device [ USB Keyboard] on usb-ehci-omap.0-2.5/input1EXT3-fs: barriers not enabledkjournald starting. Commit interval 5 secondsEXT3-fs (mmcblk0p2): using internal journalEXT3-fs (mmcblk0p2): recovery completeEXT3-fs (mmcblk0p2): mounted filesystem with ordered data modeVFS: Mounted root (ext3 filesystem) on device 179:2.Freeing init memory: 204Kinit (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'# enabling adbadb_open
And after a while:
warning: `zygote' uses 32-bit capabilities (legacy support in use)binder: release proc 1304, transaction 2468, not freedbinder: release 1375:1416 transaction 2771 out, still activebinder: release 1375:1417 transaction 2777 out, still activebinder: release 1375:1418 transaction 2795 out, still activebinder: 1217:1238 transaction failed 29189, size 28-4binder: send failed reply for transaction 2777, target deadbinder: 1217:1241 transaction failed 29189, size 28-4binder: send failed reply for transaction 2795, target deadbinder: 1217:1302 transaction failed 29189, size 28-4binder: send failed reply for transaction 2771, target dead
I am not an Adroid expert, but I can help you from Video Display perspective.
I have looked at the log and found one thing very suspecious, "Unable to get DVI reset GPIO". You may want to debug this first, may be due to this display data path is blocked.
Also, Once Linux boots up, can you dump some of the sysfs entries to see what is being configure and enabled for Display? Specially, it would be important to know whether Display is enabled and timing params for display.
For all supported sysfs interface, you can refer to the UserGuide
http://processors.wiki.ti.com/index.php/UserGuideDisplayDrivers_PSP_04.02.00.07#DSS_Library_sysfs_attributes
Thanks,
Vaibhav
Thanx for your support.It seemed to be another problem.
In the meantime I have solved it. Seems setting the reolution from uboot on beagle-xm does not work. I had to modify my bootarguments using a script. The following script worked for me (Ubuntu):
#!/bin/sh# This script should be run on an x86 machinecat <<EOF > boot.cmdsetenv bootargs 'console=ttyO2,115200n8 androidboot.console=ttyO2 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootdelay=1 init=/init ip=off omap_vout.vid1_static_vrfb_alloc=y vram=8M omapfb.vram=0:8M omapfb.mode=dvi:hd720 omapdss.def_disp=vdi'fatload mmc 0 80200000 uImagebootm 80200000EOFmkimage -A arm -O linux -T script -C none -a 0 -e 0 -n 'Execute uImage.bin' -d boot.cmd boot.scrrm boot.cmd
What you need is the uboot-mkimage package. When the script above is executed, a boot.scr file is created which can be copied to the boot partition of the sd card. My problem is solved. It was a resolution problem, my monitor did not support the default resolution, of which i don't know the value.
I am having exactly the same problems. When someone have this release working let me know. I am more than willing to pay for consulting services. Thanks.
Have you read my post with the solution that worked for me?
When you see a prompt # and no strange messages during booting, I think the default resolution does not work for your attached monitor or TV.
You can change it using the script posted above. But first check the supported resolutions of your Monitor/TV.
Regards!
Thank. I have an LCD. I will take another look.
HI Benjamin Oostveen,
I followed your boot-args, But it didn't work for me. I am using beagleboard-xM and getting same problem. Also i attached acer VGA monitor with my beagle board-xM. Please help me out.
Could you tell me, a file omapfb is not shown when i used lsmod. can be this a problem.
Thanks
hello, I facing ICS building error for blaze 4430 board , http://e2e.ti.com/support/embedded/android/f/509/t/136416.aspx#644411
pls check is it something related with same resolution problem.