Ник:
Пароль:

Контакты

E-mail: info@starterkit.ru
тел.: +7 922 680-21-73
тел.: +7 922 680-21-74
Телеграм: t.me/starterkit_ru
Партнеры:
otladka.com.ua - г.Киев

Способы оплаты

User Info


Добро пожаловать,
Guest

Регистрация или входРегистрация или вход
Потеряли пароль?Потеряли пароль?

Ник:
Пароль:

ПользователейПользователей:4
Поисковых ботовПоисковых ботов:2
ГостейГостей:1

ОбновитьПодробнееВсегоВсего:7
Форум » starterkit.ru » Отладочные платы » SK-iMX233
SK-MIMX233 телодвижения ...
sasamy
Добавлено 16.02.2010 13:11 Редактировалось 16.02.2010 13:15 Сообщение: 201
sasamy
4.70

Пункты: 77333
Регистрация: 14.08.2009
Что-то интересное нашел :) Один патч добавляет инициализацию usb (см патч 0029-ENGR00117389-Port-5.0.0-release-to-2.6.31.patch)

int stmp3xxx_reset_block(void __iomem *hwreg, int just_enable);
@@ -32,18 +66,32 @@ extern struct platform_device stmp3xxx_dbguart,
stmp3xxx_keyboard,
stmp3xxx_gpmi,
stmp3xxx_mmc,
+ stmp3xxx_mmc2,
stmp3xxx_udc,
stmp3xxx_ehci,
+ stmp3xxx_usb,
stmp3xxx_rtc,
stmp3xxx_spi1,
stmp3xxx_spi2,
stmp3xxx_backlight,
stmp3xxx_rotdec,
+ stmp3xxx_ssp1,
+ stmp3xxx_ssp2,
stmp3xxx_dcp,
stmp3xxx_dcp_bootstream,
stmp3xxx_persistent,
stmp3xxx_framebuffer,
- stmp3xxx_battery;
+ stmp3xxx_battery,
+ stmp378x_i2c,
+ stmp378x_pxp,
+ stmp378x_audio,
+ stmp3xxx_viim,
+ stmp3xxx_spdif;

А другой патч снова ее отключает :)) (см 0046-ENGR00116558-MX233-USB-pin-detect.patch)

Но там же есть какой-то новый код с описанием драйверов платформы usb. Надо разбираться... похоже они переделывали код под новые реалии и где-то совсем чуть-чуть накосячили :) стоит только найти где и тихонько дать волшебного пенделя :) или поискать свежее девелоперское ядро...
Спуститься к концу Подняться к началу
Персональная информация
Pavel Ivanchenko
Добавлено 16.02.2010 13:22 Сообщение: 202
Pavel Ivanchenko
Admin
4.39

Пункты: 91452
Регистрация: 24.03.2009
Пол: Мужчина
Да, что то там серьезно накрутили ...
Раньше структура stmp3xxx_ehci в devices.с описывалась, а теперь ее вообще в ядре нет.
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 16.02.2010 13:23 Сообщение: 203
sasamy
4.70

Пункты: 77333
Регистрация: 14.08.2009
В общем сейчас инициализация перенесена в файл
arch/arm/plat-stmp3xxx/usb_common.c
будем копать...
Спуститься к концу Подняться к началу
Персональная информация
Pavel Ivanchenko
Добавлено 16.02.2010 13:33 Сообщение: 204
Pavel Ivanchenko
Admin
4.39

Пункты: 91452
Регистрация: 24.03.2009
Пол: Мужчина
Кстати, касательно названия "отключающего" патча (... USB-pin-detect) в ядре 2.6.28 анализ ID пина не происходил (судя по поведению ядра).
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 16.02.2010 13:51 Сообщение: 205
sasamy
4.70

Пункты: 77333
Регистрация: 14.08.2009
Павел, у тебя очень мало отладочных сообщений в логе, даже половины нет. Включи в конфиге USB verbose debug messages в разделе usb в самом начале ну и в хаках включи поддержку дебуга и выложи тут лог.
Спуститься к концу Подняться к началу
Персональная информация
Pavel Ivanchenko
Добавлено 16.02.2010 14:02 Сообщение: 206
Pavel Ivanchenko
Admin
4.39

