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.

pandaboard es rev b1(omap4460) can't boot linux minimal-fs‏

Other Parts Discussed in Thread: 4460, TWL6030

My problem is that my pandaboard es rev b1(omap4460) can't boot from linux minimal-fs.I have done the step according to http://omappedia.org/wiki/Minimal-FS. But the board didn't boot and there was no information printed form serial port. I suspected that was the mismatch problem. So I downloaded and compiled several different versions of source code of bootloader from linaro.org, gitorious.org,denx.de and so on. Unfortunately, These're failed too. However it can boot up from ubuntu 11.10. So what should I do if I want to boot linux minimal-fs from SD card?

thank you for your help and reply.
Best regards!
Hui Xiang
  • Can you try using the xloader and uboot from the prebuilds in this page? http://omappedia.org/wiki/4AI.1.4_OMAP4_Icecream_Sandwich_Panda_Notes

    It should work.

  • Hi Israel

    I'm a green hand.Thank you very much for your help.

    I got the MLO and u-boot  from this link: http://omappedia.org/wiki/4AI.1.4_OMAP4_Icecream_Sandwich_Panda_Notes.But it can't boot the minimal-fs.

    So I tried to build  them from this link (at end of page): http://www.omappedia.com/wiki/Android_Panda_Build_Source.The leds lit up but the serial port information stopped at the point of " booting the kernel".

    The uImge and rootfs comes from the packet of “L24.9-Pandaboard-minimal-rootfs”from the link:http://omappedia.org/wiki/Dowload_minimal-FS_Environment.

    So what should I do to get the correct kernel to boot the minimal-fs.I wonder if  you are willing to provide the  binaries (uImage an rootfs) to me.My e-mail : xianghui0501@hotmail.com

    Thanks a lot for your help.

    Best regards!
     
    Hui Xiang
  • Hui Xiang,

    This "minimal rootfs" is 2 years old, it was created before OMAP4460. The wiki page states that it is outdated ;-)

    Another minimal file system that works on 4460 is ubuntu-core: http://omappedia.org/wiki/OMAP_Ubuntu_Core

    I recommend to not mix-and-match bootloaders / kernel / file system from different sources, but rather to pick a complete set from a given source.

    Hope this helps.

    -- Olivier

  • Dear Olivier

    Thank you very much for your help.

    I followed the instructions you told me  in http://omappedia.org/wiki/OMAP_Ubuntu_Core.

    I created "serial-auto-detect-console.conf" in /etc/init and "serial-console" in /bin, and  removed the '*' character in between the semi-colons in  /etc/shadow.

    After booting, I cannot type from the keyboard to login. Here is the log:


    U-Boot SPL 2011.09-rc2 (Oct 06 2011 - 17:56:54)
    Texas Instruments OMAP4460 ES1.1
    OMAP SD/MMC: 0
    reading u-boot.img
    reading u-boot.bin
    mkimage signature not
    U-Boot SPL 2011.09-rc2 (Oct 06 2011 - 17:56:54)
    Texas Instruments OMAP4460 ES1.1
    OMAP SD/MMC: 0
    reading u-boot.img
    reading u-boot.bin
    mkimage signature not found - ih_magic = ea000014
    Assuming u-boot.bin ..
    reading u-boot.bin


    U-Boot 2011.09-rc2 (Oct 06 2011 - 17:56:54)

    CPU  : OMAP4430
    Board: OMAP4 Panda
    I2C:   ready
    DRAM:  1 GiB
    WARNING: Caches not enabled
    MMC:   OMAP SD/MMC: 0
    Using default environment

    In:    serial
    Out:   serial
    Err:   serial
    Net:   No ethernet found.
    Hit any key to stop autoboot:  3 2 1 0
    reading uEnv.txt

    ** Unable to read "uEnv.txt" from mmc 0:1 **
    reading boot.scr

    228 bytes read
    Loaded script from boot.scr
    Running bootscript from mmc0 ...
    ## Executing script at 82000000
    reading uImage

    4298732 bytes read
    ## Booting kernel from Legacy Image at 80000000 ...
       Image Name:   Ubuntu kernel
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4298668 Bytes = 4.1 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] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.0.0-1205-omap4 (buildd@kaylaberry) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #10-Ubuntu SMP PREEMPT Thu Sep 29 03:57:24 UTC 2011 (Ubuntu 3.0.0-1205.10-omap4 3.0.4)
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: OMAP4 Panda board
    [    0.000000] Reserving 33554432 bytes SDRAM for VRAM
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] OMAP4460 ES1.1
    [    0.000000] SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0xe000
    [    0.000000] PERCPU: Embedded 7 pages/cpu @c1133000 s7584 r8192 d12896 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 251904
    [    0.000000] Kernel command line: rw vram=32M fixrtc mem=1G@0x80000000 root=/dev/mmcblk0p2 console=ttyO2,115200n8 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] allocated 4194304 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] Memory: 992MB = 992MB total
    [    0.000000] Memory: 993248k/993248k available, 55328k reserved, 229376K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xf8000000   ( 120 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .init : 0xc0008000 - 0xc004e000   ( 280 kB)
    [    0.000000]       .text : 0xc004e000 - 0xc0844a78   (8155 kB)
    [    0.000000]       .data : 0xc0846000 - 0xc08ae4b0   ( 418 kB)
    [    0.000000]        .bss : 0xc08ae4d4 - 0xc092a52c   ( 497 kB)
    [    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] NR_IRQS:410
    [    0.000000] omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for dpll_mpu_m2_ck.
    [    0.000000] OMAP clockevent source: 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.000122] Calibrating delay loop... 1392.74 BogoMIPS (lpj=5439488)
    [    0.070404] pid_max: default: 32768 minimum: 301
    [    0.070404] Security Framework initialized
    [    0.070709] AppArmor: AppArmor initialized
    [    0.070709] Yama: becoming mindful.
    [    0.070739] Mount-cache hash table entries: 512
    [    0.070739] Initializing cgroup subsys cpuacct
    [    0.071899] Initializing cgroup subsys memory
    [    0.071899] Initializing cgroup subsys devices
    [    0.071960] Initializing cgroup subsys freezer
    [    0.071960] Initializing cgroup subsys blkio
    [    0.071960] Initializing cgroup subsys perf_event
    [    0.072143] CPU: Testing write buffer coherency: ok
    [    0.072265] twd_timer_setup: no clock found
    [    0.072418] Calibrating local timer... 341.46MHz.
    [    0.117462] L310 cache controller enabled
    [    0.117462] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x5e470000, Cache size: 1048576 B
    [    0.193969] CPU1: Booted secondary processor
    [    0.262329] Brought up 2 CPUs
    [    0.262359] SMP: Total of 2 processors activated (2755.07 BogoMIPS).
    [    0.262756] devtmpfs: initialized
    [    0.266937] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for emif_fw
    [    0.266937] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_instr
    [    0.266967] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_1
    [    0.266967] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_2
    [    0.266998] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_abe
    [    0.267028] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_cfg
    [    0.267059] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per
    [    0.267059] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup
    [    0.267059] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for mpu_private
    [    0.267089] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for dsp
    [    0.267089] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for sl2if
    [    0.267395] omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
    [    0.275085] omap_hwmod: mcpdm: cannot be enabled (3)
    [    0.277221] print_constraints: dummy:
    [    0.277221] NET: Registered protocol family 16
    [    0.277740] GPMC revision 6.0
    [    0.279510] OMAP GPIO hardware version 0.1
    [    0.279693] omap_device: omap_gpio.1: new worst case activate latency 0: 30517
    [    0.279876] OMAP GPIO hardware version 0.1
    [    0.280059] OMAP GPIO hardware version 0.1
    [    0.280242] OMAP GPIO hardware version 0.1
    [    0.280303] OMAP GPIO hardware version 0.1
    [    0.280609] OMAP GPIO hardware version 0.1
    [    0.280609] omap_mux_init: Add partition: #1: core, flags: 2
    [    0.280609] omap_mux_init: Add partition: #2: wkup, flags: 2
    [    0.283325] omap_device: omap_uart.0: new worst case activate latency 0: 2716064
    [    0.291351] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
    [    0.291381] hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
    [    0.291381] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.291412] omap_init_sham: platform not supported
    [    0.292510] omap_init_aes: platform not supported
    [    0.292755] pm_dbg_init: only OMAP3 supported
    [    0.293762] omap_ipussdev_init: could not look up iss
    [    0.293762] OMAP DMA hardware revision 0.0
    [    0.300994] bio: create slab <bio-0> at 0
    [    0.301422] print_constraints: vwl1271: 1800 mV
    [    0.301422] SCSI subsystem initialized
    [    0.303253] omap_device: omap2_mcspi.1: new worst case activate latency 0: 122070
    [    0.303649] omap_device: omap2_mcspi.3: new worst case activate latency 0: 152587
    [    0.303894] usbcore: registered new interface driver usbfs
    [    0.303894] usbcore: registered new interface driver hub
    [    0.304412] usbcore: registered new device driver usb
    [    0.305236] omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
    [    0.305236] Skipping twl internal clock init and using bootloader value (unknown osc rate)
    [    0.306213] twl6030: PIH (irq 39) chaining IRQs 368..387
    [    0.306610] print_constraints: VUSB: 3300 mV normal standby
    [    0.505187] twl6030_usb twl6030_usb: Initialized TWL6030 USB module
    [    0.505249] twl6030: Interrupt status  0x040000
    [    0.506195] print_constraints: VMMC: 1200 <--> 3000 mV at 3000 mV normal standby
    [    0.506713] print_constraints: VPP: 1800 <--> 2500 mV at 1900 mV normal standby
    [    0.507049] print_constraints: VCXIO: 1800 mV normal standby
    [    0.507049] print_constraints: VDAC: 1800 mV normal standby
    [    0.507781] print_constraints: VAUX2_6030: 1200 <--> 2800 mV at 1800 mV normal standby
    [    0.508178] print_constraints: VAUX3_6030: 1000 <--> 3000 mV at 1200 mV normal standby
    [    0.508178] print_constraints: CLK32KG:
    [    0.508972] print_constraints: VANA: 2100 mV normal standby
    [    0.509124] omap_device: omap_i2c.2: new worst case activate latency 0: 152587
    [    0.521423] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
    [    0.521636] omap_device: omap_i2c.2: new worst case deactivate latency 0: 213623
    [    0.536651] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
    [    0.544616] omap_i2c omap_i2c.4: bus 4 rev4.0 at 400 kHz
    [    0.552246] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.553161] Bluetooth: Core ver 2.16
    [    0.553161] NET: Registered protocol family 31
    [    0.553253] Bluetooth: HCI device and connection manager initialized
    [    0.553253] Bluetooth: HCI socket layer initialized
    [    0.553649] cfg80211: Calling CRDA to update world regulatory domain
    [    0.554565] NetLabel: Initializing
    [    0.554565] NetLabel:  domain hash size = 128
    [    0.554595] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.554595] NetLabel:  unlabeled traffic allowed by default
    [    0.554595] Switching to clocksource 32k_counter
    [    0.559570] Switched to NOHz mode on CPU #0
    [    0.559875] Switched to NOHz mode on CPU #1
    [    0.565643] AppArmor: AppArmor Filesystem Enabled
    [    0.580047] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host)
    [    0.581268] omap_device: musb-omap2430.-1: new worst case activate latency 0: 122070
    [    0.581390] musb-hdrc musb-hdrc: USB OTG mode controller at fc0ab000 using DMA, IRQ 124
    [    0.581695] omap_device: musb-omap2430.-1: new worst case deactivate latency 0: 305175
    [    0.581695] NET: Registered protocol family 2
    [    0.582336] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.582336] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    [    0.582336] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
    [    0.582336] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.586853] TCP reno registered
    [    0.586853] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.586914] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.586914] NET: Registered protocol family 1
    [    0.587829] RPC: Registered named UNIX socket transport module.
    [    0.588104] RPC: Registered udp transport module.
    [    0.588104] RPC: Registered tcp transport module.
    [    0.588134] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.252014] ipu-power ipu0: Test of writing to the device message log,done from ipu_pm_init
    [    1.252044] ipu-power initialized ipu, major: 252, minor: 0
    [    1.252044] omap-iommu omap-iommu.0: ducati registered
    [    1.252044] omap-iommu omap-iommu.1: tesla registered
    [    1.252838] iovmm-omap initialized ducati, major: 251, base-minor: 0
    [    1.252838] iovmm-omap initialized tesla, major: 251, base-minor: 1
    [    1.253234] omap-remoteproc omap-remoteproc.0: omap_rproc_probe: adding rproc tesla
    [    1.253234] omap-remoteproc omap-remoteproc.0: omap-rproc initialized tesla, major: 250, base-minor: 0
    [    1.253417] omap-remoteproc omap-remoteproc.1: omap_rproc_probe: adding rproc ducati-proc0
    [    1.253631] omap-remoteproc omap-remoteproc.1: omap-rproc initialized ducati-proc0, major: 250, base-minor: 1
    [    1.253631] omap-remoteproc omap-remoteproc.2: omap_rproc_probe: adding rproc ducati-proc1
    [    1.253631] omap-remoteproc omap-remoteproc.2: omap-rproc initialized ducati-proc1, major: 250, base-minor: 2
    [    1.254547] audit: initializing netlink socket (disabled)
    [    1.254547] type=2000 audit(1.257:1): initialized
    [    1.380004] highmem bounce pool size: 64 pages
    [    1.388153] VFS: Disk quotas dquot_6.5.2
    [    1.388977] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.394470] msgmni has been set to 1491
    [    1.396209] io scheduler noop registered
    [    1.396240] io scheduler deadline registered
    [    1.396240] io scheduler cfq registered (default)
    [    1.453430] OMAP DSS rev 4.0
    [    1.453643] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
    [    1.484619] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
    [    1.538909] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
    [    2.614257] console [ttyO2] enabled
    [    2.701232] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
    [    2.828582] [drm] Initialized drm 1.1.0 20060810
    [    2.828582] brd: module loaded
    [    2.837524] loop: module loaded
    [    2.844726] (stk) :sysfs entries created
    [    2.844726] (stk) : debugfs entries created
    [    2.853729] omap_device: omap_i2c.1: new worst case activate latency 0: 9002685
    [    2.863311] usbcore: registered new interface driver smsc95xx
    [    2.870880] cdc_ncm: 01-June-2011
    [    2.874420] usbcore: registered new interface driver cdc_ncm
    [    2.874420] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    2.887603] _regulator_get: ehci-omap.0 supply hsusb0 not found, using dummy regulator
    [    2.896240] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    [    2.902282] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    [    2.910247] ehci-omap ehci-omap.0: irq 109, io mem 0x4a064c00
    [    2.935180] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    [    2.941436] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.948638] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.956298] usb usb1: Product: OMAP-EHCI Host Controller
    [    2.961944] usb usb1: Manufacturer: Linux 3.0.0-1205-omap4 ehci_hcd
    [    2.961944] usb usb1: SerialNumber: ehci-omap.0
    [    2.974090] hub 1-0:1.0: USB hub found
    [    2.974090] hub 1-0:1.0: 3 ports detected
    [    3.008056] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    3.008056] ohci-omap3 ohci-omap3.0: OMAP3 OHCI Host Controller
    [    3.021087] ohci-omap3 ohci-omap3.0: new USB bus registered, assigned bus number 2
    [    3.029113] ohci-omap3 ohci-omap3.0: irq 108, io mem 0x4a064800
    [    3.135803] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
    [    3.143005] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.150665] usb usb2: Product: OMAP3 OHCI Host Controller
    [    3.156372] usb usb2: Manufacturer: Linux 3.0.0-1205-omap4 ohci_hcd
    [    3.162994] usb usb2: SerialNumber: ohci-omap3.0
    [    3.168609] hub 2-0:1.0: USB hub found
    [    3.172607] hub 2-0:1.0: 3 ports detected
    [    3.176971] Initializing USB Mass Storage driver...
    [    3.176971] usbcore: registered new interface driver usb-storage
    [    3.176971] USB Mass Storage support registered.
    [    3.176971] mousedev: PS/2 mouse device common for all mice
    [    3.202178] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    [    3.209136] twl_rtc twl_rtc: Power up reset detected.
    [    3.215667] twl_rtc twl_rtc: Enabling TWL-RTC.
    [    3.220764] i2c /dev entries driver
    [    3.220764] lirc_dev: IR Remote Control driver registered, major 247
    [    3.220764] Linux video capture interface: v2.00
    [    3.238006] wl1273_fm_module_init
    [    3.243438] Driver for 1-wire Dallas network protocol.
    [    3.248901] 1-Wire driver for the DS2760 battery monitor  chip  - (c) 2004-2005, Szabolcs Gyurko
    [    3.258605] omap_device: omap_wdt.-1: new worst case activate latency 0: 244140
    [    3.266693] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    3.274047] device-mapper: uevent: version 1.0.3
    [    3.279693] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
    [    3.288635] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
    [    3.296020] (stc): st_register(2)
    [    3.299438] (stc):  chnl_id list empty :2
    [    3.303802] cpuidle: using governor ladder
    [    3.308471] cpuidle: using governor menu
    [    3.313140] (stk) : st_kim_start
    [    3.327606] omap_device: omap_i2c.1: new worst case activate latency 0: 14556884
    [    3.336761] usb 1-1: new high speed USB device number 2 using ehci-omap
    [    3.345092] twl6030: Interrupt status  0x000800
    [    3.350036] _regulator_get: omap_hsmmc.0 supply vmmc_aux not found, using dummy regulator
    [    3.360015] _regulator_get: omap_hsmmc.4 supply vmmc_aux not found, using dummy regulator
    [    3.370086] proc4430_drv_initializeModule
    [    3.375335] omap-devicehandler omap-devicehandler.0: omap_devh_probe: adding devh Tesla
    [    3.382965] omap-devh initialized Tesla, major: 241, base-minor: 0
    [    3.391021] omap-devicehandler omap-devicehandler.1: omap_devh_probe: adding devh SysM3
    [    3.391021] omap-devh initialized SysM3, major: 241, base-minor: 1
    [    3.406494] omap-devicehandler omap-devicehandler.2: omap_devh_probe: adding devh AppM3
    [    3.415222] omap-devh initialized AppM3, major: 241, base-minor: 2
    [    3.424407] SDP4430 SoC init
    [    3.428527] omap_device: aess.-1: new worst case activate latency 0: 122070
    [    3.439697] (stk) :ldisc_install = 1
    [    3.467346] omap_device: omap-mcpdm.-1: new worst case deactivate latency 0: 30517
    [    3.477783] asoc: null-codec-dai <-> MultiMedia1 mapping ok
    [    3.484741] asoc: null-codec-dai <-> MultiMedia2 mapping ok
    [    3.493133] asoc: null-codec-dai <-> Voice mapping ok
    [    3.500213] asoc: null-codec-dai <-> Tones mapping ok
    [    3.507080] asoc: null-codec-dai <-> Vibra mapping ok
    [    3.512695] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    [    3.513336] asoc: null-codec-dai <-> MODEM mapping ok
    [    3.514434] asoc: null-codec-dai <-> MultiMedia1 LP mapping ok
    [    3.515197] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
    [    3.518432] asoc: twl6040-dl1 <-> mcpdm-dl mapping ok
    [    3.520019] asoc: dmic-hifi <-> omap-dmic-dai-0 mapping ok
    [    3.523559] twl6040-codec twl6040-codec: ASoC: Failed to create Aux/FM Stereo In debugfs file
    [    3.524749] asoc: twl6040-dl1 <-> mcpdm-dl1 mapping ok
    [    3.525634] asoc: twl6040-ul <-> mcpdm-ul1 mapping ok
    [    3.526794] asoc: twl6040-dl2 <-> mcpdm-dl2 mapping ok
    [    3.527679] asoc: twl6040-vib <-> mcpdm-vib mapping ok
    [    3.528839] asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
    [    3.529907] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
    [    3.530792] asoc: MODEM <-> omap-mcbsp-dai.1 mapping ok
    [    3.531921] asoc: dmic-hifi <-> omap-dmic-abe-dai-0 mapping ok
    [    3.532928] asoc: dmic-hifi <-> omap-dmic-abe-dai-1 mapping ok
    [    3.533935] asoc: dmic-hifi <-> omap-dmic-abe-dai-2 mapping ok
    [    3.536590] input: Panda Headset Jack as /devices/platform/soc-audio.0/sound/card0/input0
    [    3.536590] Error: Driver 'hdmi-audio-dai' is already registered, aborting...
    [    3.539550] OMAP4 HDMI audio SoC init
    [    3.540832] asoc: omap4-hdmi-audio-codec <-> hdmi-audio-dai mapping ok
    [    3.540832] ALSA device list:
    [    3.541412]   #0: TI OMAP4 Board
    [    3.541412]   #1: TI OMAP4 HDMI Board
    [    3.542144] aufs 2.1-standalone.tree-3.0-rcN-20110620
    [    3.542144] oprofile: hardware counters not available
    [    3.542144] oprofile: using timer interrupt.
    [    3.543762] TCP cubic registered
    [    3.543762] NET: Registered protocol family 10
    [    3.547515] NET: Registered protocol family 17
    [    3.547515] lib80211: common routines for IEEE802.11 drivers
    [    3.547790] Registering the dns_resolver key type
    [    3.547882] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    3.693908] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    3.706604] ThumbEE CPU extension supported.
    [    3.706848] hub 1-1:1.0: USB hub found
    [    3.715118] hub 1-1:1.0: 5 ports detected
    [    3.715118] Registering SWP/SWPB emulation handler
    [    3.718444] omap2_set_init_voltage: unable to find boot up OPP for vdd_iva
    [    3.718475] omap2_set_init_voltage: Unable to put vdd_iva to its init voltage
    [    3.718475]
    [    3.719116] Power Management for TI OMAP4.
    [    3.719238] sr_init: No PMIC hook to init smartreflex
    [    3.719390] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
    [    3.719512] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
    [    3.719818] smartreflex smartreflex.2: omap_sr_probe: SmartReflex driver initialized
    [    3.719818] SmartReflex Class3 initialized
    [    3.728698] registered taskstats version 1
    [    3.729888] regulator_init_complete: VANA: incomplete constraints, leaving on
    [    3.730255] regulator_init_complete: CLK32KG: incomplete constraints, leaving on
    [    3.731384] regulator_init_complete: VDAC: incomplete constraints, leaving on
    [    3.731750] regulator_init_complete: VCXIO: incomplete constraints, leaving on
    [    3.732482] regulator_init_complete: VUSB: incomplete constraints, leaving on
    [    3.821533] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    3.831939] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    3.853851] mmc0: new SDHC card at address aaaa
    [    3.859069] mmcblk0: mmc0:aaaa SD04G 3.69 GiB
    [    3.866668]  mmcblk0: p1 p2
    [    3.959136] omapdss DISPC error: timeout waiting for EVSYNC
    [    3.965057] omap_vout omap_vout: 'hdmi' Display already enabled
    [    3.971343] omap_vout omap_vout: Buffer Size = 3686400
    [    3.976776] omap_vout omap_vout: : registered and initialized video device 1
    [    3.984954] omap_vout omap_vout: Buffer Size = 3686400
    [    3.984954] omap_vout omap_vout: : registered and initialized video device 2
    [    4.002502] Not enabling generic panel as no connector is detected
    [    4.009033] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    4.018493] omapdrm omapdrm.0: could not create connector
    [    4.049346] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    4.056274] mmc1: new SDIO card at address 0001
    [    4.122619] usb 1-1.1: new high speed USB device number 3 using ehci-omap
    [    4.166290] omapdss DISPC error: timeout waiting for EVSYNC
    [    4.270935] omapdss DISPC error: timeout waiting for EVSYNC
    [    4.271575] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [    4.271636] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    4.287780] smsc95xx v1.0.4
    [    4.373443] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-ehci-omap.0-1.1, smsc95xx USB 2.0 Ethernet, 2e:60:5b:81:46:01
    [    4.413726] omapdss DISPC error: timeout waiting for EVSYNC
    [    4.531097] (stk) :line disc installation timed out
    [    4.531097] (stk) :ldisc_install = 0
    [    4.539489] omapdss DISPC error: timeout waiting for EVSYNC
    [    4.539489] Console: switching to colour frame buffer device 160x45
    [    4.715301] fb0: omapdrm frame buffer device
    [    4.715301] drm: registered panic notifier
    [    4.715332] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    4.715332] [drm] No driver support for vblank timestamp query.
    [    4.715362] [drm] Initialized omapdrm 1.0.0 20110403 on minor 0
    [    4.761840] (stk) :ldisc_install = 1
    [    4.776306] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [    4.872833] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [    4.945709] usb 1-1.3: new low speed USB device number 4 using ehci-omap
    [    5.081756] usb 1-1.3: New USB device found, idVendor=1a2c, idProduct=0002
    [    5.082122] EXT4-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    [    5.098754] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    5.106506] usb 1-1.3: Product: USB Keykoard
    [    5.111236] usb 1-1.3: Manufacturer: USB
    [    5.117218] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    5.125793] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    5.134796] devtmpfs: mounted
    [    5.137207] Freeing init memory: 280K
    [    5.843322] (stk) :line disc installation timed out
    [    5.848632] (stk) :ldisc_install = 0
    [    5.961944] (stk) :ldisc_install = 1[    6.961242] (stk) :line disc installation timed out
    [    8.240081] (stk) :line disc installation timed out

    Ubuntu 11.10 localhost.localdomain ttyO2

    localhost.localdomain login: [    9.344055] (stk) :line disc installation timed out
    [   10.442382] (stk) :line disc installation timed out
    [   10.447479] (stc):  KIM failure complete callback
    [   10.452758] fmdrv: ST reg comp CB called with error status 146
    [   10.452758] fmdrv: Unable to prepare FM CORE
    [   10.463500] ti_st_open: st_register failed -22

     

    The screen shows :

    Ubuntu 11.10 localhost.localdomain in tty1

    localhost.localdomain login:_

     

    what should I do next ?

     

    Best regards.

    Hui Xiang

     

  • Hui Xiang,

    On the login prompt, just type "root". It will not ask for a password.

    Then you may assign a password with the "passwd" command or modify the host name by editing /etc/hostname.

    Note that the wiki page proposes binaries and file systems for Ubuntu 11.10 and 12.04. Both distributions are working, though 11.10 is in maintenance mode and 12.04 is the one actively developed on.

    Also the instructions were written in 11.10 time frame and there might be slight differences on 12.04.

    Regards,

    -- Olivier

  • Dear Olivier
    I typed "root" on the login prompt in minicom and it showed "welcome to ubuntu 11.10  ...... ". But the HDMI screen still showed :
             "Ubuntu 11.10 localhost.localdomain in tty1
              localhost.localdomain login:_"
    Is that right? Does Ubuntu11.10-core have graphical user interface?

    Best regards.

    Hui Xiang

  • Hui Xiang

    This is the expected behavior. You are now logged as root in the serial console. For the shell showned on HDMI screen, you need to plug in a USB keyboard (optional).

    A minimal image does not have any GUI, otherwise people will say that is not minimal enough ;-)

    Now you may follow steps from 3.3 "Getting network up and running" to 3.5 "Adding a User Interface", in this order.

    Regards,

    -- Olivier

  • Dear Olivier
    Thanks again for your kind help. Your help is very much appreciated by me.
    I followed the steps and logged as root in the serial console. It was all right besides in step 3.5 "Adding a User Interface". It spent me several hours to "apt-get install ubuntu-omap4-extras u-boot-tools" ,and the process interrupted at the end of the installation. I tried again ,and it showed :

    root@localhost:~# apt-get install ubuntu-omap4-extras u-boot-tools
    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
    root@localhost:~# dpkg --configure ubuntu-omap4-extras u-boot-tools
    dpkg: error processing ubuntu-omap4-extras (--configure):
     package ubuntu-omap4-extras is not ready for configuration
     cannot configure (current status `half-installed')
    dpkg: error processing u-boot-tools (--configure):
     package u-boot-tools is already installed and configured
    Errors were encountered while processing:
     ubuntu-omap4-extras
     u-boot-tools
    root@localhost:~# apt-get install ubuntu-omap4-extras u-boot-tools
    Reading package lists... Done
    Building dependency tree... Done
    u-boot-tools is already the newest version.
    The following packages will be upgraded:
      ubuntu-omap4-extras
    1 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
    2 not fully installed or removed.
    Need to get 0 B/3858 B of archives.
    After this operation, 53.2 kB of additional disk space will be used.
    Package configuration                                                           
      �������������������Ĵ Configuring ubuntu-omap4-extras ��������������������Ŀ    
      �                                                                          �  
      � TI Kernel Warning                                                           
      �                                                                             
      �                                                                             
      �                                                                             
      � Texas Instruments Incorporated                                              
      �                                                                             
      � Important - Please read the following Warning carefully.                    
      �                                                                             
      � You are about to install TI Software including TI development Kernel.       
      � This kernel will replace Ubuntu default kernel. Corresponding source        
      � code is public and available here:                                          
      � http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=summary          
      �                                                                             
      � This Kernel is maintained by tiomap-dev team:                               
      � https://launchpad.net/~tiomap-dev                                           
      �                                                                             
      �                                  <Ok>                                       
      �                                                                          �  
      ���������������������������������������������������������������������������   
                                                                                    

    What's the problem?
    In addition ,I can't use many commands  such as "sudo'' ,''ethtool'',''gedit"... .  It shows"-bash: sudo: command not found". what software should I install?
    Best regards.
    Hui Xiang
  • Hi Hui,

    You may be limited in the tools you have when using a minimal FS, so if you want to have a more complete platform I would recommend you to try to build or get a more complete FS instead or try install things to one minimal.

    Also I would appreciate if you verify the answer that had help you to solve the issue you had. Thanks

  • Hui Xiang,

    This is a just an expected warning that says that Ubuntu kernel will be replaced by TI kernel (a derived version of the former). Instead of cancelling the installation, just select "OK" and it will proceed.

    Again, the objective of a minimal file system is precisely to not contain any application such as gedit. Though you may easily install it with "apt-get install gedit". Note that "sudo" is not needed since the default user is root.

    For a more comprehensive file system, you may use an image such as "Ubuntu 12.04 Precise Pangolin desktop" (http://omapedia.org/wiki/Prebuilt_ubuntu_binaries).

    Regards,    
    -- Olivier

  • Dear Olivier

    Thank you very much for your reply and help.

    Best regards!

    Hui Xiang
  • Hi Oliver,

    I'm experiencing the same problem. To be more precise, I'm trying to install Ubuntu without the serial console by using a HDMI monitor and an USB keyboard. I have followed the instructions found in

    http://www.omappedia.com/wiki/OMAP_Ubuntu_Core

    Everything seems to be ok, but when I boot the system I obtain:

    Ubuntu 12.04 localhost.localdomain in tty1
    localhost.localdomain login:_

    The cursor is blinking but the keyboard does not produce any output. Through chroot I have also installed the two additional packages "ubuntu-omap4-extras u-boot-tools", but the problem persists.

    Have you any suggestion?

    Sincerely,
    Corrado

  • Please check that you have the following options enabled in your kernel defconfig:

    USB_EHCI_HCD_OMAP

    USB_HID

    To make things easier, select these options as static in kernel image (=y), not as modules.

  • Hi Sebastien,

    thank you for you fast answer. First of all, I started using the standard precompiled kernel. Later I have installed "ubuntu-omap4-extras" and now the kernel is version 3.4.0-1486-omap4. In both cases, the keyboard was not working (thus I think the problem is reproducible). I have had a look to the config file in the boot directory and I have found

    CONFIG_USB_EHCI_HCD=y

    CONFIG_USB_HID=m

    Is it necessary to compile the kernel in order to modify the second setting?

    Sincerely,

    Corrado

  • Hi Corrado,

    It appears your USB_HID modules cannot be mounted. That's maybe because you don't have your kernel modules installed in your file-system.

    You have 2 options:

    1) update your kernel defconfig and set the USB_HID as static (=y). For that you need to re-build your kernel: make menuconfig (change USB_HID to =y); then make uImage,

    or

    2) make sure the kernel modules are installed in your file-system => make modules; sudo make modules_install INSTALL_MOD_PATH=<path to your FS - where your SD card file-system partition is mounted>

    Seb

  • Hi Sebastien,

    Sebastien Jan said:

    It appears your USB_HID modules cannot be mounted. That's maybe because you don't have your kernel modules installed in your file-system.

    Just to understand. I have installed my system by using the following files (actually, I have not built the kernel)

    • Download the 12.04 release from Canonical:
     wget http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-core-12.04.1-core-armhf.tar.gz
    
    • Download the MLO, u-boot.bin and kernel:
     wget -O MLO        http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armhf/current/images/omap4/netboot/MLO
     wget -O u-boot.bin http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armhf/current/images/omap4/netboot/u-boot.bin
     wget -O uImage     http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armhf/current/images/omap4/netboot/uImage

    Is it possible that, in the above mentioned default configuration, USB_HID modules are missing?
    Second, is it possible to build the kernel in the chroot environment?

    Cheers,
    Corrado
  • Corrado Guarino Lo Bianco said:
    Is it possible that, in the above mentioned default configuration, USB_HID modules are missing?

    Well, it probably is that USB_HID is configured as a module (=m), but the modules version installed in the file-system does not exactly match the uImage, so the module refuses to load.

    Corrado Guarino Lo Bianco said:
    Second, is it possible to build the kernel in the chroot environment?

    It's possible to re-build a kernel either on the board (native build) or on your linux workstation (cross-build). If you have a Linux workstation, the easiest and fastest way to re-build is most certainly to make a cross-build. See here: http://www.omappedia.org/wiki/Ubuntu_kernel_build_alternatives#kernel_Makefile_2

    See more broad instructions for dealing with a Ubuntu kernel here: http://www.omappedia.org/wiki/Ubuntu_kernel_for_OMAP4

  • Sebastien Jan said:

    Is it possible that, in the above mentioned default configuration, USB_HID modules are missing?

    Well, it probably is that USB_HID is configured as a module (=m), but the modules version installed in the file-system does not exactly match the uImage, so the module refuses to load.

    [/quote]

    clear

    Sebastien Jan said:

    Second, is it possible to build the kernel in the chroot environment?

    It's possible to re-build a kernel either on the board (native build) or on your linux workstation (cross-build). If you have a Linux workstation, the easiest and fastest way to re-build is most certainly to make a cross-build. See here: http://www.omappedia.org/wiki/Ubuntu_kernel_build_alternatives#kernel_Makefile_2

    See more broad instructions for dealing with a Ubuntu kernel here: http://www.omappedia.org/wiki/Ubuntu_kernel_for_OMAP4

    [/quote]

    Without a keyboard native build is not possible :-)

    Moreover, I'm working on a Debian system and from several months the cross building chain does not install (missing dependencies): This is why I was asking about a chroot compilation.

    Thank you for your courtesy and patience.

    Corrado

  • Corrado Guarino Lo Bianco said:
    Without a keyboard native build is not possible :-)

    Hehe, yes indeed :).

    Corrado Guarino Lo Bianco said:

    Moreover, I'm working on a Debian system and from several months the cross building chain does not install (missing dependencies): This is why I was asking about a chroot compilation.

    You can still install a CodeSourcery cross-toolchain, for example here: http://www.omappedia.org/wiki/Ubuntu_kernel_build_alternatives#Cross-compilation

  • Sebastien Jan said:

    You can still install a CodeSourcery cross-toolchain, for example here: http://www.omappedia.org/wiki/Ubuntu_kernel_build_alternatives#Cross-compilation

    This evening I'll give it a try. I think it is something beyond my capabilities...

    Thank you again.

    Corrado