Ник:
Пароль:

Контакты

E-mail: info@starterkit.ru
тел.: +7 922 680-21-73
тел.: +7 922 680-21-74
Телеграм: t.me/starterkit_ru

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

User Info


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

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

Ник:
Пароль:

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

ОбновитьПодробнееВсегоВсего:5
Форум » starterkit.ru » Embedded Linux
И снова и опять Эта SD!!!!!
IgorJazz
Добавлено 28.10.2010 18:05
0
Сообщение: 1
IgorJazz
0

Пункты: 2825
Регистрация: 28.10.2010
Добрый день!!! столкнулся вот с такой проблемой.. Купил плату SK-MAT91SAM9XE512 c камнем SAM9XE512. Закинули all.bin (который был на диске) в датафлеш и Bootstrup в flash. Linux грузится и все работает, теперь стало актуально загружать файловую систему с MMC карточки, все сделал по этой инструкции, http://code.google.com/p/sim1/wiki/RootBoot но файловая системы так и не монтируется (хотя карточка при загруженом Линуксе монтируется).
Help please.........
Спуститься к концу Подняться к началу
Персональная информация
IgorJazz
Добавлено 28.10.2010 18:41 Сообщение: 2
IgorJazz
0

Пункты: 2825
Регистрация: 28.10.2010
IgorJazz,
Скрин процессу загрузки:
IgorJazz,
AT91Bootstrap...





U-Boot 1.1.5 (Mar 21 2010 - 01:09:21)



DRAM: 32 MB

DataFlash:AT45DB321

Nb pages: 8192

Page Size: 528

Size= 4325376 bytes

Logical address: 0xC0000000

Area 0: C0000000 to C0003FFF (RO)

Area 1: C0004000 to C0007FFF

Area 2: C0008000 to C0037FFF (RO)

Area 3: C0038000 to C041FFFF

*** Warning - bad CRC, using default environment



In: serial

Out: serial

Err: serial

KS8721 PHY Detected


ETH: 100M Full Duplex.


End of Autonegociation


Hit any key to stop autoboot: 2  1  0

## Booting image at 20400000 ...

Bad Magic Number

U-Boot> f tftp 0x21000000 uImage1


TFTP from server 192.168.0.2; our IP address is 192.168.0.136

Filename 'uImage1'.

Load address: 0x21000000

Loading: *checksum bad

checksum bad

T #################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#################################################################

done

Bytes transferred = 5322448 (5136d0 hex)

U-Boot> setenv bootargs root=/dex v/nfs ip=192.168.0.136 nfsroot=192.168.02 .2:/home/vitaly/felabs/linux/modules/nfsroot


U-Boot> bootn m 0x21000000


## Booting image at 21000000 ...

Image Name: linux-2.6

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 5322384 Bytes = 5.1 MB

Load Address: 20008000

Entry Point: 20008000

Verifying Checksum ... OK

OK



Starting kernel ...



Linux version 2.6.28 (user@debian) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)) #9 Sun Mar 21 01:03:54 EDT 2010

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

CPU: VIVT data cache, VIVT instruction cache

Machine: Atmel AT91SAM9260-EK

Memory policy: ECC disabled, Data cache writeback

Clocks: CPU 200 MHz, master 100 MHz, main 12.000 MHz

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128

Kernel command line: root=/dev/nfs ip=192.168.0.136 nfsroot=192.168.0.2:/home/vitaly/felabs/linux/modules/nfsroot

AT91: 96 gpio irqs in 3 banks

PID hash table entries: 128 (order: 7, 512 bytes)

Console: colour dummy device 80x30

console [tty0] enabled

console [ttyS0] enabled

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

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory: 32MB = 32MB total

Memory: 27120KB available (2724K code, 230K data, 2364K init)

Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

net_namespace: 288 bytes

NET: Registered protocol family 16

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

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

TCP: Hash tables configured (established 1024 bind 1024)

TCP reno registered

NET: Registered protocol family 1

NetWinder Floating Point Emulator V0.97 (double precision)

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

msgmni has been set to 52

io scheduler noop registered (default)

Console: switching to colour frame buffer device 60x34

fb0: Hecuba frame buffer device, using 510K of video memory

atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL

atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL

R<6>R<6>atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL

R<6>R<6>brd: module loaded

R<6>loop: module loaded

R<6>ssc ssc.0: Atmel SSC device at 0xc28f8000 (irq 14)

R<6>MACB_mii_bus: probed

R<6>eth0: Atmel MACB at 0xfffc4000 irq 21 (00:1f:f2:00:00:00)

R<6>R<6>eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)

R<6>R<4>Driver 'sd' needs updating - please use bus_type methods

R<6>R<5>usbmon: debugfs is not available

R<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

R<6>at91_ohci at91_ohci: AT91 OHCI

R<6>at91_ohci at91_ohci: new USB bus registered, assigned bus number 1

R<6>R<6>at91_ohci at91_ohci: irq 20, io mem 0x00500000

R<6>usb usb1: configuration #1 chosen from 1 choice

R<6>hub 1-0:1.0: USB hub found

R<6>hub 1-0:1.0: 2 ports detected

R<6>Initializing USB Mass Storage driver...

R<6>usbcore: registered new interface driver usb-storage

R<6>USB Mass Storage support registered.

R<6>udc: at91_udc version 3 May 2006

R<6>mice: PS/2 mouse device common for all mice

R<6>input: HP Jornada touchscreen as /class/input/input0

R<6>i2c /dev entries driver

R<7>mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0

R<6>R<7>MMC: Setting controller bus width to 1

R<7>Added MCI driver

R<7>mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0 timing 0

R<6>R<7>MMC: Setting controller bus width to 1

R<7>mmc0: clock 375000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0

R<6>R<7>clkdiv = 133. mcck = 373134

R<7>MMC: Setting controller bus width to 1

R<7>mmc0: clock 375000Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0 timing 0

R<6>R<7>clkdiv = 133. mcck = 373134