Пункты: 91452
Регистрация: 24.03.2009
Пол: Мужчина
Дебаг включен по полной программе (ID=0, т.е. USB хост):
Код
Linux version 2.6.31-203-gee1fdae (user@debian) (gcc version 4.1.2) #126 PREEMPT Thu
Feb 11 14:35:48 EST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: STMP378X
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttyAM0,115200 root=/dev/mmcblk0p2 rw rootwait mtdparts=gpmi:-(Data) lcd_panel=lms350 ssp1=spi1
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 56248KB available (4004K code, 265K data, 132K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:224
Console: colour dummy device 80x30
console [ttyAM0] enabled
Calibrating delay loop... 99.94 BogoMIPS (lpj=499712)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
regulator: vddd: 800 <--> 1575 mV fast normal
regulator: vddd_bo: 800 <--> 1575 mV fast normal
regulator: vdda: 1500 <--> 2275 mV fast normal
regulator: vddio: 2800 <--> 3575 mV fast normal
regulator: overall_current: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-keyboard-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx_ts-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-appuart-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-dbguart-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx_wdt-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-rtc-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-fb-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-bl-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-rotdec-1: 0 <--> 2147483 mA fast normal
regulator: i2c_stmp3xxx-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-persistent-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-dcpboot-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-dcp-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-battery-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-pxp-1: 0 <--> 2147483 mA fast normal
regulator: mmc_ssp-1: 0 <--> 2147483 mA fast normal
regulator: mmc_ssp-2: 0 <--> 2147483 mA fast normal
regulator: charger-1: 0 <--> 2147483 mA fast normal
regulator: power-test-1: 0 <--> 2147483 mA fast normal
regulator: cpufreq-1: 0 <--> 2147483 mA fast normal
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
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
Unpacking initramfs...
Freeing initrd memory: 4096K
usb: DR OTG registered
usb: DR gadget (utmi) registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) &#194;© 2001-2006 Red Hat, Inc.
msgmni has been set to 117
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
stmp3xxx-dbguart: ttyAM0 at MMIO 0x80070000 (irq = 0) is a Debug UART
loop: module loaded
GPMI NAND Flash driver
bch_init: initialized
ecc8_init: initialized
Scanning for NAND Flash chips...
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Manufacturer : Samsung (0xec)
Device Code : 0xda
Cell Technology : SLC
Chip Size : 256 MiB
Pages per Block : 64
Page Geometry : 2048+64
ECC Strength : 4 bits
ECC Size : 512 B
Data Setup Time : 20 ns
Data Hold Time : 10 ns
Address Setup Time: 20 ns
GPMI Sample Delay : 6 ns
tREA : Unknown
tRLOH : Unknown
tRHOH : Unknown
Description : K9F2G08U0A
Scanning for NCB...
GPMI: Checking page 0x00000000
GPMI: Signature found at 0x00000000
GPMI: Valid NCB found at 0x00000000
Scanning device for bad blocks
Bad eraseblock 1383 at 0x00000ace0000
Bad eraseblock 2046 at 0x00000ffc0000
Boot area protection enabled: 0x1400000 bytes.
Partitioning for one chip.
Creating 2 MTD partitions on "gpmi-medium":
0x000000000000-0x000001400000 : "gpmi-0-boot"
0x000001400000-0x000010000000 : "gpmi-general-use"
stmp3xxx_ssp stmp3xxx_ssp.1: Max possible speed 120000 = 120000/2 kHz
ks8851 spi1.0: message enable is 0
ks8851 spi1.0: revision 0, MAC ba:8f:cb:82:40:59, IRQ 195
stmp3xxx_ssp stmp3xxx_ssp.1: at 0x80010000 mapped to 0xF0010000, irq=14, bus 1, DMA
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Found HC with no IRQ. Check fsl-ehci.0 setup!
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
Freescale USB OTG Driver loaded, $Revision: 1.55 $
ARC USBOTG Device Controller driver (1 August 2005)
check_parameters:UTP settings are in place now, overriding defaults
g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008
g_file_storage gadget: Number of LUNs=1
Suspend udc for OTG auto detect
fsl-usb2-udc: bind to driver g_file_storage
mice: PS/2 mouse device common for all mice
input: STMP3XXX touchscreen as /class/input/input0
input: stmp3xxx-rotdec as /class/input/input1
Linux video capture interface: v2.00
stmp3xxx watchdog: initialized, heartbeat 19 sec
stmp3xxx-dcp stmp3xxx-dcp: DCP crypto enabled.!
Advanced Linux Sound Architecture Driver Version 1.0.20.
stmp378x-audio stmp378x-audio: STMP378X ADC/DAC Audio Codec 0.1
No device for DAI stmp378x adc/dac
No device for DAI stmp3xxx adc/dac
asoc: stmp378x adc/dac <-> stmp3xxx adc/dac mapping ok
ALSA device list:
#0: STMP3780 Devb (stmp378x adc/dac)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Freeing init memory: 132K
init started: BusyBox v1.15.0 ()
starting pid 695, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug events
Setting the hostname to freescale
Mounting filesystems
mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
Running sysctl
Setting up networking on loopback device:
Setting up networking on eth0:
Adding static route for default gateway to 192.168.0.1:
Setting nameserver to 192.168.0.1 in /etc/resolv.conf:
Starting inetd:
starting pid 1028, tty '': '/sbin/getty -L ttyAM0 115200 vt100'


