Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Feb 2008 08:37 AM by  olco
Linux 2.6.19.2
 73 Replies
Sort:
You are not authorized to post a reply.
Page 3 of 4 << < 1234 > >>
Author Messages
motraat
New Member
New Member
Posts:


--
23 Aug 2007 03:41 AM
I am still trying. I am trying to compile the framebuffer driver as module so that I can install it later but I am getting error as :

undefined registered_fb

Also i could see that in board-mx31lite.h there are values which are different fron that of daniels patch. I am using rootfs generated from randy's patch and kernel image with Daniel's patch. I wish we had single workspace.
I am too knew in this area...

share your views and findings..
zonque
New Member
New Member
Posts:


--
23 Aug 2007 05:31 AM
Posted By motraat on 23 Aug 2007 3:41 AM
I am still trying. I am trying to compile the framebuffer driver as module so that I can install it later but I am getting error as :

undefined registered_fb

Also i could see that in board-mx31lite.h there are values which are different fron that of daniels patch. I am using rootfs generated from randy''s patch and kernel image with Daniel''s patch. I wish we had single workspace.
I am too knew in this area...

share your views and findings..




Maybe we should discuss that in PM. Feel free to contact me at daniel@caiaq.de

Greets,
Daniel
lilja.magnus@gmail.com
New Member
New Member
Posts:


--
26 Aug 2007 05:59 AM
With the info in this thread we're also running 2.6.19.2 on our i.MX31 Litekit board.

We've also enabled the PMIC/MC13783 support (this worked after adding init of the SPI in arch/arm/mach-mx3/mx31lite.c).

Using the commands from mx31_pm_howto on Freescale's LTIB image we're enabling DPM with dpm_init and then try changing the frequencies.

Changing to any of the supported frequencies (133/266/532) seems to change the timing on both the console UART and the internal Linux timing as well. So trying this out is best done via ssh-login to the board.

Anyway, executing 'sleep 20' from a shell directly after boot results in a sleep of 20 seconds, however changing the frequency to 266MHz (speed 266) and executing 'sleep 20' results in a sleep of 27 seconds (clock manually using a stopwatch).

Has anyone else seens this and know how to fix this? We haven't looked into solving this yet. Also, it would be interesting to know if someone has tried this on a i.MX31 ADS board using the unmodified Freescale LTIB/kernel.

Regards, Magnus
fszczerba
New Member
New Member
Posts:


--
28 Aug 2007 08:15 AM
Posted By Arjun.KV on 23 Aug 2007 3:21 AM
Hi motra,

I too am trying to interface our Sharp LCD. But I dont even see the /dev/fbo. This is after enabling the frame buffer driver kernel. Also I dont see any message related to frame buffer in the dmesg logs.

mx31# cat /proc/devices
Character devices:
.....
29 fb
.....
mx31# mknod fb0 c 29 0
mx31# ls -l fb0
crw-r--r-- 1 root root 29, 0 Jan 1 00:03 fb0
mx31# /usr/sbin/fbset
open /dev/fb0: No such device

Were you able to solve this problem? If so please post help or atleast the dmesg log.

Regards,
Arjun




Silly question, but were you in /dev when you did the mknod command? It will create the device special file in the current directory with your invocation. Try:

mx31# mknod /dev/fb0 c 29 0

Frank
motraat
New Member
New Member
Posts:


--
28 Aug 2007 08:24 AM
Hello Frank,

Thanks for reply. Yes, I agree that one can make such silly mistakes
But I have some progress with the help of few kind souls. But still I cann't see anything on LCD.

By default there LCD is not enabled by daniel's patch. So one has do fb_init inside mx31lite.c file. Also one is supposed to set exact values for fb_lcd_mode (SHARP-QVGA in my case).

Anything further which someone can help is appreciated

regards
motra
fszczerba
New Member
New Member
Posts:


--
28 Aug 2007 09:49 AM
I am using the 10.1" VGA display. I made the following patches:

Index: linux-2.6.19.2-imx31/arch/arm/mach-mx3/mx31lite.c
===================================================================
--- linux-2.6.19.2-imx31/arch/arm/mach-mx3/mx31lite.c (revision 6788)
+++ linux-2.6.19.2-imx31/arch/arm/mach-mx3/mx31lite.c (revision 6789)
@@ -292,8 +292,30 @@
},
};