R<7>MMC: Setting controller bus width to 1

R<7>mmc0: starting CMD0 arg 00000000 flags 000000c0

R<7>Sending command 0 as 00000800, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

R<6>R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

R<7>mmc0: clock 375000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0

R<6>R<7>clkdiv = 133. mcck = 373134

R<7>MMC: Setting controller bus width to 1

R<7>mmc0: starting CMD8 arg 000001aa flags 000002f5

R<7>Sending command 8 as 00001848, arg = 000001AA, blocks = 0, length = 0 (MR = 00009B85)

R<6>R<7>MCI irq: status = 0010C0E4, C07F0001, 00100000

R<7>mmc0: starting CMD5 arg 00000000 flags 000002e1

R<7>Sending command 5 as 00001845, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

R<6>R<7>MCI irq: status = 0010C0E4, C07F0001, 00100000

R<7>MCI irq: status = 0010C0E5, C07F0001, 00100001

R<7>MCI irq: status = 0010C0E5, C07F0001, 00100001

R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

R<6>R<7>MCI irq: status = 0010C0E4, C07F0001, 00100000

R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

R<6>R<7>MCI irq: status = 0010C0E4, C07F0001, 00100000

R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

R<6>R<7>MCI irq: status = 0010C0E4, C07F0001, 00100000

R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

R<6>R<3>at91_mci at91_mci: Timeout waiting end of packet

R<7>mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000

R<6>R<7>mmc0: starting CMD1 arg 00000000 flags 000000e1

R<7>MCI irq: status = 0010C0E5, C07F0001, 00100001

R<7>MMC: Response timeout

R<7>Completed command

R<7>Status = 00100001/0010c0e5 [00000000 00000000 00000000 00000000]

R<6>R<7>Error detected and set to -110/-1043200000 (cmd = -1043199852, retries = 0)

R<6>R<7>mmc0: req done (CMD4294967186): 0: c1c3be80 c1c3beb4 c1c3beec c1d20800