Сообщеня ядра:
Код
<7>gpmi_ecc_read_oob: ECC failed=2, corrected=0
<4>Bad eraseblock 2046 at 0x00000ffc0000
<7>readsize = 2112, bufmask = 0x1FF
<6>Boot area protection enabled: 0x1400000 bytes.
<6>Partitioning for one chip.
<5>Creating 2 MTD partitions on "gpmi-medium":
<5>0x000000000000-0x000001400000 : "gpmi-0-boot"
<5>0x000001400000-0x000010000000 : "gpmi-general-use"
<6>stmp3xxx_ssp stmp3xxx_ssp.1: Max possible speed 120000 = 120000/2 kHz
<6>ks8851 spi1.0: message enable is 0
<6>ks8851 spi1.0: revision 0, MAC ba:8f:cb:82:40:59, IRQ 195
<6>stmp3xxx_ssp stmp3xxx_ssp.1: at 0x80010000 mapped to 0xF0010000, irq=14, bus 1, DMA
<5>usbmon: debugfs is not available
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>ehci_hcd: block sizes: qh 128 qtd 96 itd 160 sitd 96
<7>initializing FSL-SOC USB Controller
<3>fsl-ehci fsl-ehci.0: Found HC with no IRQ. Check fsl-ehci.0 setup!
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<6>Freescale USB OTG Driver loaded, $Revision: 1.55 $
<7>j=4294938592 [fsl_otg_probe] pdev=0xc0437fc0
<7>
<7>j=4294938592 [fsl_otg_conf]
<7>j=4294938592 [usb_otg_start] initial ID pin=0
<7>
<6>ARC USBOTG Device Controller driver (1 August 2005)
<6>check_parameters:UTP settings are in place now, overriding defaults
<6>g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008
<6>g_file_storage gadget: Number of LUNs=1
<7>g_file_storage gadget: transport=Bulk-only (x50)
<7>g_file_storage gadget: protocol=Transparent SCSI (x06)
<7>g_file_storage gadget: VendorID=x066f, ProductID=x37ff, Release=x0325
<7>g_file_storage gadget: removable=1, stall=0, cdrom=0, buflen=16384
<7>g_file_storage gadget: I/O thread pid: 634
<6>Suspend udc for OTG auto detect
<7>j=4294938620 [fsl_otg_set_peripheral] before: fsm.id ID pin=0
<7>j=4294938620 [fsl_otg_set_peripheral] after: fsm.id ID pin=0
<7>j=4294938620 [fsl_otg_set_peripheral] ID pin=0
<7>
<6>fsl-usb2-udc: bind to driver g_file_storage
<6>mice: PS/2 mouse device common for all mice
<6>input: STMP3XXX touchscreen as /class/input/input0
<6>input: stmp3xxx-rotdec as /class/input/input1
<6>Linux video capture interface: v2.00
<6>stmp3xxx watchdog: initialized, heartbeat 19 sec
<5>stmp3xxx-dcp stmp3xxx-dcp: DCP crypto enabled.!
<6>Advanced Linux Sound Architecture Driver Version 1.0.20.
<6>stmp378x-audio stmp378x-audio: STMP378X ADC/DAC Audio Codec 0.1
<4>No device for DAI stmp378x adc/dac
<4>No device for DAI stmp3xxx adc/dac
<6>asoc: stmp378x adc/dac <-> stmp3xxx adc/dac mapping ok
<6>ALSA device list:
<6> #0: STMP3780 Devb (stmp378x adc/dac)
<6>TCP cubic registered
<6>NET: Registered protocol family 17
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>Freeing init memory: 132K
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 16.02.2010 14:09 Сообщение: 207
sasamy
4.70

