U-Boot 2010.06 (Jul 12 2011 - 19:13:34) DRAM: 2 GiB Using default environment The 2nd stage U-Boot will now be auto-loaded Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed Hit any key to stop autoboot: 3 2 1 0 mmc1 is available reading u-boot.bin 177492 bytes read ## Starting application at 0x80800000 ... U-Boot 2010.06 (Jul 12 2011 - 19:14:32) I2C: ready DRAM: 2 GiB NAND: HW ECC Hamming Code selected No NAND device found!!! 0 MiB *** Warning - bad CRC, using default environment .:;rrr;;. ,5#@@@@#####@@@@@@#2, ,A@@@hi;;;r5;;;;r;rrSG@@@A, r@@#i;:;s222hG;rrsrrrrrr;ri#@@r :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@: B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@ @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@ @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@ G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@ X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X @#;rsrsrsrsrr;r2ir@@@###::rrsrsrsrsrsrsrsrsr:@@ @A:rrsrsrsrr;:2@29@@M@@@;:;rrrrsrsrsrsrsrsrs;H@ @&;rsrsrsrr;A@@@@@@###@@@s::;:;;rrsrsrsrsrsr;G@ @#:rrsrsrsr;G@5Hr25@@@#@@@#9XG9s:rrrrsrsrsrs:#@ M@;rsrsrsrs;r@&#;::S@@@@@@@M@@@@Grr:;rsrsrsr;@# :@s;rsrsrsrr:M#Msrr;;&#@@@@@@@@@@H@@5;rsrsr;s@, @@:rrsrsrsr;S@rrrsr;:;r3MH@@#@M5,S@@irrsrr:@@ @A:rrsrsrsrrrrrsrsrrr;::;@##@r:;rH@h;srr:H@ ;@9:rrsrsrsrrrsrsrsrsr;,S@Hi@i:;s;MX;rr:h@; r@B:rrrrsrsrsrsrsrr;;sA@#i,i@h;r;S5;r:H@r ,@@r;rrrsrsrsrsrr;2BM3r:;r:G@:rrr;;r@@, B@Mr;rrrrsrsrsr@@S;;;rrr:5M;rr;rM@H .@@@i;;rrrrsrs2i;rrrrr;r@M:;i@@@. .A@@#5r;;;r;;;rrr;r:r#AsM@@H. ;&@@@@MhXS5i5SX9B@@@@G; :ihM#@@@@@##hs, Net: <ethaddr> not set. Reading from E-fuse Detected MACID:64:7b:d4:95:e0:ee cpsw Hit any key to stop autoboot: 3 2 1 0 mmc1 is available reading boot.scr 258 bytes read Running bootscript from MMC/SD to set the ENV... ## Executing script at 80900000 mmc1 is available reading uImage 2408736 bytes read ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2408672 Bytes = 2.3 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 2.6.37 (johnson@johnson-desktop1041) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Tue Jul 12 17:23:30 CST 2011 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: ti8148evm vram size = 52428800 at 0 reserved size = 52428800 at 0 FB: Reserving 52428800 bytes SDRAM for VRAM Memory policy: ECC disabled, Data cache writeback OMAP chip is TI8148 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 17680 Kernel command line: console=ttyO0,115200n8 serialtty=ttyO0 root=/dev/mmcblk0p2 mem=120M vram=50M rootwait PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 70MB = 70MB total Memory: 65456k/65456k available, 57424k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc8000000 - 0xf8000000 ( 768 MB) lowmem : 0xc0000000 - 0xc7800000 ( 120 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc0034000 ( 176 kB) .text : 0xc0034000 - 0xc048c000 (4448 kB) .data : 0xc048c000 - 0xc04ca0a0 ( 249 kB) SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:375 IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts Total of 128 interrupts on 1 active controller GPMC revision 6.0 Trying to install interrupt handler for IRQ368 Trying to install interrupt handler for IRQ369 Trying to install interrupt handler for IRQ370 Trying to install interrupt handler for IRQ371 Trying to install interrupt handler for IRQ372 Trying to install interrupt handler for IRQ373 Trying to install interrupt handler for IRQ374 Trying to install type control for IRQ375 Trying to set irq flags for IRQ375 OMAP clockevent source: GPTIMER1 at 20000000 Hz Console: colour dummy device 80x30 Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok devtmpfs: initialized omap_voltage_early_init: voltage driver support not added regulator: core version 0.5 regulator: dummy: NET: Registered protocol family 16 registered ti814x_vpss device pm_dbg_init: only OMAP3 supported Registered ti81xx_fb device Could not look up wd_timer-1 hwmod bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz Advanced Linux Sound Architecture Driver Version 1.0.23. Switching to clocksource gp timer musb-hdrc: version 6.0, host, debug=0 musb-hdrc musb-hdrc.0: dma type: dma-cppi41 registerd cppi-dma Intr @ IRQ 17 Cppi41 Init Done musb-hdrc musb-hdrc.0: MUSB HDRC host driver musb-hdrc musb-hdrc.0: 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.37 musb-hcd usb usb1: SerialNumber: musb-hdrc.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected musb-hdrc musb-hdrc.0: USB Host mode controller at c800c000 using DMA, IRQ 18 musb-hdrc musb-hdrc.1: dma type: dma-cppi41 musb-hdrc musb-hdrc.1: MUSB HDRC host driver musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2 usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: MUSB HDRC host driver usb usb2: Manufacturer: Linux 2.6.37 musb-hcd usb usb2: SerialNumber: musb-hdrc.1 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected musb-hdrc musb-hdrc.1: USB Host mode controller at c801e800 using DMA, IRQ 19 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) omap-iommu omap-iommu.0: ducati registered omap-iommu omap-iommu.1: sys registered JFFS2 version 2.2. (NAND) ?2001-2006 Red Hat, Inc. msgmni has been set to 127 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0 console [ttyO0] enabled omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3 omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4 omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5 brd: module loaded loop: module loaded ahci ahci.0: forcing PORTS_IMPL to 0x1 ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst scsi0 : ahci_platform ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16 omap2-nand driver initializing No NAND device found. No NAND device found. davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 davinci_mdio davinci_mdio.0: detected phy mask fffffffd davinci_mdio.0: probed davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown usbcore: registered new interface driver cdc_ether usbcore: registered new interface driver dm9601 Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice i2c /dev entries driver Linux video capture interface: v2.00 usbcore: registered new interface driver uvcvideo USB Video Class driver (v1.0.0) PSTATE 1ff0000 usbcore: registered new interface driver usbhid usbhid: USB HID core driver usbcore: registered new interface driver snd-usb-audio 1-0018 supply IOVDD not found, using dummy regulator 1-0018 supply DVDD not found, using dummy regulator 1-0018 supply AVDD not found, using dummy regulator 1-0018 supply DRVDD not found, using dummy regulator asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok ALSA device list: #0: TI81XX EVM TCP cubic registered NET: Registered protocol family 17 Registering the dns_resolver key type VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 omap_voltage_late_init: Voltage driver support not added Detected MACID=0:0:0:0:0:0 mmc0: new high speed SDHC card at address b368 mmcblk0: mmc0:b368 NCard 7.47 GiB mmcblk0: p1 p2 ata1: SATA link down (SStatus 0 SControl 300) EXT3-fs: barriers not enabled kjournald starting. Commit interval 5 seconds EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (mmcblk0p2): using internal journal EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode VFS: Mounted root (ext3 filesystem) on device 179:2. devtmpfs: mounted Freeing init memory: 176K init: ureadahead main process (44) terminated with status 5 init: procps main process (72) terminated with status 255 CPSW phy found : id is : 0x282f014 Starting xrdp: xrdp sesman. * PulseAudio configured for per-user sessions SysLink version : 02.00.00.68_beta1 SysLink module created on Date:Jul 12 2011 Time:18:41:33 Entered KnlUtilsDrv_initializeModule Trace enabled Trace SetFailureReason enabled traceMask value: 0x101 Leaving KnlUtilsDrv_initializeModule 0x0 ProcMgrApp sample application Entered SysLinkSamples_startup SysLinkSamples_setHiddenProcId. ProcID: 1 SysLinkSamples_setHiddenProcId. ProcID: 2 SysLinkSamples_osStartup Trace enabled Trace SetFailureReason enabled Entered ProcMgrApp_startup ProcMgr_attach status: [0x0] After attach: ProcMgr_getState state [0x1] ProcMgr_load status: [0x3046000] After Ipc_loadcallback: ProcMgr_getState state [0x3] ProcMgr_start passed [0x6a85000] After Ipc_startcallback: ProcMgr_getState state [0x4] ProcMgr_close status: [0x0] Leaving ProcMgrApp_startup SysLinkSamples_shutdown SysLinkSamples_osShutdown /dev/mem opened. Memory mapped at address 0x4008f000. Value at address 0x48180F04 (0x4008ff04): 0x1 Written 0x0; readback 0x0 /dev/mem opened. Memory mapped at address 0x4036a000. Value at address 0x48180900 (0x4036a900): 0x2 Written 0x2; readback 0x2 /dev/mem opened. Memory mapped at address 0x4031f000. Value at address 0x48180920 (0x4031f920): 0x70000 Written 0x2; readback 0x2 Module bc_example failed to load. Retrying. Running /sbin/depmod Continuing to load PowerVR services Loaded PowerVR consumer services. Ubuntu 10.04 LTS ubuntu ttyO0 ubuntu login: clientron Password: Last login: Fri Jul 22 02:28:20 PDT 2011 on ttyO0 Linux ubuntu 2.6.37 #1 Tue Jul 12 17:23:30 CST 2011 armv7l GNU/Linux Ubuntu 10.04 LTS Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ clientron@ubuntu:~$ lsmod Module Size Used by omaplfb 7962 0 pvrsrvkm 153261 1 omaplfb TI81xx_hdmi 12394 0 ti81xxfb 20355 1 vpss 59540 2 omaplfb,ti81xxfb syslink 1091345 1 vpss clientron@ubuntu:~$ sudo start xx [sudo] password for clientron: X.Org X Server 1.7.6 Release Date: 2010-03-17 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.31-607-imx51 armv7l Ubuntu Current Operating System: Linux ubuntu 2.6.37 #1 Tue Jul 12 17:23:30 CST 2011 armv7l Kernel command line: console=ttyO0,115200n8 serialtty=ttyO0 root=/dev/mmcblk0p2 mem=120M vram=50M rootwait Build Date: 23 April 2010 05:19:26PM xorg-server 2:1.7.6-2ubuntu7 (Bryce Harrington <bryce@ubuntu.com>) Current version of pixman: 0.16.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 31 16:01:16 1969 (==) Using config directory: "/usr/lib/X11/xorg.conf.d" Primary device is not PCI (EE) FBDEV(0): Failed to allocate shadow framebuffer Fatal server error: AddScreen/ScreenInit failed for driver 0 Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. ddxSigGiveUp: Closing log giving up. xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such process (errno 3): Server error. clientron@ubuntu:~$
Hello everyone,
I am trying to use EZSDK + Ubuntu file system for building the Linux system on DM8148 EVM. But I have some problems.
After the board boots up, the monitor's back light turns on but the screen is completely blank. I can login to system on UART console and even run the Graphics SDK demos successfully. But if I try to start the X-window, the error "Failed to allocate shadow framebuffer" will occur. (The log of booting and start X window is attached above.)
According to the wiki page ( http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide ), I realize that my current Graphics SDK (ver. 4.03.00.02) has no Xorg support. I guess that may be the reason why X-window can not be started. The wiki page says Xorg support will be added in the newer Graphics SDK.
But my question still exist. Will Ubuntu file system and X-window successfully start up if I get the newer Graphics SDK?
Can anyone give some advisement?
Thanks,
Johnson Lin