-// TODO: #if defined(CONFIG_FB_MXC_SYNC_PANEL) || defined(CONFIG_FB_MXC_SYNC_PANEL_MODULE)
+#if defined(CONFIG_FB_MXC_SYNC_PANEL) || defined(CONFIG_FB_MXC_SYNC_PANEL_MODULE)
+static const char fb_default_mode[] = "Sharp-VGA";

+/* mxc lcd driver */
+static struct platform_device mxc_fb_device = {
+ .name = "mxc_sdc_fb",
+ .id = 0,
+ .dev = {
+ .release = mxc_nop_release,
+ .platform_data = &fb_default_mode,
+ .coherent_dma_mask = 0xFFFFFFFF,
+ },
+};
+
+static void mxc_init_fb(void)
+{
+ (void)platform_device_register(&mxc_fb_device);
+}
+#else
+static inline void mxc_init_fb(void)
+{
+}
+#endif
+
/*!
* Board specific fixup function. It is called by \b setup_arch() in
* setup.c file very early on during kernel starts. It allows the user to
@@ -418,6 +440,7 @@
spi_register_board_info(mxc_spi_board_info,
ARRAY_SIZE(mxc_spi_board_info));

+ mxc_init_fb();
}

/*
Index: linux-2.6.19.2-imx31/drivers/video/mxc/mxcfb_modedb.c
===================================================================
--- linux-2.6.19.2-imx31/drivers/video/mxc/mxcfb_modedb.c (revision 6788)
+++ linux-2.6.19.2-imx31/drivers/video/mxc/mxcfb_modedb.c (revision 6789)
@@ -55,6 +55,22 @@
"TV-VGA", 60, 640, 480, 40574, 35, 45, 9, 1, 46, 5,
0, FB_VMODE_NONINTERLACED, 0,
},
+ [5] = {
+ /* 640x480 @ 60 Hz */
+ "Sharp-VGA",
+ 60, 640, 480, // 60 Hz, 640x480
+ 35285, // 35.285 ns clock period
+ 128, 128, // left & right margin
+ 34, 10, // upper & lower margin
+ 2, 2, // hsync & vsync len
+ 0
+ //| FB_SYNC_CLK_IDLE_EN
+ | FB_SYNC_OE_ACT_HIGH
+ //| FB_SYNC_HOR_HIGH_ACT
+ ,
+ FB_VMODE_NONINTERLACED,
+ 0,
+ },
};

int mxcfb_modedb_sz = ARRAY_SIZE(mxcfb_modedb);


Along the way I added some additional error messages:

Index: linux-2.6.19.2-imx31/drivers/video/mxc/mxcfb.c
===================================================================
--- linux-2.6.19.2-imx31/drivers/video/mxc/mxcfb.c (revision 6788)
+++ linux-2.6.19.2-imx31/drivers/video/mxc/mxcfb.c (revision 6789)
@@ -993,6 +993,7 @@
*/
fbi = mxcfb_init_fbinfo(&pdev->dev, &mxcfb_ops);
if (!fbi) {
+ dev_err(&pdev->dev, "mxcfb_init_fbinfo() FAILED\n");
ret = -ENOMEM;
goto err0;
}
@@ -1020,6 +1021,7 @@

if (!fb_find_mode(&fbi->var, fbi, fb_mode, mxcfb_modedb,
mxcfb_modedb_sz, NULL, default_bpp)) {
+ dev_err(&pdev->dev, "fb_find_mode() FAILED\n");
ret = -EBUSY;
goto err2;
}
@@ -1033,6 +1035,7 @@

ret = mxcfb_set_par(fbi);
if (ret < 0) {
+ dev_err(&pdev->dev, "mxcfb_set_par() FAILED\n");
goto err2;
}

