roboforum.ruТехнический форум по робототехнике. |
|
|
# mkfs.jffs2 -p -e 512 -o /dev/sdb2
# modprobe block2mtd block2mtd=/dev/sdb2,512
# mkdir /mnt/flash
# mount -t jffs2 mtd0 /mnt/flash
cat /dev/input/event0
[root@FriendlyARM /]# /usr/local/bin/ts_calibrate
ts_open: No such file or directory
MINI2440 # reset
U-Boot 1.3.2-mini2440 (Oct 6 2009 - 12:51:09)
I2C: ready
DRAM: 64 MB
Flash: 2 MB
NAND: 128 MiB
Found Environment offset in OOB..
USB: S3C2410 USB Deviced
In: serial
Out: serial
Err: serial
MAC: 08:08:11:18:12:27
Hit any key to stop autoboot: 3 [08][08][08] 2 [08][08][08] 1 [08][08][08] 0
Loading from NAND 128MiB 3,3V 8-bit, offset 0x60000
Image Name:
Created: 2010-09-03 12:08:45 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2471756 Bytes = 2.4 MB
Load Address: 30008000
Entry Point: 30008000
## Booting kernel from Legacy Image at 32000000 ...
Image Name:
Created: 2010-09-03 12:08:45 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2471756 Bytes = 2.4 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux........................................................................................................................................................... done, booting the kernel.
Linux version 2.6.32.2-Roboforum (root@calculate) (gcc version 4.4.3 (Gentoo 4.4.3-r2 p1.2) ) #10 Fri Sep 3 16:02:16 MSD 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: FriendlyARM Mini2440 development board
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttySAC0,115200 mini2440=0tb rootfstype=ext3 root=/dev/mmcblk0p2 rw rootwait
PID hash table entries: 256 (order: -2, 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: 59804KB available (4512K code, 409K data, 152K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:85
irq: clearing pending status 02000000
irq: clearing subpending status 00000002
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
Using PLL table for 12MHz crystal
cpufreq: 27 PLL entries
S3C24XX CPU Frequency driver, s3c244x cpu support
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
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
cfg80211: Calling CRDA to update world regulatory domain
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
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)
yaffs Aug 5 2010 15:09:37 Installing.
JFFS2 version 2.2. (NAND) (SUMMARY) В© 2001-2006 Red Hat, Inc.
msgmni has been set to 116
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 60x53
fb0: s3c2410fb frame buffer device
backlight initialized
leds initialized
buttons initialized
pwm initialized
adc initialized
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 5 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x000000000000-0x000000060000 : "u-boot"
0x000000060000-0x000000080000 : "u-boot_env"
0x000000080000-0x000000580000 : "kernel"
0x000000580000-0x0000005a0000 : "splash"
0x0000005a0000-0x000008000000 : "rootfs"
dm9000 Ethernet Driver, V1.31
eth0: dm9000e at c487a300,c487e304 IRQ 51 MAC: 08:90:90:90:90:90 (chip)
Atmel at76x USB Wireless LAN Driver 0.17 loading
usbcore: registered new interface driver at76c50x-usb
usbcore: registered new interface driver zd1211rw
usbcore: registered new interface driver rtl8187
usbcore: registered new interface driver zd1201
usbcore: registered new interface driver rt2500usb
usbcore: registered new interface driver rt73usb
usbcore: registered new interface driver rt2800usb
usbcore: registered new interface driver ar9170usb
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.32.2-Roboforum ohci_hcd
usb usb1: SerialNumber: s3c24xx
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
mice: PS/2 mouse device common for all mice
s3c2410 TouchScreen successfully loaded
input: s3c2410 TouchScreen as /class/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
initializing s3c2440 camera interface......
s3c2440 camif init done
Loading OV9650 driver.........
SCCB address 0x60, manufacture ID 0xFFFF, expect 0x7FA2
SCCB address 0x60, manufacture ID 0xFFFF, expect 0x7FA2
No OV9650 found!!!
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
cpuidle: using governor ladder
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdi s3c2440-sdi: powered down.
s3c-sdi s3c2440-sdi: mmc0 - using pio, hw SDIO IRQ
s3c-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
s3c-sdi s3c2440-sdi: running at 398kHz (requested: 400kHz).
s3c-sdi s3c2440-sdi: running at 398kHz (requested: 400kHz).
s3c-sdi s3c2440-sdi: running at 398kHz (requested: 400kHz).
s3c-sdi s3c2440-sdi: running at 398kHz (requested: 400kHz).
s3c-sdi s3c2440-sdi: running at 398kHz (requested: 400kHz).
s3c-sdi s3c2440-sdi: running at 398kHz (requested: 400kHz).
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
usb 1-1: new low speed USB device using s3c2410-ohci and address 2
asoc: UDA134X <-> s3c24xx-i2s mapping ok
s3c-sdi s3c2440-sdi: running at 398kHz (requested: 400kHz).
ALSA device list:
#0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
lib80211: common routines for IEEE802.11 drivers
s3c-sdi s3c2440-sdi: running at 16875kHz (requested: 25000kHz).
s3c-sdi s3c2440-sdi: running at 16875kHz (requested: 25000kHz).
mmc0: new SD card at address e311
mmcblk0: mmc0:e311 SD02G 1.83 GiB
mmcblk0: p1 p2 p3
s3c2410-rtc s3c2410-rtc: setting system clock to 2010-10-17 19:07:02 UTC (1287342422)
kjournald starting. Commit interval 5 seconds
EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing init memory: 152K
usb 1-1: New USB device found, idVendor=0458, idProduct=002e
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: NetScroll+ Traveler
usb 1-1: Manufacturer: KYE
usb 1-1: configuration #1 chosen from 1 choice
input: KYE NetScroll+ Traveler as /class/input/input1
generic-usb 0003:0458:002E.0001: input: USB HID v1.10 Mouse [KYE NetScroll+ Traveler] on usb-s3c24xx-1/input0
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[17/Oct/2010:16:07:07 +0000] boa: server version Boa/0.94.13
[17/Oct/2010:16:07:07 +0000] boa: server built Jul 26 2010 at 15:58:29.
[17/Oct/2010:16:07:07 +0000] boa: starting server pid=533, port 80
Try to bring eth0 interface up......eth0: link down
Done
Tsi329 писал(а):
- Код: Выделить всё • Развернуть
# mkfs.jffs2 -p -e 512 -o /dev/sdb2
# modprobe block2mtd block2mtd=/dev/sdb2,512
# mkdir /mnt/flash
# mount -t jffs2 mtd0 /mnt/flash
Злосчастный параметр setenv ..... mini2440=3tbc
Какое он все-таки должен иметь значение? И на что он влияет? Кто-то пишет, что 0tb для 3.5 экрана, а 1tb для 7".
Для чего тогда значение 3tbc? Вообщем, у меня 3" экран, 128Mb NAND, а гружусь с SD ext3 второй раздел, какой у меня должна быть строка setenv? Желательно привести полностью.
Еще один не решенный вопрос - модули ядра. Куда их кидать?
setar писал(а):Эта статья предполагает что у Вас уже имеется mini2440 c установленным загрузчиком u-boot, скомпилированным и установленным ядром.
=DeaD= писал(а):Тогда как загрузить?
Вообще надо где-то Quick Start Guide сделать - как быстро с нуля подключиться, а то я вот хочу, а с какой стороны подойти не очень понимаю.
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 3