Пункты: 77333
Регистрация: 14.08.2009
Ничего не понимаю - а где сообщения типа "otg_get_resources" и тд.... их там еще целая куча должна быть.
Спуститься к концу Подняться к началу
Персональная информация
Pavel Ivanchenko
Добавлено 16.02.2010 14:11 Редактировалось 16.02.2010 14:23 Сообщение: 208
Pavel Ivanchenko
Admin
4.39

Пункты: 91452
Регистрация: 24.03.2009
Пол: Мужчина
Сейчас в хаках все галки дебага включу ...
Ой, теперь ядро в панике на драйвере OTG
Код
fsl-ehci fsl-ehci.0: Found HC with no IRQ. Check fsl-ehci.0 setup!
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
Freescale USB OTG Driver loaded, $Revision: 1.55 $
ARC USBOTG Device Controller driver (1 August 2005)
Unable to handle kernel NULL pointer dereference at virtual address 00000054
pgd = c0004000
[00000054] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT
Modules linked in:
CPU: 0 Not tainted (2.6.31-203-gee1fdae #127)
PC is at try_wake_up_udc+0x98/0x16c
LR is at fsl_udc_irq+0x14/0x9e4

Сейчас начну "убавлять" дебаг ...
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 16.02.2010 14:36 Редактировалось 16.02.2010 14:38 Сообщение: 209
sasamy
4.70

Пункты: 77333
Регистрация: 14.08.2009
Там нужно включить
[*] Debug Filesystem
после чего появится пункт
[*] Enable dynamic printk() support
остальное ненужно
в параметрах ядра (в командной строке) добавить ключ dynamic_printk
ну и то что я раньше писал тоже включить.
Спуститься к концу Подняться к началу
Персональная информация
Pavel Ivanchenko
Добавлено 16.02.2010 15:16 Сообщение: 210
Pavel Ivanchenko
Admin
4.39

Пункты: 91452
Регистрация: 24.03.2009
Пол: Мужчина
Все по старому:
Код
Linux version 2.6.31-203-gee1fdae (user@debian) (gcc version 4.1.2) #133 PREEMPT Thu
Feb 11 15:49:32 EST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: STMP378X
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttyAM0,115200 root=/dev/mmcblk0p2 rw rootwait mtdparts=gpmi:-(Data) ssp1=spi1 dynamic_printk
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 56124KB available (4116K code, 278K data, 132K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:224
Console: colour dummy device 80x30
console [ttyAM0] enabled
Calibrating delay loop... 99.94 BogoMIPS (lpj=499712)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
regulator: vddd: 800 <--> 1575 mV fast normal
regulator: vddd_bo: 800 <--> 1575 mV fast normal
regulator: vdda: 1500 <--> 2275 mV fast normal
regulator: vddio: 2800 <--> 3575 mV fast normal
regulator: overall_current: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-keyboard-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx_ts-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-appuart-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-dbguart-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx_wdt-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-rtc-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-fb-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-bl-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-rotdec-1: 0 <--> 2147483 mA fast normal
regulator: i2c_stmp3xxx-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-persistent-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-dcpboot-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-dcp-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-battery-1: 0 <--> 2147483 mA fast normal
regulator: stmp3xxx-pxp-1: 0 <--> 2147483 mA fast normal
regulator: mmc_ssp-1: 0 <--> 2147483 mA fast normal
regulator: mmc_ssp-2: 0 <--> 2147483 mA fast normal
regulator: charger-1: 0 <--> 2147483 mA fast normal
regulator: power-test-1: 0 <--> 2147483 mA fast normal
regulator: cpufreq-1: 0 <--> 2147483 mA fast normal
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
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
Unpacking initramfs...
Freeing initrd memory: 4096K
usb: DR OTG registered
usb: DR gadget (utmi) registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) &#194;© 2001-2006 Red Hat, Inc.
msgmni has been set to 117
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
stmp3xxx-dbguart: ttyAM0 at MMIO 0x80070000 (irq = 0) is a Debug UART
loop: module loaded
GPMI NAND Flash driver
bch_init: initialized
ecc8_init: initialized
Scanning for NAND Flash chips...
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Manufacturer : Samsung (0xec)
Device Code : 0xda
Cell Technology : SLC
Chip Size : 256 MiB
Pages per Block : 64
Page Geometry : 2048+64
ECC Strength : 4 bits
ECC Size : 512 B
Data Setup Time : 20 ns
Data Hold Time : 10 ns
Address Setup Time: 20 ns
GPMI Sample Delay : 6 ns
tREA : Unknown
tRLOH : Unknown
tRHOH : Unknown
Description : K9F2G08U0A
Scanning for NCB...
GPMI: Checking page 0x00000000
GPMI: Signature found at 0x00000000
GPMI: Valid NCB found at 0x00000000
Scanning device for bad blocks
Bad eraseblock 1383 at 0x00000ace0000
Bad eraseblock 2046 at 0x00000ffc0000
Boot area protection enabled: 0x1400000 bytes.
Partitioning for one chip.
Creating 2 MTD partitions on "gpmi-medium":
0x000000000000-0x000001400000 : "gpmi-0-boot"
0x000001400000-0x000010000000 : "gpmi-general-use"
stmp3xxx_ssp stmp3xxx_ssp.1: Max possible speed 120000 = 120000/2 kHz
ks8851 spi1.0: message enable is 0
ks8851 spi1.0: revision 0, MAC 72:82:0f:86:2c:86, IRQ 195
stmp3xxx_ssp stmp3xxx_ssp.1: at 0x80010000 mapped to 0xF0010000, irq=14, bus 1, DMA
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Found HC with no IRQ. Check fsl-ehci.0 setup!
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
Freescale USB OTG Driver loaded, $Revision: 1.55 $
ARC USBOTG Device Controller driver (1 August 2005)
check_parameters:UTP settings are in place now, overriding defaults
g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008
g_file_storage gadget: Number of LUNs=1
Suspend udc for OTG auto detect
fsl-usb2-udc: bind to driver g_file_storage
mice: PS/2 mouse device common for all mice
input: STMP3XXX touchscreen as /class/input/input0
input: stmp3xxx-rotdec as /class/input/input1
Linux video capture interface: v2.00
stmp3xxx watchdog: initialized, heartbeat 19 sec
stmp3xxx-dcp stmp3xxx-dcp: DCP crypto enabled.!
Advanced Linux Sound Architecture Driver Version 1.0.20.
stmp378x-audio stmp378x-audio: STMP378X ADC/DAC Audio Codec 0.1
No device for DAI stmp378x adc/dac
No device for DAI stmp3xxx adc/dac
asoc: stmp378x adc/dac <-> stmp3xxx adc/dac mapping ok
ALSA device list:
#0: STMP3780 Devb (stmp378x adc/dac)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Freeing init memory: 132K
init started: BusyBox v1.15.0 ()
starting pid 703, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug events
Setting the hostname to freescale
Mounting filesystems
mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
Running sysctl
Setting up networking on loopback device:
Setting up networking on eth0:
Adding static route for default gateway to 192.168.0.1:
Setting nameserver to 192.168.0.1 in /etc/resolv.conf:
Starting inetd:
starting pid 1025, tty '': '/sbin/getty -L ttyAM0 115200 vt100'

Код
<7>gpmi_ecc_read_oob: ECC failed=2, corrected=0
<4>Bad eraseblock 2046 at 0x00000ffc0000
<7>readsize = 2112, bufmask = 0x1FF
<6>Boot area protection enabled: 0x1400000 bytes.
<6>Partitioning for one chip.
<5>Creating 2 MTD partitions on "gpmi-medium":
<5>0x000000000000-0x000001400000 : "gpmi-0-boot"
<5>0x000001400000-0x000010000000 : "gpmi-general-use"
<6>stmp3xxx_ssp stmp3xxx_ssp.1: Max possible speed 120000 = 120000/2 kHz
<6>ks8851 spi1.0: message enable is 0
<6>ks8851 spi1.0: revision 0, MAC 72:82:0f:86:2c:86, IRQ 195
<6>stmp3xxx_ssp stmp3xxx_ssp.1: at 0x80010000 mapped to 0xF0010000, irq=14, bus 1, DMA
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>ehci_hcd: block sizes: qh 128 qtd 96 itd 160 sitd 96
<7>initializing FSL-SOC USB Controller
<3>fsl-ehci fsl-ehci.0: Found HC with no IRQ. Check fsl-ehci.0 setup!
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<6>Freescale USB OTG Driver loaded, $Revision: 1.55 $
<7>j=4294938570 [fsl_otg_probe] pdev=0xc0453fc0
<7>
<7>j=4294938570 [fsl_otg_conf]
<7>j=4294938570 [usb_otg_start] initial ID pin=0
<7>
<6>ARC USBOTG Device Controller driver (1 August 2005)
<6>check_parameters:UTP settings are in place now, overriding defaults
<6>g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008
<6>g_file_storage gadget: Number of LUNs=1
<7>g_file_storage gadget: transport=Bulk-only (x50)
<7>g_file_storage gadget: protocol=Transparent SCSI (x06)
<7>g_file_storage gadget: VendorID=x066f, ProductID=x37ff, Release=x0325
<7>g_file_storage gadget: removable=1, stall=0, cdrom=0, buflen=16384
<7>g_file_storage gadget: I/O thread pid: 627
<6>Suspend udc for OTG auto detect
<7>j=4294938576 [fsl_otg_set_peripheral] before: fsm.id ID pin=0
<7>j=4294938576 [fsl_otg_set_peripheral] after: fsm.id ID pin=0
<7>j=4294938576 [fsl_otg_set_peripheral] ID pin=0
<7>
<6>fsl-usb2-udc: bind to driver g_file_storage
<6>mice: PS/2 mouse device common for all mice
<6>input: STMP3XXX touchscreen as /class/input/input0
<6>input: stmp3xxx-rotdec as /class/input/input1
<6>Linux video capture interface: v2.00
<6>stmp3xxx watchdog: initialized, heartbeat 19 sec
<5>stmp3xxx-dcp stmp3xxx-dcp: DCP crypto enabled.!
<6>Advanced Linux Sound Architecture Driver Version 1.0.20.
<6>stmp378x-audio stmp378x-audio: STMP378X ADC/DAC Audio Codec 0.1
<4>No device for DAI stmp378x adc/dac
<4>No device for DAI stmp3xxx adc/dac
<6>asoc: stmp378x adc/dac <-> stmp3xxx adc/dac mapping ok
<6>ALSA device list:
<6> #0: STMP3780 Devb (stmp378x adc/dac)
<6>TCP cubic registered
<6>NET: Registered protocol family 17
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>Freeing init memory: 132K
Спуститься к концу Подняться к началу
Персональная информация
Форум » starterkit.ru » Отладочные платы » SK-iMX233