@@ -1041,6 +1044,7 @@
*/
ret = register_framebuffer(fbi);
if (ret < 0) {
+ dev_err(&pdev->dev, "register_framebuffer() FAILED\n");
goto err2;
}
#ifdef CONFIG_FB_MXC_OVERLAY
@@ -1049,6 +1053,7 @@
*/
fbi_ovl = mxcfb_init_fbinfo(&pdev->dev, &mxcfb_ovl_ops);
if (!fbi_ovl) {
+ dev_err(&pdev->dev, "mxcfb_init_fbinfo() FAILED for overlay\n");
ret = -ENOMEM;
goto err3;
}
@@ -1076,6 +1081,7 @@

ret = mxcfb_set_par(fbi_ovl);
if (ret < 0) {
+ dev_err(&pdev->dev, "mxcfb_set_par() FAILED for overlay\n");
goto err5;
}

@@ -1084,6 +1090,7 @@
*/
ret = register_framebuffer(fbi_ovl);
if (ret < 0) {
+ dev_err(&pdev->dev, "register_framebuffer() FAILED for overlay\n");
goto err5;
}
#else


I got pretty frustrated trying to figure out all of the right values from the LCD data sheet. I'd recommend you initialize the display with LoLo, then either dump the display registers from there, or apply the following patch to have the kernel dump them during boot, before it makes changes.

Index: linux-2.6.19.2-imx31/drivers/mxc/ipu/ipu_sdc.c
===================================================================
--- linux-2.6.19.2-imx31/drivers/mxc/ipu/ipu_sdc.c (revision 6788)
+++ linux-2.6.19.2-imx31/drivers/mxc/ipu/ipu_sdc.c (revision 6789)
@@ -88,6 +88,30 @@
uint32_t div;

dev_dbg(g_ipu_dev, "panel size = %d x %d\n", width, height);
+ dev_dbg(g_ipu_dev, "initial DI_DISP_IF_CONF = 0x%08X\n",
+ __raw_readl(DI_DISP_IF_CONF));
+ dev_dbg(g_ipu_dev, "initial DI_DISP_SIG_POL = 0x%08X\n",
+ __raw_readl(DI_DISP_SIG_POL));
+ dev_dbg(g_ipu_dev, "initial DI_DISP3_TIME_CONF = 0x%08X\n",
+ __raw_readl(DI_DISP3_TIME_CONF));
+ dev_dbg(g_ipu_dev, "initial SDC_HOR_CONF = 0x%08X\n",
+ __raw_readl(SDC_HOR_CONF));
+ dev_dbg(g_ipu_dev, "initial SDC_VER_CONF = 0x%08X\n",
+ __raw_readl(SDC_VER_CONF));
+ dev_dbg(g_ipu_dev, "initial SDC_SHARP_CONF_1 = 0x%08X\n",
+ __raw_readl(SDC_SHARP_CONF_1));
+ dev_dbg(g_ipu_dev, "initial SDC_SHARP_CONF_2 = 0x%08X\n",
+ __raw_readl(SDC_SHARP_CONF_2));
+ dev_dbg(g_ipu_dev, "initial SDC_COM_CONF = 0x%08X\n",
+ __raw_readl(SDC_COM_CONF));
+ dev_dbg(g_ipu_dev, "initial DI_DISP3_B0_MAP = 0x%08X\n",
+ __raw_readl(DI_DISP3_B0_MAP));
+ dev_dbg(g_ipu_dev, "initial DI_DISP3_B1_MAP = 0x%08X\n",
+ __raw_readl(DI_DISP3_B1_MAP));
+ dev_dbg(g_ipu_dev, "initial DI_DISP3_B2_MAP = 0x%08X\n",
+ __raw_readl(DI_DISP3_B2_MAP));
+ dev_dbg(g_ipu_dev, "initial DI_DISP_ACC_CC = 0x%08X\n",
+ __raw_readl(DI_DISP_ACC_CC));

