ЗАО «ЗЭО»

Пожалуйста, войдите или зарегистрируйтесь.

Расширенный поиск  

Новости:

Автор Тема: Тион Про2 linux  (Прочитано 3667 раз)

0 Пользователей и 1 Гость просматривают эту тему.

ZAA

  • Newbie
  • *
  • Оффлайн Оффлайн
  • Сообщений: 8
Тион Про2 linux
« : 03 Марта, 2011, 14:04:56 »

Здраствуйте приобрели у вас плату Тион Про2. С помощью утилиты download загрузил U-Boot u-boot-1.3.3_svn894_tion-ep93xx-series_bin.tar.gz. С помощью U-Boot и терминала загрузил на встроенный флеш ядро (http://www.zao-zeo.ru/media/files/linux/2.6.20/image/uImage-2.6.20.21_tion-pro2_svn889_eabi) и КФС (http://www.zao-zeo.ru/media/files/rootfs/ep93xx/rootfs_crater_svn819_tion-pro2.jffs2). В переменных окружения прописал загрузку ядра с монтируемой КФС, ядро загружается КФС монтируется, дальше ни чего не происходит (эт связано с отсутвием командной оболочки в КФС или она выводит сообщения командной оболчки не в COM?)
Переменные окружения U-Boot:
Цитировать
bootdelay=1

baudrate=57600

bootfile="uImage"

filesize=1A9A80

mtdparts=mtdparts=flash:512k(u-boot)ro,2560k(kernel)ro,-(fs)

bootcmd=bootm 0x60080000

fileaddr=0x00000000

mtdids=nor0=flash

bootargs=console=ttyAM0,57600 root=/dev/mtdblock2 rw rootfstype=jffs2

partition=nor0,2

mtddevnum=2

mtddevname=fs

clocks_in_mhz=1

root=/etc/init.d/

ethaddr=aa:bb:cc:dd:ee:f2
Загрузка linux:
Цитировать
## Booting kernel from Legacy Image at 60080000 ...

   Image Name:   Linux-2.6.20.21

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    1743424 Bytes =  1.7 MB

   Load Address: 00008000

   Entry Point:  00008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK



Starting kernel ...



Uncompressing Linux.............................................................

................................................... done, booting the kernel.

Linux version 2.6.20.21 (asv@phenom) (gcc version 4.2.4 (Debian 4.2.4-6)) #1 PRE

EMPT Mon Feb 15 16:59:27 MSK 2010

CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177

Machine: Tion-Pro2 Board

Ignoring unrecognised tag 0x54410008

Memory policy: ECC disabled, Data cache writeback

CPU0: D VIVT write-back cache

CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets

CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets

Built 1 zonelists.  Total pages: 16192

Kernel command line: console=ttyAM0,57600 root=/dev/mtdblock2 rw rootfstype=jffs

2

PID hash table entries: 256 (order: 8, 1024 bytes)

Console: colour dummy device 80x30

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory: 32MB 32MB = 64MB total

Memory: 61212KB available (3192K code, 340K data, 124K init)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

NET: Registered protocol family 16

ep93xx: PLL1 running at 399 MHz, PLL2 at 192 MHz

ep93xx: FCLK 199 MHz, HCLK 99 MHz, PCLK 49 MHz

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: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 2048 bind 1024)

TCP reno registered

audit: initializing netlink socket (disabled)

audit(0.390:1): initialized

JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.

io scheduler noop registered (default)

io scheduler anticipatory registered

ep93xx-backlight ep93xx-backlight.0: initialized

ep93xxfb_get_par: VGA 640x480

Console: switching to colour frame buffer device 80x30

fb0: EP93xx frame buffer at 640x480x16bpp

ep93xx_wdt: EP93XX watchdog, driver version 0.3

Serial: AMBA driver $Revision: 1.41 $

RS485 hardware flow control on 3rd serial port

apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA

apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA

apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA

RAMDISK driver initialized: 2 RAM disks of 32768K size 1024 blocksize

loop: loaded (max 8 devices)

nbd: registered device at major 43

PPP generic driver version 2.4.2

PPP Deflate Compression module registered

PPP BSD Compression module registered

PPP MPPE Compression module registered

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

Cirrus Logic EP93XX IDE initialization.

physmap platform flash device: 03ff0000 at 60000000

physmap-flash.0: Found 2 x16 devices at 0x0 in 32-bit bank

NOR chip too large to fit in mapping. Attempting to cope...

 Intel/Sharp Extended Query Table at 0x010A

 Intel/Sharp Extended Query Table at 0x010A

 Intel/Sharp Extended Query Table at 0x010A

 Intel/Sharp Extended Query Table at 0x010A

 Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

Reducing visibility of 65536KiB chip to 65472KiB

RedBoot partition parsing not available

Using physmap partition information

Creating 3 MTD partitions on "physmap-flash.0":

0x00000000-0x00080000 : "bootloader"

0x00080000-0x00300000 : "kernel"

0x00300000-0x03fc0000 : "rootfs"

ep93xx-spi ep93xx-spi.1: SPI controller initialized

ep93xx-usb ep93xx-usb: EP93xx OHCI

ep93xx-usb ep93xx-usb: new USB bus registered, assigned bus number 1

ep93xx-usb ep93xx-usb: irq 56, io mem 0x80020000

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 3 ports detected

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver hiddev

usbcore: registered new interface driver usbhid

drivers/usb/input/hid-core.c: v2.6:USB HID core driver

usbcore: registered new interface driver usbserial

drivers/usb/serial/usb-serial.c: USB Serial support registered for generic

usbcore: registered new interface driver usbserial_generic

drivers/usb/serial/usb-serial.c: USB Serial Driver core

drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Seri

al Device

usbcore: registered new interface driver ftdi_sio

drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver

drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303

usbcore: registered new interface driver pl2303

drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver

mice: PS/2 mouse device common for all mice

m41t00 0-0068: rtc core: registered m41t00 as rtc0

Registered led device: ep93xx:green

Registered led device: ep93xx:red

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

NET: Registered protocol family 15

m41t00 0-0068: setting the system clock to 2001-05-01 03:02:20 (988686140)

VFS: Mounted root (jffs2 filesystem).

Freeing init memory: 124K
Файлы:
http://www.zao-zeo.ru/media/files/rootfs/ep93xx/uramdisk_crater-1.0.0.gz
http://www.zao-zeo.ru/media/files/rootfs/ep93xx/uramdisk_bb1.8.2_opie.gz
http://www.zao-zeo.ru/media/files/rootfs/ep93xx/uramdisk_bb1.8.2.gz
Не распознаются архиваторами или это бинарные образы?
« Последнее редактирование: 03 Марта, 2011, 14:40:02 от ZAA »
Записан

asv

  • Hero Member
  • *****
  • Оффлайн Оффлайн
  • Сообщений: 1405
Re: Тион Про2 linux
« Ответ #1 : 13 Марта, 2011, 12:45:13 »

uImage-2.6.20.21_tion-pro2_svn889_eabi собран без CONFIG_OABI_COMPAT, поэтому не может работать с rootfs_crater_svn819_tion-pro2.jffs2, которая собрана с OABI. Для rootfs_crater_svn819_tion-pro2.jffs2 можете использовать ядро http://www.zao-zeo.ru/media/files/linux/2.6.20/image/uImage-2.6.20.21_tion-pro2_svn787_oabi или собрать самостоятельно.

> Не распознаются архиваторами или это бинарные образы?

uramdisk_bb1.8.2_opie.gz и подобные -- образ формата U-Boot (http://zao-zeo.ru/dokuwiki/doku.php/u-boot#создание_образа)
Записан