R<6>RInternal error: Oops - undefined instruction: 0 [#1]

RModules linked in:

RCPU: 0 Not tainted (2.6.28 #9)

RPC is at 0xc1c3be7c

RLR is at mmc_request_done+0xe0/0x158

Rpc : [<c1c3be7c>] lr : [<c03de844>] psr: a0000013

sp : c1c3bbf0 ip : c1c3bb20 fp : c1c3bc1c

R<6>Rr10: c0521200 r9 : 00100000 r8 : c1d209c0

Rr7 : 00100001 r6 : c1c3be24 r5 : c1d20894 r4 : c1c3be7c

Rr3 : c1c3be40 r2 : 00000000 r1 : 00000004 r0 : c1c3be24

RFlags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel

R<6>RControl: 0005317f Table: 2172c000 DAC: 00000017

RProcess kmmcd (pid: 92, stack limit = 0xc1c3a268)

RStack: (0xc1c3bbf0 to 0xc1c3c000)

Rbbe0: c1c3be80 c1c3beb4 <6>Rc1c3beec c1d20800

Rbc00: c1c3bc24 c1d209c0 c1c3be5c c1c3be80 c1c3bc34 c1c3bc20 <6>Rc03e59a0 c03de774

Rbc20: c03e6004 00000000 c1c3bc74 c1c3bc38 c03e5f2c c03e5950 <6>R00000000 00000000

Rbc40: 00000000 c1c579e0 c1c3bc74 c174ea40 00000000 00000009 <6>R00000000 c1c3a000

Rbc60: 0000000a c0521200 c1c3bc94 c1c3bc78 c0293428 c03e5e04 <6>Rc0508048 00000009

Rbc80: c1c3bd80 c051ce23 c1c3bcac c1c3bc98 c02950e8 c02933f4 <6>R00000009 c052df74

Rbca0: c1c3bccc c1c3bcb0 c025705c c0295080 c051c104 ffffffff <6>Rfefff000 00000009

Rbcc0: c1c3bd4c c1c3bcd0 c0257a54 c0257010 00000001 c1c3a000 <6>R20000013 00000000

Rbce0: 00000082 c052df74 00000000 c051ce23 c1c3a000 0000000a <6>Rc0521200 c1c3bd4c

Rbd00: 00000100 c1c3bd18 c0274738 c0274398 20000013 ffffffff <6>Rc1c3bd44 c0507e68

Rbd20: 00000001 00000001 c052df74 00000000 c051ce23 c1c3be7c <6>Rc0506198 00000033

Rbd40: c1c3bd5c c1c3bd50 c0274738 c0274364 c1c3bd7c c1c3bd60 <6>Rc025706c c0274704

Rbd60: 00009b85 ffffffff fefff000 00000001 c1c3be3c c1c3bd80 <6>Rc0257a54 c0257010

Rbd80: c05061d4 00000004 40000013 c05061b4 c051cd38 00000000 <6>Rc04e28a4 c051ce23

Rbda0: c1c3be7c c0506198 00000033 c1c3be3c c1c3bd98 c1c3bdc8 <6>Rc026fb40 c027007c

Rbdc0: 60000013 ffffffff 00000004 40000013 c03de66c c046d550 <6>R000000f5 c046d56c

Rbde0: 00001845 00000000 00000000 00000000 c1c3bdf0 c1c3bdf0 <6>Rc1c3be24 c1c3be5c

Rbe00: c1d20800 00000000 c1c3bea4 00000003 c1c3be54 c1d20894 <6>Rc1c3beb4 00000000

Rbe20: c1d20800 c1c3be7c 00000000 00000000 c1c3be54 c1c3be40 <6>Rc02701c0 c026fe9c

Rbe40: c1d20800 c1c3be5c c1c3beac c1c3be68 c03de504 c02701ac <6>Rc04e28a4 c1d20894

Rbe60: 00000001 00000000 00000000 00000000 00000000 000000f5 <6>R00000000 ffffff92

Rbe80: c1c3be80 c1c3be80 c1c3beb4 c1c3beec c1d20800 00000000 <6>Rc1c3bf5c 00000000

Rbea0: c1c3bee4 c1c3beb0 c03de72c c03de4b8 00000000 c1c3beec <6>R00000000 00000000

Rbec0: c1c3be7c c03de74c 00000064 c1d20800 00000000 c1c3beec <6>Rc1c3bf3c c1c3bee8

Rbee0: c03e0730 c03de6dc c1c3bf3c 00000001 00000000 00000000 <6>R00000000 00000000

Rbf00: 00000000 000000e1 00000000 00000000 00000000 00000000 <6>R00000000 c1c3bf5c

Rbf20: c1d20894 c1d20960 c1d20800 00000000 c1c3bf84 c1c3bf40 <6>Rc03dee18 c03e06b8

Rbf40: 00000002 00000000 00000015 00000000 00000000 c1c3bf60 <6>Rc0287e30 00000000

Rbf60: 00000000 c1ca4be0 c03deb5c c1c3a000 00000000 00000000 <6>Rc1c3bfa4 c1c3bf88

Rbf80: c027fbdc c03deb6c 00000000 c1ca4be0 c1ca4be8 c1c3bfac <6>Rc1c3bfdc c1c3bfa8

Rbfa0: c02807a0 c027fb00 c046d718 00000000 c1c579e0 c0283e30 <6>Rc1c3bfb8 c1c3bfb8

Rbfc0: 00000000 c1ca4be0 c0280728 00000000 c1c3bff4 c1c3bfe0 <6>Rc0283900 c0280738

Rbfe0: 00000000 00000000 00000000 c1c3bff8 c0272040 c02838c0 <6>R00000000 00000000

RBacktrace:

R[<c03de764>] (mmc_request_done+0x0/0x158) from [<c03e59a0>] <6>R(at91_mci_process_next+0x60/0x7c)

R r6:c1c3be80 r5:c1c3be5c r4:c1d209c0

R[<c03e5940>] (at91_mci_process_next+0x0/0x7c) from [<c03e5f2c>] <6>R(at91_mci_irq+0x138/0x6cc)

R r4:00000000

R[<c03e5df4>] (at91_mci_irq+0x0/0x6cc) from [<c0293428>] (handle_IRQ_event+0x44/0x84)

R<6>R[<c02933e4>] (handle_IRQ_event+0x0/0x84) from [<c02950e8>] <6>R(handle_level_irq+0x78/0xf8)

R r7:c051ce23 r6:c1c3bd80 r5:00000009 r4:c0508048

R[<c0295070>] (handle_level_irq+0x0/0xf8) from [<c025705c>] (asm_do_IRQ+0x5c/0xa8)

R<6>R r5:c052df74 r4:00000009

R[<c0257000>] (asm_do_IRQ+0x0/0xa8) from [<c0257a54>] (__irq_svc+0x34/0x60)

R<6>RException stack(0xc1c3bcd0 to 0xc1c3bd18)

Rbcc0: 00000001 c1c3a000 <6>R20000013 00000000

Rbce0: 00000082 c052df74 00000000 c051ce23 c1c3a000 0000000a <6>Rc0521200 c1c3bd4c

Rbd00: 00000100 c1c3bd18 c0274738 c0274398 20000013 ffffffff <6>R

R r6:00000009 r5:fefff000 r4:ffffffff

R[<c0274354>] (__do_softirq+0x0/0x114) from [<c0274738>] (irq_exit+0x44/0x4c)

R<6>R[<c02746f4>] (irq_exit+0x0/0x4c) from [<c025706c>] (asm_do_IRQ+0x6c/0xa8)

R<6>R[<c0257000>] (asm_do_IRQ+0x0/0xa8) from [<c0257a54>] (__irq_svc+0x34/0x60)

R<6>RException stack(0xc1c3bd80 to 0xc1c3bdc8)

Rbd80: c05061d4 00000004 40000013 c05061b4 c051cd38 00000000 <6>Rc04e28a4 c051ce23

Rbda0: c1c3be7c c0506198 00000033 c1c3be3c c1c3bd98 c1c3bdc8 <6>Rc026fb40 c027007c

Rbdc0: 60000013 ffffffff <6>R

R r6:00000001 r5:fefff000 r4:ffffffff

R[<c026fe8c>] (vprintk+0x0/0x30c) from [<c02701c0>] (printk+0x28/0x30)

R<6>R[<c0270198>] (printk+0x0/0x30) from [<c03de504>] (mmc_wait_for_req+0x5c/0x224)

R<6>R r3:00000000 r2:00000001 r1:c1d20894 r0:c04e28a4

R[<c03de4a8>] (mmc_wait_for_req+0x0/0x224) from [<c03de72c>] <6>R(mmc_wait_for_cmd+0x60/0x80)

R[<c03de6cc>] (mmc_wait_for_cmd+0x0/0x80) from [<c03e0730>] (mmc_send_op_cond+0x88/0xe8)

R<6>R r7:c1c3beec r6:00000000 r5:c1d20800 r4:00000064

R[<c03e06a8>] (mmc_send_op_cond+0x0/0xe8) from [<c03dee18>] (mmc_rescan+0x2bc/0x310)

R<6>R r8:00000000 r7:c1d20800 r6:c1d20960 r5:c1d20894 r4:c1c3bf5c<6>R

R[<c03deb5c>] (mmc_rescan+0x0/0x310) from [<c027fbdc>] (run_workqueue+0xec/0x19c)

R<6>R r8:00000000 r7:00000000 r6:c1c3a000 r5:c03deb5c r4:c1ca4be0<6>R

R[<c027faf0>] (run_workqueue+0x0/0x19c) from [<c02807a0>] (worker_thread+0x78/0xd0)

R<6>R r6:c1c3bfac r5:c1ca4be8 r4:c1ca4be0

R[<c0280728>] (worker_thread+0x0/0xd0) from [<c0283900>] (kthread+0x50/0x7c)

R<6>R r6:00000000 r5:c0280728 r4:c1ca4be0

R[<c02838b0>] (kthread+0x0/0x7c) from [<c0272040>] (do_exit+0x0/0x790)

R<6>R r5:00000000 r4:00000000

RCode: 00000000 00000000 000000f5 00000000 (ffffff92)

R<0>Kernel panic - not syncing: Fatal exception in interrupt
Спуститься к концу Подняться к началу
Персональная информация
Jury093
Добавлено 28.10.2010 19:51 Редактировалось 28.10.2010 19:52 Сообщение: 3
Jury093
4.5

Пункты: 54271
Регистрация: 25.05.2009
Пол: Мужчина
Из: Санкт-Петербург
давненько я таких длинных логов не видел.. аж в глазах рябит :-/
Код
Loading: *checksum bad
checksum bad

вот это смущает.. а попыток загрузки надеюсь была не одна?

Код
U-Boot> setenv bootargs root=/dex v/nfs ip=192.168.0.136 nfsroot=192.168.02 .2:/home/vitaly/felabs/linux/modules/nfsroot

это относится к загрузки рутовой с NFS
Код
Kernel command line: root=/dev/nfs ip=192.168.0.136 nfsroot=192.168.0.2:/home/vitaly/felabs/linux/modules/nfsroot

и это тоже
у буржуя с вашей ссылки слегка не так:
Код
SIM.ONE> set bootargs console=ttyAM0 root=/dev/mmcblk0p1 rootwait

ключевое для накопителя SD/MMC root=/dev/mmcblk0p1 (или 2,3 и т.д. если разделов на флешке не один)

На любой вопрос есть любой ответ.
Спуститься к концу Подняться к началу
Персональная информация
IgorJazz
Добавлено 28.10.2010 20:06 Сообщение: 4
IgorJazz
0

Пункты: 2825
Регистрация: 28.10.2010
Да, последний скрин сделаный при попытке закрузки по tftp...
как один из вариантов при безнадежном монтировании файловой системы с СД карточки....согласно http://code.google.com/p/sim1/wiki/RootBoot,
Но при долгом ковырянии, и подправлении booarges, монтирование c SD начиналось но в результате все равно .... (как и анололгично по tftp)
......
R<0>Kernel panic - not syncing: Fatal exception in interrupt
Спуститься к концу Подняться к началу
Персональная информация
Jury093
Добавлено 28.10.2010 20:11 Сообщение: 5
Jury093
4.5

Пункты: 54271
Регистрация: 25.05.2009
Пол: Мужчина
Из: Санкт-Петербург
очень все сумбурно и неотчетливо
допустим ваше ядро понимает переопределение параметров при загрузке, допустим корневую скопировали и развернули правильно
попробуйте в командную строку для ядра добавить rootwait или rootdelay=12
первая заставляет ядро ждать готовности накопителя, вторая (в случае цифры 12) ждет 12 секунд и пробует загрузиться с указанного накопителя..

На любой вопрос есть любой ответ.
Спуститься к концу Подняться к началу
Персональная информация
Jury093
Добавлено 28.10.2010 20:14 Сообщение: 6
Jury093
4.5

Пункты: 54271
Регистрация: 25.05.2009
Пол: Мужчина
Из: Санкт-Петербург
когда у меня на плате стояло 32МБ, то я грузил с такими параметрами ядра
root=/dev/mmcblk0p1 rw mem=32M console=ttyS0,115200 rootwait

На любой вопрос есть любой ответ.
Спуститься к концу Подняться к началу
Персональная информация
IgorJazz
Добавлено 28.10.2010 21:35 Сообщение: 7
IgorJazz
0

Пункты: 2825
Регистрация: 28.10.2010
Вот мои шаги..
1. Ставлю во Flash - dataflash_sk_mat91sam9xe512.bin
2. Записываю в Dataflash (CS0) - all.bin
3. По ссылке http://code.google.com/p/sim1/wiki/RootBoot создаю файловую система на СД карточке
4. Вставляю СД-ку в плату, запускаю, торможу на загрузке U-boot и прописываю такие параметры
bootargs=console=ttyAM0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext2 rootwait
в результате команды printenv получаю следущие:


bootcmd=run boot_df

bootdelay=2

baudrate=115200

tftp_update=tftpboot 20400000 zlinux; cp.b 20400000 c0038000 3e7fff; boot

tftp_boot=tftpboot 20400000 zlinux; bootm 20400000

boot_df=cp.b c0038000 20400000 3e7fff; bootm 20400000

ipaddr=192.168.0.136

netmask=255.255.255.0

ethaddr=00:1f:f2:00:00:00

serverip=192.168.0.2

bootargs=console=ttyAM0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext2 rootwait

stdin=serial

stdout=serial

stderr=serial



Environment size: 437/16380 bytes

  • 5. далее пишу boot . Получаю вот такую картину

    U-Boot> boot


    ## Booting image at 20400000 ...

    Image Name: Linux Kernel Image

    Image Type: ARM Linux Kernel Image (gzip compressed)

    Data Size: 3775838 Bytes = 3.6 MB

    Load Address: 20008000

    Entry Point: 20008000

    Verifying Checksum ... OK

    Uncompressing Kernel Image ... OK



    Starting kernel ...



    Linux version 2.6.28 (user@debian) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)) #9 Sun Mar 21 01:03:54 EDT 2010

    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

    CPU: VIVT data cache, VIVT instruction cache

    Machine: Atmel AT91SAM9260-EK

    Memory policy: ECC disabled, Data cache writeback

    Clocks: CPU 200 MHz, master 100 MHz, main 12.000 MHz

    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128

    Kernel command line: console=ttyAM0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext2 rootwait

    AT91: 96 gpio irqs in 3 banks

    PID hash table entries: 128 (order: 7, 512 bytes)

    Console: colour dummy device 80x30

    console [ttyS0] enabled

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

    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

    Memory: 32MB = 32MB total

    Memory: 27120KB available (2724K code, 230K data, 2364K init)

    Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    net_namespace: 288 bytes

    NET: Registered protocol family 16

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

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

    TCP: Hash tables configured (established 1024 bind 1024)

    TCP reno registered

    NET: Registered protocol family 1

    NetWinder Floating Point Emulator V0.97 (double precision)

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

    msgmni has been set to 52

    io scheduler noop registered (default)

    Console: switching to colour frame buffer device 60x34

    fb0: Hecuba frame buffer device, using 510K of video memory

    atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL

    atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL

    atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL

    brd: module loaded

    loop: module loaded

    ssc ssc.0: Atmel SSC device at 0xc28f8000 (irq 14)

    MACB_mii_bus: probed

    eth0: Atmel MACB at 0xfffc4000 irq 21 (00:1f:f2:00:00:00)

    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)

    Driver 'sd' needs updating - please use bus_type methods

    usbmon: debugfs is not available

    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

    at91_ohci at91_ohci: AT91 OHCI

    at91_ohci at91_ohci: new USB bus registered, assigned bus number 1

    at91_ohci at91_ohci: irq 20, io mem 0x00500000

    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.

    udc: at91_udc version 3 May 2006

    mice: PS/2 mouse device common for all mice

    input: HP Jornada touchscreen as /class/input/input0

    i2c /dev entries driver

    usbcore: registered new interface driver usbhid

    usbhid: v2.6:USB HID core driver

    TCP cubic registered

    NET: Registered protocol family 17

    RPC: Registered udp transport module.

    RPC: Registered tcp transport module.

    Freeing init memory: 2364K

    mmc0: host does not support reading read-only switch. assuming write-enable.

    mmc0: new SD card at address 1234

    mmcblk0: mmc0:1234 SA02G 1.83 GiB

    mmcblk0:<7>mmc0: starting CMD18 arg 00000000 flags 000000b5

    p1 p2

    mmcblk0: p2 size 3823470 limited to end of disk

    FAT: IO charset iso8859-1 not found

    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

    mount: mounting /dev/mtdblock1 on /mnt/nand failed: No such file or directory

    Initializing random number generator... done.

    Starting network...

    route: SIOCADDRT: File exists

    Starting vsftpd: start-stop-daemon: applet not found







    Welcome to SK-MAT91SAM9XXXXX development board!





    SK-AT91SAM9 login: eth0: link up (100/Full)



    6. при написании команды df -h
    Filesystem 1K-blocks Used Available Use% Mounted on

    tmpfs 14740 0 14740 0% /tmp

    mdev 14740 0 14740 0% /dev

    /dev/mmcblk0p1 15984 3704 12280 23% /mnt/mmcblk0p1

    /dev/mmcblk0p2 1874968 94700 1685024 5% /mnt/mmcblk0p2

    tmpfs 14740 0 14740 0% /tmp

    (На /dev/mmcblk0p1 просто пустой раздел, файловая система лижит в /dev/mmcblk0p2 )
    но я так понимаю что это просто файловая система розвернулась в оперативке, а не ка основная файловая всей системы...
  • Спуститься к концу Подняться к началу
    Персональная информация
    IgorJazz
    Добавлено 28.10.2010 21:47 Сообщение: 8
    IgorJazz
    0

    Пункты: 2825
    Регистрация: 28.10.2010
    Еще раз зашел в настройки U-boot (перед загрузкой ядра) и в параметрах добавил:
    set bootargs rootfstype=ext2


    после запуска системы командой BOOT вроде как картина поменялась и по моему мнению че-то начилось монтироваться:

    ## Booting image at 20400000 ...

    Image Name: Linux Kernel Image

    Image Type: ARM Linux Kernel Image (gzip compressed)

    Data Size: 3775838 Bytes = 3.6 MB

    Load Address: 20008000

    Entry Point: 20008000

    Verifying Checksum ... OK

    Uncompressing Kernel Image ... OK



    Starting kernel ...



    Linux version 2.6.28 (user@debian) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)) #9 Sun Mar 21 01:03:54 EDT 2010

    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

    CPU: VIVT data cache, VIVT instruction cache

    Machine: Atmel AT91SAM9260-EK

    Memory policy: ECC disabled, Data cache writeback

    Clocks: CPU 200 MHz, master 100 MHz, main 12.000 MHz

    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128

    Kernel command line: rootfstype=ext2

    AT91: 96 gpio irqs in 3 banks

    PID hash table entries: 128 (order: 7, 512 bytes)

    Console: colour dummy device 80x30

    console [tty0] enabled

    console [ttyS0] enabled

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

    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

    Memory: 32MB = 32MB total

    Memory: 27120KB available (2724K code, 230K data, 2364K init)

    Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    net_namespace: 288 bytes

    NET: Registered protocol family 16

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

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

    TCP: Hash tables configured (established 1024 bind 1024)

    TCP reno registered

    NET: Registered protocol family 1

    NetWinder Floating Point Emulator V0.97 (double precision)

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

    msgmni has been set to 52

    io scheduler noop registered (default)

    Console: switching to colour frame buffer device 60x34

    fb0: Hecuba frame buffer device, using 510K of video memory

    atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL

    atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL

    R<6>R<6>atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL

    R<6>R<6>brd: module loaded

    R<6>loop: module loaded

    R<6>ssc ssc.0: Atmel SSC device at 0xc28f8000 (irq 14)

    R<6>MACB_mii_bus: probed

    R<6>eth0: Atmel MACB at 0xfffc4000 irq 21 (00:1f:f2:00:00:00)

    R<6>R<6>eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)

    R<6>R<4>Driver 'sd' needs updating - please use bus_type methods

    R<6>R<5>usbmon: debugfs is not available

    R<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

    R<6>at91_ohci at91_ohci: AT91 OHCI

    R<6>at91_ohci at91_ohci: new USB bus registered, assigned bus number 1

    R<6>R<6>at91_ohci at91_ohci: irq 20, io mem 0x00500000

    R<6>usb usb1: configuration #1 chosen from 1 choice

    R<6>hub 1-0:1.0: USB hub found

    R<6>hub 1-0:1.0: 2 ports detected

    R<6>Initializing USB Mass Storage driver...

    R<6>usbcore: registered new interface driver usb-storage

    R<6>USB Mass Storage support registered.

    R<6>udc: at91_udc version 3 May 2006

    R<6>mice: PS/2 mouse device common for all mice

    R<6>input: HP Jornada touchscreen as /class/input/input0

    R<6>i2c /dev entries driver

    R<7>mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0

    R<6>R<7>MMC: Setting controller bus width to 1

    R<7>Added MCI driver

    R<7>mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0 timing 0

    R<6>R<7>MMC: Setting controller bus width to 1

    R<7>mmc0: clock 375000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0

    R<6>R<7>clkdiv = 133. mcck = 373134

    R<7>MMC: Setting controller bus width to 1

    R<7>mmc0: clock 375000Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0 timing 0

    R<6>R<7>clkdiv = 133. mcck = 373134

    R<7>MMC: Setting controller bus width to 1

    R<7>mmc0: starting CMD0 arg 00000000 flags 000000c0

    R<7>Sending command 0 as 00000800, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>mmc0: clock 375000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0

    R<6>R<7>clkdiv = 133. mcck = 373134

    R<7>MMC: Setting controller bus width to 1

    R<7>mmc0: starting CMD8 arg 000001aa flags 000002f5

    R<7>Sending command 8 as 00001848, arg = 000001AA, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>mmc0: starting CMD5 arg 00000000 flags 000002e1

    R<7>Sending command 5 as 00001845, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<7>MCI irq: status = 0010C0E4, C07F0001, 00100000

    R<7>MCI irq: status = 0010C0E5, C07F0001, 00100001

    R<7>MCI irq: status = 0010C0E5, C07F0001, 00100001

    R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

    R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>mmc0: starting CMD41 arg 00000000 flags 000000e1

    R<7>Sending command 41 as 00001869, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<7>MCI irq: status = 0004C0E4, C07F0001, 00040000

    R<7>mmc0: clock 375000Hz busmode 1 powermode 2 cs 0 Vdd 20 width 0 timing 0

    R<6>R<7>clkdiv = 133. mcck = 373134

    R<7>MMC: Setting controller bus width to 1

    R<7>mmc0: clock 375000Hz busmode 1 powermode 2 cs 1 Vdd 20 width 0 timing 0

    R<6>R<7>clkdiv = 133. mcck = 373134

    R<7>MMC: Setting controller bus width to 1

    R<7>mmc0: starting CMD0 arg 00000000 flags 000000c0

    R<7>Sending command 0 as 00000800, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>mmc0: clock 375000Hz busmode 1 powermode 2 cs 0 Vdd 20 width 0 timing 0

    R<6>R<7>clkdiv = 133. mcck = 373134

    R<7>MMC: Setting controller bus width to 1

    R<7>mmc0: starting CMD8 arg 000001aa flags 000002f5

    R<7>Sending command 8 as 00001848, arg = 000001AA, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

    R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>mmc0: starting CMD41 arg 40300000 flags 000000e1

    R<7>Sending command 41 as 00001869, arg = 40300000, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<7>MCI irq: status = 0004C0E4, C07F0001, 00040000

    R<7>MMC: Response CRC error

    R<7>Completed command

    R<7>Status = 00040000/0004c0e5 [00FF8000 00000000 00000000 00000000]

    R<6>R<7>mmc0: req done (CMD41): 0: 00ff8000 00000000 00000000 00000000

    R<6>R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

    R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00009B85)

    R<6>R<3>at91_mci at91_mci: Timeout waiting end of packet

    R<7>mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000

    R<6>R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

    R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>Command ready

    R<7>Completed command

    R<7>Status = 00000001/0000c0e5 [00000120 00000000 00000000 00000000]

    R<6>R<7>mmc0: req done (CMD55): 0: 00000120 00000000 00000000 00000000

    R<6>R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00001B85)

    R<6>R<3>at91_mci at91_mci: Timeout waiting end of packet

    R<7>mmc0: req done (CMD55): -110: 00000120 00000000 00000000 00000000

    R<6>R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

    R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>Command ready

    R<7>Completed command

    R<7>Status = 00000001/0000c0e5 [00000120 00000000 00000000 00000000]

    R<6>R<7>mmc0: req done (CMD55): 0: 00000120 00000000 00000000 00000000

    R<6>R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00001B85)

    R<6>R<3>at91_mci at91_mci: Timeout waiting end of packet

    R<7>mmc0: req done (CMD55): -110: 00000120 00000000 00000000 00000000

    R<6>R<7>mmc0: starting CMD55 arg 00000000 flags 000000f5

    R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>Command ready

    R<7>Completed command

    R<7>Status = 00000001/0000c0e5 [00000120 00000000 00000000 00000000]

    R<6>R<7>mmc0: req done (CMD55): 0: 00000120 00000000 00000000 00000000

    R<6>R<7>Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00001B85)

    R<6>R<3>at91_mci at91_mci: Timeout waiting end of packet

    R<7>mmc0: req done (CMD55): -110: 00000120 00000000 00000000 00000000

    R<6>R<7>mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0

    R<6>R<7>MCI irq: status = 0000C0E5, C07F0001, 00000001

    R<7>Command ready

    R<7>Completed command

    R<7>Status = 00000001/0000c0e5 [00000120 00000000 00000000 00000000]

    R<6>R<1>Unable to handle kernel paging request at virtual address 32206588

    R<6>R<1>pgd = c0004000

    R<1>[32206588] *pgd=00000000

    RInternal error: Oops: 5 [#1]

    RModules linked in:

    RCPU: 0 Not tainted (2.6.28 #9)

    RPC is at at91_mci_send_command+0x80/0x51c

    RLR is at at91_mci_process_next+0x48/0x7c

    Rpc : [<c03e54a4>] lr : [<c03e5988>] psr: 20000013

    sp : c1c3bc08 ip : c1c3bc58 fp : c1c3bc54

    R<6>Rr10: c0521200 r9 : 32206574 r8 : c1d209c0

    Rr7 : c1d209c0 r6 : 00000000 r5 : c1c3be04 r4 : c1d209c0

    Rr3 : 00000012 r2 : 30203d40 r1 : 30203d00 r0 : c2910000

    RFlags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel

    R<6>RControl: 0005317f Table: 2174c000 DAC: 00000017

    RProcess kmmcd (pid: 92, stack limit = 0xc1c3a268)

    RStack: (0xc1c3bc08 to 0xc1c3c000)

    Rbc00: 00000008 c1c3bc88 c1c92820 c1c3bc88 <6>Rc051ce35 30203d40

    Rbc20: c1c3be04 00000000 00000001 c1d209c0 c1c3be04 00000000 <6>R00000001 c1d209c0

    Rbc40: 00000000 c0521200 c1c3bc6c c1c3bc58 c03e5988 c03e5434 <6>Rc03e5f18 00000000

    Rbc60: c1c3bcac c1c3bc70 c03e5f2c c03e5950 00000000 00000000 <6>R00000000 c1c579e0

    Rbc80: c1c3bcac c1750a40 00000000 00000009 00000000 c1c3a000 <6>R0000000a c0521200

    Rbca0: c1c3bccc c1c3bcb0 c0293428 c03e5e04 c0508048 00000009 <6>Rc1c3bdb8 c051ce35

    Rbcc0: c1c3bce4 c1c3bcd0 c02950e8 c02933f4 00000009 c052df74 <6>Rc1c3bd04 c1c3bce8

    Rbce0: c025705c c0295080 c051c104 ffffffff fefff000 00000009 <6>Rc1c3bd84 c1c3bd08

    Rbd00: c0257a54 c0257010 00000001 c1c3a000 20000013 00000000 <6>R00000082 c052df74

    Rbd20: 00000000 c051ce35 c1c3a000 0000000a c0521200 c1c3bd84 <6>R00000100 c1c3bd50

    Rbd40: c0274738 c0274398 20000013 ffffffff c1c3bd7c c0507e68 <6>R00000001 00000001

    Rbd60: c052df74 00000000 c051ce35 00000000 c0506198 00000045 <6>Rc1c3bd94 c1c3bd88

    Rbd80: c0274738 c0274364 c1c3bdb4 c1c3bd98 c025706c c0274704 <6>Rc1c3bd98 ffffffff

    Rbda0: fefff000 00000001 c1c3be74 c1c3bdb8 c0257a54 c0257010 <6>Rc05061d4 00000004

    Rbdc0: 60000013 c05061b4 c051cd38 00000000 c04e2858 c051ce35 <6>R00000000 c0506198

    Rbde0: 00000045 c1c3be74 c1c3bdd0 c1c3be00 c026fb40 c027007c <6>R60000013 ffffffff

    Rbe00: 00000004 60000013 00000000 00000120 00000000 00000000 <6>R00000000 000000f5

    Rbe20: 00000000 00000000 00000000 c1c3bdcc c046da40 ffffff92 <6>Rc1c3be8c c1c3be48

    Rbe40: c03e1764 c03e164c c1c579e0 c1d20800 00000000 ffffff92 <6>Rc0480cdc 00000000

    Rbe60: c1d20800 00000000 c1c3be8c c1c3be78 c02701c0 c026fe9c <6>Rc1d20800 c1c3be94

    Rbe80: c1c3becc c1c3bea0 c03ddf6c c02701ac c04e2858 c1d20894 <6>R00000000 00000001

    Rbea0: 00000000 00000000 00000000 00000000 00000000 00000000 <6>Rc1d20800 c1d20894

    Rbec0: c1c3bee4 c1c3bed0 c03de100 c03ddf0c 40300000 c1d20894 <6>Rc1c3bf3c c1c3bee8

    Rbee0: c03e0b90 c03de0c0 c1c3bf3c 00000029 00000000 00ff8000 <6>R00000000 00ff8000

    Rbf00: 00000000 000000e1 00000000 00000000 00000000 c1c3bf5c <6>Rc1d20894 c1d20960

    Rbf20: c1d20800 00000000 00000000 00000000 c1c3bf84 c1c3bf40 <6>Rc03dee4c c03e0b24

    Rbf40: 00000002 00000000 00000015 00000000 00000000 c1c3bf60 <6>Rc0287e30 00ff8000

    Rbf60: 00000000 c1ca4be0 c03deb5c c1c3a000 00000000 00000000 <6>Rc1c3bfa4 c1c3bf88

    Rbf80: c027fbdc c03deb6c 00000000 c1ca4be0 c1ca4be8 c1c3bfac <6>Rc1c3bfdc c1c3bfa8

    Rbfa0: c02807a0 c027fb00 c046d718 00000000 c1c579e0 c0283e30 <6>Rc1c3bfb8 c1c3bfb8

    Rbfc0: 00000000 c1ca4be0 c0280728 00000000 c1c3bff4 c1c3bfe0 <6>Rc0283900 c0280738

    Rbfe0: 00000000 00000000 00000000 c1c3bff8 c0272040 c02838c0 <6>R00000000 00000000

    RBacktrace:

    R[<c03e5424>] (at91_mci_send_command+0x0/0x51c) from [<c03e5988>] <6>R(at91_mci_process_next+0x48/0x7c)

    R[<c03e5940>] (at91_mci_process_next+0x0/0x7c) from [<c03e5f2c>] <6>R(at91_mci_irq+0x138/0x6cc)

    R r4:00000000

    R[<c03e5df4>] (at91_mci_irq+0x0/0x6cc) from [<c0293428>] (handle_IRQ_event+0x44/0x84)

    R<6>R[<c02933e4>] (handle_IRQ_event+0x0/0x84) from [<c02950e8>] <6>R(handle_level_irq+0x78/0xf8)

    R r7:c051ce35 r6:c1c3bdb8 r5:00000009 r4:c0508048

    R[<c0295070>] (handle_level_irq+0x0/0xf8) from [<c025705c>] (asm_do_IRQ+0x5c/0xa8)

    R<6>R r5:c052df74 r4:00000009

    R[<c0257000>] (asm_do_IRQ+0x0/0xa8) from [<c0257a54>] (__irq_svc+0x34/0x60)

    R<6>RException stack(0xc1c3bd08 to 0xc1c3bd50)

    Rbd00: 00000001 c1c3a000 20000013 00000000 <6>R00000082 c052df74

    Rbd20: 00000000 c051ce35 c1c3a000 0000000a c0521200 c1c3bd84 <6>R00000100 c1c3bd50

    Rbd40: c0274738 c0274398 20000013 ffffffff <6>R

    R r6:00000009 r5:fefff000 r4:ffffffff

    R[<c0274354>] (__do_softirq+0x0/0x114) from [<c0274738>] (irq_exit+0x44/0x4c)

    R<6>R[<c02746f4>] (irq_exit+0x0/0x4c) from [<c025706c>] (asm_do_IRQ+0x6c/0xa8)

    R<6>R[<c0257000>] (asm_do_IRQ+0x0/0xa8) from [<c0257a54>] (__irq_svc+0x34/0x60)

    R<6>RException stack(0xc1c3bdb8 to 0xc1c3be00)

    Rbda0: <6>Rc05061d4 00000004

    Rbdc0: 60000013 c05061b4 c051cd38 00000000 c04e2858 c051ce35 <6>R00000000 c0506198

    Rbde0: 00000045 c1c3be74 c1c3bdd0 c1c3be00 c026fb40 c027007c <6>R60000013 ffffffff

    R r6:00000001 r5:fefff000 r4:ffffffff

    R[<c026fe8c>] (vprintk+0x0/0x30c) from [<c02701c0>] (printk+0x28/0x30)

    R<6>R[<c0270198>] (printk+0x0/0x30) from [<c03ddf6c>] (mmc_power_off+0x70/0x90)

    R<6>R r3:00000001 r2:00000000 r1:c1d20894 r0:c04e2858

    R[<c03ddefc>] (mmc_power_off+0x0/0x90) from [<c03de100>] (mmc_detach_bus+0x50/0xc4)

    R<6>R r5:c1d20894 r4:c1d20800

    R[<c03de0b0>] (mmc_detach_bus+0x0/0xc4) from [<c03e0b90>] (mmc_attach_sd+0x7c/0x85c)

    R<6>R r5:c1d20894 r4:40300000

    R[<c03e0b14>] (mmc_attach_sd+0x0/0x85c) from [<c03dee4c>] (mmc_rescan+0x2f0/0x310)

    R<6>R[<c03deb5c>] (mmc_rescan+0x0/0x310) from [<c027fbdc>] (run_workqueue+0xec/0x19c)

    R<6>R r8:00000000 r7:00000000 r6:c1c3a000 r5:c03deb5c r4:c1ca4be0<6>R

    R[<c027faf0>] (run_workqueue+0x0/0x19c) from [<c02807a0>] (worker_thread+0x78/0xd0)

    R<6>R r6:c1c3bfac r5:c1ca4be8 r4:c1ca4be0

    R[<c0280728>] (worker_thread+0x0/0xd0) from [<c0283900>] (kthread+0x50/0x7c)

    R<6>R r6:00000000 r5:c0280728 r4:c1ca4be0

    R[<c02838b0>] (kthread+0x0/0x7c) from [<c0272040>] (do_exit+0x0/0x790)

    R<6>R r5:00000000 r4:00000000

    RCode: e3590000 01a05009 01a04009 0a00000f (e5993014)

    R<0>Kernel panic - not syncing: Fatal exception in interrupt

    R


  • Но все закончилось неудачей (как и с моим ранешним вариантом загрузки по tftp)(((((((( R<0>Kernel panic - not syncing: Fatal exception in interrupt
  • Спуститься к концу Подняться к началу
    Персональная информация
    Jury093
    Добавлено 28.10.2010 21:55 Сообщение: 9
    Jury093
    4.5

    Пункты: 54271
    Регистрация: 25.05.2009
    Пол: Мужчина
    Из: Санкт-Петербург
    хм.. как я понял проблема загрузки с накопителя SD отпала? и что помогло?
    смущает вот это сообщение:
    Код
    mmcblk0: p2 size 3823470 limited to end of disk

    лень смотреть - какой размер архива из вышеприведенной ссылке? и в какой объем он развернулся на mmcblk0p2?
    и заодно посмотреть, что делает команда:
    Код
    mkfs.ext2 -b 1024 -m 0 /dev/sdb1

    может сначала пойти по простейшему пути - создать на SD одну партицию, форматнуть ее mkfs.ext2 /dev/sdb1, развернуть рутовую. а уж потом пилить на разделы..

    На любой вопрос есть любой ответ.
    Спуститься к концу Подняться к началу
    Персональная информация
    Jury093
    Добавлено 28.10.2010 21:59 Сообщение: 10
    Jury093
    4.5

    Пункты: 54271
    Регистрация: 25.05.2009
    Пол: Мужчина
    Из: Санкт-Петербург
    нижайшая просьба - выкладывайте логи по существу, мозоль натер скроллировать..

    в кору выпало "патамучто":
    Код
    Kernel command line: rootfstype=ext2

    сплохело кернелу из-за отсутствия параметров

    Hint Находясь под управлением Uboot после setenv иногда полезно писать saveenv, тем самым запоминая переменные окружения юбут во области флеша..

    На любой вопрос есть любой ответ.
    Спуститься к концу Подняться к началу
    Персональная информация
    Форум » starterkit.ru » Embedded Linux