if ((vSyncWidth == 0) || (h_sync_width == 0))
return EINVAL;
@@ -190,6 +214,24 @@
__raw_readl(DI_DISP_SIG_POL));
dev_dbg(g_ipu_dev, "DI_DISP3_TIME_CONF = 0x%08X\n",
__raw_readl(DI_DISP3_TIME_CONF));
+ dev_dbg(g_ipu_dev, "SDC_HOR_CONF = 0x%08X\n",
+ __raw_readl(SDC_HOR_CONF));
+ dev_dbg(g_ipu_dev, "SDC_VER_CONF = 0x%08X\n",
+ __raw_readl(SDC_VER_CONF));
+ dev_dbg(g_ipu_dev, "SDC_SHARP_CONF_1 = 0x%08X\n",
+ __raw_readl(SDC_SHARP_CONF_1));
+ dev_dbg(g_ipu_dev, "SDC_SHARP_CONF_2 = 0x%08X\n",
+ __raw_readl(SDC_SHARP_CONF_2));
+ dev_dbg(g_ipu_dev, "SDC_COM_CONF = 0x%08X\n",
+ __raw_readl(SDC_COM_CONF));
+ dev_dbg(g_ipu_dev, "DI_DISP3_B0_MAP = 0x%08X\n",
+ __raw_readl(DI_DISP3_B0_MAP));
+ dev_dbg(g_ipu_dev, "DI_DISP3_B1_MAP = 0x%08X\n",
+ __raw_readl(DI_DISP3_B1_MAP));
+ dev_dbg(g_ipu_dev, "DI_DISP3_B2_MAP = 0x%08X\n",
+ __raw_readl(DI_DISP3_B2_MAP));
+ dev_dbg(g_ipu_dev, "DI_DISP_ACC_CC = 0x%08X\n",
+ __raw_readl(DI_DISP_ACC_CC));

return 0;
}


Just put a #define DEBUG at the top of ipu_sdc.c, before any #include statements, and rebuild your kernel. This will give before-and-after values for all of the display controller registers. From that and the i.MX31 datasheet (and/or the ipu_sdc driver code) you can work out what the proper values should be. Keep in mind that a lot of these settings need only be approximately correct to work (the display will accept a range of total line lengths, for example).

Use fbset to experiment with different settings until you get something that works, then add it to the driver.

Good luck!
Frank
DrOctavius
New Member
New Member
Posts:


--
28 Aug 2007 11:06 AM
Graphics:
1) ./ltib -c
2) DirectFB package.
3) Device Drivers-> Graphic Support-> MXC Framebuffer support
4) Build
5) In your target run> df_dok (benchmark demo).

Console:
1) ./ltib -c
2) Device Drivers-> Graphic Support-> MXC Framebuffer support
3) Device Drivers-> Char Devices -> Virtual Terminal
4) Device Drivers-> Char Devices -> Support for console in Virtual Terminal
5) Device Drivers-> Graphic Support-> Console Display Drivers Support -> FrameBuffer Console support
6) COMMAND_LINE of your bootloader: console=tty
7) Build
motraat
New Member
New Member
Posts:


--
29 Aug 2007 10:45 AM
Hi Frank,
LCD BAcklights are working fine. I can see difference by switching them on-off. But hard luck so far. I cud not see values of registers, the was u suggested.
here is the log:

........................................................ done, booting the kerne
l.
[ 53.960000] Linux version 2.6.19.2 (root@xpc15G) (gcc version 4.1.1) #10 PREE
MPT Wed Aug 29 18:18:58 CEST 2007
[ 52.960000] CPU: Some Random V6 Processor [4107b364] revision 4 (ARMv6TEJ), c
r=00c5387f
[ 52.960000] Machine: Freescale i.MX31 litekit
[ 52.960000] Memory policy: ECC disabled, Data cache writeback
[ 52.960000] CPU0: D VIPT write-back cache
[ 52.960000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 s
ets
[ 52.960000] CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 s
ets
[ 52.960000] Built 1 zonelists. Total pages: 28448
[ 53.960000] Kernel command line: console=ttymxc0 root=/dev/nfs nfsroot=172.27
.161.98:/tftpboot/rootfs rw init=/linuxrc ip=172.27.161.2::172.27.161.98:255.255
.255.0 noalign
[ 54.960000] MXC IRQ initialized
[ 52.960000] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 54.960000] Clock input source is 27000000
[ 54.960000]
[ 52.960000] WARNING: Can't generate CLOCK_TICK_RATE at 16625000 Hz
[ 54.960000] Actual CLOCK_TICK_RATE is 17264423 Hz
[ 52.960000] Console: colour dummy device 80x30
[ 52.960000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 52.960000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 54.970000] Memory: 112MB = 112MB total
[ 53.970000] Memory: 109824KB available (3108K code, 551K data, 112K init)
[ 52.180000] Mount-cache hash table entries: 512
[ 54.180000] CPU: Testing write buffer coherency: ok
[ 54.180000] NET: Registered protocol family 16
[ 54.180000] MXC GPIO hardware
[ 54.180000] system_rev is: 0x11
[ 52.180000] Irq init for eth0
[ 52.180000] L2 cache: WB
[ 52.180000] kobject_add failed for MX31ADS/MX31LITE PC (-13)
[ 54.180000] Using SDMA I.API
[ 54.180000] MXC DMA API initialized
[ 54.180000] usb: Host 2 registered
[ 54.180000] usb: OTG HS Host registered
[ 54.180000] usb: OTG HS Gadget registered
[ 53.190000] SCSI subsystem initialized
[ 54.190000] usbcore: registered new interface driver usbfs
[ 54.190000] usbcore: registered new interface driver hub
[ 54.190000] usbcore: registered new device driver usb
[ 54.190000] MXC I2C driver
[ 54.200000] NET: Registered protocol family 2
[ 52.290000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 52.290000] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 52.290000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 54.290000] TCP: Hash tables configured (established 4096 bind 2048)
[ 54.290000] TCP reno registered
[ 54.290000] Low-Level PM Driver module loaded
[ 52.290000] Freescale i.MX31 Dynamic Power Management.
[ 54.290000] NTFS driver 2.1.27 [Flags: R/W].
[ 54.290000] JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
[ 54.290000] io scheduler noop registered
[ 54.290000] io scheduler anticipatory registered
[ 54.290000] io scheduler deadline registered
[ 54.290000] io scheduler cfq registered (default)
[ 54.290000] FS453/4 driver, (c) 2005 Freescale Semiconductor, Inc.
[ 51.490000] mxc_ipu mxc_ipu: Warning: channel already initialized
[ 52.490000] Console: switching to colour frame buffer device 30x40
[ 54.490000] mxcfb: fb registered, using mode Sharp-QVGA
[ 54.730000] No external RTC clock
[ 52.730000] Real TIme clock Driver v1.0
[ 52.730000] mxc_rtc: probe of mxc_rtc.0 failed with error -2
[ 54.730000] MXC WatchDog Driver 2.0
[ 54.730000] MXC Watchdog # 0 Timer: initial timeout 60 sec
[ 54.730000] Serial: MXC Internal UART driver
[ 54.730000] mxcintuart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a Freescal
e MXC
[ 54.060000] mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescal
e MXC
[ 54.070000] mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 18) is a Freescal
e MXC
[ 54.080000] mxcintuart.4: ttymxc4 at MMIO 0x43fb4000 (irq = 47) is a Freescal
e MXC
[ 52.100000] RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 bloc
ksize
[ 54.110000] loop: loaded (max 8 devices)
[ 54.110000] Linux video capture interface: v2.00
[ 54.120000] MXC Video Output MXC Video Output.0: Registered device video16
[ 54.130000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 54.130000] ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
[ 54.140000] MXC: IDE driver, (c) 2004-2006 Freescale Semiconductor
[ 54.150000] mxc_ide_resetproc: resetting ATA controller


/************************************************
[ 54.680000] ide0: Bus empty, interface released.
[ 54.680000] MXC MTD nor Driver 2.0
[ 54.680000] mxc_nor_flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
[ 53.690000] Support for command set 0003 not present



[ 52.700000] gen_probe: No supported Vendor Command Set found
[ 52.710000] mxc_nor_flash: probe of mxc_nor_flash.0 failed with error -5
[ 54.710000] MXC MTD nand Driver 2.0
[ 54.720000] NAND device: Manufacturer ID: 0x20, Chip ID: 0x76 (ST Micro NAND
64MiB 3,3V 8-bit)
[ 54.730000] Scanning device for bad blocks
[ 52.740000] Bad eraseblock 146 at 0x00248000
[ 52.750000] Bad eraseblock 148 at 0x00250000
[ 52.760000] Bad eraseblock 292 at 0x00490000
[ 52.770000] Bad eraseblock 296 at 0x004a0000
[ 53.050000] Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
[ 53.060000] 0x00000000-0x00200000 : "nand.kernel"
[ 53.060000] 0x00200000-0x04000000 : "nand.rootfs"
[ 53.070000] 0x00000000-0x04000000 : "<NULL>"
[ 53.080000] 0x00000000-0x04000000 : "<NULL>"
[ 55.090000] <6>PCMCIA: Initialize i.Mx31 pcmcia socket
[ 53.090000] usbmon: debugfs is not available
[ 55.090000] ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
[ 55.090000] initializing FSL-SOC USB Controller
[ 52.090000] XXXXXXXXXXXXXXXXXXXX pll = 197640000, usb_pdf = 1, usb_prepdf =
1, retval = 49410000


[ 51.100000] USB_CLK=49410000, should be 60MHz
[ 54.100000] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
[ 55.110000] drivers/usb/core/inode.c: creating file 'devices'
[ 55.110000] drivers/usb/core/inode.c: creating file '001'
[ 54.110000] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number
1
[ 55.120000] fsl-ehci fsl-ehci.0: reset hcs_params 0x10011 dbg=0 ind cc=0 pcc=
0 ordered ports=1
[ 55.120000] fsl-ehci fsl-ehci.0: reset hcc_params 0006 thresh 0 uframes 256/5
12/1024 park
[ 55.120000] fsl-ehci fsl-ehci.0: park 0
[ 55.120000] fsl-ehci fsl-ehci.0: reset command 080b02 park=3 ithresh=8 period
=1024 Reset HALT
[ 55.120000] fsl-ehci fsl-ehci.0: ...powerdown ports...
[ 54.150000] fsl-ehci fsl-ehci.0: irq 36, io base 0x43f88400
[ 55.150000] fsl-ehci fsl-ehci.0: reset command 080b02 park=3 ithresh=8 period
=1024 Reset HALT
[ 55.150000] fsl-ehci fsl-ehci.0: init command 010009 (park)=0 ithresh=1 perio
d=256 RUN
[ 54.150000] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 20
04
[ 55.160000] usb usb1: default language 0x0409

[ 55.160000] usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
[ 54.160000] usb usb1: Product: Freescale On-Chip EHCI Host Controller
[ 54.170000] usb usb1: Manufacturer: Linux 2.6.19.2 ehci_hcd
[ 54.170000] usb usb1: SerialNumber: fsl-ehci.0
[ 55.180000] usb usb1: uevent
[ 55.180000] usb usb1: usb_probe_device
[ 54.180000] usb usb1: configuration #1 chosen from 1 choice
[ 55.180000] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 55.180000] usb 1-0:1.0: uevent
[ 55.180000] hub 1-0:1.0: usb_probe_interface
[ 55.180000] hub 1-0:1.0: usb_probe_interface - got id
[ 54.180000] hub 1-0:1.0: USB hub found
[ 54.190000] hub 1-0:1.0: 1 port detected
[ 55.190000] hub 1-0:1.0: standalone hub
[ 55.190000] hub 1-0:1.0: individual port power switching
[ 55.190000] hub 1-0:1.0: individual port over-current protection
[ 55.190000] hub 1-0:1.0: Single TT
[ 55.190000] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
[ 55.190000] hub 1-0:1.0: power on to power good time: 20ms
[ 55.190000] hub 1-0:1.0: 150mA bus power budget for each child
[ 55.190000] hub 1-0:1.0: local power source is good
[ 55.190000] hub 1-0:1.0: enabling power on all ports

[ 55.300000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
[ 55.300000] drivers/usb/core/inode.c: creating file '001'
[ 55.300000] initializing FSL-SOC USB Controller
[ 52.300000] XXXXXXXXXXXXXXXXXXXX pll = 197640000, usb_pdf = 1, usb_prepdf =
1, retval = 49410000
[ 51.310000] USB_CLK=49410000, should be 60MHz
[ 54.320000] fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
[ 55.330000] drivers/usb/core/inode.c: creating file '002'
[ 54.330000] fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number
2
[ 55.330000] fsl-ehci fsl-ehci.1: reset hcs_params 0x10011 dbg=0 ind cc=0 pcc=
0 ordered ports=1
[ 55.330000] fsl-ehci fsl-ehci.1: reset hcc_params 0006 thresh 0 uframes 256/5
12/1024 park
[ 55.330000] fsl-ehci fsl-ehci.1: park 0
[ 55.330000] fsl-ehci fsl-ehci.1: reset command 080b02 park=3 ithresh=8 period
=1024 Reset HALT
[ 55.340000] fsl-ehci fsl-ehci.1: ...powerdown ports...
[ 54.370000] fsl-ehci fsl-ehci.1: irq 37, io base 0x43f88000
[ 55.370000] fsl-ehci fsl-ehci.1: reset command 080b02 park=3 ithresh=8 period
=1024 Reset HALT
[ 55.370000] fsl-ehci fsl-ehci.1: init command 010009 (park)=0 ithresh=1 perio
d=256 RUN
[ 54.370000] fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 20
04
[ 55.380000] usb usb2: default language 0x0409
[ 55.380000] usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
[ 54.380000] usb usb2: Product: Freescale On-Chip EHCI Host Controller
[ 54.390000] usb usb2: Manufacturer: Linux 2.6.19.2 ehci_hcd
[ 54.390000] usb usb2: SerialNumber: fsl-ehci.1
[ 55.400000] usb usb2: uevent
[ 55.400000] usb usb2: usb_probe_device
[ 54.400000] usb usb2: configuration #1 chosen from 1 choice
[ 55.400000] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[ 55.400000] usb 2-0:1.0: uevent
[ 55.400000] hub 2-0:1.0: usb_probe_interface
[ 55.400000] hub 2-0:1.0: usb_probe_interface - got id
[ 54.400000] hub 2-0:1.0: USB hub found
[ 54.410000] hub 2-0:1.0: 1 port detected
[ 55.410000] hub 2-0:1.0: standalone hub
[ 55.410000] hub 2-0:1.0: individual port power switching
[ 55.410000] hub 2-0:1.0: individual port over-current protection
[ 55.410000] hub 2-0:1.0: Single TT
[ 55.410000] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
[ 55.410000] hub 2-0:1.0: power on to power good time: 20ms
[ 55.410000] hub 2-0:1.0: 150mA bus power budget for each child
[ 55.410000] hub 2-0:1.0: local power source is good
[ 55.410000] hub 2-0:1.0: enabling power on all ports
[ 55.520000] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[ 55.520000] drivers/usb/core/inode.c: creating file '001'
[ 54.520000] Initializing USB Mass Storage driver...
[ 54.520000] usbcore: registered new interface driver usb-storage
[ 54.530000] USB Mass Storage support registered.
[ 54.530000] i2c /dev entries driver
[ 54.540000] IPU Post-filter loading
[ 54.540000] SSI module loaded successfully
[ 52.550000] RNG Driver: Loading
[ 54.550000] SEC: mxc_sec_mod_init() called
[ 54.560000] MXC MMC/SD driver
[ 54.560000] mxcmci-0 found
[ 54.680000] oprofile: using arm/arm11
[ 54.680000] TCP cubic registered
[ 54.690000] NET: Registered protocol family 1
[ 54.690000] NET: Registered protocol family 17
[ 54.700000] ieee80211: 802.11 data/management/control stack, git-1.1.13
[ 54.700000] ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@li
nux.intel.com>

[ 55.710000] ieee80211_crypt: registered algorithm 'NULL'
[ 52.710000] Power Management for Freescale MX31
[ 54.720000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b
rev 2
[ 54.260000] eth0: SMSC911x/921x identified at 0xc7a00000, IRQ: 90
[ 54.260000] eth0: SMSC911x MAC Address: 00:08:ee:01:4a:99
[ 54.290000] eth0: link down
[ 52.300000] IP-Config: Complete:
[ 52.300000] device=eth0, addr=172.27.161.2, mask=255.255.255.0, gw=172.
27.161.98,
[ 52.310000] host=172.27.161.2, domain=, nis-domain=(none),
[ 52.310000] bootserver=255.255.255.255, rootserver=172.27.161.98, rootpa
th=
[ 53.320000] Looking up port of RPC 100003/2 on 172.27.161.98
[ 54.890000] eth0: link up, 100Mbps, full-duplex, lpa 0x85E1
[ 53.340000] Looking up port of RPC 100005/1 on 172.27.161.98
[ 52.380000] VFS: Mounted root (nfs filesystem).
[ 54.390000] Freeing init memory: 112K

cheers
motraat
fszczerba
New Member
New Member
Posts:


--
29 Aug 2007 11:23 AM
Try changing the console spec in your bootline from

"console=ttymxc0"

to

"console=fbcon console=ttymxc0"

You should get a penguin on the display once the config is correct.
Badguy
New Member
New Member
Posts:


--
29 Aug 2007 02:20 PM
Hey fszczerba,
thanks for the screen work, worked like a charm.

except the patch I copied from here failed and I had to manually merge it.

no big deal, the screen is working good.

got the OpenGL demo test's running looks like about 15fps.

Good stuff!

Thanks to all in the community here who have submitted code to get this all working.

any fix's I come up with hardware wise you can count on.
but none are needed yet, everything seems to be in order.

Great Job and Thanks alot for the help in getting this all configured.
motraat
New Member
New Member
Posts:


--
30 Aug 2007 08:58 AM
hi Badguy,

if u have LQ035Q7DB02R can u post "struct mxc_fb_device" values
Badguy
New Member
New Member
Posts:


--
30 Aug 2007 09:45 AM
No I am sorry, I have:
LQ10D368, which is the 10.4 in. panel.
motraat
New Member
New Member
Posts:


--
03 Sep 2007 04:17 AM
Hi,

For LQ035Q7DB02:
xres: 240,
yres: 320,
pixel_clock 35285,
hsync_len: 13, /* hsw */
vsync_len: 2, /* vsw */
left_margin: 21, /* hbp */
upper_margin: 5, /* vbp */
right_margin: 11, /* hfp */
lower_margin: 5, /* vfp */
sync: FB_SYNC_VERT_HIGH_ACT,

These values seem working but still there is distortion in display. Atleast I cud see something on screen. If someone has refined values plz post.

-motra
OradFarez
New Member
New Member
Posts:


--
17 Sep 2007 04:05 AM
Hello. I am having the same problem Randy had a while back: kernel stops right after the message about wrong speed for USB clock. I don't see what exactly needs to be done to fix this. Could someone describe what they did to get past this? Thank you.
motraat
New Member
New Member
Posts:


--
17 Sep 2007 04:59 AM
Hi, I experienced this problem few times. My kernel stopped booting at USB wrong frequency message. I try loading again and it works well.
OradFarez
New Member
New Member
Posts:


--
17 Sep 2007 08:58 AM
I have tried dozens of times while trying to tweak other settings and it always stops at the exact same point with no other error messages to help me understand what to fix I'm hoping one of the other members who had problems but are now booting successfully will stop by to offer their help.

Thank you!
OradFarez
New Member
New Member
Posts:


--
18 Sep 2007 02:47 AM
Disabling USB capability allows the system to boot but how terrible is that!?

Anyone have a patch that fixes whatever is broken in the USB code? I am wondering if it has something to do with the 19.2MHz clocks on the ADS board and 26MHz clocks on the Lite kit?

By the way, my hardware is the Rev 6 pilot edition and I assume that it does not have those issues with grounding some pins on the ISP1504. I think I did find those unpopulated resistors on the board many months ago.
arjun.kv@7lf-tech.com
New Member
New Member
Posts:


--
03 Oct 2007 08:22 AM
I am not able to mount the SD/MMC card after the system boots.
If the card is inserted at the time of boot up the card works just fine. But when I insert the card later(after bootup) I dont see a mmcblk created.
And the interrupt routine itself is not called. Has anybody faced this problem.

Any pointers would be really great.
OradFarez
New Member
New Member
Posts:


--
03 Oct 2007 11:49 AM
See this topic for the same problem others are having (including myself):

http://www.logicpd.com/su...viewtopic.php?t=1182
arjun.kv@7lf-tech.com
New Member
New Member
Posts:


--
09 Oct 2007 04:10 AM
I have Sharp LQ035Q7DB03 LCD and the display is up, but I get the images as "negative" on the screen, i.e. the colours are inversed(White is black and vice-versa). Any suggestions about what is wrong here?
You are not authorized to post a reply.
Page 3 of 4 << < 1234 > >>